From ecd86b32a8f0b6be58bbb4b294ce38f1fbd7d3dc Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 11 Dec 2022 03:21:49 +0000 Subject: gentoo auto-resync : 11:12:2022 - 03:21:49 --- www-apps/miniflux/Manifest | 8 +-- www-apps/miniflux/miniflux-2.0.39.ebuild | 98 ------------------------------- www-apps/miniflux/miniflux-2.0.40.ebuild | 3 +- www-apps/miniflux/miniflux-2.0.41.ebuild | 99 ++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 103 deletions(-) delete mode 100644 www-apps/miniflux/miniflux-2.0.39.ebuild create mode 100644 www-apps/miniflux/miniflux-2.0.41.ebuild (limited to 'www-apps/miniflux') diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index a4f275beb498..86acacaf584e 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 504 BLAKE2B d43cc0323161fc3723063f07fb5d8da4f762b420dedbcab28ad5d41c90f526c80849222f9255032fdf9fc4c4ba45d4989d0967498a5e32b326a6d966abaa4c84 SHA512 d58233009fd6c69f1095aa5cc62d08a910edaa0d16db3af663398d723873f2354e0d60c75ca746a281546d1f40ad0a8db1fc275ee31ed9e6958410b0b5f12afb AUX miniflux.service 463 BLAKE2B e6f1a3717e985f3ddae4224472b753f293a73ab015acbe80ddf20d2d9e505aa9fd47e2fca2c86749067288a1f10787e16179a41e5c30d3f37f53e83f798719b8 SHA512 c38fe3f19162be02a44a353281690d40e90cb8ac8126ea4f9aab1218e128da0be3d1152cf260fdfd19ecfed2ea4396ae4a6c645088a1b212b58a3cba8387ce60 -DIST miniflux-2.0.39-deps.tar.xz 149668196 BLAKE2B ded3bcf0ac706092570d41669cbdfef68d3aab764790f3a6fd09cf8fb436765f7c10abde9422a1aa70ce31d1e186558732f8208b8a77d1ce28dc212c5e855031 SHA512 cea27e014a8d88bbd77b018d9f02736b4f7c9d39c72fa2358b581e0a01be58b9ca132d414e3c562bdaaab8c89e08a938f7b0ef94821a8a76b1025f1d7ac2a63b -DIST miniflux-2.0.39.tar.gz 574941 BLAKE2B 66acc0c2b7bee77fd98e19c89eabcb1f7da195a18fb2b470deafd2cec23c71c3a939dde535e45fefa59e2d65b727173a59cecfda40288ee0830d23ebf5c5a1b1 SHA512 d068fd8233a235540ca232be1e36ee0fa73ea14ed0f8a8db17669bd8ddfb2d5cb35712af5ce365726e3688c6d764341c2f6d03ff8af7ae7f76e847c9f454dcb4 DIST miniflux-2.0.40-deps.tar.xz 38331272 BLAKE2B 6fac5ba8bd6a8a6c2e7f14d9127be871f74aa5b170f2884f98326a6c362f690fd217498dd55c954459268bde4f17371335e832f474ff59ed6b00aaa080484594 SHA512 2e9104bbe32c5592fe88e5fc4f9c3f379b790ead74d6762b2aa4e933e0dce752788ff3ace8a4787fb3933730aea42fb8819af4e34c68474e388ad9c4e4aa8a22 DIST miniflux-2.0.40.tar.gz 575047 BLAKE2B 343277ad0b89155d8fecdebcb77db4890646c04985d05479a47c5f9002185239f2a7707e5dc38fde1e733a613611cc66088b6481b599e5e6ce05aed43b261cb1 SHA512 e0f498da052256d202ba16b1f34022afb31db6d2f49236279a639e2c870e6e7f0e82b2995be6bc5ef2f6adeba3e2adf797b59ede376a0853da988eea7814512d -EBUILD miniflux-2.0.39.ebuild 2594 BLAKE2B f4d8cdd4460a365a63ca58c451420585070221984b2a8a3aa4f245bd8881e0cf6c8e9f41c7ba2577476aac03bd7fecb4cd624406e04f2d260260d2fbcc7d3d1e SHA512 a7cf22a6dd6897ee2a8b15055d6e4b246dceafde2e0207ed8e596db1525c65a869c44388de83984bb794a843fdd6b43da4d7ddcd63b13a180fdf3b3d4c87164b -EBUILD miniflux-2.0.40.ebuild 2594 BLAKE2B f4d8cdd4460a365a63ca58c451420585070221984b2a8a3aa4f245bd8881e0cf6c8e9f41c7ba2577476aac03bd7fecb4cd624406e04f2d260260d2fbcc7d3d1e SHA512 a7cf22a6dd6897ee2a8b15055d6e4b246dceafde2e0207ed8e596db1525c65a869c44388de83984bb794a843fdd6b43da4d7ddcd63b13a180fdf3b3d4c87164b +DIST miniflux-2.0.41-deps.tar.xz 38330216 BLAKE2B 8be2a3b08de3dc56d384080268bb42c9a2cbb3304e387794e35530722ef8a0d13b765051c5e75577f6305953761124042844e5d13261d9b7ddcaf2a980196fd8 SHA512 de7dc72d18d75df8dd027eeb4c3517e02f9bbf8e1f321ea2661629514ba7671cb1d9f4c565d241d09d9e01ecfa7b3395080b47054ba4200f6cb4cda738430f79 +DIST miniflux-2.0.41.tar.gz 575768 BLAKE2B 8ba7207da6e627def71830c182ee7c95ed979873dae012dea4f76ac5ac10e036c0ef7ba1290af871b294f813fc8ddd978f169179b93e6b938d319b4b4102e41c SHA512 eb1be19d04f29e12a0aef3eca2f8494d46742bea5679b09dfcd43d10e4dc00bc4408fa0e52c71a744afcfb5fb22cf8f7fe2d352ab26c3a16fb2ffbdd0f4f9fb4 +EBUILD miniflux-2.0.40.ebuild 2598 BLAKE2B 5c888bbdddaf2fee5a64423bf460ab6fb1310c580c35d1a97cb8aa47674d488d20dd14a5d587f931fb193cb0c00b3c85d7de51df3a1edc81d5394cf9d13aeade SHA512 c2103b18e35670190133ce107b89c2a995ca1a3d3f4d35e5eb5f4c69edb528a1d21343e4f8933899d18fb23a86f3508a60df32301170fa54d91bd14dc60f8f66 +EBUILD miniflux-2.0.41.ebuild 2598 BLAKE2B 5c888bbdddaf2fee5a64423bf460ab6fb1310c580c35d1a97cb8aa47674d488d20dd14a5d587f931fb193cb0c00b3c85d7de51df3a1edc81d5394cf9d13aeade SHA512 c2103b18e35670190133ce107b89c2a995ca1a3d3f4d35e5eb5f4c69edb528a1d21343e4f8933899d18fb23a86f3508a60df32301170fa54d91bd14dc60f8f66 MISC metadata.xml 329 BLAKE2B 50e914926db603f0d6e89f009847cab4ed7e771c33779da94e71d78dd4322457a19c8b1f4d9a27670fcde68ffd4480582c8def09973b84cc69bcf670fabfae19 SHA512 c00ceaf0e7d32f4395cdba01ce2af24ce7ab2d50baa250abe035f78d905b864fc1e0947226fce655adb5b0355030b30adabd6c64d306b83a5b8f6aae70dcdbcf diff --git a/www-apps/miniflux/miniflux-2.0.39.ebuild b/www-apps/miniflux/miniflux-2.0.39.ebuild deleted file mode 100644 index 8a6c349cdffe..000000000000 --- a/www-apps/miniflux/miniflux-2.0.39.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -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/version.Version=${PV}' " -o miniflux main.go -} - -src_install() { - dobin miniflux - - insinto /etc - doins "${FILESDIR}/${PN}.conf" - - newconfd "${FILESDIR}/${PN}.confd" ${PN} - - newinitd "${FILESDIR}/${PN}.initd" ${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.0.40.ebuild b/www-apps/miniflux/miniflux-2.0.40.ebuild index 8a6c349cdffe..fe9311206360 100644 --- a/www-apps/miniflux/miniflux-2.0.40.ebuild +++ b/www-apps/miniflux/miniflux-2.0.40.ebuild @@ -91,7 +91,8 @@ pkg_config() { 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." + 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.0.41.ebuild b/www-apps/miniflux/miniflux-2.0.41.ebuild new file mode 100644 index 000000000000..fe9311206360 --- /dev/null +++ b/www-apps/miniflux/miniflux-2.0.41.ebuild @@ -0,0 +1,99 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +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/version.Version=${PV}' " -o miniflux main.go +} + +src_install() { + dobin miniflux + + insinto /etc + doins "${FILESDIR}/${PN}.conf" + + newconfd "${FILESDIR}/${PN}.confd" ${PN} + + newinitd "${FILESDIR}/${PN}.initd" ${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