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 version 0.12. While here, add full...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/104be5410cb7
branches:  trunk
changeset: 537455:104be5410cb7
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Wed Jan 09 09:26:38 2008 +0000

description:
Update to version 0.12.  While here, add full DESTDIR support.
I've also included pthread.buildlink3.mk to define PTHREAD_CFLAGS et. al.
for configure and USE_FEATURES.openssl=threads.

Changes:

btpd 0.12:
----------

Misc:
- btpd now starts with the same set of active torrents as it had when it was
  last shut down. The new '--empty-start' option disables this feature.
- btpd now supports the key tracker extension.
- btpd now supports the multi tracker extension.
- btcli list and stat print headers for the presented data. Both commands
  displays more data than before.
- Torrent management has changed, with changes to the add and del commands
  and two new commands, start and stop, as a result. Operation on torrents
  can now be done by number as well as torrent file.
- A small delay has been added for contacting the same announce URL.
- btpd sends keepalive messages.
- The number of have messages sent has been reduced by not sending them to
  peers that already have the piece.
- The structure of the torrents directory in the btpd directory has changed.
  It is best to remove it before running btpd 0.12.

Bug fixes:
- Zero sized files in a torrent were not always created.

diffstat:

 net/btpd/Makefile |  18 +++++++++++-------
 net/btpd/distinfo |   8 ++++----
 2 files changed, 15 insertions(+), 11 deletions(-)

diffs (51 lines):

diff -r d374a9ee00cf -r 104be5410cb7 net/btpd/Makefile
--- a/net/btpd/Makefile Wed Jan 09 04:17:40 2008 +0000
+++ b/net/btpd/Makefile Wed Jan 09 09:26:38 2008 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.8 2007/08/16 09:27:04 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2008/01/09 09:26:38 bjs Exp $
 
-DISTNAME=      btpd-0.11
-PKGREVISION=   4
+DISTNAME=      btpd-0.12
 CATEGORIES=    net
 MASTER_SITES=  http://www.murmeldjur.se/btpd/ \
                http://people.su.se/~rnyberg/btpd/
@@ -10,15 +9,20 @@
 HOMEPAGE=      http://www.murmeldjur.se/btpd/
 COMMENT=       Daemon for file sharing over bittorrent
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 BUILDLINK_API_DEPENDS.libevent+=       libevent>=0.9
 
-GNU_CONFIGURE= YES
+GNU_CONFIGURE=                 YES
 
-DOCSDIR=       ${PREFIX}/share/doc/btpd
+DOCSDIR=               ${PREFIX}/share/doc/btpd
+USE_FEATURES.openssl=  threads
 
 post-install:
-       ${INSTALL_DATA_DIR} ${DOCSDIR}
-       ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
+       ${INSTALL_DATA_DIR} ${DESTDIR}${DOCSDIR}
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCSDIR}
+
+.include "../../mk/pthread.buildlink3.mk"
 
 .include "../../devel/libevent/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
diff -r d374a9ee00cf -r 104be5410cb7 net/btpd/distinfo
--- a/net/btpd/distinfo Wed Jan 09 04:17:40 2008 +0000
+++ b/net/btpd/distinfo Wed Jan 09 09:26:38 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2006/09/10 04:43:13 obache Exp $
+$NetBSD: distinfo,v 1.3 2008/01/09 09:26:38 bjs Exp $
 
-SHA1 (btpd-0.11.tar.gz) = fe9379b567d40afc8341df32baf31b2d6d99938a
-RMD160 (btpd-0.11.tar.gz) = b43bcd6ece668c2f6365a940fdcc49d3275e4abe
-Size (btpd-0.11.tar.gz) = 146794 bytes
+SHA1 (btpd-0.12.tar.gz) = 69337b5dfba249a6a83c98adc401351a1bf509bd
+RMD160 (btpd-0.12.tar.gz) = eaf6df635aae5140689d8547a5a1cefda05c0de4
+Size (btpd-0.12.tar.gz) = 162543 bytes



Home | Main Index | Thread Index | Old Index