From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/node_exporter/
Date: Thu, 25 May 2023 16:53:46 +0000 (UTC) [thread overview]
Message-ID: <1685033568.9c2f74f9fdd63b37eaf73fc943a1f114864a811d.williamh@gentoo> (raw)
commit: 9c2f74f9fdd63b37eaf73fc943a1f114864a811d
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 16:46:49 2023 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu May 25 16:52:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c2f74f9
app-metrics/node_exporter: add 1.5.0
Bug: https://bugs.gentoo.org/883653
Closes: https://bugs.gentoo.org/892764
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
app-metrics/node_exporter/Manifest | 2 +
.../node_exporter/node_exporter-1.5.0.ebuild | 51 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/app-metrics/node_exporter/Manifest b/app-metrics/node_exporter/Manifest
index b5b086e2a012..50ef50db5892 100644
--- a/app-metrics/node_exporter/Manifest
+++ b/app-metrics/node_exporter/Manifest
@@ -2,3 +2,5 @@ DIST node_exporter-1.3.1-deps.tar.xz 110247608 BLAKE2B 0c3cbea40927a2f780aea4113
DIST node_exporter-1.3.1.tar.gz 299038 BLAKE2B 8c4b562fab36632f6a4bcfc0c7bc65484bd9d44b16691a3d531c3e163ab17bf0fe81712d5ea3115460144be246599fc3430a80dd2244981333f0e1e5b2384c80 SHA512 cd73ca3551b0b52307d8b76aff29bf497609a1729203da9898270d1441d3358e8d9ba907bb8a75b5934ed64a8cf6b360385b1b2d0a3de55e0e149e0f819e0a1f
DIST node_exporter-1.4.0-deps.tar.xz 24623388 BLAKE2B 76ea5392f3f4ee2d76706d77625a0b1708f0a09d11dde1fc7511f62625cf7d2e26117eb8ed77c495d4e1d7aa98c62dfbaffc7310c415d831a670360705789975 SHA512 9e64c1d51bd47cb6a8caa5fd6f22846c266ebb86c79e5f8ab363e847c614fca4044e7c388691870e61a8f017f08c2b5bcada56c8390bdf9877e71ccdbd646ad9
DIST node_exporter-1.4.0.tar.gz 325743 BLAKE2B df6af555035c70930a610790e8d5eee87ca12cd27308ed95edf875da8615b61dde805d960d6262587322abecb721695bd42b1c078a7bcc40b24053cfce86015d SHA512 ebb4f9662ba995130b96e108050571119da368a8195e50896a19aab04d7cb40d60f9ae81052a0de08f571886cfb4150bf006a7b67a3d3683f2d04b5f43d61e7a
+DIST node_exporter-1.5.0-deps.tar.xz 25558844 BLAKE2B fd862394c4e9456af395af4a1a8fb5c9504b96fcfa5170027903edadcf29935ffa389a945a8306e59e8d373b238481090e61dca4d9b037d890e8df05a5c8ede7 SHA512 5141beabd6f6af57014d2095271ea7c9a7e6087d9939cf6fc4a89908df0a5b87267f469987d47b20a48411d5a01a1317c53bfad8138dcfa6aa80c0a9f3822aa7
+DIST node_exporter-1.5.0.tar.gz 329004 BLAKE2B 650e176ce15be980f9a3534f3246b577390d6d557b0ac7aa5341f3c91390bed829c4c3c3f60a4c108c814945134dc83639e12a13f416471e9c791ec88ed8a7bd SHA512 5b6d1da70a3458a1de270bcaf6ab177bd41c8b7031e67a4691b0b79931d15f0e22dbe1533f1ff0474496fcf4433bbd4b3473b8c0063f8891456960d7b6f56e15
diff --git a/app-metrics/node_exporter/node_exporter-1.5.0.ebuild b/app-metrics/node_exporter/node_exporter-1.5.0.ebuild
new file mode 100644
index 000000000000..6dc96ee09551
--- /dev/null
+++ b/app-metrics/node_exporter/node_exporter-1.5.0.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+MY_PV="v${PV/_rc/-rc.}"
+NODE_EXPORTER_COMMIT=1b48970ffcf5630534fb00bb0687d73c66d1c959
+
+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"
+SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
+
+LICENSE="Apache-2.0 BSD BSD-2 MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+IUSE="selinux"
+
+COMMON_DEPEND="acct-group/node_exporter
+ acct-user/node_exporter"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}
+ selinux? ( sec-policy/selinux-node_exporter )"
+BDEPEND=">=dev-util/promu-0.3.0"
+
+S="${WORKDIR}/${PN}-${PV/_rc/-rc.}"
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu.yml || die
+ sed -i -e "s/{{.Revision}}/${NODE_EXPORTER_COMMIT}/" .promu-cgo.yml || die
+}
+
+src_compile() {
+ mkdir -p bin || die
+ promu build -v --prefix node_exporter || die
+}
+
+src_test() {
+ emake test-flags= test
+}
+
+src_install() {
+ dosbin node_exporter/node_exporter
+ dodoc {README,CHANGELOG,CONTRIBUTING}.md
+ systemd_newunit "${FILESDIR}"/node_exporter.service-1 node_exporter.service
+ newinitd "${FILESDIR}"/${PN}.initd-1 ${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
+}
next reply other threads:[~2023-05-25 16:53 UTC|newest]
Thread overview: 59+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-25 16:53 William Hubbs [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-04-28 16:48 [gentoo-commits] repo/gentoo:master commit in: app-metrics/node_exporter/ Sam James
2025-04-07 18:56 Arthur Zamarin
2025-04-07 18:56 Arthur Zamarin
2025-03-15 18:14 Arthur Zamarin
2025-01-19 15:50 Arthur Zamarin
2025-01-19 14:55 Sam James
2025-01-19 13:10 Arthur Zamarin
2025-01-18 0:30 Jakov Smolić
2025-01-17 19:29 Arthur Zamarin
2024-12-19 15:41 William Hubbs
2024-06-15 19:21 Arthur Zamarin
2024-05-08 16:00 Arthur Zamarin
2024-01-19 18:11 William Hubbs
2024-01-07 6:48 Joonas Niilola
2024-01-07 6:14 Sam James
2023-11-26 21:47 Robin H. Johnson
2023-11-24 12:28 Sam James
2023-09-18 9:55 WANG Xuerui
2023-02-04 19:11 William Hubbs
2023-02-04 19:11 William Hubbs
2022-12-26 5:54 Kenton Groombridge
2022-07-22 23:37 William Hubbs
2022-07-22 23:33 William Hubbs
2022-07-18 2:23 William Hubbs
2022-06-29 7:21 WANG Xuerui
2022-04-05 21:53 Sam James
2022-04-05 21:50 Sam James
2022-01-21 19:13 Sam James
2021-08-25 20:38 Robin H. Johnson
2021-08-15 8:28 Mikle Kolyada
2021-07-16 15:17 Mikle Kolyada
2021-05-12 19:36 Mikle Kolyada
2021-04-07 8:59 Mikle Kolyada
2021-03-09 17:25 William Hubbs
2020-08-08 17:08 Matthew Thode
2020-08-08 17:08 Matthew Thode
2019-12-04 5:34 William Hubbs
2019-12-03 9:48 Michał Górny
2019-11-23 11:06 Manuel Rüger
2019-11-23 11:06 Manuel Rüger
2019-07-15 23:05 Manuel Rüger
2019-06-05 15:08 Manuel Rüger
2019-06-05 15:08 Manuel Rüger
2019-05-10 8:41 Manuel Rüger
2019-05-10 8:41 Manuel Rüger
2019-02-14 12:44 Manuel Rüger
2019-02-14 12:31 Manuel Rüger
2019-02-14 12:31 Manuel Rüger
2018-12-02 0:32 Manuel Rüger
2018-12-02 0:32 Manuel Rüger
2018-10-29 15:27 Tobias Klausmann
2018-07-17 16:44 Manuel Rüger
2018-05-15 20:01 Manuel Rüger
2018-04-27 22:04 Manuel Rüger
2018-04-27 22:03 Manuel Rüger
2018-04-18 14:39 Manuel Rüger
2018-04-10 12:28 Manuel Rüger
2018-03-30 14:31 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1685033568.9c2f74f9fdd63b37eaf73fc943a1f114864a811d.williamh@gentoo \
--to=williamh@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox