mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
www-apps/rutorrent: bump version to 4.3.3
Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/37094 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
committed by
Viorel Munteanu
parent
321c209bec
commit
47eecf41f5
@@ -1 +1,2 @@
|
||||
DIST rutorrent-4.2.10.tar.gz 2362233 BLAKE2B ea2b1b928e1a7c933ad6e85f5a18810d3f4bf11911da2926e26ba0329b54049dee24a456d0dedd98d106b3b9b460c791eae65a222cbe54ac0c2a49634b6b65a8 SHA512 b57e95591b835fd8d0c0e9acdf9c23dbaf6a37542c46397794da625edd02524af508510e0396308ddfe024d37c92e493134a13aae9dd28c5c642cdbd8d9264a5
|
||||
DIST rutorrent-4.3.3.tar.gz 2377736 BLAKE2B ae07dce8c13268403a47ef20a3920228028578991b7325b808885e4576e4883859eb49dff6e6d0d0750ed1b58e900c6b8f4c646018b1b16ca5d0d919e3011971 SHA512 0301f512f8adb86a332dacac200c83cf49f0d532eb5e5206b137587a219914591932a801e9c711af60b1e91a430ed09ec99157c2a558cdf80828828e70eb0cb7
|
||||
|
||||
71
www-apps/rutorrent/rutorrent-4.3.3.ebuild
Normal file
71
www-apps/rutorrent/rutorrent-4.3.3.ebuild
Normal file
@@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2024 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