Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libtorrent-rasterbar for 
openSUSE:Factory checked in at 2026-11-24 12:42:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libtorrent-rasterbar (Old)
 and      /work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.1340718 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libtorrent-rasterbar"

Tue Nov 24 12:42:02 2026 rev:97 rq:1400226 version:2.1.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/libtorrent-rasterbar/libtorrent-rasterbar.changes    
    2026-09-28 10:42:19.957597518 +0200
+++ 
/work/SRC/openSUSE:Factory/.libtorrent-rasterbar.new.1340718/libtorrent-rasterbar.changes
   2026-11-24 12:47:36.018268392 +0100
@@ -1,0 +2,123 @@
+Mon Nov 23 19:02:33 UTC 2026 - Luigi Baldoni <[email protected]>
+
+- Update to version 2.1.3
+  * apply the IP filter to WebRTC peers
+  * fix pread_disk_io use-after-free when a cached piece is
+    evicted while another thread flushes it
+  * fix race between removing a torrent and a hash job parked in
+    the pread disk cache
+  * fix file order when creating hybrid torrents
+  * fix web seed redirects
+  * limit the size of the allowed-fast set received from a peer
+  * validate the listen port in a peer's extension handshake
+    (range, port filter and no_connect_privileged_ports)
+  * fix auto managed seeds being paused before they can be
+    classified as inactive
+  * fix restoring scrape counters from resume data, and save
+    unknown counters as -1
+  * ignore i2p peers with invalid destinations
+  * fix out of bounds write in the C binding's torrent handle
+    table after removing torrents
+  * fix use-after-free reading a UPnP response body after the
+    HTTP receive buffer grew
+  * fix i2p endpoints in alerts
+  * fix force_recheck() reusing stale hashes from the pread disk
+    cache
+  * fix signed overflow in merkle_get_layer() for the largest v2
+    merkle trees
+  * fix memory leak verifying SSL torrent peer certificates with
+    subject alt names
+  * fix web seed SSRF mitigation not applying to IPv6 addresses
+  * fix signed overflow validating a peer request with a length
+    of INT_MAX
+  * fix pread disk I/O flushing stalls when disable_hash_checks
+    is enabled. The setting is now latched when a torrent is added
+  * fix close_file_interval for pread_disk_io
+  * fix pread disk I/O delaying a piece's writes after hashing
+    it on a hashing thread
+  * fix (rare) data race with part files
+  * mitigate DHT peer storage flooding from a single IPv6 prefix
+  * fix CPU issue when tracker list includes invalid entries
+  * fix out of bounds write in the alert_message C binding on
+    non-positive size
+  * fix pread disk I/O holding back write completions until the
+    end of a flush
+  * fix pread disk I/O async_hash2() of a cached block that ends
+    in a pad file
+  * improve copy_file throughput with dynamic buffer size
+  * fix disk.num_blocks_written over-counting with pread disk I/O
+  * fix uTP sockets stalling when the socket is closed while
+    waiting for it to become writable
+- Add libtorrent-rasterbar-use_system_datachannel.patch
+
+-------------------------------------------------------------------
+Tue Oct 20 14:26:24 UTC 2026 - Luigi Baldoni <[email protected]>
+
+- Update to version 2.1.2
+  * add missing python binding for filenames class
+  * fix edge case in filename deduplication
+  * fix web seed coalesced requests for v2 torrents
+  * fix pre-allocation after enabling files with pread disk I/O
+  * fix race between stop torrent and hasher threads in
+    pread_storage
+  * prevent pread disk I/O from overwriting files when renaming
+  * fix file priority updates being lost when issued in quick
+    succession
+  * deprecate internal functions of file_storage
+  * optimize loading torrents
+  * fix mis-attribution of tracker source when loading a torrent
+    file
+  * fix race between async_hash() and force_recheck()
+  version 2.1.1:
+  * fix merkle tree issue
+  * require webtorrent RTC offer IDs to be exactly 20 bytes
+  * fix point-to-point interfaces without a route to the
+    internet being used for outgoing traffic
+  * apply IP filter to DHT node
+  * fix use of a stack buffer past its lifetime when sending i2p
+    SAM commands
+  * optimize RC4
+  * fail validation of DHT mutable items whose salt exceeds the
+    64 byte limit
+  * improve dont-count-slow-torrents
+  * improve performance of checking files
+  * add ip_ban_alert for IPs banned internally by libtorrent
+  * fix peer DSCP marking on outgoing TCP connections
+  version 2.1.0:
+  * fix tracker force announce
+  * add max_directory_depth limit to load_torrent_limits to
+    bound file path depth when loading torrents
+  * fix race in wait_for_alert(), and update its return value
+  * optimize torrent_handle::torrent_file()
+  * add option to not validate v1 hashes for hybrid torrents
+  * add post_file_status() to query them asynchronously
+  * add post_file_priorities() to query them asynchronously
+  * fix local service discovery not being correctly staggered
+  * add a multi-threaded, pread()-based, disk I/O backend
+    (pread_disk_io)
+  * make the save path for part files configurable
+  * retry failed SAM connection (for i2p)
+  * deprecated remap_files(), and prevent it from breaking v2
+    torrents
+  * fix peer_info holding an i2p destination
+  * implement i2p_pex, peer exchange support for i2p torrents
+  * deprecate torrent_alert::torrent_name()
+  * requires OpenSSL minimum version 1.1.0 with SNI support
+  * try harder to bind TCP and UDP sockets to the same port
+  * made disk_interface's status_t type a flags type
+  * optimize resume data format to use less space
+  * add a simpler overload to bencode() returning a vector<char>
+  * introduced a new API for creating torrents, enabling
+    file_storage optimizations
+  * default build to not include functions deprecated in
+    libtorrent 1.1 and earlier
+  * add comment, created_by and creation_date to
+    add_torrent_params
+  * move session_flags to session_params
+  * the entry class is now a standard variant type
+  * use std::string_view instead of boost counterpart
+  * libtorrent now requires C++17 to build
+  * added support for WebTorrent
+  * removed support for BEP 17 web seeds (in favor of BEP 19)
+
+-------------------------------------------------------------------

