From d69399c7befdd98cda62d6a1788ae2aa7f104c5e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 Jan 2025 06:41:06 +0000 Subject: gentoo auto-resync : 07:01:2025 - 06:41:06 --- www-apps/Manifest.gz | Bin 13113 -> 13115 bytes www-apps/miniflux/Manifest | 8 +-- www-apps/miniflux/miniflux-2.1.4.ebuild | 107 -------------------------------- www-apps/miniflux/miniflux-2.2.3.ebuild | 4 +- www-apps/miniflux/miniflux-2.2.4.ebuild | 107 ++++++++++++++++++++++++++++++++ 5 files changed, 113 insertions(+), 113 deletions(-) delete mode 100644 www-apps/miniflux/miniflux-2.1.4.ebuild create mode 100644 www-apps/miniflux/miniflux-2.2.4.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index 117237ff91e9..2af32730b565 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index 76ea26f799a4..083295bd7c10 100644 --- a/www-apps/miniflux/Manifest +++ b/www-apps/miniflux/Manifest @@ -3,10 +3,10 @@ AUX miniflux.conf 809 BLAKE2B 4465c338fa13d3465731fcb98616d08d4fbcfdad6e10eb3f08 AUX miniflux.confd 171 BLAKE2B 2d38a12678c7873ac31473a2160d1416d168e384c519fe48feebf4ea3d4e6c734ff198e652df8b0af7da5c3543eff5321a02b6991de131d746b89e3b5fb7db08 SHA512 13b43595e7a5bca01b9fbff9fc6979d408b32109bafc23cfae29a9470b5333a244ee1f1bc94ba436d93e2d2c55640690202ac1201884f9ea5499fa0161af059a AUX miniflux.initd-r1 611 BLAKE2B 74d84f8f24a672c2fd4adedf6dc8629307638bed4a04e7c2948beabb0a7f1710a78f0054b23cc906caa08d27310473d5f45766ef9a6d04dfdef4ba7c1199a682 SHA512 7dbc37b56b8d099d3a95c5707c1666d177c03dc46d42dcc3827b771fc9cee34d489c7f240049a14b6784a4434183c70e0ba9679e982608121a8e4098e1a45a9e AUX miniflux.service 463 BLAKE2B e6f1a3717e985f3ddae4224472b753f293a73ab015acbe80ddf20d2d9e505aa9fd47e2fca2c86749067288a1f10787e16179a41e5c30d3f37f53e83f798719b8 SHA512 c38fe3f19162be02a44a353281690d40e90cb8ac8126ea4f9aab1218e128da0be3d1152cf260fdfd19ecfed2ea4396ae4a6c645088a1b212b58a3cba8387ce60 -DIST miniflux-2.1.4-deps.tar.xz 43184308 BLAKE2B d4412a87d07d405f93c2e7449a3e3ff4932f28b9c46ff75519c8398c8b7d0090b0759e2b3be5c20c4e1900e1058724071b3efb8144ff3149a8a06234155900c3 SHA512 75456f40578e3da2866a7ea98c3dc137934b05c73e4a5aa2a96cbce0457a9aa394a598a837b98f50cb97cb2279b8acc331fe08fa5bff245fef1bec0cb92029a8 -DIST miniflux-2.1.4.tar.gz 731511 BLAKE2B a6d099411971af1319825f8b4fc2e56fac8b86eb4b2b91175f4b349aa2dfb6c0036af388deaf34eef00a7fd0c70d73350976332e9fd851fc3a9fb68fc3edceb5 SHA512 e20ddaa8682b492c5eaaef687d4b92fa40c148b0cdb9bc6f4175a2e7da0d0e13c5e93a97145de06e1210015be3361a396c1dc85aaf58b5c02ec86903617732ca DIST miniflux-2.2.3-deps.tar.xz 113735492 BLAKE2B 49ddd2fb021a28a2c054769a1a0e098357d8a33ef17530a7a1234f523928557b63c9d8ff55b50921b583e77a3a682802404c41c75bebf8d7750546fb2b87ce38 SHA512 299120e84908200c67e47caf8fc00b3f10c5127209668f44a4fa0479aa46f93c26e2f5765432401cbd4218a727b12dbc09ae1dfcee8c80c8bc0c5319a26f665f DIST miniflux-2.2.3.tar.gz 761864 BLAKE2B 35d277ed671f18e2b2c5b59ae561d6c8bda5347e6b4993c5fa21d9b08ee0e92a55efde411a55f0fd47f150b2d2db984551be41aa61ab9a9b143f226514989d8b SHA512 35a60b57936fda1e678a76d4907cdf8d5c96096364fc45702ff2b27ba367a25fa6e06c58073664c4b1ab0b779f3882f8fa7ab6179e4ed70a771d00671e971ff6 -EBUILD miniflux-2.1.4.ebuild 2804 BLAKE2B d7cc4efbd849874b47fd3ae17988e058ee89f9ace1fb1f3e4ee9d9f4a9f5c6a311353bd3fe82515b5f09ce335029dc575464f5d0969dd05a9106a8ceec70c7ad SHA512 fc752da54005ce0d9e8e4802b4b264951ce22dd2b66aaa57e8729899e71f13752b6d3524473034d414f96cb6b7e3a5aa99ebd7da7f3a301b216aeccaffbeb0d9 -EBUILD miniflux-2.2.3.ebuild 2806 BLAKE2B 2fa65afb9458ed19abb95a40f44bcf44ef0ebd15980b3b6f45b331c41f34451f606d8a715bc6b4e15a6592f4aae85da9aebf28752737ead1675b526422b1c753 SHA512 96472d02ea178d0f320e5738ef68349741c62e3fa16f6d345d63fc3f9f713ec114cb41550d03e086ba905d486d518c96d9cf91440b1795bbe3e2dac4e97997fd +DIST miniflux-2.2.4-deps.tar.xz 121764040 BLAKE2B 978a83a010a1446b60305877fc95ba2a3f69c07bc6f28220d224a541e2d528d2dd5e5a44b8e933058b281d0d264bc430110632dd6cee864ba97f85f27dc53d43 SHA512 23954f3c11503ee3749c9f6fa90b9ba92c9711802af7f0f48c038f116a30adeb70787f964dac25e19b2c342de83fd193834f72b561265c68da107e07601d831d +DIST miniflux-2.2.4.tar.gz 765890 BLAKE2B fe1d77cb476ee3f879efbf8ae866ac254fb447a275f94aff7b059a866b61cd7b9918ab0901ff709dc54ea34c5fede166ff700cb98a313048922b1c5dbf7830cd SHA512 d0fa96eb1b0768ab551c253d6cc5e5874dbcc26d3fbe767439656c3b66b813e4f4215a2058790ea61001c6a7ccce43834d871b5d72b14763007c26c8da78441d +EBUILD miniflux-2.2.3.ebuild 2804 BLAKE2B ae43a856259a66adf9f29436d87a526ed52f47a3a447877599e1b1899531790a252d4d198e2ead04b93c21178b5453fb87ba6f335848312b2869ee0f62876f72 SHA512 0fab3e31b57f1123d66f9ca951814b713905ca5cf435f0148e95220ed7e92e54c97eaf9f92962efbb0f076857eccfc718f501834c8bd8c48a9993423417c1b09 +EBUILD miniflux-2.2.4.ebuild 2806 BLAKE2B 3656513bd0b6414d61d802b73225b208aabdec68c923fb35e4fa7587053c8d8522e10ad66f6a9294d2c5118c66d280a93ae8ef51b38926ea934c4f7ce8703179 SHA512 d5e3a9c9c9d2636989b02f4f04f2e31b3c69522842625e17afc9426aeaa86b261361c8d2a80a9130758dc13f97e659dcf5ab164d27696cbe62dcd793ceaac2c4 MISC metadata.xml 329 BLAKE2B 50e914926db603f0d6e89f009847cab4ed7e771c33779da94e71d78dd4322457a19c8b1f4d9a27670fcde68ffd4480582c8def09973b84cc69bcf670fabfae19 SHA512 c00ceaf0e7d32f4395cdba01ce2af24ce7ab2d50baa250abe035f78d905b864fc1e0947226fce655adb5b0355030b30adabd6c64d306b83a5b8f6aae70dcdbcf diff --git a/www-apps/miniflux/miniflux-2.1.4.ebuild b/www-apps/miniflux/miniflux-2.1.4.ebuild deleted file mode 100644 index e0946b3d9ee7..000000000000 --- a/www-apps/miniflux/miniflux-2.1.4.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 2020-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -# git rev-parse --short HEAD -MY_GIT_COMMIT="b683756d" - -DESCRIPTION="Minimalist and opinionated feed reader" -HOMEPAGE="https://miniflux.app https://github.com/miniflux/v2" -SRC_URI="https://github.com/${PN}/v2/archive/${PV}.tar.gz -> ${P}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" - -S="${WORKDIR}/v2-${PV}" - -LICENSE="Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="amd64 ppc64 ~riscv" - -RESTRICT="test" # requires network access - -DEPEND="acct-user/miniflux" -RDEPEND="${DEPEND} - >=dev-db/postgresql-9.5 -" - -src_compile() { - ego build -ldflags=" - -s -w - -X 'miniflux.app/v2/internal/version.Version=${PV}' - -X 'miniflux.app/v2/internal/version.Commit=${MY_GIT_COMMIT}' - -X 'miniflux.app/v2/internal/version.BuildDate=$(date +%FT%T%z)' - " -o miniflux main.go -} - -src_install() { - dobin miniflux - - insinto /etc - doins "${FILESDIR}/${PN}.conf" - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} - systemd_dounit "${FILESDIR}/${PN}.service" - - fowners miniflux:root /etc/${PN}.conf - fperms o-rwx /etc/${PN}.conf - - local DOCS=( - ChangeLog - README.md - "${FILESDIR}"/README.gentoo - ) - - # Makefile has no install target, so call einstalldocs directly - einstalldocs - - doman "${PN}".1 -} - -pkg_postinst() { - if [[ -z "${REPLACING_VERSIONS}" ]]; then - # This is a new installation - - echo - elog "Before using miniflux, you must first create and initialize the database" - elog "and enable the hstore extension for it." - elog "" - elog "Afterwards, create your first admin user by running:" - elog " miniflux -create-admin" - else - # This is an existing installation - - echo - elog "If you are upgrading from a previous version, schema migrations must be performed." - elog "To perform the migrations, stop the daemon, backup your database, and run:" - elog " emerge --config =${PF}" - fi - - echo - elog "Please read" - elog "" - elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*" - elog "" - elog "for more information." -} - -pkg_config() { - # To be safe, avoid doing migrations if miniflux is running - if pgrep miniflux; then - die "miniflux appears to be running, refusing to continue." - fi - - # Extract the database URL variable instead of just sourcing the config file - # because miniflux itself may interpret quotes as part of the URL - local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")" - [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file" - - DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate \ - || die "miniflux -migrate failed. Please check the above output for errors." - - echo - elog "Database migrations complete." -} diff --git a/www-apps/miniflux/miniflux-2.2.3.ebuild b/www-apps/miniflux/miniflux-2.2.3.ebuild index c6cde0b43c88..dfbe221ad02d 100644 --- a/www-apps/miniflux/miniflux-2.2.3.ebuild +++ b/www-apps/miniflux/miniflux-2.2.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020-2024 Gentoo Authors +# Copyright 2020-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ S="${WORKDIR}/v2-${PV}" LICENSE="Apache-2.0 BSD BSD-2 MIT" SLOT="0" -KEYWORDS="~amd64 ~ppc64 ~riscv" +KEYWORDS="amd64 ppc64 ~riscv" RESTRICT="test" # requires network access diff --git a/www-apps/miniflux/miniflux-2.2.4.ebuild b/www-apps/miniflux/miniflux-2.2.4.ebuild new file mode 100644 index 000000000000..60521861a744 --- /dev/null +++ b/www-apps/miniflux/miniflux-2.2.4.ebuild @@ -0,0 +1,107 @@ +# Copyright 2020-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +# git rev-parse --short HEAD +MY_GIT_COMMIT="d345c873" + +DESCRIPTION="Minimalist and opinionated feed reader" +HOMEPAGE="https://miniflux.app https://github.com/miniflux/v2" +SRC_URI="https://github.com/${PN}/v2/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" + +S="${WORKDIR}/v2-${PV}" + +LICENSE="Apache-2.0 BSD BSD-2 MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~riscv" + +RESTRICT="test" # requires network access + +DEPEND="acct-user/miniflux" +RDEPEND="${DEPEND} + >=dev-db/postgresql-9.5 +" + +src_compile() { + ego build -ldflags=" + -s -w + -X 'miniflux.app/v2/internal/version.Version=${PV}' + -X 'miniflux.app/v2/internal/version.Commit=${MY_GIT_COMMIT}' + -X 'miniflux.app/v2/internal/version.BuildDate=$(date +%FT%T%z)' + " -o miniflux main.go +} + +src_install() { + dobin miniflux + + insinto /etc + doins "${FILESDIR}/${PN}.conf" + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} + systemd_dounit "${FILESDIR}/${PN}.service" + + fowners miniflux:root /etc/${PN}.conf + fperms o-rwx /etc/${PN}.conf + + local DOCS=( + ChangeLog + README.md + "${FILESDIR}"/README.gentoo + ) + + # Makefile has no install target, so call einstalldocs directly + einstalldocs + + doman "${PN}".1 +} + +pkg_postinst() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + # This is a new installation + + echo + elog "Before using miniflux, you must first create and initialize the database" + elog "and enable the hstore extension for it." + elog "" + elog "Afterwards, create your first admin user by running:" + elog " miniflux -create-admin" + else + # This is an existing installation + + echo + elog "If you are upgrading from a previous version, schema migrations must be performed." + elog "To perform the migrations, stop the daemon, backup your database, and run:" + elog " emerge --config =${PF}" + fi + + echo + elog "Please read" + elog "" + elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*" + elog "" + elog "for more information." +} + +pkg_config() { + # To be safe, avoid doing migrations if miniflux is running + if pgrep miniflux; then + die "miniflux appears to be running, refusing to continue." + fi + + # Extract the database URL variable instead of just sourcing the config file + # because miniflux itself may interpret quotes as part of the URL + local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' "${EROOT}/etc/${PN}.conf")" + [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file" + + DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate \ + || die "miniflux -migrate failed. Please check the above output for errors." + + echo + elog "Database migrations complete." +} -- cgit v1.2.3