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: Fri,  5 Apr 2019 13:14:10 +0000 (UTC)	[thread overview]
Message-ID: <1554470000.155d3772fb4d23fb3c1bcb567696d046f9b22492.mrueg@gentoo> (raw)

commit:     155d3772fb4d23fb3c1bcb567696d046f9b22492
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  5 13:13:20 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Apr  5 13:13:20 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155d3772

app-metrics/alertmanager: Version bump to 0.16.2

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 app-metrics/alertmanager/Manifest                  |  1 +
 .../alertmanager/alertmanager-0.16.2.ebuild        | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-metrics/alertmanager/Manifest b/app-metrics/alertmanager/Manifest
index 2631080eeed..c9fabbccf5d 100644
--- a/app-metrics/alertmanager/Manifest
+++ b/app-metrics/alertmanager/Manifest
@@ -5,3 +5,4 @@ DIST alertmanager-0.15.2.tar.gz 2758175 BLAKE2B c2b612c2ad5723085c1d5515ce205054
 DIST alertmanager-0.15.3.tar.gz 2758678 BLAKE2B 68c319e00e800fc35ce5a319b0c6bc3717bc7d5479e3204420949cc937a1470006d1e582f79b1562a810dc67c5827a6e0c8985618101a05c62c4231541d299a5 SHA512 95822f786b488fe747dbd780267f91830dbf0629878942a0ad131dcd3c8b18c34e672cb1e59151fb2ac9bcbf25095d0b134dabe4ff87d6a3625b4f443784f716
 DIST alertmanager-0.16.0.tar.gz 3608969 BLAKE2B a0cc7af4da45cb240e85cb39bd1eb87a8b8705f2ee2e87227cccd7e9ccc78278a89a089dd4a19a5a3d9f9667a0934b4e681e2fbbb378fb22510a742ee76fbaa3 SHA512 a3a2288d2a2205e0d94915603e4758447f194ebe06e69b5518fb7ebdb7d6ec4bab5db623e4dec57938a7936a9ac96be7cebd57304c7983deac11c61edd39b2b3
 DIST alertmanager-0.16.1.tar.gz 3611221 BLAKE2B 9871ff9c6e117cc8655d61b24d2f70a4061246d4c8902850c1802215b0dfa69d3b840ce46b237ae7d0caa2de33b956e7e9f47a8db40c6c32df53117e2d5e69b5 SHA512 7ac369bca5a3425bb80e5610a3e4141a2e112dac7c44d468096c7b80bcf7d77c7f653fd14d2db999f4abdea07df5ea250b27aa78c073be412777bdd289983332
+DIST alertmanager-0.16.2.tar.gz 3616125 BLAKE2B f7ab0dc0b4ae08527d02643facb1e0192215b64b80120e2ca0b203af2ae21b2ba9d247a037b36e96be841f39f170964e6f27e07b65003b610c04a25d1e30f3c3 SHA512 94012739c5c9691ff34bb521e220e00de13ef866451ffaaa8d45f85c228c6b515a84550a819b351db36e3da7c17a0fa397b5b1c6a4cbc3451442f5064a0184a3

diff --git a/app-metrics/alertmanager/alertmanager-0.16.2.ebuild b/app-metrics/alertmanager/alertmanager-0.16.2.ebuild
new file mode 100644
index 00000000000..0436ba1b213
--- /dev/null
+++ b/app-metrics/alertmanager/alertmanager-0.16.2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2019 Gentoo Authors
+# 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="308b762"
+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-lang/go-1.11
+	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
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}/go-cache" 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:[~2019-04-05 13:14 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-05 13:14 Manuel Rüger [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-03 23:15 [gentoo-commits] repo/gentoo:master commit in: app-metrics/alertmanager/ 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-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-06-11  9:33 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=1554470000.155d3772fb4d23fb3c1bcb567696d046f9b22492.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