diff options
Diffstat (limited to 'net-libs')
16 files changed, 214 insertions, 44 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 7490c29bab71..5a205bd39b25 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/ldns/Manifest b/net-libs/ldns/Manifest index 37dab7a29349..df04963cb225 100644 --- a/net-libs/ldns/Manifest +++ b/net-libs/ldns/Manifest @@ -1,5 +1,5 @@ AUX ldns-1.7.1-Makefile.patch 1020 BLAKE2B f49a397df95bfcc0ee2eba4cb3f7aa9202d8b940c04a7097c447356198b04f464f10ed5db98db99f4a34ce04ff6d450282306b855a97b72fdc3bbca24f1c0689 SHA512 3779f61e3f20d593843c5b429b7366b826380fe2fb17b74d76d85432189712e34323dad3a653bb45333740caf01d997025b72a96a58ec75cc2fae8c249108e9d DIST ldns-1.7.1.tar.gz 1244394 BLAKE2B 8f2d9c6e34c4f13924ce1531a5757c4a619fc31ebc5a0a3d4aaf43fcfc8b53e8f371984b1c60ab74f735a05a9ca0710fc29a40fffeaef66eb54395eb3a727a0d SHA512 e8f72a4ff4aa544acac5e7be9a8ba38c6b8d388bb26f9a0ed04c1a921622f8582cc8539beafc76a29187a55c94069b7c1875e77522e1a7e7bb3e297dd1e4c2b7 EBUILD ldns-1.7.1-r4.ebuild 2621 BLAKE2B 0585d412d07d38a2dd1744dbd539894c5a4e3d3391d5933464494420e1302cd7d935e39ae16d05bb12fcd9769cd2d1bd4ee15d2bf8e80132ab5ec95a83cd1b69 SHA512 26f81bb4f48a6c1f9f8ae7bf5fbcafc4fcddc1efbf14d34bfd0138cbb75449408731325bedc7179f093861e05696a518de3a7ad877cbf92c26110d3ed2a523d9 -EBUILD ldns-1.7.1-r5.ebuild 2621 BLAKE2B 5122c4d32dc3a182212f51930e387a76b3ef251d8d93ceb27b1fb29096fe05fc0af1076abce5e170f4d7354428d83e2588714ba2a6a3a6ba8f889823a77cee85 SHA512 869b3425ef7e2ad945da66ec760a9e29decbd94e5c03a370c0e5037e091bfbbc4d713537dd3c129d073c3fa7484dd847c7ebc3057f079ccb8faf0025b0344182 +EBUILD ldns-1.7.1-r5.ebuild 2619 BLAKE2B 1409064f86a26ec111c24cc6e77d719fb18ce522964f16710535f1b3ecc7afdadb2c2769dc836e2b13d74182282a88676513425159d4d14055190099f13ba258 SHA512 2da17642e790b55170b91ae4a199707b8a32586b5bc8da0dde2615082fb96d46cc767167571b19fa7098638370c0b769dd6307ae74486584753a580b5709c2f4 MISC metadata.xml 933 BLAKE2B 4382e8d75f379211e781a0309b483105cbdba740cbd473b29d6b892351d3a5d270487c759ba7a1f5bcad448222cb1c24ef8257cd089c54ce9df0523ff708888a SHA512 395c02c568874e3d22434431f5e72dd98a647455ec0587723cb447c4d5a2fb468256bb35aff2c74b8255203d21f4d844f5a4ad426037eeb907d67ffedeb6d74e diff --git a/net-libs/ldns/ldns-1.7.1-r5.ebuild b/net-libs/ldns/ldns-1.7.1-r5.ebuild index 234d02723d7d..222ef53fab5a 100644 --- a/net-libs/ldns/ldns-1.7.1-r5.ebuild +++ b/net-libs/ldns/ldns-1.7.1-r5.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0/3" -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" IUSE="+dane doc +ecdsa ed25519 ed448 gost python static-libs vim-syntax" # configure will die if ecdsa is enabled and ssl is not diff --git a/net-libs/libtelnet/Manifest b/net-libs/libtelnet/Manifest index 81914e006f74..e9c2557a2373 100644 --- a/net-libs/libtelnet/Manifest +++ b/net-libs/libtelnet/Manifest @@ -1,5 +1,5 @@ AUX libtelnet-9999-doc.patch 1317 BLAKE2B 07293a3658b80cccb147a75279ae7f6b9843101a0414233db33d8e4a2b6fd47283dd35a69942aff2f52775c359b5acf67f739434d5161ba13ed84eca62c95c45 SHA512 de7aef7504a3243fe01bcc11a78bc274f8662dc6fa472a1b6ab8fb84a1a518491d2343e4dd9817e6dbb0ba67fbd68406fd85ce4d1ae6e4e6469b3f71c3594d99 DIST libtelnet-0.23.tar.gz 241922 BLAKE2B 0436c3eb2085c0fc4262f30c86f634af33679a2381a54dbfe92e6f6196b825b100c9c35f78505191b7fea5360a16d9b960e35ff145cd177aaab50968b2fbe946 SHA512 da16a97d04bc6bb5959f431e0aaa03d08ac38e45ba870d7fe6161551ecfdbd5c37a2209cfb40a0f574e6ea0b5c2866c7461cc91d940d5bb5de09fe1584eeb780 -EBUILD libtelnet-0.23.ebuild 525 BLAKE2B b34c9786a5bbb01f4cdcf624affe9be4e869ca48bde96a94883f34edf15c5424799498a47da6f801c35b6273352197926d63467ca3274d5cbe3348f16f2b640f SHA512 73480b147a663b3a4ef29276ea3063dc74985f13f79f679cb40fb2ab71ed380cea4336a06bc021efa29fca4d5e6918f4c531b103de3d37c04ef43399ac6e4482 -EBUILD libtelnet-9999.ebuild 670 BLAKE2B b34ce45ad667eb5f3e545e498040148fda6160f06d6d98f983b32b389e358945fd2b145aea9a3cdb8d909ee82cdc389b8c440df33f86a5df24e75ba7f47b2eb8 SHA512 6b44868724045fd4df9157f86deeb84dfe06a1d08f5dcb3a0b524481129bb8ffba3d32f92913837486b4d6fe15df63ae2df09c51d46ba033cd62a4487840657a -MISC metadata.xml 353 BLAKE2B 30680fa4eb79173565e1190cd9e82d70a45c15ad051364cfd868d0bf8ab26f47d71787e345d12ea295acfd5a9395a7703c6097986580196cf4097e4865eda72c SHA512 e7c3f99ca00e1f8505d8d5f9f0ba15f17ed14bbe97b2534e3a2702263b294acec136bfa74319f6a4a62d4cf33e6f6aa68b067264cd3617e948484eb27bc74cd7 +EBUILD libtelnet-0.23-r1.ebuild 770 BLAKE2B 32f8e7e2b9130376b99788877971661fe11a029ff7b45ac3cd357a0b30d6e08badb5c679b950c826ae6384ab46193fe6491179f7f85052b7b249b199456bcb2b SHA512 5e0c4672195566f713f892ac04b0650b446c2c67ee21753c845c9f1021a8cf437ef4978a290c893d5c0e1564fe21f8b8e611de1a4504fa4031fb54353ca1a183 +EBUILD libtelnet-9999.ebuild 770 BLAKE2B 32f8e7e2b9130376b99788877971661fe11a029ff7b45ac3cd357a0b30d6e08badb5c679b950c826ae6384ab46193fe6491179f7f85052b7b249b199456bcb2b SHA512 5e0c4672195566f713f892ac04b0650b446c2c67ee21753c845c9f1021a8cf437ef4978a290c893d5c0e1564fe21f8b8e611de1a4504fa4031fb54353ca1a183 +MISC metadata.xml 467 BLAKE2B c5b25d5401e3d66331eb41fa429cd1dab9c53ee7a1307f4bd5783da5e6ea82f997243e41146bc1f3ae182213becff59e2dd4c8835768a8086d68c17da07105ec SHA512 37b8e0154e334a4661efaf28b11b8ef9f4ba05a6d874f7ad146f62db208294349659ce693d7ae9dcae0536f97f99444fd9d753eb56d3e233da39a2f9cd803f75 diff --git a/net-libs/libtelnet/libtelnet-0.23-r1.ebuild b/net-libs/libtelnet/libtelnet-0.23-r1.ebuild new file mode 100644 index 000000000000..bf00b8db2d1e --- /dev/null +++ b/net-libs/libtelnet/libtelnet-0.23-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git" + inherit git-r3 cmake +else + inherit autotools + SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library" +HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" + +LICENSE="public-domain" +SLOT="0" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + virtual/pkgconfig +" + +src_prepare() { + default + if [[ ${PV} = *9999 ]]; then + eapply "${FILESDIR}"/${P}-doc.patch + cmake_src_prepare + else + eautoreconf + fi +} diff --git a/net-libs/libtelnet/libtelnet-0.23.ebuild b/net-libs/libtelnet/libtelnet-0.23.ebuild deleted file mode 100644 index 9577f3cce082..000000000000 --- a/net-libs/libtelnet/libtelnet-0.23.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="Simple RFC-compliant TELNET implementation as a C library" -HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" -SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -src_prepare() { - default - eautoreconf -} - -src_install() { - default - find "${D}" -type f -name '*.a' -delete || die -} diff --git a/net-libs/libtelnet/libtelnet-9999.ebuild b/net-libs/libtelnet/libtelnet-9999.ebuild index 9edf0466d6a4..bf00b8db2d1e 100644 --- a/net-libs/libtelnet/libtelnet-9999.ebuild +++ b/net-libs/libtelnet/libtelnet-9999.ebuild @@ -1,14 +1,13 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -inherit cmake +EAPI=8 if [[ ${PV} == *9999 ]]; then - inherit git-r3 EGIT_REPO_URI="https://github.com/seanmiddleditch/libtelnet.git" + inherit git-r3 cmake else + inherit autotools SRC_URI="https://github.com/seanmiddleditch/libtelnet/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~x86" fi @@ -19,10 +18,19 @@ HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" LICENSE="public-domain" SLOT="0" -# needed unconditionally for man pages -BDEPEND="app-doc/doxygen" +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen + virtual/pkgconfig +" -PATCHES=( - # https://bugs.gentoo.org/737886 - "${FILESDIR}/${P}-doc.patch" -) +src_prepare() { + default + if [[ ${PV} = *9999 ]]; then + eapply "${FILESDIR}"/${P}-doc.patch + cmake_src_prepare + else + eautoreconf + fi +} diff --git a/net-libs/libtelnet/metadata.xml b/net-libs/libtelnet/metadata.xml index c89666cddbfa..4ad42fec77ea 100644 --- a/net-libs/libtelnet/metadata.xml +++ b/net-libs/libtelnet/metadata.xml @@ -5,6 +5,10 @@ <email>nativemad@gentoo.org</email> <name>Andreas Schuerch</name> </maintainer> + <maintainer type="person"> + <email>jsmolic@gentoo.org</email> + <name>Jakov Smolić</name> + </maintainer> <upstream> <remote-id type="github">seanmiddleditch/libtelnet</remote-id> </upstream> diff --git a/net-libs/libtorrent-rasterbar/Manifest b/net-libs/libtorrent-rasterbar/Manifest index 1843bc92bc00..8325b9ae5fe0 100644 --- a/net-libs/libtorrent-rasterbar/Manifest +++ b/net-libs/libtorrent-rasterbar/Manifest @@ -1,16 +1,20 @@ +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 DIST libtorrent-1.2.10.tar.gz 3586008 BLAKE2B 71971124930462feb5f5083fed38ccadcfd1a2aed0d000a06cd7e0898b40a1451722cd79fdf0b1da3477047b26c7f7e3c1f74086a141770a7d143c916e96b6bb SHA512 e6de939fb6527783695e0b6623ddbe27f85842a36c0899b93ea0284cb3c6f3d14b8c39e29316adb3bf9acac7804f38385cc06854a32df28e7f4f6839af9f382d DIST libtorrent-1.2.11.tar.gz 3591610 BLAKE2B fab5d780dc5e1a855b60326cefdca6bcfb7459d4d37429e1c475434ca6ca2f465ffb6188ff519f49f2612941fe4806152511400a1c6fe121ade3ed35c6f40a79 SHA512 d502286f67bf462f14169daafe12b94ca723598530c85360c3a4b3c73535202b63632036248fdecc942cb559e66e6a5cb5afa830dc78bbff72a6c9a330710b62 DIST libtorrent-1.2.12.tar.gz 3604064 BLAKE2B e0eb00aba90e3d5e3ba1bf3984e2eb606583007137288ccf93961185744ccc2a69922063a9004a2ebe627d7657c582eaee9f7ad2971de0dc41351bd59ed23953 SHA512 78be4c12e12f593154eda0960aaf9583fe27310e0223dbb21220400c5339744c9b2b11afa880fea30f77b4c0d07345937ff8a20d58d2d4ed7dcda84601380e20 DIST libtorrent-1.2.14.tar.gz 3614077 BLAKE2B 423cd0c467510e3b4d33485ea108912a90ef0d66746e6f912eeb07930e7091d1ce8e28953a48dab3bb03c6232a9e958be423d4563bd63c083ec1423c4753b3df SHA512 9ba7d8a271ecc7330ae9c794f3966a6d1677b9d2a02a24df8b6e63daa4d5c0a7ef88607a73b417247b4afc5195e46cd0ca75859358f9e50915af56b3ed19f322 DIST libtorrent-1.2.9.tar.gz 3584800 BLAKE2B 5160056e227a54992ca4e490ffe0088d080aa9bade7a76f55eac26a644bab720c39a70b90d94f465ec711893249a084d9f77fa496be770585094b9b3ea4a1cdd SHA512 c547d96470f6a89f22adc0f5579ffb98b877a46f0a163698c49f1de57f23af60a7b0d3c1ca482e3ed8d3e35124d14a1d16a53e455f4d69f347fcb33c6ded75a8 DIST libtorrent-rasterbar-1.2.6.tar.gz 3611015 BLAKE2B 39323c223927272a4eb9bb93ad70acd62165b9b3eb3f4f45cb76f99a23b1e131b526c8d8370fbd7cc30c7e776a5f9b7990c989ceaa3566272adc25df639fc5ba SHA512 9f03e28449b08e18a98a1f1bf0571f470c56fabd2becde5bde56ad566611c8519b0b387939f285a552d1f0382446633b67d00b6b5ff7083e4d1420a3ce9232fc +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 EBUILD libtorrent-rasterbar-1.2.10-r1.ebuild 2651 BLAKE2B 93f21eab92ee049b5d89735625e8cb82e6254bf9e1c22037369c6877f92b046746d1c65733132e6ac2c407bdea404dbba22414bc4467359c1c5de821e81dd723 SHA512 d328ecd9d59d26326c841d2638d917c4e67930285478ab337a417fcd9b4a760135b34924986868518398b24d88be99591b8c087b1e12131854f6512332c6fa34 EBUILD libtorrent-rasterbar-1.2.11-r1.ebuild 2675 BLAKE2B f3eca25e40c12852703a06522b6904d64ae7fcf71b42df5ef3c0d78c06c76898977a29fd51f4cffb60472526c8a99c4b145eca3fb5f02d31e3f7d7be2b647a2f SHA512 2ab394714973bf577cc5ef3d124a2d48dbdad8b9db0178755f53c34a8cc2b4f27d30dcc94f898e3df28c0f37b388836d64fb7beb0cd517c81cdecdcbaa6a9c33 EBUILD libtorrent-rasterbar-1.2.12-r1.ebuild 2677 BLAKE2B 83ead7b61a014810584e8880f0e6484aa795334f36aa3e46b71faac9036d9a0fa1fdd545bc6732339747f67b2aa7e3f85fba02f6d0662ae42f81df766bc9bc16 SHA512 395be1fc23c0f7eb88a2531ffdfea79b67f4a575ba97dc59f41e0f3cba7bc91defdbc1aeb0532356b5a13c82b540bb76a1ec37d91bbebcdad5694383a30db395 -EBUILD libtorrent-rasterbar-1.2.14-r1.ebuild 2500 BLAKE2B cb85780bdd9be5b8d39b76668ee1a9006e48ef37423516958781c6d6f93973b917b6eeadfcf0d8f412a52ad68c55a40ae7ab13169832e7d868bcb44488cea603 SHA512 3c61b8a27fef89ecf1a4c0eea850ddbb026a3c4f5496bbbae67973a36bd17ec3854f5b2cbc1dd2881981336ec9831a3cc683cd7f1ab66032c22e100017613cf7 +EBUILD libtorrent-rasterbar-1.2.14-r1.ebuild 2588 BLAKE2B 481eb4d68ffde21e9839f04b1102348923087540e50172d5c612aeced221f76e1b99d44b72fd81a7772ce74989c33928957d77c579f996e5de492769f16b54f1 SHA512 642425ba009fe39ad2c7bd87daf1bdd45020b4b69de99e4ab5031c09dd1f24518c41c74281d6cbda32b24684c60134ee66496dd8674ac221796e8e625b1ae529 EBUILD libtorrent-rasterbar-1.2.6-r1.ebuild 2440 BLAKE2B 0c36fbc1882e4f115de629bf842ac1f05378866db3a570e75e7bf2c5da99d663594c2893d7e914b5a8079668ba2f5c89b9c64cb91d93e1c1523cd37dd9eadb52 SHA512 87a88041183f8e5bf981ad19a941951c6341907f1396c0f1a1add6ce00337f57ccac51e0260bb1fcc5623386a990d6662af580242e5384ee270e51a5ba22075f EBUILD libtorrent-rasterbar-1.2.9-r1.ebuild 2651 BLAKE2B 93f21eab92ee049b5d89735625e8cb82e6254bf9e1c22037369c6877f92b046746d1c65733132e6ac2c407bdea404dbba22414bc4467359c1c5de821e81dd723 SHA512 d328ecd9d59d26326c841d2638d917c4e67930285478ab337a417fcd9b4a760135b34924986868518398b24d88be99591b8c087b1e12131854f6512332c6fa34 -EBUILD libtorrent-rasterbar-2.0.4-r3.ebuild 1606 BLAKE2B 0501f08f1163c2f80562d590f3d747a924f2cf7eca61cf04455c3377c33e5a5c9a7b50480ead3ee2f7ff74ca3da5643492e4bb3aa24667ae907da1d67e4a56c4 SHA512 72937fb3f2bc9e25089d9653061717caa8e2c409d80e26769e6d584c64bfce5e10bfd0a3ac12975df7457bc22154de56eb7c5691d8e9576bca9e1a41a79c9f64 +EBUILD libtorrent-rasterbar-2.0.4-r4.ebuild 2267 BLAKE2B 4bdb1808b6ede39a38591d1cf65ba9c4a2311ec3b588cbab6baf2b5db78771eef2bb430829a0d42f27ddecf2e787121fc9ffce3cadf25a75b034515c1ba8bdd4 SHA512 739451f9e602217319e5487c7fd5abc1f846a3bca186d28ebc42cee68a8bf0582d1b6c2497d51dc5ddcdd609df4a158fbd49404cb79b9d3f6ed68ebefb40f158 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 new file mode 100644 index 000000000000..5c4e90ff852d --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-asio-ssl-error.patch @@ -0,0 +1,31 @@ +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 new file mode 100644 index 000000000000..a3cdd811e2a3 --- /dev/null +++ b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-boost-1.76.patch @@ -0,0 +1,59 @@ +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-python-symbols.patch b/net-libs/libtorrent-rasterbar/files/libtorrent-rasterbar-2.0.4-python-symbols.patch new file mode 100644 index 000000000000..109a6490af23 --- /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 <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/libtorrent-rasterbar-1.2.14-r1.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild index a554e4fd27ca..2ee9d2642511 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-1.2.14-r1.ebuild @@ -70,6 +70,8 @@ src_configure() { $(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 ) 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 index 787c4093411b..4d585c2e540c 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 @@ -10,14 +10,16 @@ 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 )" -RESTRICT="!test? ( test ) test" # not yet fixed DEPEND=" dev-libs/boost:=[threads(+)] python? ( @@ -39,13 +41,22 @@ BDEPEND="python? ( )" 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 @@ -65,3 +76,14 @@ src_configure() { 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/miniupnpc/Manifest b/net-libs/miniupnpc/Manifest index 7a079981c45a..3a5b24a08033 100644 --- a/net-libs/miniupnpc/Manifest +++ b/net-libs/miniupnpc/Manifest @@ -7,5 +7,5 @@ DIST miniupnpc-2.2.3.tar.gz 101360 BLAKE2B d2a7f64d56be524c5c4aadfecd40da4e1ad04 DIST miniupnpc-2.2.3.tar.gz.sig 543 BLAKE2B d10bcb765e0d7a1eb68dc6269080b71535fced443e801a09677872bc498c866a02f22d851db963fb126331f28d2314542507713f514560d9d6eca2262287dc8b SHA512 636ad425b430629ee91b2755b543e9754aa88e243972f47839a2ad958757a12ff598f962e9328e5ad0fa3e0b2f895854c9cb3ca099048e7c132c8ce27806986e EBUILD miniupnpc-2.2.1.ebuild 1524 BLAKE2B 8b08e48755c0e7a0570630fa7303cdae350fd76b75c9e9db2f7be6afd201f98a080a23c0d5ee61f6681e7a457bd13a2508ec9c28c4e2dec59ad27f1430344830 SHA512 d19c2f2dd2a038cd5d14e4b25f53cf98ad72870bbc421d8329db942f10867b6230b2c43fb13f0affcb5e202fa47f302adab89d77b2b1d1ef2a715e12e3710462 EBUILD miniupnpc-2.2.2.ebuild 1531 BLAKE2B d96235e0df9e81ce6bd27acb4a5d392de6f24e4fad6ac294aff7f010210cb195bb45d250d1745500193fd6bf9e9a2eb017347f125e1af746379011e558e77f33 SHA512 75ee602e5778d5fb05d54bb5dc8c449b7c59bc55056ba2ba11474b40e4f3b8317de809a8e25280368314a24ea81d558762d25e3954cdb1fd30711b2a6193feee -EBUILD miniupnpc-2.2.3.ebuild 1536 BLAKE2B 2e1f7dfd1f0e70ab32ffdb55a7dbabdb995ee460d13e961be6b8672be250de26a1812149d892625a799eb8f7e9169bf9cd7fdfb773dceb55d1882a51924aab3a SHA512 afa26da736e6f21ea8e401a7eb6e8e299a1885876ffa95010ba76f7a57df6e254d137c0ce7557076da9d524d0bcefb21add84d68cd1f47b5e122ff6d4a677f86 +EBUILD miniupnpc-2.2.3.ebuild 1529 BLAKE2B dc0f5a32d653e800118ae23583303a3851954195fd77e30c397d26c865fa2f535bd0fec299bf8b294f901ba723cb4f05f559c089b7533020faed7a360b2dc776 SHA512 8289ba268fa3bbc859ede1bb06e0c23a6c222c70a021aa96e9fbd797f6d482496cde103b6194273b7767f38d97004a6441db52b926a2618453b5f2cd73e2b5eb MISC metadata.xml 244 BLAKE2B a3306e4b6476e267c2dd1f4e24a57bcba54d6ac43270610af57976f19046bb17d1f9afdeadf07407c045b9c66afe1c5b631e0955ff1346e49151e604717dc1be SHA512 b2b16db336068dd5e6c40f2721e1b1e8a6626954196287bf409082db21ff804375fd740a76c5d2ee6b4ec13abf25dfa3f941944a7b25eb332b90a1da9c740868 diff --git a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild index d7358d0677db..cac4fcb9fda7 100644 --- a/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild +++ b/net-libs/miniupnpc/miniupnpc-2.2.3.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz LICENSE="BSD" SLOT="0/17" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86" IUSE="ipv6 kernel_linux" RDEPEND="" |