mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
www-apps/rutorrent: drop old
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/41584 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
committed by
Viorel Munteanu
parent
cec8a6a8f4
commit
354ea2d765
@@ -1,3 +1,2 @@
|
||||
DIST rutorrent-4.3.10.tar.gz 2378291 BLAKE2B 2e676024e4b8fdec2a3e8b52715348dc7f4ae38adbdffb69e4f22b711d02eb49ce4de30e5e30e6a620819c39a6576c14b4fade6bc3b52a9212f1a96b23d96b99 SHA512 34a8f4b0bca721deb1d1fd017eed3cc722a785acafe2ca99ee56691028fce1fd92d069f69e2a4be18bef059c4c3f8a9d5eea54b86b9f6ed81401526337d7c856
|
||||
DIST rutorrent-5.1.6.tar.gz 2742956 BLAKE2B bfbf420653da9c71d2257dcd68bc5085f8a7ab04302b251412840f54ff32b3b751ff6eecb0cec9fb3a826da91a02390cbaac65de74d24bfd8be5d52930b6a161 SHA512 8a686b4143c9083874a53c58893a0d6f7914ca7363f04e1151557ef3ce67a88406ce01a2a3d10ca0a0f978c98688bd7cf335bb43def1a354ea0a5053cd5c5e4c
|
||||
DIST rutorrent-5.1.7.tar.gz 2742945 BLAKE2B 209e9b02897b866862afb9ed2d51f39684cf258aec2f3b6969ad611afe9c2087fb44c96091b78d85faa30ede3abad9669e35e644d3ec4c8aceeed6c931d4bf87 SHA512 a03c6097c61d9a23249c5f973ce92eea59eb296483a00469a3228a79623004acdd8c51b3f786962d015d12d6a46ce7a746ee9440f4c3b786009592d64736c1d0
|
||||
|
||||
@@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2025 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="~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
|
||||
}
|
||||
Reference in New Issue
Block a user