diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /net-libs/libtorrent-rasterbar | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'net-libs/libtorrent-rasterbar')
12 files changed, 2 insertions, 643 deletions
diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index 0967b9a83f44..0d5f81094562 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,18 +1,3 @@ -AUX libtorrent-rasterbar-2.0.4-asio-ssl-error.patch 878 BLAKE2B d9f82601d9600991f7f361c347690cd944316515fb48f4adcd9b721cbc02ffbece050a57597e35e6f525f717435938e15dd19cc9649fc07daaef553f76a910d4 SHA512 523a6c3a878e5ea73356dabf29818c9e3e6f123f408759a0f60998cbfc61fdd6baf96047a72702d5c8592d25554d2f2ee17618b7fc32720b22b3a0708fbc0ab6 -AUX libtorrent-rasterbar-2.0.4-boost-1.76.patch 2557 BLAKE2B db450f88f5eaa17533cb1c0eadf292ef4d4efb5f0ec6093ecd2f3bcd2ddb45460a8bab55e8b440644e97955ae4cd4ee8b1b4977564011cc2c27d90a444df92b7 SHA512 d5f56fb9d2ce8d0807a85b69ab4a0060f96a498159ba76acd7c2f72f9808ac2bb161d263a2ee3bfc07376d2d1c8252ab7646c38fc5935676204c790b7766f653 -AUX libtorrent-rasterbar-2.0.4-boost-1.77.patch 1972 BLAKE2B 31b91cc9ec963fc94fdab61e2fa0f7b0e55f2fea1d2f84bbe2cda409863ec0d0248b4fdb2e85b049165a46ad77cf8e2fffbcd634d01b58549372d9a3045b8890 SHA512 78cca1965d2cabc384051e3c9555d49e5137f025b0211120bd5abdf90897af200f87c95526ff9dc919356f6794ea04ce973dfcb774e7b5d1cd20ebf34e80f89a -AUX libtorrent-rasterbar-2.0.4-python-symbols.patch 910 BLAKE2B 9467f84b6edb168173ff4745649d8d930ddb6524d2b0aca1aafb7287f4fb0fae05edfa43244526e7f3ef116fe85e8547b9e515140d5754fa4cb19d6c89f02785 SHA512 c72324290bdf675aa211b40ffac3a83bdf77e9cda94e0a9cfea41264be815addc6432464cd7223d962a346a2fc3cd1b2c59968aaa067e98a755ef9c25834bf71 -AUX libtorrent-rasterbar-2.0.5-boost-1.78.patch 2885 BLAKE2B 59e3dfae99d493258332b7af5e3eccd4401fc2ed7a7bd98639db5ddc8e27c6332189640046a9eb60adb0c9b3ca35dea13016ad0aa270dcbcec02111e675a3695 SHA512 fadb078a4726ec2ed0cc97787a71b0ec19f4be951d2e2358c5d3807d4f48c7f2eae9742cefc2999c997ff9b5e7b726c07043e19fab7980750658565e047902a8 -DIST libtorrent-1.2.14.tar.gz 3614077 BLAKE2B 423cd0c467510e3b4d33485ea108912a90ef0d66746e6f912eeb07930e7091d1ce8e28953a48dab3bb03c6232a9e958be423d4563bd63c083ec1423c4753b3df SHA512 9ba7d8a271ecc7330ae9c794f3966a6d1677b9d2a02a24df8b6e63daa4d5c0a7ef88607a73b417247b4afc5195e46cd0ca75859358f9e50915af56b3ed19f322 -DIST libtorrent-rasterbar-1.2.15.tar.gz 4163049 BLAKE2B 282d6cf19897706f96d68c75df3c1f5f004df38c07ca2fcaa760f0004512dc8759ea47d4e0c96ff4d8ac2d23569a05507c5dd0667d83c702e14825a0d9ffcd0e SHA512 c409c53ec9c299a05b51ab61d7df1209803cbd6070f0a014dd6fb42c30f6f5230ea90848330f901c61816bc70901e618409acacc95bb0e5acb7f81211d001fa2 -DIST libtorrent-rasterbar-2.0.4-ssl-tests-certs.patch.bz2 26530 BLAKE2B 0958f11be84860cfb0e9224901a6052d9acb80edbd9f9e6eeb2e621e30e75fac4c4db64c71573b7c7f91761e74b9c5781ef8d1a202aef06cd92e3edb15d9f810 SHA512 f3afc4e0857838a44fa3671d657b5f669194c504d07d8f72ca5ddc060786127e3d6ad4ae9efa39e9f02fbe396f4785a1755dd1fd9607c1cef31aa60574b3511e -DIST libtorrent-rasterbar-2.0.4.tar.gz 4311319 BLAKE2B fee8255d46d5ca019cd487b57fc6003744c208ea5e78873b925f53881667c55c506d302fc7ae6cd5b5d5e776cfe059b714db94d16dd28cfc7939ec6f4fa4e5fa SHA512 66ce3c3369b1d2a83654727c23022d38b070b8bc3ad83b1001e2cfad945acbaa4d61990094bc758886967cd305ca2213b60b1b0523b5106c42d4701d8cff8db1 -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 -EBUILD libtorrent-rasterbar-1.2.14-r1.ebuild 2588 BLAKE2B 481eb4d68ffde21e9839f04b1102348923087540e50172d5c612aeced221f76e1b99d44b72fd81a7772ce74989c33928957d77c579f996e5de492769f16b54f1 SHA512 642425ba009fe39ad2c7bd87daf1bdd45020b4b69de99e4ab5031c09dd1f24518c41c74281d6cbda32b24684c60134ee66496dd8674ac221796e8e625b1ae529 -EBUILD libtorrent-rasterbar-1.2.15-r1.ebuild 1728 BLAKE2B 438d294bf4874966b9fd0edbf61de4fd0801a0d8fd191a405c6dc932fd9a726954216bc13f26829947ed61ae236f29fd6bdcf3443b63fbf3efb7bb006339bcf7 SHA512 a848b4a29623c89ef485defed3ae6a310400c58b1a3b17a4091d347c6ebff7837fe35d9eeed72cfaf3dbb13daa100f14263a0299e4178a48dfe3783df68d6028 -EBUILD libtorrent-rasterbar-2.0.4-r4.ebuild 2267 BLAKE2B 4bdb1808b6ede39a38591d1cf65ba9c4a2311ec3b588cbab6baf2b5db78771eef2bb430829a0d42f27ddecf2e787121fc9ffce3cadf25a75b034515c1ba8bdd4 SHA512 739451f9e602217319e5487c7fd5abc1f846a3bca186d28ebc42cee68a8bf0582d1b6c2497d51dc5ddcdd609df4a158fbd49404cb79b9d3f6ed68ebefb40f158 -EBUILD libtorrent-rasterbar-2.0.5-r1.ebuild 1937 BLAKE2B e0a286c3fc5ac40afe37f0d3abcee859c9c8f501c2d8fb7d95870890e333cde3b023e60094b666fd6ea3cae98ea290c416b073bda17d2cd5cc200755f08c0ea1 SHA512 38540eaaac6e50bebf427034b97a0ef68def045887afcfdb8d74ffb0ed1dee16d0c267965cf39562fa6ef867c887c99d016ebbad0afb4cf72dac152ea037b61a -EBUILD libtorrent-rasterbar-2.0.5.ebuild 1900 BLAKE2B feff92efd3d7275eff8326267d939f07d162faedeb495ba7c9013b21e6e6538a83ecde6860ecbebc28c9f28f33f227788014f5f6cc55d8e9b9ffa831981c73ee SHA512 998da1f5a71d98ee8190adf6483371bfd3943c2da5f5577843111e9a70aacba3aeb612e568e80abdc2d050ea76a240c8f344bc4843dc7c7004362a6267e2d8a0 -EBUILD libtorrent-rasterbar-2.0.6.ebuild 1852 BLAKE2B eef159dbf0edb79344f020fb3b2538080b9292a2edb72debbd8332c30f23d7ce0c0a31d964d9de903abf3cd5671d6285269f1c884efb49c2ffd431efa4041c93 SHA512 cf82aeb4f9ccf827652ec1a7aed81d431efdf0d792567c7cf37f8f9162eb52e83868c3f721e47a09f43e6acc8c49e15bdf84a615b7957322e7bc48be48f8f073 +EBUILD libtorrent-rasterbar-2.0.6.ebuild 1850 BLAKE2B 2b4fe24bef99ac335a888f653d4d2402e0cfeb919704931186354bb37fd29898b795672759e2811fc9035d7973d59b6fd9fce722aabe2f64bf458c7a1b799bb7 SHA512 28ce23d78b2f0bf91b4be1c21433971e47c1805feec0b9f0dd28eab906d30ee00495e1fa601e14fc291b89874bf16ab0afa29d57ea4e924b178720f264174e9f MISC metadata.xml 638 BLAKE2B e4ea9381097b54924059f7682aead071561015a3842a6089927840ce24fdac16101cce2c57e01431800c1e471c34117038d10a8b82d70aaed555573a9d4d03d6 SHA512 49f5bd5348f054bec0a2646f96803ab6d2dcf6a0b0f32c9ccfb05a7055012a40703b1e9ddf912827c9197ab1a740fd41b98cd7e993f5f30633686e5b102bdec2 diff --git a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch deleted file mode 100644 index 5c4e90ff852d..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://github.com/arvidn/libtorrent/pull/6547 - -From 61ebb3317b1f8a63fcf4d018a21dac6818ea21cf Mon Sep 17 00:00:00 2001 -From: Sam James <sam@gentoo.org> -Date: Sun, 31 Oct 2021 09:16:46 +0000 -Subject: [PATCH] Add missing include for get_ssl_category - -error::get_ssl_category is defined in boost/asio/ssl/error.hpp, so -include it when we're building with SSL support. - -Bug: https://bugs.gentoo.org/820836 - ---- - bindings/python/src/error_code.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/bindings/python/src/error_code.cpp b/bindings/python/src/error_code.cpp -index 2fc5f42..b947119 100644 ---- a/bindings/python/src/error_code.cpp -+++ b/bindings/python/src/error_code.cpp -@@ -49,6 +49,7 @@ namespace boost - - #include <boost/asio/error.hpp> - #if TORRENT_USE_SSL -+#include <boost/asio/ssl/error.hpp> - #include <libtorrent/ssl.hpp> - #endif - #if TORRENT_USE_I2P --- -2.33.1 - 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 deleted file mode 100644 index a3cdd811e2a3..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch +++ /dev/null @@ -1,59 +0,0 @@ -https://github.com/paullouisageneau/boost-asio-gnutls/commit/895105972e5a9318d572b147c1872f64d23e2a8e -https://bugs.gentoo.org/820836 -https://github.com/arvidn/libtorrent/pull/6546 - -From 895105972e5a9318d572b147c1872f64d23e2a8e Mon Sep 17 00:00:00 2001 -From: Shantanu Singh <shsi@microsoft.com> -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 <typename NextLayer> 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 <typename NextLayer> 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 <typename NextLayer> 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 <typename NextLayer> class stream : public stream_base - else - next_layer.async_wait( - next_layer_type::wait_read, -- std::bind(&impl::handle_read, this->shared_from_this(), _1)); -+ std::bind(&impl::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(&impl::handle_write, this->shared_from_this(), _1)); -+ std::bind(&impl::handle_write, this->shared_from_this(), std::placeholders::_1)); - } - } - - 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 deleted file mode 100644 index b39f62614b2a..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.77.patch +++ /dev/null @@ -1,37 +0,0 @@ -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 <arvid@libtorrent.org> -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/files/libtorrent-rasterbar-2.0.4-python-symbols.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch deleted file mode 100644 index 109a6490af23..000000000000 --- a/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/arvidn/libtorrent/commit/f2eefd327f1ca89b053eb1e5f4ed229efe52e47f -https://bugs.gentoo.org/820518 - -From: Nick Korotysh <kolchaprogrammer@list.ru> -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/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..000000000000 --- 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 <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 diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild deleted file mode 100644 index 2ee9d2642511..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) -PYTHON_REQ_USE="threads(+)" -DISTUTILS_OPTIONAL=true -DISTUTILS_IN_SOURCE_BUILD=true - -inherit autotools distutils-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/archive/v${PV}.tar.gz -> libtorrent-${PV}.tar.gz" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="debug +dht doc examples python +ssl static-libs test" - -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="!test? ( test )" - -S="${WORKDIR}/libtorrent-${PV}" - -RDEPEND=" - dev-libs/boost:=[threads(+)] - virtual/libiconv - examples? ( !net-p2p/mldonkey ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - ssl? ( - dev-libs/openssl:0= - ) -" -DEPEND="${RDEPEND}" -BDEPEND="sys-devel/libtool - python? ( dev-python/setuptools[${PYTHON_USEDEP}] )" - -src_prepare() { - mkdir -p "${S}"/build-aux || die - touch "${S}"/build-aux/config.rpath || die - eautoreconf - - default - - # bug 578026 - # prepend -L${S}/... to ensure bindings link against the lib we just built - sed -i -e "s|^|-L${S}/src/.libs |" bindings/python/link_flags.in || die - - # prepend -I${S}/... to ensure bindings use the right headers - sed -i -e "s|^|-I${S}/src/include |" bindings/python/compile_flags.in || die - - use python && distutils-r1_src_prepare -} - -src_configure() { - - local myeconfargs=( - $(use_enable debug) - $(use_enable debug export-all) - $(use_enable debug logging) - $(use_enable dht) - $(use_enable examples) - $(use_enable ssl encryption) - $(use_enable static-libs static) - $(use_enable test tests) - --with-boost="${ESYSROOT}/usr" - # Needed because of bug #767835 - --with-boost-libdir="${ESYSROOT}/usr/$(get_libdir)" - --with-libiconv - --enable-logging - ) - econf "${myeconfargs[@]}" - - if use python; then - python_configure() { - econf "${myeconfargs[@]}" \ - --enable-python-binding \ - --with-boost-python="boost_${EPYTHON/./}" - } - distutils-r1_src_configure - fi -} - -src_compile() { - default - - python_compile() { - cd "${BUILD_DIR}/../bindings/python" || die - distutils-r1_python_compile - } - use python && distutils-r1_src_compile -} - -src_install() { - use doc && HTML_DOCS+=( "${S}"/docs ) - - default - - python_install() { - cd "${BUILD_DIR}/../bindings/python" || die - distutils-r1_python_install - } - use python && distutils-r1_src_install - - find "${D}" -name '*.la' -delete || die -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild deleted file mode 100644 index 94e0b8f3d964..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.15-r1.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/10" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="+dht debug python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild deleted file mode 100644 index 4d585c2e540c..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild +++ /dev/null @@ -1,89 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{3_8,3_9} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" -# Should be able to drop on next bump! -SRC_URI+=" test? ( https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-ssl-tests-certs.patch.bz2 )" - -LICENSE="BSD" -SLOT="0/2.0" -KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~sparc x86" -IUSE="+dht debug gnutls python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:= ) - ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -PATCHES=( - "${FILESDIR}"/${PN}-2.0.4-boost-1.76.patch - "${FILESDIR}"/${P}-boost-1.77.patch - "${FILESDIR}"/${P}-python-symbols.patch - "${FILESDIR}"/${PN}-2.0.4-asio-ssl-error.patch -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - use test && eapply "${WORKDIR}"/${P}-ssl-tests-certs.patch - - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=14 - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dgnutls=$(usex gnutls ON OFF) - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5-r1.ebuild deleted file mode 100644 index f1f8aea0e527..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/2.0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" -# gnutls removed because totally broken with at least Python bindings: bug #830846 -# (they expect openssl?) -IUSE="+dht debug python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -PATCHES=( - "${FILESDIR}/${P}-boost-1.78.patch" -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=17 - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dgnutls=OFF - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild deleted file mode 100644 index 03981e30ef77..000000000000 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.5.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 2021-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{8,9,10} ) - -inherit cmake python-single-r1 - -DESCRIPTION="C++ BitTorrent implementation focusing on efficiency and scalability" -HOMEPAGE="https://libtorrent.org/ https://github.com/arvidn/libtorrent" -SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0/2.0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" -IUSE="+dht debug gnutls python ssl test" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/boost:=[threads(+)] - python? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-libs/boost[python,${PYTHON_USEDEP}] - ') - ) - ssl? ( - gnutls? ( net-libs/gnutls:= ) - !gnutls? ( dev-libs/openssl:= ) - ) -" -RDEPEND="${DEPEND}" -BDEPEND="python? ( - $(python_gen_cond_dep ' - dev-python/setuptools[${PYTHON_USEDEP}] - ') - )" - -PATCHES=( - "${FILESDIR}/${P}-boost-1.78.patch" -) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_CXX_STANDARD=17 - -DBUILD_SHARED_LIBS=ON - -Dbuild_examples=OFF - -Ddht=$(usex dht ON OFF) - -Dencryption=$(usex ssl ON OFF) - -Dgnutls=$(usex gnutls ON OFF) - -Dlogging=$(usex debug ON OFF) - -Dpython-bindings=$(usex python ON OFF) - -Dbuild_tests=$(usex test ON OFF) - ) - - # We need to drop the . from the Python version to satisfy Boost's - # FindBoost.cmake module, bug #793038. - use python && mycmakeargs+=( -Dboost-python-module-name="${EPYTHON/./}" ) - - cmake_src_configure -} - -src_test() { - local myctestargs=( - # Needs running UPnP server - -E "test_upnp" - ) - - # Checked out Fedora's test workarounds for inspiration - # https://src.fedoraproject.org/rpms/rb_libtorrent/blob/rawhide/f/rb_libtorrent.spec#_120 - LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" cmake_src_test -} diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild index f2ff6a9b6288..4bbf40a4c2ba 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.6.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/arvidn/libtorrent/releases/download/v${PV}/${P}.tar. LICENSE="BSD" SLOT="0/2.0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86" IUSE="+dht debug gnutls python ssl test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RESTRICT="!test? ( test )" |