summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-09-18 12:49:33 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-09-18 12:49:33 +0200
commit8967a1329a6967ad83e68a8bb4ef49407f4121fe (patch)
tree2d8c96593f066cad5a413e3a2b141d523b8000cb /net-analyzer/prometheus-node_exporter
parentnet-analyzer/prometheus-node_exporter: Update init scripts wrt bug 631146 (diff)
downloadgentoo-8967a1329a6967ad83e68a8bb4ef49407f4121fe.tar.gz
gentoo-8967a1329a6967ad83e68a8bb4ef49407f4121fe.tar.bz2
gentoo-8967a1329a6967ad83e68a8bb4ef49407f4121fe.zip
net-analyzer/prometheus-node_exporter: Remove old
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'net-analyzer/prometheus-node_exporter')
-rw-r--r--net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild48
1 files changed, 0 insertions, 48 deletions
diff --git a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild b/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.ebuild
deleted file mode 100644
index 48eb30aac765..000000000000
--- a/net-analyzer/prometheus-node_exporter/prometheus-node_exporter-0.14.0.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="840ba5d"
-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 ${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
- 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}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}