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 E6D851581C1 for ; Fri, 12 Jul 2024 06:53:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2ADEB2BC128; Fri, 12 Jul 2024 06:53:39 +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 058F82BC030 for ; Fri, 12 Jul 2024 06:53:39 +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 F1DFF34307F for ; Fri, 12 Jul 2024 06:53:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B7F91BFE for ; Fri, 12 Jul 2024 06:53:36 +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: <1720766870.09132c3d44cd2b11041194ebd120e0e9320f4f77.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.3.6.ebuild X-VCS-Directories: www-apps/rutorrent/ X-VCS-Committer: ceamac X-VCS-Committer-Name: Viorel Munteanu X-VCS-Revision: 09132c3d44cd2b11041194ebd120e0e9320f4f77 X-VCS-Branch: master Date: Fri, 12 Jul 2024 06:53:36 +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: af523b89-906b-47c6-8ad4-c3fb7f7f5d60 X-Archives-Hash: 6a4c4f1e391c85bac4ac391ff928be08 commit: 09132c3d44cd2b11041194ebd120e0e9320f4f77 Author: Anthony Ryan gmail com> AuthorDate: Fri Jul 12 01:07:03 2024 +0000 Commit: Viorel Munteanu gentoo org> CommitDate: Fri Jul 12 06:47:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09132c3d www-apps/rutorrent: add 4.3.6 Signed-off-by: Anthony Ryan gmail.com> Signed-off-by: Viorel Munteanu gentoo.org> www-apps/rutorrent/Manifest | 1 + www-apps/rutorrent/rutorrent-4.3.6.ebuild | 71 +++++++++++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index 6530e80f9055..4ef84da3d238 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1,2 +1,3 @@ DIST rutorrent-4.3.4.tar.gz 2377757 BLAKE2B 476026f255d22bf39c94284556403e7cc3ec9ed6dc1ed04f25ac6c82c14e7be32c17dca4e542cc8354673dbf572d1b1ebf0d6af3f013b16fae07cdf31aa4a01b SHA512 b141e58584d71ec42dc6c81b19036f9927afe16c79b74a6d881ad35946fe9e1b5c9f5bdbe99b1619396b59a08501e9123e9171da50e337cea8ad05daa7a76795 DIST rutorrent-4.3.5.tar.gz 2377763 BLAKE2B 7424a45d29a7257b88a1c54b225bc287e9df4be796eb72cf112432ed06ed4fe02465815746a193f3b4cc6f47fa0929dae98166d599100ce2faf7cb563a399b4e SHA512 04694aaea5000f8dd60cc806f6352735aa4445434198aa9ab4a34c1a2070ef1e087856704f1ccddcaa8d03376da8e489dbb1ee8387f79fe9a00de8266e799d27 +DIST rutorrent-4.3.6.tar.gz 2377710 BLAKE2B f3bab570ebf7e577d0587ed4fef7e1cb5c40e256f9b4bc6f8cdb603ef516ad6a666ea52314f4c3f6e0ab4991e6027e12e5d6c76320b58747eaf37d0e52e6d6a8 SHA512 bfed8e799b0261f974678f24056070339b443cd24fa53db14585d141e31237c391d51a0bb4675c39930a3288d6cd758524dc77711f7e46e3af0d1df4bbc97917 diff --git a/www-apps/rutorrent/rutorrent-4.3.6.ebuild b/www-apps/rutorrent/rutorrent-4.3.6.ebuild new file mode 100644 index 000000000000..97453fadf5c8 --- /dev/null +++ b/www-apps/rutorrent/rutorrent-4.3.6.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 +}