Date: Wed, 16 May 2007 01:17:34 +0200 (CEST) From: Johan Strom <johan@stromnet.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/112697: Update port: net-p2p/rblibtorrent, updated to rblibtorrent-0.12 Message-ID: <20070515231734.E0C3261E9E@elfi.stromnet.se> Resent-Message-ID: <200705152350.l4FNo4Rs082044@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 112697 >Category: ports >Synopsis: Update port: net-p2p/rblibtorrent, updated to rblibtorrent-0.12 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue May 15 23:50:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Johan Strom >Release: FreeBSD 6.2-RELEASE i386 >Organization: >Environment: System: FreeBSD elfi.stromnet.se 6.2-RELEASE FreeBSD 6.2-RELEASE #9: Thu Jan 18 16:53:20 CET 2007 root@:/usr/obj/usr/src/sys/ELFI i386 >Description: Update to version 0.12 of rblibtorrent. A patch to is included for asio, without this patch the program might crash when SIGPIPE was signaled and not handled. --- rblibtorrent.patch begins here --- diff -urNP rblibtorrent.old/Makefile rblibtorrent/Makefile --- rblibtorrent.old/Makefile Thu Apr 26 02:15:08 2007 +++ rblibtorrent/Makefile Mon May 14 08:50:01 2007 @@ -6,8 +6,8 @@ # PORTNAME= libtorrent -PORTVERSION= 0.11 -PORTREVISION= 1 +PORTVERSION= 0.12 +PORTREVISION= 0 CATEGORIES= net-p2p MASTER_SITES= SF PKGNAMEPREFIX= rb diff -urNP rblibtorrent.old/distinfo rblibtorrent/distinfo --- rblibtorrent.old/distinfo Thu Nov 30 20:37:11 2006 +++ rblibtorrent/distinfo Fri May 11 18:43:06 2007 @@ -1,3 +1,3 @@ -MD5 (libtorrent-0.11.tar.gz) = 56e9071b95a6e3f9377121f2fead3499 -SHA256 (libtorrent-0.11.tar.gz) = f350e0af6b42c2cdb1f19008b00fe5f0b70236817f532a94bcb1e3ef6ebba0d7 -SIZE (libtorrent-0.11.tar.gz) = 1130537 +MD5 (libtorrent-0.12.tar.gz) = a09a37e6fc74d152821c00c3cb15d248 +SHA256 (libtorrent-0.12.tar.gz) = 0663f9adaa9d90334ebf78eb6f5b31074ff533d7bec5d3325ff98baad5b7df07 +SIZE (libtorrent-0.12.tar.gz) = 1176469 diff -urNP rblibtorrent.old/files/patch-include_libtorrent_asio_detail_socket_ops.hpp rblibtorrent/files/patch-include_libtorrent_asio_detail_socket_ops.hpp --- rblibtorrent.old/files/patch-include_libtorrent_asio_detail_socket_ops.hpp Thu Nov 30 20:37:11 2006 +++ rblibtorrent/files/patch-include_libtorrent_asio_detail_socket_ops.hpp Thu Jan 1 01:00:00 1970 @@ -1,92 +0,0 @@ ---- include/libtorrent/asio/detail/socket_ops.hpp.original Tue Oct 24 00:50:21 2006 -+++ include/libtorrent/asio/detail/socket_ops.hpp Wed Nov 29 14:40:02 2006 -@@ -66,7 +66,7 @@ - socket_addr_len_type* addrlen) - { - set_error(0); --#if defined(__MACH__) && defined(__APPLE__) -+#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - socket_type new_s = error_wrapper(::accept(s, addr, addrlen)); - if (new_s == invalid_socket) - return new_s; -@@ -279,7 +279,7 @@ - #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) - return error_wrapper(::WSASocket(af, type, protocol, 0, 0, - WSA_FLAG_OVERLAPPED)); --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - socket_type s = error_wrapper(::socket(af, type, protocol)); - if (s == invalid_socket) - return s; -@@ -561,7 +561,7 @@ - } - - #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) \ -- || defined(__MACH__) && defined(__APPLE__) -+ || defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - - // The following functions are only needed for emulation of getaddrinfo and - // getnameinfo. -@@ -604,7 +604,7 @@ - buffer, buflength, error)); - *error = translate_netdb_error(*error); - return retval; --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - (void)(buffer); - (void)(buflength); - hostent* retval = error_wrapper(::getipnodebyaddr(addr, length, af, error)); -@@ -652,7 +652,7 @@ - buflength, error)); - *error = translate_netdb_error(*error); - return retval; --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - (void)(buffer); - (void)(buflength); - hostent* retval = error_wrapper(::getipnodebyname( -@@ -679,7 +679,7 @@ - - inline void freehostent(hostent* h) - { --#if defined(__MACH__) && defined(__APPLE__) -+#if defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - if (h) - ::freehostent(h); - #else -@@ -1372,7 +1372,7 @@ - } - - #endif // defined(BOOST_WINDOWS) || defined(__CYGWIN__) -- // || defined(__MACH__) && defined(__APPLE__) -+ // || defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - - inline int translate_addrinfo_error(int error) - { -@@ -1425,7 +1425,7 @@ - int error = getaddrinfo_emulation(host, service, hints, result); - return translate_addrinfo_error(error); - # endif --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - int error = getaddrinfo_emulation(host, service, hints, result); - return translate_addrinfo_error(error); - #else -@@ -1453,7 +1453,7 @@ - } - freeaddrinfo_emulation(ai); - # endif --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - freeaddrinfo_emulation(ai); - #else - ::freeaddrinfo(ai); -@@ -1488,7 +1488,7 @@ - host, hostlen, serv, servlen, flags); - return translate_addrinfo_error(error); - # endif --#elif defined(__MACH__) && defined(__APPLE__) -+#elif defined(__MACH__) && defined(__APPLE__) || defined(__FreeBSD__) - using namespace std; // For memcpy. - sockaddr_storage_type tmp_addr; - memcpy(&tmp_addr, addr, addrlen); diff -urNP rblibtorrent.old/files/patch-io_service.hpp rblibtorrent/files/patch-io_service.hpp --- rblibtorrent.old/files/patch-io_service.hpp Thu Jan 1 01:00:00 1970 +++ rblibtorrent/files/patch-io_service.hpp Wed May 16 00:37:04 2007 @@ -0,0 +1,11 @@ +--- include/libtorrent/asio/io_service.hpp Wed May 16 00:35:55 2007 ++++ include/libtorrent/asio/io_service.hpp.orig Wed May 16 00:35:45 2007 +@@ -336,7 +336,7 @@ + private: + #if defined(BOOST_WINDOWS) || defined(__CYGWIN__) + detail::winsock_init<> init_; +-#elif defined(__sun) || defined(__QNX__) ++#elif defined(__sun) || defined(__QNX__) || defined(__FreeBSD__) + detail::signal_init<> init_; + #endif + diff -urNP rblibtorrent.old/pkg-plist rblibtorrent/pkg-plist --- rblibtorrent.old/pkg-plist Fri Dec 1 15:50:35 2006 +++ rblibtorrent/pkg-plist Fri May 11 19:05:43 2007 @@ -5,7 +5,6 @@ include/libtorrent/asio/basic_datagram_socket.hpp include/libtorrent/asio/basic_deadline_timer.hpp include/libtorrent/asio/basic_io_object.hpp -include/libtorrent/asio/basic_resolver.hpp include/libtorrent/asio/basic_socket.hpp include/libtorrent/asio/basic_socket_acceptor.hpp include/libtorrent/asio/basic_socket_iostream.hpp @@ -40,6 +39,7 @@ include/libtorrent/asio/detail/io_control.hpp include/libtorrent/asio/detail/kqueue_reactor.hpp include/libtorrent/asio/detail/kqueue_reactor_fwd.hpp +include/libtorrent/asio/detail/local_free_on_block_exit.hpp include/libtorrent/asio/detail/mutex.hpp include/libtorrent/asio/detail/noncopyable.hpp include/libtorrent/asio/detail/null_event.hpp @@ -64,7 +64,10 @@ include/libtorrent/asio/detail/select_interrupter.hpp include/libtorrent/asio/detail/select_reactor.hpp include/libtorrent/asio/detail/select_reactor_fwd.hpp +include/libtorrent/asio/detail/service_base.hpp +include/libtorrent/asio/detail/service_id.hpp include/libtorrent/asio/detail/service_registry.hpp +include/libtorrent/asio/detail/service_registry_fwd.hpp include/libtorrent/asio/detail/signal_blocker.hpp include/libtorrent/asio/detail/signal_init.hpp include/libtorrent/asio/detail/socket_holder.hpp @@ -76,6 +79,7 @@ include/libtorrent/asio/detail/task_io_service.hpp include/libtorrent/asio/detail/task_io_service_fwd.hpp include/libtorrent/asio/detail/thread.hpp +include/libtorrent/asio/detail/throw_error.hpp include/libtorrent/asio/detail/timer_queue.hpp include/libtorrent/asio/detail/timer_queue_base.hpp include/libtorrent/asio/detail/tss_ptr.hpp @@ -85,7 +89,6 @@ include/libtorrent/asio/detail/win_iocp_io_service_fwd.hpp include/libtorrent/asio/detail/win_iocp_operation.hpp include/libtorrent/asio/detail/win_iocp_socket_service.hpp -include/libtorrent/asio/detail/win_local_free_on_block_exit.hpp include/libtorrent/asio/detail/win_mutex.hpp include/libtorrent/asio/detail/win_signal_blocker.hpp include/libtorrent/asio/detail/win_thread.hpp @@ -93,9 +96,10 @@ include/libtorrent/asio/detail/winsock_init.hpp include/libtorrent/asio/detail/wrapped_handler.hpp include/libtorrent/asio/error.hpp -include/libtorrent/asio/error_handler.hpp +include/libtorrent/asio/error_code.hpp include/libtorrent/asio/handler_alloc_hook.hpp include/libtorrent/asio/handler_invoke_hook.hpp +include/libtorrent/asio/impl/error_code.ipp include/libtorrent/asio/impl/io_service.ipp include/libtorrent/asio/impl/read.ipp include/libtorrent/asio/impl/read_until.ipp @@ -105,6 +109,7 @@ include/libtorrent/asio/ip/address_v4.hpp include/libtorrent/asio/ip/address_v6.hpp include/libtorrent/asio/ip/basic_endpoint.hpp +include/libtorrent/asio/ip/basic_resolver.hpp include/libtorrent/asio/ip/basic_resolver_entry.hpp include/libtorrent/asio/ip/basic_resolver_iterator.hpp include/libtorrent/asio/ip/basic_resolver_query.hpp @@ -112,6 +117,7 @@ include/libtorrent/asio/ip/host_name.hpp include/libtorrent/asio/ip/multicast.hpp include/libtorrent/asio/ip/resolver_query_base.hpp +include/libtorrent/asio/ip/resolver_service.hpp include/libtorrent/asio/ip/tcp.hpp include/libtorrent/asio/ip/udp.hpp include/libtorrent/asio/is_read_buffered.hpp @@ -119,7 +125,6 @@ include/libtorrent/asio/placeholders.hpp include/libtorrent/asio/read.hpp include/libtorrent/asio/read_until.hpp -include/libtorrent/asio/resolver_service.hpp include/libtorrent/asio/socket_acceptor_service.hpp include/libtorrent/asio/socket_base.hpp include/libtorrent/asio/ssl.hpp @@ -138,12 +143,13 @@ include/libtorrent/asio/strand.hpp include/libtorrent/asio/stream_socket_service.hpp include/libtorrent/asio/streambuf.hpp -include/libtorrent/asio/system_exception.hpp +include/libtorrent/asio/system_error.hpp include/libtorrent/asio/thread.hpp include/libtorrent/asio/time_traits.hpp include/libtorrent/asio/write.hpp include/libtorrent/aux_/allocate_resources_impl.hpp include/libtorrent/aux_/session_impl.hpp +include/libtorrent/bandwidth_manager.hpp include/libtorrent/bencode.hpp include/libtorrent/bt_peer_connection.hpp include/libtorrent/buffer.hpp @@ -151,7 +157,12 @@ include/libtorrent/debug.hpp include/libtorrent/entry.hpp include/libtorrent/escape_string.hpp +include/libtorrent/extensions.hpp +include/libtorrent/extensions/logger.hpp +include/libtorrent/extensions/metadata_transfer.hpp +include/libtorrent/extensions/ut_pex.hpp include/libtorrent/file.hpp +include/libtorrent/file_pool.hpp include/libtorrent/fingerprint.hpp include/libtorrent/hasher.hpp include/libtorrent/http_tracker_connection.hpp @@ -201,7 +212,10 @@ lib/libtorrent.so lib/libtorrent.so.1 libdata/pkgconfig/libtorrent.pc +share/nls/POSIX +share/nls/en_US.US-ASCII @dirrm include/libtorrent/kademlia +@dirrm include/libtorrent/extensions @dirrm include/libtorrent/aux_ @dirrm include/libtorrent/asio/ssl/detail @dirrm include/libtorrent/asio/ssl >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070515231734.E0C3261E9E>