From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1706F15802C for ; Mon, 16 Dec 2024 18:21:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5848CE07C5; Mon, 16 Dec 2024 18:21:00 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F142DE07D0 for ; Mon, 16 Dec 2024 18:20:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9F3134072E for ; Mon, 16 Dec 2024 18:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDCC0AED for ; Mon, 16 Dec 2024 18:20:55 +0000 (UTC) From: "Viorel Munteanu" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Viorel Munteanu" Message-ID: <1734372335.4110f7d8606f14bfa7573e1c547f3ec1585011ea.ceamac@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/rutorrent/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/rutorrent/Manifest www-apps/rutorrent/rutorrent-5.1.4.ebuild X-VCS-Directories: www-apps/rutorrent/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 4110f7d8606f14bfa7573e1c547f3ec1585011ea X-VCS-Branch: master Date: Mon, 16 Dec 2024 18:20:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b0d0003-f24a-40b8-8c21-36a0842d666c X-Archives-Hash: 2c3e9f4fecaed9b1dd1dc95160b9c2ae commit: 4110f7d8606f14bfa7573e1c547f3ec1585011ea Author: Henning Schild hennsch de> AuthorDate: Mon Dec 16 17:54:20 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Mon Dec 16 18:05:35 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4110f7d8 www-apps/rutorrent: add 5.1.4 Signed-off-by: Henning Schild hennsch.de> Signed-off-by: Viorel Munteanu gentoo.org> www-apps/rutorrent/Manifest | 1 + www-apps/rutorrent/rutorrent-5.1.4.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index 52e2392b190f..95036779a477 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1,2 +1,3 @@ DIST rutorrent-4.3.10.tar.gz 2378291 BLAKE2B 2e676024e4b8fdec2a3e8b52715348dc7f4ae38adbdffb69e4f22b711d02eb49ce4de30e5e30e6a620819c39a6576c14b4fade6bc3b52a9212f1a96b23d96b99 SHA512 34a8f4b0bca721deb1d1fd017eed3cc722a785acafe2ca99ee56691028fce1fd92d069f69e2a4be18bef059c4c3f8a9d5eea54b86b9f6ed81401526337d7c856 DIST rutorrent-5.1.3.tar.gz 2694675 BLAKE2B 0476db6f725c2bb9edd1b3b5f780dd4e693b823b6e21eb145d6a37c7929c56400a269d91a60ce8f1f7163338a90abbe6bc23c52dbad242ffa84fc9d7978433cc SHA512 08b2ad655dff9027cac22f975b89ab34cf66b1e833d68e76a87309cbb5671ba0d979fd53ff2e9cc93eaf49b9d53198e5d83336fca10b16120d8fc0834cbdeb24 +DIST rutorrent-5.1.4.tar.gz 2694610 BLAKE2B aa02dc87dc4f228aa4ac24f7dea8d5c80500d275b8a60f29bea8098a784c413eac8b902d55395dfc51d83f6c0634dcf61e0c69a86732f69d30cde55135896b0d SHA512 fc318ece9199d203589cb28d0cf4565b7ce2288d00862c61d1ddcc713a77cc0682f446c983a81f59029c61ce09c5811871854a9c017864a657c9a4a27d039919 diff --git a/www-apps/rutorrent/rutorrent-5.1.4.ebuild b/www-apps/rutorrent/rutorrent-5.1.4.ebuild new file mode 100644 index 000000000000..97453fadf5c8 --- /dev/null +++ b/www-apps/rutorrent/rutorrent-5.1.4.ebuild @@ -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 +}