From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id E5B431580EB for ; Tue, 27 May 2025 08:28:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D1617343153 for ; Tue, 27 May 2025 08:28:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id CCD291104B3; Tue, 27 May 2025 08:28:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id C69651104B3 for ; Tue, 27 May 2025 08:28:17 +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 7FFAB343121 for ; Tue, 27 May 2025 08:28:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC54828E5 for ; Tue, 27 May 2025 08:28:14 +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: <1748334462.bf548293f6d583dee523fe802721fbec18f46293.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-5.2.6.ebuild X-VCS-Directories: www-apps/rutorrent/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bf548293f6d583dee523fe802721fbec18f46293 X-VCS-Branch: master Date: Tue, 27 May 2025 08:28:14 +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: 61b6b05d-9873-4e6a-a3a5-c34ac542a013 X-Archives-Hash: b1d05c66f65499716e9dd7eca983b637 commit: bf548293f6d583dee523fe802721fbec18f46293 Author: Henning Schild hennsch de> AuthorDate: Sun May 25 07:37:29 2025 +0000 Commit: Sam James gentoo 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 hennsch.de> Part-of: https://github.com/gentoo/gentoo/pull/42247 Signed-off-by: Sam James 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 +}