summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-07-17 18:43:59 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-07-17 18:43:59 +0200
commit8b7f2be6885b3c39ce35e8ff5410e8a2270be7d8 (patch)
tree7c1bb16e40d3b06fd23d209fbd6874c6a72a44da /app-metrics/node_exporter
parentapp-emulation/reg: Version bump to 0.15.4 (diff)
downloadgentoo-8b7f2be6885b3c39ce35e8ff5410e8a2270be7d8.tar.gz
gentoo-8b7f2be6885b3c39ce35e8ff5410e8a2270be7d8.tar.bz2
gentoo-8b7f2be6885b3c39ce35e8ff5410e8a2270be7d8.zip
app-metrics/node_exporter: Remove old
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'app-metrics/node_exporter')
-rw-r--r--app-metrics/node_exporter/Manifest1
-rw-r--r--app-metrics/node_exporter/node_exporter-0.16.0_rc3.ebuild48
2 files changed, 0 insertions, 49 deletions
diff --git a/app-metrics/node_exporter/Manifest b/app-metrics/node_exporter/Manifest
index 8fa701ff9438..6de65209dc03 100644
--- a/app-metrics/node_exporter/Manifest
+++ b/app-metrics/node_exporter/Manifest
@@ -1,3 +1,2 @@
DIST node_exporter-0.15.2.tar.gz 1327204 BLAKE2B ee694771ed6d736fd4bb6a10f713f31becc930fb8225499d4b3a2a2cc7416c1816605cd8f4205dc37a2264af8d9f85e3519bc01844d252b6a70d4ee5f6308ece SHA512 b39ce0801a5bf5a2a70c4034659d047d70b3763af3f18925b65c2b5f72832e261362aaeb9ce4c68cb7bf52e790d3fc710a6c8550ad7876e89fd9f5a055200a52
DIST node_exporter-0.16.0.tar.gz 1413131 BLAKE2B 7561ae8cc4994c6772816b72d6e3ea98934cb02eee7fab6c08a58ca853e492192defbadf25ea6f992fd044d23826241a4c0fb54c423b59394210803a5fa517e3 SHA512 59a2286024de76e7213e430ba77a366190d626d3b410c8dc960ad2bf68798e8ec3aeb851396673fb402eef15b2596f6835cf0197a53b9a3d1c0f8a1a81965fc7
-DIST node_exporter-0.16.0_rc3.tar.gz 1411536 BLAKE2B 24c38fb607d68718298df84db0e903d2a35d21d2edbe5e79c917cd2a32d76708a7e9f25750fd0c52c7eec4bbb90ee089dc60769e05f0265cb08c4a27dff20d96 SHA512 fc80738ba6bedd4a9a28374c6ea52c6471be14849b0120fd322397c179e0f0043bc616585d2b251a817bb7af8af16cc5a7f41de989943b9b87805dac4446a61f
diff --git a/app-metrics/node_exporter/node_exporter-0.16.0_rc3.ebuild b/app-metrics/node_exporter/node_exporter-0.16.0_rc3.ebuild
deleted file mode 100644
index 62f4a8eceeb2..000000000000
--- a/app-metrics/node_exporter/node_exporter-0.16.0_rc3.ebuild
+++ /dev/null
@@ -1,48 +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/node_exporter"
-EGIT_COMMIT="v${PV/_rc/-rc.}"
-NODE_EXPORTER_COMMIT="575d895"
-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}
-}