From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D6141581FD for ; Sat, 06 Sep 2025 14:34:38 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 93090340EA7 for ; Sat, 06 Sep 2025 14:34:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 4CD61110573; Sat, 06 Sep 2025 14:34:20 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 38E25110571 for ; Sat, 06 Sep 2025 14:34:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6722C340E69 for ; Sat, 06 Sep 2025 14:34:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E626538C4 for ; Sat, 06 Sep 2025 14:34:17 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1757169168.32b37af29d405bae95612f327d30f2aea10a90b5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtorrent/Manifest net-libs/libtorrent/libtorrent-0.15.7.ebuild X-VCS-Directories: net-libs/libtorrent/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 32b37af29d405bae95612f327d30f2aea10a90b5 X-VCS-Branch: master Date: Sat, 06 Sep 2025 14:34:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a059f971-d114-4552-a6b9-4b3d12212843 X-Archives-Hash: af23eb1fc0fbce8f5217e8caf817e4c8 commit: 32b37af29d405bae95612f327d30f2aea10a90b5 Author: Nicolas PARLANT parhuet fr> AuthorDate: Fri Sep 5 21:04:55 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 6 14:32:48 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32b37af2 net-libs/libtorrent: add 0.15.7 bugfix release remove explicitly bash. This was a workaround for old solaris system. build is ok with ksh, dash, bash remove test for instrumentation, code has been reworked since 0.15.0 use sed-op to unbundle udns, more resilient. 3rd lib is removed so building will fail if sed does nothing Signed-off-by: Nicolas PARLANT parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43457 Signed-off-by: Sam James gentoo.org> net-libs/libtorrent/Manifest | 1 + net-libs/libtorrent/libtorrent-0.15.7.ebuild | 69 ++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/net-libs/libtorrent/Manifest b/net-libs/libtorrent/Manifest index 49081bf4cf4d..2b8d44c40dcb 100644 --- a/net-libs/libtorrent/Manifest +++ b/net-libs/libtorrent/Manifest @@ -1,3 +1,4 @@ DIST libtorrent-0.13.8.tar.gz 834027 BLAKE2B 374f33af52a45c244182d36bacd6b42eea9edc179e42fb40f4170a47a0cdd39cfb3f42f82fc26ab36718afb9a28a8dd72ca139b3646bbc1c2887444905438cdd SHA512 417177df5b27cd8c6a6317063b0846da2690de4633836466728605c2edad2de407d29d321cc481b8d1352dd0ff6dd89f4566a830424a8cf986f2fddb04704da4 DIST libtorrent-0.15.1.tar.gz 805722 BLAKE2B 7b4b9aba8133a2a20a5dd39d451c9478c44f133ae3b5929b79cbd25fb0754b4bc64291a75da898ed335a808b992d67ffa7a3a431420da7073d2fb3c927109649 SHA512 e7d607fc3e31e2d6f4643c6760a271324a4f8f102e07228aca13427073426a393b12006329206fa14108d93c2f378a8db3761b0e14ff3ae391551777b4b04a6a DIST libtorrent-0.15.5.tar.gz 870807 BLAKE2B f59677fa39086a01ceb4b982b3328990e6eea72473a2eb4d8df7cbf23e289ec8c75ff3022ff373bdde441d7dc73fcdf9f2e314a580edaf14811d33f53ca5b52a SHA512 78444410b76f81e4f230d7e64ce187d24be027ae456d5082253970f85f7c1ade9d988073ba213427deae81d766abc3eebe7a48d7cd28a1cd3c2c597737deb599 +DIST libtorrent-0.15.7.tar.gz 872380 BLAKE2B 58188897a04a749b6d6e201c6da460952aff5e55231131dc29bd0a008cde0e5a39a1bc8eaaf90a7aa3ae160b2c961d40ba1de42f800f46871d835670746ef0b8 SHA512 53f8904f267b1fbfb9aa52ae5ec8740fee23ff3d3e3b115b4937aec3f27a233d0d11d9c56c4fbbad0078f66920759c23ae5e70c8e2129b05aff597735d0ba4ec diff --git a/net-libs/libtorrent/libtorrent-0.15.7.ebuild b/net-libs/libtorrent/libtorrent-0.15.7.ebuild new file mode 100644 index 000000000000..8876719ce9be --- /dev/null +++ b/net-libs/libtorrent/libtorrent-0.15.7.ebuild @@ -0,0 +1,69 @@ +# 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 + sys-libs/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"@@' \ + -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 +}