public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/alertmanager/
Date: Mon, 11 Jun 2018 09:33:17 +0000 (UTC)	[thread overview]
Message-ID: <1528709580.6a75b00bc8f6b1e82860e52e57f3d8687cfa7454.mrueg@gentoo> (raw)

commit:     6a75b00bc8f6b1e82860e52e57f3d8687cfa7454
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 11 09:33:00 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jun 11 09:33:00 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a75b00b

app-metrics/alertmanager: Version bump to 0.15.0_rc2

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-metrics/alertmanager/Manifest                  |  1 +
 .../alertmanager/alertmanager-0.15.0_rc2.ebuild    | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/app-metrics/alertmanager/Manifest b/app-metrics/alertmanager/Manifest
index b38be1da387..4ae583de8ea 100644
--- a/app-metrics/alertmanager/Manifest
+++ b/app-metrics/alertmanager/Manifest
@@ -1,2 +1,3 @@
 DIST alertmanager-0.14.0.tar.gz 2786623 BLAKE2B e9c773af81153b3062d27464c6b8d1edcafe66575b8d5a6309b162c6546d3dedf7ae5b1afcf4dafb3dfdb6bcf826aeb9119b27cfe596da365a6272ee71b30441 SHA512 e352d51d86b853ff679892df3c494da2c7b4afb918d807e6d63b76e959b586f43a4c773de18bdd9e6a5067d4034748bb304ebdee2f08983b00890c1ae393d0b8
 DIST alertmanager-0.15.0_rc1.tar.gz 2982827 BLAKE2B 76c36dab3b2569c81d1738320b7ac7f480715cf119a416df8fa2d7718641390709cb984c48235d7ebfd2413cd7b9c90b62eaa69786e55dc3ad38626f0c46a486 SHA512 93e5d1b068a1dea37f6de3c91fbb86329275e9ecd4a518eb874a735c386acfc19399611c061fff8c7f53cfc0b73fbbce0e17a6ac4757ea120e701dfe673b44e0
+DIST alertmanager-0.15.0_rc2.tar.gz 2722554 BLAKE2B b2f5261c1dfef93075df72cb1997e3dfe71a2642bb0b4a43616e85fda9ec3d2985cebb247bab6703478bc2d64f7ba2ba72adfeb9f209a16cf728abae760a814b SHA512 54177fd233ff4d6d15eb3f1653171f12727a6a1473784044ab6201a64dcacf601db9cf3a2c565493c707f61099db61f5b04523b576719e3611f5b32e5ea2ebe1

diff --git a/app-metrics/alertmanager/alertmanager-0.15.0_rc2.ebuild b/app-metrics/alertmanager/alertmanager-0.15.0_rc2.ebuild
new file mode 100644
index 00000000000..d6a59d0bb44
--- /dev/null
+++ b/app-metrics/alertmanager/alertmanager-0.15.0_rc2.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/alertmanager"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+ALERTMANAGER_COMMIT="ec2cc57"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Alertmanager for alerts sent by client applications such as Prometheus"
+HOMEPAGE="https://github.com/prometheus/alertmanager"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+RESTRICT="test"
+
+pkg_setup() {
+	enewgroup ${PN}
+	enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${ALERTMANAGER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+	pushd src/${EGO_PN} || die
+	mkdir -p bin || die
+	GOPATH="${S}" promu build -v --prefix bin || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/*
+	dodoc {README,CHANGELOG,CONTRIBUTING}.md
+	insinto /etc/alertmanager/
+	newins doc/examples/simple.yml config.yml.example
+	popd || die
+	keepdir /var/lib/alertmanager /var/log/alertmanager
+	fowners ${PN}:${PN} /var/lib/alertmanager /var/log/alertmanager
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}


             reply	other threads:[~2018-06-11  9:33 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-11  9:33 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 18:54 [gentoo-commits] repo/gentoo:master commit in: app-metrics/alertmanager/ Arthur Zamarin
2025-01-31  2:47 William Hubbs
2023-12-03 23:15 Sam James
2023-09-26 21:27 William Hubbs
2022-10-21 17:40 William Hubbs
2022-05-18 22:10 William Hubbs
2022-05-18 22:10 William Hubbs
2021-11-07 21:00 Mikle Kolyada
2021-06-12 19:10 Mikle Kolyada
2021-06-12 19:10 Mikle Kolyada
2021-05-27 17:44 Mikle Kolyada
2021-05-27 17:44 Mikle Kolyada
2021-05-25 10:38 Mikle Kolyada
2021-05-04 11:32 Mikle Kolyada
2021-04-21  8:09 Mikle Kolyada
2021-04-19 13:58 Mikle Kolyada
2021-04-08 13:19 Mikle Kolyada
2021-04-07 13:40 Mikle Kolyada
2021-04-07 11:21 Mikle Kolyada
2020-08-02 16:21 William Hubbs
2020-06-25  4:21 William Hubbs
2019-12-04  5:34 William Hubbs
2019-12-03  9:48 Michał Górny
2019-11-23 10:58 Manuel Rüger
2019-09-04 13:50 Manuel Rüger
2019-09-04 13:50 Manuel Rüger
2019-07-09 12:53 Manuel Rüger
2019-07-09 12:52 Manuel Rüger
2019-05-02 16:36 Manuel Rüger
2019-05-02 16:36 Manuel Rüger
2019-04-05 13:14 Manuel Rüger
2019-01-31 16:29 Manuel Rüger
2019-01-22 14:13 Manuel Rüger
2018-11-11 15:21 Manuel Rüger
2018-08-20 17:55 Manuel Rüger
2018-07-13 10:15 Manuel Rüger
2018-07-13 10:15 Manuel Rüger
2018-06-27 11:22 Manuel Rüger
2018-06-18 10:32 Manuel Rüger
2018-06-18 10:31 Manuel Rüger
2018-04-10 12:28 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1528709580.6a75b00bc8f6b1e82860e52e57f3d8687cfa7454.mrueg@gentoo \
    --to=mrueg@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox