[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2018-03-06 Thread Manuel Rüger
commit: 29c2e85fde8dfe46e1a6c3fdaab9b3f7a1b628de
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Mar  6 21:34:10 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Mar  6 21:34:10 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c2e85f

net-analyzer/prometheus-alertmanager: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 -
 .../prometheus-alertmanager-0.13.0.ebuild  | 52 --
 .../prometheus-alertmanager-0.14.0.ebuild  | 52 --
 3 files changed, 105 deletions(-)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index 1e773c246d1..bdbd22d580a 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1,2 +1 @@
-DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 
4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4
 SHA512 
3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42
 DIST prometheus-alertmanager-0.14.0.tar.gz 2786623 BLAKE2B 
e9c773af81153b3062d27464c6b8d1edcafe66575b8d5a6309b162c6546d3dedf7ae5b1afcf4dafb3dfdb6bcf826aeb9119b27cfe596da365a6272ee71b30441
 SHA512 
e352d51d86b853ff679892df3c494da2c7b4afb918d807e6d63b76e959b586f43a4c773de18bdd9e6a5067d4034748bb304ebdee2f08983b00890c1ae393d0b8

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.ebuild
deleted file mode 100644
index bb54481780e..000
--- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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="fb713f6"
-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 alertmanager || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin alertmanager/alertmanager
-   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}
-}

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.ebuild
deleted file mode 100644
index bb54481780e..000
--- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# 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="fb713f6"
-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 alertmanager || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin alertmanager/alertmanager
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   insinto /etc/alertmanager/
-   newins doc/examples/simple.yml config.yml.example
-   p

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2018-02-27 Thread Manuel Rüger
commit: 61d87f417502ffe6d2423846692afc1d7a428f23
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb 27 18:54:29 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb 27 18:54:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d87f41

net-analyzer/prometheus-alertmanager: Install amtool

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../prometheus-alertmanager-0.14.0-r1.ebuild   | 52 ++
 1 file changed, 52 insertions(+)

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0-r1.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0-r1.ebuild
new file mode 100644
index 000..43de943ea4f
--- /dev/null
+++ 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0-r1.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="fb713f6"
+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}
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2018-02-13 Thread Manuel Rüger
commit: ac00d754eac4aa50966627545d2042761b61546f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb 13 18:54:29 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb 13 18:55:13 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac00d754

net-analyzer/prometheus-alertmanager: Version bump to 0.14.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 +
 .../prometheus-alertmanager-0.14.0.ebuild  | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index 8ff6bca2f3e..1e773c246d1 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1 +1,2 @@
 DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 
4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4
 SHA512 
3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42
+DIST prometheus-alertmanager-0.14.0.tar.gz 2786623 BLAKE2B 
e9c773af81153b3062d27464c6b8d1edcafe66575b8d5a6309b162c6546d3dedf7ae5b1afcf4dafb3dfdb6bcf826aeb9119b27cfe596da365a6272ee71b30441
 SHA512 
e352d51d86b853ff679892df3c494da2c7b4afb918d807e6d63b76e959b586f43a4c773de18bdd9e6a5067d4034748bb304ebdee2f08983b00890c1ae393d0b8

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.ebuild
new file mode 100644
index 000..bb54481780e
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.14.0.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="fb713f6"
+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 alertmanager || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin alertmanager/alertmanager
+   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}
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2018-01-16 Thread Manuel Rüger
commit: 47feb2330ef42b777b8da0a9aa15326f60413aaf
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jan 16 15:59:48 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jan 16 15:59:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47feb233

net-analyzer/prometheus-alertmanager: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 -
 .../prometheus-alertmanager-0.12.0.ebuild  | 52 --
 2 files changed, 53 deletions(-)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index 3a600c2fdd6..8ff6bca2f3e 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1,2 +1 @@
-DIST prometheus-alertmanager-0.12.0.tar.gz 3683962 BLAKE2B 
92d968d85771d5921146e207040e03551826e72117f600a2d185c34f5e49e9d1a4da61c116656efd44ea1afbc94143bce1c786f569b77238aa973e48af128dfd
 SHA512 
568031418bcfaa671531b0d4b96a9d60054ac7a8f8853c83edaf121d0502b1809d9981646e8d7575daba740b0aed221268e52b91506a3468bcf6fe27ccef17a7
 DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 
4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4
 SHA512 
