* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2017-10-12 18:29 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2017-10-12 18:29 UTC (permalink / raw
To: gentoo-commits
commit: d41c6725e0c2c2501dbe7b536bde31e6f20d6758
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 18:24:18 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 18:29:37 2017 +0000
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
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2017-10-12 18:29 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2017-10-12 18:29 UTC (permalink / raw
To: gentoo-commits
commit: e83e3907606a280bd1c6b90894f8aa6779457c11
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 18:27:03 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 18:29:40 2017 +0000
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"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2017-10-12 18:31 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2017-10-12 18:31 UTC (permalink / raw
To: gentoo-commits
commit: b02f11b8db73f417e3cbbbf1f8bdfdcb3f8097cc
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 12 18:31:02 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Oct 12 18:31:02 2017 +0000
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 @@
<name>Manuel Rüger</name>
</maintainer>
<upstream>
- <remote-id type="github">prometheus/prometheus-snmp_exporter</remote-id>
+ <remote-id type="github">prometheus/snmp_exporter</remote-id>
</upstream>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2017-11-20 18:06 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2017-11-20 18:06 UTC (permalink / raw
To: gentoo-commits
commit: 37ec9491e43e90ead480f92127982b3844d36ffd
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 20 18:05:40 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Nov 20 18:05:58 2017 +0000
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 00000000000..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}
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2017-11-29 10:56 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2017-11-29 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 10d00046d03bc2f66bd2058284249a392db17ac6
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 10:54:53 2017 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 10:54:53 2017 +0000
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..00000000000
--- 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}
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2018-02-27 12:30 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2018-02-27 12:30 UTC (permalink / raw
To: gentoo-commits
commit: 686c680c3c5d9244c639628f646a3c501de013c5
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 27 12:29:56 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Feb 27 12:29:56 2018 +0000
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 00000000000..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}
+}
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/
@ 2018-03-06 21:34 Manuel Rüger
0 siblings, 0 replies; 7+ messages in thread
From: Manuel Rüger @ 2018-03-06 21:34 UTC (permalink / raw
To: gentoo-commits
commit: c93064ae86b4305b4f3bd2b37f4e88962fb0aac7
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 6 21:33:46 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 21:33:46 2018 +0000
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..00000000000
--- 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}
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-03-06 21:34 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-06 21:34 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/prometheus-snmp_exporter/ Manuel Rüger
-- strict thread matches above, loose matches on Subject: below --
2018-02-27 12:30 Manuel Rüger
2017-11-29 10:56 Manuel Rüger
2017-11-20 18:06 Manuel Rüger
2017-10-12 18:31 Manuel Rüger
2017-10-12 18:29 Manuel Rüger
2017-10-12 18:29 Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox