forked from pool/libtorrent-rasterbar
Accepting request 935764 from home:alois:branches:devel:libraries:c_c++
- Update to version 2.0.5 * fix build with WolfSSL * fix issue where incoming uTP connections were not accepted over SOCKS5 * fix several issues in handling of checking files of v2 torrents, esp. from magnet links * make the token limit when parsing metadata from magnet files configurable * fix issue with stalled pieces on disk full errors * fix missing python binding for file_progress_flags * fix torrent_file_with_hashes() to fail when we don't have the piece layers * restore path character encoding conversion for non UTF-8 locales * fix use-after-free bug in make_magnet_uri * add write_torrent_file() to produce a .torrent file from add_torrent_params * allow loading v2 .torrent files without piece layer * fix issue with adding v2 torrents with invalid file root hash - Drop libtorrent-rasterbar-2.0.4-handler-buffer.patch (merged upstream) OBS-URL: https://build.opensuse.org/request/show/935764 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libtorrent-rasterbar?expand=0&rev=153
This commit is contained in:
parent
be7043d74a
commit
6fe426120a
@ -1,35 +0,0 @@
|
||||
--- a/include/libtorrent/aux_/allocating_handler.hpp
|
||||
+++ b/include/libtorrent/aux_/allocating_handler.hpp
|
||||
@@ -79,9 +79,9 @@ namespace libtorrent { namespace aux {
|
||||
|
||||
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 + 128 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t utp_handler_max_size = tracking + debug_tick + 152 + 8 * sizeof(void*);
|
||||
- constexpr std::size_t tick_handler_max_size = tracking + debug_tick + 144;
|
||||
+ 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 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;
|
||||
@@ -122,14 +122,14 @@ namespace libtorrent { namespace aux {
|
||||
constexpr std::size_t fuzzer_write_cost = 0;
|
||||
constexpr std::size_t fuzzer_read_cost = 0;
|
||||
#endif
|
||||
- constexpr std::size_t write_handler_max_size = tracking + debug_write_iter + openssl_write_cost + fuzzer_write_cost + 152;
|
||||
- constexpr std::size_t read_handler_max_size = tracking + debug_read_iter + openssl_read_cost + fuzzer_read_cost + 152;
|
||||
- constexpr std::size_t udp_handler_max_size = tracking + 144;
|
||||
- constexpr std::size_t utp_handler_max_size = tracking + 168;
|
||||
+ 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 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 + 112;
|
||||
+ constexpr std::size_t tick_handler_max_size = tracking + 128;
|
||||
#endif
|
||||
|
||||
enum HandlerName
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:55bcce16c4b85b8cccd20e7ff4a9fde92db66333a25d6504a83c0bb0a5f7f529
|
||||
size 4311319
|
3
libtorrent-rasterbar-2.0.5.tar.gz
Normal file
3
libtorrent-rasterbar-2.0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e965c2e53170c61c0db3a2d898a61769cb7acd541bbf157cbbef97a185930ea5
|
||||
size 4407260
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 5 07:18:54 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 2.0.5
|
||||
* fix build with WolfSSL
|
||||
* fix issue where incoming uTP connections were not accepted
|
||||
over SOCKS5
|
||||
* fix several issues in handling of checking files of v2
|
||||
torrents, esp. from magnet links
|
||||
* make the token limit when parsing metadata from magnet files
|
||||
configurable
|
||||
* fix issue with stalled pieces on disk full errors
|
||||
* fix missing python binding for file_progress_flags
|
||||
* fix torrent_file_with_hashes() to fail when we don't have
|
||||
the piece layers
|
||||
* restore path character encoding conversion for non UTF-8
|
||||
locales
|
||||
* fix use-after-free bug in make_magnet_uri
|
||||
* add write_torrent_file() to produce a .torrent file from
|
||||
add_torrent_params
|
||||
* allow loading v2 .torrent files without piece layer
|
||||
* fix issue with adding v2 torrents with invalid file root hash
|
||||
- Drop libtorrent-rasterbar-2.0.4-handler-buffer.patch (merged
|
||||
upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 31 10:36:56 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
|
@ -26,15 +26,13 @@
|
||||
%bcond_with examples
|
||||
%bcond_with tests
|
||||
Name: libtorrent-rasterbar
|
||||
Version: 2.0.4
|
||||
Version: 2.0.5
|
||||
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-2.0.4-handler-buffer.patch -- Bump handler allocation sizes for boost-1.77 (commit 8ed34b67d)
|
||||
Patch0: libtorrent-rasterbar-2.0.4-handler-buffer.patch
|
||||
BuildRequires: cmake >= 3.12.0
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
|
Loading…
x
Reference in New Issue
Block a user