1
0

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
This commit is contained in:
Luigi Baldoni 2022-10-23 14:38:04 +00:00 committed by Git OBS Bridge
parent 778d22e1c8
commit cdc42f4755
6 changed files with 48 additions and 34 deletions

View File

@ -1,27 +0,0 @@
From 79eab66c7c4f681c3a9e693147a6c30adbe7ddb7 Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christophe@krop.fr>
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

View File

@ -3,7 +3,7 @@
<param name="url">https://github.com/arvidn/libtorrent.git</param> <param name="url">https://github.com/arvidn/libtorrent.git</param>
<param name="scm">git</param> <param name="scm">git</param>
<param name="exclude">.git</param> <param name="exclude">.git</param>
<param name="revision">v2.0.7</param> <param name="revision">v2.0.8</param>
<param name="versionformat">@PARENT_TAG@</param> <param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-pattern">v(.*)</param>
<param name="filename">libtorrent-rasterbar</param> <param name="filename">libtorrent-rasterbar</param>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11a77d50997c7a5037c0b7b21f36c7bca7affa7ea8a763517b2d1108eae3626a
size 3331356

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a15b6611b39fc750fa8c4c2238bb6be7b633a93f1365d99c68d4f29efc79864f
size 3341684

View File

@ -1,3 +1,46 @@
-------------------------------------------------------------------
Sun Oct 23 14:17:19 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
- 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 <christophe@krop.fr> Wed Oct 5 20:19:45 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -26,15 +26,13 @@
%bcond_with examples %bcond_with examples
%bcond_with tests %bcond_with tests
Name: libtorrent-rasterbar Name: libtorrent-rasterbar
Version: 2.0.7 Version: 2.0.8
Release: 0 Release: 0
Summary: A C++ implementation of the BitTorrent protocol Summary: A C++ implementation of the BitTorrent protocol
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
URL: https://libtorrent.org/ URL: https://libtorrent.org/
Source: %{name}-%{version}.tar.xz 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: cmake >= 3.12.0
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++