diff options
Diffstat (limited to 'net-p2p/libtorrent')
-rw-r--r-- | net-p2p/libtorrent/Makefile | 15 | ||||
-rw-r--r-- | net-p2p/libtorrent/distinfo | 6 | ||||
-rw-r--r-- | net-p2p/libtorrent/files/patch-src_data_memory__chunk.cc | 4 | ||||
-rw-r--r-- | net-p2p/libtorrent/files/patch-src_torrent_net_socket__address__key.h | 10 | ||||
-rw-r--r-- | net-p2p/libtorrent/pkg-plist | 7 |
5 files changed, 12 insertions, 30 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index 598f47b8ac5a..0a2da6201cd6 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -1,5 +1,5 @@ PORTNAME= libtorrent -DISTVERSION= 0.15.5 +DISTVERSION= 0.16.0 CATEGORIES= net-p2p MASTER_SITES= https://github.com/rakshasa/rtorrent/releases/download/v${DISTVERSION}/ @@ -10,6 +10,7 @@ WWW= https://github.com/rakshasa/libtorrent LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +LIB_DEPENDS= libcurl.so:ftp/curl TEST_DEPENDS= cppunit>0:devel/cppunit USES= compiler:c++17-lang cpe libtool localbase:ldflags pathfix \ @@ -36,14 +37,4 @@ OPTIONS_DEFAULT= KQUEUE KQUEUE_DESC= Use kqueue(2) support KQUEUE_CONFIGURE_WITH= kqueue -.include <bsd.port.pre.mk> - -# Disable instrumentation, which requires 64-bit atomic ops, on i386 when using -# gcc to avoid linking errors: -# /usr/local/lib/libtorrent.so: undefined reference to `__sync_add_and_fetch_8' -# /usr/local/lib/libtorrent.so: undefined reference to `__sync_fetch_and_and_8' -.if ${ARCH} == i386 && ${CHOSEN_COMPILER_TYPE} == gcc -CONFIGURE_ARGS+= --disable-instrumentation -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/net-p2p/libtorrent/distinfo b/net-p2p/libtorrent/distinfo index 0dca9bbeac62..7bebc5e606c8 100644 --- a/net-p2p/libtorrent/distinfo +++ b/net-p2p/libtorrent/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1750620524 -SHA256 (libtorrent-0.15.5.tar.gz) = b5ede397b63914275c3cfb206f8651084eddcc3c0b96a4550cdab5e997a9fe8d -SIZE (libtorrent-0.15.5.tar.gz) = 870807 +TIMESTAMP = 1757101252 +SHA256 (libtorrent-0.16.0.tar.gz) = 623a75e85a23f7471c9531ea67a01bb652165c6b2b6a829a7f1c6117eac938ec +SIZE (libtorrent-0.16.0.tar.gz) = 885568 diff --git a/net-p2p/libtorrent/files/patch-src_data_memory__chunk.cc b/net-p2p/libtorrent/files/patch-src_data_memory__chunk.cc index f119df1d6e6e..b73078bdc1ab 100644 --- a/net-p2p/libtorrent/files/patch-src_data_memory__chunk.cc +++ b/net-p2p/libtorrent/files/patch-src_data_memory__chunk.cc @@ -1,6 +1,6 @@ ---- src/data/memory_chunk.cc.orig 2025-06-01 13:09:26 UTC +--- src/data/memory_chunk.cc.orig 2025-09-05 08:47:37 UTC +++ src/data/memory_chunk.cc -@@ -66,6 +66,9 @@ MemoryChunk::unmap() { +@@ -49,6 +49,9 @@ MemoryChunk::unmap() { if (!is_valid()) throw internal_error("MemoryChunk::unmap() called on an invalid object"); diff --git a/net-p2p/libtorrent/files/patch-src_torrent_net_socket__address__key.h b/net-p2p/libtorrent/files/patch-src_torrent_net_socket__address__key.h deleted file mode 100644 index 56e9dbf35b71..000000000000 --- a/net-p2p/libtorrent/files/patch-src_torrent_net_socket__address__key.h +++ /dev/null @@ -1,10 +0,0 @@ ---- src/torrent/net/socket_address_key.h.orig 2025-06-01 13:09:26 UTC -+++ src/torrent/net/socket_address_key.h -@@ -7,6 +7,7 @@ - #include <cstring> - #include <cinttypes> - #include <netinet/in.h> -+#include <sys/socket.h> - - // Unique key for the socket address, excluding port numbers, etc. - diff --git a/net-p2p/libtorrent/pkg-plist b/net-p2p/libtorrent/pkg-plist index fc8aecae5d69..826b7588ff53 100644 --- a/net-p2p/libtorrent/pkg-plist +++ b/net-p2p/libtorrent/pkg-plist @@ -25,9 +25,10 @@ include/torrent/error.h include/torrent/event.h include/torrent/exceptions.h include/torrent/hash_string.h -include/torrent/http.h include/torrent/net/address_info.h include/torrent/net/fd.h +include/torrent/net/http_get.h +include/torrent/net/http_stack.h include/torrent/net/resolver.h include/torrent/net/socket_address.h include/torrent/net/socket_address_key.h @@ -69,6 +70,6 @@ include/torrent/utils/signal_bitfield.h include/torrent/utils/thread.h include/torrent/utils/uri_parser.h lib/libtorrent.so -lib/libtorrent.so.25 -lib/libtorrent.so.25.0.0 +lib/libtorrent.so.30 +lib/libtorrent.so.30.0.0 libdata/pkgconfig/libtorrent.pc |