Old:
----
  libtorrent-rasterbar-2.0.15.tar.xz

New:
----
  libtorrent-rasterbar-2.1.3.tar.xz
  libtorrent-rasterbar-use_system_datachannel.patch

----------(New B)----------
  New:    waiting for it to become writable
- Add libtorrent-rasterbar-use_system_datachannel.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libtorrent-rasterbar.spec ++++++
--- /var/tmp/diff_new_pack.eZjlmY/_old  2026-11-24 12:47:37.174317387 +0100
+++ /var/tmp/diff_new_pack.eZjlmY/_new  2026-11-24 12:47:37.176317471 +0100
@@ -17,19 +17,21 @@
 
 
 %define _name   libtorrent
-%define libver  2_0
-%define sover   2.0
+%define libver  2_1
+%define sover   2.1
 %define _legacy 1
 %bcond_with     examples
 %bcond_with     tests
 Name:           libtorrent-rasterbar
-Version:        2.0.15
+Version:        2.1.3
 Release:        0
 Summary:        A C++ implementation of the BitTorrent protocol
 License:        BSD-3-Clause
 Group:          Development/Libraries/C and C++
 URL:            https://libtorrent.org/
 Source:         %{name}-%{version}.tar.xz
+# PATCH-FIX-OPENSUSE libtorrent-rasterbar-use_system_datachannel.patch
+Patch0:         libtorrent-rasterbar-use_system_datachannel.patch
 BuildRequires:  cmake >= 3.12.0
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -47,6 +49,7 @@
 BuildRequires:  pkgconfig
 BuildRequires:  python3-devel
 BuildRequires:  python3-setuptools
+BuildRequires:  cmake(LibDataChannel)
 BuildRequires:  pkgconfig(openssl) >= 1.1.1
 
 %description
