diff options
author | William Hubbs <williamh@gentoo.org> | 2022-05-18 17:06:33 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2022-05-18 17:10:03 -0500 |
commit | 93958bd6bd80712703a75ad44d4b9158a10a758b (patch) | |
tree | 62a93b80da542350d26bfd9785d8cc67a7a9f003 /app-metrics/alertmanager | |
parent | media-libs/mesa: Drop old versions (diff) | |
download | gentoo-93958bd6bd80712703a75ad44d4b9158a10a758b.tar.gz gentoo-93958bd6bd80712703a75ad44d4b9158a10a758b.tar.bz2 gentoo-93958bd6bd80712703a75ad44d4b9158a10a758b.zip |
app-metrics/alertmanager: add 0.24.0
Closes: https://bugs.gentoo.org/828690
Bug: https://bugs.gentoo.org/844316
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/alertmanager')
-rw-r--r-- | app-metrics/alertmanager/Manifest | 2 | ||||
-rw-r--r-- | app-metrics/alertmanager/alertmanager-0.24.0.ebuild | 46 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-metrics/alertmanager/Manifest b/app-metrics/alertmanager/Manifest index 6b6275120663..3ffa689f4a39 100644 --- a/app-metrics/alertmanager/Manifest +++ b/app-metrics/alertmanager/Manifest @@ -1,6 +1,8 @@ DIST alertmanager-0.21.0.tar.gz 5704209 BLAKE2B 646ac0b05eb194d1c35f49e38c0a206d09a9c45d4f2f7c371a53ecfff5deba6e2c2af82f3f4ce2b591338c557241766395f42b8bd3c91ae2da4ef7e570666fda SHA512 72568407af4e90455975eff504ed49f4877eb517673532f655b6b0459725db5df7bbd1a3be120106c46b30dd7056714cc0b34b46df9c4d8c98e1f8c9eb0c39da DIST alertmanager-0.22.2.tar.gz 2089680 BLAKE2B d8c8cbab0267da0dceadf78ea29ae1bb959537650c507ca35bbfb5f082ac7339d710ede9b27cc6157fffff3b00bc75b41223b6d722cb5ea47a7eaefc9469baa9 SHA512 1cc662b5b9cfb812dd2cf839ad3772b6fbd6977cc11b33648a42651a3fbf0f4dc08436b809485d55d7143900a1a4e8205ed78e97d6a226e5d71b59bfdb6b4561 DIST alertmanager-0.23.0.tar.gz 2099450 BLAKE2B 4fab54a4f56f3c3cb629715d645db0a22174756845245c53501e1ef062c73be64b78525a6328be9c8b1b3c12f0483e3cbbfeb635b1f5c9647423dc65bc630143 SHA512 5cd8d2ba24781b37291e61f911d75830f8abaef2f110ee98ed2b979f895ab9b96e8e4232bda0759d4689c2f42bd4a47ab8ecc3396659d7784a4ffc23ed0b68f0 +DIST alertmanager-0.24.0-deps.tar.xz 194175652 BLAKE2B 01095b5a4f6edee4c30f97f2ed3f949149885118532d421da8ac87fdee58cc65278ad9cebd07defb67006ff4acc1043505017e8fcbdf1d989d054584aeb21c14 SHA512 8170c3f27691b5a59f2e9a1d7f4cfb323cd0137eb4a604f224012e9a0065dca956e2d9ee9e138cc5061b561bcdc2d8329dbbb0beafa18274eaed81cbdd73fe97 +DIST alertmanager-0.24.0.tar.gz 2135257 BLAKE2B 5726595a14da5e228cd5704dc2aa3518a86d1e07ff6ce886ddcf3b8621d3112d10899c6fa6df3004b2a46017d07f28587ac815e8f9ef03aff3e8bfcee793e96f SHA512 97147f15c8879eacc2744a11a1db0edd04f532650b3e8f397e8ab6f7f4868203f212d1c33f596aa52876e190db84247a60b39b25a72fbceabcc5b3efae0eb920 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273 DIST cloud.google.com%2Fgo%2F@v%2Fv0.34.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273 DIST cloud.google.com%2Fgo%2F@v%2Fv0.38.0.mod 1006 BLAKE2B 9d321b9bad7e881795f0215828ca23ff5753b8ca9cbe64ca085bcd2f64d36d0d5bdd5c3e80eb64e19e067748b6b23eb7837827cede0e75a840ed1cfa2b00c1a8 SHA512 8aa90e6ce7d50af3db56c8a7abdd16822f6351cabb96e6b75ac0cdefa15bb4a2d402aa84e6212fec4d599ec6f13cb1891bb37f41200e6a05a27642375a89a959 diff --git a/app-metrics/alertmanager/alertmanager-0.24.0.ebuild b/app-metrics/alertmanager/alertmanager-0.24.0.ebuild new file mode 100644 index 000000000000..0e12326bff72 --- /dev/null +++ b/app-metrics/alertmanager/alertmanager-0.24.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module systemd +GIT_COMMIT=f484b17f +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" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0 BSD BSD-2 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT+=" test" + +BDEPEND="dev-util/promu" + +DEPEND=" + acct-group/alertmanager + acct-user/alertmanager" + RDEPEND="${DEPEND}" + +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}.md + insinto /etc/alertmanager/ + newins doc/examples/simple.yml config.yml + keepdir /var/lib/alertmanager /var/log/alertmanager + systemd_dounit "${FILESDIR}"/alertmanager.service + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} + fowners ${PN}:${PN} /etc/alertmanager /var/lib/alertmanager /var/log/alertmanager +} |