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 615F715838C for ; Sun, 21 Jan 2024 04:02:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8EF22BC01A; Sun, 21 Jan 2024 04:02:10 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 972CB2BC01A for ; Sun, 21 Jan 2024 04:02:10 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 80E42343300 for ; Sun, 21 Jan 2024 04:02:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CEB9314D3 for ; Sun, 21 Jan 2024 04:02:05 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1705809634.d19448d9cee152e4354a2a5b184d85fc6957f554.sam@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.2.10.ebuild X-VCS-Directories: www-apps/rutorrent/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d19448d9cee152e4354a2a5b184d85fc6957f554 X-VCS-Branch: master Date: Sun, 21 Jan 2024 04:02:05 +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: 5f2a9739-e2b2-422d-bc6a-61e1bc969346 X-Archives-Hash: b168d307b4e35454b733b8b993c31da1 commit: d19448d9cee152e4354a2a5b184d85fc6957f554 Author: Henning Schild hennsch de> AuthorDate: Sat Jan 20 19:04:39 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jan 21 04:00:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d19448d9 www-apps/rutorrent: bump version to 4.2.10 Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/34924 Signed-off-by: Sam James gentoo.org> www-apps/rutorrent/Manifest | 1 + www-apps/rutorrent/rutorrent-4.2.10.ebuild | 71 ++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index e64891a77b7e..9048badf117c 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1 +1,2 @@ +DIST rutorrent-4.2.10.tar.gz 2362233 BLAKE2B ea2b1b928e1a7c933ad6e85f5a18810d3f4bf11911da2926e26ba0329b54049dee24a456d0dedd98d106b3b9b460c791eae65a222cbe54ac0c2a49634b6b65a8 SHA512 b57e95591b835fd8d0c0e9acdf9c23dbaf6a37542c46397794da625edd02524af508510e0396308ddfe024d37c92e493134a13aae9dd28c5c642cdbd8d9264a5 DIST rutorrent-4.2.9.tar.gz 2361701 BLAKE2B 8383d49e7f7f8b2781e2d848fbcaf1607056c5f69bb677666fd2ce9c509bbe52d2c3dea04b68b5b2b9ef6801eb4b82ed80ce036298a4945daf8ce282da2d2dfb SHA512 cf7792e68006f60a99c903ca87f5e3f5f6d779874f2fb9d04e37c6283db9c5700e270f3d1c98557f9f971ec9c50cbb16a424f5acd50246212f7a016b2138359e diff --git a/www-apps/rutorrent/rutorrent-4.2.10.ebuild b/www-apps/rutorrent/rutorrent-4.2.10.ebuild new file mode 100644 index 000000000000..9c59d3d50153 --- /dev/null +++ b/www-apps/rutorrent/rutorrent-4.2.10.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2023 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 +}