diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-03-06 22:33:46 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-03-06 22:33:46 +0100 |
commit | c93064ae86b4305b4f3bd2b37f4e88962fb0aac7 (patch) | |
tree | b9716096af7761b74410a3eec09a6a9ba4e70ec1 /net-analyzer/prometheus-snmp_exporter | |
parent | app-arch/brotli: Use only the major version as the subslot (diff) | |
download | gentoo-c93064ae86b4305b4f3bd2b37f4e88962fb0aac7.tar.gz gentoo-c93064ae86b4305b4f3bd2b37f4e88962fb0aac7.tar.bz2 gentoo-c93064ae86b4305b4f3bd2b37f4e88962fb0aac7.zip |
net-analyzer/prometheus-snmp_exporter: Remove old
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-analyzer/prometheus-snmp_exporter')
-rw-r--r-- | net-analyzer/prometheus-snmp_exporter/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild | 50 |
2 files changed, 0 insertions, 51 deletions
diff --git a/net-analyzer/prometheus-snmp_exporter/Manifest b/net-analyzer/prometheus-snmp_exporter/Manifest index e10472f330ce..c11102143f5d 100644 --- a/net-analyzer/prometheus-snmp_exporter/Manifest +++ b/net-analyzer/prometheus-snmp_exporter/Manifest @@ -1,2 +1 @@ -DIST prometheus-snmp_exporter-0.8.0.tar.gz 3257344 BLAKE2B 32f0cf6c72b518fc62c420bf64ed04243bef8f9b70be2fba15472f63871e96bc113ddc7fe2e6265a29facf8c32c1d3f245bf6fc2dbce934876ebac0225069642 SHA512 0cae5fc107baedd8d498972aa7c6b3b48ff19f951c5366e5be5173009e956de8da06b84a46926d6f157287df0793e996686740c491f502da24172d5806b49339 DIST prometheus-snmp_exporter-0.9.0.tar.gz 3257207 BLAKE2B 3e7e91d7e66b32e3f84c9e53061f54ffc10116913b91598edfa011663daf2c67314661dbe6cd5b2c20b30968833bd64a48bdd5dd06694e76f1e787d59ad63933 SHA512 eb287f4519f2174a9ce80414c2b7a698bc50e1bcb2303a8190164002af088e0694e01233314cfe2bd89b2cd751f2fd6f8447eb641541701b7bd481373ce084b1 diff --git a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild b/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild deleted file mode 100644 index 1c6964ea08bd..000000000000 --- a/net-analyzer/prometheus-snmp_exporter/prometheus-snmp_exporter-0.8.0.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/snmp_exporter" -EGIT_COMMIT="v${PV/_rc/-rc.}" -SNMP_EXPORTER_COMMIT="17cefca" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Prometheus exporter for snmp metrics" -HOMEPAGE="https://github.com/prometheus/snmp_exporter" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${SNMP_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix snmp_exporter || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin snmp_exporter/snmp_exporter - dodoc {README,CHANGELOG,CONTRIBUTING}.md - insinto /etc/snmp_exporter - newins snmp.yml snmp.yml.example - popd || die - keepdir /var/lib/snmp_exporter /var/log/snmp_exporter - fowners ${PN}:${PN} /var/lib/snmp_exporter /var/log/snmp_exporter - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} |