Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2024 11:20:52 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 982661f6ff6b - main - net-p2p/libbt: Remove expired port
Message-ID:  <202404011120.431BKqVk021951@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=982661f6ff6b6042effc553e490a6f680edd0935

commit 982661f6ff6b6042effc553e490a6f680edd0935
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2024-04-01 11:20:44 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2024-04-01 11:20:44 +0000

    net-p2p/libbt: Remove expired port
    
    2024-03-31 net-p2p/libbt: Last release in 2007 and no active development, lacks functionality found in modern implementations. Consider using net-p2p/libtorrent-rasterbar or net-p2p/libtorrent-rasterbar2
---
 MOVED                                     |  1 +
 net-p2p/Makefile                          |  1 -
 net-p2p/libbt/Makefile                    | 46 -------------------------------
 net-p2p/libbt/distinfo                    |  3 --
 net-p2p/libbt/files/patch-include__util.h | 21 --------------
 net-p2p/libbt/files/patch-src__peer.c     | 14 ----------
 net-p2p/libbt/files/patch-src__udpproto.c | 11 --------
 net-p2p/libbt/files/patch-src_btlist.c    | 10 -------
 net-p2p/libbt/pkg-descr                   |  1 -
 net-p2p/libbt/pkg-plist                   | 20 --------------
 10 files changed, 1 insertion(+), 127 deletions(-)

diff --git a/MOVED b/MOVED
index 2cdcc72b7eb3..e90e499cc4f0 100644
--- a/MOVED
+++ b/MOVED
@@ -3108,3 +3108,4 @@ irc/darkbot||2024-04-01|Has expired: Abandonware, last release in 2005 and no ac
 sysutils/rubygem-vagrant-vbguest||2024-04-01|Has expired: This project is archived and will not receive further updates or support
 net-p2p/frost||2024-04-01|Has expired: Outdated version and unsupported upstream
 archivers/lzmalib||2024-04-01|Has expired: Upstream hasn't been active for over 20 years and no users of this library in tree
+net-p2p/libbt||2024-04-01|Has expired: Last release in 2007 and no active development, lacks functionality found in modern implementations. Consider using net-p2p/libtorrent-rasterbar or net-p2p/libtorrent-rasterbar2
diff --git a/net-p2p/Makefile b/net-p2p/Makefile
index 5c648d724fb4..8b437a83c5d1 100644
--- a/net-p2p/Makefile
+++ b/net-p2p/Makefile
@@ -39,7 +39,6 @@
     SUBDIR += jackett
     SUBDIR += jigdo
     SUBDIR += ktorrent
-    SUBDIR += libbt
     SUBDIR += libktorrent
     SUBDIR += libswift
     SUBDIR += libtorrent
