aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWynn Wolf Arbor2020-02-27 12:52:28 +0100
committerWynn Wolf Arbor2020-02-27 12:52:28 +0100
commit8057a3429bb173d5bbfef95f21dbed89b8a51997 (patch)
tree98799b478bae9bdde823e11ccfa070b903f1e4f7
parentb38b0346be64dbd049a7505777b2303671cb39bd (diff)
downloadpramantha-8057a3429bb173d5bbfef95f21dbed89b8a51997.tar.gz
net-news/miniflux: Add 2.0.20
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Diffstat (limited to '')
-rw-r--r--net-news/miniflux/Manifest5
-rw-r--r--net-news/miniflux/files/miniflux.conf1
-rwxr-xr-xnet-news/miniflux/files/miniflux.initd15
-rw-r--r--net-news/miniflux/metadata.xml12
-rw-r--r--net-news/miniflux/miniflux-2.0.20.ebuild38
5 files changed, 71 insertions, 0 deletions
diff --git a/net-news/miniflux/Manifest b/net-news/miniflux/Manifest
new file mode 100644
index 0000000..5396a92
--- /dev/null
+++ b/net-news/miniflux/Manifest
@@ -0,0 +1,5 @@
+AUX miniflux.conf 73 BLAKE2B a0ab499d09dd0a053003a21929051beac0946f57dccfd7f39d50a68f247ad9e50c88a02936e392c2923af52e9962b8957760bbf403b5cfa3989074ed12038c6c SHA512 851fa8659a0ddc3d74571cd51c9e964df753f45096c8be49507f28a034ed23a961a0fab83a68e8579d084ed012abebeb279a23e414cffed5e92798e67ce21abd
+AUX miniflux.initd 341 BLAKE2B ca8c891554bcfc3ed7fa2fc71cee441af9bb7976a0f9207a8481e959256ffe05854867e0ae2f3bb5108f697b3515857d4c20c797934416b24e0a61adbbe7b942 SHA512 c438992e732f8d356d48faad2e1a5f340d73ecdcbe036ab2f89ca03bfd16d8f310a720b13bbbca502fc7f73e353e595c1fa26d1ecf818d7cf0fd0e08f3e0ab89
+DIST miniflux-2.0.20.tar.gz 3725305 BLAKE2B 17d91ebb3a9d1cfa673753f18c3edccf817fc967f39ad6eb33c610a10b58c93793bc718cf3567c98d4ad1e04b6316a5e8590e44d816986a62062a38f2317b5f1 SHA512 5bdaff3362995c963544d300966851bf87fbbd1884ceca5be325553b682b02bb69634274a9405e244ed6bd9e54dcb97658581a49c4a6f23addd4ba4c4977d71e
+EBUILD miniflux-2.0.20.ebuild 779 BLAKE2B a91296dcb039cb6425307af19da9866ce3735b30d27492f8f56664174cd5f35a9218182d8733a5ad9b52209e4d96ff1297950248dd89b3a33145b4c2f661fe48 SHA512 0f1a09d2d3ee169e280291025c56c2ef6a2bd5aa71bdd1e049833f0986ef0579de27d4c9c6d51ea2d2e9d9090eb926f0e60b2c8958e75e6210d800ea89832202
+MISC metadata.xml 416 BLAKE2B c68367c5f2623e24d8c84e6ff1f6e01f3f614ab9027c126f0d800d8380b0f3fa97d2dc57338871b5a32088c0a964adb2c976d78353ed37bfb7eaff74b8b28749 SHA512 5edfe036e726146076b9cfa21c65bef34eca0b0eaeaca4b35d01eae7935501183bb37136fa3932a38978e7a43f3e3ea622ff52f26178f5a91349e2aa3e044a4f
diff --git a/net-news/miniflux/files/miniflux.conf b/net-news/miniflux/files/miniflux.conf
new file mode 100644
index 0000000..d5b06c9
--- /dev/null
+++ b/net-news/miniflux/files/miniflux.conf
@@ -0,0 +1 @@
+DATABASE_URL=postgresql:///miniflux?sslmode=disable&host=/run/postgresql
diff --git a/net-news/miniflux/files/miniflux.initd b/net-news/miniflux/files/miniflux.initd
new file mode 100755
index 0000000..adc6c0b
--- /dev/null
+++ b/net-news/miniflux/files/miniflux.initd
@@ -0,0 +1,15 @@
+#!/sbin/openrc-run
+# Copyright 2020 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ after postgresql
+}
+
+command="/usr/bin/miniflux"
+command_args="-c /etc/miniflux/miniflux.conf"
+
+command_background="yes"
+command_user="miniflux"
+description="miniflux feed reader"
+pidfile="/run/miniflux.pid"
diff --git a/net-news/miniflux/metadata.xml b/net-news/miniflux/metadata.xml
new file mode 100644
index 0000000..aecfa0a
--- /dev/null
+++ b/net-news/miniflux/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>wolf@oriole.systems</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">miniflux/miniflux</remote-id>
+ <bugs-to>https://github.com/miniflux/miniflux/issues</bugs-to>
+ <doc>https://miniflux.app/docs/index.html</doc>
+ </upstream>
+</pkgmetadata>
diff --git a/net-news/miniflux/miniflux-2.0.20.ebuild b/net-news/miniflux/miniflux-2.0.20.ebuild
new file mode 100644
index 0000000..df79610
--- /dev/null
+++ b/net-news/miniflux/miniflux-2.0.20.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit golang-build golang-vcs-snapshot
+EGO_PN="miniflux.app"
+
+KEYWORDS="amd64 x86"
+EGIT_COMMIT="${PV}"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+DESCRIPTION="Minimalist and opinionated feed reader"
+HOMEPAGE="https://miniflux.app/"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+RESTRICT="mirror"
+
+DEPEND="
+ acct-user/miniflux
+ acct-group/miniflux"
+
+RDEPEND="${DEPEND}
+ dev-db/postgresql"
+
+src_install() {
+ newbin ${EGO_PN} ${PN}
+ doman src/${EGO_PN}/${PN}.1
+
+ insinto /etc/miniflux
+ doins "${FILESDIR}/miniflux.conf"
+ fowners root:miniflux /etc/miniflux
+ fperms 0750 /etc/miniflux
+
+ newinitd "${FILESDIR}/miniflux.initd" miniflux
+}