pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/libtorrent
Module Name: pkgsrc
Committed By: adam
Date: Tue Apr 1 09:37:05 UTC 2025
Modified Files:
pkgsrc/net/libtorrent: Makefile PLIST distinfo
Added Files:
pkgsrc/net/libtorrent/patches: patch-scripts_common.m4
Log Message:
libtorrent: updated to 0.15.2
0.15.2
Use C++17.
Basic padding file support.
Fix multifile handling.
Macos fixes.
Thread-safe / preparation for multi-threaded trackers.
Updated list of peer IDs.
Fix undefined behavior in extents::insert.
Don't free memory not allocated by getaddrinfo(3) with freeaddrinfo
Fix pthread_setname_np race condition in thread_base::event_loop
Fix invalid memory accesses on exit
Thread-safe DNS resolver
Option for enabling f/madvise random.
To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 pkgsrc/net/libtorrent/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/libtorrent/PLIST
cvs rdiff -u -r1.46 -r1.47 pkgsrc/net/libtorrent/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/libtorrent/patches/patch-scripts_common.m4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/libtorrent/Makefile
diff -u pkgsrc/net/libtorrent/Makefile:1.66 pkgsrc/net/libtorrent/Makefile:1.67
--- pkgsrc/net/libtorrent/Makefile:1.66 Thu Jan 2 19:54:36 2025
+++ pkgsrc/net/libtorrent/Makefile Tue Apr 1 09:37:04 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.66 2025/01/02 19:54:36 adam Exp $
+# $NetBSD: Makefile,v 1.67 2025/04/01 09:37:04 adam Exp $
-DISTNAME= libtorrent-0.15.1
+DISTNAME= libtorrent-0.15.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=rakshasa/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -10,7 +10,7 @@ HOMEPAGE= https://github.com/rakshasa/li
COMMENT= BitTorrent library written in C++ for *nix
LICENSE= gnu-gpl-v2
-USE_CXX_FEATURES= c++14
+USE_CXX_FEATURES= c++17
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake autoreconf gmake pkg-config
Index: pkgsrc/net/libtorrent/PLIST
diff -u pkgsrc/net/libtorrent/PLIST:1.14 pkgsrc/net/libtorrent/PLIST:1.15
--- pkgsrc/net/libtorrent/PLIST:1.14 Fri Oct 4 09:00:05 2024
+++ pkgsrc/net/libtorrent/PLIST Tue Apr 1 09:37:04 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2024/10/04 09:00:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2025/04/01 09:37:04 adam Exp $
include/torrent/bitfield.h
include/torrent/chunk_manager.h
include/torrent/common.h
@@ -15,7 +15,6 @@ include/torrent/data/file_manager.h
include/torrent/data/file_utils.h
include/torrent/data/piece.h
include/torrent/data/transfer_list.h
-include/torrent/dht_manager.h
include/torrent/download.h
include/torrent/download/choke_group.h
include/torrent/download/choke_queue.h
@@ -30,6 +29,7 @@ include/torrent/hash_string.h
include/torrent/http.h
include/torrent/net/address_info.h
include/torrent/net/fd.h
+include/torrent/net/resolver.h
include/torrent/net/socket_address.h
include/torrent/net/socket_address_key.h
include/torrent/net/socket_event.h
@@ -54,7 +54,11 @@ include/torrent/poll_select.h
include/torrent/rate.h
include/torrent/throttle.h
include/torrent/torrent.h
-include/torrent/tracker.h
+include/torrent/tracker/dht_controller.h
+include/torrent/tracker/manager.h
+include/torrent/tracker/tracker.h
+include/torrent/tracker/tracker_state.h
+include/torrent/tracker/wrappers.h
include/torrent/tracker_controller.h
include/torrent/tracker_list.h
include/torrent/utils/directory_events.h
@@ -65,7 +69,7 @@ include/torrent/utils/option_strings.h
include/torrent/utils/ranges.h
include/torrent/utils/resume.h
include/torrent/utils/signal_bitfield.h
-include/torrent/utils/thread_base.h
+include/torrent/utils/thread.h
include/torrent/utils/thread_interrupt.h
include/torrent/utils/uri_parser.h
lib/libtorrent.la
Index: pkgsrc/net/libtorrent/distinfo
diff -u pkgsrc/net/libtorrent/distinfo:1.46 pkgsrc/net/libtorrent/distinfo:1.47
--- pkgsrc/net/libtorrent/distinfo:1.46 Thu Jan 2 19:54:36 2025
+++ pkgsrc/net/libtorrent/distinfo Tue Apr 1 09:37:04 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.46 2025/01/02 19:54:36 adam Exp $
+$NetBSD: distinfo,v 1.47 2025/04/01 09:37:04 adam Exp $
-BLAKE2s (libtorrent-0.15.1.tar.gz) = a3c2107387320d4d79abd96eabccdc1eecaf224f3c68ac5b485840a0c30cf30d
-SHA512 (libtorrent-0.15.1.tar.gz) = d5ff64d9e939bc57bda4a0b7486276a99867c3f028d0f7e25122754a7e4e6adc1b29bf35870d46797e8be727b54a89ff54bb237dd2b39da4289ccacac3888aae
-Size (libtorrent-0.15.1.tar.gz) = 384658 bytes
+BLAKE2s (libtorrent-0.15.2.tar.gz) = 126fe033abb0794f59f3e54e081774c71de46dd20cbce80d9988d1171c56098a
+SHA512 (libtorrent-0.15.2.tar.gz) = e944b8e0ce575d443067372a9736a54ccb1181e5640a20ece66233996cb247ccf108f7a52141df109d88f817be1db30609c20f16a2e804e41079f5e26a4ed852
+Size (libtorrent-0.15.2.tar.gz) = 454286 bytes
+SHA1 (patch-scripts_common.m4) = a1c5593dc9569df92cb822d3cf9929edde2630f8
SHA1 (patch-src_data_chunk__list.cc) = 92a5f36d7ae993667123051b39e6033c73169f4e
SHA1 (patch-src_data_memory__chunk.cc) = 25c1e529223ab4873f61430e922949eeb29637c4
SHA1 (patch-src_torrent_net_socket__address__key.h) = a50248e4272f413458236730508d5903fdeba53d
Added files:
Index: pkgsrc/net/libtorrent/patches/patch-scripts_common.m4
diff -u /dev/null pkgsrc/net/libtorrent/patches/patch-scripts_common.m4:1.1
--- /dev/null Tue Apr 1 09:37:05 2025
+++ pkgsrc/net/libtorrent/patches/patch-scripts_common.m4 Tue Apr 1 09:37:04 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-scripts_common.m4,v 1.1 2025/04/01 09:37:04 adam Exp $
+
+Portability fix.
+
+--- scripts/common.m4.orig 2025-04-01 09:23:31.361110823 +0000
++++ scripts/common.m4
+@@ -28,8 +28,7 @@ AC_DEFUN([TORRENT_REMOVE_UNWANTED],
+ if test -z "${unwanted_values}"; then
+ $1="$2"
+ else
+- result=`echo "${values_to_check}" | $GREP -Fvx -- "${unwanted_values}" | $GREP -v '^$'`
+- $1=${result//$'\n'/ }
++ $1=`echo "${values_to_check}" | $GREP -Fvx -- "${unwanted_values}" | $GREP -v '^$' | tr '\n' ' '`
+ fi
+ ])
+
Home |
Main Index |
Thread Index |
Old Index