commit:     00ddc6a487d5187a680dc702f2a1918aacba59a1
Author:     Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr>
AuthorDate: Mon Oct 20 15:16:24 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 21 11:07:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00ddc6a4

net-p2p/rtorrent: update live

Network configuration has been rewritten and the warning for
'bind' is no longer required.
Add info about configuration changes and wiki.

Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr>
Part-of: https://github.com/gentoo/gentoo/pull/44273
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-p2p/rtorrent/rtorrent-9999.ebuild | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)

diff --git a/net-p2p/rtorrent/rtorrent-9999.ebuild 
b/net-p2p/rtorrent/rtorrent-9999.ebuild
index 23fbc0bdcfdb..1784897a603e 100644
--- a/net-p2p/rtorrent/rtorrent-9999.ebuild
+++ b/net-p2p/rtorrent/rtorrent-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 # require 64-bit integer
 LUA_COMPAT=( lua5-{3,4} )
 
-inherit autotools linux-info lua-single systemd
+inherit autotools lua-single systemd
 
 DESCRIPTION="BitTorrent Client using libtorrent"
 HOMEPAGE="https://rakshasa.github.io/rtorrent/";
@@ -47,12 +47,6 @@ BDEPEND="
 DOCS=( doc/rtorrent.rc )
 
 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
        use lua && lua-single_pkg_setup
 }
 
@@ -105,3 +99,12 @@ src_install() {
        newconfd "${FILESDIR}/rtorrentd.conf" rtorrent
        systemd_newunit "${FILESDIR}/rtorrentd_at-r1.service" 
"[email protected]"
 }
+
+pkg_postinst() {
+       einfo "This release could introduce new commands to configure RTorrent."
+       einfo "Please read the release notes before restarting:"
+       einfo "https://github.com/rakshasa/rtorrent/releases";
+       einfo ""
+       einfo "For configuration assistance, see:"
+       einfo "https://github.com/rakshasa/rtorrent/wiki";
+}

Reply via email to