[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-pushgateway/, app-metrics/pushgateway/files/, ...

2018-03-30 Thread Manuel Rüger
commit: 476e87a3d843681e868f4e73cb543bbb815691ad
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Mar 30 17:05:52 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Mar 30 17:05:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=476e87a3

app-metrics/pushgateway: Move package from net-analyzer/prometheus-pushgateway

 app-metrics/pushgateway/Manifest   | 1 +
 .../pushgateway/files/pushgateway.confd| 0
 .../pushgateway/files/pushgateway.initd| 0
 app-metrics/pushgateway/files/pushgateway.logrotated   | 7 +++
 .../pushgateway/files/pushgateway.service  | 4 ++--
 .../pushgateway}/metadata.xml  | 0
 .../pushgateway/pushgateway-0.4.0.ebuild   | 4 ++--
 net-analyzer/prometheus-pushgateway/Manifest   | 1 -
 .../prometheus-pushgateway/files/prometheus-pushgateway.logrotated | 7 ---
 profiles/updates/1Q-2018   | 1 +
 10 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/app-metrics/pushgateway/Manifest b/app-metrics/pushgateway/Manifest
new file mode 100644
index 000..6d857bd20ce
--- /dev/null
+++ b/app-metrics/pushgateway/Manifest
@@ -0,0 +1 @@
+DIST pushgateway-0.4.0.tar.gz 1140644 BLAKE2B 
ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3
 SHA512 
67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.confd 
b/app-metrics/pushgateway/files/pushgateway.confd
similarity index 100%
rename from 
net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.confd
rename to app-metrics/pushgateway/files/pushgateway.confd

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.initd 
b/app-metrics/pushgateway/files/pushgateway.initd
similarity index 100%
rename from 
net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.initd
rename to app-metrics/pushgateway/files/pushgateway.initd

diff --git a/app-metrics/pushgateway/files/pushgateway.logrotated 
b/app-metrics/pushgateway/files/pushgateway.logrotated
new file mode 100644
index 000..c94b73952bc
--- /dev/null
+++ b/app-metrics/pushgateway/files/pushgateway.logrotated
@@ -0,0 +1,7 @@
+/var/log/pushgateway/pushgateway.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service 
b/app-metrics/pushgateway/files/pushgateway.service
similarity index 80%
rename from 
net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service
rename to app-metrics/pushgateway/files/pushgateway.service
index 4377850f2c5..3915fdb5b33 100644
--- a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service
+++ b/app-metrics/pushgateway/files/pushgateway.service
@@ -4,9 +4,9 @@ Documentation=https://prometheus.io/docs/instrumenting/pushing/
 After=network-online.target
 
 [Service]
-User=prometheus-pushgateway
+User=pushgateway
 Restart=on-failure
-Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 
--persistence.file=/var/lib/prometheus-pushgateway/persistence.gob"
+Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 
--persistence.file=/var/lib/pushgateway/persistence.gob"
 ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS
 ExecReload=/bin/kill -HUP $MAINPID
 TimeoutStopSec=20s

diff --git a/net-analyzer/prometheus-pushgateway/metadata.xml 
b/app-metrics/pushgateway/metadata.xml
similarity index 100%
rename from net-analyzer/prometheus-pushgateway/metadata.xml
rename to app-metrics/pushgateway/metadata.xml

diff --git 
a/net-analyzer/prometheus-pushgateway/prometheus-pushgateway-0.4.0.ebuild 
b/app-metrics/pushgateway/pushgateway-0.4.0.ebuild
similarity index 93%
rename from 
net-analyzer/prometheus-pushgateway/prometheus-pushgateway-0.4.0.ebuild
rename to app-metrics/pushgateway/pushgateway-0.4.0.ebuild
index 848c8d3c334..c701fc15d86 100644
--- a/net-analyzer/prometheus-pushgateway/prometheus-pushgateway-0.4.0.ebuild
+++ b/app-metrics/pushgateway/pushgateway-0.4.0.ebuild
@@ -32,13 +32,13 @@ src_prepare() {
 src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix pushgateway || die
+   GOPATH="${S}" promu build -v --prefix bin || die
popd || die
 }
 
 src_install() {
pushd src/${EGO_PN} || die
-   dobin pushgateway/pushgateway
+   dobin bin/pushgateway
dodoc {README,CHANGELOG,CONTRIBUTING}.md
popd || die
keepdir /var/lib/${PN} /var/log/${PN}

diff --git a/net-analyzer/prometheus-pushgateway/Manifest 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-uwsgi_exporter/files/, profiles/updates/, ...

2018-03-30 Thread Manuel Rüger
commit: b161af0782fba4250a93e74cd580bd0fc582c0bc
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Mar 30 17:02:16 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Mar 30 17:02:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b161af07

app-metrics/uwsgi_exporter: Move package from 
net-analyzer/prometheus-uwsgi_exporter

 app-metrics/uwsgi_exporter/Manifest| 1 +
 .../uwsgi_exporter/files/uwsgi_exporter.confd  | 0
 .../uwsgi_exporter/files/uwsgi_exporter.initd  | 0
 app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated | 7 +++
 .../uwsgi_exporter/files/uwsgi_exporter.service| 2 +-
 .../uwsgi_exporter}/metadata.xml   | 0
 .../uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild | 4 ++--
 net-analyzer/prometheus-uwsgi_exporter/Manifest| 1 -
 .../files/prometheus-uwsgi_exporter.logrotated | 7 ---
 profiles/updates/1Q-2018   | 1 +
 10 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/app-metrics/uwsgi_exporter/Manifest 
b/app-metrics/uwsgi_exporter/Manifest
new file mode 100644
index 000..b4a5124da24
--- /dev/null
+++ b/app-metrics/uwsgi_exporter/Manifest
@@ -0,0 +1 @@
+DIST uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B 
a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05
 SHA512 
380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd 
b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd
similarity index 100%
rename from 
net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.confd

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd 
b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd
similarity index 100%
rename from 
net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.initd

diff --git a/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated 
b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
new file mode 100644
index 000..ea6820d6ca4
--- /dev/null
+++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.logrotated
@@ -0,0 +1,7 @@
+/var/log/uwsgi_exporter/uwsgi_exporter.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
 b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
similarity index 93%
rename from 
net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
rename to app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
index 39824c7efe7..229a1f397fe 100644
--- 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
+++ b/app-metrics/uwsgi_exporter/files/uwsgi_exporter.service
@@ -4,7 +4,7 @@ Documentation=https://github.com/timonwong/uwsgi_exporter/
 After=network-online.target
 
 [Service]
-User=prometheus-uwsgi_exporter
+User=uwsgi_exporter
 Restart=on-failure
 Environment=UWSGI_EXPORTER_ARGS="--web.listen-address=:9117 
--stats.uri=http://localhost:1717;
 ExecStart=/usr/bin/uwsgi_exporter $UWSGI_EXPORTER_ARGS

