[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 6708cbb7fc2c495fb9bd14dc974ad7e09f3f4a7f Author: Eli Schwartz gmail com> AuthorDate: Thu Feb 29 04:21:46 2024 + Commit: Sam James gentoo org> CommitDate: Thu Feb 29 04:47:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6708cbb7 net-p2p/rtorrent: mark as LTO-unsafe Closes: https://bugs.gentoo.org/861848 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 7 ++- net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild | 9 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index bc460bab122e..cc07aef717a8 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools linux-info systemd +inherit autotools flag-o-matic linux-info systemd DESCRIPTION="BitTorrent Client using libtorrent" HOMEPAGE="https://rakshasa.github.io/rtorrent/; @@ -56,6 +56,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/861848 + # https://github.com/rakshasa/rtorrent/issues/1264 + filter-lto + default # configure needs bash or script bombs out on some null shift, bug #291229 diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild index f2faf7732600..955a5c7770a9 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit autotools linux-info systemd +inherit autotools flag-o-matic linux-info systemd DESCRIPTION="BitTorrent Client using libtorrent" HOMEPAGE="https://rakshasa.github.io/rtorrent/; @@ -57,6 +57,11 @@ src_prepare() { } src_configure() { + # -Werror=odr + # https://bugs.gentoo.org/861848 + # https://github.com/rakshasa/rtorrent/issues/1264 + filter-lto + # configure needs bash or script bombs out on some null shift, bug #291229 CONFIG_SHELL=${BASH} econf \ $(use_enable debug) \
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: cd418c181098c803cd877349d032c8bcf242e1ef Author: Arthur Zamarin gentoo org> AuthorDate: Thu Jan 18 19:03:54 2024 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Jan 18 19:03:54 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd418c18 net-p2p/rtorrent: Stabilize 0.9.8-r2 arm64, #922251 Signed-off-by: Arthur Zamarin gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index e0789195f4e1..bc460bab122e 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: ada4085c43427361dd276e1790384525af628819 Author: Sam James gentoo org> AuthorDate: Wed Jan 3 22:30:33 2024 + Commit: Sam James gentoo org> CommitDate: Wed Jan 3 22:30:33 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ada4085c net-p2p/rtorrent: Stabilize 0.9.8-r2 ppc64, #921281 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index 109d3cec80d1..e0789195f4e1 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/, net-p2p/rtorrent/
commit: 4de5a51b48af8c5de3d3ade1a1adf77c7801c0a7 Author: Sam James gentoo org> AuthorDate: Sat Dec 9 17:02:21 2023 + Commit: Sam James gentoo org> CommitDate: Sat Dec 9 18:06:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4de5a51b net-p2p/rtorrent: fix modern C issue in configure Also, stop calling econf twice. Signed-off-by: Sam James gentoo.org> .../files/rtorrent-0.9.8-configure-c99.patch | 79 ++ net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild | 73 2 files changed, 152 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.8-configure-c99.patch b/net-p2p/rtorrent/files/rtorrent-0.9.8-configure-c99.patch new file mode 100644 index ..a2fa67799b8e --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.9.8-configure-c99.patch @@ -0,0 +1,79 @@ +https://github.com/rakshasa/rtorrent/commit/3f72e2760305936b27904d0080a5fb5600948bd5 + +From 3f72e2760305936b27904d0080a5fb5600948bd5 Mon Sep 17 00:00:00 2001 +From: rakshasa +Date: Sat, 27 Feb 2021 22:13:01 +0900 +Subject: [PATCH] Replaced custom execinfo autoconf test. + +--- a/configure.ac b/configure.ac +@@ -20,8 +20,6 @@ TORRENT_DISABLE_IPV6 + + AC_SYS_LARGEFILE + +-TORRENT_CHECK_EXECINFO +- + TORRENT_ENABLE_ARCH + TORRENT_WITH_SYSROOT + +@@ -29,6 +27,7 @@ TORRENT_WITHOUT_VARIABLE_FDSET + TORRENT_WITHOUT_STATVFS + TORRENT_WITHOUT_STATFS + ++AX_EXECINFO + AX_PTHREAD([], AC_MSG_ERROR([requires pthread])) + AX_WITH_CURSES + +--- a/scripts/common.m4 b/scripts/common.m4 +@@ -150,21 +150,6 @@ dnl Need to fix this so that it uses the stuff defined by the system. + ]) + ]) + +-AC_DEFUN([TORRENT_CHECK_EXECINFO], [ +- AC_MSG_CHECKING(for execinfo.h) +- +- AC_COMPILE_IFELSE([AC_LANG_SOURCE([ +- #include +- int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} +- ])], +-[ +- AC_MSG_RESULT(yes) +- AC_DEFINE(USE_EXECINFO, 1, Use execinfo.h) +-], [ +- AC_MSG_RESULT(no) +- ]) +-]) +- + AC_DEFUN([TORRENT_CHECK_ALIGNED], [ + AC_MSG_CHECKING(the byte alignment) + +--- a/src/main.cc b/src/main.cc +@@ -53,7 +53,7 @@ + #include + #include + +-#ifdef USE_EXECINFO ++#ifdef HAVE_BACKTRACE + #include + #endif + +@@ -533,7 +533,7 @@ handle_sigbus(int signum, siginfo_t* sa, void* ptr) { + std::stringstream output; + output << "Caught SIGBUS, dumping stack:" << std::endl; + +-#ifdef USE_EXECINFO ++#ifdef HAVE_BACKTRACE + void* stackPtrs[20]; + + // Print the stack and exit. +@@ -604,7 +604,7 @@ do_panic(int signum) { + + output << "Caught " << SignalHandler::as_string(signum) << ", dumping stack:" << std::endl; + +-#ifdef USE_EXECINFO ++#ifdef HAVE_BACKTRACE + void* stackPtrs[20]; + + // Print the stack and exit. diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild new file mode 100644 index ..f2faf7732600 --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2023 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/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~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.13.${PV##*.} + >=net-misc/curl-7.19.1 + 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}/${P}-bgo891995.patch" + "${FILESDIR}/${PN}-0.9.8-configure-c99.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 +
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 032b632f996915d1876e447aadb776d7118e8b80 Author: Sam James gentoo org> AuthorDate: Tue Oct 3 22:06:36 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 3 22:06:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032b632f net-p2p/rtorrent: Stabilize 0.9.8-r2 amd64, #911346 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index d4ebfc59d713..109d3cec80d1 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: d9ac7b305d5c16914ea29f9a3a2c84442469f5ca Author: Sam James gentoo org> AuthorDate: Tue Oct 3 22:00:55 2023 + Commit: Sam James gentoo org> CommitDate: Tue Oct 3 22:00:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9ac7b30 net-p2p/rtorrent: Stabilize 0.9.8-r2 x86, #911346 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild index f47b972edd42..d4ebfc59d713 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/, net-p2p/rtorrent/
commit: ee4985333e42e9794fb0f165a857e78af0f363d5 Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Mon Feb 27 15:34:06 2023 + Commit: Sam James gentoo org> CommitDate: Sat Mar 4 07:18:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee498533 net-p2p/rtorrent: Resolve overflow issue on hardened build Closes: https://bugs.gentoo.org/891995 Signed-off-by: Stephen Shkardoon ss23.geek.nz> Closes: https://github.com/gentoo/gentoo/pull/29834 Signed-off-by: Sam James gentoo.org> .../rtorrent/files/rtorrent-0.9.8-bgo891995.patch | 27 net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild | 74 ++ 2 files changed, 101 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.8-bgo891995.patch b/net-p2p/rtorrent/files/rtorrent-0.9.8-bgo891995.patch new file mode 100644 index ..943fe64dddc1 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.9.8-bgo891995.patch @@ -0,0 +1,27 @@ +https://bugs.gentoo.org/891995 +https://github.com/rakshasa/rtorrent/issues/1205 +https://github.com/rakshasa/rtorrent/pull/1169 + +From 812bba81bc049a5f786282b3654cab294b0ef236 Mon Sep 17 00:00:00 2001 +From: Aleksa Sarai +Date: Mon, 20 Jun 2022 19:09:57 +1000 +Subject: [PATCH] utils: lockfile: avoid stack overflow for lockfile buffer + +There appears to have been some change on openSUSE (likely some new +hardening flags for builds, or some glibc hardening) such that incorrect +buffer handling results in a segfault even if the buffer is never +overflowed. + +Signed-off-by: Aleksa Sarai +--- a/src/utils/lockfile.cc b/src/utils/lockfile.cc +@@ -98,7 +98,8 @@ Lockfile::try_lock() { + int pos = ::gethostname(buf, 255); + + if (pos == 0) { +-::snprintf(buf + std::strlen(buf), 255, ":+%i\n", ::getpid()); ++ssize_t len = std::strlen(buf); ++::snprintf(buf + len, 255 - len, ":+%i\n", ::getpid()); + int __UNUSED result = ::write(fd, buf, std::strlen(buf)); + } + diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild new file mode 100644 index ..b3161479593e --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 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/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +IUSE="debug selinux test xmlrpc" +RESTRICT="!test? ( test )" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=net-misc/curl-7.19.1 + 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}/${P}-bgo891995.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() { + default + + # 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" +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/
commit: 5e18c781efde5687d7128f92f651807953948168 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Fri Sep 16 10:51:44 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Sun Oct 2 14:41:46 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e18c781 net-p2p/rtorrent: remove unused files Signed-off-by: Michael Mair-Keimberger levelnine.at> Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14 Closes: https://github.com/gentoo/gentoo/pull/27280 Signed-off-by: Conrad Kostecki gentoo.org> net-p2p/rtorrent/files/rtorrentd.init | 35 - net-p2p/rtorrent/files/rtorrentd_at.service | 15 - 2 files changed, 50 deletions(-) diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init deleted file mode 100644 index 83943cd56611.. --- a/net-p2p/rtorrent/files/rtorrentd.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - use net ypbind nis - after slapd mysqld postgresql -} - -start() { - PWHOME="$(getent passwd $USER | awk -F: '{ print $6 }')" - - ebegin "Starting rtorrent" - env TERM="xterm" \ - start-stop-daemon \ - --start \ - --make-pidfile \ - --pidfile /var/run/rtorrentd.pid \ - --background \ - --user $USER \ - --env HOME="${PWHOME:-/home/$USER}" \ - --name rtorrent \ - --exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent - eend $? -} - -stop() { - ebegin "Stopping rtorrent" - # Because we've daemonized with screen, we need to replace the PID file with the real PID of rtorrent - pgrep -P $(cat /var/run/rtorrentd.pid) > /var/run/rtorrentd.pid - - start-stop-daemon --stop --signal 15 \ - --pidfile /var/run/rtorrentd.pid - eend $? -} diff --git a/net-p2p/rtorrent/files/rtorrentd_at.service b/net-p2p/rtorrent/files/rtorrentd_at.service deleted file mode 100644 index 991ba930c7f8.. --- a/net-p2p/rtorrent/files/rtorrentd_at.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=rTorrent -Requires=network.target local-fs.target - -[Service] -Type=forking -RemainAfterExit=yes -KillMode=none -User=%I -ExecStart=/usr/bin/screen -d -m -S rtorrentd /usr/bin/rtorrent -ExecStop=/usr/bin/screen -S rtorrentd -X quit -WorkingDirectory=/home/%I/ - -[Install] -WantedBy=multi-user.target
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: bd582c84bbaa7d5074c1948315422ec782ee2536 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Sep 15 14:34:29 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Sep 15 15:10:27 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd582c84 net-p2p/rtorrent: drop 0.9.8 Closes: https://bugs.gentoo.org/867211 Signed-off-by: Andreas Sturmlechner gentoo.org> net-p2p/rtorrent/metadata.xml | 5 --- net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 68 -- 2 files changed, 73 deletions(-) diff --git a/net-p2p/rtorrent/metadata.xml b/net-p2p/rtorrent/metadata.xml index db2e3fe9b7f1..b72a3c39282e 100644 --- a/net-p2p/rtorrent/metadata.xml +++ b/net-p2p/rtorrent/metadata.xml @@ -5,11 +5,6 @@ perfin...@gentoo.org Jason Zaman - - - Uses app-misc/screen to daemonize this application - - rakshasa/rtorrent diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild deleted file mode 100644 index d66b1df59797.. --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info systemd - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rakshasa.github.io/rtorrent/; -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="daemon debug selinux test xmlrpc" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} - >=net-misc/curl-7.19.1 - sys-libs/ncurses:0= - xmlrpc? ( dev-libs/xmlrpc-c:= )" -RDEPEND="${COMMON_DEPEND} - daemon? ( app-misc/screen ) - selinux? ( sec-policy/selinux-rtorrent ) -" -DEPEND="${COMMON_DEPEND} - dev-util/cppunit - virtual/pkgconfig" - -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 -} - -src_prepare() { - default - - # https://github.com/rakshasa/rtorrent/issues/332 - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die - - eautoreconf -} - -src_configure() { - default - - # 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 - - if use daemon; then - newinitd "${FILESDIR}/rtorrentd.init" rtorrentd - newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd - systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 1e378500ff7bf7a228b4df37a0470e6246339634 Author: Sam James gentoo org> AuthorDate: Thu Sep 15 11:30:10 2022 + Commit: Sam James gentoo org> CommitDate: Thu Sep 15 11:30:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e378500 net-p2p/rtorrent: Stabilize 0.9.8-r1 x86, #867211 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild index 8d73b31367d3..54d545a2286b 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: e6a10ad055ca29821fbf2e7e50238b5f20aabe99 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Sep 15 06:46:40 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Sep 15 06:46:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6a10ad0 net-p2p/rtorrent: Stabilize 0.9.8-r1 amd64, #867211 Signed-off-by: Agostino Sarubbo gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild index 907a5e19a4e8..8d73b31367d3 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/
commit: 159d73173c1a50bf0be5e1488fdbe6c978c36a99 Author: David Seifert gentoo org> AuthorDate: Sat Jul 2 13:42:40 2022 + Commit: David Seifert gentoo org> CommitDate: Sat Jul 2 13:42:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=159d7317 net-p2p/rtorrent: drop 0.9.7, 0.9.7-r1 Signed-off-by: David Seifert gentoo.org> .../files/rtorrent-0.9.7-execinfo-configure.patch | 23 net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch | 31 -- 2 files changed, 54 deletions(-) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch b/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch deleted file mode 100644 index 2c7ce5222b80.. --- a/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch +++ /dev/null @@ -1,23 +0,0 @@ -From f84670dd6394729158569a7a5366a00a7d1dccb2 Mon Sep 17 00:00:00 2001 -From: Stephen Shkardoon -Date: Mon, 25 Jun 2018 20:14:43 +1200 -Subject: [PATCH] Use AC_COMPILE instead of AC_RUN to check for execinfo.h - -This way enables cross compiling, since we don't need to run anything during the configure script. - scripts/common.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/scripts/common.m4 b/scripts/common.m4 -index 9885b037..b1b815b1 100644 a/scripts/common.m4 -+++ b/scripts/common.m4 -@@ -153,7 +153,7 @@ dnl Need to fix this so that it uses the stuff defined by the system. - AC_DEFUN([TORRENT_CHECK_EXECINFO], [ - AC_MSG_CHECKING(for execinfo.h) - -- AC_RUN_IFELSE([AC_LANG_SOURCE([ -+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ - #include - int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} - ])], diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch b/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch deleted file mode 100644 index 8bb009eb676d.. --- a/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch +++ /dev/null @@ -1,31 +0,0 @@ a/configure.ac 2018-06-06 23:25:24.0 -0500 -+++ b/configure.ac 2018-06-18 15:19:52.398995740 -0500 -@@ -32,17 +32,23 @@ - TORRENT_WITHOUT_STATFS - - AX_PTHREAD([], AC_MSG_ERROR([requires pthread])) --AX_WITH_CURSES -- --if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then -- AC_MSG_ERROR([requires either NcursesW or Ncurses library]) --fi -+PKG_CHECK_MODULES([CURSES],[ncursesw],[ -+ AC_DEFINE(HAVE_NCURSESW_CURSES_H, 1) -+ ], -+ [PKG_CHECK_MODULES([CURSES],[ncurses],[ -+ AC_DEFINE(HAVE_NCURSES_H, 1) -+ ], -+ [AX_WITH_CURSES() -+ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then -+ AC_MSG_ERROR([requires either NcursesW or Ncurses library]) -+ fi]) -+ ]) - - PKG_CHECK_MODULES([LIBCURL], [libcurl], , [LIBCURL_CHECK_CONFIG]) - PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) - PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.13.7]) - --LIBS="$PTHREAD_LIBS $CURSES_LIB $CPPUNIT_LIBS $LIBCURL $LIBCURL_LIBS $DEPENDENCIES_LIBS $LIBS" -+LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $CPPUNIT_LIBS $LIBCURL $LIBCURL_LIBS $DEPENDENCIES_LIBS $LIBS" - CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $LIBCURL_CPPFLAGS $LIBCURL_CFLAGS $DEPENDENCIES_CFLAGS $CURSES_CFLAGS" - CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $LIBCURL_CPPFLAGS $LIBCURL_CFLAGS $DEPENDENCIES_CFLAGS $CURSES_CFLAGS"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 0f060e6019943f743ee360d757612928367591d8 Author: Sam James gentoo org> AuthorDate: Sat Jul 2 13:37:01 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jul 2 13:37:01 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f060e60 net-p2p/rtorrent: drop inactive proxied maintainer Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/net-p2p/rtorrent/metadata.xml b/net-p2p/rtorrent/metadata.xml index 935724c71dbc..db2e3fe9b7f1 100644 --- a/net-p2p/rtorrent/metadata.xml +++ b/net-p2p/rtorrent/metadata.xml @@ -1,10 +1,6 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - s...@ss23.geek.nz - Stephen Shkardoon - perfin...@gentoo.org Jason Zaman
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 9abb7419bb186134da5d1b9faf9dd20ede356baf Author: Sam James gentoo org> AuthorDate: Sat Jul 2 13:36:53 2022 + Commit: Sam James gentoo org> CommitDate: Sat Jul 2 13:36:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9abb7419 net-p2p/rtorrent: drop 0.9.7, 0.9.7-r1 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/Manifest | 1 - net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild | 74 --- net-p2p/rtorrent/rtorrent-0.9.7.ebuild| 73 -- 3 files changed, 148 deletions(-) diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index 63aa80a68942..c75353acf01c 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1,2 +1 @@ -DIST rtorrent-0.9.7.tar.gz 610149 BLAKE2B 3f1316b0142dade9662630ad40132c5968d7b0ded32d7ae13d1ec1fdb7fec794812203fece367bf6abfd02212ed94d308046d40eb3e7562c408e8da13b23c23d SHA512 e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00 DIST rtorrent-0.9.8.tar.gz 647523 BLAKE2B 3562ed03dee3baa4a702d20c7c91b9248d9de0f25d1f8cd182863101f293a0ef13cb49164e4d16b25e72a4fbe1cc1a2fbde176d3068c749edbcb2287ef260b2b SHA512 016685948d0290694ab9635ae218c7acd876e6d45bea1bdba3a29c545e64f5d824c5e2f6693a4c2e9200196177881d54f312d72e0a19742bd74a03bd19ca05c7 diff --git a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild deleted file mode 100644 index b2501a16acab.. --- a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info systemd - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rakshasa.github.io/rtorrent/; -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="daemon debug selinux test xmlrpc" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} - >=dev-libs/libsigc++-2.2.2:2 - >=net-misc/curl-7.19.1 - sys-libs/ncurses:0= - xmlrpc? ( dev-libs/xmlrpc-c )" -RDEPEND="${COMMON_DEPEND} - daemon? ( app-misc/screen ) - selinux? ( sec-policy/selinux-rtorrent ) -" -DEPEND="${COMMON_DEPEND} - dev-util/cppunit - virtual/pkgconfig" - -DOCS=( doc/rtorrent.rc ) - -PATCHES=( - "${FILESDIR}/${PN}-0.9.7-tinfo.patch" - "${FILESDIR}/${PN}-0.9.7-execinfo-configure.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 - - eautoreconf -} - -src_configure() { - default - - # 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 - - if use daemon; then - newinitd "${FILESDIR}/rtorrentd.init" rtorrentd - newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd - systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" - fi -} diff --git a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild deleted file mode 100644 index 84fb4eb95fa9.. --- a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools linux-info systemd - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="https://rakshasa.github.io/rtorrent/; -SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" -IUSE="daemon debug selinux test xmlrpc" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} - >=dev-libs/libsigc++-2.2.2:2 - >=net-misc/curl-7.19.1 - sys-libs/ncurses:0= - xmlrpc? ( dev-libs/xmlrpc-c )" -RDEPEND="${COMMON_DEPEND} - daemon? ( app-misc/screen ) - selinux? ( sec-policy/selinux-rtorrent ) -" -DEPEND="${COMMON_DEPEND} -
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: e720a9e3c86df22968bd2add64b7d5544f9e46a6 Author: Jakov Smolić gentoo org> AuthorDate: Mon Apr 25 06:28:56 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Apr 25 06:28:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e720a9e3 net-p2p/rtorrent: Keyword 0.9.8-r1 mips, #840589 Signed-off-by: Jakov Smolić gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild index d0955a6839c0..85f6cab9faf7 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 39d39402aea032968483db8226b0518020c25479 Author: Jakov Smolić gentoo org> AuthorDate: Mon Apr 25 06:29:02 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Apr 25 06:29:02 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39d39402 net-p2p/rtorrent: Keyword 0.9.8-r1 riscv, #840589 Signed-off-by: Jakov Smolić gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild index 85f6cab9faf7..907a5e19a4e8 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/, net-p2p/rtorrent/files/
commit: 17ba1a9e252fd2fc081ba4a0cd1d3c1aae726a5f Author: Jamie Getty gmail com> AuthorDate: Tue Jan 4 06:59:50 2022 + Commit: Jason Zaman gentoo org> CommitDate: Sat Feb 26 20:01:36 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17ba1a9e net-p2p/rtorrent: Remove dependency on screen for daemonising. Also update to EAPI8. econf now automatically passes --with-sysroot= which sets the macos-only -syslibroot so needs to be --sysroot on linux. Closes: https://github.com/gentoo/gentoo/pull/23645 Signed-off-by: Jamie Getty gmail.com> Signed-off-by: Jason Zaman gentoo.org> net-p2p/rtorrent/files/rtorrent-r1.init| 16 ++ net-p2p/rtorrent/files/rtorrentd_at-r1.service | 17 +++ net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild | 70 ++ 3 files changed, 103 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-r1.init b/net-p2p/rtorrent/files/rtorrent-r1.init new file mode 100644 index ..e16f262bfbe3 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-r1.init @@ -0,0 +1,16 @@ +#!/sbin/openrc-run +# Distributed under the terms of the GNU General Public License v2 + +description="rTorrent BitTorrent client" + +command="/usr/bin/rtorrent" +command_args="-o system.daemon.set=true" +command_background=true +command_user="${USER}" +pidfile="/run/rtorrent.pid" + +depend() +{ + use net ypbind nis + after slapd mysqld postgresql +} diff --git a/net-p2p/rtorrent/files/rtorrentd_at-r1.service b/net-p2p/rtorrent/files/rtorrentd_at-r1.service new file mode 100644 index ..bc9220353786 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrentd_at-r1.service @@ -0,0 +1,17 @@ +# This configuration file is taken from the Arch wiki. +# https://wiki.archlinux.org/title/RTorrent#Systemd_service_as_a_daemon_for_a_user + +[Unit] +Description=rTorrent for %i +After=network.target + +[Service] +Type=simple +User=%i +Group=%i +WorkingDirectory=/home/%i +# Modify the next line to the absolute path for rtorrent.lock, for example +ExecStartPre=-/bin/rm -f /home/%i/.session/rtorrent.lock +ExecStart=/usr/bin/rtorrent -o system.daemon.set=true +Restart=on-failure +RestartSec=3 diff --git a/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild new file mode 100644 index ..d0955a6839c0 --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.8-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 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/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" +IUSE="debug selinux test xmlrpc" +RESTRICT="!test? ( test )" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=net-misc/curl-7.19.1 + 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 ) + +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() { + default + + # 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" +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: fb73225aa41737a7b55b3c1d8c654aa3fd2740e5 Author: Daniel M. Weeks danweeks net> AuthorDate: Mon Jan 11 19:03:09 2021 + Commit: Sam James gentoo org> CommitDate: Mon Jan 11 19:20:20 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb73225a net-p2p/rtorrent: add xmlrpc-c subslot dep Closes: https://bugs.gentoo.org/764995 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Daniel M. Weeks danweeks.net> Closes: https://github.com/gentoo/gentoo/pull/19037 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild index 9b0b9c50eb5..d66b1df5979 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -18,7 +18,7 @@ RESTRICT="!test? ( test )" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} >=net-misc/curl-7.19.1 sys-libs/ncurses:0= - xmlrpc? ( dev-libs/xmlrpc-c )" + xmlrpc? ( dev-libs/xmlrpc-c:= )" RDEPEND="${COMMON_DEPEND} daemon? ( app-misc/screen ) selinux? ( sec-policy/selinux-rtorrent )
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: cb5115dd74cf3fb5222ee5563b032d6821fa245b Author: Fabian Groffen gentoo org> AuthorDate: Wed Jan 6 14:51:38 2021 + Commit: Fabian Groffen gentoo org> CommitDate: Wed Jan 6 15:06:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb5115dd net-p2p/rtorrent: drop x86-macos Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Fabian Groffen gentoo.org> net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild | 4 ++-- net-p2p/rtorrent/rtorrent-0.9.7.ebuild| 4 ++-- net-p2p/rtorrent/rtorrent-0.9.8.ebuild| 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild index d6c8d7ab36f..b2501a16aca 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )" diff --git a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild index 6eb4ec073f7..84fb4eb95fa 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )" diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild index 89c75bbe962..9b0b9c50eb5 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: b671fc1a000d3ed0df95a94188302d4a345fb5f5 Author: Sam James gentoo org> AuthorDate: Fri Jul 10 18:49:38 2020 + Commit: Sam James gentoo org> CommitDate: Fri Jul 10 18:50:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b671fc1a net-p2p/rtorrent: arm64 keyworded (bug #731292) Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Sam James gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild index c7f4827b1c1..89c75bbe962 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: b50ba419d221ffa81fd69614e49c2753a3a742c5 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu Dec 12 10:59:20 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu Dec 12 10:59:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50ba419 net-p2p/rtorrent: x86 stable wrt bug #702424 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild index 88836160f97..cfd5c1bf886 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 1efafeb49d09d4bf726d39db6d62b3d761742f62 Author: Agostino Sarubbo gentoo org> AuthorDate: Wed Dec 11 10:47:17 2019 + Commit: Agostino Sarubbo gentoo org> CommitDate: Wed Dec 11 10:47:20 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1efafeb4 net-p2p/rtorrent: amd64 stable wrt bug #702424 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild index 3567aac75ea..88836160f97 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 3aeebc3b9dbf73553ed3aadee067313177e500aa Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Wed Jul 31 14:44:06 2019 + Commit: Jason Zaman gentoo org> CommitDate: Mon Aug 5 13:49:55 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3aeebc3b net-p2p/rtorrent: Add version 0.9.8 Also removes dependency on dev-libs/libsigc++ Closes: https://github.com/gentoo/gentoo/pull/12587 Bug: https://bugs.gentoo.org/687996 Signed-off-by: Stephen Shkardoon ss23.geek.nz> Package-Manager: Portage-2.3.66, Repoman-2.3.16 Signed-off-by: Jason Zaman gentoo.org> net-p2p/rtorrent/Manifest | 1 + net-p2p/rtorrent/rtorrent-0.9.8.ebuild | 68 ++ 2 files changed, 69 insertions(+) diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index b7c90d413c5..63aa80a6894 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1 +1,2 @@ DIST rtorrent-0.9.7.tar.gz 610149 BLAKE2B 3f1316b0142dade9662630ad40132c5968d7b0ded32d7ae13d1ec1fdb7fec794812203fece367bf6abfd02212ed94d308046d40eb3e7562c408e8da13b23c23d SHA512 e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00 +DIST rtorrent-0.9.8.tar.gz 647523 BLAKE2B 3562ed03dee3baa4a702d20c7c91b9248d9de0f25d1f8cd182863101f293a0ef13cb49164e4d16b25e72a4fbe1cc1a2fbde176d3068c749edbcb2287ef260b2b SHA512 016685948d0290694ab9635ae218c7acd876e6d45bea1bdba3a29c545e64f5d824c5e2f6693a4c2e9200196177881d54f312d72e0a19742bd74a03bd19ca05c7 diff --git a/net-p2p/rtorrent/rtorrent-0.9.8.ebuild b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild new file mode 100644 index 000..bd9462e4dd9 --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.8.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info systemd + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="https://rakshasa.github.io/rtorrent/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="daemon debug selinux test xmlrpc" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=net-misc/curl-7.19.1 + sys-libs/ncurses:0= + xmlrpc? ( dev-libs/xmlrpc-c )" +RDEPEND="${COMMON_DEPEND} + daemon? ( app-misc/screen ) + selinux? ( sec-policy/selinux-rtorrent ) +" +DEPEND="${COMMON_DEPEND} + dev-util/cppunit + virtual/pkgconfig" + +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 +} + +src_prepare() { + default + + # https://github.com/rakshasa/rtorrent/issues/332 + cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die + + eautoreconf +} + +src_configure() { + default + + # configure needs bash or script bombs out on some null shift, bug #291229 + CONFIG_SHELL=${BASH} econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_with xmlrpc xmlrpc-c) +} + +src_install() { + default + doman doc/rtorrent.1 + + if use daemon; then + newinitd "${FILESDIR}/rtorrentd.init" rtorrentd + newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd + systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/, net-p2p/rtorrent/
commit: fc0ccfb9a6015e5eaf040f695224b39b1358f76a Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Fri Aug 10 08:44:19 2018 + Commit: Jason Zaman gentoo org> CommitDate: Fri Aug 10 09:01:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0ccfb9 net-p2p/rtorrent: remove old version 0.9.6.* Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-p2p/rtorrent/Manifest | 1 - .../rtorrent/files/rtorrent-0.9.1-ncurses.patch| 10 net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch | 37 - .../files/rtorrent-0.9.6-cppunit-pkgconfig.patch | 28 -- net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 63 -- net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 62 - 6 files changed, 201 deletions(-) diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index 180ca6b41a6..b7c90d413c5 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1,2 +1 @@ -DIST rtorrent-0.9.6.tar.gz 610845 BLAKE2B 4a4faccffe79e7d877e3be9a9b16edcea87f1969ee2689f7789ebd738a19a5a41f5eae3b33c5b874b5c31ad8e872baa88374fae2047dbc76d4f1c0bc6d7ecbd4 SHA512 704f7b79d5bc78b817da21a6886662a5a97fde210a110c50f708bdc18e1dcf3ef5c5f4e2740261d41221cfc69c19926bf34e10057adf10601da9e6e06b2cef75 DIST rtorrent-0.9.7.tar.gz 610149 BLAKE2B 3f1316b0142dade9662630ad40132c5968d7b0ded32d7ae13d1ec1fdb7fec794812203fece367bf6abfd02212ed94d308046d40eb3e7562c408e8da13b23c23d SHA512 e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00 diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch b/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch deleted file mode 100644 index 260cd9a3842..000 --- a/net-p2p/rtorrent/files/rtorrent-0.9.1-ncurses.patch +++ /dev/null @@ -1,10 +0,0 @@ src/display/canvas.h -+++ src/display/canvas.h -@@ -48,5 +48,5 @@ class Canvas { - public: - typedef std::vector attributes_list; - -- Canvas(int x = 0, int y = 0, int width = 0, int height = 0); -+ Canvas(int x = 0, int y = 0, int width = 1, int height = 1); - ~Canvas() { delwin(m_window); } - voidrefresh() { wnoutrefresh(m_window); } diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch b/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch deleted file mode 100644 index 21ee708782b..000 --- a/net-p2p/rtorrent/files/rtorrent-0.9.4-tinfo.patch +++ /dev/null @@ -1,37 +0,0 @@ -bug 462788 - - configure.ac | 18 -- - 1 file changed, 12 insertions(+), 6 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 430c15d..50ce687 100644 a/configure.ac -+++ b/configure.ac -@@ -31,15 +31,21 @@ TORRENT_WITHOUT_STATVFS() - TORRENT_WITHOUT_STATFS() - - AX_PTHREAD([], AC_MSG_ERROR([requires pthread])) --AX_WITH_CURSES() -- --if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then -- AC_MSG_ERROR([requires either NcursesW or Ncurses library]) --fi -+PKG_CHECK_MODULES([CURSES],[ncursesw],[ -+ AC_DEFINE(HAVE_NCURSESW_CURSES_H, 1) -+ ], -+ [PKG_CHECK_MODULES([CURSES],[ncurses],[ -+ AC_DEFINE(HAVE_NCURSES_H, 1) -+ ], -+ [AX_WITH_CURSES() -+ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then -+ AC_MSG_ERROR([requires either NcursesW or Ncurses library]) -+ fi]) -+ ]) - - CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" - CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" --LIBS="$PTHREAD_LIBS $CURSES_LIB $LIBS" -+LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $LIBS" - - PKG_CHECK_MODULES([libcurl], libcurl >= 7.15.4, - CXXFLAGS="$CXXFLAGS $libcurl_CFLAGS"; diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch b/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch deleted file mode 100644 index 753f4cb8a7f..000 --- a/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://bugs.gentoo.org/620908 - -diff -ur a/configure.ac b/configure.ac a/configure.ac 2017-08-17 08:52:49.596897308 -0500 -+++ b/configure.ac 2017-08-17 08:54:57.171515415 -0500 -@@ -4,7 +4,6 @@ - - AM_INIT_AUTOMAKE - AC_CONFIG_HEADERS(config.h) --AM_PATH_CPPUNIT(1.9.6) - - AC_PROG_CXX - AC_PROG_LIBTOOL -@@ -43,9 +42,11 @@ - fi]) - ]) - --CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" --CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" --LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $LIBS" -+PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) -+ -+CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS" -+CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS" -+LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $CPPUNIT_LIBS $LIBS" - -
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 030a8d5f7447ab63a8f47a385598dd3df4936e68 Author: Michał Górny gentoo org> AuthorDate: Fri Aug 10 08:31:21 2018 + Commit: Michał Górny gentoo org> CommitDate: Fri Aug 10 08:31:21 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030a8d5f net-p2p/rtorrent: 0.9.7-r1 x86 stable, bug #663012 net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild index e41711ece81..69bb963736d 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: d1abb957be1df3d3a3f432e1fd6328a934dc8871 Author: Jason Zaman gentoo org> AuthorDate: Thu Aug 9 15:22:07 2018 + Commit: Jason Zaman gentoo org> CommitDate: Thu Aug 9 16:10:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1abb957 net-p2p/rtorrent: amd64 stable Gentoo-bug: 663012 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild index 74bf66d2a2c..e41711ece81 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/, net-p2p/rtorrent/files/
commit: 02114366f60e28c528b8f94c5a5f27ac25b5d3c9 Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Sat Jun 30 04:09:03 2018 + Commit: Jason Zaman gentoo org> CommitDate: Tue Jul 3 05:57:02 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02114366 net-p2p/rtorrent: Patch configure to allow cross compiling Patch already merged upstream https://github.com/rakshasa/rtorrent/pull/753 Closes: https://bugs.gentoo.org/show_bug.cgi?id=446186 Package-Manager: Portage-2.3.40, Repoman-2.3.9 .../files/rtorrent-0.9.7-execinfo-configure.patch | 23 +++ net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild | 74 ++ 2 files changed, 97 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch b/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch new file mode 100644 index 000..2c7ce5222b8 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.9.7-execinfo-configure.patch @@ -0,0 +1,23 @@ +From f84670dd6394729158569a7a5366a00a7d1dccb2 Mon Sep 17 00:00:00 2001 +From: Stephen Shkardoon +Date: Mon, 25 Jun 2018 20:14:43 +1200 +Subject: [PATCH] Use AC_COMPILE instead of AC_RUN to check for execinfo.h + +This way enables cross compiling, since we don't need to run anything during the configure script. +--- + scripts/common.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/common.m4 b/scripts/common.m4 +index 9885b037..b1b815b1 100644 +--- a/scripts/common.m4 b/scripts/common.m4 +@@ -153,7 +153,7 @@ dnl Need to fix this so that it uses the stuff defined by the system. + AC_DEFUN([TORRENT_CHECK_EXECINFO], [ + AC_MSG_CHECKING(for execinfo.h) + +- AC_RUN_IFELSE([AC_LANG_SOURCE([ ++ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ + #include + int main() { backtrace((void**)0, 0); backtrace_symbols((char**)0, 0); return 0;} + ])], diff --git a/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild new file mode 100644 index 000..74bf66d2a2c --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.7-r1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info systemd + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="https://rakshasa.github.io/rtorrent/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="daemon debug selinux test xmlrpc" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=dev-libs/libsigc++-2.2.2:2 + >=net-misc/curl-7.19.1 + sys-libs/ncurses:0= + xmlrpc? ( dev-libs/xmlrpc-c )" +RDEPEND="${COMMON_DEPEND} + daemon? ( app-misc/screen ) + selinux? ( sec-policy/selinux-rtorrent ) +" +DEPEND="${COMMON_DEPEND} + dev-util/cppunit + virtual/pkgconfig" + +DOCS=( doc/rtorrent.rc ) + +PATCHES=( + "${FILESDIR}/${PN}-0.9.7-tinfo.patch" + "${FILESDIR}/${PN}-0.9.7-execinfo-configure.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 + + eautoreconf +} + +src_configure() { + default + + # configure needs bash or script bombs out on some null shift, bug #291229 + CONFIG_SHELL=${BASH} econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_with xmlrpc xmlrpc-c) +} + +src_install() { + default + doman doc/rtorrent.1 + + if use daemon; then + newinitd "${FILESDIR}/rtorrentd.init" rtorrentd + newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd + systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/, net-p2p/rtorrent/files/
commit: e9423224749658cd38c46397c046ec89afd57d7d Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Mon Jun 18 23:46:37 2018 + Commit: Jason Zaman gentoo org> CommitDate: Tue Jun 19 05:37:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9423224 net-p2p/rtorrent: resolve ncurses compile failure Adds a patch to ensure tinfo is correctly linked. This only occurs when ncurses is built with the "tinfo" useflag. Closes: https://bugs.gentoo.org/658390 Package-Manager: Portage-2.3.40, Repoman-2.3.9 net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch | 31 +++ net-p2p/rtorrent/rtorrent-0.9.7.ebuild| 4 +++ 2 files changed, 35 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch b/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch new file mode 100644 index 000..8bb009eb676 --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.9.7-tinfo.patch @@ -0,0 +1,31 @@ +--- a/configure.ac 2018-06-06 23:25:24.0 -0500 b/configure.ac 2018-06-18 15:19:52.398995740 -0500 +@@ -32,17 +32,23 @@ + TORRENT_WITHOUT_STATFS + + AX_PTHREAD([], AC_MSG_ERROR([requires pthread])) +-AX_WITH_CURSES +- +-if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then +- AC_MSG_ERROR([requires either NcursesW or Ncurses library]) +-fi ++PKG_CHECK_MODULES([CURSES],[ncursesw],[ ++ AC_DEFINE(HAVE_NCURSESW_CURSES_H, 1) ++ ], ++ [PKG_CHECK_MODULES([CURSES],[ncurses],[ ++ AC_DEFINE(HAVE_NCURSES_H, 1) ++ ], ++ [AX_WITH_CURSES() ++ if test "x$ax_cv_ncursesw" != xyes && test "x$ax_cv_ncurses" != xyes; then ++ AC_MSG_ERROR([requires either NcursesW or Ncurses library]) ++ fi]) ++ ]) + + PKG_CHECK_MODULES([LIBCURL], [libcurl], , [LIBCURL_CHECK_CONFIG]) + PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) + PKG_CHECK_MODULES([DEPENDENCIES], [libtorrent >= 0.13.7]) + +-LIBS="$PTHREAD_LIBS $CURSES_LIB $CPPUNIT_LIBS $LIBCURL $LIBCURL_LIBS $DEPENDENCIES_LIBS $LIBS" ++LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $CPPUNIT_LIBS $LIBCURL $LIBCURL_LIBS $DEPENDENCIES_LIBS $LIBS" + CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $LIBCURL_CPPFLAGS $LIBCURL_CFLAGS $DEPENDENCIES_CFLAGS $CURSES_CFLAGS" + CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $LIBCURL_CPPFLAGS $LIBCURL_CFLAGS $DEPENDENCIES_CFLAGS $CURSES_CFLAGS" diff --git a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild index f621ce1a181..3b1b5da0040 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild @@ -29,6 +29,10 @@ DEPEND="${COMMON_DEPEND} DOCS=( doc/rtorrent.rc ) +PATCHES=( + "${FILESDIR}/${PN}-0.9.7-tinfo.patch" +) + pkg_setup() { if ! linux_config_exists || ! linux_chkconfig_present IPV6; then ewarn "rtorrent will not start without IPv6 support in your kernel"
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 1489ff33f627b98875ee8714f0bae9c22e512c1c Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Sun Jun 17 16:50:12 2018 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 17 18:44:24 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1489ff33 net-p2p/rtorrent: version bump to 0.9.7 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/8855 net-p2p/rtorrent/Manifest | 1 + net-p2p/rtorrent/rtorrent-0.9.7.ebuild | 69 ++ 2 files changed, 70 insertions(+) diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index f0af4df3acf..180ca6b41a6 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1 +1,2 @@ DIST rtorrent-0.9.6.tar.gz 610845 BLAKE2B 4a4faccffe79e7d877e3be9a9b16edcea87f1969ee2689f7789ebd738a19a5a41f5eae3b33c5b874b5c31ad8e872baa88374fae2047dbc76d4f1c0bc6d7ecbd4 SHA512 704f7b79d5bc78b817da21a6886662a5a97fde210a110c50f708bdc18e1dcf3ef5c5f4e2740261d41221cfc69c19926bf34e10057adf10601da9e6e06b2cef75 +DIST rtorrent-0.9.7.tar.gz 610149 BLAKE2B 3f1316b0142dade9662630ad40132c5968d7b0ded32d7ae13d1ec1fdb7fec794812203fece367bf6abfd02212ed94d308046d40eb3e7562c408e8da13b23c23d SHA512 e663bd8984bcec91868beaf16d215708bdea8872338365ba6a05c9ea830b2aff045257bbc8bd0414d84009ee85852822c97bb073dfb41c21e3b0081ecaeecc00 diff --git a/net-p2p/rtorrent/rtorrent-0.9.7.ebuild b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild new file mode 100644 index 000..f621ce1a181 --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.7.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools linux-info systemd + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="https://rakshasa.github.io/rtorrent/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="daemon debug selinux test xmlrpc" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=dev-libs/libsigc++-2.2.2:2 + >=net-misc/curl-7.19.1 + sys-libs/ncurses:0= + xmlrpc? ( dev-libs/xmlrpc-c )" +RDEPEND="${COMMON_DEPEND} + daemon? ( app-misc/screen ) + selinux? ( sec-policy/selinux-rtorrent ) +" +DEPEND="${COMMON_DEPEND} + dev-util/cppunit + virtual/pkgconfig" + +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 +} + +src_prepare() { + default + + # https://github.com/rakshasa/rtorrent/issues/332 + cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die + + eautoreconf +} + +src_configure() { + default + + # configure needs bash or script bombs out on some null shift, bug #291229 + CONFIG_SHELL=${BASH} econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_with xmlrpc xmlrpc-c) +} + +src_install() { + default + doman doc/rtorrent.1 + + if use daemon; then + newinitd "${FILESDIR}/rtorrentd.init" rtorrentd + newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd + systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/
commit: 427400b35fe4f1d1cafbad62458e2f5faae8b7e0 Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Sat Jan 20 19:46:41 2018 + Commit: Jason Zaman gentoo org> CommitDate: Sun Jan 21 04:04:15 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427400b3 net-p2p/rtorrent: Fix init script to ensure PID file is created By only replacing the PID in the stop action, we can ensure start-stop-daemon had time to create the PID file. Closes: https://bugs.gentoo.org/634852 Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-p2p/rtorrent/files/rtorrentd.init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init index 06fab7d2084..83943cd5661 100644 --- a/net-p2p/rtorrent/files/rtorrentd.init +++ b/net-p2p/rtorrent/files/rtorrentd.init @@ -21,13 +21,14 @@ start() { --env HOME="${PWHOME:-/home/$USER}" \ --name rtorrent \ --exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent - # Because we've daemonized with screen, we need to replace the PID file with the real PID of rtorrent - pgrep -P $(cat /var/run/rtorrentd.pid) > /var/run/rtorrentd.pid eend $? } stop() { ebegin "Stopping rtorrent" + # Because we've daemonized with screen, we need to replace the PID file with the real PID of rtorrent + pgrep -P $(cat /var/run/rtorrentd.pid) > /var/run/rtorrentd.pid + start-stop-daemon --stop --signal 15 \ --pidfile /var/run/rtorrentd.pid eend $?
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/files/
commit: d978fda5625ae8ce70c59898734775beca572c5f Author: Stephen Shkardoon ss23 geek nz> AuthorDate: Tue Jan 16 17:50:49 2018 + Commit: Jason Zaman gentoo org> CommitDate: Fri Jan 19 12:02:27 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d978fda5 net-p2p/rtorrent: Update init.d script to use correct PID Overwrites the start-stop-daemon created PID file with the child PID obtained by searching for children of screen. Closes: https://bugs.gentoo.org/634852 Package-Manager: Portage-2.3.13, Repoman-2.3.3 net-p2p/rtorrent/files/rtorrentd.init | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/files/rtorrentd.init b/net-p2p/rtorrent/files/rtorrentd.init index 9672759a7bf..06fab7d2084 100644 --- a/net-p2p/rtorrent/files/rtorrentd.init +++ b/net-p2p/rtorrent/files/rtorrentd.init @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 depend() { @@ -21,6 +21,8 @@ start() { --env HOME="${PWHOME:-/home/$USER}" \ --name rtorrent \ --exec /usr/bin/screen -- -D -m -S rtorrentd /usr/bin/rtorrent + # Because we've daemonized with screen, we need to replace the PID file with the real PID of rtorrent + pgrep -P $(cat /var/run/rtorrentd.pid) > /var/run/rtorrentd.pid eend $? }
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 4b189ea67b2394b4e4a5b57aaab0436a8d99eac5 Author: Jason Zaman gentoo org> AuthorDate: Fri Jan 19 12:08:12 2018 + Commit: Jason Zaman gentoo org> CommitDate: Fri Jan 19 12:20:07 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b189ea6 net-p2p/rtorrent: Add Stephen as proxy-maintainer Bug: https://bugs.gentoo.org/645020 Package-Manager: Portage-2.3.19, Repoman-2.3.6 net-p2p/rtorrent/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-p2p/rtorrent/metadata.xml b/net-p2p/rtorrent/metadata.xml index 4038cab8495..d53e157bb79 100644 --- a/net-p2p/rtorrent/metadata.xml +++ b/net-p2p/rtorrent/metadata.xml @@ -2,6 +2,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> + s...@ss23.geek.nz + Stephen Shkardoon + + perfin...@gentoo.org Jason Zaman
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 5d5d6f44ee0af34e3088085c3777c94332de7381 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Nov 10 23:38:40 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Nov 10 23:43:16 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5d6f44 net-p2p/rtorrent: stable 0.9.6-r1 for ppc64, bug #636348 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="ppc64" net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild index d6ea29ec697..1067098b666 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 6dda25d6ba9728fa00afedb3650cd6e9a95ffd10 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Nov 10 23:36:49 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Nov 10 23:43:15 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dda25d6 net-p2p/rtorrent: stable 0.9.6-r1 for ppc, bug #636348 Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="ppc" net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild index 89ba8019daa..d6ea29ec697 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 9217dd1aa2d5785f98997a53dbb65dbd4120ac27 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Nov 3 21:51:54 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Nov 3 21:51:54 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9217dd1a net-p2p/rtorrent: stable 0.9.6-r1 for sparc, bug #636348 (thanks to Rolf Eike Beer) Package-Manager: Portage-2.3.13, Repoman-2.3.4 RepoMan-Options: --include-arches="sparc" net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild index 049115416ef..89ba8019daa 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: b877e011d054300e68fd79e8ab31df4cc67855c5 Author: Jason Zaman gentoo org> AuthorDate: Fri Nov 3 07:55:18 2017 + Commit: Jason Zaman gentoo org> CommitDate: Fri Nov 3 07:58:28 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b877e011 net-p2p/rtorrent: 0.9.6-r1 stable on amd64 and x86 Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild index 483629ab5db..049115416ef 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 650ac703c4f672089fa16d2f74ab7bd1a408a50e Author: Jason Zaman gentoo org> AuthorDate: Sat Aug 19 07:02:27 2017 + Commit: Jason Zaman gentoo org> CommitDate: Sat Aug 19 10:07:03 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=650ac703 net-p2p/rtorrent: drop old Package-Manager: Portage-2.3.6, Repoman-2.3.1 net-p2p/rtorrent/Manifest | 2 - net-p2p/rtorrent/rtorrent-0.9.3.ebuild| 57 net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild | 62 --- 3 files changed, 121 deletions(-) diff --git a/net-p2p/rtorrent/Manifest b/net-p2p/rtorrent/Manifest index abc99eba05d..08a771ef4e6 100644 --- a/net-p2p/rtorrent/Manifest +++ b/net-p2p/rtorrent/Manifest @@ -1,3 +1 @@ -DIST rtorrent-0.9.3.tar.gz 583311 SHA256 9e93ca41beb1afe74ad7ad8013e0d53ae3586c9b0e97263d722f721535cc7310 SHA512 a6cc390795c0cf36bf70f4f141db3e176c81df0d6754fe2e6a95ef59385a70e7ce006fe81b83deff5b32e06cc771d03c5c7ba1140be64b2d252719e8aa2058f3 WHIRLPOOL 7cb2e51718596145ef8a07b1de0bb9ccd4dc923a4ec8091a3f775dffaafe5111873d43047e6e32720a202774454e53443e402010d956954f19cdfdb08983ec52 -DIST rtorrent-0.9.4.tar.gz 601913 SHA256 bc0a2c1ee613b68f37021beaf4e64a9252f91ed06f998c1e897897c354ce7e84 SHA512 ae243d0336acff50e91e4ed9d306beb4705559775518e6dc122ec18a1530e59e2c531cf54f4b79899a1569ca18d343fce255071b45c41df1357bddfe926692aa WHIRLPOOL 03eb3cff0f7d490ada2199310fd2ba7576de8e20557e532df49be17f84aa2afb9cb8137b2eb317bc0fb4ce8ce035e900c65c32e81dc5d5d215923d91e8c0612a DIST rtorrent-0.9.6.tar.gz 610845 SHA256 1e69c24f1f26f8f07d58d673480dc392bfc4317818c1115265b08a7813ff5b0e SHA512 704f7b79d5bc78b817da21a6886662a5a97fde210a110c50f708bdc18e1dcf3ef5c5f4e2740261d41221cfc69c19926bf34e10057adf10601da9e6e06b2cef75 WHIRLPOOL df5878014087d894e9796508627ec508ff5d042c78cc09e8d9ae57a7f9556bb549f9900e3995a7296420438ca0edda245907f8ae0c71d5a0ae28c3af7a6f992e diff --git a/net-p2p/rtorrent/rtorrent-0.9.3.ebuild b/net-p2p/rtorrent/rtorrent-0.9.3.ebuild deleted file mode 100644 index 59482a2254b..000 --- a/net-p2p/rtorrent/rtorrent-0.9.3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=4 - -inherit eutils - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="http://libtorrent.rakshasa.no/; -SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="daemon debug ipv6 selinux test xmlrpc" - -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} - >=dev-libs/libsigc++-2.2.2:2 - >=net-misc/curl-7.19.1 - sys-libs/ncurses - xmlrpc? ( dev-libs/xmlrpc-c )" -RDEPEND="${COMMON_DEPEND} - daemon? ( app-misc/screen ) - selinux? ( sec-policy/selinux-rtorrent ) -" -DEPEND="${COMMON_DEPEND} - test? ( dev-util/cppunit ) - virtual/pkgconfig" - -DOCS=( doc/rtorrent.rc ) - -src_prepare() { - # bug #358271 - epatch "${FILESDIR}"/${PN}-0.9.1-ncurses.patch - - # upstream forgot to include - cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die -} - -src_configure() { - # configure needs bash or script bombs out on some null shift, bug #291229 - CONFIG_SHELL=${BASH} econf \ - --disable-dependency-tracking \ - $(use_enable debug) \ - $(use_enable ipv6) \ - $(use_with xmlrpc xmlrpc-c) -} - -src_install() { - default - doman doc/rtorrent.1 - - if use daemon; then - newinitd "${FILESDIR}/rtorrentd.init" rtorrentd - newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd - fi -} diff --git a/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild deleted file mode 100644 index b737ce1d7fc..000 --- a/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools eutils systemd - -DESCRIPTION="BitTorrent Client using libtorrent" -HOMEPAGE="http://libtorrent.rakshasa.no/; -SRC_URI="http://libtorrent.rakshasa.no/downloads/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" -IUSE="daemon debug ipv6 selinux test xmlrpc" - -COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} - >=dev-libs/libsigc++-2.2.2:2 - >=net-misc/curl-7.19.1 - sys-libs/ncurses:0= - xmlrpc? ( dev-libs/xmlrpc-c )" -RDEPEND="${COMMON_DEPEND} - daemon? ( app-misc/screen ) - selinux? ( sec-policy/selinux-rtorrent ) -" -DEPEND="${COMMON_DEPEND} -
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/, net-p2p/rtorrent/files/
commit: cd9ec0ed5640e05a515e3f68cad24e9dad23c3c7 Author: Jason Zaman gentoo org> AuthorDate: Sat Aug 19 06:59:36 2017 + Commit: Jason Zaman gentoo org> CommitDate: Sat Aug 19 10:06:56 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd9ec0ed net-p2p/rtorrent: fix building against cppunit (bug 620908) Thanks to Nado and Ben Kohler Package-Manager: Portage-2.3.6, Repoman-2.3.1 .../files/rtorrent-0.9.6-cppunit-pkgconfig.patch | 28 ++ net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild | 63 ++ 2 files changed, 91 insertions(+) diff --git a/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch b/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch new file mode 100644 index 000..753f4cb8a7f --- /dev/null +++ b/net-p2p/rtorrent/files/rtorrent-0.9.6-cppunit-pkgconfig.patch @@ -0,0 +1,28 @@ +https://bugs.gentoo.org/620908 + +diff -ur a/configure.ac b/configure.ac +--- a/configure.ac 2017-08-17 08:52:49.596897308 -0500 b/configure.ac 2017-08-17 08:54:57.171515415 -0500 +@@ -4,7 +4,6 @@ + + AM_INIT_AUTOMAKE + AC_CONFIG_HEADERS(config.h) +-AM_PATH_CPPUNIT(1.9.6) + + AC_PROG_CXX + AC_PROG_LIBTOOL +@@ -43,9 +42,11 @@ + fi]) + ]) + +-CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" +-CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CURSES_CFLAGS" +-LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $LIBS" ++PKG_CHECK_MODULES([CPPUNIT], [cppunit],, [no_cppunit="yes"]) ++ ++CFLAGS="$CFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS" ++CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS $CPPUNIT_CFLAGS $CURSES_CFLAGS" ++LIBS="$PTHREAD_LIBS $CURSES_LIB $CURSES_LIBS $CPPUNIT_LIBS $LIBS" + + PKG_CHECK_MODULES([libcurl], libcurl >= 7.15.4, + CXXFLAGS="$CXXFLAGS $libcurl_CFLAGS"; diff --git a/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild new file mode 100644 index 000..483629ab5db --- /dev/null +++ b/net-p2p/rtorrent/rtorrent-0.9.6-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils systemd + +DESCRIPTION="BitTorrent Client using libtorrent" +HOMEPAGE="https://rakshasa.github.io/rtorrent/; +SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +IUSE="daemon debug ipv6 selinux test xmlrpc" + +COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.} + >=dev-libs/libsigc++-2.2.2:2 + >=net-misc/curl-7.19.1 + sys-libs/ncurses:0= + xmlrpc? ( dev-libs/xmlrpc-c )" +RDEPEND="${COMMON_DEPEND} + daemon? ( app-misc/screen ) + selinux? ( sec-policy/selinux-rtorrent ) +" +DEPEND="${COMMON_DEPEND} + dev-util/cppunit + virtual/pkgconfig" + +DOCS=( doc/rtorrent.rc ) + +src_prepare() { + # bug #358271 + epatch \ + "${FILESDIR}"/${PN}-0.9.1-ncurses.patch \ + "${FILESDIR}"/${PN}-0.9.4-tinfo.patch \ + "${FILESDIR}"/${PN}-0.9.6-cppunit-pkgconfig.patch + + # https://github.com/rakshasa/rtorrent/issues/332 + cp "${FILESDIR}"/rtorrent.1 "${S}"/doc/ || die + + eautoreconf +} + +src_configure() { + # configure needs bash or script bombs out on some null shift, bug #291229 + CONFIG_SHELL=${BASH} econf \ + --disable-dependency-tracking \ + $(use_enable debug) \ + $(use_enable ipv6) \ + $(use_with xmlrpc xmlrpc-c) +} + +src_install() { + default + doman doc/rtorrent.1 + + if use daemon; then + newinitd "${FILESDIR}/rtorrentd.init" rtorrentd + newconfd "${FILESDIR}/rtorrentd.conf" rtorrentd + systemd_newunit "${FILESDIR}/rtorrentd_at.service" "rtorrentd@.service" + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 15542cc25da107726af29a26fcbc58cb0d7e8544 Author: Jeroen Roovers gentoo org> AuthorDate: Sun May 14 10:20:35 2017 + Commit: Jeroen Roovers gentoo org> CommitDate: Sun May 14 10:21:12 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15542cc2 net-p2p/rtorrent: Stable for HPPA (bug #522706). Package-Manager: Portage-2.3.5, Repoman-2.3.2 RepoMan-Options: --ignore-arches net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild index 5543761779f..6de316711cb 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -11,7 +11,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 77b5c0fa9eb7e76685c8df7be846f720bfeb7fb7 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Apr 7 10:24:29 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Thu Apr 7 10:26:34 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77b5c0fa net-p2p/rtorrent: Stable for PPC64 (bug #522706). Package-Manager: portage-2.2.28 RepoMan-Options: --ignore-arches net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild index ef94751..5321742 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: ec0501d8acb508fe5bb59f261df585bcc5018ea7 Author: Pacho Ramos gentoo org> AuthorDate: Sat Jan 30 09:33:06 2016 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Jan 30 09:33:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0501d8 net-p2p/rtorrent: x86 stable, bug #522706 Package-Manager: portage-2.2.26 net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild index 2cd320d..ef94751 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 112e31f4633fdf3d3ea6ad04467abfcdbdf9521f Author: Jason Zaman gentoo org> AuthorDate: Tue Jan 26 14:12:12 2016 + Commit: Jason Zaman gentoo org> CommitDate: Tue Jan 26 14:12:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=112e31f4 net-p2p/rtorrent: Take over maintainership Package-Manager: portage-2.2.26 net-p2p/rtorrent/metadata.xml | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/net-p2p/rtorrent/metadata.xml b/net-p2p/rtorrent/metadata.xml index 332f4da..4038cab 100644 --- a/net-p2p/rtorrent/metadata.xml +++ b/net-p2p/rtorrent/metadata.xml @@ -1,13 +1,20 @@ http://www.gentoo.org/dtd/metadata.dtd;> - -Console BitTorrent client using ncurses based on libtorrent written in C++. - - -Uses app-misc/screen to daemonize this application - - -rakshasa/rtorrent - + + perfin...@gentoo.org + Jason Zaman + + + + Console BitTorrent client using ncurses based on libtorrent written in C++. + + + + Uses app-misc/screen to daemonize this application + + + + rakshasa/rtorrent +
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 2fa7ed8a3b82c7ab96df1733003ef5451b5b219e Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Jan 17 18:24:06 2016 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Jan 17 18:24:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fa7ed8a net-p2p/rtorrent: ppc stable wrt bug #522706 Package-Manager: portage-2.2.26 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild index 30c142e..2cd320d 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: 5a009923aa7ce9134a43e2ffcf726b7f3ec40897 Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Dec 25 15:12:49 2015 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Dec 25 15:12:49 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a009923 net-p2p/rtorrent: amd64 stable wrt bug #522706 Package-Manager: portage-2.2.24 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> net-p2p/rtorrent/rtorrent-0.9.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild index efbf026..30c142e 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.6.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.6.ebuild @@ -12,7 +12,7 @@ SRC_URI="http://rtorrent.net/downloads/${P}.tar.gz; LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" +KEYWORDS="amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris" IUSE="daemon debug ipv6 selinux test xmlrpc" COMMON_DEPEND="~net-libs/libtorrent-0.13.${PV##*.}
[gentoo-commits] repo/gentoo:master commit in: net-p2p/rtorrent/
commit: c24d3eba5c6f4ddc1fb03399204b26ec6955646d Author: Justin Lecher jlec AT gentoo DOT org AuthorDate: Sun Aug 16 13:43:05 2015 + Commit: Justin Lecher jlec AT gentoo DOT org CommitDate: Sun Aug 16 14:20:50 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24d3eba net-p2p/rtorrent: Use slot operators for ncurses Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher jlec AT gentoo.org net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild b/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild index c47b58d..5659667 100644 --- a/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild +++ b/net-p2p/rtorrent/rtorrent-0.9.4-r1.ebuild @@ -18,7 +18,7 @@ IUSE=daemon debug ipv6 selinux test xmlrpc COMMON_DEPEND=~net-libs/libtorrent-0.13.${PV##*.} =dev-libs/libsigc++-2.2.2:2 =net-misc/curl-7.19.1 - sys-libs/ncurses + sys-libs/ncurses:5= xmlrpc? ( dev-libs/xmlrpc-c ) RDEPEND=${COMMON_DEPEND} daemon? ( app-misc/screen )