diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-01-16 16:55:44 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-01-16 16:55:44 +0100 |
commit | c0fb1995572a919ec1927bf363a961393b5d9136 (patch) | |
tree | 7b504197037ed0dba8137dd0f16f713708ed5115 /net-analyzer | |
parent | media-gfx/kxstitch: 2.1.0 version bump (diff) | |
download | gentoo-c0fb1995572a919ec1927bf363a961393b5d9136.tar.gz gentoo-c0fb1995572a919ec1927bf363a961393b5d9136.tar.bz2 gentoo-c0fb1995572a919ec1927bf363a961393b5d9136.zip |
net-analyzer/prometheus-node_exporter: Remove old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/prometheus-node_exporter/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild | 48 |
2 files changed, 0 insertions, 49 deletions
diff --git a/net-analyzer/prometheus-node_exporter/Manifest b/net-analyzer/prometheus-node_exporter/Manifest index 6202fab27afa..12796da2f69d 100644 --- a/net-analyzer/prometheus-node_exporter/Manifest +++ b/net-analyzer/prometheus-node_exporter/Manifest @@ -1,2 +1 @@ -DIST prometheus-node_exporter-0.15.1.tar.gz 1327099 BLAKE2B 56d877ee0aea8c18150cca38a62ba6dc439e847188d887def3090b9e3272cb1a077aa451ac63784f8e94d1324630a1320ef5a83127914a4a3820fbf637361b83 SHA512 884f4b3a5e78ecf110e26fbceb6e431cf69f9d0e87ceae33ac767addac197230c2a0d34725fe1f5fe99cbb280e89e4dfea3a6d559027633a7fb071cfdc0f8539 DIST prometheus-node_exporter-0.15.2.tar.gz 1327204 BLAKE2B ee694771ed6d736fd4bb6a10f713f31becc930fb8225499d4b3a2a2cc7416c1816605cd8f4205dc37a2264af8d9f85e3519bc01844d252b6a70d4ee5f6308ece SHA512 b39ce0801a5bf5a2a70c4034659d047d70b3763af3f18925b65c2b5f72832e261362aaeb9ce4c68cb7bf52e790d3fc710a6c8550ad7876e89fd9f5a055200a52 diff --git a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild deleted file mode 100644 index a300b0f49c9c..000000000000 --- a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.15.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/node_exporter" -EGIT_COMMIT="v${PV/_rc/-rc.}" -NODE_EXPORTER_COMMIT="ba5da2c" -ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Prometheus exporter for machine metrics" -HOMEPAGE="https://github.com/prometheus/node_exporter" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix node_exporter || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin node_exporter/node_exporter - dodoc {README,CHANGELOG,CONTRIBUTING}.md - popd || die - keepdir /var/lib/node_exporter /var/log/node_exporter - fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter - newinitd "${FILESDIR}"/${PN}-1.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} -} |