@@ -131,6 +134,7 @@
 %if %{with examples}
    -Dbuild_examples=ON \
 %endif
+   -DSYSTEM_LIBDATACHANNEL=ON \
    -Dpython-bindings=ON \
    -Dpython-egg-info=ON \
    -Dboost-python-module-name=python3 \

++++++ _service ++++++
--- /var/tmp/diff_new_pack.eZjlmY/_old  2026-11-24 12:47:37.251320650 +0100
+++ /var/tmp/diff_new_pack.eZjlmY/_new  2026-11-24 12:47:37.258320947 +0100
@@ -3,9 +3,11 @@
     <param name="url">https://github.com/arvidn/libtorrent.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v2.0.15</param>
+    <param name="exclude">deps/libdatachannel</param>
+    <param name="revision">v2.1.3</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="versionrewrite-pattern">v(.*)</param>
+    <param name="submodules">enable</param>
     <param name="filename">libtorrent-rasterbar</param>
   </service>
   <service mode="manual" name="recompress">

++++++ libtorrent-rasterbar-2.0.15.tar.xz -> libtorrent-rasterbar-2.1.3.tar.xz 
++++++
++++ 209448 lines of diff (skipped)

++++++ libtorrent-rasterbar-use_system_datachannel.patch ++++++
Index: libtorrent-rasterbar-2.1.2/CMakeLists.txt
===================================================================
--- libtorrent-rasterbar-2.1.2.orig/CMakeLists.txt
+++ libtorrent-rasterbar-2.1.2/CMakeLists.txt
@@ -847,6 +847,11 @@ else()
        target_compile_definitions(torrent-rasterbar PUBLIC TORRENT_DISABLE_DHT)
 endif()
 
+feature_option(SYSTEM_LIBDATACHANNEL "use system LibDataChannel" OFF)
+if (SYSTEM_LIBDATACHANNEL)
+       find_package(LibDataChannel 0.24.1 REQUIRED)
+endif()
+
 if (webtorrent)
        option(NO_WEBSOCKET "Disable WebSocket support in libdatachannel" ON)
        option(NO_MEDIA "Disable media transport support in libdatachannel" ON)
