app-metrics/snmp_exporter: Remove old
authorManuel Rüger <mrueg@gentoo.org>
Tue, 21 Aug 2018 20:26:05 +0000 (22:26 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Tue, 21 Aug 2018 20:27:26 +0000 (22:27 +0200)
Package-Manager: Portage-2.3.47, Repoman-2.3.10

app-metrics/snmp_exporter/Manifest
app-metrics/snmp_exporter/snmp_exporter-0.10.0.ebuild [deleted file]
app-metrics/snmp_exporter/snmp_exporter-0.9.0.ebuild [deleted file]

index ffce2fff1498d684e33535bc6345c7aa99bb7f0a..313466d4b4758104a691ff8b480a8ee69e98d967 100644 (file)
@@ -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 (file)
index 63ed867..0000000
+++ /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 (file)
index c81866e..0000000
+++ /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}
-}