[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: 0d9916f56c377aab4143f2f2b157f62d97e2da0f Author: David Seifert gentoo org> AuthorDate: Sat Jun 25 21:18:17 2022 + Commit: David Seifert gentoo org> CommitDate: Sat Jun 25 21:18:17 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d9916f5 net-libs/libtorrent-rasterbar: drop 1.2.15-r1, 1.2.16, 2.0.5 Closes: https://bugs.gentoo.org/775104 Closes: https://bugs.gentoo.org/791016 Closes: https://bugs.gentoo.org/832424 Signed-off-by: David Seifert gentoo.org> net-libs/libtorrent-rasterbar/Manifest | 3 - .../libtorrent-rasterbar-2.0.5-boost-1.78.patch| 46 - .../libtorrent-rasterbar-1.2.15-r1.ebuild | 69 --- .../libtorrent-rasterbar-1.2.16.ebuild | 69 --- .../libtorrent-rasterbar-2.0.5.ebuild | 78 -- 5 files changed, 265 deletions(-) diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index 7eb5e03678e5..45b2ea13fd39 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,4 +1 @@ -DIST libtorrent-rasterbar-1.2.15.tar.gz 4163049 BLAKE2B 282d6cf19897706f96d68c75df3c1f5f004df38c07ca2fcaa760f0004512dc8759ea47d4e0c96ff4d8ac2d23569a05507c5dd0667d83c702e14825a0d9ffcd0e SHA512 c409c53ec9c299a05b51ab61d7df1209803cbd6070f0a014dd6fb42c30f6f5230ea90848330f901c61816bc70901e618409acacc95bb0e5acb7f81211d001fa2 -DIST libtorrent-rasterbar-1.2.16.tar.gz 4163867 BLAKE2B 2cb4c79d83854bf3e5fc1b2ff9a361539b7690d0df3c2c15f2df1c7b9e782df51fbab57920a3bac56dff872c829a49303d66d33cdc10586ccc01dad3e83b149c SHA512 2bad1bf1604f99b85567056f798bfb78cdd663612291536d1145141e61f843aced416f7608911793c948d77802ef5b3088197b914c100a4278c94033eb304d4b -DIST libtorrent-rasterbar-2.0.5.tar.gz 4407260 BLAKE2B 71c64879be103326fe438ba6b11b672fb0d631ed0de4eb23c2595f3596b522693594ded9f8733c7827dd668e285cb5099cad78bcd437ec184837eafbd39b356f SHA512 be5b812135dada957e565085b5bdda06827c8427f78a4468ef263e1a1e33d3a0bbba7ac27235f0d17ae6087d54311281e3b1975eef81cda514acc8329862dc04 DIST libtorrent-rasterbar-2.0.6.tar.gz 4431174 BLAKE2B 4951a102b68a5a7ba9a98d771ca638e8438b2aeaa95f5d7bf616542c7a02d28e184ee1bf5b7a55cd91a068cd2d4e9756c479e4ddb5eabe89d8aa833d70aa7502 SHA512 4a5d710706040ef6193967dbb13998cb0ddebe7e95c3bf8aec0812876027c68c32b001fd3f07cd4ff1b819660a8d46ae8c7077e72caf92572288a51cdec7daea diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch deleted file mode 100644 index 93e14963e366.. --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch +++ /dev/null @@ -1,46 +0,0 @@ -From feb911a19c8a66bf13915973649d3a4f5d729f12 Mon Sep 17 00:00:00 2001 -From: arvidn -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
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: c13c5acc2855a5535370078e586c5bc6b06edf67 Author: Nick Sarnie gentoo org> AuthorDate: Mon Dec 13 00:19:23 2021 + Commit: Nick Sarnie gentoo org> CommitDate: Mon Dec 13 00:22:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c13c5acc net-libs/libtorrent-rasterbar: Fix build with boost 1.78 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Nick Sarnie gentoo.org> Acked-by: Sam James gentoo.org> .../libtorrent-rasterbar-2.0.5-boost-1.78.patch| 46 ++ .../libtorrent-rasterbar-2.0.5.ebuild | 4 ++ 2 files changed, 50 insertions(+) diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch new file mode 100644 index ..93e14963e366 --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.5-boost-1.78.patch @@ -0,0 +1,46 @@ +From feb911a19c8a66bf13915973649d3a4f5d729f12 Mon Sep 17 00:00:00 2001 +From: arvidn +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 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild index eee2529eecae..7df4947a91b8 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild @@ -38,6 +38,10 @@ BDEPEND="python? ( ') )" +PATCHES=( + "${FILESDIR}/${P}-boost-1.78.patch" +) + pkg_setup() { use python && python-single-r1_pkg_setup }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: e1ab2444c5bc7ea380b30447926371d2904cf29a Author: Sam James gentoo org> AuthorDate: Sun Oct 31 04:32:46 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 04:32:46 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ab2444 net-libs/libtorrent-rasterbar: fix Python bindings in 2.0.4 Thanks-to: Conrad fps-power.eu> Closes: https://bugs.gentoo.org/820518 Signed-off-by: Sam James gentoo.org> ...libtorrent-rasterbar-2.0.4-python-symbols.patch | 28 ++ ...ebuild => libtorrent-rasterbar-2.0.4-r4.ebuild} | 1 + 2 files changed, 29 insertions(+) diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch new file mode 100644 index 000..109a6490af2 --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch @@ -0,0 +1,28 @@ +https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f +https://bugs.gentoo.org/820518 + +From: Nick Korotysh +Date: Fri, 25 Jun 2021 22:08:00 +0300 +Subject: [PATCH] added missed sources to Python bindings CMakeLists.txt + +fixes libtorrent loading module issues: +libtorrent.cpython-39-x86_64-linux-gnu.so: undefined symbol: _Z16bind_sha256_hashv +--- a/bindings/python/CMakeLists.txt b/bindings/python/CMakeLists.txt +@@ -49,6 +49,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI + src/entry.cpp + src/error_code.cpp + src/fingerprint.cpp ++ src/info_hash.cpp + src/ip_filter.cpp + src/magnet_uri.cpp + src/module.cpp +@@ -56,6 +57,7 @@ Python3_add_library(python-libtorrent MODULE WITH_SOABI + src/session.cpp + src/session_settings.cpp + src/sha1_hash.cpp ++ src/sha256_hash.cpp + src/string.cpp + src/torrent_handle.cpp + src/torrent_info.cpp + diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild similarity index 97% rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild index 9dc9cb50370..0982c19a126 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild @@ -41,6 +41,7 @@ BDEPEND="python? ( PATCHES=( "${FILESDIR}"/${PN}-2.0.4-boost-1.76.patch "${FILESDIR}"/${P}-boost-1.77.patch + "${FILESDIR}"/${P}-python-symbols.patch ) pkg_setup() {
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: 116d6431c3830f6332bc67e1ec591fcbe6542bdc Author: Sam James gentoo org> AuthorDate: Sun Oct 31 04:22:03 2021 + Commit: Sam James gentoo org> CommitDate: Sun Oct 31 04:22:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=116d6431 net-libs/libtorrent-rasterbar: add Boost 1.76(?) patch Closes: https://bugs.gentoo.org/820836 Signed-off-by: Sam James gentoo.org> .../libtorrent-rasterbar-2.0.4-boost-1.76.patch| 58 ++ .../libtorrent-rasterbar-2.0.4-r3.ebuild | 1 + 2 files changed, 59 insertions(+) diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch new file mode 100644 index 000..5e8e04e940f --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch @@ -0,0 +1,58 @@ +https://github.com/paullouisageneau/boost-asio-gnutls/commit/895105972e5a9318d572b147c1872f64d23e2a8e +https://bugs.gentoo.org/820836 + +From 895105972e5a9318d572b147c1872f64d23e2a8e Mon Sep 17 00:00:00 2001 +From: Shantanu Singh +Date: Fri, 18 Sep 2020 14:01:39 -0700 +Subject: [PATCH] Use fully qualified std::placeholders to prevent conflicts + with boost::placeholders + +--- a/deps/asio-gnutls/include/boost/asio/gnutls/stream.hpp b/deps/asio-gnutls/include/boost/asio/gnutls/stream.hpp +@@ -244,8 +244,7 @@ template class stream : public stream_base + return; + } + +-using namespace std::placeholders; +-m_impl->read_handler = std::bind(callable, _1, _2); ++m_impl->read_handler = std::bind(callable, std::placeholders::_1, std::placeholders::_2); + m_impl->bytes_read = 0; + m_impl->async_schedule(); + return callable.get_completion_result(); +@@ -293,8 +292,7 @@ template class stream : public stream_base + return; + } + +-using namespace std::placeholders; +-m_impl->write_handler = std::bind(callable, _1, _2); ++m_impl->write_handler = std::bind(callable, std::placeholders::_1, std::placeholders::_2); + m_impl->bytes_written = 0; + m_impl->async_schedule(); + return callable.get_completion_result(); +@@ -568,8 +566,6 @@ template class stream : public stream_base + + void async_schedule() + { +-using namespace std::placeholders; +- + if (!parent) return; + auto& next_layer = parent->m_next_layer; + +@@ -581,14 +577,14 @@ template class stream : public stream_base + else + next_layer.async_wait( + next_layer_type::wait_read, +-std::bind(::handle_read, this->shared_from_this(), _1)); ++std::bind(::handle_read, this->shared_from_this(), std::placeholders::_1)); + } + + // Start a write operation if GnuTLS wants one + if (want_write() && !std::exchange(is_writing, true)) + { + next_layer.async_wait(next_layer_type::wait_write, +-std::bind(::handle_write, this->shared_from_this(), _1)); ++std::bind(::handle_write, this->shared_from_this(), std::placeholders::_1)); + } + } + + diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild index 787c4093411..9dc9cb50370 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r3.ebuild @@ -39,6 +39,7 @@ BDEPEND="python? ( )" PATCHES=( + "${FILESDIR}"/${PN}-2.0.4-boost-1.76.patch "${FILESDIR}"/${P}-boost-1.77.patch )
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: ac3234e6bb0e647c0bbdb98fd36c2aeb5d5b396d Author: Sam James gentoo org> AuthorDate: Fri Aug 27 00:32:44 2021 + Commit: Sam James gentoo org> CommitDate: Fri Aug 27 00:33:12 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3234e6 net-libs/libtorrent-rasterbar: fix Boost 1.77 compatibility Revbumping because the patch seems a bit invasive and also to fix DEPEND. Closes: https://bugs.gentoo.org/808084 Signed-off-by: Sam James gentoo.org> .../libtorrent-rasterbar-2.0.4-boost-1.77.patch| 37 ++ ...ebuild => libtorrent-rasterbar-2.0.4-r1.ebuild} | 6 +++- 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch new file mode 100644 index 000..b39f62614b2 --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch @@ -0,0 +1,37 @@ +https://github.com/arvidn/libtorrent/pull/6412 +https://github.com/arvidn/libtorrent/issues/6405 +https://bugs.gentoo.org/808084 + +From 906cedddedbdf9d98ecf2bd19340f7f17869b968 Mon Sep 17 00:00:00 2001 +From: arvidn +Date: Thu, 19 Aug 2021 11:54:13 +0200 +Subject: [PATCH] bump handler allocation sizes for boost-1.77 (linux) + +--- + include/libtorrent/aux_/allocating_handler.hpp | 10 +- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp +index 9d826d11a1..b24349850e 100644 +--- a/include/libtorrent/aux_/allocating_handler.hpp b/include/libtorrent/aux_/allocating_handler.hpp +@@ -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 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r1.ebuild similarity index 95% rename from net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4.ebuild rename to net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r1.ebuild index 739fc3f8e91..127f26feb7f 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r1.ebuild @@ -19,6 +19,7 @@ IUSE="+dht debug gnutls python ssl test" RESTRICT="!test? ( test ) test" # not yet fixed RDEPEND="dev-libs/boost:=[threads(+)]" DEPEND=" + ${RDEPEND} python? ( ${PYTHON_DEPS} $(python_gen_any_dep ' @@ -28,9 +29,12 @@ DEPEND=" gnutls? ( net-libs/gnutls:= ) !gnutls? ( dev-libs/openssl:= ) ) - ${DEPEND} " +PATCHES=( + "${FILESDIR}"/${P}-boost-1.77.patch +) + pkg_setup() { use python && python-any-r1_pkg_setup }
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: 7c0e633d611f109f006f68912afd07fc39882d87 Author: Mikle Kolyada gentoo org> AuthorDate: Fri Dec 20 10:43:25 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Fri Dec 20 10:43:25 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c0e633d net-libs/libtorrent-rasterbar: Drop old 1.2.x Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Mikle Kolyada gentoo.org> net-libs/libtorrent-rasterbar/Manifest | 2 - .../files/fix-boost-1.70.patch | 295 - .../libtorrent-rasterbar-1.2.0-r1.ebuild | 113 .../libtorrent-rasterbar-1.2.1-r1.ebuild | 112 4 files changed, 522 deletions(-) diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index d97b33ad66f..4fd372278fa 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,5 +1,3 @@ DIST libtorrent-rasterbar-1.1.13.tar.gz 3896007 BLAKE2B b94f843437be348b10082f19d0b416f909daf15078b1461ab6724ee086d3194f6c378c305174676a3399fc3e6cb23133faaa334ac5dfc9457fb597c65dad7d36 SHA512 021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160 -DIST libtorrent-rasterbar-1.2.0.tar.gz 3546062 BLAKE2B a02ef8f273d8e6ec3b6f6a42d518f7cbba669f109f907e243bb90cd674009894b9edce2f355b52d77275f3fcd9537e9c26280f7b78dfbb1792f52d6c7f50f7da SHA512 2dae77f32cf3da388edece7e64b8d9cf359cca735a101d96bb18fb06573fd1d84c303e5bebd370f637d7c73010ea2d99e38748b2259ce02ae8f0dbc0c4f01518 -DIST libtorrent-rasterbar-1.2.1.tar.gz 3562762 BLAKE2B 1978356ba00c07c4b89657ebe190b2aa4a938d22e5ab63844fb664312d60f761a07c42b9353f2f500fdf9a08afcb294a39bfb447d255d93b1a45ecc2be629ffe SHA512 a60e38c4c951756786ede69af1a5d56bf6293bcb7d235f0b7feda72f731bc163ea6a7401c4b5f5400b8ce236decff0ae3a1d5fe39c7f8f775e65031677f02074 DIST libtorrent-rasterbar-1.2.2.tar.gz 3584187 BLAKE2B 93c77544d4641122f0bd2b5c5f0577629fb7bdfc9e81bd54f7a849f5a477255adc699676516865c93610d24a830a26a0de45f10e50ce64ad6f0214c116f7754c SHA512 34dcf5421dfccbba78bdd30890b9c18b92fdee1a2e1693ada9b55b79a167730093862017581b9251a654b5517011dbe4c46b520b03b78aa86a909457f7edcf2c DIST libtorrent-rasterbar-1.2.3.tar.gz 3591081 BLAKE2B 9766a21c948997b35c6d209940a2d2cfd76b130f1a9d1f611e07d3eeb27f634a3c5eca12c92261139200084b9678913d85f6a56f98ab6894e5def761615c39ad SHA512 11a81c9f4b968ed360740553f8d856a2fad4eb2f6962f6403394e0a4a6b198ef6f04ce92d11fc6bed9aa979c84efd03fb396027dfe6603f394104b4302e04d82 diff --git a/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch b/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch deleted file mode 100644 index 25adcdedcea..000 --- a/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch +++ /dev/null @@ -1,295 +0,0 @@ -From 76c2794923c4c101ff715be11d794f7fefc6c524 Mon Sep 17 00:00:00 2001 -From: Arvid Norberg -Date: Fri, 19 Apr 2019 20:56:19 +0200 -Subject: [PATCH] fix build with boost-1.70 (#3788) - -fix build with boost 1.70.0 Fix #3683 -Signed-off-by: Fabrice Fontaine - include/libtorrent/io_service.hpp | 3 +++ - include/libtorrent/io_service_fwd.hpp | 13 +++-- - include/libtorrent/proxy_base.hpp | 2 +- - include/libtorrent/tracker_manager.hpp | 2 +- - include/libtorrent/udp_socket.hpp | 2 +- - src/disk_io_thread_pool.cpp| 2 +- - src/http_connection.cpp| 18 +- - src/kademlia/dht_tracker.cpp | 2 +- - src/lsd.cpp| 4 ++-- - src/natpmp.cpp | 6 +++--- - src/udp_socket.cpp | 2 +- - src/upnp.cpp | 2 +- - test/test_fast_extension.cpp | 2 +- - 13 files changed, 36 insertions(+), 24 deletions(-) - -diff --git a/include/libtorrent/io_service.hpp b/include/libtorrent/io_service.hpp -index 123274019b..5f6be1a2ca 100644 a/include/libtorrent/io_service.hpp -+++ b/include/libtorrent/io_service.hpp -@@ -38,9 +38,12 @@ POSSIBILITY OF SUCH DAMAGE. - #else - #include "libtorrent/aux_/disable_warnings_push.hpp" - #include -+#include - #include "libtorrent/aux_/disable_warnings_pop.hpp" - #endif // SIMULATOR - -+#include "libtorrent/io_service_fwd.hpp" -+ - namespace libtorrent { - - #if defined TORRENT_BUILD_SIMULATOR -diff --git a/include/libtorrent/io_service_fwd.hpp b/include/libtorrent/io_service_fwd.hpp -index 1b22c3e58f..71b845d3f3 100644 a/include/libtorrent/io_service_fwd.hpp -+++ b/include/libtorrent/io_service_fwd.hpp -@@ -55,10 +55,19 @@ namespace boost { namespace asio { - namespace libtorrent { - - #if defined TORRENT_BUILD_SIMULATOR -- typedef sim::asio::io_service io_service; -+ using io_service = sim::asio::io_service; - #else -- typedef boost::asio::io_service io_service; -+ using io_service = boost::asio::io_service; - #endif -+ -+#if BOOST_VERSION >=
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: 8fd1300cdd710f78fa75b9245dd020eeea18643b Author: Mikle Kolyada gentoo org> AuthorDate: Thu May 2 19:15:59 2019 + Commit: Mikle Kolyada gentoo org> CommitDate: Thu May 2 19:15:59 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fd1300c net-libs/libtorrent-rasterbar: fix boost-1.70 compat Closes: https://bugs.gentoo.org/683764 Signed-off-by: Mikle Kolyada gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 .../files/fix-boost-1.70.patch | 295 + .../libtorrent-rasterbar-1.2.0.ebuild | 2 + 2 files changed, 297 insertions(+) diff --git a/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch b/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch new file mode 100644 index 000..25adcdedcea --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/fix-boost-1.70.patch @@ -0,0 +1,295 @@ +From 76c2794923c4c101ff715be11d794f7fefc6c524 Mon Sep 17 00:00:00 2001 +From: Arvid Norberg +Date: Fri, 19 Apr 2019 20:56:19 +0200 +Subject: [PATCH] fix build with boost-1.70 (#3788) + +fix build with boost 1.70.0 Fix #3683 +Signed-off-by: Fabrice Fontaine +--- + include/libtorrent/io_service.hpp | 3 +++ + include/libtorrent/io_service_fwd.hpp | 13 +++-- + include/libtorrent/proxy_base.hpp | 2 +- + include/libtorrent/tracker_manager.hpp | 2 +- + include/libtorrent/udp_socket.hpp | 2 +- + src/disk_io_thread_pool.cpp| 2 +- + src/http_connection.cpp| 18 +- + src/kademlia/dht_tracker.cpp | 2 +- + src/lsd.cpp| 4 ++-- + src/natpmp.cpp | 6 +++--- + src/udp_socket.cpp | 2 +- + src/upnp.cpp | 2 +- + test/test_fast_extension.cpp | 2 +- + 13 files changed, 36 insertions(+), 24 deletions(-) + +diff --git a/include/libtorrent/io_service.hpp b/include/libtorrent/io_service.hpp +index 123274019b..5f6be1a2ca 100644 +--- a/include/libtorrent/io_service.hpp b/include/libtorrent/io_service.hpp +@@ -38,9 +38,12 @@ POSSIBILITY OF SUCH DAMAGE. + #else + #include "libtorrent/aux_/disable_warnings_push.hpp" + #include ++#include + #include "libtorrent/aux_/disable_warnings_pop.hpp" + #endif // SIMULATOR + ++#include "libtorrent/io_service_fwd.hpp" ++ + namespace libtorrent { + + #if defined TORRENT_BUILD_SIMULATOR +diff --git a/include/libtorrent/io_service_fwd.hpp b/include/libtorrent/io_service_fwd.hpp +index 1b22c3e58f..71b845d3f3 100644 +--- a/include/libtorrent/io_service_fwd.hpp b/include/libtorrent/io_service_fwd.hpp +@@ -55,10 +55,19 @@ namespace boost { namespace asio { + namespace libtorrent { + + #if defined TORRENT_BUILD_SIMULATOR +- typedef sim::asio::io_service io_service; ++ using io_service = sim::asio::io_service; + #else +- typedef boost::asio::io_service io_service; ++ using io_service = boost::asio::io_service; + #endif ++ ++#if BOOST_VERSION >= 107000 ++template ++io_service& get_io_service(T& o) { return static_cast(o.get_executor().context()); } ++#else ++template ++io_service& get_io_service(T& o) { return o.get_io_service(); } ++#endif ++ + } + + #endif +diff --git a/include/libtorrent/proxy_base.hpp b/include/libtorrent/proxy_base.hpp +index 344c230977..d7666545c6 100644 +--- a/include/libtorrent/proxy_base.hpp b/include/libtorrent/proxy_base.hpp +@@ -246,7 +246,7 @@ class proxy_base + + io_service& get_io_service() + { +- return m_sock.get_io_service(); ++ return lt::get_io_service(m_sock); + } + + lowest_layer_type& lowest_layer() +diff --git a/include/libtorrent/tracker_manager.hpp b/include/libtorrent/tracker_manager.hpp +index 86331adbca..1fc28e89ff 100644 +--- a/include/libtorrent/tracker_manager.hpp b/include/libtorrent/tracker_manager.hpp +@@ -259,7 +259,7 @@ namespace libtorrent { + virtual void on_timeout(error_code const& ec) = 0; + virtual ~timeout_handler(); + +- io_service& get_io_service() { return m_timeout.get_io_service(); } ++ io_service& get_io_service() { return lt::get_io_service(m_timeout); } + + private: + +diff --git a/include/libtorrent/udp_socket.hpp b/include/libtorrent/udp_socket.hpp +index f4dcbeb248..c5c9aeba66 100644 +--- a/include/libtorrent/udp_socket.hpp b/include/libtorrent/udp_socket.hpp +@@ -61,7 +61,7 @@ namespace libtorrent { + static constexpr udp_send_flags_t dont_fragment = 3_bit; + + bool is_open() const { return m_abort == false; } +- io_service& get_io_service() { return m_socket.get_io_service(); } ++ io_service& get_io_service() { return lt::get_io_service(m_socket); } + + template + void async_read(Handler&& h) +diff --git a/src/disk_io_thread_pool.cpp b/src/disk_io_thread_pool.cpp
[gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/files/, net-libs/libtorrent-rasterbar/
commit: 57d52572cbe8d2586523a66b0f6bbc6254f7edc0 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Feb 22 21:47:44 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Feb 22 21:48:41 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d52572 net-libs/libtorrent-rasterbar: Cleanup vulnerable Closes: https://bugs.gentoo.org/623152 net-libs/libtorrent-rasterbar/Manifest | 1 - ...rent-rasterbar-1.0.11-boost-config-header.patch | 31 ...libtorrent-rasterbar-1.0.11-fix-abicompat.patch | 157 - .../libtorrent-rasterbar-1.0.11-fix-test_ssl.patch | 21 --- .../libtorrent-rasterbar-1.0.11-move-header.patch | 34 - ...orrent-rasterbar-1.0.9-test_torrent_parse.patch | 41 -- .../libtorrent-rasterbar-1.0.11-r1.ebuild | 117 --- 7 files changed, 402 deletions(-) diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index 0bcb190e818..38db164ee52 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,2 +1 @@ -DIST libtorrent-rasterbar-1.0.11.tar.gz 3325786 BLAKE2B ef49c3242f520e222da2724385a41944fb752f09eab45fe60588df999d69832a82ed6b7b7494a0bf303cd6f05b28679f4d7776e6dd66e41cd22b1038f3391800 SHA512 770d16b241174ae4b121af9b2ac7bcde8b14c6ed99352b827b760a3cbdc2c0ebd0d505319762897720c5f72acdff506ee9948ac1140e6d4591805eca5439b184 DIST libtorrent-rasterbar-1.1.5.tar.gz 3942894 BLAKE2B 0a1102e1b74049c1f5d8980363a6b92a3378339349609d64d3b7a38a58baf6c2898a26f70e92b0de0d6a1f4b6725a576a850aacaa5764fe7d96fa0b541dfa2d7 SHA512 d0e7fe944c8a396aaf79ce80c7513be07a855bc8a9eee3bca46ed83d5e190aaa5ea4dc9a8a7208e27e18ae8f15733e6e34eabd375f0bde43d4dc4607840782e7 diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-boost-config-header.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-boost-config-header.patch deleted file mode 100644 index f3a81c381d8..000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-boost-config-header.patch +++ /dev/null @@ -1,31 +0,0 @@ -commit 7eb3cf6bc6dbada3fa7bb7ff4d5981182813a0e2 -Author: arvidn-Date: Tue Jul 11 23:16:50 2017 -0700 - -use the official boost.config header - -diff --git a/include/libtorrent/export.hpp b/include/libtorrent/export.hpp -index 87536af2a..503afe27a 100644 a/include/libtorrent/export.hpp -+++ b/include/libtorrent/export.hpp -@@ -33,19 +33,7 @@ POSSIBILITY OF SUCH DAMAGE. - #ifndef TORRENT_EXPORT_HPP_INCLUDED - #define TORRENT_EXPORT_HPP_INCLUDED - --#if !defined(BOOST_COMPILER_CONFIG) && !defined(BOOST_NO_COMPILER_CONFIG) --# include --#endif --#ifdef BOOST_COMPILER_CONFIG --# include BOOST_COMPILER_CONFIG --#endif -- --#if !defined(BOOST_PLATFORM_CONFIG) && !defined(BOOST_NO_PLATFORM_CONFIG) --# include --#endif --#ifdef BOOST_PLATFORM_CONFIG --# include BOOST_PLATFORM_CONFIG --#endif -+#include - - // backwards compatibility with older versions of boost - #if !defined BOOST_SYMBOL_EXPORT && !defined BOOST_SYMBOL_IMPORT diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-fix-abicompat.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-fix-abicompat.patch deleted file mode 100644 index eebee122551..000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-1.0.11-fix-abicompat.patch +++ /dev/null @@ -1,157 +0,0 @@ -From 76381835be19da2f8f1fc501445e31d32e6d83e4 Mon Sep 17 00:00:00 2001 -From: Arvid Norberg -Date: Sun, 12 Feb 2017 21:05:22 -0500 -Subject: [PATCH] fix ABI compatibility issue introduced with preformatted - entry type (#1702) - -fix ABI compatibility issue introduced with preformatted entry type - ChangeLog | 2 ++ - bindings/python/src/create_torrent.cpp | 2 +- - include/libtorrent/create_torrent.hpp | 6 ++ - src/create_torrent.cpp | 31 --- - src/torrent.cpp| 11 --- - test/test_create_torrent.cpp | 2 +- - 6 files changed, 46 insertions(+), 8 deletions(-) - -diff --git a/ChangeLog b/ChangeLog -index 9b501ce..9defe7c 100644 a/ChangeLog -+++ b/ChangeLog -@@ -1,3 +1,5 @@ -+ * fix ABI compatibility issue introduced with preformatted entry type -+ - 1.0.11 release - - * updating super seeding would include the torrent in state_update_alert -diff --git a/bindings/python/src/create_torrent.cpp b/bindings/python/src/create_torrent.cpp -index 55b6b51..31abb07 100644 a/bindings/python/src/create_torrent.cpp -+++ b/bindings/python/src/create_torrent.cpp -@@ -127,7 +127,7 @@ void bind_create_torrent() - - class_("create_torrent", no_init) - .def(init ()) --.def(init(arg("ti"))) -+.def(init((arg("ti"), arg("version") = LIBTORRENT_VERSION_NUM))) -