@@ -856,7 +861,9 @@ if (webtorrent)
                option(USE_GNUTLS "Use GnuTLS instead of OpenSSL for 
libdatachannel" OFF)
        endif()
 
-    set(LIBDATACHANNEL_STATIC ON CACHE BOOL "" FORCE)
+       if (NOT SYSTEM_LIBDATACHANNEL)
+               set(LIBDATACHANNEL_STATIC ON CACHE BOOL "" FORCE)
+       endif()
     set(LIBDATACHANNEL_EXPORT OFF CACHE BOOL "" FORCE)
     set(LIBDATACHANNEL_INSTALL OFF CACHE BOOL "" FORCE)
     set(PLOG_INSTALL OFF CACHE BOOL "" FORCE)
@@ -864,14 +871,16 @@ if (webtorrent)
     set(NO_EXAMPLES ON CACHE BOOL "" FORCE)
     set(NO_TESTS ON CACHE BOOL "" FORCE)
 
-       add_subdirectory(deps/libdatachannel EXCLUDE_FROM_ALL)
-       set_target_properties(datachannel-static PROPERTIES 
POSITION_INDEPENDENT_CODE ON)
-
-       if(CMAKE_CXX_COMPILER_ID MATCHES Clang|GNU)
-               target_compile_options(datachannel-static PRIVATE
-                       -Wno-pedantic
-                       -Wno-unused-parameter
-                       -Wno-unused-variable)
+       if (NOT SYSTEM_LIBDATACHANNEL)
+               add_subdirectory(deps/libdatachannel EXCLUDE_FROM_ALL)
+               set_target_properties(datachannel-static PROPERTIES 
POSITION_INDEPENDENT_CODE ON)
+
+               if(CMAKE_CXX_COMPILER_ID MATCHES Clang|GNU)
+                       target_compile_options(datachannel-static PRIVATE
+                               -Wno-pedantic
+                               -Wno-unused-parameter
+                               -Wno-unused-variable)
+               endif()
        endif()
 endif()
 
@@ -962,17 +971,27 @@ include(CheckCXXCompilerFlag)
 add_subdirectory(bindings)
 
 if(webtorrent)
-    set(USRSCTP_INCLUDE_DIR 
"${CMAKE_CURRENT_SOURCE_DIR}/deps/libdatachannel/deps/usrsctp/usrsctplib")
-    target_include_directories(datachannel-static PRIVATE 
"${USRSCTP_INCLUDE_DIR}")
-    target_include_directories(torrent-rasterbar PRIVATE
-        "${USRSCTP_INCLUDE_DIR}"
-        deps/libdatachannel/include
-        deps/libdatachannel/include/rtc
-    )
+    if (NOT SYSTEM_LIBDATACHANNEL)
+           set(USRSCTP_INCLUDE_DIR 
"${CMAKE_CURRENT_SOURCE_DIR}/deps/libdatachannel/deps/usrsctp/usrsctplib")
+           target_include_directories(datachannel-static PRIVATE 
"${USRSCTP_INCLUDE_DIR}")
+           target_include_directories(torrent-rasterbar PRIVATE
+               "${USRSCTP_INCLUDE_DIR}"
+               deps/libdatachannel/include
+               deps/libdatachannel/include/rtc
+           )
+    endif()
     if (BUILD_SHARED_LIBS)
-        target_link_libraries(torrent-rasterbar PRIVATE datachannel-static)
+       if (NOT SYSTEM_LIBDATACHANNEL)
+               target_link_libraries(torrent-rasterbar PRIVATE 
datachannel-static)
+       else()
+               target_link_libraries(torrent-rasterbar PRIVATE 
LibDataChannel::LibDataChannel)
+       endif()
     else()
-        target_link_libraries(torrent-rasterbar PUBLIC datachannel-static)
+       if (NOT SYSTEMLIBDATACHANNEL)
+               target_link_libraries(torrent-rasterbar PUBLIC 
datachannel-static)
+       else()
+               target_link_libraries(torrent-rasterbar PUBLIC 
LibDataChannel::LibDataChannel)
+       endif()
     endif()
     target_compile_definitions(torrent-rasterbar PRIVATE 
BOOST_JSON_HEADER_ONLY)
 endif()
@@ -983,14 +1002,18 @@ endif()
 
 set(LIBTORRENT_EXPORT_TARGETS torrent-rasterbar)
 if (webtorrent AND NOT BUILD_SHARED_LIBS)
-    # these are only linked PUBLIC (and therefore need to be installed and
-    # part of the export set) when torrent-rasterbar itself is static; for a
-    # shared build they're linked PRIVATE and are already embedded in
-    # libtorrent-rasterbar.so, so consumers never need them
-    list(APPEND LIBTORRENT_EXPORT_TARGETS datachannel-static juice-static plog 
usrsctp)
+    if (NOT SYSTEM_LIBDATACHANNEL)
+       # these are only linked PUBLIC (and therefore need to be installed and
+       # part of the export set) when torrent-rasterbar itself is static; for a
+       # shared build they're linked PRIVATE and are already embedded in
+       # libtorrent-rasterbar.so, so consumers never need them
+       list(APPEND LIBTORRENT_EXPORT_TARGETS datachannel-static juice-static 
plog usrsctp)
        if (TARGET usrsctp)
-        set_target_properties(usrsctp PROPERTIES INTERFACE_INCLUDE_DIRECTORIES 
"")
-    endif()
+               set_target_properties(usrsctp PROPERTIES 
INTERFACE_INCLUDE_DIRECTORIES "")
+       endif()
+     else()
+            list(APPEND LIBTORRENT_EXPORT_TARGETS 
LibDataChannel::LibDataChannel)
+     endif()
 endif()
 
 install(TARGETS ${LIBTORRENT_EXPORT_TARGETS}

Reply via email to