ports/125102: New port: net-p2p/hrktorrent a console torrent client using rb_libtorrent

Henrik Friedrichsen hrkfrd at googlemail.com
Sun Jun 29 15:00:16 UTC 2008


>Number:         125102
>Category:       ports
>Synopsis:       New port: net-p2p/hrktorrent a console torrent client using rb_libtorrent
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 29 15:00:13 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Friedrichsen
>Release:        FreeBSD 7.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD dsp.megawr.ath.cx 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun Jun 15 12:30:12 CEST 2008 root at dsp.megawr.ath.cx:/usr/src/sys/i386/compile/KRAFTWERK i386

>Description:
hrktorrent is a light console torrent client using rasterbar's libtorrent. It supports DHT and an IPFilter.

WWW: http://henrik.unit5.ca/hrktorrent/
>How-To-Repeat:
	
>Fix:

	

--- hrktorrent.sh 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:
#
#	hrktorrent
#	hrktorrent/files
#	hrktorrent/files/patch-vars.mk
#	hrktorrent/Makefile
#	hrktorrent/distinfo
#	hrktorrent/pkg-descr
#	hrktorrent/pkg-message
#
echo c - hrktorrent
mkdir -p hrktorrent > /dev/null 2>&1
echo c - hrktorrent/files
mkdir -p hrktorrent/files > /dev/null 2>&1
echo x - hrktorrent/files/patch-vars.mk
sed 's/^X//' >hrktorrent/files/patch-vars.mk << 'END-of-hrktorrent/files/patch-vars.mk'
X--- vars.mk.orig	2008-06-29 16:18:44.000000000 +0200
X+++ vars.mk	2008-06-29 16:18:52.000000000 +0200
X@@ -4,5 +4,5 @@
X OBJ		= main.o core.o settings.o utils.o ipfilter.o
X OUT		= hrktorrent
X CXXFLAGS	+= `pkg-config --cflags libtorrent`
X-LIBS		= `pkg-config --libs libtorrent` -lpthread
X+LIBS		= `pkg-config --libs libtorrent` -pthread
X
END-of-hrktorrent/files/patch-vars.mk
echo x - hrktorrent/Makefile
sed 's/^X//' >hrktorrent/Makefile << 'END-of-hrktorrent/Makefile'
X# Ports collection makefile for:	hrktorrent
X# Date created:				Jun 29, 2008
X# Whom:					hrkfrd at gmail.com
X#
X# $FreeBSD$
X#
X
XPORTNAME=	hrktorrent
XPORTVERSION=	0.3.2
XCATEGORIES=	net-p2p
XMASTER_SITES=	http://henrik.unit5.ca/hrktorrent/
X
XMAINTAINER=	hrkfrd at gmail.com
XCOMMENT=	A light console torrent client using rasterbar's libtorrent
X
XLIB_DEPENDS=	torrent.1:${PORTSDIR}/net-p2p/rblibtorrent
X
XUSE_BZIP2=	yes
X
XPLIST_FILES=    bin/hrktorrent \
X		share/examples/hrktorrent/hrktorrent.rc
XPLIST_DIRS=	share/examples/hrktorrent
X
XMAN1=		hrktorrent.1
XMANCOMPRESSED=	no
X
Xpost-install:
X	@${STRIP_CMD} ${PREFIX}/bin/hrktorrent
X	@${CAT} ${PKGMESSAGE} | ${SED} "s|PREFIX|${PREFIX}|g" \
X		${PKGDIR}/pkg-message
X
X.include <bsd.port.mk>
END-of-hrktorrent/Makefile
echo x - hrktorrent/distinfo
sed 's/^X//' >hrktorrent/distinfo << 'END-of-hrktorrent/distinfo'
XMD5 (hrktorrent-0.3.2.tar.bz2) = 17809a039c8dead47d65dd8b029f052a
XSHA256 (hrktorrent-0.3.2.tar.bz2) = 2de5ab866edfa0eb4b819b05f5be0ab7fc79ea5fbd5b266e40ded1c11f1fedf8
XSIZE (hrktorrent-0.3.2.tar.bz2) = 7637
END-of-hrktorrent/distinfo
echo x - hrktorrent/pkg-descr
sed 's/^X//' >hrktorrent/pkg-descr << 'END-of-hrktorrent/pkg-descr'
Xhrktorrent is a light console torrent client using rasterbar's libtorrent.
XIt supports the IPFilter and DHT implementation of libtorrent.
XIt is aimed to be light and fast.
X
XWWW: http://henrik.unit5.ca/hrktorrent/
END-of-hrktorrent/pkg-descr
echo x - hrktorrent/pkg-message
sed 's/^X//' >hrktorrent/pkg-message << 'END-of-hrktorrent/pkg-message'
X-----------------------------------------------------------------
XA default hrktorrent.rc config has been installed to:
X PREFIX/share/examples/hrktorrent.rc
XCopy it to ~/.hrktorrent/ and modify it. 
XTo use the IPFilter, move the rulefile the same dir and name it:
X ipfilter.dat.
X-----------------------------------------------------------------
END-of-hrktorrent/pkg-message
exit
--- hrktorrent.sh ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list