summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-09 03:03:12 +0000
commit2be329ae14bbf99f0fc4de7567e2386bbb529fdc (patch)
tree99e1d21f40429392d5eb255ec008fdd96e4fa284 /net-p2p
parent2cd9ff612e84f0c1ef63c9e9e13be53fe576cc2b (diff)
gentoo auto-resync : 09:11:2024 - 03:03:12
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6757 -> 6760 bytes
-rw-r--r--net-p2p/biglybt/Manifest2
-rw-r--r--net-p2p/biglybt/metadata.xml6
-rw-r--r--net-p2p/rtorrent/Manifest3
-rw-r--r--net-p2p/rtorrent/files/rtorrent-0.10.0-scgi-software-crash.patch32
-rw-r--r--net-p2p/rtorrent/rtorrent-0.10.0.ebuild76
6 files changed, 116 insertions, 3 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 6913c1d44b69..5979c9301cba 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/biglybt/Manifest b/net-p2p/biglybt/Manifest
index b3a324088116..a7b0ac6a7b14 100644
--- a/net-p2p/biglybt/Manifest
+++ b/net-p2p/biglybt/Manifest
@@ -7,4 +7,4 @@ DIST biglybt-3.6.0.0.tar.gz 43972902 BLAKE2B 76995d3d5f24f054690e609d2be7bd822f6
DIST biglybt-3.7.0.0.tar.gz 44021778 BLAKE2B 9ce54062b298d2e47f9fcc88a3fa8da935c7d3c4ad24f28cf2975300b78140b547e3e43c377cae50fd1276d49d53a43bc77e36957133dc6fe1fa7e301ebe80fe SHA512 815ce2f2b327de266650d9650dcbc539247dca2a8bce727ca0a4fc6eb7dfbcee770ffce04dd3b96aef458df1ee20ce39229f6a3d409725a532d081c82d4504bd
EBUILD biglybt-3.6.0.0-r3.ebuild 3072 BLAKE2B 0ec4692ea5073d5fb19abf3c2d67645e70a96d97ac345f0916be33718bac21e54440aba0c43a2b2dad1569f859555f2ab25281cf370b30191a6d1fa71e886ced SHA512 7f54629997baf7b75923e7b642df95518ccbc9894cc7fce6421e4476f2ac63da000aaedb980e6cbfc90f32da2202acec87b9af1271bef9371811d50212d2fa70
EBUILD biglybt-3.7.0.0.ebuild 3468 BLAKE2B 50eb1ce3b2ebfe8294a0ab78ae90abc4ea4c51348367ca739675cdfc7fb8d5f9e52f0680b414044052020a7a3e5490c68e3db8a9afa5b2eb180d377b43ff7795 SHA512 bff0370ff5ffb206ad72ac99101a542b288a8635dd11b6772a24f55dcac00ca0fa47c24bc232d8bb29effe54cb4106cbfbe4e38450a073643a0719e989fb420c
-MISC metadata.xml 904 BLAKE2B fd6313faad9aa5140a1110c0fbb53fb5b220e33cdf8c0c59d8a96ed6b424d67cb1922537543b0c7bfdf6fdced2d9273b963db5e7126b0f9d9c61404d4774ea60 SHA512 5106049f93d633214a67dfa9bc52d721911bd7c7c08f36dc8dd2cc052121929c0d95483138685877a6cbbe152be58ec8165320b06a3f1bd78f9f625af2d55c1b
+MISC metadata.xml 1037 BLAKE2B 94d91f9e0d91ba78bcbdf28871607f962f545850d100143f13b494a8326f4b6a2f275eafeede9965b06f6a2bf08129d6061eae843d73a37786bbd5cb94dca20c SHA512 df94d8b3acd4e6e801eee6243f22b0f01d782ee904b28b34519f5cab39ddde0acf676be1e975e24f19d5f3cffd833be6c7b0a5342c17dd6b8841d1b85a452b39
diff --git a/net-p2p/biglybt/metadata.xml b/net-p2p/biglybt/metadata.xml
index f232be2ae7c6..dde62ca5ee3e 100644
--- a/net-p2p/biglybt/metadata.xml
+++ b/net-p2p/biglybt/metadata.xml
@@ -9,11 +9,13 @@
It's killer feature is integration with I2P and TOR anonymyzing networks.
They are available as plugins or can be used with your local node using SOCKS.
- BiglyBT is the only client in acrive development that can work on clearnet and I2P simultaneously,
- cross-seeding the torrents and swarm-merging them.
+
+ BiglyBT and <pkg>net-p2p/qbittorrent</pkg> are two torrent clients in active development
+ that can work on clearnet and I2P simultaneously, cross-seeding the torrents and swarm-merging them.
</longdescription>
<upstream>
<bugs-to>https://github.com/BiglySoftware/BiglyBT/issues</bugs-to>
+ <changelog>https://github.com/BiglySoftware/BiglyBT/blob/master/ChangeLog.txt</changelog>
<doc>https://github.com/BiglySoftware/BiglyBT/wiki</doc>
<remote-id type="github">BiglySoftware/BiglyBT</remote-id>
</upstream>
diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest
index a9d57b1e54a8..ca22ea0aa871 100644
--- a/net-p2p/rtorrent/Manifest
+++ b/net-p2p/rtorrent/Manifest
@@ -1,10 +1,13 @@
+AUX rtorrent-0.10.0-scgi-software-crash.patch 1274 BLAKE2B 01b0e063f95bdd7778038e7a67f2f16ceb3c65378e810d850694ede842940ba2c68682d06f82a23e8b20fbf2a163a6e1164479d8f69ee6f438d7c9e9546139d0 SHA512 b1dc5db6d2615ff40172835d3c36b644115207c50e115387080023598a452de809601fb2c7d1c30e19d013618a46f5491a4e26dcef854158a0267f90aa959169
AUX rtorrent-0.9.8-bgo891995.patch 1012 BLAKE2B e8988349b9f0f9ed5b3d924e1f0d2f1e00336f59017e1d0a05a45a1bbae9489fbfcad4d6f74b92adff8729a5450b07be0f33174ca807582ac50fe0bf42ce78fa SHA512 2d1a4b63590e57389cfe0498d18a1a381f4cdf47988a440c83488acb2b8a2bc893336048c8cfbc4fbba1c10d60a42862748f10526276c7b1d83ae75320f0f1e2
AUX rtorrent-0.9.8-configure-c99.patch 1958 BLAKE2B 1cbcfc84005bdf44e8939c2c9b72655f1a492b3f6d94e14e76f00453109d275678949be52a29aee72d5125fe33ae96114ce7ce5280b6f7723767683faa50c49f SHA512 375e1e57d12659a34ad799f35c0f0bb5b6bd0edd01f927189b3bef3d3c2d93e72576775bb9c340299f18ee95def5ac3ad149fe5ece4293150b12673e70cfd6f9
AUX rtorrent-r1.init 342 BLAKE2B e51ee479fe4c839ea49f7b1085f33e60f42c64d9cd5915ee59b24ac042a8e86bafac59bc8dd24723b7506dd51b9442bc80163b94f45e4a70184e0571525d05a0 SHA512 f38d095b21a272c0197a8ebd9e4a33d9aa884207844c5303d0f4296fb561894ddf9683571ffd653e818578ef229e80f4a27fdf6d6ff70f53a6dedc45ee267bda
AUX rtorrent.1 18204 BLAKE2B 4e757f00d9a08978e09593e89b17fb7d7e4afe7f5064ed8bb7d9316f1450471ec42e006478df43eb2a7d4fdcea0445237b0e053f54bd1f4e8ad7db2878b628a1 SHA512 f2d3fb87fd7c321822ce9e61cc334682f9692e3f86b42cb3d7d5826dec53d56e631e20455e0ea1e53448c11386988a6e7a70a91ed2923f90852956ad3fdafcfe
AUX rtorrentd.conf 13 BLAKE2B 80db665e7f75c50c02134cced87847926d23ea256868fb6d1213faaa8be1879cbc69e72f006b49b33dc99c0a9dcace2db90c8917ca272554c348bd1e6293514c SHA512 f241452b812a1837660f9ad52881feacc02825e82ea7ac19acc662b4219dd58997ea908275b8c9ee78ed791babf79c1a91069dc6d5b5fb3c461e3026cdeab73f
AUX rtorrentd_at-r1.service 479 BLAKE2B 64e4099237eb14e311dc94ef4b1c5fdf6e724a1b3fd49c2ef2c3ebae33c3c0f91c6edc5ee835db5bec2424e92abfcbbc7922aa14c925e60c5e9d973b0105de01 SHA512 28b9aeaa07144413534ffbb3589a2e4e89f688da4c6d53d1e4a87e1c9618dabe1f39d2b42911d10b151963862df5b2a28a71557bfe08011806face28cea82d0b
+DIST rtorrent-0.10.0.tar.gz 402931 BLAKE2B 3e11dafeb54fd1435176829c1dc45a9d5ad3bcbfc22a5a3738f3767891adad351d41ae2b40a859ab1bee600250833edd43507558cfdb0fdc51c4381b7336bdb2 SHA512 9c1ca99cd84e5a0984cffd48e37c9f78f66e867cd4df9b1ba0d6060fe447e1c0dd0083328de699fa7011f2b6dd6a22ac569756f24fde074401d8d9a8a11eb636
DIST rtorrent-0.9.8.tar.gz 647523 BLAKE2B 3562ed03dee3baa4a702d20c7c91b9248d9de0f25d1f8cd182863101f293a0ef13cb49164e4d16b25e72a4fbe1cc1a2fbde176d3068c749edbcb2287ef260b2b SHA512 016685948d0290694ab9635ae218c7acd876e6d45bea1bdba3a29c545e64f5d824c5e2f6693a4c2e9200196177881d54f312d72e0a19742bd74a03bd19ca05c7
+EBUILD rtorrent-0.10.0.ebuild 2225 BLAKE2B fa67629eec352d25a0f27ab6256cfdf25c0f74a03d4e0735e9c80777e6e04205de786fd9806c8305d21c5e24f3baa594d07e4d67bc431c9ed6aa300e0e7adb9d SHA512 fc0fb96eeef97713bdb187cb76dd832304fdbca5b5433294e23e53be011149c5519561054feced830ca4dbe8204e5302291021ee9c82c1baf42a93cc74af4ef6
EBUILD rtorrent-0.9.8-r1.ebuild 1881 BLAKE2B bfac53a2a4ecc4441258d16d97d5830a8f901b9a4fc4f452d97654cfe92e7f1d05e8c19e776d7ccb908e73b38a0281eda27e9632bc1fd0413221e70af9918211 SHA512 837fb9bd4b42cb17769200eb789b503fd3bd330d748180adfea2b6a54c0200ddcb35a5f13492f96962f13dc8afa1945723651ea840be48b6a40141547fe6766d
EBUILD rtorrent-0.9.8-r2.ebuild 2055 BLAKE2B 0f0bc11a81811fa0f0fcc343b245204866eca76f9fb1bea87b4af430fd2b9e563b0477150eed9d56c3f6428c0ad04b8b7b0d25ba041e274b39913d6b27c5c2fc SHA512 69950be7a0b54d858959b7f87b113b63661044597b3ae6428d1477c5ffab5b96ae4d3737d5c53f4b2a8b398d3ff154937ceaa7f2bf4c6a1fab587b850f6cf532
EBUILD rtorrent-0.9.8-r3.ebuild 2096 BLAKE2B 3044c1b5618f7ed1d98aabfe05970337734ff470ae05c7e3fcc1d286ff36b8da1122591d6930493c961236711e06b708a177dfe825c3c4505fde15ddd53e48a5 SHA512 654f32e1876250500d4cab162e5fa9eaafdc2b9154269d1f81e9b9d6b729285b5e88004da99d4b151504b88ddb5d3b41c834d3138b89ca9d73f8338e4ec58cc9
diff --git a/net-p2p/rtorrent/files/rtorrent-0.10.0-scgi-software-crash.patch b/net-p2p/rtorrent/files/rtorrent-0.10.0-scgi-software-crash.patch
new file mode 100644
index 000000000000..7a329eb38ac9
--- /dev/null
+++ b/net-p2p/rtorrent/files/rtorrent-0.10.0-scgi-software-crash.patch
@@ -0,0 +1,32 @@
+From b284be6a66b67c625ae255989c3a3d021ebc7c6b Mon Sep 17 00:00:00 2001
+From: stickz <stickman002@mail.com>
+Date: Fri, 25 Oct 2024 12:35:43 -0400
+Subject: [PATCH] Resolve scgi software crash
+
+This commit resolves a scgi software crash when the scgi socket is closed before the message can be sent. It instructs `::send()` not to send a SIGPIPE termination signal. Instead the value -1 is returned and handled bellow. The SCgiTask is closed and a new one is sent to complete the task.
+
+```
+Thread 3 "rtorrent scgi" received signal SIGPIPE, Broken pipe.
+ [Switching to Thread 0x7fffe635c6c0 (LWP 2443872)]
+0x00007ffff7929a84 in send () from /lib/x86_64-linux-gnu/libc.so.6
+```
+---
+ src/rpc/scgi_task.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/rpc/scgi_task.cc b/src/rpc/scgi_task.cc
+index 9f2e329..160ba50 100644
+--- a/src/rpc/scgi_task.cc
++++ b/src/rpc/scgi_task.cc
+@@ -200,7 +200,7 @@ SCgiTask::event_read() {
+
+ void
+ SCgiTask::event_write() {
+- int bytes = ::send(m_fileDesc, m_position, m_bufferSize, 0);
++ int bytes = ::send(m_fileDesc, m_position, m_bufferSize, MSG_NOSIGNAL);
+
+ if (bytes == -1) {
+ if (!rak::error_number::current().is_blocked_momentary())
+--
+2.45.2
+
diff --git a/net-p2p/rtorrent/rtorrent-0.10.0.ebuild b/net-p2p/rtorrent/rtorrent-0.10.0.ebuild
new file mode 100644
index 000000000000..c8de47895785
--- /dev/null
+++ b/net-p2p/rtorrent/rtorrent-0.10.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools linux-info systemd
+
+DESCRIPTION="BitTorrent Client using libtorrent"
+HOMEPAGE="https://rakshasa.github.io/rtorrent/"
+# rtorrent-archive is an exact match to the tarballs also uploaded to
+# https://github.com/rakshasa/rtorrent/releases, but the problem with that more
+# common path is the libtorrent/rtorrent versions are not in sync, so updating
+# libtorrent wouldnt be more annoying.
+SRC_URI="https://github.com/rakshasa/rtorrent-archive/raw/master/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="debug selinux test xmlrpc"
+RESTRICT="!test? ( test )"
+
+COMMON_DEPEND="~net-libs/libtorrent-0.14.${PV##*.}
+ net-misc/curl
+ sys-libs/ncurses:0=
+ xmlrpc? ( dev-libs/xmlrpc-c:= )"
+RDEPEND="${COMMON_DEPEND}
+ selinux? ( sec-policy/selinux-rtorrent )
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/cppunit
+ virtual/pkgconfig"
+
+DOCS=( doc/rtorrent.rc )
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.10.0-scgi-software-crash.patch
+)
+
+pkg_setup() {
+ if ! linux_config_exists || ! linux_chkconfig_present IPV6; then
+ ewarn "rtorrent will not start without IPv6 support in your kernel"
+ ewarn "without further configuration. Please set bind=0.0.0.0 or"
+ ewarn "similar in your rtorrent.rc"
+ ewarn "Upstream bug: https://github.com/rakshasa/rtorrent/issues/732"
+ fi
+}
+
+src_prepare() {
+ default
+
+ # https://github.com/rakshasa/rtorrent/issues/332
+ cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || 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() {
+ # configure needs bash or script bombs out on some null shift, bug #291229
+ CONFIG_SHELL=${BASH} econf \
+ $(use_enable debug) \
+ $(use_with xmlrpc xmlrpc-c)
+}
+
+src_install() {
+ default
+ doman doc/rtorrent.1
+
+ newinitd "${FILESDIR}/rtorrent-r1.init" rtorrent
+ newconfd "${FILESDIR}/rtorrentd.conf" rtorrent
+ systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" "rtorrentd@.service"
+}