diff options
author | Matthew Thode <prometheanfire@gentoo.org> | 2020-08-08 12:07:37 -0500 |
---|---|---|
committer | Matthew Thode <prometheanfire@gentoo.org> | 2020-08-08 12:07:58 -0500 |
commit | b832e595c4fbea2b47c9433df587cbca27bf7533 (patch) | |
tree | 60d7822122226b5dd53be867239616a0133af31d /app-metrics | |
parent | app-metrics/node_exporter: 1.0.1 bump (diff) | |
download | gentoo-b832e595c4fbea2b47c9433df587cbca27bf7533.tar.gz gentoo-b832e595c4fbea2b47c9433df587cbca27bf7533.tar.bz2 gentoo-b832e595c4fbea2b47c9433df587cbca27bf7533.zip |
app-metrics/node_exporter: 1.0.0 rc cleanup
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/node_exporter/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/node_exporter/node_exporter-1.0.0_rc0-r1.ebuild | 45 | ||||
-rw-r--r-- | app-metrics/node_exporter/node_exporter-1.0.0_rc0.ebuild | 53 |
3 files changed, 0 insertions, 99 deletions
diff --git a/app-metrics/node_exporter/Manifest b/app-metrics/node_exporter/Manifest index f042b18c4a4b..1bc83688d8d8 100644 --- a/app-metrics/node_exporter/Manifest +++ b/app-metrics/node_exporter/Manifest @@ -1,3 +1,2 @@ DIST node_exporter-0.18.1.tar.gz 2110072 BLAKE2B 48c73d00cba892e34e95d40bd29c9ca70bc5748590f00cb7f8adcd25d8a9504f669d887b1273cc65316ca55b06c36d97a3e19a66382f35d5768db7c315981a13 SHA512 cf2b854fbec1ba39b18432cdc11ab507ebc5b2828e6b34b4f49af9b949fcd365cb3e5eb1e265d0825783810c6b1572a8b3512ec27a46e5c83f89a505590159c0 -DIST node_exporter-1.0.0_rc0.tar.gz 2753717 BLAKE2B 2e1984d080ce2a16ca710a3da882b311510b2741836d615075281f5fce2641be35084090d9bcedcb8bf4f6a18333c5fcd53eb98817d1efed4c1a26261a02bffd SHA512 ec1d79367c69a7ccdacc9482a38625ffc9adab6d781b789cc226eed0bd893deca5cfc420a096f790ccd57834492551d36e2f307ad27a6c67585c8ef31887b50f DIST node_exporter-1.0.1.tar.gz 2792033 BLAKE2B 4e86c348a293e8a4a8d5e22fe99871d84a817cfbbe3ac10b0e7b4fbba3ae7b12352c619f140e3568aa2fb3e4cdfdbde0d19d792497a0b0007b634cb3a4d21e38 SHA512 0643042a04494a65d1ebdedf78671a1e3473b7ac6f3bc606fa2c52e893dfc68b591ef7e38ac6768c4c529c25b831811c01839475a4fde9baeb0a6c581a57839f diff --git a/app-metrics/node_exporter/node_exporter-1.0.0_rc0-r1.ebuild b/app-metrics/node_exporter/node_exporter-1.0.0_rc0-r1.ebuild deleted file mode 100644 index 43ee1e033e0b..000000000000 --- a/app-metrics/node_exporter/node_exporter-1.0.0_rc0-r1.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit go-module systemd -MY_PV="v${PV/_rc/-rc.}" -NODE_EXPORTER_COMMIT=ef7c058 - -DESCRIPTION="Prometheus exporter for machine metrics" -HOMEPAGE="https://github.com/prometheus/node_exporter" -SRC_URI="https://github.com/prometheus/node_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0 BSD BSD-2 MIT" -SLOT="0" -KEYWORDS="~amd64" - -CDEPEND="acct-group/node_exporter - acct-user/node_exporter" -DEPEND=">=dev-util/promu-0.3.0 - ${CDEPEND}" -RDEPEND="${CDEPEND}" - -S="${WORKDIR}/${PN}-${PV/_rc/-rc.}" - -src_prepare() { - default - sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu.yml || die -} - -src_compile() { - mkdir -p bin || die - promu build -v --prefix node_exporter || die -} - -src_install() { - dosbin node_exporter/node_exporter - dodoc {README,CHANGELOG,CONTRIBUTING}.md - systemd_dounit examples/systemd/node_exporter.service - insinto /etc/sysconfig - newins examples/systemd/sysconfig.node_exporter node_exporter - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} - keepdir /var/lib/node_exporter /var/log/node_exporter - fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter -} diff --git a/app-metrics/node_exporter/node_exporter-1.0.0_rc0.ebuild b/app-metrics/node_exporter/node_exporter-1.0.0_rc0.ebuild deleted file mode 100644 index 9eae734e4acd..000000000000 --- a/app-metrics/node_exporter/node_exporter-1.0.0_rc0.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit golang-build golang-vcs-snapshot systemd - -EGO_PN="github.com/prometheus/node_exporter" -EGIT_COMMIT="v${PV/_rc/-rc.}" -NODE_EXPORTER_COMMIT="ef7c058" -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 BSD BSD-2 MIT" -SLOT="0" -IUSE="" - -CDEPEND="acct-group/node_exporter - acct-user/node_exporter" -DEPEND=">=dev-lang/go-1.12 - >=dev-util/promu-0.3.0 - ${CDEPEND}" -RDEPEND="${CDEPEND}" - -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 - GO111MODULE=on GOPATH="${S}" GOCACHE="${T}"/go-cache promu build -v --prefix node_exporter || die - popd || die -} - -src_install() { - # binary and docs - dobin src/"${EGO_PN}"/node_exporter/node_exporter - dodoc src/"${EGO_PN}"/{README,CHANGELOG,CONTRIBUTING}.md - # systemd - systemd_dounit "${FILESDIR}/${PN}.service" - insinto /etc/sysconfig - newins src/"${EGO_PN}"/examples/systemd/sysconfig.node_exporter node_exporter - # openrc - newinitd "${FILESDIR}"/${PN}-1.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${PN} - # maintence - keepdir /var/lib/node_exporter /var/log/node_exporter - fowners ${PN}:${PN} /var/lib/node_exporter /var/log/node_exporter -} |