diff options
author | Kenton Groombridge <concord@gentoo.org> | 2022-07-02 14:44:42 -0400 |
---|---|---|
committer | Kenton Groombridge <concord@gentoo.org> | 2022-07-02 14:44:42 -0400 |
commit | bfc5568396cf8644507d349a89f80caaff2f6323 (patch) | |
tree | e600b9c71afb7383bdc407ae56be6beb82d49715 /www-apps/miniflux | |
parent | dev-db/percona-toolkit: drop 3.0.13 (diff) | |
download | gentoo-bfc5568396cf8644507d349a89f80caaff2f6323.tar.gz gentoo-bfc5568396cf8644507d349a89f80caaff2f6323.tar.bz2 gentoo-bfc5568396cf8644507d349a89f80caaff2f6323.zip |
www-apps/miniflux: drop 2.0.36
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'www-apps/miniflux')
-rw-r--r-- | www-apps/miniflux/Manifest | 2 | ||||
-rw-r--r-- | www-apps/miniflux/miniflux-2.0.36.ebuild | 98 |
2 files changed, 0 insertions, 100 deletions
diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest index ff14e3fac835..ae7f599b3033 100644 --- a/www-apps/miniflux/Manifest +++ b/www-apps/miniflux/Manifest @@ -1,4 +1,2 @@ -DIST miniflux-2.0.36-deps.tar.xz 151007452 BLAKE2B b21e2a96e9c19341ff1435deb41558b6a1061d7ed136f4164e577949519582e003bfc0ac7f1d60453dbde89d807fbf2707c878dc3c5e0da874ce8f3b6e6682d9 SHA512 f7708d45ad1ed72faf4a32420c990fdeea25258d7caa2a332781590b169bbaa4ead53baaf1024e2e399921182551876a63a3e516a94fdc074995b5cb1d35b9d1 -DIST miniflux-2.0.36.tar.gz 548596 BLAKE2B b3f6a85d635eb095f41852d3e618e7e2e2b97e83c776f16b4da9a22a0bb03e9c1815c4ea1a9b841ee8132087067fb7e00a084536f99e004c0863adaf6bbc64b0 SHA512 0c3f1b68e1cb9c4cf5e543847abf3cb34bb56152991a3cd257f4886c7573d17fc177f928574040c2d5b339bf8fe39f9504952f234babe1dcd3b824f8ec95c75a DIST miniflux-2.0.37-deps.tar.xz 154048036 BLAKE2B 88eaba31505c4d1ace55428a8e29dac8449776e1f9cd9a9fe5a54f21dee65df8ddb9c8cfc88968ec4476cc5e3d7670f47ffc98d41ea5a6fe1ae9e23bb6b09807 SHA512 c499964a174a0cef1ec09824e8b6f9fbe3ff8eb77e2f5f9f4aedd73f95c569338afd4ec5c9c312556c9435863c8a4398b63a5f24a55c61d0d8a5afd63a83f31b DIST miniflux-2.0.37.tar.gz 555360 BLAKE2B 64188e03583dd011261c2d69c30e105af65d61ed996c4c2785621aa74d6b0602eaeed312750a089dfb1c4f5bc00c26f79549f2df27714cdca44506439b2ba6af SHA512 6944e638cdec6d0d5e92362ad4849028d0260780919eff8d6b6999327f9a482a1b3b09f1479b3c8c4b2727ced524caa13a6c7ac655b230ff244519cfe095cbd5 diff --git a/www-apps/miniflux/miniflux-2.0.36.ebuild b/www-apps/miniflux/miniflux-2.0.36.ebuild deleted file mode 100644 index 005822d6132c..000000000000 --- a/www-apps/miniflux/miniflux-2.0.36.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" - -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." -} |