2
0
mirror of https://github.com/gentoo-mirror/gentoo.git synced 2026-02-15 00:10:55 +03:00

www-apps/rutorrent: drop old

Signed-off-by: Henning Schild <henning@hennsch.de>
Part-of: https://github.com/gentoo/gentoo/pull/42043
Closes: https://github.com/gentoo/gentoo/pull/42043
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Henning Schild
2025-05-12 10:40:06 +02:00
committed by Viorel Munteanu
parent 38c104aa13
commit 20c14d0252
2 changed files with 0 additions and 72 deletions

View File

@@ -1,4 +1,3 @@
DIST rutorrent-4.3.10.tar.gz 2378291 BLAKE2B 2e676024e4b8fdec2a3e8b52715348dc7f4ae38adbdffb69e4f22b711d02eb49ce4de30e5e30e6a620819c39a6576c14b4fade6bc3b52a9212f1a96b23d96b99 SHA512 34a8f4b0bca721deb1d1fd017eed3cc722a785acafe2ca99ee56691028fce1fd92d069f69e2a4be18bef059c4c3f8a9d5eea54b86b9f6ed81401526337d7c856
DIST rutorrent-5.1.7.tar.gz 2742945 BLAKE2B 209e9b02897b866862afb9ed2d51f39684cf258aec2f3b6969ad611afe9c2087fb44c96091b78d85faa30ede3abad9669e35e644d3ec4c8aceeed6c931d4bf87 SHA512 a03c6097c61d9a23249c5f973ce92eea59eb296483a00469a3228a79623004acdd8c51b3f786962d015d12d6a46ce7a746ee9440f4c3b786009592d64736c1d0
DIST rutorrent-5.2.0.tar.gz 2744186 BLAKE2B 29fe4a86681454c5450de20f77d6944d1a7de75a258898fb27cf968cb54e49defc6d8a7337e87fc2e5268a697a249532f73b64bed8d1fd2b82e158fe9df9140f SHA512 ecd5d51fce3b89f8bb3def9b55922402a728cee6b63a16821f6a922aa14816e899db15d9a892faf214b920f653746d9ae6c38ab99ba715c575fd6d0b9ede6bae
DIST rutorrent-5.2.4.tar.gz 2744398 BLAKE2B fa3755a252f0e91689fa6a0dc3396de23e30d3e8202dc8ce81be8d1a4194d67fb3f5b2134e66c696d6b6df1f53288059c66e3f042cf1c16d03fb7f49b4aedcdf SHA512 4b60550c76339fe353e7632836c1e92c5570ad6354b6309fc56620d80695239f203469008fc8e4dada7dd3fc28b2da8e98eeaeecdebc649f342aafdcef38a109

View File

@@ -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
}