summaryrefslogtreecommitdiff
path: root/net-p2p/transmission
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-06-12 00:08:13 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-06-12 00:08:13 +0100
commitf0ddcad13515f66d2f3bf827d33c277bdba7e1dd (patch)
tree3e1da8fa4626163bda62e9e8b6129867de5be46d /net-p2p/transmission
parent65ff3cc3bd9c3f8e718a67dfecf1f8215bf5d1d4 (diff)
gentoo auto-resync : 12:06:2024 - 00:08:13
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/Manifest3
-rw-r--r--net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch24
-rw-r--r--net-p2p/transmission/transmission-4.0.6-r2.ebuild (renamed from net-p2p/transmission/transmission-4.0.6-r1.ebuild)6
3 files changed, 31 insertions, 2 deletions
diff --git a/net-p2p/transmission/Manifest b/net-p2p/transmission/Manifest
index baaf7d2a789f..652fd2a690c6 100644
--- a/net-p2p/transmission/Manifest
+++ b/net-p2p/transmission/Manifest
@@ -1,4 +1,5 @@
AUX 60-transmission.conf 56 BLAKE2B 4c2aadb19b4c85ce8ecec4f190f83da81a8b9e27f02cb20b785251122b5a495d1b3b7425378c4e17d3cda3c1c5b92c4297140dcfc3d4973dfbd1ac8e713245ca SHA512 9f79cfb00fa92e6d9054aad615f0ca7a1ad9d57b750e40b8942b7987a4a93d97b1f1ba9774a64f2b16e7c49fe7ae5fb4978d7aca3c481431ff333d508ed36410
+AUX transmission-4.0.6-miniupnpc-2.2.8.patch 1133 BLAKE2B a58de4615b9d4c3e98a7d854e08d7987f2e730e44ae2ec3216a25f2da4d300ef387d9d0081d481a19475466f85b5c544b0a232fce12d37ee5580389b639bdc12 SHA512 b8d8be199050261ba5dae7a9646cbb680e778fc61ea927561fb5a8020501050a27eeb205d1c092c7f3ba808f456e1f88b02b8ceb6af36e4d47198a130107c622
AUX transmission-daemon.confd.4 735 BLAKE2B bc4c06dcf4a12282d36d446537ae8d3a461a9bb84f93b54f7d13be1c430209647bae89054b60f5d8dd434049140f74c1cb4ad04064d03b37ad88a851c28c07fa SHA512 47e78c85857eefb9be6c25d1e789cfb2a276d5816ba911ba1511e764469b2d9998edafe44247aff784113ca28926748bc5fb2b879280b780fd69ffb1e4e40736
AUX transmission-daemon.initd.10 1707 BLAKE2B 57857fa0b628f0c49ebaf13544b366bf9db39c70f31556a21262556ad89657a7f13c84e19f882839e4bc10f2b8afef96aa51f833478e38f215499244ca8b388b SHA512 30d9fe7d06ca3c92ff436e9bbe84729a5b343b52965f8d1d3d43f14f5fa25881dbc9676c5d3d916cff552aad5872ed41c2930e9ce3a5f7c958dbeec0d1ab1ac4
AUX transmission-daemon.service.conf 69 BLAKE2B 6e38a28f54366850ae794896f2954c3af77afead303197c49970873fa604d6b375e71122de8d3645f9fcc8abed4f696ac257bd59ba87ebdc5cdd5839d32c0a7b SHA512 3dc02be596296fc1efbf1bc690be3953709af00c230f55db4d067ff592d87e1a465faa4067bc15d65a8a27fed2cf07d108abb2ed45fc76b47b0642ce2e182946
@@ -6,6 +7,6 @@ AUX transmission-daemon.tmpfiles 55 BLAKE2B 0f7200295e1faa22bc598e080d4c1583c5cc
DIST transmission-4.0.5.tar.xz 9745756 BLAKE2B 60caa3bc615137b225d3ac3f25daa352c6960fcc848c91e5ea45488ae109d93b53e314e4683bd7c4ef3f9b2f364d796b6c5bb014ca647d3f44fb5c9df9f8c997 SHA512 9d3df965929ba18aa8186f89060aeacc8ead3df4a5acdc74a005dc62deadc5fa239af99c49ca2477cc5c1adfcd834481105f1dbc94e0efe210e9e6680bfec124
DIST transmission-4.0.6.tar.xz 11908296 BLAKE2B 3eb1d851322299cb1b79c799f431c09db5aee1be0372fa2877e16508ca6f9e78ea42ed75520ab29a3325e62efcfca63a83559db73c39c981c9e2eddb403ef65a SHA512 d11654bd5174a990d8021fde890389bc7c073f63f80e1335bb2c250aff60f06d0b6481fb041ae4fdccd1c43278c71ddc36f692d7dda3ed2a1aaa9bd1bbc2cb0c
EBUILD transmission-4.0.5-r1.ebuild 3830 BLAKE2B 972f36affb1d5fd1705f33d85986a1f27cdd3ab45da2fe548841ef720005991badd445249a15bf37b048b02573fdbfb9c85a5345150ecd4c723733af8fc4b3ed SHA512 becd5c02266abbe6675659284ff5e3d4cd49ddffe661e6866752e8b4fbd4c1f1d039d4723edd0dc624036216ad7a8c036e6e2461d4988949bb55cddb6c876998
-EBUILD transmission-4.0.6-r1.ebuild 3834 BLAKE2B 64d4c70f22fb5d7df5ca66e5e68deeb708f54e23cb4f8d75034932bc266d1f3d2f6f8d15c1f8f45c2fd3cbb1d020dbd096d46e7a4ce5c603984fc4244cd1912b SHA512 3390879c6dc1670aa4983c326864c23acb777815bdd3b781648bda1df44799b927b5821fc4ce75d63eed7d65497cac8ca160a045ffbd2c69bc780e9db91914cd
+EBUILD transmission-4.0.6-r2.ebuild 3896 BLAKE2B 7029277a31b2280e1b653399eb9dc019d30da1bf0f3e9d4f4787a0fba4939c2fe182fcc64825c693693437b9c23f94af4f379a58acead2fa5793befc5fd0e1dd SHA512 b1683b5975125813900287132281780e5f33e3b227ed85db6c1a993d76d534dc5f64a7768d22f1d9f62b8e884946ca0b1c1a1fdf2fb338ed3bd227afb1b90bf3
EBUILD transmission-9999.ebuild 3833 BLAKE2B 22cb14a194626d12f08a6761b7262e4e3acd68b810aba347f1ee936fa6b28dcea1aac3a273be0c619e8a7b39ae6716ba7b658444f2cf0256e449ca3c8f78b60d SHA512 042664e8261e90eb8db24b127415bcd432843e19ddae19d700763e640fb0cafd67a4fbc4e55fdf4013bdccd781ebf328e4e1d3c1ef0e6b99ff059e8b41d1abd1
MISC metadata.xml 621 BLAKE2B 89797292aad810a155e4f0831c089f83a2058ed5fe3bb02c6462c50c5b4e1a534b747410f52d43d4c9f9946ef95ea514c9ee6bc55ef36015c2fdf3e1a9f2e50b SHA512 67d95f7b65da7422dd3153a945f15c59a7d57fa3da222f1ac147503a07c74e81fcbd0bc294a8fdb1ac42000ae25524afd7681b770479eb6ba4bbfb26dcd25908
diff --git a/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch b/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch
new file mode 100644
index 000000000000..e1f9c2e36b8d
--- /dev/null
+++ b/net-p2p/transmission/files/transmission-4.0.6-miniupnpc-2.2.8.patch
@@ -0,0 +1,24 @@
+https://bugs.gentoo.org/934016
+https://github.com/transmission/transmission/pull/6907
+
+From 3523b928c8c968d0b7bca2c6c3a84a939e908f8c Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?C=C5=93ur?= <coeur@gmx.fr>
+Date: Mon, 10 Jun 2024 22:16:06 +0800
+Subject: [PATCH] bump miniupnpc to 2.2.8
+
+diff --git a/libtransmission/port-forwarding-upnp.cc b/libtransmission/port-forwarding-upnp.cc
+index 6d7bbc7f7c2..d805bc18218 100644
+--- a/libtransmission/port-forwarding-upnp.cc
++++ b/libtransmission/port-forwarding-upnp.cc
+@@ -261,7 +261,11 @@ tr_port_forwarding_state tr_upnpPulse(
+
+ FreeUPNPUrls(&handle->urls);
+ auto lanaddr = std::array<char, TR_ADDRSTRLEN>{};
++#if (MINIUPNPC_API_VERSION >= 18)
++ if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1, NULL, 0) ==
++#else
+ if (UPNP_GetValidIGD(devlist, &handle->urls, &handle->data, std::data(lanaddr), std::size(lanaddr) - 1) ==
++#endif
+ UPNP_IGD_VALID_CONNECTED)
+ {
+ tr_logAddInfo(fmt::format(_("Found Internet Gateway Device '{url}'"), fmt::arg("url", handle->urls.controlURL)));
diff --git a/net-p2p/transmission/transmission-4.0.6-r1.ebuild b/net-p2p/transmission/transmission-4.0.6-r2.ebuild
index de67e505ed49..b30c5a0934af 100644
--- a/net-p2p/transmission/transmission-4.0.6-r1.ebuild
+++ b/net-p2p/transmission/transmission-4.0.6-r2.ebuild
@@ -46,7 +46,7 @@ COMMON_DEPEND="
mbedtls? ( net-libs/mbedtls:0= )
net-libs/libnatpmp
>=net-libs/libpsl-0.21.1
- <net-libs/miniupnpc-2.2.8:=
+ net-libs/miniupnpc:=
>=net-misc/curl-7.28.0[ssl]
sys-libs/zlib:=
nls? ( virtual/libintl )
@@ -76,6 +76,10 @@ RDEPEND="${COMMON_DEPEND}
${ACCT_DEPEND}
"
+PATCHES=(
+ "${FILESDIR}/transmission-4.0.6-miniupnpc-2.2.8.patch"
+)
+
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_DOCDIR=share/doc/${PF}