ports/62192: New port: net/bnbt - A C++ BitTorrent Tracker

Florent Thoumie flz at xbsd.org
Sat Jan 31 22:20:22 UTC 2004


>Number:         62192
>Category:       ports
>Synopsis:       New port: net/bnbt - A C++ BitTorrent Tracker
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 14:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Florent Thoumie
>Release:        FreeBSD 4.9-RC i386
>Organization:
Xbsd.org
>Environment:
System: FreeBSD gw 4.9-RC FreeBSD 4.9-RC #4: Sun Oct 5 14:25:09 CEST 2003 rf at gw:/usr/src/sys/compile/GW i386


>Description:

BNBT was written by Trevor Hogan. BNBT is a complete port of the original Python 
BitTorrent tracker to C++ using the STL for data storage and basic network sockets 
for network communication. BNBT is fast, efficient, customizable, easy to use, 
powerful, and portable. BNBT is covered under the GNU Lesser General Public 
License (LGPL).

I choose not to port the latest version of bnbt since some features have been removed.

>How-To-Repeat:

N/A

>Fix:

-- bnbt-7.3b.shar begins here --
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	bnbt
#	bnbt/distinfo
#	bnbt/pkg-descr
#	bnbt/Makefile
#	bnbt/pkg-plist
#
echo c - bnbt
mkdir -p bnbt > /dev/null 2>&1
echo x - bnbt/distinfo
sed 's/^X//' >bnbt/distinfo << 'END-of-bnbt/distinfo'
XMD5 (bnbt73b.zip) = 8881f42353ebb896e6aeb53e085cb1e6
END-of-bnbt/distinfo
echo x - bnbt/pkg-descr
sed 's/^X//' >bnbt/pkg-descr << 'END-of-bnbt/pkg-descr'
XBNBT was written by Trevor Hogan. BNBT is a complete port of the
Xoriginal Python BitTorrent tracker to C++ using the STL for data storage
Xand basic network sockets for network communication. BNBT is fast,
Xefficient, customizable, easy to use, powerful, and portable. BNBT is
Xcovered under the GNU Lesser General Public License (LGPL).
X
XWWW: http://bnbt.go-dedicated.com/
X
X- Florent Thoumie
Xflz at xbsd.org
END-of-bnbt/pkg-descr
echo x - bnbt/Makefile
sed 's/^X//' >bnbt/Makefile << 'END-of-bnbt/Makefile'
X# New ports collection makefile for:	bnbt
X# Date created:				Jan 31 2004
X# Whom:					Florent Thoumie <flz at xbsd.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	bnbt
XPORTVERSION=	7.3b
XCATEGORIES=	net
XMASTER_SITES=	http://bnbt.go-dedicated.com/
XDISTFILES=	bnbt73b.zip
X
XUSE_ZIP=	yes
XWRKSRC=		${WRKDIR}/${PORTNAME}/src
X
XMAINTAINER=	flz at xbsd.org
XCOMMENT=	A C++ BitTorrent Tracker
X
XUSE_GMAKE=	yes
X
X.include <bsd.port.pre.mk>
X
X.if (${OSVERSION} < 500000)
XUSE_GCC=	3.1
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bnbt ${PREFIX}/bin
X	${MKDIR} ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/footer.html ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKSRC}/formats.txt ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/header.html ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/lesser.txt ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/link.txt ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/readme.txt ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/stealers.txt ${PREFIX}/share/bnbt
X	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/users.txt ${PREFIX}/share/bnbt
X
X.include <bsd.port.post.mk>
END-of-bnbt/Makefile
echo x - bnbt/pkg-plist
sed 's/^X//' >bnbt/pkg-plist << 'END-of-bnbt/pkg-plist'
Xbin/bnbt
Xshare/bnbt/footer.html
Xshare/bnbt/formats.txt
Xshare/bnbt/header.html
Xshare/bnbt/lesser.txt
Xshare/bnbt/link.txt
Xshare/bnbt/readme.txt
Xshare/bnbt/stealers.txt
Xshare/bnbt/users.txt
X at dirrm share/bnbt
END-of-bnbt/pkg-plist
exit
-- bnbt-7.3b.shar ends here --
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list