mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-apps/rutorrent: drop old
Signed-off-by: Henning Schild <henning@hennsch.de> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1401 Merges: https://codeberg.org/gentoo/gentoo/pulls/1401 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
7e491dec86
commit
f976ac8cfc
@@ -1,3 +1,2 @@
|
||||
DIST rutorrent-5.3.4.tar.gz 3033590 BLAKE2B 5052fb4e8353588d8fcc0c18013366f72e2e28ab64141a17fe02e183c693ea450fb3ec7ecc8a706001087a0153a442d2fd76d0b33820674de35b5c54522f55ba SHA512 b2d9666f7693f225ac30c5fa17fa1cca6cc6d84f89ce07f5c42e5ae13081e80c77b8891485836fbeaa81a5cd5c55c78fe69ca5063f326dcb1b64ebf6aa816b54
|
||||
DIST rutorrent-5.3.5.tar.gz 3033870 BLAKE2B 1d51b6546cfd0d1423a41106380a927832f800b0192a08c99eb49bb2fccb84bc7b01c5a533b1d1d291c1a41fe57f1637c8efeeb7af7042319266fd881dc5a24d SHA512 25dc9458e8801bb53a330e143352e0983300a73c1b0958299e4018d6468baf84c1ac46931bda04007e8f0b331d2efa6df37ff6cd969245b7a59df666ed86ff22
|
||||
DIST rutorrent-5.3.7.tar.gz 3039688 BLAKE2B be663bb343776b8f42f4f8fa6f3358b381b7894eb09d240cf183887840ccb011224f571948802183cb3943a8045ac10f1e48053c7fdcc37781162126c8f980c8 SHA512 9bf544c2102daf78c8933c009ccd770f285210b1d5c7998e6d547b2f88cf310450139b7bbd40323515c090d23d3909eec2a9d8785482a885e353c9f2fdeb19c8
|
||||
|
||||
@@ -1,82 +0,0 @@
|
||||
# Copyright 1999-2026 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_BRANCH="develop"
|
||||
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="~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_prepare() {
|
||||
rm -r .github || die
|
||||
rm -r .vscode || die
|
||||
rm -r tests || die
|
||||
find . \( -name .gitignore -o -name .gitmodules \) -type f -delete || die
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
rm -r .git .gitattributes || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
local docs="LICENSE.md README.md htaccess-example"
|
||||
dodoc ${docs}
|
||||
rm ${docs} || die
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user