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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB022158030 for ; Wed, 1 Mar 2023 18:05:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 15FC9E079E; Wed, 1 Mar 2023 18:05:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 E0754E079E for ; Wed, 1 Mar 2023 18:05:05 +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 B8564335CB7 for ; Wed, 1 Mar 2023 18:05:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B5638C2 for ; Wed, 1 Mar 2023 18:05:03 +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: <1677693525.e577947202453dc58c5656bc759d8d69333560f6.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-4.0.2.ebuild www-apps/rutorrent/rutorrent-9999.ebuild X-VCS-Directories: www-apps/rutorrent/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: e577947202453dc58c5656bc759d8d69333560f6 X-VCS-Branch: master Date: Wed, 1 Mar 2023 18:05:03 +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: 95468206-9a08-4fe2-9404-e9c75a0a1232 X-Archives-Hash: 6c6378d1de548fdfaeca45b2bc518573 commit: e577947202453dc58c5656bc759d8d69333560f6 Author: Henning Schild hennsch de> AuthorDate: Sun Jan 8 13:06:07 2023 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Wed Mar 1 17:58:45 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5779472 www-apps/rutorrent: bump version to 4.0.2 and update 9999 Note that rutorrent-9999.ebuild is now just a copy of the latest version. Closes: https://bugs.gentoo.org/730206 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/29010 Signed-off-by: Viorel Munteanu gentoo.org> www-apps/rutorrent/Manifest | 1 + ...utorrent-9999.ebuild => rutorrent-4.0.2.ebuild} | 54 +++++++++++++--------- www-apps/rutorrent/rutorrent-9999.ebuild | 54 +++++++++++++--------- 3 files changed, 67 insertions(+), 42 deletions(-) diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index 1b3fff019b61..d9b4d4d904a5 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1 +1,2 @@ DIST rutorrent-3.8.tar.gz 1241643 BLAKE2B c432e8691d35447cd0698eee8edeee4060238dc39cc8cbb178c1169f166fa1d483493181ce0d2f468106ae01dd0f58d4fbb2f334de393fabb2b0aa73363e2b7f SHA512 ea3dfa74234a1eafcbc9e71d6c6d953a46fdf8e189237b8df0ec58cf46ac30404f7a15bb783ec7567ab6f28daa3987ee219039dd360e3c48d16aea244263c9b6 +DIST rutorrent-4.0.2.tar.gz 2221825 BLAKE2B 96867dbd818949388dedbfeee80ae85d22c9f3b04636d66797a96fc7b1de7541128445a989f642d711bd93aaf0840b56fe4e7bb7f29a02d122d939039eeff835 SHA512 f1f3cf7712246c02c73753e5ec8c3b5c0af4797699adeabc59822c165d06d7291d50a2d065b2d729273f907e1ec288391b1f02bc733a2b40d3e818a2de983528 diff --git a/www-apps/rutorrent/rutorrent-9999.ebuild b/www-apps/rutorrent/rutorrent-4.0.2.ebuild similarity index 51% copy from www-apps/rutorrent/rutorrent-9999.ebuild copy to www-apps/rutorrent/rutorrent-4.0.2.ebuild index ad651140c198..f7dbb6ae40d3 100644 --- a/www-apps/rutorrent/rutorrent-9999.ebuild +++ b/www-apps/rutorrent/rutorrent-4.0.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit webapp +inherit webapp optfeature DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent" HOMEPAGE="https://github.com/Novik/ruTorrent" @@ -13,41 +13,45 @@ if [[ ${PV} == 9999 ]]; then else SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~ppc ~x86" + S="${WORKDIR}/ruTorrent-${PV}" fi -LICENSE="GPL-2" -IUSE="" +LICENSE="GPL-2+ MIT" -need_httpd_cgi +RDEPEND=" + dev-lang/php[xml,gd] + virtual/httpd-php +" -DEPEND="dev-lang/php[xml,gd]" -RDEPEND="virtual/httpd-php" +need_httpd_cgi pkg_setup() { webapp_pkg_setup } -src_prepare() { - default - find -name '\.gitignore' -type f -exec rm -rf {} \; - if [[ ${PV} == 9999 ]]; then - rm -rf .git - fi -} - 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" + "${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 "${MY_HTDOCSDIR}"/share - webapp_serverowned "${MY_HTDOCSDIR}"/share/settings - webapp_serverowned "${MY_HTDOCSDIR}"/share/torrents - webapp_serverowned "${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 @@ -57,3 +61,11 @@ src_install() { 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 +} diff --git a/www-apps/rutorrent/rutorrent-9999.ebuild b/www-apps/rutorrent/rutorrent-9999.ebuild index ad651140c198..f7dbb6ae40d3 100644 --- a/www-apps/rutorrent/rutorrent-9999.ebuild +++ b/www-apps/rutorrent/rutorrent-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 -inherit webapp +inherit webapp optfeature DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent" HOMEPAGE="https://github.com/Novik/ruTorrent" @@ -13,41 +13,45 @@ if [[ ${PV} == 9999 ]]; then else SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~ppc ~x86" + S="${WORKDIR}/ruTorrent-${PV}" fi -LICENSE="GPL-2" -IUSE="" +LICENSE="GPL-2+ MIT" -need_httpd_cgi +RDEPEND=" + dev-lang/php[xml,gd] + virtual/httpd-php +" -DEPEND="dev-lang/php[xml,gd]" -RDEPEND="virtual/httpd-php" +need_httpd_cgi pkg_setup() { webapp_pkg_setup } -src_prepare() { - default - find -name '\.gitignore' -type f -exec rm -rf {} \; - if [[ ${PV} == 9999 ]]; then - rm -rf .git - fi -} - 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" + "${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 "${MY_HTDOCSDIR}"/share - webapp_serverowned "${MY_HTDOCSDIR}"/share/settings - webapp_serverowned "${MY_HTDOCSDIR}"/share/torrents - webapp_serverowned "${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 @@ -57,3 +61,11 @@ src_install() { 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 +}