net-libs/libtorrent: Bump to 0.16.4

bugfix release w/ improvements to IPv4/6 handling

Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44491
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nicolas PARLANT
2025-11-26 02:21:22 +00:00
committed by Sam James
parent 678e5ef4ae
commit e382ea79e8
2 changed files with 71 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@ DIST libtorrent-0.15.1.tar.gz 805722 BLAKE2B 7b4b9aba8133a2a20a5dd39d451c9478c44
DIST libtorrent-0.15.5.tar.gz 870807 BLAKE2B f59677fa39086a01ceb4b982b3328990e6eea72473a2eb4d8df7cbf23e289ec8c75ff3022ff373bdde441d7dc73fcdf9f2e314a580edaf14811d33f53ca5b52a SHA512 78444410b76f81e4f230d7e64ce187d24be027ae456d5082253970f85f7c1ade9d988073ba213427deae81d766abc3eebe7a48d7cd28a1cd3c2c597737deb599
DIST libtorrent-0.15.7.tar.gz 872380 BLAKE2B 58188897a04a749b6d6e201c6da460952aff5e55231131dc29bd0a008cde0e5a39a1bc8eaaf90a7aa3ae160b2c961d40ba1de42f800f46871d835670746ef0b8 SHA512 53f8904f267b1fbfb9aa52ae5ec8740fee23ff3d3e3b115b4937aec3f27a233d0d11d9c56c4fbbad0078f66920759c23ae5e70c8e2129b05aff597735d0ba4ec
DIST libtorrent-0.16.1.tar.gz 888505 BLAKE2B a1cf1bea8b9e073d8c0e1557439e14bf5b5d18a544989a66696dbcd3090d101a7af89ce409a4ce8073f6fef9093f6ff8a038aeed292c8f772fc5b62448bb80cb SHA512 45deffca02172546969c0ddc4cf59d3c967748f65fd94ceb8d8c75a6bbd593edbde1832c8630564c4da60eb6e4248ad57051d5fe3ce8a75d72a864a4ec691242
DIST libtorrent-0.16.4.tar.gz 887123 BLAKE2B a4df904ade208eb46bfced910586ac80d955f2425a9169108b198937821124d114b1636f49df51d9dfbe33809341c0feacff350340412478f621f2b6a1529ff1 SHA512 f01d405bbe208ea3b457fbc89411057d39bfa1fcf889f795a8f005d7b8c5bc152c9f5661487f4261f0fe70e016d0428ce5a36b1604aab6b2bb8ee4b495e4c1ec
@@ -0,0 +1,70 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="BitTorrent library written in C++ for *nix"
HOMEPAGE="https://rakshasa.github.io/rtorrent/"
if [[ ${PV} == *9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/rakshasa/${PN}.git"
else
SRC_URI="https://github.com/rakshasa/rtorrent/releases/download/v${PV}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
fi
LICENSE="GPL-2"
# The README says that the library ABI is not yet stable and dependencies on
# the library should be an explicit, syncronized version until the library
# has had more time to mature. Until it matures we should not include a soname
# subslot.
SLOT="0"
IUSE="debug test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-libs/openssl:=
net-libs/udns
net-misc/curl
virtual/zlib:=
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/pkgconfig
test? ( dev-util/cppunit )
"
src_prepare() {
default
# use system-udns
rm -r src/net/udns || die
sed -e 's@"net/udns/udns.h"@<udns.h>@' \
-e '\@^#include "net/udns/udns_.*.c"@d' \
-i src/net/udns_library.cc src/net/udns_library.h src/net/udns_resolver.cc || die
if [[ ${CHOST} != *-darwin* ]]; then
# syslibroot is only for macos, change to sysroot for others
sed -i 's/Wl,-syslibroot,/Wl,--sysroot,/' "${S}/scripts/common.m4" || die
fi
eautoreconf
}
src_configure() {
local myeconfargs=(
LIBS="-ludns"
--enable-aligned
$(use_enable debug)
--with-posix-fallocate
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -type f -name '*.la' -delete || die
}