From a01d7533aa072e3c43bbdb4323ddcd28bfd96dbd Mon Sep 17 00:00:00 2001 From: Florent Thoumie Date: Thu, 31 Jan 2008 12:11:22 +0000 Subject: [PATCH] - Update net-p2p/bnbt to 8.5. - Try to remove /var/lob/bnbt at deinstall. - Add a pointer to the configuration wiki page in pkg-message. --- net-p2p/bnbt/Makefile | 18 ++++++++---------- net-p2p/bnbt/distinfo | 6 +++--- net-p2p/bnbt/files/pkg-message.in | 6 +++++- net-p2p/bnbt/pkg-plist | 1 + 4 files changed, 17 insertions(+), 14 deletions(-) diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile index d6c22af09795..454b339f9de1 100644 --- a/net-p2p/bnbt/Makefile +++ b/net-p2p/bnbt/Makefile @@ -6,25 +6,23 @@ # PORTNAME= bnbt -PORTVERSION= 8.1b3 -PORTREVISION= 1 +PORTVERSION= 8.5 CATEGORIES= net-p2p -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= bnbt -DISTNAME= bnbt81b-3-sf +MASTER_SITES= http://opensource.depthstrike.com/${PORTNAME}/ +DISTNAME= ${SNAPSHOT}-${PORTNAME}${PORTVERSION:C/\.//}-src +SNAPSHOT= 20060727 MAINTAINER= flz@FreeBSD.org COMMENT= A C++ BitTorrent Tracker -USE_ZIP= yes -WRKSRC= ${WRKDIR}/${PORTNAME}/src - +USE_BZIP= yes USE_GMAKE= yes +USE_DOS2UNIX= yes SUB_FILES= pkg-message USE_RC_SUBR= bnbt.sh -PORTDOCS= footer.html header.html lesser.txt readme.txt users.txt +PORTDOCS= footer.html header.html .if defined(WITH_MYSQL) ALL_TARGET= bnbtmysql @@ -49,7 +47,7 @@ do-install: ${MKDIR} ${PREFIX}/etc/${PORTNAME} ${MKDIR} ${DOCSDIR} .for i in ${PORTDOCS} - ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/$i ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR} .endfor post-install: diff --git a/net-p2p/bnbt/distinfo b/net-p2p/bnbt/distinfo index f9998726064f..b04d29cee53c 100644 --- a/net-p2p/bnbt/distinfo +++ b/net-p2p/bnbt/distinfo @@ -1,3 +1,3 @@ -MD5 (bnbt81b-3-sf.zip) = 2935ffe0f51090a79d5bd76566af3b2b -SHA256 (bnbt81b-3-sf.zip) = d9d431f86b5abbf89907c567c2ca7bf3020fe86c2585645c2888d51bcc5c842f -SIZE (bnbt81b-3-sf.zip) = 741026 +MD5 (20060727-bnbt85-src.tar.gz) = 6198ce819b9edad13194f54f6715084a +SHA256 (20060727-bnbt85-src.tar.gz) = 50a9c897f9bfc3a238fd74eb234b231225dfd2652592573002a93efce9ae9840 +SIZE (20060727-bnbt85-src.tar.gz) = 87105 diff --git a/net-p2p/bnbt/files/pkg-message.in b/net-p2p/bnbt/files/pkg-message.in index 5543af77c8df..e4d52c7a32a3 100644 --- a/net-p2p/bnbt/files/pkg-message.in +++ b/net-p2p/bnbt/files/pkg-message.in @@ -1,5 +1,9 @@ ************************************************************ -Bnbt has been successfully installed. +BNBT has been successfully installed. + +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" diff --git a/net-p2p/bnbt/pkg-plist b/net-p2p/bnbt/pkg-plist index 7d52743957b0..efcf57ba378f 100644 --- a/net-p2p/bnbt/pkg-plist +++ b/net-p2p/bnbt/pkg-plist @@ -2,3 +2,4 @@ bin/bnbt @exec mkdir -p /var/log/bnbt @exec mkdir -p %D/etc/bnbt @dirrmtry etc/bnbt +@dirrmtry /var/log/bnbt