From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Mar 2 05:50:07 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE73216A420 for ; Thu, 2 Mar 2006 05:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7804A43D49 for ; Thu, 2 Mar 2006 05:50:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k225o7bu021125 for ; Thu, 2 Mar 2006 05:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k225o77f021124; Thu, 2 Mar 2006 05:50:07 GMT (envelope-from gnats) Resent-Date: Thu, 2 Mar 2006 05:50:07 GMT Resent-Message-Id: <200603020550.k225o77f021124@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Johan Strom Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8891A16A420 for ; Thu, 2 Mar 2006 05:43:16 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id C492C43D49 for ; Thu, 2 Mar 2006 05:43:15 +0000 (GMT) (envelope-from johan@stromnet.org) Received: from elfi.stromnet.org (213.67.207.70) by pne-smtpout1-sn1.fre.skanova.net (7.2.070) id 43FF233D001353E0 for FreeBSD-gnats-submit@freebsd.org; Thu, 2 Mar 2006 06:43:14 +0100 Received: by elfi.stromnet.org (Postfix, from userid 10001) id 3A7A461CBF; Thu, 2 Mar 2006 06:43:14 +0100 (CET) Message-Id: <20060302054314.3A7A461CBF@elfi.stromnet.org> Date: Thu, 2 Mar 2006 06:43:14 +0100 (CET) From: Johan Strom To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/94014: Update port: net-p2p/rblibtorrent X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Johan Strom List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 05:50:08 -0000 >Number: 94014 >Category: ports >Synopsis: Update 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: Thu Mar 02 05:50:06 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@elfi.stromnet.org:/usr/obj/usr/src/sys/GENERIC i386 >Description: A patched version which handles random pieces better, instead of donwloading non-linear pieces multiple times they are only donwloaded one time. >How-To-Repeat: >Fix: # 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 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 X X.if ${OSVERSION} < 500000 XIGNORE= is unsupported on FreeBSD < 5 X.endif X X.include 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 >Release-Note: >Audit-Trail: >Unformatted: