summaryrefslogtreecommitdiff
path: root/net/btpd
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2009-05-06 04:03:52 +0000
committersnj <snj@pkgsrc.org>2009-05-06 04:03:52 +0000
commitf4290feada7eba97146725f1b2aa56d3b4befabb (patch)
tree4d14c693dca401410ccb45d963464263f78477ff /net/btpd
parent688d8fd5c8a8a9e41c5ae0420d988197d4d8cdf7 (diff)
downloadpkgsrc-f4290feada7eba97146725f1b2aa56d3b4befabb.tar.gz
Update to 0.15. Closes PR 38144. Changes:
btpd 0.15: ---------- Bug fixes: - The event loop could busy loop for up to a millisecond sometimes. - On some platforms btpd couldn't initiate connections to other peers. - The timer code was broken on MacOS X. btpd 0.14: ---------- Misc: - IPv6 support. - Bans peers with bad data. - Better tracker compatability and more reliable tracker communication. - Show tracker counts in btcli stat. - Compiles on Solaris 10. - Btpd will now signal startup failures via the process exit value and print the failure reason to stdout. - Better shutdown and torrent stop behaviour. - Needs pthreads again. - Removed libevent in favour of own event loop code. Bug fixes: - An integer array was misaligned, which could cause crashes on systems with alignment requirements. E.g., on XScale arm. - An error in the torrent parsing code could cause crashes. - The '--topdir' option to btcli add didn't work properly for single file torrents. - The system name lookup scheme is now used. In btpd 0.13 only dns lookups were performed. btpd 0.13: ---------- Misc: - cURL is no longer required. btpd now uses its own http client. - btpd doesn't use threads anymore, so pthreads are not required. - Needed parts of libevent are now included in btpd. - I/O errors for torrents no longer make btpd shut down. Instead the problematic torrent is stopped. - Added the option '--ip' to specify the ip address btpd will report to trackers. - Resume file format changed. Already added torrents will be retested once. - The torrent info (ratio etc.) are now saved regularly. - Reduced the amount of outgoing data kept in memory.
Diffstat (limited to 'net/btpd')
-rw-r--r--net/btpd/Makefile7
-rw-r--r--net/btpd/distinfo9
-rw-r--r--net/btpd/patches/patch-aa40
3 files changed, 47 insertions, 9 deletions
diff --git a/net/btpd/Makefile b/net/btpd/Makefile
index 89919707c30..e8b8e16a857 100644
--- a/net/btpd/Makefile
+++ b/net/btpd/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2009/02/27 22:53:47 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2009/05/06 04:03:52 snj Exp $
-DISTNAME= btpd-0.12
-PKGREVISION= 5
+DISTNAME= btpd-0.15
CATEGORIES= net
MASTER_SITES= http://www.murmeldjur.se/btpd/ \
http://people.su.se/~rnyberg/btpd/
@@ -25,7 +24,5 @@ post-install:
.include "../../mk/pthread.buildlink3.mk"
-.include "../../devel/libevent/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
-.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/btpd/distinfo b/net/btpd/distinfo
index 11dfdba8d21..e4f6a79ab6f 100644
--- a/net/btpd/distinfo
+++ b/net/btpd/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/01/09 09:26:38 bjs Exp $
+$NetBSD: distinfo,v 1.4 2009/05/06 04:03:52 snj Exp $
-SHA1 (btpd-0.12.tar.gz) = 69337b5dfba249a6a83c98adc401351a1bf509bd
-RMD160 (btpd-0.12.tar.gz) = eaf6df635aae5140689d8547a5a1cefda05c0de4
-Size (btpd-0.12.tar.gz) = 162543 bytes
+SHA1 (btpd-0.15.tar.gz) = d613ae3d46f3ef548ad8a7e0df278b0e272bb66c
+RMD160 (btpd-0.15.tar.gz) = 203ea8942a5302ed26d9008fd1a08da358591d3c
+Size (btpd-0.15.tar.gz) = 144706 bytes
+SHA1 (patch-aa) = 29db22a6a7532054951ee273f953b84a12184078
diff --git a/net/btpd/patches/patch-aa b/net/btpd/patches/patch-aa
new file mode 100644
index 00000000000..9e9eff73d01
--- /dev/null
+++ b/net/btpd/patches/patch-aa
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1 2009/05/06 04:03:52 snj Exp $
+
+--- configure.orig 2009-05-05 20:54:59.000000000 -0700
++++ configure 2009-05-05 20:55:22.000000000 -0700
+@@ -4780,7 +4780,7 @@ fi
+ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { echo "$as_me:$LINENO: result: $clock_gettime" >&5
+ echo "${ECHO_T}$clock_gettime" >&6; }
+-if test $clock_gettime == yes; then
++if test $clock_gettime = yes; then
+ old_LIBS=$LIBS
+ LIBS=""
+ { echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
+@@ -4876,7 +4876,7 @@ fi
+ _ACEOF
+
+ fi
+-if test $clock_gettime == no; then
++if test $clock_gettime = no; then
+
+ for ac_func in mach_absolute_time
+ do
+@@ -5374,7 +5374,7 @@ echo "$as_me: error: $m is not a valid e
+ ;;
+ esac
+ done
+-if test x"$EVLOOP_METHOD" == x; then
++if test x"$EVLOOP_METHOD" = x; then
+ { { echo "$as_me:$LINENO: error: no suitable evloop method found
+ See \`config.log' for more details." >&5
+ echo "$as_me: error: no suitable evloop method found
+@@ -5388,7 +5388,7 @@ fi
+
+ for i in 0 1 2 3 4 5 6 7; do
+ case $i in
+- 0) if test x"$TD_CFLAGS$TD_LIBS" == x; then continue; fi;;
++ 0) if test x"$TD_CFLAGS$TD_LIBS" = x; then continue; fi;;
+ 1) TD_CFLAGS=-pthread;;
+ 2) TD_CFLAGS=-pthreads;;
+ 3) TD_CFLAGS=-kthread;;