3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild
deleted file mode 100644
index 10bd1927649..000
--- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 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="fc33cc7"
-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 alertmanager || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin alertmanager/alertmanager
-   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}
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/, ...

2018-01-15 Thread Manuel Rüger
commit: 856dc660264edf6886443e4a1f1fd395c373c659
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 16:09:48 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 16:09:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=856dc660

net-analyzer/prometheus-alertmanager: Version bump to 0.13.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 +
 .../files/prometheus-alertmanager.confd|  2 +-
 .../files/prometheus-alertmanager.initd| 13 +-
 .../prometheus-alertmanager-0.13.0.ebuild  | 52 ++
 4 files changed, 65 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index 6696f1b8a68..694734f191c 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 BLAKE2B 
b362c8d35762c13ae31597f9633378639061095e0ca1f9361a9c0376290bbb1534bd7ced2488c79d04b0c053d5a7930e39b12f309bd3a8e57660ead48264ef1d
 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342
 DIST prometheus-alertmanager-0.12.0.tar.gz 3683962 BLAKE2B 
92d968d85771d5921146e207040e03551826e72117f600a2d185c34f5e49e9d1a4da61c116656efd44ea1afbc94143bce1c786f569b77238aa973e48af128dfd
 SHA512 
568031418bcfaa671531b0d4b96a9d60054ac7a8f8853c83edaf121d0502b1809d9981646e8d7575daba740b0aed221268e52b91506a3468bcf6fe27ccef17a7
+DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 
4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4
 SHA512 
3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42

diff --git 
a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd 
b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd
index a0ae34c4bc0..57c769e41a7 100644
--- a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd
+++ b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd
@@ -1,2 +1,2 @@
 # arguments for prometheus alertmanager
-command_args=""
+command_args="--config.file=/etc/alertmanager/config.yml 
--storage.path=/var/lib/alertmanager"

diff --git 
a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd 
b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd
index ece8bf14587..5d625ac57bb 100644
--- a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd
+++ b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
+# Copyright 2016-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Prometheus alertmanager"
@@ -8,12 +8,21 @@ user=${user:-${RC_SVCNAME}}
 group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/alertmanager"
-command_args="${command_args:--config.file=/etc/alertmanager/config.yml}"
+command_args="${command_args:---config.file=/etc/alertmanager/config.yml 
--storage.path=/var/lib/alertmanager}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/alertmanager/${RC_SVCNAME}.log \
--stderr /var/log/alertmanager/${RC_SVCNAME}.log"
 
+extra_started_commands="reload"
+
 depend() {
after net
 }
+
+reload() {
+ebegin "Reloading ${SVCNAME}"
+start-stop-daemon --signal HUP --pidfile "${pidfile}"
+eend $? "Failed to stop ${SVCNAME}"
+}
+

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.ebuild
new file mode 100644
index 000..bb54481780e
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.13.0.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="fb713f6"
+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
+}

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2018-01-15 Thread Manuel Rüger
commit: a04d1a95a76adfff50a9ceb599a3b4bc9c9818a8
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 16:10:04 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 16:10:04 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04d1a95

net-analyzer/prometheus-alertmanager: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 -
 .../prometheus-alertmanager-0.11.0.ebuild  | 52 --
 2 files changed, 53 deletions(-)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index 694734f191c..3a600c2fdd6 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1,3 +1,2 @@
-DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 BLAKE2B 
b362c8d35762c13ae31597f9633378639061095e0ca1f9361a9c0376290bbb1534bd7ced2488c79d04b0c053d5a7930e39b12f309bd3a8e57660ead48264ef1d
 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342
 DIST prometheus-alertmanager-0.12.0.tar.gz 3683962 BLAKE2B 
92d968d85771d5921146e207040e03551826e72117f600a2d185c34f5e49e9d1a4da61c116656efd44ea1afbc94143bce1c786f569b77238aa973e48af128dfd
 SHA512 
568031418bcfaa671531b0d4b96a9d60054ac7a8f8853c83edaf121d0502b1809d9981646e8d7575daba740b0aed221268e52b91506a3468bcf6fe27ccef17a7
 DIST prometheus-alertmanager-0.13.0.tar.gz 2782163 BLAKE2B 
4918f84a8a8312a3fa53f03b78bb8acc6118e69048ff3fadb2676721340fa120360a636fc11485999e948965569241658eb8ee01204453120adcce6bd1da40d4
 SHA512 
