forked from pool/libtorrent-rasterbar
Accepting request 970452 from home:alois:branches:devel:libraries:c_c++
- Update to version 2.0.6 * fix issue creating a v2 torrent from torrent_info containing an empty file * make recheck files also update which files use partfile * add write_through disk_io_write_mode, which flushes pieces to disk immediately * improve copy file function to preserve sparse regions (when supported) * add function to truncate over-sized files part of a torrent * fix directory creation on windows shared folders * add flag to make add_files() not record file attributes * deprecate (unused) allow_partial_disk_writes settings * fix disk-full error reporting in mmap_disk_io * fixed similar-torrents feature for v2 torrents * fix potential unbounded recursion in add_completed_job, in disk I/O * deprecated (unused) volatile_read_cache setting - Drop libtorrent-rasterbar-boost_178.patch (merged upstream) - Switch to _service OBS-URL: https://build.opensuse.org/request/show/970452 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=158
This commit is contained in:
16
_service
Normal file
16
_service
Normal file
@@ -0,0 +1,16 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<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.6</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="filename">libtorrent-rasterbar</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version" />
|
||||
</services>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e965c2e53170c61c0db3a2d898a61769cb7acd541bbf157cbbef97a185930ea5
|
||||
size 4407260
|
3
libtorrent-rasterbar-2.0.6.tar.xz
Normal file
3
libtorrent-rasterbar-2.0.6.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7a96cdf6bacb2435a3cd7546c3942b28f757888c18ee6d127c77df7eed49fe36
|
||||
size 3319800
|
@@ -1,46 +0,0 @@
|
||||
From 71d608fceca7e61c9d124f9ea83f71b06eda3b17 Mon Sep 17 00:00:00 2001
|
||||
From: arvidn <arvid@libtorrent.org>
|
||||
Date: Sun, 12 Dec 2021 21:52:15 +0100
|
||||
Subject: [PATCH] update allocator sizes for boost-1.78
|
||||
|
||||
---
|
||||
include/libtorrent/aux_/allocating_handler.hpp | 16 ++++++++--------
|
||||
1 file changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp
|
||||
index 726032e085c..7096dfd2e67 100644
|
||||
--- a/include/libtorrent/aux_/allocating_handler.hpp
|
||||
+++ b/include/libtorrent/aux_/allocating_handler.hpp
|
||||
@@ -77,11 +77,11 @@ namespace libtorrent { namespace aux {
|
||||
constexpr std::size_t openssl_write_cost = 0;
|
||||
#endif
|
||||
|
||||
- constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 160;
|
||||
+ constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + 102 + 9 * sizeof(void*);
|
||||
+ constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + 102 + 9 * sizeof(void*);
|
||||
+ constexpr std::size_t udp_handler_max_size = tracking + debug_tick + 144 + 9 * sizeof(void*);
|
||||
+ constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 168 + 9 * sizeof(void*);
|
||||
+ constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 168;
|
||||
constexpr std::size_t abort_handler_max_size = tracking + debug_tick + 104;
|
||||
constexpr std::size_t submit_handler_max_size = tracking + debug_tick + 104;
|
||||
constexpr std::size_t deferred_handler_max_size = tracking + debug_tick + 112;
|
||||
@@ -124,12 +124,12 @@ namespace libtorrent { namespace aux {
|
||||
#endif
|
||||
constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 168;
|
||||
constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 168;
|
||||
- constexpr std::size_t udp_handler_max_size = tracking + 160;
|
||||
- constexpr std::size_t utp_handler_max_size = tracking + 184;
|
||||
+ constexpr std::size_t udp_handler_max_size = tracking + 168;
|
||||
+ constexpr std::size_t utp_handler_max_size = tracking + 192;
|
||||
constexpr std::size_t abort_handler_max_size = tracking + 72;
|
||||
constexpr std::size_t submit_handler_max_size = tracking + 72;
|
||||
constexpr std::size_t deferred_handler_max_size = tracking + 80;
|
||||
- constexpr std::size_t tick_handler_max_size = tracking + 128;
|
||||
+ constexpr std::size_t tick_handler_max_size = tracking + 136;
|
||||
#endif
|
||||
|
||||
enum HandlerName
|
@@ -1,3 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 16 14:49:34 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 2.0.6
|
||||
* fix issue creating a v2 torrent from torrent_info containing
|
||||
an empty file
|
||||
* make recheck files also update which files use partfile
|
||||
* add write_through disk_io_write_mode, which flushes pieces
|
||||
to disk immediately
|
||||
* improve copy file function to preserve sparse regions (when
|
||||
supported)
|
||||
* add function to truncate over-sized files part of a torrent
|
||||
* fix directory creation on windows shared folders
|
||||
* add flag to make add_files() not record file attributes
|
||||
* deprecate (unused) allow_partial_disk_writes settings
|
||||
* fix disk-full error reporting in mmap_disk_io
|
||||
* fixed similar-torrents feature for v2 torrents
|
||||
* fix potential unbounded recursion in add_completed_job, in
|
||||
disk I/O
|
||||
* deprecated (unused) volatile_read_cache setting
|
||||
- Drop libtorrent-rasterbar-boost_178.patch (merged upstream)
|
||||
- Switch to _service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 11 19:42:28 UTC 2022 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@@ -26,15 +26,13 @@
|
||||
%bcond_with examples
|
||||
%bcond_with tests
|
||||
Name: libtorrent-rasterbar
|
||||
Version: 2.0.5
|
||||
Version: 2.0.6
|
||||
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: https://github.com/arvidn/%{_name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM libtorrent-rasterbar-boost_178.patch
|
||||
Patch0: libtorrent-rasterbar-boost_178.patch
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: cmake >= 3.12.0
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
|
Reference in New Issue
Block a user