ports/92861: New port: net-p2p/rblibtorrent

Johan Strom johan at stromnet.org
Sun Feb 5 22:00:25 UTC 2006


>Number:         92861
>Category:       ports
>Synopsis:       New port: net-p2p/rblibtorrent
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 05 22:00:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Johan Strom
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD elfi.stromnet.org 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Thu Dec 1 20:18:30 CET 2005 johan at elfi.stromnet.org:/usr/obj/usr/src/sys/GENERIC i386

>Description:
A BitTorrent Library. Not the same as net-p2p/libtorrent!

>How-To-Repeat:
>Fix:
--- rblibtorrent.pr 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:
#
#	rblibtorrent
#	rblibtorrent/Makefile
#	rblibtorrent/pkg-descr
#	rblibtorrent/pkg-plist
#	rblibtorrent/distinfo
#	rblibtorrent/files
#	rblibtorrent/files/patch-configure
#
echo c - rblibtorrent
mkdir -p rblibtorrent > /dev/null 2>&1
echo x - rblibtorrent/Makefile
sed 's/^X//' >rblibtorrent/Makefile << 'END-of-rblibtorrent/Makefile'
X# New ports collection makefile for:   rblibtorrent
X# Date created:        5 February 2006
X# Whom:                Johan Ström <johan at stromnet.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      libtorrent
XPORTVERSION=   0.9.1
XCATEGORIES=    net-p2p
XMASTER_SITES=  ${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=libtorrent
XPKGNAMEPREFIX= rb
X
XMAINTAINER=    johan at stromnet.org
XCOMMENT=       A C++ library implementing a BitTorrent client
X
XLIB_DEPENDS=	boost_date_time.3:${PORTSDIR}/devel/boost \
X					boost_filesystem.3:${PORTSDIR}/devel/boost \
X					boost_thread.3:${PORTSDIR}/devel/boost
X
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS=	--disable-debug
XCONFIGURE_ENV= CXXFLAGS="-I${LOCALBASE}/include" \
X					LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
X
XCONFLICTS=		libtorrent
X
X.include <bsd.port.mk>
END-of-rblibtorrent/Makefile
echo x - rblibtorrent/pkg-descr
sed 's/^X//' >rblibtorrent/pkg-descr << 'END-of-rblibtorrent/pkg-descr'
Xlibtorrent is a C++ library that aims to be a good alternative to 
Xall the other bittorrent implementations around.
XIt is a library and not a full featured client, although it comes 
Xwith a working example client.
X
XThe main goals of libtorrent are:
X	* to be cpu efficient
X	* to be memory efficient
X	* to be very easy to use
X
XNote that this is NOT the same library as the libtorrent port!
X
XWWW: http://www.rasterbar.com/products/libtorrent.html
END-of-rblibtorrent/pkg-descr
echo x - rblibtorrent/pkg-plist
sed 's/^X//' >rblibtorrent/pkg-plist << 'END-of-rblibtorrent/pkg-plist'
Xinclude/libtorrent/alert.hpp
Xinclude/libtorrent/alert_types.hpp
Xinclude/libtorrent/allocate_resources.hpp
Xinclude/libtorrent/async_gethostbyname.hpp
Xinclude/libtorrent/bencode.hpp
Xinclude/libtorrent/buffer.hpp
Xinclude/libtorrent/config.hpp
Xinclude/libtorrent/debug.hpp
Xinclude/libtorrent/entry.hpp
Xinclude/libtorrent/escape_string.hpp
Xinclude/libtorrent/file.hpp
Xinclude/libtorrent/fingerprint.hpp
Xinclude/libtorrent/hasher.hpp
Xinclude/libtorrent/http_settings.hpp
Xinclude/libtorrent/http_tracker_connection.hpp
Xinclude/libtorrent/identify_client.hpp
Xinclude/libtorrent/invariant_check.hpp
Xinclude/libtorrent/io.hpp
Xinclude/libtorrent/ip_filter.hpp
Xinclude/libtorrent/peer.hpp
Xinclude/libtorrent/peer_connection.hpp
Xinclude/libtorrent/peer_id.hpp
Xinclude/libtorrent/peer_info.hpp
Xinclude/libtorrent/peer_request.hpp
Xinclude/libtorrent/piece_block_progress.hpp
Xinclude/libtorrent/piece_picker.hpp
Xinclude/libtorrent/policy.hpp
Xinclude/libtorrent/resource_request.hpp
Xinclude/libtorrent/session.hpp
Xinclude/libtorrent/size_type.hpp
Xinclude/libtorrent/socket.hpp
Xinclude/libtorrent/stat.hpp
Xinclude/libtorrent/storage.hpp
Xinclude/libtorrent/torrent.hpp
Xinclude/libtorrent/torrent_handle.hpp
Xinclude/libtorrent/torrent_info.hpp
Xinclude/libtorrent/tracker_manager.hpp
Xinclude/libtorrent/udp_tracker_connection.hpp
Xinclude/libtorrent/utf8.hpp
Xinclude/libtorrent/version.hpp
Xlib/libtorrent.so.1
Xlib/libtorrent.so
Xlib/libtorrent.la
Xlib/libtorrent.a
Xlib/pkgconfig/libtorrent.pc
Xbin/dump_torrent
Xbin/make_torrent
Xbin/simple_client
Xbin/test_hasher
Xbin/test_bencoding
Xbin/test_ip_filter
Xbin/test_piece_picker
Xbin/test_storage
X at dirrm include/libtorrent
END-of-rblibtorrent/pkg-plist
echo x - rblibtorrent/distinfo
sed 's/^X//' >rblibtorrent/distinfo << 'END-of-rblibtorrent/distinfo'
XMD5 (libtorrent-0.9.1.tar.gz) = 2e5d08a8f26e8e1e39b50020cb056818
XSHA256 (libtorrent-0.9.1.tar.gz) = 85796fa82c57dfba384ac3e2b1862f2ae30d24da1c11e57b51bcbab55e0a5415
XSIZE (libtorrent-0.9.1.tar.gz) = 711353
END-of-rblibtorrent/distinfo
echo c - rblibtorrent/files
mkdir -p rblibtorrent/files > /dev/null 2>&1
echo x - rblibtorrent/files/patch-configure
sed 's/^X//' >rblibtorrent/files/patch-configure << 'END-of-rblibtorrent/files/patch-configure'
X--- configure.orig	Sun Feb  5 22:01:29 2006
X+++ configure	Sun Feb  5 22:03:10 2006
X@@ -20398,7 +20398,8 @@
X echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
X echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
X if test `eval echo '${'$as_ac_Lib'}'` = yes; then
X-  BOOST_DATE_TIME_LIB=$ax_lib break
X+  BOOST_DATE_TIME_LIB=$ax_lib
X+  break
X fi
X 
X   done
X@@ -20558,7 +20559,8 @@
X echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
X echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
X if test `eval echo '${'$as_ac_Lib'}'` = yes; then
X-  BOOST_FILESYSTEM_LIB=$ax_lib break
X+  BOOST_FILESYSTEM_LIB=$ax_lib
X+  break
X fi
X 
X   done
X@@ -20719,7 +20721,8 @@
X echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
X echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
X if test `eval echo '${'$as_ac_Lib'}'` = yes; then
X-  BOOST_THREAD_LIB=$ax_lib break
X+  BOOST_THREAD_LIB=$ax_lib
X+  break
X fi
X 
X   done
END-of-rblibtorrent/files/patch-configure
exit
--- rblibtorrent.pr ends here ---


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



More information about the freebsd-ports-bugs mailing list