From 56767705335e747c2a8b3f3282e5c1a393352d54 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 29 Nov 2022 01:18:33 +0000 Subject: gentoo auto-resync : 29:11:2022 - 01:18:33 --- www-apps/miniflux/Manifest | 6 +- www-apps/miniflux/miniflux-2.0.38.ebuild | 98 -------------------------------- www-apps/miniflux/miniflux-2.0.40.ebuild | 98 ++++++++++++++++++++++++++++++++ 3 files changed, 101 insertions(+), 101 deletions(-) delete mode 100644 www-apps/miniflux/miniflux-2.0.38.ebuild create mode 100644 www-apps/miniflux/miniflux-2.0.40.ebuild (limited to 'www-apps/miniflux') diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index a8b5e93a73c7..a4f275beb498 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.38-deps.tar.xz 154290660 BLAKE2B f8317e54ec3639e9bc90f9f28d4c645a816d8b8510df090145a87e9247c4762303276646505abf083d99dcf172a9a022c4771fdad58811779a47018158cd7690 SHA512 6390a6c06fb00428ff3088e81f9cca2b6343f77cc1151ccb8864eabac2983ec05630d18199b152c50fc7f463b14b7615fd901260444f00d4d6337740689d1eb3 -DIST miniflux-2.0.38.tar.gz 568359 BLAKE2B 5e29663c59debdbdb4c0ed8da5d27e47ad0c0db70368844c3ede965050f0fa8410e6cd14e28faf811f39a39f0b5417d2b59302ac7cf00acfea977ab2b4b732ee SHA512 7ebedc469b8aa08e8ce73b8ae0e586927847f08e541e57fdc41b440a50524649938eb86ee56d885c688e83f1aa09063514eac4c1d8ad22459589b1ea994ef8ff 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 -EBUILD miniflux-2.0.38.ebuild 2587 BLAKE2B 6794154dde89855f5872ebf486b3a3316c0ac1c6654f228eaa6845b5f3c53feade5e403dd5b9c0c7400e914a2a26c120de196afb3155a709a9cd5f31f8e1fa88 SHA512 a47f676638c99254b80ed10d9f99e1e2c9875602dc1cc0aed5a718932fbc6b43b53dbc3face767eedff62c9e4b56e888f59afb0268456eb630e1b8caa826e89a +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 MISC metadata.xml 329 BLAKE2B 50e914926db603f0d6e89f009847cab4ed7e771c33779da94e71d78dd4322457a19c8b1f4d9a27670fcde68ffd4480582c8def09973b84cc69bcf670fabfae19 SHA512 c00ceaf0e7d32f4395cdba01ce2af24ce7ab2d50baa250abe035f78d905b864fc1e0947226fce655adb5b0355030b30adabd6c64d306b83a5b8f6aae70dcdbcf diff --git a/www-apps/miniflux/miniflux-2.0.38.ebuild b/www-apps/miniflux/miniflux-2.0.38.ebuild deleted file mode 100644 index e13b13d7f56d..000000000000 --- a/www-apps/miniflux/miniflux-2.0.38.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" - -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 new file mode 100644 index 000000000000..8a6c349cdffe --- /dev/null +++ b/www-apps/miniflux/miniflux-2.0.40.ebuild @@ -0,0 +1,98 @@ +# 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