diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-01-23 19:25:20 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-01-23 19:25:20 +0100 |
commit | 50a99cd2833c74ee1bfe10505bb2a499d3e6fa0c (patch) | |
tree | 258049810ca3afe8ed35a9995e8aae9222aea8b4 /net-analyzer | |
parent | net-analyzer/prometheus-node_exporter: Version bump to 0.14.0_rc1 (diff) | |
download | gentoo-50a99cd2833c74ee1bfe10505bb2a499d3e6fa0c.tar.gz gentoo-50a99cd2833c74ee1bfe10505bb2a499d3e6fa0c.tar.bz2 gentoo-50a99cd2833c74ee1bfe10505bb2a499d3e6fa0c.zip |
net-analyzer/prometheus-node_exporter: Remove old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
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.13.0_p20161212.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 3a085454b566..daa9b0ee896a 100644 --- a/net-analyzer/prometheus-node_exporter/Manifest +++ b/net-analyzer/prometheus-node_exporter/Manifest @@ -1,2 +1 @@ -DIST prometheus-node_exporter-0.13.0_p20161212.tar.gz 755620 SHA256 221b2444dd895539c9028d04d6557583ae63a9f01377fe3cd6d2846b7411ec6d SHA512 d01cb01c86162e645af9ac4df860e4ab9a63999f7fa10236e6419ac14661a985dbff73d8948ecaceab0565fdb3d4dd7c5081855752e9cdafaa1d1994b96827e4 WHIRLPOOL 38f8343f3549dce96c383bc10eb2c802ec7196f492539a9356a473f85100d3823c74bc17e7c55608d9aa5a8931f0f61ef9b5fa395ae692d2c5861cd9b4bc58da DIST prometheus-node_exporter-0.14.0_rc1.tar.gz 1054858 SHA256 bcc2c544e1bac46d6768d4ddb59ec08fa4dfda2f370145c44dc80adff8a35b17 SHA512 1b54ddb48984408909a7112c411cb4dee9c8fc05fc3fabd1e1d9a4ff5c2e85b2d5dedd9c70027b2b4df7539d8b0e8d1958bb5e05f9a1abd08ad3e09d6c59b321 WHIRLPOOL d5b253ec6d67415eb0c82794f75f4d1d659fecb9d880429ef5c021bbe45ccef1304a6823c545b78175dbb01c37b06120008b9c92f44e9a6defa83bcfe2df4549 diff --git a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild deleted file mode 100644 index d18e83984a67..000000000000 --- a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.13.0_p20161212.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -inherit user golang-build golang-vcs-snapshot - -EGO_PN="github.com/prometheus/node_exporter/..." -EGIT_COMMIT="f09b9def25095c28164a4ec36749c752ea8cb03f" -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/prometheus" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -pkg_setup() { - enewgroup prometheus-exporter - enewuser prometheus-exporter -1 -1 -1 prometheus-exporter -} - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${EGIT_COMMIT:0:7}/" src/${EGO_PN%/*}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN%/*} || die - mkdir bin - GOPATH="${S}" promu build -v --prefix prometheus-node_exporter || die - popd || die -} - -src_install() { - pushd src/${EGO_PN%/*} || die - dobin prometheus-node_exporter - dodoc {README,CHANGELOG,CONTRIBUTING}.md - popd || die - keepdir /etc/prometheus-exporter /var/log/prometheus-exporter - fowners prometheus-exporter:prometheus-exporter /etc/prometheus-exporter /var/log/prometheus-exporter - newinitd "${FILESDIR}"/prometheus-node_exporter.initd prometheus-node_exporter - newconfd "${FILESDIR}"/prometheus-node_exporter.confd prometheus-node_exporter -} |