From 860d92c8b3cc22ceaf83ed7efc3c6aeba1d7fa1c Mon Sep 17 00:00:00 2001 From: bjs Date: Wed, 9 Jan 2008 09:26:38 +0000 Subject: 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. --- net/btpd/Makefile | 18 +++++++++++------- net/btpd/distinfo | 8 ++++---- 2 files changed, 15 insertions(+), 11 deletions(-) (limited to 'net/btpd') diff --git a/net/btpd/Makefile b/net/btpd/Makefile index 489921d0262..f50ea6e0ec8 100644 --- a/net/btpd/Makefile +++ b/net/btpd/Makefile @@ -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 @@ MAINTAINER= rnyberg@murmeldjur.se 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 --git a/net/btpd/distinfo b/net/btpd/distinfo index 0fb62cfe77c..11dfdba8d21 100644 --- a/net/btpd/distinfo +++ b/net/btpd/distinfo @@ -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 -- cgit v1.2.3