3f402f577e42bfc9dd9ef2dc1cb634d3654776f3b13d698170e3ae3c1612a45115e0d188d0768880ca968ec9157e05a2082647ca1de132f8be3c7eb7ad0dad42

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild
deleted file mode 100644
index e634cb98172..000
--- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 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="30dd042"
-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 alertmanager || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin alertmanager/alertmanager
-   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}
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2017-12-15 Thread Manuel Rüger
commit: 74d0b1a9b0a0361a972f2bddcaea0970e6e2bf4b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Dec 15 16:29:32 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Dec 15 16:41:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74d0b1a9

net-analyzer/prometheus-alertmanager: Version bump to 0.12.0

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 +
 .../prometheus-alertmanager-0.12.0.ebuild  | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index c9560b1bc48..6696f1b8a68 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1 +1,2 @@
 DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 BLAKE2B 
b362c8d35762c13ae31597f9633378639061095e0ca1f9361a9c0376290bbb1534bd7ced2488c79d04b0c053d5a7930e39b12f309bd3a8e57660ead48264ef1d
 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342
+DIST prometheus-alertmanager-0.12.0.tar.gz 3683962 BLAKE2B 
92d968d85771d5921146e207040e03551826e72117f600a2d185c34f5e49e9d1a4da61c116656efd44ea1afbc94143bce1c786f569b77238aa973e48af128dfd
 SHA512 
568031418bcfaa671531b0d4b96a9d60054ac7a8f8853c83edaf121d0502b1809d9981646e8d7575daba740b0aed221268e52b91506a3468bcf6fe27ccef17a7

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild
new file mode 100644
index 000..10bd1927649
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.12.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 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="fc33cc7"
+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 alertmanager || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin alertmanager/alertmanager
+   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}
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2017-11-29 Thread Manuel Rüger
commit: dc3b6541c284954f41d2227d0b79645c69951267
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov 29 10:56:11 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov 29 10:56:11 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3b6541

net-analyzer/prometheus-alertmanager: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  3 +-
 .../prometheus-alertmanager-0.9.1.ebuild   | 52 --
 2 files changed, 1 insertion(+), 54 deletions(-)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index bbf7fbf479f..c9560b1bc48 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1,2 +1 @@
-DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 SHA256 
0d1a27f220101cf6691adfd504311a824c95cf2ed02bed900536616aa398aaf3 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342
 WHIRLPOOL 
6b63bce13242054d2bbc5838c38d79bf3d793337435863887fa16bd0954efeca6579730cbbb30e0215bdfcf239612887d03a2d1e9cc3746f836a14319a2df989
-DIST prometheus-alertmanager-0.9.1.tar.gz 3671292 SHA256 
067e00773efd0948918a30449d5e96b5cc9b0b9ecb1271d75bbd46ad3944a699 SHA512 
423079c630466a6c3eeaab56d60bd9b7c77049955e9a67b703ef51665ccf7af0b319e8e3748c8e6d055dcf442173028cbe475181be08221d93a5ad3d20900c65
 WHIRLPOOL 
1fdf9803ffb99bda6ca49f250ff2895e29a6a77b17b1f38f47ca1f858262580f307f56bd95f0a6e97cd7a0a04e3b0df1fe28401cc6f66b71a72311df0971b970
+DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 BLAKE2B 
b362c8d35762c13ae31597f9633378639061095e0ca1f9361a9c0376290bbb1534bd7ced2488c79d04b0c053d5a7930e39b12f309bd3a8e57660ead48264ef1d
 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild
deleted file mode 100644
index d04d5de449d..000
--- a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2017 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="9f5f4b2"
-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 alertmanager || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin alertmanager/alertmanager
-   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}
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/

2017-11-17 Thread Manuel Rüger
commit: 520997ea116189ad6e50be2bffe14d07d60f52d5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Nov 17 13:54:48 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Nov 17 14:02:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=520997ea

net-analyzer/prometheus-alertmanager: Version bump to 0.11.0

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 net-analyzer/prometheus-alertmanager/Manifest  |  1 +
 .../prometheus-alertmanager-0.11.0.ebuild  | 52 ++
 2 files changed, 53 insertions(+)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
