summaryrefslogtreecommitdiff
path: root/app-metrics/alertmanager
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-06-29 11:38:31 +0100
commit90c88731bd036e5698b281fbc0a5f3aa4c9983ac (patch)
tree83fc5facb6b12be510a37bc3d241cc63e965b13a /app-metrics/alertmanager
parentfeb0daf81d888e9160f9f94502de09b66f2a63fd (diff)
gentoo resync : 29.06.2020
Diffstat (limited to 'app-metrics/alertmanager')
-rw-r--r--app-metrics/alertmanager/Manifest2
-rw-r--r--app-metrics/alertmanager/alertmanager-0.21.0.ebuild45
2 files changed, 47 insertions, 0 deletions
diff --git a/app-metrics/alertmanager/Manifest b/app-metrics/alertmanager/Manifest
index ab61fdcce750..d13bf001dfbe 100644
--- a/app-metrics/alertmanager/Manifest
+++ b/app-metrics/alertmanager/Manifest
@@ -2,6 +2,8 @@ AUX alertmanager.confd 135 BLAKE2B 7a3dd341e63a73e9782d44dc59c8a65ea1c855ae0589c
AUX alertmanager.initd 817 BLAKE2B 74a7e6c292ac52f4d6d00644038e74624be41ed632a6db389a7c226b3a37d43f22f1c8c098d34f652d9b6b9cb407523b375c884e75fe3740578f26e822df21c7 SHA512 34ae9348f5e054543bdbffd29e30d1fb6147d47e74cecb1755c29bf4327bd56ac4fae4cecddf2c515b6ddffbce4ad7151ae3a3e7f283db2d6b74619f5faa44ac
DIST alertmanager-0.18.0.tar.gz 5181819 BLAKE2B efcc856ccacb97646915e8d622179cf3cc7554351036cf556347ec46cdede5c9223139cb209b52376964c7b19b119f3683f82698d1e7c07b1432bb3e4bb37239 SHA512 59faec308abaac3d2b59198fef25109b208de1a807b38803dc10722ff0caf1bac9d9795005fefb3b4e2acda62be136bfcafe7b9702ae52565021a424f99fa730
DIST alertmanager-0.19.0.tar.gz 5862442 BLAKE2B a79336286ca1099dcc73cce897eccaff8d40f8d3140ebf1943a1189cf1d2ec58738cbe7fc02221826ffc0e1535954a11a461ac6ea222113c79a44d43cc9eda83 SHA512 2c21bfbb1001e07e81b1115439ad15e7c0e7089839e56a19c445177e322b8ef9aa2b85e96478f3c3d709cbbd3a5447662a8c55da370b84aa4b6b24f83848744b
+DIST alertmanager-0.21.0.tar.gz 5704209 BLAKE2B 646ac0b05eb194d1c35f49e38c0a206d09a9c45d4f2f7c371a53ecfff5deba6e2c2af82f3f4ce2b591338c557241766395f42b8bd3c91ae2da4ef7e570666fda SHA512 72568407af4e90455975eff504ed49f4877eb517673532f655b6b0459725db5df7bbd1a3be120106c46b30dd7056714cc0b34b46df9c4d8c98e1f8c9eb0c39da
EBUILD alertmanager-0.18.0.ebuild 1389 BLAKE2B 4757558e01287f8afff1a39c04dfd1cccaaae3ee14584c8196300280acea50393a05b56e6a255cc35cca408464044273e9935e37ecfd03f86ceb17867ac814f9 SHA512 e64b174b7433b0bab0d6c549d470582737a6b138f0d79e042a9bb7e9b7220dcfe5f22652188f159b6a550622a9bd160c6dac34a910ab2f8b0a30ce5ba4910e32
EBUILD alertmanager-0.19.0.ebuild 1389 BLAKE2B e4845bb46c400e9185c28f13b43432c177a8708bb08cbc36f27ea1c9cb90ca5c8d6172090dc84c156acd288b5f812b5a64ce1668f5aff318d4a59e60c583c329 SHA512 fa273caa4bc24e6cfb118b370605ae0513975c8184f1e14ce98f48fd036d10aa21f0e5b5c45393dbfee0e1f1002c03c3571c09ba1701c6a7fe8a2a0eb2b8802c
+EBUILD alertmanager-0.21.0.ebuild 1100 BLAKE2B 8399e968c5543a8ee3c7301d372fdffb954bd3ce0d23830d654d557234a8007802509dd58faad9b8a152c0c0a4efb90ff22f29b1081308f484a7dc94cc46ad51 SHA512 7a9ddb85663a61eebb95be83a77a5adbcb9179564850dd6cb9e1f22adb23d09cc380c4f76ddc31c2bc9758645e3315d0864281b4863cca7444c7d7a84a2c5d4d
MISC metadata.xml 336 BLAKE2B 2cab21f76be9803ce08848025fd889354e4595fe5195f36361a4b5a2f2bc2e8e3e0c697fef2933db48d178d10f838a960e7ad2a8ea74bae42ebe395a6d150484 SHA512 63a13c6b9bff1f75c79b2c0cf1cb16e4973d58e666e04e1ef50bb746caaea8e5358cb61a39c257c082b67264960dbcc78da5ae24dcad94d7e72f833483c8e5bd
diff --git a/app-metrics/alertmanager/alertmanager-0.21.0.ebuild b/app-metrics/alertmanager/alertmanager-0.21.0.ebuild
new file mode 100644
index 000000000000..028f242a3a36
--- /dev/null
+++ b/app-metrics/alertmanager/alertmanager-0.21.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module user
+GIT_COMMIT=4c6c03eb
+MY_PV="${PV/_rc/-rc.}"
+
+DESCRIPTION="Alertmanager for alerts sent by client applications such as Prometheus"
+HOMEPAGE="https://github.com/prometheus/alertmanager"
+SRC_URI="https://github.com/prometheus/alertmanager/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+BDEPEND="dev-util/promu"
+
+RESTRICT+=" test"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${GIT_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+ promu build -v --prefix bin || die
+}
+
+src_install() {
+ dobin bin/*
+ dodoc {README,CHANGELOG,CONTRIBUTING}.md
+ insinto /etc/alertmanager/
+ newins doc/examples/simple.yml config.yml.example
+ keepdir /var/lib/alertmanager /var/log/alertmanager
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ fowners ${PN}:${PN} /var/lib/alertmanager /var/log/alertmanager
+}