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 EF01A1581F2 for ; Sat, 11 Jan 2025 23:38:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F129E0822; Sat, 11 Jan 2025 23:38:16 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 pigeon.gentoo.org (Postfix) with ESMTPS id A317CE0817 for ; Sat, 11 Jan 2025 23:38:15 +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 36D28342FF2 for ; Sat, 11 Jan 2025 23:38:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B11922041 for ; Sat, 11 Jan 2025 23:38:10 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1736633971.47d1f0664608fb6a5532c44bb73a32bf25982359.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/freshrss/, www-apps/freshrss/files/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/freshrss/Manifest www-apps/freshrss/files/disable-network-tests-1.25.0.patch www-apps/freshrss/freshrss-1.25.0.ebuild X-VCS-Directories: www-apps/freshrss/files/ www-apps/freshrss/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: 47d1f0664608fb6a5532c44bb73a32bf25982359 X-VCS-Branch: master Date: Sat, 11 Jan 2025 23:38:10 +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: 26c092c6-0e60-4e6f-914e-db02e53e1dbb X-Archives-Hash: 0b0581ba73122055a0438bec95277407 Message-ID: <20250111233810.X9qV4Mi_1wVSeiTXprY4pS27O6HxXMOqcfCvvVL-h_Q@z> commit: 47d1f0664608fb6a5532c44bb73a32bf25982359 Author: Julien Roy jroy ca> AuthorDate: Sat Jan 11 18:45:01 2025 +0000 Commit: Julien Roy jroy ca> CommitDate: Sat Jan 11 22:19:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=47d1f066 www-apps/freshrss: add 1.25.0 Signed-off-by: Julien Roy jroy.ca> www-apps/freshrss/Manifest | 1 + .../files/disable-network-tests-1.25.0.patch | 31 ++++++++++++++ www-apps/freshrss/freshrss-1.25.0.ebuild | 48 ++++++++++++++++++++++ 3 files changed, 80 insertions(+) diff --git a/www-apps/freshrss/Manifest b/www-apps/freshrss/Manifest index 7fc421302..03ca35165 100644 --- a/www-apps/freshrss/Manifest +++ b/www-apps/freshrss/Manifest @@ -1,2 +1,3 @@ DIST freshrss-1.24.1.gh.tar.gz 4383585 BLAKE2B 9ad14320930fa4baae3edd3ec31add9ac0f66dda5cbc1997947595907df550d9363e3d87f0fcacdf06781e4be14070b78b66e04cbe8610cecca0d0185162724c SHA512 42edbfc22f7231fafea42d4c32fb285a4ec40132645c0ec1613abf5cbc8b4017e0ad1cb5eeaaefdda9077760f73999111ba9e15c1bff41dd7af411bcecca32c9 DIST freshrss-1.24.3.gh.tar.gz 4403538 BLAKE2B f944f36256c59790938588491385b91de6a8af602bdb51731c7c76c816a4536855b7ed27a5595b4f825d2b7420a58feb17a0b7b8343b198bf8ae1a5ecb8705ba SHA512 757f37fd51d63b56735c54d7ee2a5bd76c8e55b8e4d6b16767b9f99581142dd11987eb4256b114ebb012bfba93acf3d9189ca4fa9c0fbf66bdd4048d12ea8bf6 +DIST freshrss-1.25.0.gh.tar.gz 4488412 BLAKE2B b995404a2979aa2e92a03ce316f6405c3bc476daf1a0c2f9ccb6a7c2e274ff934721dca7771adee7ff7aefed0349febcc80581cdb7dbc56334c8ff72626f443f SHA512 e3882227ce422c8d1c38bcf557e29219153fc2bf2829df3ddd6c716c6ee75b6d44849f65b9a15fbdaf3542a78f11f26442893a8b561825b7b1ac8ee50ab93266 diff --git a/www-apps/freshrss/files/disable-network-tests-1.25.0.patch b/www-apps/freshrss/files/disable-network-tests-1.25.0.patch new file mode 100644 index 000000000..8b5d0d474 --- /dev/null +++ b/www-apps/freshrss/files/disable-network-tests-1.25.0.patch @@ -0,0 +1,31 @@ +diff --git a/Makefile b/Makefile +index d8b33824..83604d97 100644 +--- a/Makefile ++++ b/Makefile +@@ -70,10 +70,6 @@ lint: bin/phpcs ## Run the linter on the PHP files + lint-fix: bin/phpcbf ## Fix the errors detected by the linter + $(PHP) bin/phpcbf . -p -s + +-bin/composer: +- mkdir -p bin/ +- wget 'https://raw.githubusercontent.com/composer/getcomposer.org/1a26c0dcb361332cb504e4861ed0f758281575aa/web/installer' -O - -q | php -- --quiet --install-dir='./bin/' --filename='composer' +- + # building any of these builds them all + vendor/bin/phpunit vendor/bin/phpcs vendor/bin/phpcbf vendor/bin/phpstan &: bin/composer + bin/composer install --prefer-dist --no-progress +@@ -83,15 +79,6 @@ vendor/bin/phpunit vendor/bin/phpcs vendor/bin/phpcbf vendor/bin/phpstan &: bin/ + bin/phpunit bin/phpcs bin/phpcbf bin/phpstan : % : vendor/% + ln -sf $< $@ + +-bin/typos: +- mkdir -p bin/ +- cd bin ; \ +- wget -q 'https://github.com/crate-ci/typos/releases/download/v1.23.1/typos-v1.23.1-x86_64-unknown-linux-musl.tar.gz' && \ +- tar -xvf *.tar.gz './typos' && \ +- chmod +x typos && \ +- rm *.tar.gz ; \ +- cd .. +- + node_modules/.bin/eslint: + npm install + diff --git a/www-apps/freshrss/freshrss-1.25.0.ebuild b/www-apps/freshrss/freshrss-1.25.0.ebuild new file mode 100644 index 000000000..d3ba00ef5 --- /dev/null +++ b/www-apps/freshrss/freshrss-1.25.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +DESCRIPTION="A free, self-hostable news aggregator" +HOMEPAGE=" + https://freshrss.org/ + https://github.com/FreshRSS/FreshRSS +" +SRC_URI="https://github.com/FreshRSS/FreshRSS/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}/FreshRSS-${PV}" + +LICENSE="AGPL-3" +KEYWORDS="~amd64" +IUSE="mysql +postgres sqlite" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + dev-lang/php[ctype,curl,fileinfo,fpm,jit,mysql?,pdo,postgres?,sqlite?,unicode,xml,zip,zlib] + virtual/httpd-php +" +DEPEND="${RDEPEND}" + +need_httpd_fastcgi + +PATCHES=( + "${FILESDIR}"/disable-network-tests-1.25.0.patch +) + +src_compile() { + : +} + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned "${MY_HTDOCSDIR}"/data + webapp_serverowned "${MY_HTDOCSDIR}"/data/{index.html,cache,favicons,fever,users,users/_,tokens} + webapp_serverowned "${MY_HTDOCSDIR}"/data/{cache,favicons,fever,users,users/_,tokens}/index.html + + webapp_src_install +}