1 |
commit: bfc5568396cf8644507d349a89f80caaff2f6323 |
2 |
Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 18:44:42 2022 +0000 |
4 |
Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 18:44:42 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc55683 |
7 |
|
8 |
www-apps/miniflux: drop 2.0.36 |
9 |
|
10 |
Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> |
11 |
|
12 |
www-apps/miniflux/Manifest | 2 - |
13 |
www-apps/miniflux/miniflux-2.0.36.ebuild | 98 -------------------------------- |
14 |
2 files changed, 100 deletions(-) |
15 |
|
16 |
diff --git a/www-apps/miniflux/Manifest b/www-apps/miniflux/Manifest |
17 |
index ff14e3fac835..ae7f599b3033 100644 |
18 |
--- a/www-apps/miniflux/Manifest |
19 |
+++ b/www-apps/miniflux/Manifest |
20 |
@@ -1,4 +1,2 @@ |
21 |
-DIST miniflux-2.0.36-deps.tar.xz 151007452 BLAKE2B b21e2a96e9c19341ff1435deb41558b6a1061d7ed136f4164e577949519582e003bfc0ac7f1d60453dbde89d807fbf2707c878dc3c5e0da874ce8f3b6e6682d9 SHA512 f7708d45ad1ed72faf4a32420c990fdeea25258d7caa2a332781590b169bbaa4ead53baaf1024e2e399921182551876a63a3e516a94fdc074995b5cb1d35b9d1 |
22 |
-DIST miniflux-2.0.36.tar.gz 548596 BLAKE2B b3f6a85d635eb095f41852d3e618e7e2e2b97e83c776f16b4da9a22a0bb03e9c1815c4ea1a9b841ee8132087067fb7e00a084536f99e004c0863adaf6bbc64b0 SHA512 0c3f1b68e1cb9c4cf5e543847abf3cb34bb56152991a3cd257f4886c7573d17fc177f928574040c2d5b339bf8fe39f9504952f234babe1dcd3b824f8ec95c75a |
23 |
DIST miniflux-2.0.37-deps.tar.xz 154048036 BLAKE2B 88eaba31505c4d1ace55428a8e29dac8449776e1f9cd9a9fe5a54f21dee65df8ddb9c8cfc88968ec4476cc5e3d7670f47ffc98d41ea5a6fe1ae9e23bb6b09807 SHA512 c499964a174a0cef1ec09824e8b6f9fbe3ff8eb77e2f5f9f4aedd73f95c569338afd4ec5c9c312556c9435863c8a4398b63a5f24a55c61d0d8a5afd63a83f31b |
24 |
DIST miniflux-2.0.37.tar.gz 555360 BLAKE2B 64188e03583dd011261c2d69c30e105af65d61ed996c4c2785621aa74d6b0602eaeed312750a089dfb1c4f5bc00c26f79549f2df27714cdca44506439b2ba6af SHA512 6944e638cdec6d0d5e92362ad4849028d0260780919eff8d6b6999327f9a482a1b3b09f1479b3c8c4b2727ced524caa13a6c7ac655b230ff244519cfe095cbd5 |
25 |
|
26 |
diff --git a/www-apps/miniflux/miniflux-2.0.36.ebuild b/www-apps/miniflux/miniflux-2.0.36.ebuild |
27 |
deleted file mode 100644 |
28 |
index 005822d6132c..000000000000 |
29 |
--- a/www-apps/miniflux/miniflux-2.0.36.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,98 +0,0 @@ |
32 |
-# Copyright 2020-2022 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-inherit go-module systemd |
38 |
- |
39 |
-DESCRIPTION="Minimalist and opinionated feed reader" |
40 |
-HOMEPAGE="https://miniflux.app https://github.com/miniflux/v2" |
41 |
-SRC_URI="https://github.com/${PN}/v2/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
-SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/${P}-deps.tar.xz" |
43 |
- |
44 |
-LICENSE="Apache-2.0 BSD BSD-2 MIT" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64" |
47 |
- |
48 |
-RESTRICT="test" # requires network access |
49 |
- |
50 |
-DEPEND="acct-user/miniflux" |
51 |
-RDEPEND="${DEPEND} |
52 |
- >=dev-db/postgresql-9.5 |
53 |
-" |
54 |
- |
55 |
-S="${WORKDIR}/v2-${PV}" |
56 |
- |
57 |
-src_compile() { |
58 |
- ego build -ldflags="-s -w -X 'miniflux.app/version.Version=${PV}' " -o miniflux main.go |
59 |
-} |
60 |
- |
61 |
-src_install() { |
62 |
- dobin miniflux |
63 |
- |
64 |
- insinto /etc |
65 |
- doins "${FILESDIR}/${PN}.conf" |
66 |
- |
67 |
- newconfd "${FILESDIR}/${PN}.confd" ${PN} |
68 |
- |
69 |
- newinitd "${FILESDIR}/${PN}.initd" ${PN} |
70 |
- systemd_dounit "${FILESDIR}/${PN}.service" |
71 |
- |
72 |
- fowners miniflux:root /etc/${PN}.conf |
73 |
- fperms o-rwx /etc/${PN}.conf |
74 |
- |
75 |
- local DOCS=( |
76 |
- ChangeLog |
77 |
- README.md |
78 |
- "${FILESDIR}"/README.gentoo |
79 |
- ) |
80 |
- |
81 |
- # Makefile has no install target, so call einstalldocs directly |
82 |
- einstalldocs |
83 |
- |
84 |
- doman "${PN}".1 |
85 |
-} |
86 |
- |
87 |
-pkg_postinst() { |
88 |
- if [[ -z "${REPLACING_VERSIONS}" ]]; then |
89 |
- # This is a new installation |
90 |
- |
91 |
- echo |
92 |
- elog "Before using miniflux, you must first create and initialize the database" |
93 |
- elog "and enable the hstore extension for it." |
94 |
- elog "" |
95 |
- elog "Afterwards, create your first admin user by running:" |
96 |
- elog " miniflux -create-admin" |
97 |
- else |
98 |
- # This is an existing installation |
99 |
- |
100 |
- echo |
101 |
- elog "If you are upgrading from a previous version, schema migrations must be performed." |
102 |
- elog "To perform the migrations, stop the daemon, backup your database, and run:" |
103 |
- elog " emerge --config =${PF}" |
104 |
- fi |
105 |
- |
106 |
- echo |
107 |
- elog "Please read" |
108 |
- elog "" |
109 |
- elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*" |
110 |
- elog "" |
111 |
- elog "for more information." |
112 |
-} |
113 |
- |
114 |
-pkg_config() { |
115 |
- # To be safe, avoid doing migrations if miniflux is running |
116 |
- if pgrep miniflux; then |
117 |
- die "miniflux appears to be running, refusing to continue." |
118 |
- fi |
119 |
- |
120 |
- # Extract the database URL variable instead of just sourcing the config file |
121 |
- # because miniflux itself may interpret quotes as part of the URL |
122 |
- local DATABASE_URL="$(sed -n 's/^DATABASE_URL=\(.*\)/\1/p' ${EROOT}/etc/${PN}.conf)" |
123 |
- [[ -n "${DATABASE_URL}" ]] || die "Failed getting DATABASE_URL from config file" |
124 |
- |
125 |
- DATABASE_URL="${DATABASE_URL}" "${EROOT}"/usr/bin/miniflux -migrate || die "miniflux -migrate failed. Please check the above output for errors." |
126 |
- |
127 |
- echo |
128 |
- elog "Database migrations complete." |
129 |
-} |