commit: bf548293f6d583dee523fe802721fbec18f46293 Author: Henning Schild <henning <AT> hennsch <DOT> de> AuthorDate: Sun May 25 07:37:29 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue May 27 08:27:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf548293
www-apps/rutorrent: add 5.2.6 Signed-off-by: Henning Schild <henning <AT> hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/42247 Signed-off-by: Sam James <sam <AT> gentoo.org> www-apps/rutorrent/Manifest | 1 + www-apps/rutorrent/rutorrent-5.2.6.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index 4855dc41079c..73772e46b345 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1,3 +1,4 @@ DIST rutorrent-4.3.10.tar.gz 2378291 BLAKE2B 2e676024e4b8fdec2a3e8b52715348dc7f4ae38adbdffb69e4f22b711d02eb49ce4de30e5e30e6a620819c39a6576c14b4fade6bc3b52a9212f1a96b23d96b99 SHA512 34a8f4b0bca721deb1d1fd017eed3cc722a785acafe2ca99ee56691028fce1fd92d069f69e2a4be18bef059c4c3f8a9d5eea54b86b9f6ed81401526337d7c856 DIST rutorrent-5.2.4.tar.gz 2744398 BLAKE2B fa3755a252f0e91689fa6a0dc3396de23e30d3e8202dc8ce81be8d1a4194d67fb3f5b2134e66c696d6b6df1f53288059c66e3f042cf1c16d03fb7f49b4aedcdf SHA512 4b60550c76339fe353e7632836c1e92c5570ad6354b6309fc56620d80695239f203469008fc8e4dada7dd3fc28b2da8e98eeaeecdebc649f342aafdcef38a109 DIST rutorrent-5.2.5.tar.gz 2744458 BLAKE2B 427b08a0a5c7ff680d8830153d46d7ff614171d34c1fb88d4acae9dce5651c22f04c843a8dfd510338ad1928dfe939e1f3aed99122152774a4063eeaf85241ab SHA512 1dfbb1bf52d4f950b4cf22cf4a7190f5c52be4d60518492183e04370e1e867d6a9d82ab7c103f6260e09b6adb64cc0c75d2a72e371623a1c1238c0ff56f1580f +DIST rutorrent-5.2.6.tar.gz 2746482 BLAKE2B 90a9e9e4ef39158494c68540f0b8b2387ee7dad406603bd3f2a1e42bfb157b2e68b92ace944c86a98554a0919eeb8d073b496eb28451a462e85090344cb67096 SHA512 d119f8336768ebbded66ae19d6b3af5cad098d53954f62436f0ae75da84c755ccf60dcc5d4f969dca2cf3312b491e6d44c81c5f1833c67301e5a701ac6ad06be diff --git a/www-apps/rutorrent/rutorrent-5.2.6.ebuild b/www-apps/rutorrent/rutorrent-5.2.6.ebuild new file mode 100644 index 000000000000..4d1d469d1e5c --- /dev/null +++ b/www-apps/rutorrent/rutorrent-5.2.6.ebuild @@ -0,0 +1,71 @@ +# 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 +}
