FreeBSD Bugzilla – Attachment 62971 Details for
Bug 94014
new port: net-p2p/rblibtorrent
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 6.53 KB, created by
Johan Strom
on 2006-03-02 05:50:06 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Johan Strom
Created:
2006-03-02 05:50:06 UTC
Size:
6.53 KB
patch
obsolete
># 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 ># rblibtorrent/files/patch-peer_connection.cpp ># >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@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@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.pre.mk> >X >X.if ${OSVERSION} < 500000 >XIGNORE= is unsupported on FreeBSD < 5 >X.endif >X >X.include <bsd.port.post.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@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 >echo x - rblibtorrent/files/patch-peer_connection.cpp >sed 's/^X//' >rblibtorrent/files/patch-peer_connection.cpp << 'END-of-rblibtorrent/files/patch-peer_connection.cpp' >X--- src/peer_connection.cpp.orig Fri Dec 16 00:32:21 2005 >X+++ src/peer_connection.cpp Thu Feb 23 13:07:01 2006 >X@@ -1011,6 +1011,7 @@ >X >X if (b != m_download_queue.end()) >X { >X+/* >X for (i = m_download_queue.begin(); >X i != b; ++i) >X { >X@@ -1023,7 +1024,7 @@ >X // be requested from other peers >X picker.abort_download(*i); >X } >X- >X+*/ >X #ifdef TORRENT_VERBOSE_LOGGING >X (*m_logger) << to_simple_string(second_clock::universal_time()) >X << " <== PIECE [ piece: " << p.piece << " | " >X@@ -1031,12 +1032,14 @@ >X "s: " << p.start << " | " >X "l: " << p.length << " ]\n"; >X #endif >X- >X+/* >X // remove the request that just finished >X // from the download queue plus the >X // skipped blocks. >X m_download_queue.erase(m_download_queue.begin() >X , boost::next(b)); >X+*/ >X+ m_download_queue.erase(b); >X send_block_requests(); >X } >X else >END-of-rblibtorrent/files/patch-peer_connection.cpp >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 94014
: 62971