From ac07c5bb03174ff1d11eb4f7b4cc3323ce75fbb0 Mon Sep 17 00:00:00 2001 From: Anders Larsson Date: Fri, 6 Sep 2024 15:28:08 +0200 Subject: [PATCH] www-apps/freshrss: add 1.24.3 --- www-apps/freshrss/Manifest | 2 + www-apps/freshrss/freshrss-1.24.3.ebuild | 60 ++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 www-apps/freshrss/freshrss-1.24.3.ebuild diff --git a/www-apps/freshrss/Manifest b/www-apps/freshrss/Manifest index 2819b42..50e2f87 100644 --- a/www-apps/freshrss/Manifest +++ b/www-apps/freshrss/Manifest @@ -6,6 +6,7 @@ DIST freshrss-1.23.1.tar.gz 4321975 BLAKE2B 583fe3895b2d7b82d77c202bed985de46214 DIST freshrss-1.24.0.tar.gz 4382010 BLAKE2B 947db723a9652f712358c5fd1e029464cbe1492677891dbdce77b65b737ff6641a0bb1c301a83cc55474161fb2814ff8b52833714eae70b17b81fea62c75779b SHA512 4a3f6085daf69a8c03596fd2b99e6b045bec67f7ccb1923ce3e7ed07fdebbeb86b6d14040e8a06eead2909471a9fe8306c016dffd44ffb26885946a886bd53b8 DIST freshrss-1.24.1.tar.gz 4383585 BLAKE2B 9ad14320930fa4baae3edd3ec31add9ac0f66dda5cbc1997947595907df550d9363e3d87f0fcacdf06781e4be14070b78b66e04cbe8610cecca0d0185162724c SHA512 42edbfc22f7231fafea42d4c32fb285a4ec40132645c0ec1613abf5cbc8b4017e0ad1cb5eeaaefdda9077760f73999111ba9e15c1bff41dd7af411bcecca32c9 DIST freshrss-1.24.2.tar.gz 4401952 BLAKE2B acc623f850149fa5ebf34ee80dac044b4708e7d17e3e923b3bcde6977fe67d62757da7f13b836e0303dc08d770fe1ee36dcd56a7059ba4a7b30712430cf6fe45 SHA512 61f081ae3374fcbe5f56aa7aa48046670c0b3845600415b07980361b90b903ae6986625c090b50c90f64fb8c445ea205f8c40774532df47cc8e049747e207686 +DIST freshrss-1.24.3.tar.gz 4403538 BLAKE2B f944f36256c59790938588491385b91de6a8af602bdb51731c7c76c816a4536855b7ed27a5595b4f825d2b7420a58feb17a0b7b8343b198bf8ae1a5ecb8705ba SHA512 757f37fd51d63b56735c54d7ee2a5bd76c8e55b8e4d6b16767b9f99581142dd11987eb4256b114ebb012bfba93acf3d9189ca4fa9c0fbf66bdd4048d12ea8bf6 EBUILD freshrss-1.21.0.ebuild 1554 BLAKE2B 37ca995730b1449eba517ef3f02884a351ea1b76e364eca8f87ae61800e93994d4e2ecfa945b6e92d179f8fe7f193aa3ab03bb601b0ba398323b0d4419952aae SHA512 f8c9e47d994b5b895958a9a806d5ee6d8cb41f660794c821172cd77f3e71fbdf391fab09e4a70de30f47a9c431175993cacbde4c22bebc58a4663ca1aee9f913 EBUILD freshrss-1.22.0.ebuild 1554 BLAKE2B 37ca995730b1449eba517ef3f02884a351ea1b76e364eca8f87ae61800e93994d4e2ecfa945b6e92d179f8fe7f193aa3ab03bb601b0ba398323b0d4419952aae SHA512 f8c9e47d994b5b895958a9a806d5ee6d8cb41f660794c821172cd77f3e71fbdf391fab09e4a70de30f47a9c431175993cacbde4c22bebc58a4663ca1aee9f913 EBUILD freshrss-1.22.1.ebuild 1554 BLAKE2B 37ca995730b1449eba517ef3f02884a351ea1b76e364eca8f87ae61800e93994d4e2ecfa945b6e92d179f8fe7f193aa3ab03bb601b0ba398323b0d4419952aae SHA512 f8c9e47d994b5b895958a9a806d5ee6d8cb41f660794c821172cd77f3e71fbdf391fab09e4a70de30f47a9c431175993cacbde4c22bebc58a4663ca1aee9f913 @@ -14,5 +15,6 @@ EBUILD freshrss-1.23.1.ebuild 1554 BLAKE2B 37ca995730b1449eba517ef3f02884a351ea1 EBUILD freshrss-1.24.0.ebuild 1554 BLAKE2B 03c75c5f4f8dfa834370dc9095b5b375e69d0f7cd9ec780aa47c1899b2dfc2fdbced6c72dacea86293ec0a4bb9b1304236d60199f04f97b44a3a7a2d55cc8a55 SHA512 44387f64d84238aea7b09705292f6d444deb521bf2dd47f42e5bf56f7f0779097d4544dccc41aa37ebad6b33e22e1e68ce9898459ac2ff4fce4475388fc2ca98 EBUILD freshrss-1.24.1.ebuild 1554 BLAKE2B 03c75c5f4f8dfa834370dc9095b5b375e69d0f7cd9ec780aa47c1899b2dfc2fdbced6c72dacea86293ec0a4bb9b1304236d60199f04f97b44a3a7a2d55cc8a55 SHA512 44387f64d84238aea7b09705292f6d444deb521bf2dd47f42e5bf56f7f0779097d4544dccc41aa37ebad6b33e22e1e68ce9898459ac2ff4fce4475388fc2ca98 EBUILD freshrss-1.24.2.ebuild 1554 BLAKE2B 03c75c5f4f8dfa834370dc9095b5b375e69d0f7cd9ec780aa47c1899b2dfc2fdbced6c72dacea86293ec0a4bb9b1304236d60199f04f97b44a3a7a2d55cc8a55 SHA512 44387f64d84238aea7b09705292f6d444deb521bf2dd47f42e5bf56f7f0779097d4544dccc41aa37ebad6b33e22e1e68ce9898459ac2ff4fce4475388fc2ca98 +EBUILD freshrss-1.24.3.ebuild 1554 BLAKE2B 03c75c5f4f8dfa834370dc9095b5b375e69d0f7cd9ec780aa47c1899b2dfc2fdbced6c72dacea86293ec0a4bb9b1304236d60199f04f97b44a3a7a2d55cc8a55 SHA512 44387f64d84238aea7b09705292f6d444deb521bf2dd47f42e5bf56f7f0779097d4544dccc41aa37ebad6b33e22e1e68ce9898459ac2ff4fce4475388fc2ca98 EBUILD freshrss-9999.ebuild 1554 BLAKE2B 03c75c5f4f8dfa834370dc9095b5b375e69d0f7cd9ec780aa47c1899b2dfc2fdbced6c72dacea86293ec0a4bb9b1304236d60199f04f97b44a3a7a2d55cc8a55 SHA512 44387f64d84238aea7b09705292f6d444deb521bf2dd47f42e5bf56f7f0779097d4544dccc41aa37ebad6b33e22e1e68ce9898459ac2ff4fce4475388fc2ca98 MISC metadata.xml 569 BLAKE2B f78e94f7f98dfae2ba56af32c4f2693b7effbead51f620224e2a19dc73a6fb56ca29296bcbf87034ad3d03653dfd4d5460bcbbba4192a14437ed1c0dae0628aa SHA512 04bed1f4fc1b60bfe8de05889027142926f1c813ef7ef3c64978acf381263662b76a5587ce5172c818c0ac5419764af237b4c956653ab32cfdb2882476e49efb diff --git a/www-apps/freshrss/freshrss-1.24.3.ebuild b/www-apps/freshrss/freshrss-1.24.3.ebuild new file mode 100644 index 0000000..d6607c5 --- /dev/null +++ b/www-apps/freshrss/freshrss-1.24.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit webapp vcs-snapshot + +if [[ ${PV} = 9999 ]]; then + inherit git-r3 +fi + +DESCRIPTION="FreshRSS - a free, self-hostable aggregator" +HOMEPAGE="https://freshrss.org/" +LICENSE="AGPL-3" + +if [[ ${PV} = 9999 ]]; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + EGIT_BOOTSTRAP="" +else + SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +IUSE="mysql sqlite postgres +gmp +unicode +iconv +zip +zlib" + +# DOM is enabled by flag xml +# XML is enabled by simplexml +# mbstring is enabled by unicode +DEPEND=" + dev-lang/php[curl,xml,simplexml,session,ctype,pdo,mysql?,sqlite?,postgres?,gmp?,unicode?,iconv?,zip?,zlib?] + virtual/httpd-php:* +" + +RDEPEND="${DEPEND}" + +need_httpd_cgi # From webapp.eclass + +src_install() { + webapp_src_preinst + + # freshrss 1.21.0 and newer checks if it can write to index.html in several + # directories. Every time webapp-config runs it reinstalls these files with + # the webserver user as their owner. RSS feed refresh script fails to run + # if PHP user cannot write to the required files causing the refresh to fail. + # Introduced by https://github.com/FreshRSS/FreshRSS/pull/4780. + for file in \ + data/index.html \ + data/cache/index.html \ + data/users/index.html \ + data/favicons/index.html \ + data/tokens/index.html; do + rm -f $file + done + + insinto "/${MY_HTDOCSDIR}" + doins -r * + + webapp_serverowned -R "${MY_HTDOCSDIR}/data" + webapp_src_install +}