diff --git a/net-p2p/libbt/Makefile b/net-p2p/libbt/Makefile
deleted file mode 100644
index d9f125511185..000000000000
--- a/net-p2p/libbt/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-PORTNAME=	libbt
-DISTVERSION=	1.06
-CATEGORIES=	net-p2p devel
-MASTER_SITES=	SF
-
-MAINTAINER=	egypcio@FreeBSD.org
-COMMENT=	C library implementing the core BitTorrent protocol
-WWW=		https://libbt.sourceforge.net/
-
-LICENSE=	GPLv2 LGPL21
-LICENSE_COMB=	multi
-
-DEPRECATED=	Last release in 2007 and no active development, lacks functionality found in modern implementations. Consider using net-p2p/libtorrent-rasterbar or net-p2p/libtorrent-rasterbar2
-EXPIRATION_DATE=2024-03-31
-
-LIB_DEPENDS=	libcurl.so:ftp/curl \
-		libuuid.so:misc/e2fsprogs-libuuid
-
-USES=		gmake localbase ssl
-GNU_CONFIGURE=	yes
-
-CONFLICTS_INSTALL=	btcheck # bin/btcheck
-
-DOCS=		docs/protocol.txt docs/protocol-ext.txt \
-		CHANGELOG CREDITS README
-
-OPTIONS_DEFINE=	DOCS
-
-PORTDOCS=	*
-
-post-patch:
-	@${REINPLACE_CMD} -e 's|depend||' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e 's|-lssl|-lcrypto|' ${WRKSRC}/configure
-	@${REINPLACE_CMD} -e 's|\(CFLAGS:=\)|\1\@CFLAGS\@ \@CPPFLAGS\@ |' ${WRKSRC}/src/Makefile.in
-
-do-install:
-	${INSTALL_DATA} ${WRKSRC}/src/libbt.a ${STAGEDIR}${PREFIX}/lib
-	@${MKDIR} ${STAGEDIR}${PREFIX}/include/libbt
-	cd ${WRKSRC}/src && ${INSTALL_PROGRAM} btcheck btget btlist ${STAGEDIR}${PREFIX}/bin
-	cd ${WRKSRC}/include && ${INSTALL_DATA} *.h ${STAGEDIR}${PREFIX}/include/libbt
-
-do-install-DOCS-on:
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/net-p2p/libbt/distinfo b/net-p2p/libbt/distinfo
deleted file mode 100644
index e6a21e545572..000000000000
--- a/net-p2p/libbt/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1535654605
-SHA256 (libbt-1.06.tar.gz) = 89f7887ef892158fec2691efaf26036dab2a239ab87881473ae405f2f2d13560
-SIZE (libbt-1.06.tar.gz) = 334835
diff --git a/net-p2p/libbt/files/patch-include__util.h b/net-p2p/libbt/files/patch-include__util.h
deleted file mode 100644
index bcb41ae00b56..000000000000
--- a/net-p2p/libbt/files/patch-include__util.h
+++ /dev/null
@@ -1,21 +0,0 @@
---- include/util.h.orig	2018-08-30 18:48:15 UTC
-+++ include/util.h
-@@ -53,11 +53,15 @@
- 	typedef void (*exitfn_ptr) (int,void*);
- 	int on_exit( exitfn_ptr exitfn, void* data) ;
- #endif
--#define malloc(s) use_btmalloc_instead
--#define calloc(n,s) use_btcalloc_instead
--#define realloc(p,s) use_btrealloc_instead
-+/*
-+ #define malloc(s) use_btmalloc_instead
-+ #define calloc(n,s) use_btcalloc_instead
-+ #define realloc(p,s) use_btrealloc_instead
-+/*
- #undef free
-+/*
- #define free(p) use_btfree_instead
-+*/
- 
- void hexdump( void *buf, int buflen);
- 
diff --git a/net-p2p/libbt/files/patch-src__peer.c b/net-p2p/libbt/files/patch-src__peer.c
deleted file mode 100644
index 6c2104deda6c..000000000000
--- a/net-p2p/libbt/files/patch-src__peer.c
+++ /dev/null
@@ -1,14 +0,0 @@
---- src/peer.c	Wed Apr  7 06:14:44 2004
-+++ src/peer.c.new	Tue Apr 13 19:29:01 2004
-@@ -20,6 +20,11 @@
- #   endif
- #endif
- #include <sys/types.h>
-+#if __FreeBSD__ >= 5
-+#include <sys/limits.h>
-+#else
-+#include <machine/limits.h>
-+#endif
- #include <string.h>
- #ifdef HAVE_STRINGS_H
- #   include <strings.h>
diff --git a/net-p2p/libbt/files/patch-src__udpproto.c b/net-p2p/libbt/files/patch-src__udpproto.c
deleted file mode 100644
index 42554af9eb33..000000000000
--- a/net-p2p/libbt/files/patch-src__udpproto.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/udpproto.c.orig	2018-08-30 18:56:26 UTC
-+++ src/udpproto.c
-@@ -4,7 +4,7 @@
- #include <string.h>
- #include <stdlib.h>
- #include <unistd.h>
--
-+#include <limits.h>
- #include <arpa/inet.h>
- 
- #include "udpproto.h"
diff --git a/net-p2p/libbt/files/patch-src_btlist.c b/net-p2p/libbt/files/patch-src_btlist.c
deleted file mode 100644
index e4eca5ae01db..000000000000
--- a/net-p2p/libbt/files/patch-src_btlist.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/btlist.c.orig
-+++ src/btlist.c
-@@ -13,6 +13,7 @@
-
- #include "config.h"
-
-+#include <sys/types.h>
- #include <openssl/sha.h>
- #include <stdlib.h>
- #include <string.h>
diff --git a/net-p2p/libbt/pkg-descr b/net-p2p/libbt/pkg-descr
deleted file mode 100644
index c79dba570244..000000000000
--- a/net-p2p/libbt/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-LIBBT is a C library implementing the core BitTorrent protocol.
diff --git a/net-p2p/libbt/pkg-plist b/net-p2p/libbt/pkg-plist
deleted file mode 100644
index 578a2b0b2497..000000000000
--- a/net-p2p/libbt/pkg-plist
+++ /dev/null
@@ -1,20 +0,0 @@
-bin/btcheck
-bin/btget
-bin/btlist
-include/libbt/benc.h
-include/libbt/bitset.h
-include/libbt/bterror.h
-include/libbt/btmessage.h
-include/libbt/bts.h
-include/libbt/config.h
-include/libbt/context.h
-include/libbt/peer.h
-include/libbt/peerexchange.h
-include/libbt/random.h
-include/libbt/segmenter.h
-include/libbt/strbuf.h
-include/libbt/stream.h
-include/libbt/types.h
-include/libbt/udpproto.h
-include/libbt/util.h
-lib/libbt.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404011120.431BKqVk021951>