From cdc42f475530c2472b10354c2722c2bb30c4470a4f9148635d369727f3f801d7 Mon Sep 17 00:00:00 2001 From: Luigi Baldoni Date: Sun, 23 Oct 2022 14:38:04 +0000 Subject: [PATCH] Accepting request 1030606 from home:alois:branches:devel:libraries:c_c++ - Update to version 2.0.8 * fix uTP streams timing out instead of closing cleanly * add write_torrent_file_buf() overload for generating .torrent files * add create_torrent::generate_buf() function to generate into a buffer * fix copy_file when the file ends with a sparse region * uTP performance, fix packet loss when sending is stalled * fix trackers being stuck after session pause/resume * fix bug in hash_picker with empty files * uTP performance, prevent premature timeouts/resends * add option to not memory map files below a certain size * settings_pack now returns default values when queried for missing settings * fix copy_file fall-back when SEEK_HOL/SEEK_DATA is not supported * improve error reporting from file copy and move * tweak pad file placement to match reference implementation (tail-padding) * uTP performance, more lenient nagle's algorithm to always allow one outstanding undersized packet * uTP performance, piggy-back held back undersized packet with ACKs * uTP performance, don't send redundant deferred ACKs * support incoming SOCKS5 packets with hostnames as source address, for UDP trackers * ignore duplicate network interface change notifications on linux * fix total_want/want accounting when forcing a recheck * fix merging metadata with magnet links added on top of existing torrents * add torrent_flag to default all file priorities to dont_download * fix &so= feature in magnet links * improve compatibility of SOCKS5 UDP ASSOCIATE * fix madvise range for flushing cache in mmap_storage * open files with no_cache set in O_SYNC mode - Drop 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch (merged upstream) OBS-URL: https://build.opensuse.org/request/show/1030606 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=168 --- ...system-is-found-when-using-old-versi.patch | 27 ------------ _service | 2 +- libtorrent-rasterbar-2.0.7.tar.xz | 3 -- libtorrent-rasterbar-2.0.8.tar.xz | 3 ++ libtorrent-rasterbar.changes | 43 +++++++++++++++++++ libtorrent-rasterbar.spec | 4 +- 6 files changed, 48 insertions(+), 34 deletions(-) delete mode 100644 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch delete mode 100644 libtorrent-rasterbar-2.0.7.tar.xz create mode 100644 libtorrent-rasterbar-2.0.8.tar.xz diff --git a/0001-Make-sure-boost-system-is-found-when-using-old-versi.patch b/0001-Make-sure-boost-system-is-found-when-using-old-versi.patch deleted file mode 100644 index 06a2bcb..0000000 --- a/0001-Make-sure-boost-system-is-found-when-using-old-versi.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 79eab66c7c4f681c3a9e693147a6c30adbe7ddb7 Mon Sep 17 00:00:00 2001 -From: Christophe Giboudeaux -Date: Wed, 5 Oct 2022 22:13:48 +0200 -Subject: [PATCH] Make sure boost-system is found when using old versions - -When using older boost versions, boost-system is a 'PUBLIC' link target. -Make sure it's treated as a required build dependency. ---- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 5cb81ab..9fcb346 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -802,7 +802,7 @@ endif() - find_public_dependency(Boost REQUIRED) - target_link_libraries(torrent-rasterbar PUBLIC Boost::headers) - if (Boost_MAJOR_VERSION LESS_EQUAL 1 AND Boost_MINOR_VERSION LESS 69) -- find_package(Boost REQUIRED COMPONENTS system) -+ find_public_dependency(Boost REQUIRED COMPONENTS system) - target_link_libraries(torrent-rasterbar PUBLIC Boost::system) - endif() - --- -2.37.3 - diff --git a/_service b/_service index 771021e..3b6b68c 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/arvidn/libtorrent.git git .git - v2.0.7 + v2.0.8 @PARENT_TAG@ v(.*) libtorrent-rasterbar diff --git a/libtorrent-rasterbar-2.0.7.tar.xz b/libtorrent-rasterbar-2.0.7.tar.xz deleted file mode 100644 index 8b0364e..0000000 --- a/libtorrent-rasterbar-2.0.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:11a77d50997c7a5037c0b7b21f36c7bca7affa7ea8a763517b2d1108eae3626a -size 3331356 diff --git a/libtorrent-rasterbar-2.0.8.tar.xz b/libtorrent-rasterbar-2.0.8.tar.xz new file mode 100644 index 0000000..cac0905 --- /dev/null +++ b/libtorrent-rasterbar-2.0.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a15b6611b39fc750fa8c4c2238bb6be7b633a93f1365d99c68d4f29efc79864f +size 3341684 diff --git a/libtorrent-rasterbar.changes b/libtorrent-rasterbar.changes index a014f6e..21cce1c 100644 --- a/libtorrent-rasterbar.changes +++ b/libtorrent-rasterbar.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Sun Oct 23 14:17:19 UTC 2022 - Luigi Baldoni + +- Update to version 2.0.8 + * fix uTP streams timing out instead of closing cleanly + * add write_torrent_file_buf() overload for generating + .torrent files + * add create_torrent::generate_buf() function to generate into + a buffer + * fix copy_file when the file ends with a sparse region + * uTP performance, fix packet loss when sending is stalled + * fix trackers being stuck after session pause/resume + * fix bug in hash_picker with empty files + * uTP performance, prevent premature timeouts/resends + * add option to not memory map files below a certain size + * settings_pack now returns default values when queried for + missing settings + * fix copy_file fall-back when SEEK_HOL/SEEK_DATA is not + supported + * improve error reporting from file copy and move + * tweak pad file placement to match reference implementation + (tail-padding) + * uTP performance, more lenient nagle's algorithm to always + allow one outstanding undersized packet + * uTP performance, piggy-back held back undersized packet with + ACKs + * uTP performance, don't send redundant deferred ACKs + * support incoming SOCKS5 packets with hostnames as source + address, for UDP trackers + * ignore duplicate network interface change notifications on + linux + * fix total_want/want accounting when forcing a recheck + * fix merging metadata with magnet links added on top of + existing torrents + * add torrent_flag to default all file priorities to + dont_download + * fix &so= feature in magnet links + * improve compatibility of SOCKS5 UDP ASSOCIATE + * fix madvise range for flushing cache in mmap_storage + * open files with no_cache set in O_SYNC mode +- Drop 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch + (merged upstream) + ------------------------------------------------------------------- Wed Oct 5 20:19:45 UTC 2022 - Christophe Giboudeaux diff --git a/libtorrent-rasterbar.spec b/libtorrent-rasterbar.spec index 1d386de..cf833f5 100644 --- a/libtorrent-rasterbar.spec +++ b/libtorrent-rasterbar.spec @@ -26,15 +26,13 @@ %bcond_with examples %bcond_with tests Name: libtorrent-rasterbar -Version: 2.0.7 +Version: 2.0.8 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-UPSTREAM -- Fix boost detection for Leap -Patch0: 0001-Make-sure-boost-system-is-found-when-using-old-versi.patch BuildRequires: cmake >= 3.12.0 BuildRequires: fdupes BuildRequires: gcc-c++