summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2021-09-01 13:35:46 -0500
committerWilliam Hubbs <williamh@gentoo.org>2021-09-01 13:36:31 -0500
commitebe41a4e43241bfdc88eb21cd665348e5dbc829c (patch)
treeccdc1f8a3fcf9c47fe8d25abc0e670a6152824b6 /www-apps
parentapp-benchmarks/bonnie++: Stabilize 2.00a ppc, #808417 (diff)
downloadgentoo-ebe41a4e43241bfdc88eb21cd665348e5dbc829c.tar.gz
gentoo-ebe41a4e43241bfdc88eb21cd665348e5dbc829c.tar.bz2
gentoo-ebe41a4e43241bfdc88eb21cd665348e5dbc829c.zip
www-apps/karma-bin: 0.90 bump and glep 81 conversion
Closes: https://bugs.gentoo.org/781521 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/karma-bin/Manifest1
-rw-r--r--www-apps/karma-bin/karma-bin-0.90.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/www-apps/karma-bin/Manifest b/www-apps/karma-bin/Manifest
index 5bff14543456..1ac5c7eee2f3 100644
--- a/www-apps/karma-bin/Manifest
+++ b/www-apps/karma-bin/Manifest
@@ -5,3 +5,4 @@ DIST karma-bin-0.39-amd64.tar.gz 15071130 BLAKE2B 71edfac70d02eee3b9406fc57e335c
DIST karma-bin-0.40-amd64.tar.gz 14309083 BLAKE2B bdb0dff3ed308102eff8a4d7e4363901619045c39c2e154cda629aa0bd65ff6a0afee8885d3b014e6fcd448d25df1b881de4b4281efa525a73f54fbb9c425d5b SHA512 5148164b78da3e9a79eda8f203f52fd78c233993f657887d3d64fe0eaf00c90610058b3f0e8509a5d4f9f05f77b5c39461cbfa9d4ccbc9d984ba07944955756d
DIST karma-bin-0.41-amd64.tar.gz 14311961 BLAKE2B 6e16ba96c0e4c612e4b6e93397d21469a154285e14c5dce547cac02a1a04dc37ef3cb4d6070e32c322dbdc3e30c1bd4997e2c0c0ad358a238ecaf7028e65f28e SHA512 ff0ff076e5273d6b813886cdc4a8476b9bc2c9afea29f591ba0ba6f7049ea79610dfb986f532b571ffb6b90b24da1a82e770546de9ca750985055e37cc7805e3
DIST karma-bin-0.43-amd64.tar.gz 14854945 BLAKE2B f9db45563f58d615370514fa206ec45b41126c1701f4b586e7a70564e4ea65123753532c086f8f1bf3cf77160a041d87fe09c33bfe9cd8ca6263154867ee3e2b SHA512 d82beeec70d3e05301ce8b788b8e54b28e9540c9e652ee5e61188334672f5f5341ada1f63c20161c7f67216b0f74402070c849a14039de4e7eb863e688b15444
+DIST karma-bin-0.90-amd64.tar.gz 12821866 BLAKE2B db6fed9451f1bd641eb9f00692ad41d4a55a2303c02be07987c7aaebe26be5f1d0b049d4d80c68f8e21ba8460ed206101b7ec1e4c4746e3a509a5260d20e7508 SHA512 c9a6f257796c02c8ded4bf634528eb7b148ad68d42b85dcd760818e164742f5e02033e3e5de4f02ef2689ff4a53ae2e82a59ff42c28668ac733c65e43b69ac15
diff --git a/www-apps/karma-bin/karma-bin-0.90.ebuild b/www-apps/karma-bin/karma-bin-0.90.ebuild
new file mode 100644
index 000000000000..9f5638b450be
--- /dev/null
+++ b/www-apps/karma-bin/karma-bin-0.90.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+MY_PN=${PN%-bin}
+
+DESCRIPTION="Alerts dashboard for Prometheus Alertmanager"
+HOMEPAGE="https://github.com/prymitive/karma"
+SRC_URI="https://github.com/prymitive/${MY_PN}/releases/download/v${PV}/${MY_PN}-linux-amd64.tar.gz -> ${P}-amd64.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ acct-group/karma
+ acct-user/karma"
+ RDEPEND="${DEPEND}"
+
+QA_PREBUILT="usr/bin/*"
+RESTRICT="strip"
+S="${WORKDIR}"
+
+src_install() {
+ dobin karma-linux-amd64
+ dosym karma-linux-amd64 /usr/bin/karma
+ insinto /etc/${MY_PN}
+ newins "${FILESDIR}"/${MY_PN}-0.24.yaml ${MY_PN}.yaml
+ newinitd "${FILESDIR}"/${MY_PN}.initd ${MY_PN}
+keepdir /var/log/${MY_PN}
+fowners ${MY_PN}:${MY_PN} /var/log/${MY_PN}
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Please edit ${EROOT}/etc/karma/karma.yaml to match your system."
+ fi
+}