diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Makefile | 3 | ||||
-rw-r--r-- | net-p2p/bnbt/Makefile | 58 | ||||
-rw-r--r-- | net-p2p/bnbt/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/bnbt/files/bnbt.in | 38 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-base64.cpp | 26 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-client.cpp | 17 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-config.cpp | 15 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-server.cpp | 11 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-sha1.cpp | 32 | ||||
-rw-r--r-- | net-p2p/bnbt/files/patch-sha1.h | 31 | ||||
-rw-r--r-- | net-p2p/bnbt/files/pkg-message.in | 15 | ||||
-rw-r--r-- | net-p2p/bnbt/pkg-descr | 7 | ||||
-rw-r--r-- | net-p2p/bnbt/pkg-plist | 4 | ||||
-rw-r--r-- | net-p2p/btpd/Makefile | 31 | ||||
-rw-r--r-- | net-p2p/btpd/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/btpd/pkg-descr | 8 | ||||
-rw-r--r-- | net-p2p/btpd/pkg-plist | 7 | ||||
-rw-r--r-- | net-p2p/gkremldk/Makefile | 38 | ||||
-rw-r--r-- | net-p2p/gkremldk/distinfo | 2 | ||||
-rw-r--r-- | net-p2p/gkremldk/files/patch-Makefile.in | 11 | ||||
-rw-r--r-- | net-p2p/gkremldk/pkg-descr | 4 | ||||
-rw-r--r-- | net-p2p/gkremldk/pkg-plist | 1 |
22 files changed, 0 insertions, 363 deletions
diff --git a/net-p2p/Makefile b/net-p2p/Makefile index 167863ed715d..2d8d83de325f 100644 --- a/net-p2p/Makefile +++ b/net-p2p/Makefile @@ -10,8 +10,6 @@ SUBDIR += bitcoin-daemon SUBDIR += bitcoin-utils SUBDIR += bitflu - SUBDIR += bnbt - SUBDIR += btpd SUBDIR += couchpotato SUBDIR += cpuminer SUBDIR += createtorrent @@ -28,7 +26,6 @@ SUBDIR += eiskaltdcpp-gtk SUBDIR += eiskaltdcpp-lib SUBDIR += frost - SUBDIR += gkremldk SUBDIR += go-ethereum SUBDIR += gtk-gnutella SUBDIR += gtorrentviewer diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile deleted file mode 100644 index d05bf1dbaee6..000000000000 --- a/net-p2p/bnbt/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -# Created by: Florent Thoumie <flz@xbsd.org> -# $FreeBSD$ - -PORTNAME= bnbt -PORTVERSION= 8.5 -PORTREVISION= 3 -CATEGORIES= net-p2p -MASTER_SITES= http://opensource.depthstrike.com/${PORTNAME}/ -DISTNAME= ${SNAPSHOT}-${PORTNAME}${PORTVERSION:C/\.//}-src -SNAPSHOT= 20060727 - -MAINTAINER= ports@FreeBSD.org -COMMENT= C++ BitTorrent Tracker - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -OPTIONS_DEFINE= MYSQL DOCS - -USES= dos2unix gmake tar:bzip2 - -SUB_FILES= pkg-message -USE_RC_SUBR= bnbt - -PORTDOCS= footer.html header.html - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMYSQL} -ALL_TARGET= bnbtmysql -USE_MYSQL= yes -.else -ALL_TARGET= bnbt -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|-O2|${CFLAGS} -I${PREFIX}/include| ; \ - s|LFLAGS =|LFLAGS = -L${PREFIX}/lib/mysql| ; \ - s|g++|${CXX}|' \ - ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|\([a-z]*\.bnbt\)|${PREFIX}/etc/${PORTNAME}/\1|' \ - ${WRKSRC}/config.cpp - @${REINPLACE_CMD} -e 's|bnbt.cfg|${PREFIX}/etc/${PORTNAME}/bnbt.cfg|' \ - ${WRKSRC}/config.h ${WRKSRC}/config.cpp ${WRKSRC}/tracker.cpp - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${ALL_TARGET} ${STAGEDIR}${PREFIX}/bin/bnbt - ${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/$i ${STAGEDIR}${DOCSDIR} -.endfor - @${MKDIR} ${STAGEDIR}/var/log/${PORTNAME} - ${TOUCH} ${STAGEDIR}/var/log/${PORTNAME}/.keep - @${MKDIR} ${STAGEDIR}${ETCDIR} - ${TOUCH} ${STAGEDIR}${ETCDIR}/.keep - -.include <bsd.port.mk> diff --git a/net-p2p/bnbt/distinfo b/net-p2p/bnbt/distinfo deleted file mode 100644 index 17d289de6dda..000000000000 --- a/net-p2p/bnbt/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (20060727-bnbt85-src.tar.bz2) = 6653081240419a36a9f147454e0f4268957f01e258804e8f5798eb0845cee9e9 -SIZE (20060727-bnbt85-src.tar.bz2) = 65885 diff --git a/net-p2p/bnbt/files/bnbt.in b/net-p2p/bnbt/files/bnbt.in deleted file mode 100644 index f8bde3c225cb..000000000000 --- a/net-p2p/bnbt/files/bnbt.in +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: bnbt -# REQUIRE: LOGIN abi -# BEFORE: securelevel -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable `bnbt': -# -# bnbt_enable="YES" -# bnbt_flags="<set as needed>" -# -# See bnbt(1) for bnbt_flags -# - -. /etc/rc.subr - -name="bnbt" -rcvar=bnbt_enable - -# path to your executable, might be libxec, bin, sbin, ... -command="%%PREFIX%%/bin/$name" - -# extra required arguments -command_args="&" - -# you can check for required_dirs and required_vars too, see rc.subr(8) -# -required_dirs="/var/log/$name" - -# read settings, set default values -load_rc_config "$name" -: ${bnbt_enable="NO"} - -run_rc_command "$1" diff --git a/net-p2p/bnbt/files/patch-base64.cpp b/net-p2p/bnbt/files/patch-base64.cpp deleted file mode 100644 index 51948c46fa82..000000000000 --- a/net-p2p/bnbt/files/patch-base64.cpp +++ /dev/null @@ -1,26 +0,0 @@ ---- base64.cpp.orig 2017-02-01 19:29:59 UTC -+++ base64.cpp -@@ -114,6 +114,7 @@ uchar pBase64[] = { - char *b64decode(const char *s) - { - int l = strlen(s); // Get length of Base64 string. -+ const char *p; // Separator position - char *b; // Decoding buffer pointers. - uchar c = 0; // Character to decode. - int x = 0; // General purpose integers. -@@ -126,12 +127,12 @@ char *b64decode(const char *s) - if (l % 4) // If it's not modulo 4, then it... - return b64isnot(NULL); // ...can't be a Base64 string. - -- if ((b = strchr(s, pPad[0])) != NULL) // Only one, two or three equal... -+ if ((p = strchr(s, pPad[0])) != NULL) // Only one, two or three equal... - { // ...'=' signs are allowed at... -- if ((b - s) < (l - 3)) // ...the end of the Base64 string. -+ if ((p - s) < (l - 3)) // ...the end of the Base64 string. - return b64isnot(NULL); // Any other equal '=' signs are... - else // ...invalid. -- if (strncmp(b, (const char *) pPad + 3 - (s + l - b), s + l - b)) -+ if (strncmp(p, (const char *) pPad + 3 - (s + l - p), s + l - p)) - return b64isnot(NULL); - } - diff --git a/net-p2p/bnbt/files/patch-client.cpp b/net-p2p/bnbt/files/patch-client.cpp deleted file mode 100644 index da622fab52d6..000000000000 --- a/net-p2p/bnbt/files/patch-client.cpp +++ /dev/null @@ -1,17 +0,0 @@ ---- client.cpp Wed Sep 29 21:38:32 2004 -+++ client.cpp.new Sat Oct 23 15:40:05 2004 -@@ -19,6 +19,7 @@ - * - ***/ - -+#include <sys/time.h> - #include <fcntl.h> - - #include "bnbt.h" -@@ -639,4 +640,4 @@ - rsp.strContent.reserve( 1024 ); - rsp.bCompressOK = true; - m_iLast = GetTime( ); --} -\ No newline at end of file -+} diff --git a/net-p2p/bnbt/files/patch-config.cpp b/net-p2p/bnbt/files/patch-config.cpp deleted file mode 100644 index f9a3636c1bb0..000000000000 --- a/net-p2p/bnbt/files/patch-config.cpp +++ /dev/null @@ -1,15 +0,0 @@ ---- config.cpp Fri Sep 24 20:01:58 2004 -+++ config.cpp.new Sat Oct 23 14:42:45 2004 -@@ -147,10 +147,10 @@ - CFG_SetString( "bnbt_realm", "BNBT" ); - - if( CFG_GetString( "bnbt_error_log_dir", string( ) ).empty( ) ) -- CFG_SetString( "bnbt_error_log_dir", string( ) ); -+ CFG_SetString( "bnbt_error_log_dir", "/var/log/bnbt/" ); - - if( CFG_GetString( "bnbt_access_log_dir", string( ) ).empty( ) ) -- CFG_SetString( "bnbt_access_log_dir", string( ) ); -+ CFG_SetString( "bnbt_access_log_dir", "/var/log/bnbt/" ); - - if( CFG_GetInt( "bnbt_flush_interval", 0 ) < 1 ) - CFG_SetInt( "bnbt_flush_interval", 100 ); diff --git a/net-p2p/bnbt/files/patch-server.cpp b/net-p2p/bnbt/files/patch-server.cpp deleted file mode 100644 index 856ac603c773..000000000000 --- a/net-p2p/bnbt/files/patch-server.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- server.cpp Fri Sep 10 14:43:24 2004 -+++ server.cpp.new Sat Oct 23 15:40:21 2004 -@@ -19,6 +19,8 @@ - * - ***/ - -+#include <sys/time.h> -+ - #include "bnbt.h" - #include "client.h" - #include "config.h" diff --git a/net-p2p/bnbt/files/patch-sha1.cpp b/net-p2p/bnbt/files/patch-sha1.cpp deleted file mode 100644 index ab0df251a7a7..000000000000 --- a/net-p2p/bnbt/files/patch-sha1.cpp +++ /dev/null @@ -1,32 +0,0 @@ ---- sha1.cpp 2009-06-30 14:02:51.000000000 -0700 -+++ sha1.cpp.new 2009-06-30 14:02:47.000000000 -0700 -@@ -44,9 +44,9 @@ - m_count[1] = 0; - } - --void CSHA1::Transform(unsigned long state[5], const unsigned char buffer[64]) -+void CSHA1::Transform(unsigned int state[5], const unsigned char buffer[64]) - { -- unsigned long a = 0, b = 0, c = 0, d = 0, e = 0; -+ unsigned int a = 0, b = 0, c = 0, d = 0, e = 0; - - SHA1_WORKSPACE_BLOCK* block; - static unsigned char workspace[64]; -@@ -96,7 +96,7 @@ - // Use this function to hash in binary data and strings - void CSHA1::Update(const unsigned char* data, unsigned int len) - { -- unsigned long i = 0, j = 0; -+ unsigned int i = 0, j = 0; - - j = (m_count[0] >> 3) & 63; - -@@ -123,7 +123,7 @@ - - void CSHA1::Final() - { -- unsigned long i = 0, j = 0; -+ unsigned int i = 0, j = 0; - unsigned char finalcount[8] = { 0, 0, 0, 0, 0, 0, 0, 0 }; - - for (i = 0; i < 8; i++) diff --git a/net-p2p/bnbt/files/patch-sha1.h b/net-p2p/bnbt/files/patch-sha1.h deleted file mode 100644 index cfe3bbab2959..000000000000 --- a/net-p2p/bnbt/files/patch-sha1.h +++ /dev/null @@ -1,31 +0,0 @@ ---- sha1.h 2009-06-30 14:02:51.000000000 -0700 -+++ sha1.h.new 2009-06-30 14:02:47.000000000 -0700 -@@ -59,7 +59,7 @@ - - typedef union { - unsigned char c[64]; -- unsigned long l[16]; -+ unsigned int l[16]; - } SHA1_WORKSPACE_BLOCK; - - // Two different formats for ReportHash(...) -@@ -69,8 +69,8 @@ - CSHA1(); - virtual ~CSHA1(); - -- unsigned long m_state[5]; -- unsigned long m_count[2]; -+ unsigned int m_state[5]; -+ unsigned int m_count[2]; - unsigned char m_buffer[64]; - unsigned char m_digest[20]; - -@@ -86,7 +86,7 @@ - - private: - // Private SHA-1 transformation -- void Transform(unsigned long state[5], const unsigned char buffer[64]); -+ void Transform(unsigned int state[5], const unsigned char buffer[64]); - }; - - #endif // ___SHA1_H___ diff --git a/net-p2p/bnbt/files/pkg-message.in b/net-p2p/bnbt/files/pkg-message.in deleted file mode 100644 index 2a6f81e282dd..000000000000 --- a/net-p2p/bnbt/files/pkg-message.in +++ /dev/null @@ -1,15 +0,0 @@ -[ -{ type: install - message: <<EOM -For more information on how to configure BNBT: - -http://wiki.depthstrike.com/index.php/BNBT:Documentation:Configuration - -In order to run bnbt, add the following lines to /etc/rc.conf: - bnbt_enable="YES" - -Then start the server with %%PREFIX%%/etc/rc.d/bnbt.sh start -or reboot. -EOM -} -] diff --git a/net-p2p/bnbt/pkg-descr b/net-p2p/bnbt/pkg-descr deleted file mode 100644 index a52d4573c679..000000000000 --- a/net-p2p/bnbt/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -BNBT was written by Trevor Hogan. BNBT is a complete port of the -original Python BitTorrent tracker to C++ using the STL for data storage -and basic network sockets for network communication. BNBT is fast, -efficient, customizable, easy to use, powerful, and portable. BNBT is -covered under the GNU Lesser General Public License (LGPL). - -WWW: http://bnbt.sourceforge.net/ diff --git a/net-p2p/bnbt/pkg-plist b/net-p2p/bnbt/pkg-plist deleted file mode 100644 index 488da65186b5..000000000000 --- a/net-p2p/bnbt/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/bnbt -%%ETCDIR%%/.keep -/var/log/bnbt/.keep -@dir /var/log/bnbt diff --git a/net-p2p/btpd/Makefile b/net-p2p/btpd/Makefile deleted file mode 100644 index 59cf90bf636a..000000000000 --- a/net-p2p/btpd/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -# $FreeBSD$ - -PORTNAME= btpd -PORTVERSION= 0.16 -PORTREVISION= 2 -CATEGORIES= net-p2p -MASTER_SITES= GHC - -MAINTAINER= ports@FreeBSD.org -COMMENT= Bittorrent client consisting of a daemon and client commands - -LICENSE= BSD2CLAUSE BSD3CLAUSE -LICENSE_COMB= multi - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -USE_GITHUB= yes - -USES= autoreconf ssl -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} - -OPTIONS_DEFINE= DOCS - -post-install-DOCS-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} - -.include <bsd.port.mk> diff --git a/net-p2p/btpd/distinfo b/net-p2p/btpd/distinfo deleted file mode 100644 index 4f25c8a5e39b..000000000000 --- a/net-p2p/btpd/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (btpd-0.16.tar.gz) = 296bdb718eaba9ca938bee56f0976622006c956980ab7fc7a339530d88f51eb8 -SIZE (btpd-0.16.tar.gz) = 159716 diff --git a/net-p2p/btpd/pkg-descr b/net-p2p/btpd/pkg-descr deleted file mode 100644 index 0c180a32cf15..000000000000 --- a/net-p2p/btpd/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -BTPD is a bittorrent client consisting of a daemon and client commands, -which can be used to read and/or manipulate the daemon state. The daemon -is capable of running several torrents simultaneously and only uses one -TCP port. It's fairly low on resource usage and should be perfect for -file distribution sites. Efficient downloads and ease of use makes this -client a good choice for the casual user as well. - -WWW: https://github.com/btpd/btpd/wiki diff --git a/net-p2p/btpd/pkg-plist b/net-p2p/btpd/pkg-plist deleted file mode 100644 index e993bd9f6321..000000000000 --- a/net-p2p/btpd/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/btcli -bin/btinfo -bin/btpd -man/man1/btcli.1.gz -man/man1/btinfo.1.gz -man/man1/btpd.1.gz -%%PORTDOCS%%%%DOCSDIR%%/README diff --git a/net-p2p/gkremldk/Makefile b/net-p2p/gkremldk/Makefile deleted file mode 100644 index 66ee3bfe27e8..000000000000 --- a/net-p2p/gkremldk/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -# Created by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= gkremldk -PORTVERSION= 0.9.8 -PORTREVISION= 2 -CATEGORIES= net-p2p -MASTER_SITES= http://www.tof2k.com/gkremldk/ -DISTNAME= ${PORTNAME}-src-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Shows current mldonkey donwload/upload rates and allows setting them - -LICENSE= GPLv2+ - -BROKEN= unfetchable -DEPRECATED= Unfetchable, unmaintained -EXPIRATION_DATE= 2019-10-16 - -BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2 -RUN_DEPENDS= gkrellm:sysutils/gkrellm2 - -USES= autoreconf pkgconfig tar:tbz -GNU_CONFIGURE= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} - -post-patch: - @${REINPLACE_CMD} -E \ - -e 's|^(LFLAGS).*|\1 = ${LDFLAGS} -lpthread -L${LOCALBASE}/lib|' \ - -e 's|(-fPIC)|\1 ${CFLAGS} -I${LOCALBASE}/include|' \ - ${WRKSRC}/Makefile.in - -do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins - ${INSTALL_LIB} ${WRKSRC}/gkremldk.so \ - ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins - -.include <bsd.port.mk> diff --git a/net-p2p/gkremldk/distinfo b/net-p2p/gkremldk/distinfo deleted file mode 100644 index ee025e597914..000000000000 --- a/net-p2p/gkremldk/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gkremldk-src-0.9.8.tbz) = c1b82d163c2510d20a025528927e551240d8e72855d376596034db26e65971d1 -SIZE (gkremldk-src-0.9.8.tbz) = 11624 diff --git a/net-p2p/gkremldk/files/patch-Makefile.in b/net-p2p/gkremldk/files/patch-Makefile.in deleted file mode 100644 index c2462b7a5e7d..000000000000 --- a/net-p2p/gkremldk/files/patch-Makefile.in +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig 2006-06-22 12:48:05.000000000 +0000 -+++ Makefile.in -@@ -10,7 +10,7 @@ gkremldk.o: mldonkeytools.o gkremldk.c - $(CC) -Wall -fPIC `pkg-config gtk+-2.0 --cflags` -c gkremldk.c - - gkremldk.so: gkremldk.o -- $(CC) -Wall -shared -lpthread -Wl -o gkremldk.so gkremldk.o -+ $(CC) -Wall -shared -lpthread -o gkremldk.so gkremldk.o - - clean: - -@rm -f *.so *.o core* diff --git a/net-p2p/gkremldk/pkg-descr b/net-p2p/gkremldk/pkg-descr deleted file mode 100644 index 8b4d006865d1..000000000000 --- a/net-p2p/gkremldk/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Gkremldk is a GKrellM plugin showing current mldonkey donwload/upload -rate and to set the maximum of these. - -WWW: http://www.tof2k.com/gkremldk/ diff --git a/net-p2p/gkremldk/pkg-plist b/net-p2p/gkremldk/pkg-plist deleted file mode 100644 index c306f277c92c..000000000000 --- a/net-p2p/gkremldk/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -libexec/gkrellm2/plugins/gkremldk.so |