diff --git a/net-analyzer/prometheus-uwsgi_exporter/metadata.xml 
b/app-metrics/uwsgi_exporter/metadata.xml
similarity index 100%
rename from net-analyzer/prometheus-uwsgi_exporter/metadata.xml
rename to app-metrics/uwsgi_exporter/metadata.xml

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild 
b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
similarity index 92%
rename from 
net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
rename to app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
index 26946cce453..7c5dd6280d8 100644
--- 
a/net-analyzer/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter-0.7.0.ebuild
+++ b/app-metrics/uwsgi_exporter/uwsgi_exporter-0.7.0.ebuild
@@ -32,13 +32,13 @@ src_prepare() {
 src_compile() {
pushd src/${EGO_PN} || die
mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix uwsgi_exporter || die
+   GOPATH="${S}" promu build -v --prefix bin || die
popd || die
 }
 
 src_install() {
pushd src/${EGO_PN} || die
-   dobin uwsgi_exporter/uwsgi_exporter
+   dobin bin/uwsgi_exporter
dodoc README.md
popd || die
local dir

diff --git a/net-analyzer/prometheus-uwsgi_exporter/Manifest 
b/net-analyzer/prometheus-uwsgi_exporter/Manifest
deleted file mode 100644

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

2018-03-21 Thread Austin English
commit: 9c1d96bbe9468f5531367c2d15b44c9cd2227587
Author: Austin English  gentoo  org>
AuthorDate: Wed Mar 21 18:23:11 2018 +
Commit: Austin English  gentoo  org>
CommitDate: Wed Mar 21 18:23:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1d96bb

net-analyzer/prometheus-blackbox_exporter: fix typo that breaks initd

:--config file passes '-config' instead of '--config', which doesn't work

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/prometheus-blackbox_exporter.initd  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
index 45da799723d..ab001d41abe 100644
--- 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
+++ 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.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 blackbox exporter"
@@ -8,7 +8,7 @@ user=${user:-${RC_SVCNAME}}
 group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/blackbox_exporter"
-command_args="${command_args:--config.file=/etc/blackbox_exporter/blackbox.yml}"
+command_args="${command_args:---config.file=/etc/blackbox_exporter/blackbox.yml}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/blackbox_exporter/${RC_SVCNAME}.log \



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

2018-03-15 Thread Zac Medico
commit: 51bae427f4b4f1a854becd78bb05623be39358a1
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Mar 15 19:38:59 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Mar 15 19:41:06 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51bae427

net-analyzer/prometheus-redis_exporter: fix SRC_URI (bug 650582)

Fixes: https://bugs.gentoo.org/650582
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../prometheus-redis_exporter/prometheus-redis_exporter-0.15.0.ebuild   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-redis_exporter/prometheus-redis_exporter-0.15.0.ebuild
 
b/net-analyzer/prometheus-redis_exporter/prometheus-redis_exporter-0.15.0.ebuild
index 05ca8dce710..3e3d871df3c 100644
--- 
a/net-analyzer/prometheus-redis_exporter/prometheus-redis_exporter-0.15.0.ebuild
+++ 
b/net-analyzer/prometheus-redis_exporter/prometheus-redis_exporter-0.15.0.ebuild
@@ -6,7 +6,7 @@ inherit user golang-build golang-vcs-snapshot systemd
 
 EGO_PN="github.com/oliver006/redis_exporter"
 EGIT_COMMIT="a0d9e4c704b4d35cd08544d395038f417716a03a"
-ARCHIVE_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 KEYWORDS="~amd64"
 
 DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x 
and 4.x"



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

2018-03-15 Thread Tobias Klausmann
commit: 81e6c02c63b65caaca5b22ff8cde4fa29f774f0a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Mar 15 15:49:25 2018 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Mar 15 15:49:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81e6c02c

net-analyzer/prometheus: Bump to 2.2.1

This version does not have the strage bug that plagued v2.2.0.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus/Manifest| 2 +-
 .../prometheus/{prometheus-2.2.0.ebuild => prometheus-2.2.1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 288c83a6b60..ca0158e2897 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,2 @@
 DIST prometheus-2.1.0.tar.gz 5669858 BLAKE2B 
96b9d7b1eb13017806cb2745cb874468a419550c7372aa8abada9d1a4e7fe386785f05abe8fd5681745db4a0c17260d5fde704a3b3ac5807107da0a935177264
 SHA512 
8adbbfcf6cf5b0bdd4a96f51f6c179c828d75a231b35f9ef40db6c07bcb8ffa6a3eb969b55a52ac70528ad5c8fe486be866db6ae174006220e0cfaa1da624346
-DIST prometheus-2.2.0.tar.gz 5629498 BLAKE2B 
6d48a58258e47fe35201581fa11070b1951b633768895ce810448d13d8184072b85160510d355b06a2d09bf0c9a5785c29f0ac062fe0472b29a4c94b74ccd7cc
 SHA512 
680ae3cb653452f1506bc62cf909994bd142ee53c9f6520391786967cfd09bd96c774fbacc09e1c9c06ebf759899a45fd0040fe7eef53c1256df390a41dcc8bf
+DIST prometheus-2.2.1.tar.gz 5629500 BLAKE2B 
7645267a2c5ed1c4138a5dd3929a48cb9dfa27789db38e98addbb06c37c6b482abfcf296ef1a5836bebd971d8224136c24a4ccd3093175882bb0beda1673deff
 SHA512 
a94cf867de2b3be65b0a07307f89ebfa9c0a319820a72b3b6691edcd2e2b56b5268d27fb52bdaefea0e7084906d69b818e5292a39ccd5991e04e56d594f56ea7

diff --git a/net-analyzer/prometheus/prometheus-2.2.0.ebuild 
b/net-analyzer/prometheus/prometheus-2.2.1.ebuild
similarity index 98%
rename from net-analyzer/prometheus/prometheus-2.2.0.ebuild
rename to net-analyzer/prometheus/prometheus-2.2.1.ebuild
index 7c4a1eb8c4e..a9b8e625593 100644
--- a/net-analyzer/prometheus/prometheus-2.2.0.ebuild
+++ b/net-analyzer/prometheus/prometheus-2.2.1.ebuild
@@ -7,7 +7,7 @@ inherit user golang-build golang-vcs-snapshot
 EGO_PN="github.com/prometheus/prometheus"
 MY_PV=${PV/_rc/-rc.}
 EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="f63e7db"
+PROMETHEUS_COMMIT="bc6058c"
 ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
 KEYWORDS="~amd64"
 



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

2018-03-14 Thread Zac Medico
commit: 91fa43ef348cec7e91751f4fe05dc3ec280750c5
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Mar 15 02:15:22 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Mar 15 02:22:35 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91fa43ef

net-analyzer/prometheus-redis_exporter: new package

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-redis_exporter/Manifest|  1 +
 .../files/prometheus-redis_exporter.confd  | 30 +
 .../files/prometheus-redis_exporter.initd  | 19 
 .../files/prometheus-redis_exporter.logrotated |  7 +++
 .../files/prometheus-redis_exporter.service| 16 +++
 .../prometheus-redis_exporter/metadata.xml | 11 +
 .../prometheus-redis_exporter-0.15.0.ebuild| 52 ++
 7 files changed, 136 insertions(+)

diff --git a/net-analyzer/prometheus-redis_exporter/Manifest 
b/net-analyzer/prometheus-redis_exporter/Manifest
new file mode 100644
index 000..1cdcc45ab03
--- /dev/null
+++ b/net-analyzer/prometheus-redis_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-redis_exporter-0.15.0.tar.gz 1232990 BLAKE2B 
ade899ef0f21594d3bb59c379f44d941e2a42f06a5c2ba5b304cc0b8b83def12eb036e6011a7d88abe7d97104ae663cb025ca60287ec9aba7be93a734d84c959
 SHA512 
8892306500943ec18d8fa5110fc6f4954ec886fca4d0023cdc2134ee2498c6f39ab06bec8f998ecde796cc2053b66103146503b76a185db3da5cbab81ebd9f2a

diff --git 
a/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.confd 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.confd
new file mode 100644
index 000..8573aef3540
--- /dev/null
+++ 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.confd
@@ -0,0 +1,30 @@
+# -check-keys string
+#  Comma separated list of keys to export value and length/size
+# -debug
+#  Output verbose debug information
+# -log-format string
+#  Log format, valid options are txt and json (default "txt")
+# -namespace string
+#  Namespace for metrics (default "redis")
+# -redis-only-metrics
+#  Whether to export go runtime metrics also
+# -redis.addr string
+#  Address of one or more redis nodes, separated by separator
+# -redis.alias string
+#  Redis instance alias for one or more redis nodes, separated by separator
+# -redis.file string
+#  Path to file containing one or more redis nodes, separated by newline. 
NOTE: mutually exclusive with redis.addr
+# -redis.password string
+#  Password for one or more redis nodes, separated by separator
+# -separator string
+#  separator used to split redis.addr, redis.password and redis.alias into 
several elements. (default ",")
+# -use-cf-bindings
+#  Use Cloud Foundry service bindings
+# -version
+#  Show version information and exit
+# -web.listen-address string
+#  Address to listen on for web interface and telemetry. (default ":9121")
+# -web.telemetry-path string
+#  Path under which to expose metrics. (default "/metrics")
+
+#command_args="--web.listen-address=:9121 --redis.addr=localhost:6379"

diff --git 
a/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.initd 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.initd
new file mode 100644
index 000..741a0b4e468
--- /dev/null
+++ 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus Exporter for Redis Metrics"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/redis_exporter"
+command_args="${command_args:---web.listen-address=:9121 
--redis.addr=localhost:6379}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
+   --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git 
a/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.logrotated
 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.logrotated
new file mode 100644
index 000..b1252b3d13f
--- /dev/null
+++ 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.logrotated
@@ -0,0 +1,7 @@
+/var/log/prometheus-redis_exporter/prometheus-redis_exporter.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git 
a/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.service
 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.service
new file mode 100644
index 000..9d2ba756a26
--- /dev/null
+++ 
b/net-analyzer/prometheus-redis_exporter/files/prometheus-redis_exporter.service
@@ -0,0 +1,16 @@

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

2018-03-14 Thread Zac Medico
commit: bf56188b53f889093ae3c99cb0a43a0a0ddae3f9
Author: Zac Medico  gentoo  org>
AuthorDate: Thu Mar 15 00:51:34 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Thu Mar 15 00:55:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf56188b

net-analyzer/prometheus-uwsgi_exporter: new package

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-uwsgi_exporter/Manifest|  1 +
 .../files/prometheus-uwsgi_exporter.confd  | 16 +++
 .../files/prometheus-uwsgi_exporter.initd  | 19 
 .../files/prometheus-uwsgi_exporter.logrotated |  7 +++
 .../files/prometheus-uwsgi_exporter.service| 16 +++
 .../prometheus-uwsgi_exporter/metadata.xml | 11 +
 .../prometheus-uwsgi_exporter-0.7.0.ebuild | 54 ++
 7 files changed, 124 insertions(+)

diff --git a/net-analyzer/prometheus-uwsgi_exporter/Manifest 
b/net-analyzer/prometheus-uwsgi_exporter/Manifest
new file mode 100644
index 000..63942cda2bb
--- /dev/null
+++ b/net-analyzer/prometheus-uwsgi_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-uwsgi_exporter-0.7.0.tar.gz 3039893 BLAKE2B 
a6efdae7f9a19ad21a283b586b5667bd99456274ed419d1b64aaf4cdb4df1e1c4fb2a08edf6df2b15813d21311fe54c2f2394f0bf25ac11c49db8a924596da05
 SHA512 
380ef4515eaa81d4dee853682efa7a5e82af2ec00c096e7471028c9932d46e0a7406b75cb40f0f8efec15cd77b06c5477a07919d0b44720e3e194b5bb023b593

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd
new file mode 100644
index 000..6db54fb3cc0
--- /dev/null
+++ 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.confd
@@ -0,0 +1,16 @@
+# --web.listen-address=":9117"
+# Address on which to expose metrics and web interfaces.
+# --web.telemetry-path="/metrics"
+# Path under which to expose metrics.
+# --stats.uri=""  URI for accessing uwsgi stats.
+# --stats.timeout=5s  Timeout for trying to get stats from uwsgi.
+# --collect.cores Collect cores information per uwsgi worker.
+# --log.level="info"  Only log messages with the given severity or above.
+# Valid levels: [debug, info, warn, error, fatal]
+# --log.format="logger:stderr"
+# Set the log target and format. Example:
+# "logger:syslog?appname=bob=7" or
+# "logger:stdout?json=true"
+# --version   Show application version.
+
+#command_args="--web.listen-address=:9117 --stats.uri=http://localhost:1717;

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd
new file mode 100644
index 000..b456a0b1050
--- /dev/null
+++ 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2016-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="uWSGI metrics exporter for prometheus.io"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/uwsgi_exporter"
+command_args="${command_args:---web.listen-address=:9117 
--stats.uri=http://localhost:1717};
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
+   --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
new file mode 100644
index 000..8703cb2be38
--- /dev/null
+++ 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.logrotated
@@ -0,0 +1,7 @@
+/var/log/prometheus-uwsgi_exporter/prometheus-uwsgi_exporter.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git 
a/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
new file mode 100644
index 000..39824c7efe7
--- /dev/null
+++ 
b/net-analyzer/prometheus-uwsgi_exporter/files/prometheus-uwsgi_exporter.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=uWSGI metrics exporter for prometheus.io
+Documentation=https://github.com/timonwong/uwsgi_exporter/
+After=network-online.target
+
+[Service]
+User=prometheus-uwsgi_exporter
+Restart=on-failure
+Environment=UWSGI_EXPORTER_ARGS="--web.listen-address=:9117 
--stats.uri=http://localhost:1717;
+ExecStart=/usr/bin/uwsgi_exporter $UWSGI_EXPORTER_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+TimeoutStopSec=20s
+SendSIGKILL=no
+
+[Install]

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

2018-03-12 Thread Austin English
commit: c11f7dc739f73ee9efe622a742d5f2c128a39a4a
Author: Austin English  gentoo  org>
AuthorDate: Mon Mar 12 23:07:21 2018 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Mar 12 23:07:37 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c11f7dc7

net-analyzer/prometheus-snmp_exporter: fix typo in confd

austin  austin1 ~ $ touch snmp.yml

austin  austin1 ~ $ /usr/bin/snmp_exporter --config-file=snmp.yml
snmp_exporter: error: unknown long flag '--config-file', try --help

austin  austin1 ~ $ /usr/bin/snmp_exporter --config.file=snmp.yml
INFO[] Starting snmp exporter (version=0.8.0, branch=non-git, 
revision=17cefca)  source="main.go:125"
INFO[] Build context (go=go1.9.4, user=portage  releng3, 
date=20180222-23:34:24)  source="main.go:126"
INFO[] Listening on :9116source="main.go:205"

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd 
b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
index e80d6a1a850..c5e56a67e15 100644
--- a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
@@ -1,2 +1,2 @@
 # arguments for prometheus snmp exporter
-command_args="--config-file=/etc/snmp_exporter/snmp.yml"
+command_args="--config.file=/etc/snmp_exporter/snmp.yml"



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

2018-03-12 Thread Austin English
commit: 4a4f25e70b1b67c211d75a3292d61074911433c4
Author: Austin English  gentoo  org>
AuthorDate: Mon Mar 12 22:48:16 2018 +
Commit: Austin English  gentoo  org>
CommitDate: Mon Mar 12 22:48:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4f25e7

net-analyzer/prometheus-snmp_exporter: fix typo in initd

austin  austin1 ~ $ touch snmp.yml

austin  austin1 ~ $ /usr/bin/snmp_exporter --config-file=snmp.yml
snmp_exporter: error: unknown long flag '--config-file', try --help

austin  austin1 ~ $ /usr/bin/snmp_exporter --config.file=snmp.yml
INFO[] Starting snmp exporter (version=0.8.0, branch=non-git, 
revision=17cefca)  source="main.go:125"
INFO[] Build context (go=go1.9.4, user=portage  releng3, 
date=20180222-23:34:24)  source="main.go:126"
INFO[] Listening on :9116source="main.go:205"

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd 
b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
index 4d620b54b17..b214422704e 100644
--- a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.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 snmp exporter"
@@ -8,7 +8,7 @@ user=${user:-${RC_SVCNAME}}
 group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/snmp_exporter"
-command_args="${command_args:---config-file=/etc/snmp_exporter/snmp.yml}"
+command_args="${command_args:---config.file=/etc/snmp_exporter/snmp.yml}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/snmp_exporter/${RC_SVCNAME}.log \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-pushgateway/, net-analyzer/prometheus-pushgateway/files/

2018-03-09 Thread Zac Medico
commit: 9cdd342bf4a94619bfdcbbe2f65f2194c0e025cf
Author: Zac Medico  gentoo  org>
AuthorDate: Fri Mar  9 21:33:31 2018 +
Commit: Zac Medico  gentoo  org>
CommitDate: Fri Mar  9 22:00:24 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cdd342b

net-analyzer/prometheus-pushgateway: new package

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-pushgateway/Manifest   |  1 +
 .../files/prometheus-pushgateway.confd | 14 ++
 .../files/prometheus-pushgateway.initd | 19 
 .../files/prometheus-pushgateway.logrotated|  7 +++
 .../files/prometheus-pushgateway.service   | 16 +++
 net-analyzer/prometheus-pushgateway/metadata.xml   | 15 +++
 .../prometheus-pushgateway-0.4.0.ebuild| 51 ++
 7 files changed, 123 insertions(+)

diff --git a/net-analyzer/prometheus-pushgateway/Manifest 
b/net-analyzer/prometheus-pushgateway/Manifest
new file mode 100644
index 000..8006b32ae23
--- /dev/null
+++ b/net-analyzer/prometheus-pushgateway/Manifest
@@ -0,0 +1 @@
+DIST prometheus-pushgateway-0.4.0.tar.gz 1140644 BLAKE2B 
ea82e2e7f6fd817de02044e5aafde724a4089e4f2961f0b581f90df7e04e65af5a3c3e044ef94bd600a92468a8aed791c838a8fdc64b05b7a91d6288e7e96fb3
 SHA512 
67f25e5f7fdc54143c5d10720f27bd256f22695ced93088cf2b72fe3197e45324d4353357ae40d7d3e92019480c0bec009e38ed3f583724d46411d76adbdc927

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.confd 
b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.confd
new file mode 100644
index 000..de9ef483723
--- /dev/null
+++ b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.confd
@@ -0,0 +1,14 @@
+# -log.format value
+#  If set use a syslog logger or JSON logging. Example: 
logger:syslog?appname=bob=7 or logger:stdout?json=true. Defaults to 
stderr.
+# -log.level value
+#  Only log messages with the given severity or above. Valid levels: 
[debug, info, warn, error, fatal].
+# -persistence.file string
+#  File to persist metrics. If empty, metrics are only kept in memory.
+# -persistence.interval duration
+#  The minimum interval at which to write out the persistence file. 
(default 5m0s)
+# -web.listen-address string
+#  Address to listen on for the web interface, API, and telemetry. 
(default ":9091")
+# -web.telemetry-path string
+#  Path under which to expose metrics. (default "/metrics")
+
+#command_args="-web.listen-address localhost:9091 
-persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob"

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.initd 
b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.initd
new file mode 100644
index 000..a187e57897e
--- /dev/null
+++ b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.initd
@@ -0,0 +1,19 @@
+#!/sbin/openrc-run
+# Copyright 2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus push acceptor for ephemeral and batch jobs"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/pushgateway"
+command_args="${command_args:--web.listen-address localhost:9091 
-persistence.file=/var/lib/${RC_SVCNAME}/persistence.gob}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
+   --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+
+depend() {
+   need net
+}

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.logrotated 
b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.logrotated
new file mode 100644
index 000..3645c9be176
--- /dev/null
+++ 
b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.logrotated
@@ -0,0 +1,7 @@
+/var/log/prometheus-pushgateway/prometheus-pushgateway.log {
+   missingok
+   size 5M
+   rotate 3
+   compress
+   copytruncate
+}

diff --git 
a/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service 
b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service
new file mode 100644
index 000..4377850f2c5
--- /dev/null
+++ b/net-analyzer/prometheus-pushgateway/files/prometheus-pushgateway.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Prometheus exporter for ephemereal jobs
+Documentation=https://prometheus.io/docs/instrumenting/pushing/
+After=network-online.target
+
+[Service]
+User=prometheus-pushgateway
+Restart=on-failure
+Environment=PUSHGATEWAY_ARGS="-web.listen-address localhost:9091 
--persistence.file=/var/lib/prometheus-pushgateway/persistence.gob"
+ExecStart=/usr/bin/pushgateway $PUSHGATEWAY_ARGS
+ExecReload=/bin/kill -HUP $MAINPID
+TimeoutStopSec=20s
+SendSIGKILL=no
+
+[Install]
+WantedBy=multi-user.target

diff --git 

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

2018-03-08 Thread Manuel Rüger
commit: 11e1cbaaa223361e5ef8a95ea5f685cfd9107552
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Mar  8 18:53:43 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Mar  8 18:53:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11e1cbaa

net-analyzer/prometheus: Version bump to 2.2.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-2.2.0.ebuild | 70 +
 2 files changed, 71 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index ce06a9eb774..288c83a6b60 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-2.1.0.tar.gz 5669858 BLAKE2B 
96b9d7b1eb13017806cb2745cb874468a419550c7372aa8abada9d1a4e7fe386785f05abe8fd5681745db4a0c17260d5fde704a3b3ac5807107da0a935177264
 SHA512 
8adbbfcf6cf5b0bdd4a96f51f6c179c828d75a231b35f9ef40db6c07bcb8ffa6a3eb969b55a52ac70528ad5c8fe486be866db6ae174006220e0cfaa1da624346
+DIST prometheus-2.2.0.tar.gz 5629498 BLAKE2B 
6d48a58258e47fe35201581fa11070b1951b633768895ce810448d13d8184072b85160510d355b06a2d09bf0c9a5785c29f0ac062fe0472b29a4c94b74ccd7cc
 SHA512 
680ae3cb653452f1506bc62cf909994bd142ee53c9f6520391786967cfd09bd96c774fbacc09e1c9c06ebf759899a45fd0040fe7eef53c1256df390a41dcc8bf

diff --git a/net-analyzer/prometheus/prometheus-2.2.0.ebuild 
b/net-analyzer/prometheus/prometheus-2.2.0.ebuild
new file mode 100644
index 000..7c4a1eb8c4e
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.2.0.ebuild
@@ -0,0 +1,70 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="f63e7db"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+   >=dev-lang/go-1.10
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2018-03-06 Thread Manuel Rüger
commit: 33b8d24bca31138adea5aaae43f6953e2e7c55c7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Mar  6 21:35:30 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Mar  6 21:35:30 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33b8d24b

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus/Manifest   |  1 -
 net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild | 68 --
 2 files changed, 69 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 9c9a2d2d676..ce06a9eb774 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1 @@
-DIST prometheus-2.0.0.tar.gz 5603884 BLAKE2B 
0e2c7ee267f4f817fe84105b89fa2951c07212ca75bf540c67afe900c1df62641919f2ad9d2ce24932a946a0c3db8da6847184c56578ef9626db1f55c1ea3080
 SHA512 
9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5
 DIST prometheus-2.1.0.tar.gz 5669858 BLAKE2B 
96b9d7b1eb13017806cb2745cb874468a419550c7372aa8abada9d1a4e7fe386785f05abe8fd5681745db4a0c17260d5fde704a3b3ac5807107da0a935177264
 SHA512 
8adbbfcf6cf5b0bdd4a96f51f6c179c828d75a231b35f9ef40db6c07bcb8ffa6a3eb969b55a52ac70528ad5c8fe486be866db6ae174006220e0cfaa1da624346

diff --git a/net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild
deleted file mode 100644
index a51b71d9bb2..000
--- a/net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild
+++ /dev/null
@@ -1,68 +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/prometheus"
-MY_PV=${PV/_rc/-rc.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="0a74f98"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}
-
-pkg_postinst() {
-   if has_version '

[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
-   

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

2018-03-06 Thread Manuel Rüger
commit: c93064ae86b4305b4f3bd2b37f4e88962fb0aac7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Mar  6 21:33:46 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Mar  6 21:33:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c93064ae

net-analyzer/prometheus-snmp_exporter: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-snmp_exporter/Manifest |  1 -
 .../prometheus-snmp_exporter-0.8.0.ebuild  | 50 --
 2 files changed, 51 deletions(-)

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
index e10472f330c..c11102143f5 100644
--- a/net-analyzer/prometheus-snmp_exporter/Manifest
+++ b/net-analyzer/prometheus-snmp_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-snmp_exporter-0.8.0.tar.gz 3257344 BLAKE2B 
32f0cf6c72b518fc62c420bf64ed04243bef8f9b70be2fba15472f63871e96bc113ddc7fe2e6265a29facf8c32c1d3f245bf6fc2dbce934876ebac0225069642
 SHA512 
0cae5fc107baedd8d498972aa7c6b3b48ff19f951c5366e5be5173009e956de8da06b84a46926d6f157287df0793e996686740c491f502da24172d5806b49339
 DIST prometheus-snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 
3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933
 SHA512 
eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild
deleted file mode 100644
index 1c6964ea08b..000
--- 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild
+++ /dev/null
@@ -1,50 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="17cefca"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for snmp metrics"
-HOMEPAGE="https://github.com/prometheus/snmp_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix snmp_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin snmp_exporter/snmp_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   insinto /etc/snmp_exporter
-   newins snmp.yml snmp.yml.example
-   popd || die
-   keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
-   fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



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

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

net-analyzer/prometheus-blackbox_exporter: Remove old

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-blackbox_exporter/Manifest |  1 -
 .../prometheus-blackbox_exporter-0.11.0-r1.ebuild  | 54 --
 2 files changed, 55 deletions(-)

diff --git a/net-analyzer/prometheus-blackbox_exporter/Manifest 
b/net-analyzer/prometheus-blackbox_exporter/Manifest
index ea54e3c8ac0..00fecb42cd9 100644
--- a/net-analyzer/prometheus-blackbox_exporter/Manifest
+++ b/net-analyzer/prometheus-blackbox_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-blackbox_exporter-0.11.0.tar.gz 2143849 BLAKE2B 
e9a35b4b5adca955c1ac5b2219dd892112f6b3bd2dfe825f6393daca9dee3cba943309be024cc56f3d682a8544a4f78949072de620a4e6b07da61a740a84d55f
 SHA512 
9bc397b846cdaf8cc0054100adffb39bbe2e5cf6743a61565e90f2e4298d8a165a138c985431937083fd88ccac065e278d8c9eab8a83015bf58fddb6da8ea812
 DIST prometheus-blackbox_exporter-0.12.0.tar.gz 2202465 BLAKE2B 
e3b082f8a491b531b0caf3331ecd391bf8734df0915ccbb7988ac1e67e57436bd45169aa403d5511fbb44eb176f89836ad8c04c491f5194f90f9f8a3b686a656
 SHA512 
2c98c0f4127bdd04ac54eb182c5468fd38121558f85aa8b4bec860f783f266b144df3153da0b028fdb84a4131a4e374a969bb09ce3a781ddf95f0a008c11bbb6

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
deleted file mode 100644
index a39ea0e2205..000
--- 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit fcaps user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/blackbox_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-BLACKBOX_EXPORTER_COMMIT="200181b"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
-HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-FILECAPS=(
-   cap_net_raw usr/bin/blackbox_exporter
-)
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin blackbox_exporter/blackbox_exporter
-   dodoc {README,CONFIGURATION}.md blackbox.yml
-   insinto /etc/blackbox_exporter
-   newins example.yml blackbox.yml.example
-   popd || die
-   keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
-   fowners ${PN}:${PN} /var/lib/blackbox_exporter 
/var/log/blackbox_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



[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-blackbox_exporter/

2018-02-27 Thread Manuel Rüger
commit: 25b44c32530a8826c12ce5121d827c15bfd1b8cc
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb 27 12:27:16 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb 27 12:27:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25b44c32

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

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-blackbox_exporter/Manifest |  1 +
 .../prometheus-blackbox_exporter-0.12.0.ebuild | 54 ++
 2 files changed, 55 insertions(+)

diff --git a/net-analyzer/prometheus-blackbox_exporter/Manifest 
b/net-analyzer/prometheus-blackbox_exporter/Manifest
index a1a5b146887..ea54e3c8ac0 100644
--- a/net-analyzer/prometheus-blackbox_exporter/Manifest
+++ b/net-analyzer/prometheus-blackbox_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-blackbox_exporter-0.11.0.tar.gz 2143849 BLAKE2B 
e9a35b4b5adca955c1ac5b2219dd892112f6b3bd2dfe825f6393daca9dee3cba943309be024cc56f3d682a8544a4f78949072de620a4e6b07da61a740a84d55f
 SHA512 
9bc397b846cdaf8cc0054100adffb39bbe2e5cf6743a61565e90f2e4298d8a165a138c985431937083fd88ccac065e278d8c9eab8a83015bf58fddb6da8ea812
+DIST prometheus-blackbox_exporter-0.12.0.tar.gz 2202465 BLAKE2B 
e3b082f8a491b531b0caf3331ecd391bf8734df0915ccbb7988ac1e67e57436bd45169aa403d5511fbb44eb176f89836ad8c04c491f5194f90f9f8a3b686a656
 SHA512 
2c98c0f4127bdd04ac54eb182c5468fd38121558f85aa8b4bec860f783f266b144df3153da0b028fdb84a4131a4e374a969bb09ce3a781ddf95f0a008c11bbb6

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.12.0.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.12.0.ebuild
new file mode 100644
index 000..40cd040b804
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.12.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fcaps user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/blackbox_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+BLACKBOX_EXPORTER_COMMIT="4a22506"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+FILECAPS=(
+   cap_net_raw usr/bin/blackbox_exporter
+)
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin blackbox_exporter/blackbox_exporter
+   dodoc {README,CONFIGURATION}.md blackbox.yml
+   insinto /etc/blackbox_exporter
+   newins example.yml blackbox.yml.example
+   popd || die
+   keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
+   fowners ${PN}:${PN} /var/lib/blackbox_exporter 
/var/log/blackbox_exporter
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2018-02-27 Thread Manuel Rüger
commit: 686c680c3c5d9244c639628f646a3c501de013c5
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb 27 12:29:56 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb 27 12:29:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686c680c

net-analyzer/prometheus-snmp_exporter: Version bump to 0.9.0

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/prometheus-snmp_exporter/Manifest |  1 +
 .../prometheus-snmp_exporter-0.9.0.ebuild  | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
index 5d9c2d327e0..e10472f330c 100644
--- a/net-analyzer/prometheus-snmp_exporter/Manifest
+++ b/net-analyzer/prometheus-snmp_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-snmp_exporter-0.8.0.tar.gz 3257344 BLAKE2B 
32f0cf6c72b518fc62c420bf64ed04243bef8f9b70be2fba15472f63871e96bc113ddc7fe2e6265a29facf8c32c1d3f245bf6fc2dbce934876ebac0225069642
 SHA512 
0cae5fc107baedd8d498972aa7c6b3b48ff19f951c5366e5be5173009e956de8da06b84a46926d6f157287df0793e996686740c491f502da24172d5806b49339
+DIST prometheus-snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 
3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933
 SHA512 
eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild
new file mode 100644
index 000..2d73fe9faa4
--- /dev/null
+++ 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.9.0.ebuild
@@ -0,0 +1,50 @@
+# 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/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="abb143a"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix snmp_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin snmp_exporter/snmp_exporter
+   dodoc {README,CONTRIBUTING}.md
+   insinto /etc/snmp_exporter
+   newins snmp.yml snmp.yml.example
+   popd || die
+   keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
+   fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
+   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-node_exporter/

2018-01-25 Thread Manuel Rüger
commit: d2b142af86c2a3988b08d39f01dc4d2c70359cbd
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Jan 25 18:50:02 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Jan 25 18:51:36 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2b142af

net-analyzer/prometheus-node_exporter: Stable on amd64

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild
index 120e1bcf133..c85ca942ce7 100644
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ EGO_PN="github.com/prometheus/node_exporter"
 EGIT_COMMIT="v${PV/_rc/-rc.}"
 NODE_EXPORTER_COMMIT="98bc649"
 ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 DESCRIPTION="Prometheus exporter for machine metrics"
 HOMEPAGE="https://github.com/prometheus/node_exporter;



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

2018-01-19 Thread Manuel Rüger
commit: b053419cb37ef5aea0134e2423a402f487d7c0de
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jan 19 15:22:22 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jan 19 15:22:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b053419c

net-analyzer/prometheus: Version bump to 2.1.0

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-2.1.0.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 3c632f55e07..9c9a2d2d676 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-2.0.0.tar.gz 5603884 BLAKE2B 
0e2c7ee267f4f817fe84105b89fa2951c07212ca75bf540c67afe900c1df62641919f2ad9d2ce24932a946a0c3db8da6847184c56578ef9626db1f55c1ea3080
 SHA512 
9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5
+DIST prometheus-2.1.0.tar.gz 5669858 BLAKE2B 
96b9d7b1eb13017806cb2745cb874468a419550c7372aa8abada9d1a4e7fe386785f05abe8fd5681745db4a0c17260d5fde704a3b3ac5807107da0a935177264
 SHA512 
8adbbfcf6cf5b0bdd4a96f51f6c179c828d75a231b35f9ef40db6c07bcb8ffa6a3eb969b55a52ac70528ad5c8fe486be866db6ae174006220e0cfaa1da624346

diff --git a/net-analyzer/prometheus/prometheus-2.1.0.ebuild 
b/net-analyzer/prometheus/prometheus-2.1.0.ebuild
new file mode 100644
index 000..f6d36b87743
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.1.0.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="85f23d8"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

[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-node_exporter/

2018-01-16 Thread Manuel Rüger
commit: c0fb1995572a919ec1927bf363a961393b5d9136
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Jan 16 15:55:44 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Jan 16 15:55:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0fb1995

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus-node_exporter/Manifest |  1 -
 .../prometheus-node_exporter-0.15.1.ebuild | 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 6202fab27af..12796da2f69 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 BLAKE2B 
56d877ee0aea8c18150cca38a62ba6dc439e847188d887def3090b9e3272cb1a077aa451ac63784f8e94d1324630a1320ef5a83127914a4a3820fbf637361b83
 SHA512 
884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539
 DIST prometheus-node_exporter-0.15.2.tar.gz 1327204 BLAKE2B 
ee694771ed6d736fd4bb6a10f713f31becc930fb8225499d4b3a2a2cc7416c1816605cd8f4205dc37a2264af8d9f85e3519bc01844d252b6a70d4ee5f6308ece
 SHA512 
b39ce0801a5bf5a2a70c4034659d047d70b3763af3f18925b65c2b5f72832e261362aaeb9ce4c68cb7bf52e790d3fc710a6c8550ad7876e89fd9f5a055200a52

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild
deleted file mode 100644
index a300b0f49c9..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="ba5da2c"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/node_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin node_exporter/node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /var/lib/node_exporter /var/log/node_exporter
-   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
-   newinitd "${FILESDIR}"/${PN}-1.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-blackbox_exporter/

2018-01-15 Thread Manuel Rüger
commit: a609d517831e54e1ac735f748b07f26a310cbcee
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 15:02:31 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 15:02:31 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a609d517

net-analyzer/prometheus-blackbox_exporter: Add CAP_NET_RAW

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 .../prometheus-blackbox_exporter-0.11.0-r1.ebuild  | 54 ++
 1 file changed, 54 insertions(+)

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
new file mode 100644
index 000..a39ea0e2205
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fcaps user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/blackbox_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+BLACKBOX_EXPORTER_COMMIT="200181b"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+FILECAPS=(
+   cap_net_raw usr/bin/blackbox_exporter
+)
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin blackbox_exporter/blackbox_exporter
+   dodoc {README,CONFIGURATION}.md blackbox.yml
+   insinto /etc/blackbox_exporter
+   newins example.yml blackbox.yml.example
+   popd || die
+   keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
+   fowners ${PN}:${PN} /var/lib/blackbox_exporter 
/var/log/blackbox_exporter
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2018-01-15 Thread Manuel Rüger
commit: b163a96a2660e195187a345872591d1d46aafe4c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 15 15:02:52 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 15 15:02:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b163a96a

net-analyzer/prometheus-blackbox_exporter: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus-blackbox_exporter/Manifest |  1 -
 .../prometheus-blackbox_exporter-0.10.0.ebuild | 50 --
 .../prometheus-blackbox_exporter-0.11.0.ebuild | 50 --
 3 files changed, 101 deletions(-)

diff --git a/net-analyzer/prometheus-blackbox_exporter/Manifest 
b/net-analyzer/prometheus-blackbox_exporter/Manifest
index 01384b4ad68..a1a5b146887 100644
--- a/net-analyzer/prometheus-blackbox_exporter/Manifest
+++ b/net-analyzer/prometheus-blackbox_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-blackbox_exporter-0.10.0.tar.gz 530109 BLAKE2B 
3b2208140814029cad9c33e8390a1135026e03b44dc96f8bdac479a7904f89c36f6f0c8dd9ed51cfaa6eaa4d241673b729a3444b8c44c61333d30a7adbef89f8
 SHA512 
497246b440b03b964c90f9bcf8ec1bca45c213bc4652ddb92c339b42586746b75a5145e87899381718ba628891faae3dfae39b0196272f572c7213e94ea7295b
 DIST prometheus-blackbox_exporter-0.11.0.tar.gz 2143849 BLAKE2B 
e9a35b4b5adca955c1ac5b2219dd892112f6b3bd2dfe825f6393daca9dee3cba943309be024cc56f3d682a8544a4f78949072de620a4e6b07da61a740a84d55f
 SHA512 
9bc397b846cdaf8cc0054100adffb39bbe2e5cf6743a61565e90f2e4298d8a165a138c985431937083fd88ccac065e278d8c9eab8a83015bf58fddb6da8ea812

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
deleted file mode 100644
index c5cf528c542..000
--- 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
+++ /dev/null
@@ -1,50 +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/blackbox_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-BLACKBOX_EXPORTER_COMMIT="75681e3"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
-HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin blackbox_exporter/blackbox_exporter
-   dodoc {README,CONFIGURATION}.md blackbox.yml
-   insinto /etc/blackbox_exporter
-   newins example.yml blackbox.yml.example
-   popd || die
-   keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
-   fowners ${PN}:${PN} /var/lib/blackbox_exporter 
/var/log/blackbox_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
deleted file mode 100644
index 5badbe7a59d..000
--- 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
+++ /dev/null
@@ -1,50 +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/blackbox_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-BLACKBOX_EXPORTER_COMMIT="200181b"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
-HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin 

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

2018-01-12 Thread Manuel Rüger
commit: b8f4d689871ee304425503f1c39d10557dffed59
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jan 12 12:38:23 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jan 12 12:38:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8f4d689

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus/prometheus-2.0.0.ebuild | 68 -
 1 file changed, 68 deletions(-)

diff --git a/net-analyzer/prometheus/prometheus-2.0.0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0.ebuild
deleted file mode 100644
index f316f9e3f9c..000
--- a/net-analyzer/prometheus/prometheus-2.0.0.ebuild
+++ /dev/null
@@ -1,68 +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/prometheus"
-MY_PV=${PV/_rc/-rc.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="0a74f98"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}
-
-pkg_postinst() {
-   if has_version '

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

2018-01-12 Thread Manuel Rüger
commit: 706a1294d62fcb7171151723539d60590c05eda6
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jan 12 12:38:08 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jan 12 12:38:08 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=706a1294

net-analyzer/prometheus: Add reload functionality to init script

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus/files/prometheus-3.initd   | 11 +++-
 net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild | 68 ++
 2 files changed, 78 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/prometheus/files/prometheus-3.initd 
b/net-analyzer/prometheus/files/prometheus-3.initd
index 5f6d6fe1426..ae151ef91fb 100644
--- a/net-analyzer/prometheus/files/prometheus-3.initd
+++ b/net-analyzer/prometheus/files/prometheus-3.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 monitoring system and time series database"
@@ -14,6 +14,15 @@ start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
--stderr /var/log/${RC_SVCNAME}/${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/prometheus-2.0.0-r1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild
new file mode 100644
index 000..a51b71d9bb2
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0-r1.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="0a74f98"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2018-01-12 Thread Manuel Rüger
commit: f2f00a0ac10fce5f14718fc59465d947631d3ba3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jan 12 12:27:26 2018 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jan 12 12:27:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2f00a0a

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-analyzer/prometheus/Manifest|  1 -
 net-analyzer/prometheus/files/prometheus.initd  | 19 
 net-analyzer/prometheus/prometheus-1.8.2.ebuild | 59 -
 3 files changed, 79 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 000a455acca..3c632f55e07 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1 @@
-DIST prometheus-1.8.2.tar.gz 5238057 BLAKE2B 
33b53fab08df985ec459150166494d46552b7815d8b68d2f8a63023a12c1017197f7043327b4182935231c86b0fb492f3d05d477b97c7e7cd233fbdb0211f1b6
 SHA512 
ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 DIST prometheus-2.0.0.tar.gz 5603884 BLAKE2B 
0e2c7ee267f4f817fe84105b89fa2951c07212ca75bf540c67afe900c1df62641919f2ad9d2ce24932a946a0c3db8da6847184c56578ef9626db1f55c1ea3080
 SHA512 
9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5

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

diff --git a/net-analyzer/prometheus/prometheus-1.8.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.8.2.ebuild
deleted file mode 100644
index 1006108b099..000
--- a/net-analyzer/prometheus/prometheus-1.8.2.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="5211b96"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}



[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-blackbox_exporter/

2017-12-12 Thread Manuel Rüger
commit: 9981ca634db1efca9c47428b84f5f0eafd26397a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Dec 12 14:49:50 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Dec 12 14:50:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9981ca63

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

Package-Manager: Portage-2.3.18, Repoman-2.3.6

 net-analyzer/prometheus-blackbox_exporter/Manifest |  1 +
 .../prometheus-blackbox_exporter-0.11.0.ebuild | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/net-analyzer/prometheus-blackbox_exporter/Manifest 
b/net-analyzer/prometheus-blackbox_exporter/Manifest
index 5428c3bd3d6..01384b4ad68 100644
--- a/net-analyzer/prometheus-blackbox_exporter/Manifest
+++ b/net-analyzer/prometheus-blackbox_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-blackbox_exporter-0.10.0.tar.gz 530109 BLAKE2B 
3b2208140814029cad9c33e8390a1135026e03b44dc96f8bdac479a7904f89c36f6f0c8dd9ed51cfaa6eaa4d241673b729a3444b8c44c61333d30a7adbef89f8
 SHA512 
497246b440b03b964c90f9bcf8ec1bca45c213bc4652ddb92c339b42586746b75a5145e87899381718ba628891faae3dfae39b0196272f572c7213e94ea7295b
+DIST prometheus-blackbox_exporter-0.11.0.tar.gz 2143849 BLAKE2B 
e9a35b4b5adca955c1ac5b2219dd892112f6b3bd2dfe825f6393daca9dee3cba943309be024cc56f3d682a8544a4f78949072de620a4e6b07da61a740a84d55f
 SHA512 
9bc397b846cdaf8cc0054100adffb39bbe2e5cf6743a61565e90f2e4298d8a165a138c985431937083fd88ccac065e278d8c9eab8a83015bf58fddb6da8ea812

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
new file mode 100644
index 000..5badbe7a59d
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.11.0.ebuild
@@ -0,0 +1,50 @@
+# 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/blackbox_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+BLACKBOX_EXPORTER_COMMIT="200181b"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin blackbox_exporter/blackbox_exporter
+   dodoc {README,CONFIGURATION}.md blackbox.yml
+   insinto /etc/blackbox_exporter
+   newins example.yml blackbox.yml.example
+   popd || die
+   keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
+   fowners ${PN}:${PN} /var/lib/blackbox_exporter 
/var/log/blackbox_exporter
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2017-12-07 Thread Manuel Rüger
commit: 61ba0d3e0f2facf57fb56380da3d6cda936b4a68
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Dec  7 14:42:14 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Dec  7 14:42:14 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ba0d3e

net-analyzer/prometheus-node_exporter: Version bump to 0.15.2

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-analyzer/prometheus-node_exporter/Manifest |  3 +-
 .../prometheus-node_exporter-0.15.2.ebuild | 48 ++
 2 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 2b40489d716..6202fab27af 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
-DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 SHA256 
63503acd6f4c83f20465b0ad3abe49232ada3a933f0f6717aec99bfe13d20934 SHA512 
884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539
 WHIRLPOOL 
aedcaaf8145952feedac81a5789c9e193624f0ad7da63b2aeef1e96775ae0df69e33dd8e21c64f73a75d698d76d64c7c9b9dec203a9c18374b6083162932a8cf
+DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 BLAKE2B 
56d877ee0aea8c18150cca38a62ba6dc439e847188d887def3090b9e3272cb1a077aa451ac63784f8e94d1324630a1320ef5a83127914a4a3820fbf637361b83
 SHA512 
884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539
+DIST prometheus-node_exporter-0.15.2.tar.gz 1327204 BLAKE2B 
ee694771ed6d736fd4bb6a10f713f31becc930fb8225499d4b3a2a2cc7416c1816605cd8f4205dc37a2264af8d9f85e3519bc01844d252b6a70d4ee5f6308ece
 SHA512 
b39ce0801a5bf5a2a70c4034659d047d70b3763af3f18925b65c2b5f72832e261362aaeb9ce4c68cb7bf52e790d3fc710a6c8550ad7876e89fd9f5a055200a52

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild
new file mode 100644
index 000..120e1bcf133
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.2.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="98bc649"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/node_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin node_exporter/node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /var/lib/node_exporter /var/log/node_exporter
+   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
+   newinitd "${FILESDIR}"/${PN}-1.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-snmp_exporter/

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

net-analyzer/prometheus-snmp_exporter: Remove old

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 net-analyzer/prometheus-snmp_exporter/Manifest |  1 -
 .../prometheus-snmp_exporter-0.7.0.ebuild  | 50 --
 2 files changed, 51 deletions(-)

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
index c4509d6f4d8..cec76d8d44f 100644
--- a/net-analyzer/prometheus-snmp_exporter/Manifest
+++ b/net-analyzer/prometheus-snmp_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-snmp_exporter-0.7.0.tar.gz 3250164 SHA256 
da9d0c4baa21a317a88ebbb0e836a4665614d03421d2c4ecb7df7e5217920398 SHA512 
b0564fcd38eb823d136b25c3aa4e8f1df495eb6f262f105e6686adab80a794cd2cc47f51f40606aa4b51d29e0ab6851216b147b37e406e450b4f9559caaee5d1
 WHIRLPOOL 
a0c4a7e53cc24ea712f681440be5757c40f7585037fa8a7f1e71da7aee2fb1a4084d2648e3b0076c452f7740657b710d9eb986b1e97e8b5bf44b04617d2c3405
 DIST prometheus-snmp_exporter-0.8.0.tar.gz 3257344 SHA256 
740ede001e6ae0a08cda52b0efcd43b24f81431010175ae2a0c687264732860a SHA512 
0cae5fc107baedd8d498972aa7c6b3b48ff19f951c5366e5be5173009e956de8da06b84a46926d6f157287df0793e996686740c491f502da24172d5806b49339
 WHIRLPOOL 
09b785cb3e1331198c8657f60444d491ac5270fcc39136737af1076656e5939fa59225be8edc3e8e6a0985ddc19c24e9ba97d962eb412525537fdfa4642ce371

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
deleted file mode 100644
index 15ca77ed1b7..000
--- 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
+++ /dev/null
@@ -1,50 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="9147920"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for snmp metrics"
-HOMEPAGE="https://github.com/prometheus/snmp_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix snmp_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin snmp_exporter/snmp_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   insinto /etc/snmp_exporter
-   newins snmp.yml snmp.yml.example
-   popd || die
-   keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
-   fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



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

2017-11-20 Thread Manuel Rüger
commit: 37ec9491e43e90ead480f92127982b3844d36ffd
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Nov 20 18:05:40 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Nov 20 18:05:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37ec9491

net-analyzer/prometheus-snmp_exporter: Version bump to 0.8.0

Package-Manager: Portage-2.3.14, Repoman-2.3.6

 net-analyzer/prometheus-snmp_exporter/Manifest |  1 +
 .../prometheus-snmp_exporter-0.8.0.ebuild  | 50 ++
 2 files changed, 51 insertions(+)

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
index cba6bc622a0..c4509d6f4d8 100644
--- a/net-analyzer/prometheus-snmp_exporter/Manifest
+++ b/net-analyzer/prometheus-snmp_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-snmp_exporter-0.7.0.tar.gz 3250164 SHA256 
da9d0c4baa21a317a88ebbb0e836a4665614d03421d2c4ecb7df7e5217920398 SHA512 
b0564fcd38eb823d136b25c3aa4e8f1df495eb6f262f105e6686adab80a794cd2cc47f51f40606aa4b51d29e0ab6851216b147b37e406e450b4f9559caaee5d1
 WHIRLPOOL 
a0c4a7e53cc24ea712f681440be5757c40f7585037fa8a7f1e71da7aee2fb1a4084d2648e3b0076c452f7740657b710d9eb986b1e97e8b5bf44b04617d2c3405
+DIST prometheus-snmp_exporter-0.8.0.tar.gz 3257344 SHA256 
740ede001e6ae0a08cda52b0efcd43b24f81431010175ae2a0c687264732860a SHA512 
0cae5fc107baedd8d498972aa7c6b3b48ff19f951c5366e5be5173009e956de8da06b84a46926d6f157287df0793e996686740c491f502da24172d5806b49339
 WHIRLPOOL 
09b785cb3e1331198c8657f60444d491ac5270fcc39136737af1076656e5939fa59225be8edc3e8e6a0985ddc19c24e9ba97d962eb412525537fdfa4642ce371

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild
new file mode 100644
index 000..1c6964ea08b
--- /dev/null
+++ 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild
@@ -0,0 +1,50 @@
+# 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/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="17cefca"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix snmp_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin snmp_exporter/snmp_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   insinto /etc/snmp_exporter
+   newins snmp.yml snmp.yml.example
+   popd || die
+   keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
+   fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
+   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/

2017-11-08 Thread Manuel Rüger
commit: f1824a4009024305db6b5194cf46de3369d2349f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov  8 12:23:58 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov  8 12:23:58 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1824a40

net-analyzer/prometheus: Version bump to 2.0.0

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-2.0.0.ebuild | 68 +
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 7b183a7f398..87f58b86203 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,4 +1,5 @@
 DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
 DIST prometheus-1.8.2.tar.gz 5238057 SHA256 
7c8a9c9756790d1c4eb436bb6ebda49e2f671a6319c06a1c63d5df9eff7da0e2 SHA512 
ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 WHIRLPOOL 
c61ed7a9238a86e0cdc1813e0d0f88e9b90567986b61e0e856d34f42d1c5ef5f2c66e6e95be659f00883aec39660536653c2d0f5baaf4573600711929480bd00
+DIST prometheus-2.0.0.tar.gz 5603884 SHA256 
6947ae9b2d414d49304034a2635f0e1ecd45ac83a4f4592ea5bcca40d6f7951b SHA512 
9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5
 WHIRLPOOL 
d41cd1fea411eec127a1e5c25a545fb46f02168909aeca557cacae4f7a05cd3324ab737539c05255d85f2ca8e8951afb091c98043651488f83040a0bd7bbe2a2
 DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655
 DIST prometheus-2.0.0_rc3.tar.gz 5585258 SHA256 
3e2eb9f2f24b12cea81b1918caa988ba42f842dba042e6c7ab8fdac54ec6a018 SHA512 
4d4ee83bbb8db3738c5c84f5d544d8b3ee25cef528ce15d6e6f02b67349c73a01347a8e22de2de04cce008ff707c6e59988e35dacd0bbaa0ab0b1356bcfabdb7
 WHIRLPOOL 
d0429870bac7e925b023132ae1a046cceeb7ff0354f104c73f2651ae06a90df575261f6a69e112d9fbd1590008418739ac54d3ddda1ab6572aa106f6e8f050c9

diff --git a/net-analyzer/prometheus/prometheus-2.0.0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0.ebuild
new file mode 100644
index 000..f316f9e3f9c
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="0a74f98"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-11-08 Thread Manuel Rüger
commit: 515780cc25458fbe4baee9188ed6dd2ce429d6f1
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov  8 12:31:38 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov  8 12:31:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515780cc

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus-node_exporter/Manifest |  1 -
 .../prometheus-node_exporter-0.15.0.ebuild | 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index a742a7cd54d..2b40489d716 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-node_exporter-0.15.0.tar.gz 1324698 SHA256 
87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb SHA512 
0630c112742ef029d24a0086f9cf0a2efcf1125987dc1e6978055d3e74b820bbd91fd2e7391aa5108881a08a2ec06aff4c1500ebbb6644b46fd7e6271f2b8fa9
 WHIRLPOOL 
8d4da98c4df9dd344ea68e64deb550197af04b01251dfc784c992007b24677843af8f5d973fafef6e679ce1b2a769512a43419406252cf5f9d35b91c17011a1f
 DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 SHA256 
63503acd6f4c83f20465b0ad3abe49232ada3a933f0f6717aec99bfe13d20934 SHA512 
884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539
 WHIRLPOOL 
aedcaaf8145952feedac81a5789c9e193624f0ad7da63b2aeef1e96775ae0df69e33dd8e21c64f73a75d698d76d64c7c9b9dec203a9c18374b6083162932a8cf

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild
deleted file mode 100644
index b350301d13e..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="6e2053c"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/node_exporter;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin node_exporter/node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /var/lib/node_exporter /var/log/node_exporter
-   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
-   newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



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

2017-11-08 Thread Manuel Rüger
commit: a1f85aa6737d582349dcdabedf8a780da029920f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov  8 12:31:06 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov  8 12:31:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1f85aa6

net-analyzer/prometheus-node_exporter: Version bump to 0.15.1

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../prometheus-node_exporter-0.15.1.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 777930447c1..a742a7cd54d 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-node_exporter-0.15.0.tar.gz 1324698 SHA256 
87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb SHA512 
0630c112742ef029d24a0086f9cf0a2efcf1125987dc1e6978055d3e74b820bbd91fd2e7391aa5108881a08a2ec06aff4c1500ebbb6644b46fd7e6271f2b8fa9
 WHIRLPOOL 
8d4da98c4df9dd344ea68e64deb550197af04b01251dfc784c992007b24677843af8f5d973fafef6e679ce1b2a769512a43419406252cf5f9d35b91c17011a1f
+DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 SHA256 
63503acd6f4c83f20465b0ad3abe49232ada3a933f0f6717aec99bfe13d20934 SHA512 
884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539
 WHIRLPOOL 
aedcaaf8145952feedac81a5789c9e193624f0ad7da63b2aeef1e96775ae0df69e33dd8e21c64f73a75d698d76d64c7c9b9dec203a9c18374b6083162932a8cf

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild
new file mode 100644
index 000..a300b0f49c9
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="ba5da2c"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/node_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin node_exporter/node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /var/lib/node_exporter /var/log/node_exporter
+   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
+   newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2017-11-08 Thread Manuel Rüger
commit: 64c8d0af552f648aa707bb870f20ecec4bde1227
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Nov  8 12:24:26 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Nov  8 12:24:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64c8d0af

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus/Manifest   |  3 -
 net-analyzer/prometheus/prometheus-1.8.1.ebuild| 59 ---
 .../prometheus/prometheus-2.0.0_rc2.ebuild | 68 --
 .../prometheus/prometheus-2.0.0_rc3.ebuild | 68 --
 4 files changed, 198 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 87f58b86203..b42fb170b63 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,5 +1,2 @@
-DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
 DIST prometheus-1.8.2.tar.gz 5238057 SHA256 
7c8a9c9756790d1c4eb436bb6ebda49e2f671a6319c06a1c63d5df9eff7da0e2 SHA512 
ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 WHIRLPOOL 
c61ed7a9238a86e0cdc1813e0d0f88e9b90567986b61e0e856d34f42d1c5ef5f2c66e6e95be659f00883aec39660536653c2d0f5baaf4573600711929480bd00
 DIST prometheus-2.0.0.tar.gz 5603884 SHA256 
6947ae9b2d414d49304034a2635f0e1ecd45ac83a4f4592ea5bcca40d6f7951b SHA512 
9d23e10b3eb12755781b9edc5c32a0cb1e99055a8a905517619d992a174a8621ebc1e82999ce2412e7fc3e2e0af8a0dfe1eded8bcd2701a5aaaffce79c7fbcc5
 WHIRLPOOL 
d41cd1fea411eec127a1e5c25a545fb46f02168909aeca557cacae4f7a05cd3324ab737539c05255d85f2ca8e8951afb091c98043651488f83040a0bd7bbe2a2
-DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655
-DIST prometheus-2.0.0_rc3.tar.gz 5585258 SHA256 
3e2eb9f2f24b12cea81b1918caa988ba42f842dba042e6c7ab8fdac54ec6a018 SHA512 
4d4ee83bbb8db3738c5c84f5d544d8b3ee25cef528ce15d6e6f02b67349c73a01347a8e22de2de04cce008ff707c6e59988e35dacd0bbaa0ab0b1356bcfabdb7
 WHIRLPOOL 
d0429870bac7e925b023132ae1a046cceeb7ff0354f104c73f2651ae06a90df575261f6a69e112d9fbd1590008418739ac54d3ddda1ab6572aa106f6e8f050c9

diff --git a/net-analyzer/prometheus/prometheus-1.8.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.8.1.ebuild
deleted file mode 100644
index 1a0cce6982b..000
--- a/net-analyzer/prometheus/prometheus-1.8.1.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="3a7c51a"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc2.ebuild 

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

2017-11-05 Thread Manuel Rüger
commit: d1459e04f1cfb4c3146a1ab8647364731b814fcf
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Nov  5 20:40:38 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Nov  5 20:44:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1459e04

net-analyzer/prometheus: Version bump to 1.8.2

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.8.2.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 63392ac9770..75230ee8160 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
+DIST prometheus-1.8.2.tar.gz 5238057 SHA256 
7c8a9c9756790d1c4eb436bb6ebda49e2f671a6319c06a1c63d5df9eff7da0e2 SHA512 
ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 WHIRLPOOL 
c61ed7a9238a86e0cdc1813e0d0f88e9b90567986b61e0e856d34f42d1c5ef5f2c66e6e95be659f00883aec39660536653c2d0f5baaf4573600711929480bd00
 DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655

diff --git a/net-analyzer/prometheus/prometheus-1.8.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.8.2.ebuild
new file mode 100644
index 000..1006108b099
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.8.2.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus"
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="5211b96"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-11-05 Thread Manuel Rüger
commit: d4807e70b4e60dd4d7a971b4549a68e7c3161100
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Nov  5 20:43:47 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Nov  5 20:44:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4807e70

net-analyzer/prometheus: Version bump to 2.0.0_rc3

Package-Manager: Portage-2.3.12, Repoman-2.3.4

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_rc3.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 75230ee8160..7b183a7f398 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
 DIST prometheus-1.8.2.tar.gz 5238057 SHA256 
7c8a9c9756790d1c4eb436bb6ebda49e2f671a6319c06a1c63d5df9eff7da0e2 SHA512 
ed52ab494ae565d4787b29cf1800605ac3bfdacee25e833704131d57bad9759a3e2585b96316ad754e6612324e68079d7f670004a86aa12c768a2e03542966d2
 WHIRLPOOL 
c61ed7a9238a86e0cdc1813e0d0f88e9b90567986b61e0e856d34f42d1c5ef5f2c66e6e95be659f00883aec39660536653c2d0f5baaf4573600711929480bd00
 DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655
+DIST prometheus-2.0.0_rc3.tar.gz 5585258 SHA256 
3e2eb9f2f24b12cea81b1918caa988ba42f842dba042e6c7ab8fdac54ec6a018 SHA512 
4d4ee83bbb8db3738c5c84f5d544d8b3ee25cef528ce15d6e6f02b67349c73a01347a8e22de2de04cce008ff707c6e59988e35dacd0bbaa0ab0b1356bcfabdb7
 WHIRLPOOL 
d0429870bac7e925b023132ae1a046cceeb7ff0354f104c73f2651ae06a90df575261f6a69e112d9fbd1590008418739ac54d3ddda1ab6572aa106f6e8f050c9

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc3.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc3.ebuild
new file mode 100644
index 000..e0858090614
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_rc3.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="8a9b32d"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-10-26 Thread Manuel Rüger
commit: 9989c50b626696f66446692bc07db54e4cd58651
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 26 13:03:34 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 26 13:03:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9989c50b

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 net-analyzer/prometheus-node_exporter/Manifest |  1 -
 .../files/prometheus-node_exporter.initd   | 19 -
 .../prometheus-node_exporter-0.14.0-r1.ebuild  | 48 --
 3 files changed, 68 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index fda3f5741ed..777930447c1 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-node_exporter-0.14.0.tar.gz 1086402 SHA256 
312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1 SHA512 
28b1c3a17b0065f7005636f0751e535f9455675f7c17546a584fb709f43f2608e4854fe4e7f0e3790b89eff21016b41dccb0a96f16eae466de1040b57c4b1c98
 WHIRLPOOL 
176eb95a76fefb388817fa27f0b43fca9b1ed235d39e73e97254ef829025d7493f710ce0ef2cf11b00ffa509c08f7b12664cdff38939a5ea62eb79e7991c0bd3
 DIST prometheus-node_exporter-0.15.0.tar.gz 1324698 SHA256 
87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb SHA512 
0630c112742ef029d24a0086f9cf0a2efcf1125987dc1e6978055d3e74b820bbd91fd2e7391aa5108881a08a2ec06aff4c1500ebbb6644b46fd7e6271f2b8fa9
 WHIRLPOOL 
8d4da98c4df9dd344ea68e64deb550197af04b01251dfc784c992007b24677843af8f5d973fafef6e679ce1b2a769512a43419406252cf5f9d35b91c17011a1f

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

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
deleted file mode 100644
index 5714d4e1feb..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="840ba5d"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin node_exporter/node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /var/lib/node_exporter /var/log/node_exporter
-   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



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

2017-10-26 Thread Manuel Rüger
commit: d80de5cf914221bc58ae2bd8df3d09faadf4b8f3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 26 12:04:22 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 26 12:04:22 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d80de5cf

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  2 -
 net-analyzer/prometheus/prometheus-1.8.0.ebuild| 59 ---
 .../prometheus/prometheus-2.0.0_rc1.ebuild | 68 --
 3 files changed, 129 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 6754aa84ff8..63392ac9770 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,4 +1,2 @@
-DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
 DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
-DIST prometheus-2.0.0_rc1.tar.gz 5538094 SHA256 
5d80280d4f8de0e5c79b02fa2ab9cbe4cf49a287ed268ed85a0f87abd257d226 SHA512 
c89509693608a4f00713cb3b9f11b533236898af4a08580ecb4aa5f198d7f568719ddb78225f9d260128288aa7e037d0a0a820f8e42e2db4c7745e2f993fb4fe
 WHIRLPOOL 
1765d9eb600da28e12d2c679a60f050d9557bbf974a53ff86363fb66fb82d64c4b55a85f9aac4c80039c317a88028c794e8387e0db3f0b925b86057d5ae17f7e
 DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655

diff --git a/net-analyzer/prometheus/prometheus-1.8.0.ebuild 
b/net-analyzer/prometheus/prometheus-1.8.0.ebuild
deleted file mode 100644
index de0cc31726d..000
--- a/net-analyzer/prometheus/prometheus-1.8.0.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="3569eef"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild
deleted file mode 100644
index 697c4156945..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild
+++ /dev/null
@@ -1,68 +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/prometheus"
-MY_PV=${PV/_rc/-rc.}
-EGIT_COMMIT="v${MY_PV}"

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

2017-10-26 Thread Manuel Rüger
commit: 855e4167a5e4254f999f8f73f37c5917c7cb371f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 26 12:04:05 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 26 12:04:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855e4167

net-analyzer/prometheus: Version bump to 2.0.0_rc2

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_rc2.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index ff7dc664ccf..6754aa84ff8 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
 DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
 DIST prometheus-2.0.0_rc1.tar.gz 5538094 SHA256 
5d80280d4f8de0e5c79b02fa2ab9cbe4cf49a287ed268ed85a0f87abd257d226 SHA512 
c89509693608a4f00713cb3b9f11b533236898af4a08580ecb4aa5f198d7f568719ddb78225f9d260128288aa7e037d0a0a820f8e42e2db4c7745e2f993fb4fe
 WHIRLPOOL 
1765d9eb600da28e12d2c679a60f050d9557bbf974a53ff86363fb66fb82d64c4b55a85f9aac4c80039c317a88028c794e8387e0db3f0b925b86057d5ae17f7e
+DIST prometheus-2.0.0_rc2.tar.gz 5539456 SHA256 
99340e1708f9dd216048d0de8ce1a069c70879760d833dfee1ef480966d2d53c SHA512 
c895e0a561e89a13cee4cba1f4899ffcb4a8094f72618b9c7c2e48a035ceef3b844c0c8b9603f0886fac3e0d1c43b1e235f784f18d289e47c0e858b5d53ed47b
 WHIRLPOOL 
60070eddcaa06ada89e5612c893c97098c48c6d5953d17e1cfe6b16708c332aa9d855aaecf6aa00c28527b22ad77ce6ff26cbade01ea2e71d1bafc9ece59f655

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc2.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc2.ebuild
new file mode 100644
index 000..6aa654dad84
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_rc2.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="ce63a5a"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-10-24 Thread Manuel Rüger
commit: 9922fc71d6d164a2cffb1697d56902b6b3ac1624
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Oct 24 13:16:03 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Oct 24 13:16:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9922fc71

net-analyzer/prometheus: Version bump to 1.8.1

Package-Manager: Portage-2.3.12, Repoman-2.3.3

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.8.1.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index f4ca40da4b6..ff7dc664ccf 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
+DIST prometheus-1.8.1.tar.gz 5194859 SHA256 
dc2b7bb5b5f1273c131921d3e306fd198f2a5547abc58dcf511b700c62963595 SHA512 
936728f51a12a080a0689c17b134f70f747bb2219f750ea5f7df7460169b3e484689d75df319cfae12fc939b556e4f59ed49682731e43405a4a91e4bbcd9cbb7
 WHIRLPOOL 
755ac91ecfe9234675bac2cee2c63a50c80a5e02267818b1ac7747c669df81e4e267dd884aa1da7463339f5344e8fdbb488c7521d0d7817360bad74ece256a86
 DIST prometheus-2.0.0_rc1.tar.gz 5538094 SHA256 
5d80280d4f8de0e5c79b02fa2ab9cbe4cf49a287ed268ed85a0f87abd257d226 SHA512 
c89509693608a4f00713cb3b9f11b533236898af4a08580ecb4aa5f198d7f568719ddb78225f9d260128288aa7e037d0a0a820f8e42e2db4c7745e2f993fb4fe
 WHIRLPOOL 
1765d9eb600da28e12d2c679a60f050d9557bbf974a53ff86363fb66fb82d64c4b55a85f9aac4c80039c317a88028c794e8387e0db3f0b925b86057d5ae17f7e

diff --git a/net-analyzer/prometheus/prometheus-1.8.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.8.1.ebuild
new file mode 100644
index 000..1a0cce6982b
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.8.1.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus"
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="3a7c51a"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



[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 

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

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

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  2 -
 net-analyzer/prometheus/prometheus-1.7.1.ebuild| 59 ---
 .../prometheus/prometheus-2.0.0_rc0.ebuild | 68 --
 3 files changed, 129 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 17514f88790..f4ca40da4b6 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,4 +1,2 @@
-DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
-DIST prometheus-2.0.0_rc0.tar.gz 5524499 SHA256 
e1615defddf3e0a2d32e22ffba5bc3f0f37ff98fac7d4bba2b2c5bb8219f2a22 SHA512 
fd382f559ea9a362e2493ea2d317afe600b0ed2299e3d6ef12678658cd62320ad39deec1b4639819b32c4ba34f124792d00dd101632b1c1e4f1123005e20e38d
 WHIRLPOOL 
1d0ed8f35c9f9d5fca8310af21b93d35bad3397fbf88ea0cc2573412c8d58291e521212283abbe5ed4a461e2e1f62f704f96a6070509864972ff3dd1c0eacd67
 DIST prometheus-2.0.0_rc1.tar.gz 5538094 SHA256 
5d80280d4f8de0e5c79b02fa2ab9cbe4cf49a287ed268ed85a0f87abd257d226 SHA512 
c89509693608a4f00713cb3b9f11b533236898af4a08580ecb4aa5f198d7f568719ddb78225f9d260128288aa7e037d0a0a820f8e42e2db4c7745e2f993fb4fe
 WHIRLPOOL 
1765d9eb600da28e12d2c679a60f050d9557bbf974a53ff86363fb66fb82d64c4b55a85f9aac4c80039c317a88028c794e8387e0db3f0b925b86057d5ae17f7e

diff --git a/net-analyzer/prometheus/prometheus-1.7.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.7.1.ebuild
deleted file mode 100644
index a480c795291..000
--- a/net-analyzer/prometheus/prometheus-1.7.1.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="3afb3ff"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild
deleted file mode 100644
index 76067595c5b..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild
+++ /dev/null
@@ -1,68 +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/prometheus"
-MY_PV=${PV/_rc/-rc.}
-EGIT_COMMIT="v${MY_PV}"

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

2017-10-17 Thread Manuel Rüger
commit: 4a4d7fd87e76259b2479426fb48f96c2f7802874
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Oct 17 13:56:59 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Oct 17 14:15:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a4d7fd8

net-analyzer/prometheus: Version bump to 2.0.0_rc1

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_rc1.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index eed7b14d64f..17514f88790 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
 DIST prometheus-2.0.0_rc0.tar.gz 5524499 SHA256 
e1615defddf3e0a2d32e22ffba5bc3f0f37ff98fac7d4bba2b2c5bb8219f2a22 SHA512 
fd382f559ea9a362e2493ea2d317afe600b0ed2299e3d6ef12678658cd62320ad39deec1b4639819b32c4ba34f124792d00dd101632b1c1e4f1123005e20e38d
 WHIRLPOOL 
1d0ed8f35c9f9d5fca8310af21b93d35bad3397fbf88ea0cc2573412c8d58291e521212283abbe5ed4a461e2e1f62f704f96a6070509864972ff3dd1c0eacd67
+DIST prometheus-2.0.0_rc1.tar.gz 5538094 SHA256 
5d80280d4f8de0e5c79b02fa2ab9cbe4cf49a287ed268ed85a0f87abd257d226 SHA512 
c89509693608a4f00713cb3b9f11b533236898af4a08580ecb4aa5f198d7f568719ddb78225f9d260128288aa7e037d0a0a820f8e42e2db4c7745e2f993fb4fe
 WHIRLPOOL 
1765d9eb600da28e12d2c679a60f050d9557bbf974a53ff86363fb66fb82d64c4b55a85f9aac4c80039c317a88028c794e8387e0db3f0b925b86057d5ae17f7e

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild
new file mode 100644
index 000..697c4156945
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_rc1.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="5ab8834"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-10-12 Thread Manuel Rüger
commit: bfbf2da07d356ee5baaa1c55d6cae52acbfb8a8e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:31:29 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:31:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbf2da0

net-analyzer/prometheus-node_exporter: Fix metadata.xml

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-node_exporter/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/prometheus-node_exporter/metadata.xml 
b/net-analyzer/prometheus-node_exporter/metadata.xml
index 43b9f018e07..d758c8dfc41 100644
--- a/net-analyzer/prometheus-node_exporter/metadata.xml
+++ b/net-analyzer/prometheus-node_exporter/metadata.xml
@@ -6,6 +6,6 @@
Manuel Rüger


-   prometheus/prometheus-node_exporter
+   prometheus/node_exporter

 



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

2017-10-12 Thread Manuel Rüger
commit: b02f11b8db73f417e3cbbbf1f8bdfdcb3f8097cc
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:31:02 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:31:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b02f11b8

net-analyzer/prometheus-snmp_exporter: Fix metadata.xml

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-snmp_exporter/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/prometheus-snmp_exporter/metadata.xml 
b/net-analyzer/prometheus-snmp_exporter/metadata.xml
index 7391ccfbbae..9ea37fba673 100644
--- a/net-analyzer/prometheus-snmp_exporter/metadata.xml
+++ b/net-analyzer/prometheus-snmp_exporter/metadata.xml
@@ -6,6 +6,6 @@
Manuel Rüger


-   prometheus/prometheus-snmp_exporter
+   prometheus/snmp_exporter

 



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

2017-10-12 Thread Manuel Rüger
commit: 65f668d31b913a03fa772432ee5755cb9e9c245d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:30:34 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:30:34 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f668d3

net-analyzer/prometheus-blackbox_exporter: Initial version

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-blackbox_exporter/Manifest |  1 +
 .../files/prometheus-blackbox_exporter.confd   |  2 +
 .../files/prometheus-blackbox_exporter.initd   | 19 
 .../prometheus-blackbox_exporter/metadata.xml  | 11 +
 .../prometheus-blackbox_exporter-0.10.0.ebuild | 50 ++
 5 files changed, 83 insertions(+)

diff --git a/net-analyzer/prometheus-blackbox_exporter/Manifest 
b/net-analyzer/prometheus-blackbox_exporter/Manifest
new file mode 100644
index 000..a9cb8e33c56
--- /dev/null
+++ b/net-analyzer/prometheus-blackbox_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-blackbox_exporter-0.10.0.tar.gz 530109 SHA256 
fcadd04112bfd405c56011954bf225a72831d9c4ca4ef3fb5bfdb4107a225907 SHA512 
497246b440b03b964c90f9bcf8ec1bca45c213bc4652ddb92c339b42586746b75a5145e87899381718ba628891faae3dfae39b0196272f572c7213e94ea7295b
 WHIRLPOOL 
73ae4c5d5b1ed14e1f33157b56085f739c3a4078f605caf8798b1783a37fde342a6874b8a9fa0a71854f92511890c7ebbdb39433a2d6b0c701e29c61bccb1299

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.confd
 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.confd
new file mode 100644
index 000..39887477dff
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.confd
@@ -0,0 +1,2 @@
+# arguments for prometheus blackbox exporter
+command_args="--config.file=/etc/blackbox_exporter/blackbox.yml"

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.initd
new file mode 100644
index 000..45da799723d
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/files/prometheus-blackbox_exporter.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 blackbox exporter"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/blackbox_exporter"
+command_args="${command_args:--config.file=/etc/blackbox_exporter/blackbox.yml}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/blackbox_exporter/${RC_SVCNAME}.log \
+   --stderr /var/log/blackbox_exporter/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

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

diff --git 
a/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
new file mode 100644
index 000..c5cf528c542
--- /dev/null
+++ 
b/net-analyzer/prometheus-blackbox_exporter/prometheus-blackbox_exporter-0.10.0.ebuild
@@ -0,0 +1,50 @@
+# 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/blackbox_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+BLACKBOX_EXPORTER_COMMIT="75681e3"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, 
TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${BLACBOX_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin blackbox_exporter/blackbox_exporter
+   dodoc {README,CONFIGURATION}.md blackbox.yml
+   insinto /etc/blackbox_exporter
+   newins example.yml blackbox.yml.example
+  

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

2017-10-12 Thread Manuel Rüger
commit: e83e3907606a280bd1c6b90894f8aa6779457c11
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:27:03 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:29:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e83e3907

net-analyzer/prometheus-snmp_exporter: Fix description

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
index 407d8bf4a08..15ca77ed1b7 100644
--- 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
+++ 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
@@ -10,7 +10,7 @@ SNMP_EXPORTER_COMMIT="9147920"
 ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
 KEYWORDS="~amd64"
 
-DESCRIPTION="Prometheus exporter for machine metrics"
+DESCRIPTION="Prometheus exporter for snmp metrics"
 HOMEPAGE="https://github.com/prometheus/snmp_exporter;
 SRC_URI="${ARCHIVE_URI}"
 LICENSE="Apache-2.0"



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

2017-10-12 Thread Manuel Rüger
commit: d41c6725e0c2c2501dbe7b536bde31e6f20d6758
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:24:18 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:29:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41c6725

net-analyzer/prometheus-snmp_exporter: Make config file an example

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
index 747c37de355..407d8bf4a08 100644
--- 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
+++ 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
@@ -41,7 +41,7 @@ src_install() {
dobin snmp_exporter/snmp_exporter
dodoc {README,CHANGELOG,CONTRIBUTING}.md
insinto /etc/snmp_exporter
-   doins snmp.yml
+   newins snmp.yml snmp.yml.example
popd || die
keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter



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

2017-10-12 Thread Manuel Rüger
commit: 6ed05641cba6866a0297e8b0617040bb4008a7e1
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:09:13 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:09:13 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed05641

net-analyzer/prometheus-node_exporter: Version bump to 0.15.0

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../files/prometheus-node_exporter-1.initd | 19 +
 .../prometheus-node_exporter-0.15.0.ebuild | 48 ++
 3 files changed, 68 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 0b7cd7f7c2d..fda3f5741ed 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-node_exporter-0.14.0.tar.gz 1086402 SHA256 
312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1 SHA512 
28b1c3a17b0065f7005636f0751e535f9455675f7c17546a584fb709f43f2608e4854fe4e7f0e3790b89eff21016b41dccb0a96f16eae466de1040b57c4b1c98
 WHIRLPOOL 
176eb95a76fefb388817fa27f0b43fca9b1ed235d39e73e97254ef829025d7493f710ce0ef2cf11b00ffa509c08f7b12664cdff38939a5ea62eb79e7991c0bd3
+DIST prometheus-node_exporter-0.15.0.tar.gz 1324698 SHA256 
87a057081e2034f85e997f9e1343aaf45e1b6ad9fa51411caf97a03fe1c46ccb SHA512 
0630c112742ef029d24a0086f9cf0a2efcf1125987dc1e6978055d3e74b820bbd91fd2e7391aa5108881a08a2ec06aff4c1500ebbb6644b46fd7e6271f2b8fa9
 WHIRLPOOL 
8d4da98c4df9dd344ea68e64deb550197af04b01251dfc784c992007b24677843af8f5d973fafef6e679ce1b2a769512a43419406252cf5f9d35b91c17011a1f

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter-1.initd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter-1.initd
new file mode 100644
index 000..e8268e487d2
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter-1.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 machine metrics exporter"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/node_exporter"
+command_args="${command_args:---collector.textfile.directory=/var/lib/node_exporter/}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/node_exporter/${RC_SVCNAME}.log \
+   --stderr /var/log/node_exporter/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild
new file mode 100644
index 000..b350301d13e
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.0.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="6e2053c"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/node_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin node_exporter/node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /var/lib/node_exporter /var/log/node_exporter
+   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
+   newinitd "${FILESDIR}"/${PN}-1.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2017-10-12 Thread Manuel Rüger
commit: 354cc09a85ef30ef2abf3879fdf986860dc35e3d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Oct 12 18:08:12 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Oct 12 18:08:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=354cc09a

net-analyzer/prometheus-snmp_exporter: Initial commit

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus-snmp_exporter/Manifest |  1 +
 .../files/prometheus-snmp_exporter.confd   |  2 +
 .../files/prometheus-snmp_exporter.initd   | 19 
 net-analyzer/prometheus-snmp_exporter/metadata.xml | 11 +
 .../prometheus-snmp_exporter-0.7.0.ebuild  | 50 ++
 5 files changed, 83 insertions(+)

diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest 
b/net-analyzer/prometheus-snmp_exporter/Manifest
new file mode 100644
index 000..cba6bc622a0
--- /dev/null
+++ b/net-analyzer/prometheus-snmp_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-snmp_exporter-0.7.0.tar.gz 3250164 SHA256 
da9d0c4baa21a317a88ebbb0e836a4665614d03421d2c4ecb7df7e5217920398 SHA512 
b0564fcd38eb823d136b25c3aa4e8f1df495eb6f262f105e6686adab80a794cd2cc47f51f40606aa4b51d29e0ab6851216b147b37e406e450b4f9559caaee5d1
 WHIRLPOOL 
a0c4a7e53cc24ea712f681440be5757c40f7585037fa8a7f1e71da7aee2fb1a4084d2648e3b0076c452f7740657b710d9eb986b1e97e8b5bf44b04617d2c3405

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd 
b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
new file mode 100644
index 000..e80d6a1a850
--- /dev/null
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
@@ -0,0 +1,2 @@
+# arguments for prometheus snmp exporter
+command_args="--config-file=/etc/snmp_exporter/snmp.yml"

diff --git 
a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd 
b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.initd
new file mode 100644
index 000..4d620b54b17
--- /dev/null
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.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 snmp exporter"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
+
+command="/usr/bin/snmp_exporter"
+command_args="${command_args:---config-file=/etc/snmp_exporter/snmp.yml}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/snmp_exporter/${RC_SVCNAME}.log \
+   --stderr /var/log/snmp_exporter/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

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

diff --git 
a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
new file mode 100644
index 000..747c37de355
--- /dev/null
+++ 
b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.7.0.ebuild
@@ -0,0 +1,50 @@
+# 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/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="9147920"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix snmp_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin snmp_exporter/snmp_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   insinto /etc/snmp_exporter
+   doins snmp.yml
+   popd || die
+   keepdir /var/lib/snmp_exporter /var/log/snmp_exporter
+   fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd 

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

2017-10-12 Thread Tobias Klausmann
commit: 8b3a5f15b3f6d7b5a642c124b4cd1e36675ed50a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Thu Oct 12 09:22:23 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Thu Oct 12 09:22:23 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b3a5f15

net-analyzer/prometheus-node_exporter: Fix binary installation source

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 .../prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
index 48eb30aac76..5714d4e1feb 100644
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
@@ -38,7 +38,7 @@ src_compile() {
 
 src_install() {
pushd src/${EGO_PN} || die
-   dobin node_exporter
+   dobin node_exporter/node_exporter
dodoc {README,CHANGELOG,CONTRIBUTING}.md
popd || die
keepdir /var/lib/node_exporter /var/log/node_exporter



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

2017-10-09 Thread Manuel Rüger
commit: 8c0469c9de85ebcff08964d2a36f56ea6f7499ab
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Oct  9 14:25:45 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Oct  9 14:25:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c0469c9

net-analyzer/prometheus: Version bump to 1.8.0

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus/Manifest |  1 +
 net-analyzer/prometheus/files/prometheus-2.initd | 24 --
 net-analyzer/prometheus/files/prometheus.initd   | 19 +++-
 net-analyzer/prometheus/prometheus-1.8.0.ebuild  | 59 
 4 files changed, 67 insertions(+), 36 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index c853676459b..95e9429cd30 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,4 +1,5 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
+DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
 DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d
 DIST prometheus-2.0.0_beta5.tar.gz 5533740 SHA256 
451d4c76fe583de1df3d6164aaec1ff2105ee449706acd1843f1a2119440914e SHA512 
d84fddd5eb2f03b1edf95cd4fa83312f6e617be863ea77a05864345aa1685ad227e82002d9beb3efc1c18ea6a2539dbfdbcc20aa9d2c0ba510ac7293702b4bd9
 WHIRLPOOL 
7facfaba5727ffa519e633f49f1ef6b59b67a11ab978eacd6533c487df68a96d46fde6ed231f48c67684a214bbbc8a88e37901a5d835d7ffacb27e702d98d348
 DIST prometheus-2.0.0_rc0.tar.gz 5524499 SHA256 
e1615defddf3e0a2d32e22ffba5bc3f0f37ff98fac7d4bba2b2c5bb8219f2a22 SHA512 
fd382f559ea9a362e2493ea2d317afe600b0ed2299e3d6ef12678658cd62320ad39deec1b4639819b32c4ba34f124792d00dd101632b1c1e4f1123005e20e38d
 WHIRLPOOL 
1d0ed8f35c9f9d5fca8310af21b93d35bad3397fbf88ea0cc2573412c8d58291e521212283abbe5ed4a461e2e1f62f704f96a6070509864972ff3dd1c0eacd67

diff --git a/net-analyzer/prometheus/files/prometheus-2.initd 
b/net-analyzer/prometheus/files/prometheus-2.initd
deleted file mode 100644
index 04f22f10fda..000
--- a/net-analyzer/prometheus/files/prometheus-2.initd
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 2016-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="Prometheus monitoring system and time series database"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${user:-${SVCNAME}}
-group=${group:-${SVCNAME}}
-
-command="/usr/bin/prometheus"
-command_args="${command_args:---config.file=/etc/prometheus/prometheus.yml 
--storage.tsdb.path=/var/lib/prometheus/data}"
-command_background="true"
-start_stop_daemon_args="--user ${user} --group ${group} \
-   --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
-   --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
-
-depend() {
-   need net
-   after net
-}
-
-start_pre() {
-   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
-}

diff --git a/net-analyzer/prometheus/files/prometheus.initd 
b/net-analyzer/prometheus/files/prometheus.initd
index 2c40710ff7f..245dcc85ae6 100644
--- a/net-analyzer/prometheus/files/prometheus.initd
+++ b/net-analyzer/prometheus/files/prometheus.initd
@@ -1,24 +1,19 @@
 #!/sbin/openrc-run
-# Copyright 2016 Gentoo Foundation
+# Copyright 2016-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Prometheus monitoring system and time series database"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${user:-${SVCNAME}}
-group=${group:-${SVCNAME}}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/prometheus"
-command_args="${command_args:-config.file=/etc/prometheus/prometheus.yml 
-storage.local.path=/var/lib/prometheus/data}"
+command_args="${command_args:--config.file=/etc/prometheus/prometheus.yml 
-storage.local.path=/var/lib/prometheus/data}"
 command_background="true"
 start_stop_daemon_args="--user 

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

2017-10-09 Thread Manuel Rüger
commit: 36c7f1e6d04977410afedfa688261d21901144c0
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Oct  9 14:26:04 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Oct  9 14:26:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36c7f1e6

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  2 -
 .../prometheus/prometheus-2.0.0_beta4.ebuild   | 68 --
 .../prometheus/prometheus-2.0.0_beta5.ebuild   | 68 --
 3 files changed, 138 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 95e9429cd30..eed7b14d64f 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,5 +1,3 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-1.8.0.tar.gz 5194115 SHA256 
556247d750b3618b74ccf59669f74a8c0c39e72cdf51cbcc0c0bcc392de195df SHA512 
1ac00ddae4753f99f167db9b6efc5fa442918284f59468b8e1c7743e3f946eab895678c87e12a73bf158e3c0bf3df7345dd59855baaabb54fc86f1ae1014192d
 WHIRLPOOL 
9ff6f0dc36f022b2be107ce59878f81b210b196858064655a74e098650abc77d5a0c2afb11dd5ebb242d1e2addbc3a182b1a6ce1f751eed723e3fff3434d319c
-DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d
-DIST prometheus-2.0.0_beta5.tar.gz 5533740 SHA256 
451d4c76fe583de1df3d6164aaec1ff2105ee449706acd1843f1a2119440914e SHA512 
d84fddd5eb2f03b1edf95cd4fa83312f6e617be863ea77a05864345aa1685ad227e82002d9beb3efc1c18ea6a2539dbfdbcc20aa9d2c0ba510ac7293702b4bd9
 WHIRLPOOL 
7facfaba5727ffa519e633f49f1ef6b59b67a11ab978eacd6533c487df68a96d46fde6ed231f48c67684a214bbbc8a88e37901a5d835d7ffacb27e702d98d348
 DIST prometheus-2.0.0_rc0.tar.gz 5524499 SHA256 
e1615defddf3e0a2d32e22ffba5bc3f0f37ff98fac7d4bba2b2c5bb8219f2a22 SHA512 
fd382f559ea9a362e2493ea2d317afe600b0ed2299e3d6ef12678658cd62320ad39deec1b4639819b32c4ba34f124792d00dd101632b1c1e4f1123005e20e38d
 WHIRLPOOL 
1d0ed8f35c9f9d5fca8310af21b93d35bad3397fbf88ea0cc2573412c8d58291e521212283abbe5ed4a461e2e1f62f704f96a6070509864972ff3dd1c0eacd67

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild
deleted file mode 100644
index 919309ad811..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild
+++ /dev/null
@@ -1,68 +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/prometheus"
-MY_PV=${PV/_beta/-beta.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="1b80f63"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}
-
-pkg_postinst() {
-   if has_version 'https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"

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

2017-10-06 Thread Manuel Rüger
commit: b053829d1e22641d4128c9d5f12a6d66416c87a1
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Oct  6 14:24:07 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Oct  6 14:24:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b053829d

net-analyzer/prometheus: Version bump to 2.0.0_rc0

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_rc0.ebuild | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index fb4f8722e75..c853676459b 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d
 DIST prometheus-2.0.0_beta5.tar.gz 5533740 SHA256 
451d4c76fe583de1df3d6164aaec1ff2105ee449706acd1843f1a2119440914e SHA512 
d84fddd5eb2f03b1edf95cd4fa83312f6e617be863ea77a05864345aa1685ad227e82002d9beb3efc1c18ea6a2539dbfdbcc20aa9d2c0ba510ac7293702b4bd9
 WHIRLPOOL 
7facfaba5727ffa519e633f49f1ef6b59b67a11ab978eacd6533c487df68a96d46fde6ed231f48c67684a214bbbc8a88e37901a5d835d7ffacb27e702d98d348
+DIST prometheus-2.0.0_rc0.tar.gz 5524499 SHA256 
e1615defddf3e0a2d32e22ffba5bc3f0f37ff98fac7d4bba2b2c5bb8219f2a22 SHA512 
fd382f559ea9a362e2493ea2d317afe600b0ed2299e3d6ef12678658cd62320ad39deec1b4639819b32c4ba34f124792d00dd101632b1c1e4f1123005e20e38d
 WHIRLPOOL 
1d0ed8f35c9f9d5fca8310af21b93d35bad3397fbf88ea0cc2573412c8d58291e521212283abbe5ed4a461e2e1f62f704f96a6070509864972ff3dd1c0eacd67

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild
new file mode 100644
index 000..76067595c5b
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_rc0.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_rc/-rc.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="012e52e"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-09-24 Thread Manuel Rüger
commit: 53a6778a5b26e497c14d1b0a1651b206e892b559
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 24 18:55:29 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 24 18:55:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53a6778a

net-analyzer/prometheus: Version bump to 2.0.0_beta5

Package-Manager: Portage-2.3.10, Repoman-2.3.2

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_beta5.ebuild   | 68 ++
 2 files changed, 69 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index c18e8a28fae..fb4f8722e75 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d
+DIST prometheus-2.0.0_beta5.tar.gz 5533740 SHA256 
451d4c76fe583de1df3d6164aaec1ff2105ee449706acd1843f1a2119440914e SHA512 
d84fddd5eb2f03b1edf95cd4fa83312f6e617be863ea77a05864345aa1685ad227e82002d9beb3efc1c18ea6a2539dbfdbcc20aa9d2c0ba510ac7293702b4bd9
 WHIRLPOOL 
7facfaba5727ffa519e633f49f1ef6b59b67a11ab978eacd6533c487df68a96d46fde6ed231f48c67684a214bbbc8a88e37901a5d835d7ffacb27e702d98d348

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta5.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta5.ebuild
new file mode 100644
index 000..8fe0ba81b57
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_beta5.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_beta/-beta.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="64c7932"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-09-18 Thread Manuel Rüger
commit: 9f4a9914eae52b1738306aca68b5818c03a58ad2
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 18 11:00:47 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 18 11:00:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f4a9914

net-analyzer/prometheus: Version bump to 2.0.0_beta4, fix initscripts

Gentoo-Bug: 631142
Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 net-analyzer/prometheus/files/prometheus-3.initd   | 19 ++
 .../prometheus/prometheus-2.0.0_beta4.ebuild   | 68 ++
 3 files changed, 88 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 5a0a972cfd5..6d9c2653072 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-2.0.0_beta2.tar.gz 5521490 SHA256 
d8d54562209ff33f9a831e4de7ac0bc94dc743f9ed78d413437750c338d369a2 SHA512 
27366ee07428a70cf142036dee4b7f9e24d135d017f6423ffb2fbea648d0601c2e14e927e1bccef5da7e2a2be9b47963e18d02d2759375a05a8b332a0733c1c5
 WHIRLPOOL 
860fa895ccfc60b08bb76510be4d15272e8b453a46f3af60c4c012e6319c9172762ae27b9bbf6192d73d81d402fd49f3b8b6869f5fc2a496c49345c204207c56
+DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d

diff --git a/net-analyzer/prometheus/files/prometheus-3.initd 
b/net-analyzer/prometheus/files/prometheus-3.initd
new file mode 100644
index 000..5f6d6fe1426
--- /dev/null
+++ b/net-analyzer/prometheus/files/prometheus-3.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 monitoring system and time series database"
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${SVCNAME}}
+group=${group:-${SVCNAME}}
+
+command="/usr/bin/prometheus"
+command_args="${command_args:---config.file=/etc/prometheus/prometheus.yml 
--storage.tsdb.path=/var/lib/prometheus/data}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log \
+   --stderr /var/log/${RC_SVCNAME}/${RC_SVCNAME}.log"
+
+depend() {
+   after net
+}

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild
new file mode 100644
index 000..919309ad811
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_beta4.ebuild
@@ -0,0 +1,68 @@
+# 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/prometheus"
+MY_PV=${PV/_beta/-beta.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="1b80f63"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-3.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus

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

2017-09-18 Thread Manuel Rüger
commit: d69af1cccbf0b28b826257620f1fe9f4bffa337f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 18 11:01:05 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 18 11:01:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d69af1cc

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 -
 .../prometheus/prometheus-2.0.0_beta2.ebuild   | 67 --
 2 files changed, 68 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 6d9c2653072..c18e8a28fae 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,2 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
-DIST prometheus-2.0.0_beta2.tar.gz 5521490 SHA256 
d8d54562209ff33f9a831e4de7ac0bc94dc743f9ed78d413437750c338d369a2 SHA512 
27366ee07428a70cf142036dee4b7f9e24d135d017f6423ffb2fbea648d0601c2e14e927e1bccef5da7e2a2be9b47963e18d02d2759375a05a8b332a0733c1c5
 WHIRLPOOL 
860fa895ccfc60b08bb76510be4d15272e8b453a46f3af60c4c012e6319c9172762ae27b9bbf6192d73d81d402fd49f3b8b6869f5fc2a496c49345c204207c56
 DIST prometheus-2.0.0_beta4.tar.gz 5534359 SHA256 
81196ea9d678c339ba592f29c0f0bdf6bd050862065c5b45351588dc47efbbce SHA512 
2d2727e34cb6d71ba4ac431d3300a47482522c115f602358ce77c3ababb2defeec863d10d8cffc0325be0a9dde16e7c3beeed9a0f3c7b6b3b0db86e77e715b6c
 WHIRLPOOL 
52abc94fa55d52e49d3da6a10e6504e07e5cafd635f7c337b941939ee5ff4a112dc7dfee0bfa96ae99086da9f2b14fb79eedb36158f4c0a746a77d3b158d386d

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild
deleted file mode 100644
index f990ccfe59b..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild
+++ /dev/null
@@ -1,67 +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/prometheus"
-MY_PV=${PV/_beta/-beta.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="a52f082"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus-2.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}
-
-pkg_postinst() {
-   if has_version '

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

2017-09-18 Thread Manuel Rüger
commit: 1b7db743e9c14944f1f08739408e266bdd996550
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 18 10:49:20 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 18 10:49:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7db743

net-analyzer/prometheus-node_exporter: Update init scripts wrt bug 631146

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../files/prometheus-node_exporter.initd   | 15 +++
 .../prometheus-node_exporter-0.14.0-r1.ebuild  | 48 ++
 2 files changed, 53 insertions(+), 10 deletions(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
index 1f7338f964e..57202a4ce47 100644
--- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
@@ -3,22 +3,17 @@
 # Distributed under the terms of the GNU General Public License v2
 
 description="Prometheus machine metrics exporter"
-pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${user:-${SVCNAME}}
-group=${group:-${SVCNAME}}
+pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
+user=${user:-${RC_SVCNAME}}
+group=${group:-${RC_SVCNAME}}
 
 command="/usr/bin/node_exporter"
 
command_args="${command_args:--collector.textfile.directory=/var/lib/node_exporter/}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
-   --stdout /var/log/node_exporter/${SVCNAME}.log \
-   --stderr /var/log/node_exporter/${SVCNAME}.log"
+   --stdout /var/log/node_exporter/${RC_SVCNAME}.log \
+   --stderr /var/log/node_exporter/${RC_SVCNAME}.log"
 
 depend() {
-   need net
after net
 }
-
-start_pre() {
-   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
-}

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
new file mode 100644
index 000..48eb30aac76
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0-r1.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="840ba5d"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   mkdir -p bin || die
+   GOPATH="${S}" promu build -v --prefix node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /var/lib/node_exporter /var/log/node_exporter
+   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



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

2017-09-18 Thread Manuel Rüger
commit: 8967a1329a6967ad83e68a8bb4ef49407f4121fe
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Sep 18 10:49:33 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Sep 18 10:49:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8967a132

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 .../prometheus-node_exporter-0.14.0.ebuild | 48 --
 1 file changed, 48 deletions(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
deleted file mode 100644
index 48eb30aac76..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="840ba5d"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   mkdir -p bin || die
-   GOPATH="${S}" promu build -v --prefix node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /var/lib/node_exporter /var/log/node_exporter
-   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



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

2017-09-10 Thread Manuel Rüger
commit: 1b3839a48182be7a75e4a73b8748bf6e4429aa44
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 10 11:55:45 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 10 11:55:45 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3839a4

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 -
 .../prometheus/prometheus-2.0.0_beta1.ebuild   | 67 --
 2 files changed, 68 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 0e93936ba00..5a0a972cfd5 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,2 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
-DIST prometheus-2.0.0_beta1.tar.gz 5521455 SHA256 
25eee3f884ddb577f308d174c8eaf31718602afcffc1aef4c574fa9fe54687e6 SHA512 
12b2e0ea0279526fd87c915b8ca2bdc2f29bd6041a7c6ad66bc3a7832e914275ba9bfa9d48db54e86dde3c0c1d347a7051fa92fcf33cfebe5b03f200845ef0d1
 WHIRLPOOL 
ba5ff82e8b578c4b94ca539075c834138d2f2af6bea50c45861ea9ff3e592e4cbb32bb3e1ef9c0a3e9ff4e27c4e3025c22b3feb5cc93c33cbd6b8a17803da465
 DIST prometheus-2.0.0_beta2.tar.gz 5521490 SHA256 
d8d54562209ff33f9a831e4de7ac0bc94dc743f9ed78d413437750c338d369a2 SHA512 
27366ee07428a70cf142036dee4b7f9e24d135d017f6423ffb2fbea648d0601c2e14e927e1bccef5da7e2a2be9b47963e18d02d2759375a05a8b332a0733c1c5
 WHIRLPOOL 
860fa895ccfc60b08bb76510be4d15272e8b453a46f3af60c4c012e6319c9172762ae27b9bbf6192d73d81d402fd49f3b8b6869f5fc2a496c49345c204207c56

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild
deleted file mode 100644
index 24e83e245bc..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild
+++ /dev/null
@@ -1,67 +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/prometheus"
-MY_PV=${PV/_beta/-beta.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="4dcb465"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus-2.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}
-
-pkg_postinst() {
-   if has_version '

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

2017-09-10 Thread Manuel Rüger
commit: eb9211408a13f3f7fcc0aca0331836fbfdea093c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Sep 10 11:54:59 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Sep 10 11:54:59 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb921140

net-analyzer/prometheus: Version bump to 2.0.0_beta2

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_beta2.ebuild   | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index bc51214ced2..0e93936ba00 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-2.0.0_beta1.tar.gz 5521455 SHA256 
25eee3f884ddb577f308d174c8eaf31718602afcffc1aef4c574fa9fe54687e6 SHA512 
12b2e0ea0279526fd87c915b8ca2bdc2f29bd6041a7c6ad66bc3a7832e914275ba9bfa9d48db54e86dde3c0c1d347a7051fa92fcf33cfebe5b03f200845ef0d1
 WHIRLPOOL 
ba5ff82e8b578c4b94ca539075c834138d2f2af6bea50c45861ea9ff3e592e4cbb32bb3e1ef9c0a3e9ff4e27c4e3025c22b3feb5cc93c33cbd6b8a17803da465
+DIST prometheus-2.0.0_beta2.tar.gz 5521490 SHA256 
d8d54562209ff33f9a831e4de7ac0bc94dc743f9ed78d413437750c338d369a2 SHA512 
27366ee07428a70cf142036dee4b7f9e24d135d017f6423ffb2fbea648d0601c2e14e927e1bccef5da7e2a2be9b47963e18d02d2759375a05a8b332a0733c1c5
 WHIRLPOOL 
860fa895ccfc60b08bb76510be4d15272e8b453a46f3af60c4c012e6319c9172762ae27b9bbf6192d73d81d402fd49f3b8b6869f5fc2a496c49345c204207c56

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild
new file mode 100644
index 000..f990ccfe59b
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_beta2.ebuild
@@ -0,0 +1,67 @@
+# 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/prometheus"
+MY_PV=${PV/_beta/-beta.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="a52f082"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus-2.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}
+
+pkg_postinst() {
+   if has_version '

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

2017-08-12 Thread Manuel Rüger
commit: d8fdcd98d43630a6a3f60b7dadfcb3c847456f20
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Aug 12 10:18:06 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Aug 12 10:18:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8fdcd98

net-analyzer/prometheus: Version bump to 2.0.0_beta1

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 net-analyzer/prometheus/files/prometheus-2.initd   | 24 
 net-analyzer/prometheus/files/prometheus.confd |  4 +-
 .../prometheus/prometheus-2.0.0_beta1.ebuild   | 67 ++
 4 files changed, 94 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 3ce346c0e6b..2622b5e8141 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
 DIST prometheus-2.0.0_beta0.tar.gz 5475399 SHA256 
7463ff35335ff7fee05018234aa1d100ef78e10f8c549e23675a7552b0429f77 SHA512 
f9da91cbe4e7d5510088e09c8457b08bcfe6a4e0ef781e33a848bbd78045f46042e9a55c4329b71dec4cb11143566de2d077fa34361da3eb66af19f8261baab8
 WHIRLPOOL 
854010b6d9c86688311c992f644cb51c3b0d50523702fc4d82814f92400a141e9557fe367e47aafd2ae2628a73b6533627fab49b1a7f69bbe36081e2c8193f0e
+DIST prometheus-2.0.0_beta1.tar.gz 5521455 SHA256 
25eee3f884ddb577f308d174c8eaf31718602afcffc1aef4c574fa9fe54687e6 SHA512 
12b2e0ea0279526fd87c915b8ca2bdc2f29bd6041a7c6ad66bc3a7832e914275ba9bfa9d48db54e86dde3c0c1d347a7051fa92fcf33cfebe5b03f200845ef0d1
 WHIRLPOOL 
ba5ff82e8b578c4b94ca539075c834138d2f2af6bea50c45861ea9ff3e592e4cbb32bb3e1ef9c0a3e9ff4e27c4e3025c22b3feb5cc93c33cbd6b8a17803da465

diff --git a/net-analyzer/prometheus/files/prometheus-2.initd 
b/net-analyzer/prometheus/files/prometheus-2.initd
new file mode 100644
index 000..04f22f10fda
--- /dev/null
+++ b/net-analyzer/prometheus/files/prometheus-2.initd
@@ -0,0 +1,24 @@
+#!/sbin/openrc-run
+# Copyright 2016-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="Prometheus monitoring system and time series database"
+pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+user=${user:-${SVCNAME}}
+group=${group:-${SVCNAME}}
+
+command="/usr/bin/prometheus"
+command_args="${command_args:---config.file=/etc/prometheus/prometheus.yml 
--storage.tsdb.path=/var/lib/prometheus/data}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
+   --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
+
+depend() {
+   need net
+   after net
+}
+
+start_pre() {
+   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
+}

diff --git a/net-analyzer/prometheus/files/prometheus.confd 
b/net-analyzer/prometheus/files/prometheus.confd
index 95de2eccf09..93b41b31624 100644
--- a/net-analyzer/prometheus/files/prometheus.confd
+++ b/net-analyzer/prometheus/files/prometheus.confd
@@ -1,2 +1,2 @@
-# arguments for docker-registry
-command_args="-config.file=/etc/prometheus/prometheus.yml 
-storage.local.path=/var/lib/prometheus/data"
+# arguments for Prometheus
+command_args=""

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild
new file mode 100644
index 000..24e83e245bc
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_beta1.ebuild
@@ -0,0 +1,67 @@
+# 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/prometheus"
+MY_PV=${PV/_beta/-beta.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="4dcb465"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+  

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

2017-08-12 Thread Manuel Rüger
commit: dcb44bcf0a7a54f0502a2ac5cc2ed41f89446d7e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sat Aug 12 10:18:26 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sat Aug 12 10:18:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb44bcf

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 -
 .../prometheus/prometheus-2.0.0_beta0.ebuild   | 59 --
 2 files changed, 60 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 2622b5e8141..bc51214ced2 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,2 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
-DIST prometheus-2.0.0_beta0.tar.gz 5475399 SHA256 
7463ff35335ff7fee05018234aa1d100ef78e10f8c549e23675a7552b0429f77 SHA512 
f9da91cbe4e7d5510088e09c8457b08bcfe6a4e0ef781e33a848bbd78045f46042e9a55c4329b71dec4cb11143566de2d077fa34361da3eb66af19f8261baab8
 WHIRLPOOL 
854010b6d9c86688311c992f644cb51c3b0d50523702fc4d82814f92400a141e9557fe367e47aafd2ae2628a73b6533627fab49b1a7f69bbe36081e2c8193f0e
 DIST prometheus-2.0.0_beta1.tar.gz 5521455 SHA256 
25eee3f884ddb577f308d174c8eaf31718602afcffc1aef4c574fa9fe54687e6 SHA512 
12b2e0ea0279526fd87c915b8ca2bdc2f29bd6041a7c6ad66bc3a7832e914275ba9bfa9d48db54e86dde3c0c1d347a7051fa92fcf33cfebe5b03f200845ef0d1
 WHIRLPOOL 
ba5ff82e8b578c4b94ca539075c834138d2f2af6bea50c45861ea9ff3e592e4cbb32bb3e1ef9c0a3e9ff4e27c4e3025c22b3feb5cc93c33cbd6b8a17803da465

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild
deleted file mode 100644
index c8412fb071e..000
--- a/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-MY_PV=${PV/_beta/-beta.}
-EGIT_COMMIT="v${MY_PV}"
-PROMETHEUS_COMMIT="2b5d915"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}



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

2017-08-09 Thread Manuel Rüger
commit: 4d69dc3cf5d538dbdfbe80affbfa484c6c5bd4c4
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Aug  9 14:30:55 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Aug  9 14:31:33 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d69dc3c

net-analyzer/prometheus: Version bump to 2.0.0_beta0

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-2.0.0_beta0.ebuild   | 59 ++
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 428e4323256..3ce346c0e6b 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550
+DIST prometheus-2.0.0_beta0.tar.gz 5475399 SHA256 
7463ff35335ff7fee05018234aa1d100ef78e10f8c549e23675a7552b0429f77 SHA512 
f9da91cbe4e7d5510088e09c8457b08bcfe6a4e0ef781e33a848bbd78045f46042e9a55c4329b71dec4cb11143566de2d077fa34361da3eb66af19f8261baab8
 WHIRLPOOL 
854010b6d9c86688311c992f644cb51c3b0d50523702fc4d82814f92400a141e9557fe367e47aafd2ae2628a73b6533627fab49b1a7f69bbe36081e2c8193f0e

diff --git a/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild 
b/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild
new file mode 100644
index 000..c8412fb071e
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-2.0.0_beta0.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus"
+MY_PV=${PV/_beta/-beta.}
+EGIT_COMMIT="v${MY_PV}"
+PROMETHEUS_COMMIT="2b5d915"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-08-03 Thread Manuel Rüger
commit: a4435e95adcf9cb35bc8efd7da622fcc9d385797
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Aug  3 11:25:42 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Aug  3 11:25:42 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4435e95

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 net-analyzer/prometheus/Manifest|  1 -
 net-analyzer/prometheus/prometheus-1.6.3.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index bad5cf02066..428e4323256 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1 @@
-DIST prometheus-1.6.3.tar.gz 5160067 SHA256 
1c2d01f3a44b53be3b672cbdb1843fbe8fc135020bbfb6c71b0a10b141a474e6 SHA512 
e7cad489120a69356ffa70597d725de9586cd64f0eb64ef3fb009ec491687d5e2d858223594d3a4e6d564196c9ea5a0eac762c0f27c9f32d50bf97d2ef79c32b
 WHIRLPOOL 
9cb600621aad1c97f1ced7259fe442b38b24a88cf4b8df7d19a22f6d2f6840464f8db01caf1129800bd7c7ccb232d875aa7b92a194f2abea1f126854306f0817
 DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550

diff --git a/net-analyzer/prometheus/prometheus-1.6.3.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.3.ebuild
deleted file mode 100644
index 09bcc54c842..000
--- a/net-analyzer/prometheus/prometheus-1.6.3.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus"
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="c580b60"
-ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}



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

2017-06-23 Thread Manuel Rüger
commit: 64d7cbc58742d9faf46ad63afeb4f682abe3e24d
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Jun 23 12:42:07 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Jun 23 12:43:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64d7cbc5

net-analyzer/prometheus: Version bump to 1.7.1

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.7.1.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 894bf6089c1..bad5cf02066 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-1.6.3.tar.gz 5160067 SHA256 
1c2d01f3a44b53be3b672cbdb1843fbe8fc135020bbfb6c71b0a10b141a474e6 SHA512 
e7cad489120a69356ffa70597d725de9586cd64f0eb64ef3fb009ec491687d5e2d858223594d3a4e6d564196c9ea5a0eac762c0f27c9f32d50bf97d2ef79c32b
 WHIRLPOOL 
9cb600621aad1c97f1ced7259fe442b38b24a88cf4b8df7d19a22f6d2f6840464f8db01caf1129800bd7c7ccb232d875aa7b92a194f2abea1f126854306f0817
+DIST prometheus-1.7.1.tar.gz 5122747 SHA256 
209832310f5bef99faef3beaaa95263612a4d0126ca512c4a4c23a8543d3ccf5 SHA512 
98a42e95978477530082d7549c29f17b133043d7c233ba3c90b183f06a3f24ee578f8fed75cba476d3c93a22abcccfdbccc94488beb8450a02f260d24165ba26
 WHIRLPOOL 
8ab473430752336e09b4a0c38fd1117abe21196478d7f2f7e813c27f07c950cc3525d9e9ba32309711c73a1032f3cff27ddc1582d0c4b6c66fe82d5b58675550

diff --git a/net-analyzer/prometheus/prometheus-1.7.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.7.1.ebuild
new file mode 100644
index 000..a480c795291
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.7.1.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus"
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="3afb3ff"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-06-05 Thread Manuel Rüger
commit: 890eb5da0a2c1b3d8df4a507e3e49c84d6e23679
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 16:55:16 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 16:55:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890eb5da

net-analyzer/prometheus-node_exporter: Fix fowners call

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
index 732cc11a933..48eb30aac76 100644
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
@@ -42,7 +42,7 @@ src_install() {
dodoc {README,CHANGELOG,CONTRIBUTING}.md
popd || die
keepdir /var/lib/node_exporter /var/log/node_exporter
-   fowners ${PN}:${PN} /var/node_exporter /var/log/node_exporter
+   fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
 }



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

2017-06-05 Thread Manuel Rüger
commit: 8ac4669e28b7173b0076e8f62678f67e02f97ebd
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 15:58:08 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 16:34:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ac4669e

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  1 -
 net-analyzer/prometheus/prometheus-1.6.2.ebuild | 59 -
 2 files changed, 60 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 6e5f34b325f..894bf6089c1 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1 @@
-DIST prometheus-1.6.2.tar.gz 5160925 SHA256 
026fd958ae3792938613675f455131e954552471d15df971251b46e64ca50b35 SHA512 
ae34f64d6ab2c01cb872b882e78e713b65a9ac2d42a8f6d8eaf448874d01db7b60cdc0a652a19812f9fb17d17e1454b09fc762bf624fef67d7bad56634245948
 WHIRLPOOL 
d9e8817034d7347a57196b30a0c8293b0d44158b1a60b0d7ad6361899911a7a39ff2f4dc9fbe55d0203907dacbab4b19ba42fe954b840bd78d683c89db00700f
 DIST prometheus-1.6.3.tar.gz 5160067 SHA256 
1c2d01f3a44b53be3b672cbdb1843fbe8fc135020bbfb6c71b0a10b141a474e6 SHA512 
e7cad489120a69356ffa70597d725de9586cd64f0eb64ef3fb009ec491687d5e2d858223594d3a4e6d564196c9ea5a0eac762c0f27c9f32d50bf97d2ef79c32b
 WHIRLPOOL 
9cb600621aad1c97f1ced7259fe442b38b24a88cf4b8df7d19a22f6d2f6840464f8db01caf1129800bd7c7ccb232d875aa7b92a194f2abea1f126854306f0817

diff --git a/net-analyzer/prometheus/prometheus-1.6.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.2.ebuild
deleted file mode 100644
index e4a88e179cd..000
--- a/net-analyzer/prometheus/prometheus-1.6.2.ebuild
+++ /dev/null
@@ -1,59 +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/prometheus/..."
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="b38e977"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-RESTRICT="test"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}



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

2017-06-05 Thread Manuel Rüger
commit: 02d4afbdf1a86a9d6a0051ba1738c130c7701be2
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 15:26:38 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 15:26:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02d4afbd

net-analyzer/prometheus-node_exporter: Use /var/lib/node_exporter instead

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 .../prometheus-node_exporter/files/prometheus-node_exporter.confd | 4 ++--
 .../prometheus-node_exporter/files/prometheus-node_exporter.initd | 2 +-
 .../prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild   | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
index da59867f7e6..b6565200130 100644
--- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
@@ -1,2 +1,2 @@
-# arguments for docker-registry
-command_args="--collector.textfile.directory=/var/node_exporter/"
+# arguments for prometheus node exporter
+command_args="--collector.textfile.directory=/var/lib/node_exporter/"

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
index 2009f854c6e..1f7338f964e 100644
--- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
@@ -8,7 +8,7 @@ user=${user:-${SVCNAME}}
 group=${group:-${SVCNAME}}
 
 command="/usr/bin/node_exporter"
-command_args="${command_args:--collector.textfile.directory=/var/node_exporter/}"
+command_args="${command_args:--collector.textfile.directory=/var/lib/node_exporter/}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
--stdout /var/log/node_exporter/${SVCNAME}.log \

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
index 7632511c4c1..732cc11a933 100644
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
@@ -41,7 +41,7 @@ src_install() {
dobin node_exporter
dodoc {README,CHANGELOG,CONTRIBUTING}.md
popd || die
-   keepdir /var/node_exporter /var/log/node_exporter
+   keepdir /var/lib/node_exporter /var/log/node_exporter
fowners ${PN}:${PN} /var/node_exporter /var/log/node_exporter
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}



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

2017-06-05 Thread Manuel Rüger
commit: 4bc00c61a80e4fb21fa62b702797c9976366b923
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 15:24:05 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 15:24:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc00c61

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

* Rename to node_exporter
* Rename user/group to prometheus-node_exporter
* Store textfiles in /var/node_exporter/textfiles

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../files/prometheus-node_exporter.confd   |  2 +-
 .../files/prometheus-node_exporter.initd   | 14 +++
 .../prometheus-node_exporter-0.14.0.ebuild | 48 ++
 4 files changed, 57 insertions(+), 8 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 20d2caed2d6..13c74cd4e9c 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,2 +1,3 @@
+DIST prometheus-node_exporter-0.14.0.tar.gz 1086402 SHA256 
312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1 SHA512 
28b1c3a17b0065f7005636f0751e535f9455675f7c17546a584fb709f43f2608e4854fe4e7f0e3790b89eff21016b41dccb0a96f16eae466de1040b57c4b1c98
 WHIRLPOOL 
176eb95a76fefb388817fa27f0b43fca9b1ed235d39e73e97254ef829025d7493f710ce0ef2cf11b00ffa509c08f7b12664cdff38939a5ea62eb79e7991c0bd3
 DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 
bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 
1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321
 WHIRLPOOL 
d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549
 DIST prometheus-node_exporter-0.14.0_rc2.tar.gz 1084859 SHA256 
e5d8a3245668e8a7453a86c929e04d2200a5730a497618715ef14f4642bdf364 SHA512 
17800439eddb85bb8ec1e3fd5c1054610e41c419f5ec159a2f989d3d76ad5077350911773d866353912fc23bb12c0565f6f0a74e24825ab1c628723867a4a6ac
 WHIRLPOOL 
e4ce1c854d79bc6500bc04527a4b1dc3f7489ed34e0f2705cb2b9ddb7049aacb4dd0c13929d286ff80ca076662d78f08a77b42f2a3edcbb9b84e75b79613a6e7

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
index 2ada24d5cab..da59867f7e6 100644
--- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
@@ -1,2 +1,2 @@
 # arguments for docker-registry
-command_args="--collector.textfile.directory=/etc/prometheus-exporter"
+command_args="--collector.textfile.directory=/var/node_exporter/"

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
index 36dd35f9358..2009f854c6e 100644
--- a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
@@ -1,18 +1,18 @@
 #!/sbin/openrc-run
-# Copyright 2016 Gentoo Foundation
+# Copyright 2016-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 description="Prometheus machine metrics exporter"
 pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
-user=${user:-prometheus-exporter}
-group=${group:-prometheus-exporter}
+user=${user:-${SVCNAME}}
+group=${group:-${SVCNAME}}
 
-command="/usr/bin/prometheus-node_exporter"
-command_args="${command_args:--collector.textfile.directory=/etc/prometheus-exporter}"
+command="/usr/bin/node_exporter"
+command_args="${command_args:--collector.textfile.directory=/var/node_exporter/}"
 command_background="true"
 start_stop_daemon_args="--user ${user} --group ${group} \
-   --stdout /var/log/prometheus-exporter/${SVCNAME}.log \
-   --stderr /var/log/prometheus-exporter/${SVCNAME}.log"
+   --stdout /var/log/node_exporter/${SVCNAME}.log \
+   --stderr /var/log/node_exporter/${SVCNAME}.log"
 
 depend() {
need net

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
new file mode 100644
index 000..7632511c4c1
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="840ba5d"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+

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

2017-06-05 Thread Manuel Rüger
commit: 4309ce57d1524d942ebda79f3f080c5ecc80b8f7
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 15:24:27 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 15:24:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4309ce57

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/prometheus-node_exporter/Manifest |  2 -
 .../prometheus-node_exporter-0.14.0_rc1.ebuild | 48 --
 .../prometheus-node_exporter-0.14.0_rc2.ebuild | 48 --
 3 files changed, 98 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 13c74cd4e9c..0b7cd7f7c2d 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,3 +1 @@
 DIST prometheus-node_exporter-0.14.0.tar.gz 1086402 SHA256 
312d7e1c07d6a7548f2f116b983da87f7b3a7630f9332eb41c306fd71b2e6ec1 SHA512 
28b1c3a17b0065f7005636f0751e535f9455675f7c17546a584fb709f43f2608e4854fe4e7f0e3790b89eff21016b41dccb0a96f16eae466de1040b57c4b1c98
 WHIRLPOOL 
176eb95a76fefb388817fa27f0b43fca9b1ed235d39e73e97254ef829025d7493f710ce0ef2cf11b00ffa509c08f7b12664cdff38939a5ea62eb79e7991c0bd3
-DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 
bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 
1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321
 WHIRLPOOL 
d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549
-DIST prometheus-node_exporter-0.14.0_rc2.tar.gz 1084859 SHA256 
e5d8a3245668e8a7453a86c929e04d2200a5730a497618715ef14f4642bdf364 SHA512 
17800439eddb85bb8ec1e3fd5c1054610e41c419f5ec159a2f989d3d76ad5077350911773d866353912fc23bb12c0565f6f0a74e24825ab1c628723867a4a6ac
 WHIRLPOOL 
e4ce1c854d79bc6500bc04527a4b1dc3f7489ed34e0f2705cb2b9ddb7049aacb4dd0c13929d286ff80ca076662d78f08a77b42f2a3edcbb9b84e75b79613a6e7

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
deleted file mode 100644
index 5e1ff77f080..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter/..."
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="5a07f41"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup prometheus-exporter
-   enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   mkdir bin
-   GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin prometheus-node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /etc/prometheus-exporter /var/log/prometheus-exporter
-   fowners prometheus-exporter:prometheus-exporter 
/etc/prometheus-exporter /var/log/prometheus-exporter
-   newinitd "${FILESDIR}"/prometheus-node_exporter.initd 
prometheus-node_exporter
-   newconfd "${FILESDIR}"/prometheus-node_exporter.confd 
prometheus-node_exporter
-}

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
deleted file mode 100644
index 8bfa86bbaa4..000
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter/..."
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="0e60bb8"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   

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

2017-06-05 Thread Manuel Rüger
commit: 5db0ef9c70953f74cd59053fe385a3bd5cb8b83b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jun  5 13:01:32 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jun  5 13:01:32 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5db0ef9c

net-analyzer/prometheus: Version bump to 1.6.3

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.6.3.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 8095ccebd63..6e5f34b325f 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-1.6.2.tar.gz 5160925 SHA256 
026fd958ae3792938613675f455131e954552471d15df971251b46e64ca50b35 SHA512 
ae34f64d6ab2c01cb872b882e78e713b65a9ac2d42a8f6d8eaf448874d01db7b60cdc0a652a19812f9fb17d17e1454b09fc762bf624fef67d7bad56634245948
 WHIRLPOOL 
d9e8817034d7347a57196b30a0c8293b0d44158b1a60b0d7ad6361899911a7a39ff2f4dc9fbe55d0203907dacbab4b19ba42fe954b840bd78d683c89db00700f
+DIST prometheus-1.6.3.tar.gz 5160067 SHA256 
1c2d01f3a44b53be3b672cbdb1843fbe8fc135020bbfb6c71b0a10b141a474e6 SHA512 
e7cad489120a69356ffa70597d725de9586cd64f0eb64ef3fb009ec491687d5e2d858223594d3a4e6d564196c9ea5a0eac762c0f27c9f32d50bf97d2ef79c32b
 WHIRLPOOL 
9cb600621aad1c97f1ced7259fe442b38b24a88cf4b8df7d19a22f6d2f6840464f8db01caf1129800bd7c7ccb232d875aa7b92a194f2abea1f126854306f0817

diff --git a/net-analyzer/prometheus/prometheus-1.6.3.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.3.ebuild
new file mode 100644
index 000..09bcc54c842
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.6.3.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus"
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="c580b60"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-05-11 Thread Manuel Rüger
commit: 1a49ac8eba4d66c43b0bb0234e8ea4cede3144f3
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu May 11 14:14:43 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu May 11 14:14:43 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a49ac8e

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  2 -
 net-analyzer/prometheus/prometheus-1.5.2.ebuild | 56 
 net-analyzer/prometheus/prometheus-1.6.1.ebuild | 57 -
 3 files changed, 115 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 5c481f4216f..8095ccebd63 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1 @@
-DIST prometheus-1.5.2.tar.gz 5183537 SHA256 
c4881cc305263cc8da434be69a20aa039386d4feab5e58f8b89a60bfe8b556ac SHA512 
5a08b26228b111c65431c0afce082962109f80435a5201ca0dd8883ba300da1f28865231c4182235df7ce4e2baa5b01d6a41cbb7ce29d9cb9f2e2853a2de81d4
 WHIRLPOOL 
a8c2cb3ebd6a210316433a4ff63d18ac13ed196e297384d49e39da2ef88f49a01341af8c17ee5fa3090a3870a5b854c51fded90783afc2b08ebba83466ead856
-DIST prometheus-1.6.1.tar.gz 5220870 SHA256 
ecc9ce94fce45994c23b76eb0c5acbb1b942513be601872c8cd74d0821450c5e SHA512 
c4d4604e23fcd6cecb408c5688a28f96a96145b9be7799ca64a1b31b6993a014450bb009f5eea342728aa099c70eeef8bcec65cc7ccf326cd5f71e9edcb22052
 WHIRLPOOL 
74ec10d2fa8c833dbde370a399f0b7bda07bd4b9b4fc19958246eb81cfd8e17fb90d1e283791d200cbe3c4b6dfcd5a8ed9d705a5b7c4112a152f385d7d5b5a44
 DIST prometheus-1.6.2.tar.gz 5160925 SHA256 
026fd958ae3792938613675f455131e954552471d15df971251b46e64ca50b35 SHA512 
ae34f64d6ab2c01cb872b882e78e713b65a9ac2d42a8f6d8eaf448874d01db7b60cdc0a652a19812f9fb17d17e1454b09fc762bf624fef67d7bad56634245948
 WHIRLPOOL 
d9e8817034d7347a57196b30a0c8293b0d44158b1a60b0d7ad6361899911a7a39ff2f4dc9fbe55d0203907dacbab4b19ba42fe954b840bd78d683c89db00700f

diff --git a/net-analyzer/prometheus/prometheus-1.5.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.2.ebuild
deleted file mode 100644
index bfc5abdd69c..000
--- a/net-analyzer/prometheus/prometheus-1.5.2.ebuild
+++ /dev/null
@@ -1,56 +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/prometheus/..."
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="bd1182d"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-1.6.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.1.ebuild
deleted file mode 100644
index 77a98ced6dc..000
--- a/net-analyzer/prometheus/prometheus-1.6.1.ebuild
+++ /dev/null
@@ -1,57 +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/prometheus/..."
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="4666df5"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.8
-   dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser 

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

2017-05-11 Thread Manuel Rüger
commit: 7a5a483b85e413b4be90faa7a3599bf021330182
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu May 11 14:14:27 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu May 11 14:14:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a5a483b

net-analyzer/prometheus: Version bump to 1.6.2

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.6.2.ebuild | 59 +
 2 files changed, 60 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 8583e2d5c00..5c481f4216f 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.5.2.tar.gz 5183537 SHA256 
c4881cc305263cc8da434be69a20aa039386d4feab5e58f8b89a60bfe8b556ac SHA512 
5a08b26228b111c65431c0afce082962109f80435a5201ca0dd8883ba300da1f28865231c4182235df7ce4e2baa5b01d6a41cbb7ce29d9cb9f2e2853a2de81d4
 WHIRLPOOL 
a8c2cb3ebd6a210316433a4ff63d18ac13ed196e297384d49e39da2ef88f49a01341af8c17ee5fa3090a3870a5b854c51fded90783afc2b08ebba83466ead856
 DIST prometheus-1.6.1.tar.gz 5220870 SHA256 
ecc9ce94fce45994c23b76eb0c5acbb1b942513be601872c8cd74d0821450c5e SHA512 
c4d4604e23fcd6cecb408c5688a28f96a96145b9be7799ca64a1b31b6993a014450bb009f5eea342728aa099c70eeef8bcec65cc7ccf326cd5f71e9edcb22052
 WHIRLPOOL 
74ec10d2fa8c833dbde370a399f0b7bda07bd4b9b4fc19958246eb81cfd8e17fb90d1e283791d200cbe3c4b6dfcd5a8ed9d705a5b7c4112a152f385d7d5b5a44
+DIST prometheus-1.6.2.tar.gz 5160925 SHA256 
026fd958ae3792938613675f455131e954552471d15df971251b46e64ca50b35 SHA512 
ae34f64d6ab2c01cb872b882e78e713b65a9ac2d42a8f6d8eaf448874d01db7b60cdc0a652a19812f9fb17d17e1454b09fc762bf624fef67d7bad56634245948
 WHIRLPOOL 
d9e8817034d7347a57196b30a0c8293b0d44158b1a60b0d7ad6361899911a7a39ff2f4dc9fbe55d0203907dacbab4b19ba42fe954b840bd78d683c89db00700f

diff --git a/net-analyzer/prometheus/prometheus-1.6.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.2.ebuild
new file mode 100644
index 000..e4a88e179cd
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.6.2.ebuild
@@ -0,0 +1,59 @@
+# 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/prometheus/..."
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="b38e977"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+RESTRICT="test"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-04-25 Thread Manuel Rüger
commit: 89dce091483e563d9091cbb9c52603ae65691931
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Apr 25 16:38:21 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Apr 25 16:38:21 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89dce091

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  2 -
 net-analyzer/prometheus/prometheus-1.5.0.ebuild | 56 -
 net-analyzer/prometheus/prometheus-1.5.1.ebuild | 56 -
 3 files changed, 114 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index d849d2c74b6..8583e2d5c00 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,4 +1,2 @@
-DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06
-DIST prometheus-1.5.1.tar.gz 5181576 SHA256 
5b8e61edc6b192a5b036fb1e76edcfc8948dbb1bfb05669fab49fdbb37349991 SHA512 
3db32bcf0a0d0b0ee010b990167571547ffa90f69a94fe41fa91ac9762e66ce167866a53c54d7aeb46e2f9bd03466a287d9476458c18267d3c45d1a3a358ec5e
 WHIRLPOOL 
cd98b4cf587634fc011a78b722012e770d5e5104f54725441f23ea1ed1eb861534780943f6bb9a5277f629f7663a926e1c2ae103014925fe9b34d43581cfc0d7
 DIST prometheus-1.5.2.tar.gz 5183537 SHA256 
c4881cc305263cc8da434be69a20aa039386d4feab5e58f8b89a60bfe8b556ac SHA512 
5a08b26228b111c65431c0afce082962109f80435a5201ca0dd8883ba300da1f28865231c4182235df7ce4e2baa5b01d6a41cbb7ce29d9cb9f2e2853a2de81d4
 WHIRLPOOL 
a8c2cb3ebd6a210316433a4ff63d18ac13ed196e297384d49e39da2ef88f49a01341af8c17ee5fa3090a3870a5b854c51fded90783afc2b08ebba83466ead856
 DIST prometheus-1.6.1.tar.gz 5220870 SHA256 
ecc9ce94fce45994c23b76eb0c5acbb1b942513be601872c8cd74d0821450c5e SHA512 
c4d4604e23fcd6cecb408c5688a28f96a96145b9be7799ca64a1b31b6993a014450bb009f5eea342728aa099c70eeef8bcec65cc7ccf326cd5f71e9edcb22052
 WHIRLPOOL 
74ec10d2fa8c833dbde370a399f0b7bda07bd4b9b4fc19958246eb81cfd8e17fb90d1e283791d200cbe3c4b6dfcd5a8ed9d705a5b7c4112a152f385d7d5b5a44

diff --git a/net-analyzer/prometheus/prometheus-1.5.0.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.0.ebuild
deleted file mode 100644
index a4622a9ae7b..000
--- a/net-analyzer/prometheus/prometheus-1.5.0.ebuild
+++ /dev/null
@@ -1,56 +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/prometheus/..."
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="d840f2c"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-1.5.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.1.ebuild
deleted file mode 100644
index 0311191a6fc..000
--- a/net-analyzer/prometheus/prometheus-1.5.1.ebuild
+++ /dev/null
@@ -1,56 +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/prometheus/..."
-EGIT_COMMIT="v${PV}"
-PROMETHEUS_COMMIT="c4686f7"

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

2017-04-21 Thread Manuel Rüger
commit: c5152842404c7814d9cb2070341882c6d09355b8
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 21 15:02:47 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 21 15:02:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5152842

net-analyzer/prometheus: Version bump to 1.6.1

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.6.1.ebuild | 57 +
 2 files changed, 58 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 6f07183c2ee..d849d2c74b6 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1,4 @@
 DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06
 DIST prometheus-1.5.1.tar.gz 5181576 SHA256 
5b8e61edc6b192a5b036fb1e76edcfc8948dbb1bfb05669fab49fdbb37349991 SHA512 
3db32bcf0a0d0b0ee010b990167571547ffa90f69a94fe41fa91ac9762e66ce167866a53c54d7aeb46e2f9bd03466a287d9476458c18267d3c45d1a3a358ec5e
 WHIRLPOOL 
cd98b4cf587634fc011a78b722012e770d5e5104f54725441f23ea1ed1eb861534780943f6bb9a5277f629f7663a926e1c2ae103014925fe9b34d43581cfc0d7
 DIST prometheus-1.5.2.tar.gz 5183537 SHA256 
c4881cc305263cc8da434be69a20aa039386d4feab5e58f8b89a60bfe8b556ac SHA512 
5a08b26228b111c65431c0afce082962109f80435a5201ca0dd8883ba300da1f28865231c4182235df7ce4e2baa5b01d6a41cbb7ce29d9cb9f2e2853a2de81d4
 WHIRLPOOL 
a8c2cb3ebd6a210316433a4ff63d18ac13ed196e297384d49e39da2ef88f49a01341af8c17ee5fa3090a3870a5b854c51fded90783afc2b08ebba83466ead856
+DIST prometheus-1.6.1.tar.gz 5220870 SHA256 
ecc9ce94fce45994c23b76eb0c5acbb1b942513be601872c8cd74d0821450c5e SHA512 
c4d4604e23fcd6cecb408c5688a28f96a96145b9be7799ca64a1b31b6993a014450bb009f5eea342728aa099c70eeef8bcec65cc7ccf326cd5f71e9edcb22052
 WHIRLPOOL 
74ec10d2fa8c833dbde370a399f0b7bda07bd4b9b4fc19958246eb81cfd8e17fb90d1e283791d200cbe3c4b6dfcd5a8ed9d705a5b7c4112a152f385d7d5b5a44

diff --git a/net-analyzer/prometheus/prometheus-1.6.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.6.1.ebuild
new file mode 100644
index 000..77a98ced6dc
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.6.1.ebuild
@@ -0,0 +1,57 @@
+# 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/prometheus/..."
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="4666df5"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.8
+   dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-03-13 Thread Manuel Rüger
commit: 3d37f7e56cf996aec16e59dd3e62133840d2a56a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Mar 13 11:38:19 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Mar 13 11:39:05 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d37f7e5

net-analyzer/prometheus-node_exporter: Version bump to 0.14.0_rc2

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../prometheus-node_exporter-0.14.0_rc2.ebuild | 48 ++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index daa9b0ee896..20d2caed2d6 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 
bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 
1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321
 WHIRLPOOL 
d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549
+DIST prometheus-node_exporter-0.14.0_rc2.tar.gz 1084859 SHA256 
e5d8a3245668e8a7453a86c929e04d2200a5730a497618715ef14f4642bdf364 SHA512 
17800439eddb85bb8ec1e3fd5c1054610e41c419f5ec159a2f989d3d76ad5077350911773d866353912fc23bb12c0565f6f0a74e24825ab1c628723867a4a6ac
 WHIRLPOOL 
e4ce1c854d79bc6500bc04527a4b1dc3f7489ed34e0f2705cb2b9ddb7049aacb4dd0c13929d286ff80ca076662d78f08a77b42f2a3edcbb9b84e75b79613a6e7

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
new file mode 100644
index 000..8bfa86bbaa4
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc2.ebuild
@@ -0,0 +1,48 @@
+# 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/node_exporter/..."
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="0e60bb8"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup prometheus-exporter
+   enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   mkdir bin
+   GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin prometheus-node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /etc/prometheus-exporter /var/log/prometheus-exporter
+   fowners prometheus-exporter:prometheus-exporter 
/etc/prometheus-exporter /var/log/prometheus-exporter
+   newinitd "${FILESDIR}"/prometheus-node_exporter.initd 
prometheus-node_exporter
+   newconfd "${FILESDIR}"/prometheus-node_exporter.confd 
prometheus-node_exporter
+}



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

2017-02-20 Thread Manuel Rüger
commit: 8aacb119165aa70974de8bb0547173d6960d85ba
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Feb 20 15:38:39 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Feb 20 15:38:39 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aacb119

net-analyzer/prometheus: Version bump to 1.5.2

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.5.2.ebuild | 57 +
 2 files changed, 58 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 427790fb72..6f07183c2e 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06
 DIST prometheus-1.5.1.tar.gz 5181576 SHA256 
5b8e61edc6b192a5b036fb1e76edcfc8948dbb1bfb05669fab49fdbb37349991 SHA512 
3db32bcf0a0d0b0ee010b990167571547ffa90f69a94fe41fa91ac9762e66ce167866a53c54d7aeb46e2f9bd03466a287d9476458c18267d3c45d1a3a358ec5e
 WHIRLPOOL 
cd98b4cf587634fc011a78b722012e770d5e5104f54725441f23ea1ed1eb861534780943f6bb9a5277f629f7663a926e1c2ae103014925fe9b34d43581cfc0d7
+DIST prometheus-1.5.2.tar.gz 5183537 SHA256 
c4881cc305263cc8da434be69a20aa039386d4feab5e58f8b89a60bfe8b556ac SHA512 
5a08b26228b111c65431c0afce082962109f80435a5201ca0dd8883ba300da1f28865231c4182235df7ce4e2baa5b01d6a41cbb7ce29d9cb9f2e2853a2de81d4
 WHIRLPOOL 
a8c2cb3ebd6a210316433a4ff63d18ac13ed196e297384d49e39da2ef88f49a01341af8c17ee5fa3090a3870a5b854c51fded90783afc2b08ebba83466ead856

diff --git a/net-analyzer/prometheus/prometheus-1.5.2.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.2.ebuild
new file mode 100644
index 00..c9e69f93a6
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.5.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus/..."
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="bd1182d"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-02-07 Thread Manuel Rüger
commit: a59dd480a2dad1bbccef58320df4804c8ecb19df
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Feb  7 16:03:25 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Tue Feb  7 16:03:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a59dd480

net-analyzer/prometheus: Version bump to 1.5.1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.5.1.ebuild | 57 +
 2 files changed, 58 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index e4df2dc..427790f 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06
+DIST prometheus-1.5.1.tar.gz 5181576 SHA256 
5b8e61edc6b192a5b036fb1e76edcfc8948dbb1bfb05669fab49fdbb37349991 SHA512 
3db32bcf0a0d0b0ee010b990167571547ffa90f69a94fe41fa91ac9762e66ce167866a53c54d7aeb46e2f9bd03466a287d9476458c18267d3c45d1a3a358ec5e
 WHIRLPOOL 
cd98b4cf587634fc011a78b722012e770d5e5104f54725441f23ea1ed1eb861534780943f6bb9a5277f629f7663a926e1c2ae103014925fe9b34d43581cfc0d7

diff --git a/net-analyzer/prometheus/prometheus-1.5.1.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.1.ebuild
new file mode 100644
index ..efc63a5
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.5.1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus/..."
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="c4686f7"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-01-23 Thread Manuel Rüger
commit: 50a99cd2833c74ee1bfe10505bb2a499d3e6fa0c
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 23 18:25:20 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 23 18:25:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50a99cd2

net-analyzer/prometheus-node_exporter: Remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus-node_exporter/Manifest |  1 -
 ...rometheus-node_exporter-0.13.0_p20161212.ebuild | 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index 3a08545..daa9b0e 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1,2 +1 @@
-DIST prometheus-node_exporter-0.13.0_p20161212.tar.gz 755620 SHA256 
221b2444dd895539c9028d04d6557583ae63a9f01377fe3cd6d2846b7411ec6d SHA512 
d01cb01c86162e645af9ac4df860e4ab9a63999f7fa10236e6419ac14661a985dbff73d8948ecaceab0565fdb3d4dd7c5081855752e9cdafaa1d1994b96827e4
 WHIRLPOOL 
38f8343f3549dce96c383bc10eb2c802ec7196f492539a9356a473f85100d3823c74bc17e7c55608d9aa5a8931f0f61ef9b5fa395ae692d2c5861cd9b4bc58da
 DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 
bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 
1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321
 WHIRLPOOL 
d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
deleted file mode 100644
index d18e839..
--- 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/node_exporter/..."
-EGIT_COMMIT="f09b9def25095c28164a4ec36749c752ea8cb03f"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus exporter for machine metrics"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-pkg_setup() {
-   enewgroup prometheus-exporter
-   enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   mkdir bin
-   GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin prometheus-node_exporter
-   dodoc {README,CHANGELOG,CONTRIBUTING}.md
-   popd || die
-   keepdir /etc/prometheus-exporter /var/log/prometheus-exporter
-   fowners prometheus-exporter:prometheus-exporter 
/etc/prometheus-exporter /var/log/prometheus-exporter
-   newinitd "${FILESDIR}"/prometheus-node_exporter.initd 
prometheus-node_exporter
-   newconfd "${FILESDIR}"/prometheus-node_exporter.confd 
prometheus-node_exporter
-}



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

2017-01-23 Thread Manuel Rüger
commit: a90e7bdaade82e4eda7d9728ea069a71f12b3d0a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 23 18:25:01 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 23 18:25:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90e7bda

net-analyzer/prometheus-node_exporter: Version bump to 0.14.0_rc1

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../prometheus-node_exporter-0.14.0_rc1.ebuild | 49 ++
 2 files changed, 50 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
index a46787d..3a08545 100644
--- a/net-analyzer/prometheus-node_exporter/Manifest
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -1 +1,2 @@
 DIST prometheus-node_exporter-0.13.0_p20161212.tar.gz 755620 SHA256 
221b2444dd895539c9028d04d6557583ae63a9f01377fe3cd6d2846b7411ec6d SHA512 
d01cb01c86162e645af9ac4df860e4ab9a63999f7fa10236e6419ac14661a985dbff73d8948ecaceab0565fdb3d4dd7c5081855752e9cdafaa1d1994b96827e4
 WHIRLPOOL 
38f8343f3549dce96c383bc10eb2c802ec7196f492539a9356a473f85100d3823c74bc17e7c55608d9aa5a8931f0f61ef9b5fa395ae692d2c5861cd9b4bc58da
+DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 
bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 
1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321
 WHIRLPOOL 
d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
new file mode 100644
index ..719517c
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0_rc1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/node_exporter/..."
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT="5a07f41"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup prometheus-exporter
+   enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   mkdir bin
+   GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin prometheus-node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir /etc/prometheus-exporter /var/log/prometheus-exporter
+   fowners prometheus-exporter:prometheus-exporter 
/etc/prometheus-exporter /var/log/prometheus-exporter
+   newinitd "${FILESDIR}"/prometheus-node_exporter.initd 
prometheus-node_exporter
+   newconfd "${FILESDIR}"/prometheus-node_exporter.confd 
prometheus-node_exporter
+}



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

2017-01-23 Thread Manuel Rüger
commit: 8a3fd3c8e7ff5918e8eb4760064396a5934b885a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 23 18:24:06 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 23 18:24:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a3fd3c8

net-analyzer/prometheus: Version bump to 1.5.0

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest|  1 +
 net-analyzer/prometheus/prometheus-1.5.0.ebuild | 57 +
 2 files changed, 58 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 0b96e86..f32f48d 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,2 +1,3 @@
 DIST prometheus-1.4.1_p20161213.tar.gz 5151828 SHA256 
23dde2d12004f596fa6a7292ef12f111d00cd3164eb12296c5d43a242c692fc5 SHA512 
a24405a31e0e312331e05ee91b797039141ca6d5e2a9adfb508592432f18a2ff8a2357e40de5d66c5d0e52ba81d71e325c8f90ba0c0674b32f2254212d3b3e9f
 WHIRLPOOL 
0c1fa151c7d373ff63d6e374e1f67e9b71dc4f15053d5993a9a1231d31e751592029fd4d74077cbe4a7955dd19e71411fa25b09a4490e7925668303e40e6f291
 DIST prometheus-1.4.1_p20170104.tar.gz 5178945 SHA256 
ca9f9c1bd096932a950e05a38f2f66751c9eed9a2131fb50c62df7e44f4eb894 SHA512 
175d484d16177c2acb6d9f388f86f1562ae04878f47faff2b970e1cef7279f4323fd9f26aaebcae24eab24e6982a6775dae414efd1c6216d7ee1d2e283631321
 WHIRLPOOL 
14b6e29b02b2518eb9ac88f20dc2e77eabe1ba1c91f6bb949edd1af74d273bdc6a9ebc14ea2b7f85a32a6ba60fdcae73efce557906e36c3b257d66d0d7450a7b
+DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06

diff --git a/net-analyzer/prometheus/prometheus-1.5.0.ebuild 
b/net-analyzer/prometheus/prometheus-1.5.0.ebuild
new file mode 100644
index ..4567971
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.5.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus/..."
+EGIT_COMMIT="v${PV}"
+PROMETHEUS_COMMIT="d840f2c"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${PROMETHEUS_COMMIT}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2017-01-23 Thread Manuel Rüger
commit: 11f5558673cab4ba84d8bdcf927751c49a83d01e
Author: Manuel Rüger  gentoo  org>
AuthorDate: Mon Jan 23 18:24:36 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Mon Jan 23 18:24:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11f55586

net-analyzer/prometheus: Remove old

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest   |  2 -
 .../prometheus/prometheus-1.4.1_p20161213.ebuild   | 56 --
 .../prometheus/prometheus-1.4.1_p20170104.ebuild   | 56 --
 3 files changed, 114 deletions(-)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index f32f48d..e4df2dc 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1,3 +1 @@
-DIST prometheus-1.4.1_p20161213.tar.gz 5151828 SHA256 
23dde2d12004f596fa6a7292ef12f111d00cd3164eb12296c5d43a242c692fc5 SHA512 
a24405a31e0e312331e05ee91b797039141ca6d5e2a9adfb508592432f18a2ff8a2357e40de5d66c5d0e52ba81d71e325c8f90ba0c0674b32f2254212d3b3e9f
 WHIRLPOOL 
0c1fa151c7d373ff63d6e374e1f67e9b71dc4f15053d5993a9a1231d31e751592029fd4d74077cbe4a7955dd19e71411fa25b09a4490e7925668303e40e6f291
-DIST prometheus-1.4.1_p20170104.tar.gz 5178945 SHA256 
ca9f9c1bd096932a950e05a38f2f66751c9eed9a2131fb50c62df7e44f4eb894 SHA512 
175d484d16177c2acb6d9f388f86f1562ae04878f47faff2b970e1cef7279f4323fd9f26aaebcae24eab24e6982a6775dae414efd1c6216d7ee1d2e283631321
 WHIRLPOOL 
14b6e29b02b2518eb9ac88f20dc2e77eabe1ba1c91f6bb949edd1af74d273bdc6a9ebc14ea2b7f85a32a6ba60fdcae73efce557906e36c3b257d66d0d7450a7b
 DIST prometheus-1.5.0.tar.gz 5182830 SHA256 
f8eae5f4c51fdd73ceec08fc4895e695b6b02b581aa95e742e0f48f5aefc5537 SHA512 
e90ae333c15335d449332487f6bf3d6a64d356208604850ece7ea8568e7e78f500dfc92219e11d57a01231671586de8c76173254b97fcb92fc14787c8c2a2ed7
 WHIRLPOOL 
42f2f93bdb04c2fa788c17bc4cd2be9b1c3a1de274c01cbba05b2623d902ef236a78092a1e45eb510fe9fdb20f68ab9b82fe1a958b7cc85e240efa0f1e387b06

diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild 
b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
deleted file mode 100644
index 47fb7e2..
--- a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/prometheus/..."
-EGIT_COMMIT="253be23c00eba5592e1673845a38f4fd08efff83"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-
-pkg_setup() {
-   enewgroup prometheus
-   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
-}
-
-src_prepare() {
-   default
-   sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" 
src/${EGO_PN%/*}/.promu.yml || die
-}
-
-src_compile() {
-   pushd src/${EGO_PN%/*} || die
-   GOPATH="${S}" promu build -v || die
-   popd || die
-}
-
-src_install() {
-   pushd src/${EGO_PN%/*} || die
-   dobin promtool prometheus
-   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
-   insinto /etc/prometheus
-   doins documentation/examples/prometheus.yml
-   insinto /usr/share/prometheus
-   doins -r console_libraries consoles
-   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
-   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
-   popd || die
-
-   newinitd "${FILESDIR}"/prometheus.initd prometheus
-   newconfd "${FILESDIR}"/prometheus.confd prometheus
-   keepdir /var/log/prometheus /var/lib/prometheus
-   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
-}

diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild 
b/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild
deleted file mode 100644
index 6c1fd7c..
--- a/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/prometheus/..."
-EGIT_COMMIT="c9f4aea8e2aaa61d0f6084377d5f3e0397d7ad14"
-ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Prometheus monitoring system and time series database"
-HOMEPAGE="https://github.com/prometheus/prometheus;
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE=""
-
-DEPEND="dev-util/promu"
-
-PROMETHEUS_HOME="/var/lib/prometheus"
-

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

2017-01-05 Thread Manuel Rüger
commit: 8e1263c4a8671dbd301562187ebf3db7d9e07f76
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Jan  5 13:32:32 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Jan  5 13:33:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e1263c4

net-analyzer/prometheus: Update snapshot

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest   |  1 +
 .../prometheus/prometheus-1.4.1_p20170104.ebuild   | 56 ++
 2 files changed, 57 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
index 136c37f..0b96e86 100644
--- a/net-analyzer/prometheus/Manifest
+++ b/net-analyzer/prometheus/Manifest
@@ -1 +1,2 @@
 DIST prometheus-1.4.1_p20161213.tar.gz 5151828 SHA256 
23dde2d12004f596fa6a7292ef12f111d00cd3164eb12296c5d43a242c692fc5 SHA512 
a24405a31e0e312331e05ee91b797039141ca6d5e2a9adfb508592432f18a2ff8a2357e40de5d66c5d0e52ba81d71e325c8f90ba0c0674b32f2254212d3b3e9f
 WHIRLPOOL 
0c1fa151c7d373ff63d6e374e1f67e9b71dc4f15053d5993a9a1231d31e751592029fd4d74077cbe4a7955dd19e71411fa25b09a4490e7925668303e40e6f291
+DIST prometheus-1.4.1_p20170104.tar.gz 5178945 SHA256 
ca9f9c1bd096932a950e05a38f2f66751c9eed9a2131fb50c62df7e44f4eb894 SHA512 
175d484d16177c2acb6d9f388f86f1562ae04878f47faff2b970e1cef7279f4323fd9f26aaebcae24eab24e6982a6775dae414efd1c6216d7ee1d2e283631321
 WHIRLPOOL 
14b6e29b02b2518eb9ac88f20dc2e77eabe1ba1c91f6bb949edd1af74d273bdc6a9ebc14ea2b7f85a32a6ba60fdcae73efce557906e36c3b257d66d0d7450a7b

diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild 
b/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild
new file mode 100644
index ..6c1fd7c
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.4.1_p20170104.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus/..."
+EGIT_COMMIT="c9f4aea8e2aaa61d0f6084377d5f3e0397d7ad14"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd "${FILESDIR}"/prometheus.initd prometheus
+   newconfd "${FILESDIR}"/prometheus.confd prometheus
+   keepdir /var/log/prometheus /var/lib/prometheus
+   fowners prometheus:prometheus /var/log/prometheus /var/lib/prometheus
+}



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

2016-12-15 Thread Manuel Rüger
commit: fdfbc484bade7fc9f2f8140c9f8e1e7bb2ec0e1f
Author: Manuel Rüger  gentoo  org>
AuthorDate: Thu Dec 15 12:47:22 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Thu Dec 15 12:47:59 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdfbc484

net-analyzer/prometheus-node_exporter: Initial version

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus-node_exporter/Manifest |  1 +
 .../files/prometheus-node_exporter.confd   |  2 +
 .../files/prometheus-node_exporter.initd   | 25 +++
 net-analyzer/prometheus-node_exporter/metadata.xml | 13 ++
 ...rometheus-node_exporter-0.13.0_p20161212.ebuild | 48 ++
 5 files changed, 89 insertions(+)

diff --git a/net-analyzer/prometheus-node_exporter/Manifest 
b/net-analyzer/prometheus-node_exporter/Manifest
new file mode 100644
index ..a46787d
--- /dev/null
+++ b/net-analyzer/prometheus-node_exporter/Manifest
@@ -0,0 +1 @@
+DIST prometheus-node_exporter-0.13.0_p20161212.tar.gz 755620 SHA256 
221b2444dd895539c9028d04d6557583ae63a9f01377fe3cd6d2846b7411ec6d SHA512 
d01cb01c86162e645af9ac4df860e4ab9a63999f7fa10236e6419ac14661a985dbff73d8948ecaceab0565fdb3d4dd7c5081855752e9cdafaa1d1994b96827e4
 WHIRLPOOL 
38f8343f3549dce96c383bc10eb2c802ec7196f492539a9356a473f85100d3823c74bc17e7c55608d9aa5a8931f0f61ef9b5fa395ae692d2c5861cd9b4bc58da

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
new file mode 100644
index ..2ada24d
--- /dev/null
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.confd
@@ -0,0 +1,2 @@
+# arguments for docker-registry
+command_args="--collector.textfile.directory=/etc/prometheus-exporter"

diff --git 
a/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd 
b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
new file mode 100644
index ..7f2256c
--- /dev/null
+++ b/net-analyzer/prometheus-node_exporter/files/prometheus-node_exporter.initd
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+# Copyright 2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="Prometheus machine metrics exporter"
+pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+user=${user:-prometheus-exporter}
+group=${group:-prometheus-exporter}
+
+command="/usr/bin/prometheus-node_exporter"
+command_args="${command_args:--collector.textfile.directory=/etc/prometheus-exporter}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/prometheus-exporter/${SVCNAME}.log \
+   --stderr /var/log/prometheus-exporter/${SVCNAME}.log"
+
+depend() {
+   need net
+   after net
+}
+
+start_pre() {
+   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
+}

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

diff --git 
a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
new file mode 100644
index ..d18e839
--- /dev/null
+++ 
b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/node_exporter/..."
+EGIT_COMMIT="f09b9def25095c28164a4ec36749c752ea8cb03f"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for machine metrics"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+pkg_setup() {
+   enewgroup prometheus-exporter
+   enewuser prometheus-exporter -1 -1 -1 prometheus-exporter
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   mkdir bin
+   GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin prometheus-node_exporter
+   dodoc {README,CHANGELOG,CONTRIBUTING}.md
+   popd || die
+   keepdir 

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

2016-12-14 Thread Manuel Rüger
commit: 776f2b62928be8bc06c826d4594b329c9b20f128
Author: Manuel Rüger  gentoo  org>
AuthorDate: Wed Dec 14 14:43:25 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Dec 14 14:58:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=776f2b62

net-analyzer/prometheus: Fix build

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild 
b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
index 47edcf4..47fb7e2 100644
--- a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
+++ b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
@@ -33,7 +33,7 @@ src_prepare() {
 
 src_compile() {
pushd src/${EGO_PN%/*} || die
-   GOPATH="${S}" promu build -v --prefix ${PWD} || die
+   GOPATH="${S}" promu build -v || die
popd || die
 }
 



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

2016-12-14 Thread Manuel Rüger
commit: 2f538c275cc9670a15d2c03070cfe9b5e491115b
Author: Manuel Rüger  gentoo  org>
AuthorDate: Tue Dec 13 19:33:08 2016 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Wed Dec 14 12:51:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f538c27

net-analyzer/prometheus: Initial version

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-analyzer/prometheus/Manifest   |  1 +
 net-analyzer/prometheus/files/prometheus.confd |  2 +
 net-analyzer/prometheus/files/prometheus.initd | 25 ++
 net-analyzer/prometheus/metadata.xml   | 13 +
 .../prometheus/prometheus-1.4.1_p20161213.ebuild   | 56 ++
 5 files changed, 97 insertions(+)

diff --git a/net-analyzer/prometheus/Manifest b/net-analyzer/prometheus/Manifest
new file mode 100644
index ..136c37f
--- /dev/null
+++ b/net-analyzer/prometheus/Manifest
@@ -0,0 +1 @@
+DIST prometheus-1.4.1_p20161213.tar.gz 5151828 SHA256 
23dde2d12004f596fa6a7292ef12f111d00cd3164eb12296c5d43a242c692fc5 SHA512 
a24405a31e0e312331e05ee91b797039141ca6d5e2a9adfb508592432f18a2ff8a2357e40de5d66c5d0e52ba81d71e325c8f90ba0c0674b32f2254212d3b3e9f
 WHIRLPOOL 
0c1fa151c7d373ff63d6e374e1f67e9b71dc4f15053d5993a9a1231d31e751592029fd4d74077cbe4a7955dd19e71411fa25b09a4490e7925668303e40e6f291

diff --git a/net-analyzer/prometheus/files/prometheus.confd 
b/net-analyzer/prometheus/files/prometheus.confd
new file mode 100644
index ..95de2ec
--- /dev/null
+++ b/net-analyzer/prometheus/files/prometheus.confd
@@ -0,0 +1,2 @@
+# arguments for docker-registry
+command_args="-config.file=/etc/prometheus/prometheus.yml 
-storage.local.path=/var/lib/prometheus/data"

diff --git a/net-analyzer/prometheus/files/prometheus.initd 
b/net-analyzer/prometheus/files/prometheus.initd
new file mode 100644
index ..b024f3b
--- /dev/null
+++ b/net-analyzer/prometheus/files/prometheus.initd
@@ -0,0 +1,25 @@
+#!/sbin/openrc-run
+# Copyright 2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="Prometheus monitoring system and time series database"
+pidfile=${pidfile:-"/run/${SVCNAME}/${SVCNAME}.pid"}
+user=${user:-${SVCNAME}}
+group=${group:-${SVCNAME}}
+
+command="/usr/bin/prometheus"
+command_args="${command_args:-config.file=/etc/prometheus/prometheus.yml 
-storage.local.path=/var/lib/prometheus/data}"
+command_background="true"
+start_stop_daemon_args="--user ${user} --group ${group} \
+   --stdout /var/log/${SVCNAME}/${SVCNAME}.log \
+   --stderr /var/log/${SVCNAME}/${SVCNAME}.log"
+
+depend() {
+   need net
+   after net
+}
+
+start_pre() {
+   checkpath -d -m 0755 -o "${user}":"${group}" "${pidfile%/*}"
+}

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

diff --git a/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild 
b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
new file mode 100644
index ..47edcf4
--- /dev/null
+++ b/net-analyzer/prometheus/prometheus-1.4.1_p20161213.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/prometheus/..."
+EGIT_COMMIT="253be23c00eba5592e1673845a38f4fd08efff83"
+ARCHIVE_URI="https://${EGO_PN%/*}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus monitoring system and time series database"
+HOMEPAGE="https://github.com/prometheus/prometheus;
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-util/promu"
+
+PROMETHEUS_HOME="/var/lib/prometheus"
+
+pkg_setup() {
+   enewgroup prometheus
+   enewuser prometheus -1 -1 "${PROMETHEUS_HOME}" prometheus
+}
+
+src_prepare() {
+   default
+   sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" 
src/${EGO_PN%/*}/.promu.yml || die
+}
+
+src_compile() {
+   pushd src/${EGO_PN%/*} || die
+   GOPATH="${S}" promu build -v --prefix ${PWD} || die
+   popd || die
+}
+
+src_install() {
+   pushd src/${EGO_PN%/*} || die
+   dobin promtool prometheus
+   dodoc -r {documentation,{README,CHANGELOG,CONTRIBUTING}.md}
+   insinto /etc/prometheus
+   doins documentation/examples/prometheus.yml
+   insinto /usr/share/prometheus
+   doins -r console_libraries consoles
+   dosym ../../usr/share/prometheus/console_libraries 
/etc/prometheus/console_libraries
+   dosym ../../usr/share/prometheus/consoles /etc/prometheus/consoles
+   popd || die
+
+   newinitd