From 16be64511bd21e32a29645b49e37611507709790 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2024 12:24:45 +0100 Subject: gentoo auto-resync : 18:08:2024 - 12:24:44 --- www-apps/miniflux/Manifest | 8 +-- www-apps/miniflux/miniflux-2.0.49.ebuild | 107 ------------------------------- www-apps/miniflux/miniflux-2.1.3.ebuild | 2 +- www-apps/miniflux/miniflux-2.1.4.ebuild | 107 +++++++++++++++++++++++++++++++ 4 files changed, 112 insertions(+), 112 deletions(-) delete mode 100644 www-apps/miniflux/miniflux-2.0.49.ebuild create mode 100644 www-apps/miniflux/miniflux-2.1.4.ebuild (limited to 'www-apps/miniflux') diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index 003150968dae..f1a7ac450b1d 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.0.49-deps.tar.xz 38155476 BLAKE2B 9631c23af181cf86bd197066a453c84b09840cc71a870eba0ad4e7cdb2720fe952fca7f6a93f3e9e2e2d8c9a13629da0f758b21a4afe5849186d653b44a3f097 SHA512 c51228a3f70d73788be63ed5e7f24baeee9a369351e07bd7715a60c6b340d3e90ebd25adfb50d3e2144a8b0c7d609fca3bacdd51a1d61ff7916e6a7a439b6dc1 -DIST miniflux-2.0.49.tar.gz 614888 BLAKE2B 77fae7eafcc55d02e3e00e6c008cb6727ff48423512e9dde420b84a63858e6ba9ed33dfd61907a46ca686b211f604d452e2ad5944b709094263ca0949a6128c8 SHA512 59505f5e60228ff94cf2cabc872117cd08c06edb0df6dfb4487153add27cc4e485d7cb71330333df155f158eb650f684d55f0460ba5404f5e26b9603123fd860 DIST miniflux-2.1.3-deps.tar.xz 43436720 BLAKE2B 97a6aa1509bcde6da4368d50de9bac9a0cedf2752e020f2521cc29f38644fc9de53f14052649c9d42b4d450e1ffac6209787c9b94c1c90d0f2ba1dc31811356d SHA512 6113f5288da2ecd77cbb21c81a60ea331943f369c9304241330b75d57e0e2f65c74d2ddcc4f920e9c572289cea30c50a673029b66877da47d1d2c13700e51081 DIST miniflux-2.1.3.tar.gz 710470 BLAKE2B ed4f5cb60b26db797e0374d497ebf0bf6d063308bb83938ec5b90a146ba1cc1ab7f5c8c2ecc92cae77d8c683b1f212bead22828cfdad432f7400b58addddde8d SHA512 93f9c91edfdbdd47aaaafa2a45ba4d0af08351465e84231b9f9f0886042897b0649932e02adc6680fc4952828415edcda8b634224dc21015f053c25d0e24f9cb -EBUILD miniflux-2.0.49.ebuild 2815 BLAKE2B 6d82f0ea4f6fc6f57431d12f4ee4439596ca5af0e5c3be8cfda52bfaec23e7ea1925e8d355de7de45830588742dde37dc117905ee5ef032ee06ed98bd43ddf45 SHA512 16f87b7ae988ba8804c34443bceb9aeb5b6636c6b351b244282da1967ea7d88d593749b50e799887932d74f0380bc353cd99a43f593fc1e8f8ce72ec0d8d7f4c -EBUILD miniflux-2.1.3.ebuild 2806 BLAKE2B 85e8660ed2be2eb49cc5836575bcce6180006790f162ead74b173cf31b9e0e7845aa8bc5284b644e159dfcac0aba78f2ddf258a7e6a856d21e87d038f72428cd SHA512 3e9e5cdaad8f3b3c0749fb9d5c72aadc708f2c57f22412491daad8ee2eb0577ccf6f4215a184e46b35a7cd2ea03fe9d96de2e1739d91e0ccfb0c40a4c8f1552e +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 +EBUILD miniflux-2.1.3.ebuild 2804 BLAKE2B 4cbb33ad14ca40b0e490c0b798f495c445951e9673b0e8cd639a3952f7224504cdcd6957c48c5b1deb0b22e9518567b2774b58a803eb0a1f357cee49217c1035 SHA512 0fae32e96a000b50387e207503d443d5bd43206e11f1026839122719ee28dd8ba796bb237a4f96b4292b1be55f21862bc097da3990ed5abfe93a480faf7a166c +EBUILD miniflux-2.1.4.ebuild 2806 BLAKE2B 2fa65afb9458ed19abb95a40f44bcf44ef0ebd15980b3b6f45b331c41f34451f606d8a715bc6b4e15a6592f4aae85da9aebf28752737ead1675b526422b1c753 SHA512 96472d02ea178d0f320e5738ef68349741c62e3fa16f6d345d63fc3f9f713ec114cb41550d03e086ba905d486d518c96d9cf91440b1795bbe3e2dac4e97997fd MISC metadata.xml 329 BLAKE2B 50e914926db603f0d6e89f009847cab4ed7e771c33779da94e71d78dd4322457a19c8b1f4d9a27670fcde68ffd4480582c8def09973b84cc69bcf670fabfae19 SHA512 c00ceaf0e7d32f4395cdba01ce2af24ce7ab2d50baa250abe035f78d905b864fc1e0947226fce655adb5b0355030b30adabd6c64d306b83a5b8f6aae70dcdbcf diff --git a/www-apps/miniflux/miniflux-2.0.49.ebuild b/www-apps/miniflux/miniflux-2.0.49.ebuild deleted file mode 100644 index ba42a484f6ec..000000000000 --- a/www-apps/miniflux/miniflux-2.0.49.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 - -# Get with 'git rev-parse --short HEAD' -MY_GIT_COMMIT="54eb5003" - -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" - -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 -" - -S="${WORKDIR}/v2-${PV}" - -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.1.3.ebuild b/www-apps/miniflux/miniflux-2.1.3.ebuild index 8a64f1ec2999..f40982f37564 100644 --- a/www-apps/miniflux/miniflux-2.1.3.ebuild +++ b/www-apps/miniflux/miniflux-2.1.3.ebuild @@ -15,7 +15,7 @@ SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" 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.1.4.ebuild b/www-apps/miniflux/miniflux-2.1.4.ebuild new file mode 100644 index 000000000000..c6cde0b43c88 --- /dev/null +++ b/www-apps/miniflux/miniflux-2.1.4.ebuild @@ -0,0 +1,107 @@ +# 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." +} -- cgit v1.2.3