Bug 62192 - New port: net/bnbt - A C++ BitTorrent Tracker
Summary: New port: net/bnbt - A C++ BitTorrent Tracker
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 22:20 UTC by Florent Thoumie
Modified: 2004-02-01 14:28 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florent Thoumie 2004-01-31 22:20:18 UTC
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.

Fix: -- bnbt-7.3b.shar begins here --


-- bnbt-7.3b.shar ends here ----4ByfwIjgCusRMuaNDvY5Gfz4iuLYsumKGewSZMVz3LlMeyXL
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# 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@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@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@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@dirrm share/bnbt
END-of-bnbt/pkg-plist
exit
How-To-Repeat: 
N/A
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-01 13:59:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Take.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2004-02-01 14:28:20 UTC
State Changed
From-To: open->closed

New port added, thanks! 

It builds perfectly fine with gcc-2.95 so I removed that USE_GCC.