pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/btpd Update to 0.15. Closes PR 38144. Changes:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5b2cd9055c8
branches:  trunk
changeset: 558528:c5b2cd9055c8
user:      snj <snj%pkgsrc.org@localhost>
date:      Wed May 06 04:03:52 2009 +0000

description:
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:

 net/btpd/Makefile         |   7 ++-----
 net/btpd/distinfo         |   9 +++++----
 net/btpd/patches/patch-aa |  40 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 47 insertions(+), 9 deletions(-)

diffs (79 lines):

diff -r f5e022d40190 -r c5b2cd9055c8 net/btpd/Makefile
--- a/net/btpd/Makefile Wed May 06 03:51:12 2009 +0000
+++ b/net/btpd/Makefile Wed May 06 04:03:52 2009 +0000
@@ -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 @@
 
 .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 -r f5e022d40190 -r c5b2cd9055c8 net/btpd/distinfo
--- a/net/btpd/distinfo Wed May 06 03:51:12 2009 +0000
+++ b/net/btpd/distinfo Wed May 06 04:03:52 2009 +0000
@@ -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 -r f5e022d40190 -r c5b2cd9055c8 net/btpd/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/btpd/patches/patch-aa Wed May 06 04:03:52 2009 +0000
@@ -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;;



Home | Main Index | Thread Index | Old Index