summaryrefslogtreecommitdiff
path: root/www-apps/rutorrent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-28 11:12:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-28 11:12:20 +0100
commit7aa28e7310855bc5ef0d32b22e8b58eec55c28c9 (patch)
tree9ceae60214a212f74f44e47506754fdeafb6947a /www-apps/rutorrent
parent2099ff9b640e648be67527e29760263a7c6274e5 (diff)
gentoo auto-resync : 28:04:2023 - 11:12:20
Diffstat (limited to 'www-apps/rutorrent')
-rw-r--r--www-apps/rutorrent/Manifest4
-rw-r--r--www-apps/rutorrent/metadata.xml4
-rw-r--r--www-apps/rutorrent/rutorrent-4.1.3.ebuild71
3 files changed, 78 insertions, 1 deletions
diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest
index c21d4c1e24b8..23504bd64775 100644
--- a/www-apps/rutorrent/Manifest
+++ b/www-apps/rutorrent/Manifest
@@ -1,4 +1,6 @@
DIST rutorrent-4.0.2.tar.gz 2221825 BLAKE2B 96867dbd818949388dedbfeee80ae85d22c9f3b04636d66797a96fc7b1de7541128445a989f642d711bd93aaf0840b56fe4e7bb7f29a02d122d939039eeff835 SHA512 f1f3cf7712246c02c73753e5ec8c3b5c0af4797699adeabc59822c165d06d7291d50a2d065b2d729273f907e1ec288391b1f02bc733a2b40d3e818a2de983528
+DIST rutorrent-4.1.3.tar.gz 2248878 BLAKE2B 08c5a4580fbc1873b64e211cce5d0f2a92daa90bfdbc7900c7a4cfb24e5d2202afb87f6809e36191f8cbc08fd7a037eb63a4609e7c3c07d301b19a5cb2c28dc7 SHA512 c9f941bddc9759de1b183bfb9bb9eb91e91477409fc475f4585cdd90d24aeefe5e56aefa6ae45ed84bee369b4cc51f5bca64b07f8624d48246b6bc82aaaee9fb
EBUILD rutorrent-4.0.2.ebuild 1830 BLAKE2B 10c3015824921e3fc31ea96556f5aad6f1b14f4402908c493164f1246f5344105c9b07212f4e4ab04823845b80aecfbda94ab5cfa833d161bd41eed00e0d91c6 SHA512 78c7a623007cfedfca04866b080da88dd0bd8655c78900030fe5a06040b0a11b93bacc72426eb20abf909e76d2a8fd4bbaf35b5e500b0980aead05627eabf78b
+EBUILD rutorrent-4.1.3.ebuild 1830 BLAKE2B 10c3015824921e3fc31ea96556f5aad6f1b14f4402908c493164f1246f5344105c9b07212f4e4ab04823845b80aecfbda94ab5cfa833d161bd41eed00e0d91c6 SHA512 78c7a623007cfedfca04866b080da88dd0bd8655c78900030fe5a06040b0a11b93bacc72426eb20abf909e76d2a8fd4bbaf35b5e500b0980aead05627eabf78b
EBUILD rutorrent-9999.ebuild 1830 BLAKE2B 10c3015824921e3fc31ea96556f5aad6f1b14f4402908c493164f1246f5344105c9b07212f4e4ab04823845b80aecfbda94ab5cfa833d161bd41eed00e0d91c6 SHA512 78c7a623007cfedfca04866b080da88dd0bd8655c78900030fe5a06040b0a11b93bacc72426eb20abf909e76d2a8fd4bbaf35b5e500b0980aead05627eabf78b
-MISC metadata.xml 409 BLAKE2B c76ee9c6b54abf93c317a9a167713ca78727352e24418339d20971b9d19b0d0f65482588a322a4614520c4315b8e53d2d73fdba1797ed8ac5f1bdfe4e8902e87 SHA512 30466e75d80306c53d1cf4270ccef16e6a35dca1db840217264df155c1b4a3be4b94e8d31d4262e79fee52a9f42c9c8b39f6b4ae27d05a48f32e65a73edeeb9c
+MISC metadata.xml 532 BLAKE2B bda4bb0ebd276f6f799362f8057f849c53a3e13ea6f7884363ed4c56cd01f9c25b390fbb0f75741bc5fc20f07ef64a597e9b6179736eb91f1ba110473ff11763 SHA512 b828c0cf6eec5ea72e08388845affc378cd2c81571ad99dbe612b9a871434371ce3dfc4492a8b70645677eb17d324060b0de98bf6c112bd2da24f4d02b5f2552
diff --git a/www-apps/rutorrent/metadata.xml b/www-apps/rutorrent/metadata.xml
index ef39dade492d..faa46192acdb 100644
--- a/www-apps/rutorrent/metadata.xml
+++ b/www-apps/rutorrent/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>henning@hennsch.de</email>
+ <name>Henning Schild</name>
+ </maintainer>
<maintainer type="project">
<email>web-apps@gentoo.org</email>
<name>Gentoo Webapps</name>
diff --git a/www-apps/rutorrent/rutorrent-4.1.3.ebuild b/www-apps/rutorrent/rutorrent-4.1.3.ebuild
new file mode 100644
index 000000000000..f7dbb6ae40d3
--- /dev/null
+++ b/www-apps/rutorrent/rutorrent-4.1.3.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
+}