public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-12-03  9:48 Michał Górny
  0 siblings, 0 replies; 27+ messages in thread
From: Michał Górny @ 2019-12-03  9:48 UTC (permalink / raw
  To: gentoo-commits

commit:     d3b99ec034b0d929f95a525cc51e43daffc31fb4
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Mon Dec  2 22:39:17 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec  3 09:47:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3b99ec0

app-metrics/snmp_exporter: add licenses for transitive go dependencies

Bug: https://bugs.gentoo.org/695212
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
index 1c01a04e3bb..aaf7c2142f3 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
@@ -13,7 +13,7 @@ KEYWORDS="~amd64"
 DESCRIPTION="Prometheus exporter for snmp metrics"
 HOMEPAGE="https://github.com/prometheus/snmp_exporter"
 SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0"
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
 IUSE=""
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2024-01-07  5:24 John Helmert III
  0 siblings, 0 replies; 27+ messages in thread
From: John Helmert III @ 2024-01-07  5:24 UTC (permalink / raw
  To: gentoo-commits

commit:     b37d32ef5866c70fcf9c73329547670505bbd014
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 05:23:19 2024 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 05:23:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b37d32ef

app-metrics/snmp_exporter: drop 0.21.0

Bug: https://bugs.gentoo.org/883649
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  2 -
 .../snmp_exporter/snmp_exporter-0.21.0.ebuild      | 52 ----------------------
 2 files changed, 54 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index f0290ac20705..f7da5777338c 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,4 +1,2 @@
-DIST snmp_exporter-0.21.0-deps.tar.xz 173870408 BLAKE2B 8bd9699a1ecefcfb90784892e1329919baa06349cde89106a4fa4f7543672aa4de907781183baf714aceb6b1dba5c748130e1b98577830011fed40833bedda20 SHA512 d267e596b2a5c11844aaae66d75bc40c7bcc0263bc04ad2359d29450f44c7a4be263bc453a35a75250424144b4afb4ae15afe9988f95c922d20ec975827fc88e
-DIST snmp_exporter-0.21.0.tar.gz 322098 BLAKE2B 5e28186dc5da1c38be0bc2a8801c56a2a32c835886b7a4d3a8a7add91960679d250bc91e5b75fdb92fb6237d53ca2b5114aa2d6b869c1db9cc371aad6841b153 SHA512 5ebb629ebc48f38035c031f2ebd7109ee681499556771792a3cddc671561b119d144a5fd9f4e51ceaccb58dc50e3852d185ee0c7f1ac57d6307d4936dc1a45b4
 DIST snmp_exporter-0.24.1-deps.tar.xz 23690876 BLAKE2B 35cc65341bbae092fb88ebb42c24cf93c8e926265e5fc1fa67a4a38c99c013f704b4ce02704341bd6aca841fbd75cdcb98635b2f7856c94d9c17a8f96acc29c2 SHA512 090437acf2f66094982374f06ea889bb8694b018a1a74da7cd1275ae4ee4ed1c8147253d4d87b8916e8f397c029881f29bf5ad4d33bfec5d6a99efa7b1d2326b
 DIST snmp_exporter-0.24.1.tar.gz 168914 BLAKE2B 555136b42af1057cbd553a774ab96f00877f20b1d72b8f78dc87d85e958d14d56b8d58eb5aab829ad33acd9581fe80c4d65ae4faad1c8be0773e2205ac088cb2 SHA512 5268129a50bd255a9505b16d27957ab2e7a23321a25933c9a1a98cd9900aef3a882a59a43d92e021dfa6e732f84f8be1fe171271935a8eac1e023588f417822e

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
deleted file mode 100644
index a0c85cbd329e..000000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-SNMP_EXPORTER_COMMIT=0d8c3527
-inherit go-module
-
-DESCRIPTION="Prometheus exporter for snmp metrics"
-HOMEPAGE="https://github.com/prometheus/snmp_exporter"
-SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64"
-
-COMMON_DEPEND="acct-group/snmp_exporter
-	acct-user/snmp_exporter
-	net-analyzer/net-snmp"
-	DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="dev-util/promu"
-
-src_prepare() {
-	default
-	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
-}
-
-src_compile() {
-	promu build --prefix bin || die
-	pushd generator || die
-	ego build -o ../bin/generator
-	popd || die
-}
-
-src_test() {
-	emake test-flags= test
-}
-
-src_install() {
-	dobin bin/generator
-	newbin bin/${PN}-${PV} ${PN}
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	insinto /etc/snmp_exporter
-	newins snmp.yml snmp.yml.example
-	newinitd "${FILESDIR}"/${PN}.initd ${PN}
-	newconfd "${FILESDIR}"/${PN}.confd ${PN}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2023-12-17 11:45 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2023-12-17 11:45 UTC (permalink / raw
  To: gentoo-commits

commit:     255f6661f0671cc0c4de6a08707d54d862b330eb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 11:45:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 11:45:24 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=255f6661

app-metrics/snmp_exporter: Stabilize 0.24.1 amd64, #920176

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild
index 5e781a5c9780..2935cb98ccfd 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~ajak/dist/${CATEGORY}/${PN}/${P}-deps.tar.xz"
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="acct-group/snmp_exporter
 	acct-user/snmp_exporter


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2023-10-29 17:22 John Helmert III
  0 siblings, 0 replies; 27+ messages in thread
From: John Helmert III @ 2023-10-29 17:22 UTC (permalink / raw
  To: gentoo-commits

commit:     3448245ff66ebd4df46bcef57da81492fcedd6df
Author:     John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 29 17:15:19 2023 +0000
Commit:     John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Oct 29 17:21:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3448245f

app-metrics/snmp_exporter: add 0.24.1

Bug: https://bugs.gentoo.org/883649
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  2 +
 .../snmp_exporter/snmp_exporter-0.24.1.ebuild      | 52 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 09ea205633ab..f0290ac20705 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,2 +1,4 @@
 DIST snmp_exporter-0.21.0-deps.tar.xz 173870408 BLAKE2B 8bd9699a1ecefcfb90784892e1329919baa06349cde89106a4fa4f7543672aa4de907781183baf714aceb6b1dba5c748130e1b98577830011fed40833bedda20 SHA512 d267e596b2a5c11844aaae66d75bc40c7bcc0263bc04ad2359d29450f44c7a4be263bc453a35a75250424144b4afb4ae15afe9988f95c922d20ec975827fc88e
 DIST snmp_exporter-0.21.0.tar.gz 322098 BLAKE2B 5e28186dc5da1c38be0bc2a8801c56a2a32c835886b7a4d3a8a7add91960679d250bc91e5b75fdb92fb6237d53ca2b5114aa2d6b869c1db9cc371aad6841b153 SHA512 5ebb629ebc48f38035c031f2ebd7109ee681499556771792a3cddc671561b119d144a5fd9f4e51ceaccb58dc50e3852d185ee0c7f1ac57d6307d4936dc1a45b4
+DIST snmp_exporter-0.24.1-deps.tar.xz 23690876 BLAKE2B 35cc65341bbae092fb88ebb42c24cf93c8e926265e5fc1fa67a4a38c99c013f704b4ce02704341bd6aca841fbd75cdcb98635b2f7856c94d9c17a8f96acc29c2 SHA512 090437acf2f66094982374f06ea889bb8694b018a1a74da7cd1275ae4ee4ed1c8147253d4d87b8916e8f397c029881f29bf5ad4d33bfec5d6a99efa7b1d2326b
+DIST snmp_exporter-0.24.1.tar.gz 168914 BLAKE2B 555136b42af1057cbd553a774ab96f00877f20b1d72b8f78dc87d85e958d14d56b8d58eb5aab829ad33acd9581fe80c4d65ae4faad1c8be0773e2205ac088cb2 SHA512 5268129a50bd255a9505b16d27957ab2e7a23321a25933c9a1a98cd9900aef3a882a59a43d92e021dfa6e732f84f8be1fe171271935a8eac1e023588f417822e

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild
new file mode 100644
index 000000000000..5e781a5c9780
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.24.1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+SNMP_EXPORTER_COMMIT=f8826bcf
+inherit go-module
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter"
+SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~ajak/dist/${CATEGORY}/${PN}/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/snmp_exporter
+	acct-user/snmp_exporter
+	net-analyzer/net-snmp"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+	promu build --prefix bin || die
+	pushd generator || die
+	ego build -o ../bin/generator
+	popd || die
+}
+
+src_test() {
+	emake test-flags= test
+}
+
+src_install() {
+	dobin bin/generator
+	newbin bin/${PN}-${PV} ${PN}
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	insinto /etc/snmp_exporter
+	newins snmp.yml snmp.yml.example
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2023-05-26 14:42 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2023-05-26 14:42 UTC (permalink / raw
  To: gentoo-commits

commit:     a97ff08f143515d1074ee4e63f363a036cbb8600
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 14:40:54 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 26 14:42:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a97ff08f

app-metrics/snmp_exporter: stabilize 0.21.0 for amd64

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
index 57b3032a1a5d..a0c85cbd329e 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="acct-group/snmp_exporter
 	acct-user/snmp_exporter


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2023-05-26 14:42 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2023-05-26 14:42 UTC (permalink / raw
  To: gentoo-commits

commit:     272df0a4f3adc9f6ef436a3d37df3caeb9e8698b
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 14:42:11 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May 26 14:42:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272df0a4

app-metrics/snmp_exporter: drop 0.20.0-r1

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  2 -
 .../snmp_exporter/snmp_exporter-0.20.0-r1.ebuild   | 48 ----------------------
 2 files changed, 50 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 42fa1901eeb4..09ea205633ab 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,4 +1,2 @@
-DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1
-DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51
 DIST snmp_exporter-0.21.0-deps.tar.xz 173870408 BLAKE2B 8bd9699a1ecefcfb90784892e1329919baa06349cde89106a4fa4f7543672aa4de907781183baf714aceb6b1dba5c748130e1b98577830011fed40833bedda20 SHA512 d267e596b2a5c11844aaae66d75bc40c7bcc0263bc04ad2359d29450f44c7a4be263bc453a35a75250424144b4afb4ae15afe9988f95c922d20ec975827fc88e
 DIST snmp_exporter-0.21.0.tar.gz 322098 BLAKE2B 5e28186dc5da1c38be0bc2a8801c56a2a32c835886b7a4d3a8a7add91960679d250bc91e5b75fdb92fb6237d53ca2b5114aa2d6b869c1db9cc371aad6841b153 SHA512 5ebb629ebc48f38035c031f2ebd7109ee681499556771792a3cddc671561b119d144a5fd9f4e51ceaccb58dc50e3852d185ee0c7f1ac57d6307d4936dc1a45b4

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
deleted file mode 100644
index 72aee2efbde4..000000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-SNMP_EXPORTER_COMMIT=c33572b6
-inherit go-module
-
-DESCRIPTION="Prometheus exporter for snmp metrics"
-HOMEPAGE="https://github.com/prometheus/snmp_exporter"
-SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="amd64"
-
-COMMON_DEPEND="acct-group/snmp_exporter
-	acct-user/snmp_exporter
-	net-analyzer/net-snmp"
-	DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="dev-util/promu"
-
-src_prepare() {
-	default
-	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
-}
-
-src_compile() {
-	promu build --prefix bin || die
-	pushd generator || die
-	ego build -o ../bin/generator
-	popd || die
-}
-
-src_install() {
-	dobin bin/generator
-	newbin bin/${PN}-${PV} ${PN}
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	insinto /etc/snmp_exporter
-	newins snmp.yml snmp.yml.example
-	newinitd "${FILESDIR}"/${PN}.initd ${PN}
-	newconfd "${FILESDIR}"/${PN}.confd ${PN}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2023-02-04  3:35 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2023-02-04  3:35 UTC (permalink / raw
  To: gentoo-commits

commit:     709f740d84c90a8e610beaf0ab27b9aa92550edc
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  4 03:33:01 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Feb  4 03:35:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=709f740d

app-metrics/snmp_exporter: add 0.21.0

Closes: https://bugs.gentoo.org/893152
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  2 +
 .../snmp_exporter/snmp_exporter-0.21.0.ebuild      | 52 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index bd2b5ac96442..42fa1901eeb4 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,2 +1,4 @@
 DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1
 DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51
+DIST snmp_exporter-0.21.0-deps.tar.xz 173870408 BLAKE2B 8bd9699a1ecefcfb90784892e1329919baa06349cde89106a4fa4f7543672aa4de907781183baf714aceb6b1dba5c748130e1b98577830011fed40833bedda20 SHA512 d267e596b2a5c11844aaae66d75bc40c7bcc0263bc04ad2359d29450f44c7a4be263bc453a35a75250424144b4afb4ae15afe9988f95c922d20ec975827fc88e
+DIST snmp_exporter-0.21.0.tar.gz 322098 BLAKE2B 5e28186dc5da1c38be0bc2a8801c56a2a32c835886b7a4d3a8a7add91960679d250bc91e5b75fdb92fb6237d53ca2b5114aa2d6b869c1db9cc371aad6841b153 SHA512 5ebb629ebc48f38035c031f2ebd7109ee681499556771792a3cddc671561b119d144a5fd9f4e51ceaccb58dc50e3852d185ee0c7f1ac57d6307d4936dc1a45b4

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
new file mode 100644
index 000000000000..57b3032a1a5d
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.21.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+SNMP_EXPORTER_COMMIT=0d8c3527
+inherit go-module
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter"
+SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/snmp_exporter
+	acct-user/snmp_exporter
+	net-analyzer/net-snmp"
+	DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+	promu build --prefix bin || die
+	pushd generator || die
+	ego build -o ../bin/generator
+	popd || die
+}
+
+src_test() {
+	emake test-flags= test
+}
+
+src_install() {
+	dobin bin/generator
+	newbin bin/${PN}-${PV} ${PN}
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	insinto /etc/snmp_exporter
+	newins snmp.yml snmp.yml.example
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2022-10-21 17:40 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2022-10-21 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     939d96323c0f58a67e699ce1c59150354efc5134
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 21 17:39:19 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct 21 17:39:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=939d9632

app-metrics/snmp_exporter: stabilize 0.20.0-r1 for amd64

Closes: https://bugs.gentoo.org/877705
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
index e05f22ca1588..72aee2efbde4 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
 
 LICENSE="Apache-2.0 BSD BSD-2 MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 
 COMMON_DEPEND="acct-group/snmp_exporter
 	acct-user/snmp_exporter


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2022-03-23 16:11 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2022-03-23 16:11 UTC (permalink / raw
  To: gentoo-commits

commit:     9f3ac565cf6df035de90c6882b2f3a58a9d32426
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 16:11:47 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 16:11:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3ac565

app-metrics/snmp_exporter: drop 0.20.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 .../snmp_exporter/snmp_exporter-0.20.0.ebuild      | 47 ----------------------
 1 file changed, 47 deletions(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild
deleted file mode 100644
index 8752286662b1..000000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-SNMP_EXPORTER_COMMIT=c33572b6
-inherit go-module
-
-DESCRIPTION="Prometheus exporter for snmp metrics"
-HOMEPAGE="https://github.com/prometheus/snmp_exporter"
-SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
-SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
-
-LICENSE="Apache-2.0 BSD BSD-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-COMMON_DEPEND="acct-group/snmp_exporter
-	acct-user/snmp_exporter
-	net-analyzer/net-snmp"
-	DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="dev-util/promu"
-
-src_prepare() {
-	default
-	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
-}
-
-src_compile() {
-	promu build --prefix bin || die
-	pushd generator || die
-	ego build -o ../bin/generator
-	popd || die
-}
-
-src_install() {
-	dobin bin/*
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	insinto /etc/snmp_exporter
-	newins snmp.yml snmp.yml.example
-	newinitd "${FILESDIR}"/${PN}.initd ${PN}
-	newconfd "${FILESDIR}"/${PN}.confd ${PN}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2022-03-23 16:11 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2022-03-23 16:11 UTC (permalink / raw
  To: gentoo-commits

commit:     6197bd633900ec1c73a1daa6ee0d69e661b36ee0
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 23 16:07:14 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 16:08:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6197bd63

app-metrics/snmp_exporter: add 0.20.0-r1

Closes: https://bugs.gentoo.org/835811
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 .../snmp_exporter/snmp_exporter-0.20.0-r1.ebuild   | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
new file mode 100644
index 000000000000..e05f22ca1588
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.20.0-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+SNMP_EXPORTER_COMMIT=c33572b6
+inherit go-module
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter"
+SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/snmp_exporter
+	acct-user/snmp_exporter
+	net-analyzer/net-snmp"
+	DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+	promu build --prefix bin || die
+	pushd generator || die
+	ego build -o ../bin/generator
+	popd || die
+}
+
+src_install() {
+	dobin bin/generator
+	newbin bin/${PN}-${PV} ${PN}
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	insinto /etc/snmp_exporter
+	newins snmp.yml snmp.yml.example
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2022-03-20 21:44 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2022-03-20 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     84ef7363ad13defa6b2ca7282314aa91f7db8b19
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 21:43:23 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 21:43:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ef7363

app-metrics/snmp_exporter: drop 0.15.0

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  1 -
 .../snmp_exporter/snmp_exporter-0.15.0.ebuild      | 55 ----------------------
 2 files changed, 56 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index fadd9527195e..bd2b5ac96442 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,3 +1,2 @@
-DIST snmp_exporter-0.15.0.tar.gz 1482592 BLAKE2B f7695eb37f2d702f3a6792337de7a1e878229ec20c8f4bea17d35e174219b71958aaf09bf91daaaffe12c5d03840887ce2ef3b37ce58a56352e8bcbb418bdb5f SHA512 1050a25d12a8201deab0ab7ea95dc35e250954a321d14251c10f87b016c879cf036e01f4043e3463607200381de63f12ea6bcf094dea2939707545f978c2675b
 DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1
 DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
deleted file mode 100644
index aaf7c2142f37..000000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="92a3da4"
-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 BSD BSD-2 MIT"
-SLOT="0"
-IUSE=""
-
-DEPEND=">=dev-lang/go-1.11
-	dev-util/promu
-	net-analyzer/net-snmp"
-
-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
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
-	pushd generator || die
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/generator snmp_exporter
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2022-03-20 21:44 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2022-03-20 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     1ce7c0f98f2135bb9da7e7236693f70548f1b4ea
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 21:41:04 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 21:43:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ce7c0f9

app-metrics/snmp_exporter: add 0.20.0

Closes: https://bugs.gentoo.org/781251
Closes: https://bugs.gentoo.org/834969
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/Manifest                 |  2 +
 .../snmp_exporter/snmp_exporter-0.20.0.ebuild      | 47 ++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 5d485a3f35a2..fadd9527195e 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1 +1,3 @@
 DIST snmp_exporter-0.15.0.tar.gz 1482592 BLAKE2B f7695eb37f2d702f3a6792337de7a1e878229ec20c8f4bea17d35e174219b71958aaf09bf91daaaffe12c5d03840887ce2ef3b37ce58a56352e8bcbb418bdb5f SHA512 1050a25d12a8201deab0ab7ea95dc35e250954a321d14251c10f87b016c879cf036e01f4043e3463607200381de63f12ea6bcf094dea2939707545f978c2675b
+DIST snmp_exporter-0.20.0-deps.tar.xz 167938880 BLAKE2B 26db1effd4c74c1d8ad063e390e3ebc2f652bc901b679a70dfa2fda479ead9622eb3bf729f24a3a0088d9b154be108e472218a84109ef23d8413e0db2f8afc9e SHA512 f2b2e72967bd7255abf5f808d1dbb5691755d232b32e0c833ebc9b74a469b5c2b704afb7f32c1c591653a4ad6162efc5ec13345e9f5e2d08c7f01d24bdddf3a1
+DIST snmp_exporter-0.20.0.tar.gz 290899 BLAKE2B 81c2c6e8b1f61fe322cf040910744857f0628b61172774069675f5702d7e8dcc443a5567d5fe9d3e26139fee87c3cae8ed5fb7ce21c13b8a0f0cab1cd76384aa SHA512 fe09033e713f12b5a6ad79445def55c8d94c75cbee5e4e7c4683e853c1a8335005462d607e0c7306d2ee6e70178edeb9b6cff0c35aa6d36a4d0fa5ce45cedb51

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild
new file mode 100644
index 000000000000..8752286662b1
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.20.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+SNMP_EXPORTER_COMMIT=c33572b6
+inherit go-module
+
+DESCRIPTION="Prometheus exporter for snmp metrics"
+HOMEPAGE="https://github.com/prometheus/snmp_exporter"
+SRC_URI="https://github.com/prometheus/${PN}/archive/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+COMMON_DEPEND="acct-group/snmp_exporter
+	acct-user/snmp_exporter
+	net-analyzer/net-snmp"
+	DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+src_prepare() {
+	default
+	sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" .promu.yml || die
+}
+
+src_compile() {
+	promu build --prefix bin || die
+	pushd generator || die
+	ego build -o ../bin/generator
+	popd || die
+}
+
+src_install() {
+	dobin bin/*
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	insinto /etc/snmp_exporter
+	newins snmp.yml snmp.yml.example
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-12-04  5:34 William Hubbs
  0 siblings, 0 replies; 27+ messages in thread
From: William Hubbs @ 2019-12-04  5:34 UTC (permalink / raw
  To: gentoo-commits

commit:     b25de9ea96bfba59db9524f930362cc75b29eb60
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Wed Dec  4 05:32:58 2019 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 05:32:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25de9ea

app-metrics/snmp_exporter: add myself as maintainer

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/snmp_exporter/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/metadata.xml b/app-metrics/snmp_exporter/metadata.xml
index 81a753cb432..7be2b809f62 100644
--- a/app-metrics/snmp_exporter/metadata.xml
+++ b/app-metrics/snmp_exporter/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person">
+		<email>williamh@gentoo.org</email>
+		<name>William Hubbs</name>
+	</maintainer>
 	<upstream>
 		<remote-id type="github">prometheus/snmp_exporter</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-11-23 10:38 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-11-23 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     94b72ee7fd7152cd28e8efe1fac64e7b4150c623
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 10:38:41 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 10:38:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94b72ee7

app-metrics/snmp_exporter: Drop to maintainer-needed

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

 app-metrics/snmp_exporter/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/app-metrics/snmp_exporter/metadata.xml b/app-metrics/snmp_exporter/metadata.xml
index 9ea37fba673..81a753cb432 100644
--- a/app-metrics/snmp_exporter/metadata.xml
+++ b/app-metrics/snmp_exporter/metadata.xml
@@ -1,10 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>mrueg@gentoo.org</email>
-		<name>Manuel Rüger</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 	<upstream>
 		<remote-id type="github">prometheus/snmp_exporter</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-11-23 10:38 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-11-23 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     56e9402978d0433dbfe519de1b9b7cd8ddfd0149
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 23 10:38:19 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Nov 23 10:38:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e94029

app-metrics/snmp_exporter: Remove old

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

 app-metrics/snmp_exporter/Manifest                 |  2 -
 .../snmp_exporter/snmp_exporter-0.13.0.ebuild      | 53 ---------------------
 .../snmp_exporter/snmp_exporter-0.14.0-r2.ebuild   | 55 ----------------------
 3 files changed, 110 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 4ad306428b4..5d485a3f35a 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,3 +1 @@
-DIST snmp_exporter-0.13.0.tar.gz 4096479 BLAKE2B a41ad876ca73a997bc48ac6fcdbc3ca01ff1c689f2f908cf14874f948a50ecd846a2996fc0cbf7d86a473fb80e42e15a7aca1c1b57f2cb3ebfa68a62db8d13ac SHA512 6e4a607cb58e6721acfd77b570dc62589cba5b23d250c9f654659632c97039156869722e1e43bec2b0656f08021ff89b4089f6b91ef28229964f32a34e0067f3
-DIST snmp_exporter-0.14.0.tar.gz 1458373 BLAKE2B 3251022b236b1da7c675fff1119bf358a7b19bec02c552357dde689654e655f7ab5569c5580db8d8cb587860dfb18a5111220bcb07041488ff2d02fe4d204d44 SHA512 58439e9ef8f05e48ebfb4ea82d42568e40968224e609485960f8a81c6e349ca18d16ec3f4eee469dfaa0b9fd50feb28c1e6a6a988fb251485748f10dbc4f8d12
 DIST snmp_exporter-0.15.0.tar.gz 1482592 BLAKE2B f7695eb37f2d702f3a6792337de7a1e878229ec20c8f4bea17d35e174219b71958aaf09bf91daaaffe12c5d03840887ce2ef3b37ce58a56352e8bcbb418bdb5f SHA512 1050a25d12a8201deab0ab7ea95dc35e250954a321d14251c10f87b016c879cf036e01f4043e3463607200381de63f12ea6bcf094dea2939707545f978c2675b

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild
deleted file mode 100644
index f4215957f69..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild
+++ /dev/null
@@ -1,53 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="84cab6d"
-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
-	net-analyzer/net-snmp"
-
-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 bin || die
-	pushd generator || die
-	GOPATH="${S}" go build -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/*
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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}
-}

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild
deleted file mode 100644
index b6d3bb792c7..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="da73490"
-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-lang/go-1.11
-	dev-util/promu
-	net-analyzer/net-snmp"
-
-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
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
-	pushd generator || die
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/generator snmp_exporter
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-02-12 16:34 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-02-12 16:34 UTC (permalink / raw
  To: gentoo-commits

commit:     ea8ad1dca35648a7d8d44185250ea39506e3fcba
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 12 16:32:23 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Feb 12 16:32:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea8ad1dc

app-metrics/snmp_exporter: Version bump to 0.15.0

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

 app-metrics/snmp_exporter/Manifest                 |  1 +
 .../snmp_exporter/snmp_exporter-0.15.0.ebuild      | 55 ++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index e97c6baf2ee..4ad306428b4 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,2 +1,3 @@
 DIST snmp_exporter-0.13.0.tar.gz 4096479 BLAKE2B a41ad876ca73a997bc48ac6fcdbc3ca01ff1c689f2f908cf14874f948a50ecd846a2996fc0cbf7d86a473fb80e42e15a7aca1c1b57f2cb3ebfa68a62db8d13ac SHA512 6e4a607cb58e6721acfd77b570dc62589cba5b23d250c9f654659632c97039156869722e1e43bec2b0656f08021ff89b4089f6b91ef28229964f32a34e0067f3
 DIST snmp_exporter-0.14.0.tar.gz 1458373 BLAKE2B 3251022b236b1da7c675fff1119bf358a7b19bec02c552357dde689654e655f7ab5569c5580db8d8cb587860dfb18a5111220bcb07041488ff2d02fe4d204d44 SHA512 58439e9ef8f05e48ebfb4ea82d42568e40968224e609485960f8a81c6e349ca18d16ec3f4eee469dfaa0b9fd50feb28c1e6a6a988fb251485748f10dbc4f8d12
+DIST snmp_exporter-0.15.0.tar.gz 1482592 BLAKE2B f7695eb37f2d702f3a6792337de7a1e878229ec20c8f4bea17d35e174219b71958aaf09bf91daaaffe12c5d03840887ce2ef3b37ce58a56352e8bcbb418bdb5f SHA512 1050a25d12a8201deab0ab7ea95dc35e250954a321d14251c10f87b016c879cf036e01f4043e3463607200381de63f12ea6bcf094dea2939707545f978c2675b

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
new file mode 100644
index 00000000000..1c01a04e3bb
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.15.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="92a3da4"
+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-lang/go-1.11
+	dev-util/promu
+	net-analyzer/net-snmp"
+
+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
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
+	pushd generator || die
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/generator snmp_exporter
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	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}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-01-17  0:11 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-01-17  0:11 UTC (permalink / raw
  To: gentoo-commits

commit:     10366b3e467759c4e420a5028204cb0a53ef1360
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 00:11:40 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jan 17 00:11:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10366b3e

app-metrics/snmp_exporter: Remove old

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

 .../snmp_exporter/snmp_exporter-0.14.0-r1.ebuild   | 55 ----------------------
 1 file changed, 55 deletions(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild
deleted file mode 100644
index 652a7408d4e..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="da73490"
-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-lang/go-1.11
-	dev-util/promu
-	net-analyzer/net-snmp"
-
-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
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
-	pushd generator || die
-	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/*
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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}
-	insinto /etc/logrotate.d
-	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-01-17  0:11 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-01-17  0:11 UTC (permalink / raw
  To: gentoo-commits

commit:     24a8c84b164b33fe30fefdce51683fe08d64561b
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 17 00:11:18 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Jan 17 00:11:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24a8c84b

app-metrics/snmp_exporter: Fix installing of snmp_exporter binary

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

 .../snmp_exporter/snmp_exporter-0.14.0-r2.ebuild   | 55 ++++++++++++++++++++++
 1 file changed, 55 insertions(+)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild
new file mode 100644
index 00000000000..b6d3bb792c7
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="da73490"
+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-lang/go-1.11
+	dev-util/promu
+	net-analyzer/net-snmp"
+
+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
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
+	pushd generator || die
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/generator snmp_exporter
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	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}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-01-15 19:05 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-01-15 19:05 UTC (permalink / raw
  To: gentoo-commits

commit:     812c84d10019d674b00e0535d327f493ed50e1fe
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 15 19:04:21 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Jan 15 19:04:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812c84d1

app-metrics/snmp_exporter: Add GOCACHE

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

 app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild
index 748975e7289..652a7408d4e 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.14.0-r1.ebuild
@@ -33,9 +33,9 @@ src_prepare() {
 
 src_compile() {
 	pushd src/${EGO_PN} || die
-	GO111MODULE=on GOPATH="${S}" promu build -v || die
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v || die
 	pushd generator || die
-	GO111MODULE=on GOPATH="${S}" go build -mod=vendor -o ../bin/generator . || die
+	GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache go build -mod=vendor -o ../bin/generator . || die
 	popd || die
 }
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2019-01-15 14:44 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2019-01-15 14:44 UTC (permalink / raw
  To: gentoo-commits

commit:     b897d866d46184537dd82f20ae58efa36cc24a54
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 15 14:44:06 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Jan 15 14:44:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b897d866

app-metrics/snmp_exporter: Remove old

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

 app-metrics/snmp_exporter/Manifest                 |  2 -
 .../snmp_exporter/snmp_exporter-0.11.0.ebuild      | 50 --------------------
 .../snmp_exporter/snmp_exporter-0.12.0.ebuild      | 53 ---------------------
 .../snmp_exporter/snmp_exporter-0.14.0.ebuild      | 54 ----------------------
 4 files changed, 159 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 33317ccfbaf..e97c6baf2ee 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,4 +1,2 @@
-DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
-DIST snmp_exporter-0.12.0.tar.gz 3631641 BLAKE2B 4a1be9f51ffd9c2bc7a2eeb853d30499ae967e53980f81a3b14e9d0a201f33b7f3eec76711a4f3d8d54f5f07b74f1f66aab11093e7c0ab076f544da2ac8399f8 SHA512 9da5e4c43bf59562541992456c046063874860f2e7a24f0693b2f5655e0eb6eacd18734a4c932fce01bb535ac7530d71234bfa9d977fcbf15a1468f642e1d157
 DIST snmp_exporter-0.13.0.tar.gz 4096479 BLAKE2B a41ad876ca73a997bc48ac6fcdbc3ca01ff1c689f2f908cf14874f948a50ecd846a2996fc0cbf7d86a473fb80e42e15a7aca1c1b57f2cb3ebfa68a62db8d13ac SHA512 6e4a607cb58e6721acfd77b570dc62589cba5b23d250c9f654659632c97039156869722e1e43bec2b0656f08021ff89b4089f6b91ef28229964f32a34e0067f3
 DIST snmp_exporter-0.14.0.tar.gz 1458373 BLAKE2B 3251022b236b1da7c675fff1119bf358a7b19bec02c552357dde689654e655f7ab5569c5580db8d8cb587860dfb18a5111220bcb07041488ff2d02fe4d204d44 SHA512 58439e9ef8f05e48ebfb4ea82d42568e40968224e609485960f8a81c6e349ca18d16ec3f4eee469dfaa0b9fd50feb28c1e6a6a988fb251485748f10dbc4f8d12

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.11.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.11.0.ebuild
deleted file mode 100644
index 36093bab969..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.11.0.ebuild
+++ /dev/null
@@ -1,50 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="e459171"
-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 bin || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/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}
-}

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
deleted file mode 100644
index ee90f5490eb..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
+++ /dev/null
@@ -1,53 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="26b3c85"
-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
-	net-analyzer/net-snmp"
-
-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 bin || die
-	pushd generator || die
-	GOPATH="${S}" go build -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/*
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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}
-}

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild
deleted file mode 100644
index 4038386446d..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-EGO_PN="github.com/prometheus/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="da73490"
-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-lang/go-1.11
-	dev-util/promu
-	net-analyzer/net-snmp"
-
-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
-	GO111MODULE=on GOPATH="${S}" promu build -v --prefix bin || die
-	pushd generator || die
-	GO111MODULE=on GOPATH="${S}" go build -o ../bin/generator . || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/*
-	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
-	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-12-11  8:12 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-12-11  8:12 UTC (permalink / raw
  To: gentoo-commits

commit:     1c556cd36757d6f85e01be902508f9ef6ed3acf6
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 11 08:08:24 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 08:08:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c556cd3

app-metrics/snmp_exporter: Version bump to 0.14.0

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

 app-metrics/snmp_exporter/Manifest                 |  1 +
 .../snmp_exporter/snmp_exporter-0.14.0.ebuild      | 54 ++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index b0cbdd72bda..33317ccfbaf 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,3 +1,4 @@
 DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
 DIST snmp_exporter-0.12.0.tar.gz 3631641 BLAKE2B 4a1be9f51ffd9c2bc7a2eeb853d30499ae967e53980f81a3b14e9d0a201f33b7f3eec76711a4f3d8d54f5f07b74f1f66aab11093e7c0ab076f544da2ac8399f8 SHA512 9da5e4c43bf59562541992456c046063874860f2e7a24f0693b2f5655e0eb6eacd18734a4c932fce01bb535ac7530d71234bfa9d977fcbf15a1468f642e1d157
 DIST snmp_exporter-0.13.0.tar.gz 4096479 BLAKE2B a41ad876ca73a997bc48ac6fcdbc3ca01ff1c689f2f908cf14874f948a50ecd846a2996fc0cbf7d86a473fb80e42e15a7aca1c1b57f2cb3ebfa68a62db8d13ac SHA512 6e4a607cb58e6721acfd77b570dc62589cba5b23d250c9f654659632c97039156869722e1e43bec2b0656f08021ff89b4089f6b91ef28229964f32a34e0067f3
+DIST snmp_exporter-0.14.0.tar.gz 1458373 BLAKE2B 3251022b236b1da7c675fff1119bf358a7b19bec02c552357dde689654e655f7ab5569c5580db8d8cb587860dfb18a5111220bcb07041488ff2d02fe4d204d44 SHA512 58439e9ef8f05e48ebfb4ea82d42568e40968224e609485960f8a81c6e349ca18d16ec3f4eee469dfaa0b9fd50feb28c1e6a6a988fb251485748f10dbc4f8d12

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild
new file mode 100644
index 00000000000..4038386446d
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.14.0.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="da73490"
+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-lang/go-1.11
+	dev-util/promu
+	net-analyzer/net-snmp"
+
+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
+	GO111MODULE=on GOPATH="${S}" promu build -v --prefix bin || die
+	pushd generator || die
+	GO111MODULE=on GOPATH="${S}" go build -o ../bin/generator . || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/*
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-09-13 11:54 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-09-13 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     c749a802c6af64d3e4e0a65d3d6fac333088b287
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 13 11:53:58 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Thu Sep 13 11:54:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c749a802

app-metrics/snmp_exporter: Version bump to 0.13.0

Package-Manager: Portage-2.3.49, Repoman-2.3.10

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

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 313466d4b47..b0cbdd72bda 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,2 +1,3 @@
 DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
 DIST snmp_exporter-0.12.0.tar.gz 3631641 BLAKE2B 4a1be9f51ffd9c2bc7a2eeb853d30499ae967e53980f81a3b14e9d0a201f33b7f3eec76711a4f3d8d54f5f07b74f1f66aab11093e7c0ab076f544da2ac8399f8 SHA512 9da5e4c43bf59562541992456c046063874860f2e7a24f0693b2f5655e0eb6eacd18734a4c932fce01bb535ac7530d71234bfa9d977fcbf15a1468f642e1d157
+DIST snmp_exporter-0.13.0.tar.gz 4096479 BLAKE2B a41ad876ca73a997bc48ac6fcdbc3ca01ff1c689f2f908cf14874f948a50ecd846a2996fc0cbf7d86a473fb80e42e15a7aca1c1b57f2cb3ebfa68a62db8d13ac SHA512 6e4a607cb58e6721acfd77b570dc62589cba5b23d250c9f654659632c97039156869722e1e43bec2b0656f08021ff89b4089f6b91ef28229964f32a34e0067f3

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild
new file mode 100644
index 00000000000..f4215957f69
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.13.0.ebuild
@@ -0,0 +1,53 @@
+# 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="84cab6d"
+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
+	net-analyzer/net-snmp"
+
+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 bin || die
+	pushd generator || die
+	GOPATH="${S}" go build -o ../bin/generator . || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/*
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-09-07  6:21 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-09-07  6:21 UTC (permalink / raw
  To: gentoo-commits

commit:     06902991ae3ae0ef88760d03a820668ca6b37ed2
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Sep  7 06:20:11 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Sep  7 06:20:11 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06902991

app-metrics/snmp_exporter: Add missing dependency on net-snmp

Closes: https://bugs.gentoo.org/664282
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
index bba19bc7040..ee90f5490eb 100644
--- a/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
@@ -17,7 +17,8 @@ LICENSE="Apache-2.0"
 SLOT="0"
 IUSE=""
 
-DEPEND="dev-util/promu"
+DEPEND="dev-util/promu
+	net-analyzer/net-snmp"
 
 pkg_setup() {
 	enewgroup ${PN}


^ permalink raw reply related	[flat|nested] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-08-21 20:27 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-08-21 20:27 UTC (permalink / raw
  To: gentoo-commits

commit:     22add78a83d8939469670ff8e61349e399d9e39b
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 21 20:26:05 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 20:27:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22add78a

app-metrics/snmp_exporter: Remove old

Package-Manager: Portage-2.3.47, Repoman-2.3.10

 app-metrics/snmp_exporter/Manifest                 |  2 -
 .../snmp_exporter/snmp_exporter-0.10.0.ebuild      | 50 ----------------------
 .../snmp_exporter/snmp_exporter-0.9.0.ebuild       | 50 ----------------------
 3 files changed, 102 deletions(-)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index ffce2fff149..313466d4b47 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,4 +1,2 @@
-DIST snmp_exporter-0.10.0.tar.gz 3507371 BLAKE2B 8ad65ef8593e08fa1749013dcaf91e985df13ad12a988fb3691fed6436b979ce0edf668844240485437acbe5c19894dd52472e89dcff705a822dc633bde4d36a SHA512 70a1c6f1f3f89a68af71d6b1f2d6975c677e8c9470b9e1d5168c7fa9e60cacef808559b7d318c742704ab0358b7724e14d8583629747c118307381ba80d4bd6c
 DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
 DIST snmp_exporter-0.12.0.tar.gz 3631641 BLAKE2B 4a1be9f51ffd9c2bc7a2eeb853d30499ae967e53980f81a3b14e9d0a201f33b7f3eec76711a4f3d8d54f5f07b74f1f66aab11093e7c0ab076f544da2ac8399f8 SHA512 9da5e4c43bf59562541992456c046063874860f2e7a24f0693b2f5655e0eb6eacd18734a4c932fce01bb535ac7530d71234bfa9d977fcbf15a1468f642e1d157
-DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild
deleted file mode 100644
index 63ed8670a2e..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild
+++ /dev/null
@@ -1,50 +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/snmp_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-SNMP_EXPORTER_COMMIT="5c997da"
-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 bin || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/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}
-}

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild
deleted file mode 100644
index c81866ee851..00000000000
--- a/app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild
+++ /dev/null
@@ -1,50 +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/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 bin || die
-	popd || die
-}
-
-src_install() {
-	pushd src/${EGO_PN} || die
-	dobin bin/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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-08-21 20:20 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-08-21 20:20 UTC (permalink / raw
  To: gentoo-commits

commit:     7ddce04fd5cd9fb3d8d010f6ce715f765afda138
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 21 20:20:08 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Aug 21 20:20:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ddce04f

app-metrics/snmp_exporter: Version bump to 0.12.0

Package-Manager: Portage-2.3.47, Repoman-2.3.10

 app-metrics/snmp_exporter/Manifest                 |  1 +
 .../snmp_exporter/snmp_exporter-0.12.0.ebuild      | 52 ++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 829d33d20be..ffce2fff149 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,3 +1,4 @@
 DIST snmp_exporter-0.10.0.tar.gz 3507371 BLAKE2B 8ad65ef8593e08fa1749013dcaf91e985df13ad12a988fb3691fed6436b979ce0edf668844240485437acbe5c19894dd52472e89dcff705a822dc633bde4d36a SHA512 70a1c6f1f3f89a68af71d6b1f2d6975c677e8c9470b9e1d5168c7fa9e60cacef808559b7d318c742704ab0358b7724e14d8583629747c118307381ba80d4bd6c
 DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
+DIST snmp_exporter-0.12.0.tar.gz 3631641 BLAKE2B 4a1be9f51ffd9c2bc7a2eeb853d30499ae967e53980f81a3b14e9d0a201f33b7f3eec76711a4f3d8d54f5f07b74f1f66aab11093e7c0ab076f544da2ac8399f8 SHA512 9da5e4c43bf59562541992456c046063874860f2e7a24f0693b2f5655e0eb6eacd18734a4c932fce01bb535ac7530d71234bfa9d977fcbf15a1468f642e1d157
 DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.12.0.ebuild
new file mode 100644
index 00000000000..bba19bc7040
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.12.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/snmp_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+SNMP_EXPORTER_COMMIT="26b3c85"
+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 bin || die
+	pushd generator || die
+	GOPATH="${S}" go build -o ../bin/generator . || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/*
+	dodoc {README,CONTRIBUTING}.md generator/{FORMAT,README}.md generator/generator.yml
+	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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-06-13 13:17 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-06-13 13:17 UTC (permalink / raw
  To: gentoo-commits

commit:     a36213c80e4380f45c526a4355dd89f7fcbc7d0b
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 13 13:16:35 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Jun 13 13:16:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a36213c8

app-metrics/snmp_exporter: Version bump to 0.11.0

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-metrics/snmp_exporter/Manifest                 |  1 +
 .../snmp_exporter/snmp_exporter-0.11.0.ebuild      | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 417f78115fd..829d33d20be 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1,2 +1,3 @@
 DIST snmp_exporter-0.10.0.tar.gz 3507371 BLAKE2B 8ad65ef8593e08fa1749013dcaf91e985df13ad12a988fb3691fed6436b979ce0edf668844240485437acbe5c19894dd52472e89dcff705a822dc633bde4d36a SHA512 70a1c6f1f3f89a68af71d6b1f2d6975c677e8c9470b9e1d5168c7fa9e60cacef808559b7d318c742704ab0358b7724e14d8583629747c118307381ba80d4bd6c
+DIST snmp_exporter-0.11.0.tar.gz 3631252 BLAKE2B 9786a17d667f8e6d45691f9df099f67ce103fbb93c9069ca497e59ff9207de05335fe3fac56d3d3bc0617069eb26a9c5b5682a8ec65c78d7e44303002427e9fa SHA512 a5d671d1bf2a98bbdb6ff85ac84ca5fe8da8d075bb1133aae650e73c45770be0403bcfea93595b2f5bc75b2e50cf96ccada0407d6956b4b5d1dc5b7ff604254a
 DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.11.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.11.0.ebuild
new file mode 100644
index 00000000000..36093bab969
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.11.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="e459171"
+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 bin || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/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] 27+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/
@ 2018-05-15 12:49 Manuel Rüger
  0 siblings, 0 replies; 27+ messages in thread
From: Manuel Rüger @ 2018-05-15 12:49 UTC (permalink / raw
  To: gentoo-commits

commit:     f64441ff4c7e6b8705c1094dba1b9cebb687d0a5
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue May 15 12:49:23 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue May 15 12:49:23 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64441ff

app-metrics/snmp_exporter: Version bump to 0.10.0

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 app-metrics/snmp_exporter/Manifest                 |  1 +
 .../snmp_exporter/snmp_exporter-0.10.0.ebuild      | 50 ++++++++++++++++++++++
 2 files changed, 51 insertions(+)

diff --git a/app-metrics/snmp_exporter/Manifest b/app-metrics/snmp_exporter/Manifest
index 654466fae8e..417f78115fd 100644
--- a/app-metrics/snmp_exporter/Manifest
+++ b/app-metrics/snmp_exporter/Manifest
@@ -1 +1,2 @@
+DIST snmp_exporter-0.10.0.tar.gz 3507371 BLAKE2B 8ad65ef8593e08fa1749013dcaf91e985df13ad12a988fb3691fed6436b979ce0edf668844240485437acbe5c19894dd52472e89dcff705a822dc633bde4d36a SHA512 70a1c6f1f3f89a68af71d6b1f2d6975c677e8c9470b9e1d5168c7fa9e60cacef808559b7d318c742704ab0358b7724e14d8583629747c118307381ba80d4bd6c
 DIST snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1

diff --git a/app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild b/app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild
new file mode 100644
index 00000000000..63ed8670a2e
--- /dev/null
+++ b/app-metrics/snmp_exporter/snmp_exporter-0.10.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="5c997da"
+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 bin || die
+	popd || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} || die
+	dobin bin/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] 27+ messages in thread

end of thread, other threads:[~2024-01-07  5:24 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-03  9:48 [gentoo-commits] repo/gentoo:master commit in: app-metrics/snmp_exporter/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-01-07  5:24 John Helmert III
2023-12-17 11:45 Sam James
2023-10-29 17:22 John Helmert III
2023-05-26 14:42 William Hubbs
2023-05-26 14:42 William Hubbs
2023-02-04  3:35 William Hubbs
2022-10-21 17:40 William Hubbs
2022-03-23 16:11 William Hubbs
2022-03-23 16:11 William Hubbs
2022-03-20 21:44 William Hubbs
2022-03-20 21:44 William Hubbs
2019-12-04  5:34 William Hubbs
2019-11-23 10:38 Manuel Rüger
2019-11-23 10:38 Manuel Rüger
2019-02-12 16:34 Manuel Rüger
2019-01-17  0:11 Manuel Rüger
2019-01-17  0:11 Manuel Rüger
2019-01-15 19:05 Manuel Rüger
2019-01-15 14:44 Manuel Rüger
2018-12-11  8:12 Manuel Rüger
2018-09-13 11:54 Manuel Rüger
2018-09-07  6:21 Manuel Rüger
2018-08-21 20:27 Manuel Rüger
2018-08-21 20:20 Manuel Rüger
2018-06-13 13:17 Manuel Rüger
2018-05-15 12:49 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