summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <william.hubbs@sony.com>2019-07-15 18:20:47 -0500
committerWilliam Hubbs <williamh@gentoo.org>2019-07-15 18:21:26 -0500
commitd119b635207160a46f42c65ff4534b742120eb75 (patch)
tree627353ac28bd336b03c1e4284c3f7616f3efb6a2 /www-apps
parentdev-python/django-cacheops: cache with automatic event-driven invalidation (diff)
downloadgentoo-d119b635207160a46f42c65ff4534b742120eb75.tar.gz
gentoo-d119b635207160a46f42c65ff4534b742120eb75.tar.bz2
gentoo-d119b635207160a46f42c65ff4534b742120eb75.zip
www-apps/karma-bin: 0.40 bump
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.66, Repoman-2.3.12 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.40.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/www-apps/karma-bin/Manifest b/www-apps/karma-bin/Manifest
index ca46a9cf0d09..3630f5c3f8c2 100644
--- a/www-apps/karma-bin/Manifest
+++ b/www-apps/karma-bin/Manifest
@@ -2,3 +2,4 @@ DIST karma-bin-0.24-amd64.tar.gz 11511588 BLAKE2B 4de38f4925e039ae28e160d2f541cb
DIST karma-bin-0.27-amd64.tar.gz 13932963 BLAKE2B e99093ec5a7d72fbca136d63789352e001974e4bf0a90ee45d6ff8a8814df9dfdf695af4fb1b17cf1c6a29fce2be65965f048daa9070484b2fcc53dc6e33122a SHA512 844301cb8bdd08452d02ab33c39dd5d8307e538f87d18fff58bfd888ddd207bb6557d40c053613d2e3991cf915b032119ed08ebe5a32a98d12cac06a25872887
DIST karma-bin-0.33-amd64.tar.gz 14113120 BLAKE2B a37dc699d7ff26dcbb9188afc48639309c2f44490f2f59dd41d15e6c00035b4fb9bc9bd86abd8e999862a4a71bca76beb70bbb06f97e761fdb80b046dc742ed5 SHA512 a2bec5381648a680af842d5b61c23883655b508ed9803cec2e2e65bffba136076636651dbf8eedb7e220a746629902d4b29956fbebe902a1ff14924bb9a8ba27
DIST karma-bin-0.39-amd64.tar.gz 15071130 BLAKE2B 71edfac70d02eee3b9406fc57e335c2f9c4f68a16f32da591e70c753f1498c182f36da7c018458b54f39b00968908e56367cdf30f26815ed53e78e6710d56e76 SHA512 6ed03b3c25745fc631ca04b3659239efdce78b221eb1c9c43fb9c8f8e7d6aadc153962388b54b0209e8896f9c9cf33f1fa5a23b6ed2bfbd4c4b48c7a24ab0637
+DIST karma-bin-0.40-amd64.tar.gz 14309083 BLAKE2B bdb0dff3ed308102eff8a4d7e4363901619045c39c2e154cda629aa0bd65ff6a0afee8885d3b014e6fcd448d25df1b881de4b4281efa525a73f54fbb9c425d5b SHA512 5148164b78da3e9a79eda8f203f52fd78c233993f657887d3d64fe0eaf00c90610058b3f0e8509a5d4f9f05f77b5c39461cbfa9d4ccbc9d984ba07944955756d
diff --git a/www-apps/karma-bin/karma-bin-0.40.ebuild b/www-apps/karma-bin/karma-bin-0.40.ebuild
new file mode 100644
index 000000000000..208ce387b321
--- /dev/null
+++ b/www-apps/karma-bin/karma-bin-0.40.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+MY_PN=${PN%-bin}
+
+inherit user
+
+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"
+
+QA_PREBUILT="usr/bin/*"
+RESTRICT="strip"
+S="${WORKDIR}"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 -1 ${MY_PN}
+}
+
+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
+}