public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Viorel Munteanu" <ceamac@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/rutorrent/
Date: Sun,  1 Oct 2023 16:22:29 +0000 (UTC)	[thread overview]
Message-ID: <1696177289.cea42a65013a85aedbd84b33bfb42f386a3ff5fa.ceamac@gentoo> (raw)

commit:     cea42a65013a85aedbd84b33bfb42f386a3ff5fa
Author:     Henning Schild <henning <AT> hennsch <DOT> de>
AuthorDate: Thu Sep 28 20:18:00 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Oct  1 16:21:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cea42a65

www-apps/rutorrent: bump version to 4.2.6

Signed-off-by: Henning Schild <henning <AT> hennsch.de>
Closes: https://github.com/gentoo/gentoo/pull/33112
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 www-apps/rutorrent/Manifest               |  1 +
 www-apps/rutorrent/rutorrent-4.2.6.ebuild | 71 +++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)

diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest
index 5f87ef9396c4..70e79a73e6eb 100644
--- a/www-apps/rutorrent/Manifest
+++ b/www-apps/rutorrent/Manifest
@@ -1 +1,2 @@
 DIST rutorrent-4.1.6.tar.gz 2256263 BLAKE2B 7767d4c79473239303cda844e95804e5ff02bae3a037e83caf619c02fb16172057226d426d1b8ba7155dc8dc8602d59a631f9336271979d463bf7478cfa529a1 SHA512 e6c38712c1cb2836fe5172212294382431832359dec9f60f2654d5ce934a7ff3164b86b846db5db0541737d1133e1bbc7c61e688e28f02eece3837cd1d201d1a
+DIST rutorrent-4.2.6.tar.gz 2360873 BLAKE2B 810dc7e237114df6f013b2a663c29ea581c27518415f6abb0c8ae0648bb18a352caa236bc877627d2145833c7e23cf39d55c15221285598d1a05ab223c3fed7d SHA512 0c561ae738f88990e1d374ad55de02cd9e842a9a674a6dd221711a8f52e1ce2ce627e151461fcf7286a8459960dc897858f24c2fe3671f705ed90b63f60123fb

diff --git a/www-apps/rutorrent/rutorrent-4.2.6.ebuild b/www-apps/rutorrent/rutorrent-4.2.6.ebuild
new file mode 100644
index 000000000000..f7dbb6ae40d3
--- /dev/null
+++ b/www-apps/rutorrent/rutorrent-4.2.6.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit webapp optfeature
+
+DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent"
+HOMEPAGE="https://github.com/Novik/ruTorrent"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/Novik/ruTorrent.git"
+else
+	SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+	S="${WORKDIR}/ruTorrent-${PV}"
+fi
+
+LICENSE="GPL-2+ MIT"
+
+RDEPEND="
+	dev-lang/php[xml,gd]
+	virtual/httpd-php
+"
+
+need_httpd_cgi
+
+pkg_setup() {
+	webapp_pkg_setup
+}
+
+src_install() {
+	webapp_src_preinst
+
+	rm -r .github || die
+	find . \( -name .gitignore -o -name .gitmodules \) -type f -delete || die
+	if [[ ${PV} == 9999 ]]; then
+		rm -r .git .gitattributes || die
+	fi
+
+	insinto "${MY_HTDOCSDIR}"
+	doins -r .
+
+	# can not use fperms beacuse of globbing
+	chmod +x "${ED}${MY_HTDOCSDIR}"/plugins/*/*.sh \
+		"${ED}${MY_HTDOCSDIR}"/php/test.sh || die "chmod failed"
+
+	keepdir "${MY_HTDOCSDIR}"/conf/users
+	keepdir "${MY_HTDOCSDIR}"/share/settings
+	keepdir "${MY_HTDOCSDIR}"/share/torrents
+	keepdir "${MY_HTDOCSDIR}"/share/users
+
+	webapp_serverowned -R "${MY_HTDOCSDIR}"/conf
+	webapp_serverowned -R "${MY_HTDOCSDIR}"/share
+
+	webapp_configfile "${MY_HTDOCSDIR}"/conf/.htaccess
+	webapp_configfile "${MY_HTDOCSDIR}"/conf/config.php
+	webapp_configfile "${MY_HTDOCSDIR}"/conf/access.ini
+	webapp_configfile "${MY_HTDOCSDIR}"/conf/plugins.ini
+	webapp_configfile "${MY_HTDOCSDIR}"/share/.htaccess
+
+	webapp_src_install
+}
+
+pkg_postinst() {
+	webapp_pkg_postinst
+
+	optfeature "Show audio file spectogram" media-sound/sox
+	optfeature "Display media file information" media-video/mediainfo
+	optfeature "Scrape Cloudflare based sites" dev-python/cloudscraper
+}


             reply	other threads:[~2023-10-01 16:22 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-01 16:22 Viorel Munteanu [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-28 15:53 [gentoo-commits] repo/gentoo:master commit in: www-apps/rutorrent/ Viorel Munteanu
2024-10-28 15:53 Viorel Munteanu
2024-10-18 17:16 Viorel Munteanu
2024-10-18 17:16 Viorel Munteanu
2024-09-26 16:53 Viorel Munteanu
2024-08-27 11:47 Viorel Munteanu
2024-07-12  6:53 Viorel Munteanu
2024-07-12  6:53 Viorel Munteanu
2024-06-24  6:28 Viorel Munteanu
2024-06-24  6:28 Viorel Munteanu
2024-06-23  7:13 Viorel Munteanu
2024-06-23  7:13 Viorel Munteanu
2024-06-14  5:19 Viorel Munteanu
2024-01-30  5:37 Viorel Munteanu
2024-01-21  8:00 Viorel Munteanu
2024-01-21  4:02 Sam James
2023-12-27 13:47 Viorel Munteanu
2023-12-23  9:26 Viorel Munteanu
2023-12-08 20:05 Arthur Zamarin
2023-10-18 16:15 Viorel Munteanu
2023-06-16  6:43 Viorel Munteanu
2023-06-16  5:55 Viorel Munteanu
2023-05-09  4:56 Viorel Munteanu
2023-04-28  8:26 Viorel Munteanu
2023-04-28  8:26 Viorel Munteanu
2023-04-28  8:26 Viorel Munteanu
2023-03-02 18:06 Viorel Munteanu
2023-03-01 18:05 Viorel Munteanu
2022-08-31 22:56 John Helmert III
2021-01-10 22:27 Sam James
2018-01-11  5:33 Michael Palimaka
2018-01-10  8:44 Michael Palimaka
2018-01-10  8:44 Michael Palimaka
2018-01-10  8:44 Michael Palimaka
2015-09-01 20:11 Tobias Klausmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1696177289.cea42a65013a85aedbd84b33bfb42f386a3ff5fa.ceamac@gentoo \
    --to=ceamac@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox