commit:     666b58bdd42ef107255f468eb7c1f5ec37d73312
Author:     Joe Kappus <joe <AT> wt <DOT> gd>
AuthorDate: Wed Jul 16 07:45:18 2025 +0000
Commit:     Joe Kappus <joe <AT> wt <DOT> gd>
CommitDate: Wed Jul 16 07:45:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=666b58bd

www-apps/freshrss: add 1.26.3

Signed-off-by: Joe Kappus <joe <AT> wt.gd>

 www-apps/freshrss/Manifest                         |  1 +
 .../files/disable-network-tests-1.26.3.patch       | 31 ++++++++++++++
 www-apps/freshrss/freshrss-1.26.3.ebuild           | 48 ++++++++++++++++++++++
 3 files changed, 80 insertions(+)

diff --git a/www-apps/freshrss/Manifest b/www-apps/freshrss/Manifest
index e63812bca9..811261dd33 100644
--- a/www-apps/freshrss/Manifest
+++ b/www-apps/freshrss/Manifest
@@ -1,2 +1,3 @@
 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
+DIST freshrss-1.26.3.gh.tar.gz 4557875 BLAKE2B 
a75e9fe6cd9e30c21c5787e529fbf7823e11f23f74b0a5b6f1c06bf61709dd6d12a8ff34f190b5ee094d0cc2cf3e4c4a9b1da3f27c96a60e7968d8034f6151a4
 SHA512 
41ab9b872522a19c479a2b9a8a67399238c89d0f83638668ca466f31da8dc780812b5be2cb11e250da72f5942416278803323b3114e5de4862c2d5a6b18c9fc0

diff --git a/www-apps/freshrss/files/disable-network-tests-1.26.3.patch 
b/www-apps/freshrss/files/disable-network-tests-1.26.3.patch
new file mode 100644
index 0000000000..45a04e96f8
--- /dev/null
+++ b/www-apps/freshrss/files/disable-network-tests-1.26.3.patch
@@ -0,0 +1,31 @@
+diff --git a/Makefile b/Makefile
+index 1720b565..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/9e43d8a9b16fffa4dc9b090b9104dab7d815424a/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.29.9/typos-v1.29.9-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.26.3.ebuild 
b/www-apps/freshrss/freshrss-1.26.3.ebuild
new file mode 100644
index 0000000000..c7d5b1e71b
--- /dev/null
+++ b/www-apps/freshrss/freshrss-1.26.3.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.26.3.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
+}

Reply via email to