index db386e831b0..bbf7fbf479f 100644
--- a/net-analyzer/prometheus-alertmanager/Manifest
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -1 +1,2 @@
+DIST prometheus-alertmanager-0.11.0.tar.gz 3683030 SHA256 
0d1a27f220101cf6691adfd504311a824c95cf2ed02bed900536616aa398aaf3 SHA512 
33e6d5010979a7abab032019c1e50bc3e8f3630dd7e2453b1a1b37ce1035694bc78ae748ad1903afef95b6646aa167a3c0fa7f4e7b74bd3f1336106ca998b342
 WHIRLPOOL 
6b63bce13242054d2bbc5838c38d79bf3d793337435863887fa16bd0954efeca6579730cbbb30e0215bdfcf239612887d03a2d1e9cc3746f836a14319a2df989
 DIST prometheus-alertmanager-0.9.1.tar.gz 3671292 SHA256 
067e00773efd0948918a30449d5e96b5cc9b0b9ecb1271d75bbd46ad3944a699 SHA512 
423079c630466a6c3eeaab56d60bd9b7c77049955e9a67b703ef51665ccf7af0b319e8e3748c8e6d055dcf442173028cbe475181be08221d93a5ad3d20900c65
 WHIRLPOOL 
1fdf9803ffb99bda6ca49f250ff2895e29a6a77b17b1f38f47ca1f858262580f307f56bd95f0a6e97cd7a0a04e3b0df1fe28401cc6f66b71a72311df0971b970

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild
new file mode 100644
index 000..e634cb98172
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.11.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 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="30dd042"
+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 alertmanager || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin alertmanager/alertmanager
+   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}
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-alertmanager/, ...

2017-10-19 Thread Manuel Rüger
commit: b9d5efcb364d56b95da752ca34f9be0c2cecf590
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 19 18:34:32 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 19 18:34:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9d5efcb

net-analyzer/prometheus-alertmanager: Initial version

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-alertmanager/Manifest  |  1 +
 .../files/prometheus-alertmanager.confd|  2 +
 .../files/prometheus-alertmanager.initd| 19 
 net-analyzer/prometheus-alertmanager/metadata.xml  | 11 +
 .../prometheus-alertmanager-0.9.1.ebuild   | 52 ++
 5 files changed, 85 insertions(+)

diff --git a/net-analyzer/prometheus-alertmanager/Manifest 
b/net-analyzer/prometheus-alertmanager/Manifest
new file mode 100644
index 000..db386e831b0
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/Manifest
@@ -0,0 +1 @@
+DIST prometheus-alertmanager-0.9.1.tar.gz 3671292 SHA256 
067e00773efd0948918a30449d5e96b5cc9b0b9ecb1271d75bbd46ad3944a699 SHA512 
423079c630466a6c3eeaab56d60bd9b7c77049955e9a67b703ef51665ccf7af0b319e8e3748c8e6d055dcf442173028cbe475181be08221d93a5ad3d20900c65
 WHIRLPOOL 
1fdf9803ffb99bda6ca49f250ff2895e29a6a77b17b1f38f47ca1f858262580f307f56bd95f0a6e97cd7a0a04e3b0df1fe28401cc6f66b71a72311df0971b970

diff --git 
a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd 
b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd
new file mode 100644
index 000..a0ae34c4bc0
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.confd
@@ -0,0 +1,2 @@
+# arguments for prometheus alertmanager
+command_args=""

diff --git 
a/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd 
b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd
new file mode 100644
index 000..ece8bf14587
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/files/prometheus-alertmanager.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus alertmanager"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/alertmanager"
+command_args="${command_args:--config.file=/etc/alertmanager/config.yml}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/alertmanager/${RC_SVCNAME}.log \
+   --stderr /var/log/alertmanager/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git a/net-analyzer/prometheus-alertmanager/metadata.xml 
b/net-analyzer/prometheus-alertmanager/metadata.xml
new file mode 100644
index 000..714320b4f36
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   mr...@gentoo.org
+   Manuel Rüger
+   
+   
+   prometheus/alertmanager
+   
+

diff --git 
a/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild 
b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild
new file mode 100644
index 000..d04d5de449d
--- /dev/null
+++ b/net-analyzer/prometheus-alertmanager/prometheus-alertmanager-0.9.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 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="9f5f4b2"
+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 alertmanager || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin alertmanager/alertmanager
+   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