public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/blackbox_exporter/
Date: Mon, 20 Jun 2022 01:41:03 +0000 (UTC)	[thread overview]
Message-ID: <1655689243.ae2f4361e6f6fc3bfa84aa696dae48ebe6c609a8.williamh@gentoo> (raw)

commit:     ae2f4361e6f6fc3bfa84aa696dae48ebe6c609a8
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 20 01:38:32 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Jun 20 01:40:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae2f4361

app-metrics/blackbox_exporter: add 0.21.1

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/blackbox_exporter/Manifest             |  2 +
 .../blackbox_exporter-0.21.1.ebuild                | 56 ++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/app-metrics/blackbox_exporter/Manifest b/app-metrics/blackbox_exporter/Manifest
index b238e05fe95a..f6e13545469b 100644
--- a/app-metrics/blackbox_exporter/Manifest
+++ b/app-metrics/blackbox_exporter/Manifest
@@ -1,5 +1,7 @@
 DIST blackbox_exporter-0.18.0.tar.gz 2614990 BLAKE2B 8c6681f3b122b3d83980c74d888442bde4bbbbd02e34a33f1560494d724f4f596e87d2b87a0702d4c860e7bbc3720d70d49d8e08ae9e74b8a6e9abed907d74bd SHA512 6579d190c755515d4e5f05e2b6ed4d811010874dba1e16eaf6052e97c655f87aec33550f22ff173d2f3bbc77d091fb4fccad059f62ca6fbb33a372d48ae692f0
 DIST blackbox_exporter-0.19.0.tar.gz 72280 BLAKE2B 8e6336d20c6225d58b873a270cb7bbc41bc85094fc5eebd228828128877d671b36bc9f283842bd3498e53bd138a155dca3f6843f0aca90eb542b78ad0cd276ff SHA512 86b11bc7afa0d8261d0961ca21563047b1ea8bfd1a9d4d034c393a8b098b035147883a44011cdafca8e9795a5e9a043cc15235375990f3424137af63469a8878
+DIST blackbox_exporter-0.21.1-deps.tar.xz 55088548 BLAKE2B a078e62ea071df29de3d8b7cd7fc957cd0eccdf076b3257c29513b0d15deaae383fc22273731b6a382c09ce6c51f2666bcd1430bf3f5e4b017189a32889048e1 SHA512 92f46ee0382c85399fe8d4d43b38e77ea81971000dc1b4bcff2d9fbe2b55a5936b712e2345690a5005b68daddde0419c20f2ff5def4058f6eb7a2d7972e8c0af
+DIST blackbox_exporter-0.21.1.tar.gz 79415 BLAKE2B 3587b01c33c47f370d55120cf4fac5ceeabdb2e89ea14ca588def902c67b237e78bca755ea5eac102d6f081c60a7bd5e1e6e5de9c2e2df9cb78c2f6856c5ee17 SHA512 a4d5187db9c99279d01d22c42c6569be836def2a033bf60c8f0a3131d329d8ac934b5ee30d2e9f185c4743c88ca287803165f7910378eb2d1ff27ae7671ab690
 DIST cloud.google.com%2Fgo%2F@v%2Fv0.26.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 DIST cloud.google.com%2Fgo%2F@v%2Fv0.34.0.mod 27 BLAKE2B 814b0fa8f12d5ce6171fa629b5a7eb34e0e882cc0c5430986896bb38c243e08dc83098f271227f4ba019e78f16dc97fbb381e833aff1819833d243b08add916b SHA512 5132f3438533427c0ab0fbb7a12112a7830ea9122662ed46019ff89c71d9cf80c02edc32dd5c892da572031b5a2cce100f2602fa6a19bea6be7c02781f701273
 DIST github.com%2F!burnt!sushi%2Ftoml%2F@v%2Fv0.3.1.mod 34 BLAKE2B ce54a247aef91043830bdf0603c8452ba38eceb1495af6e7a74c9119234a0dc5cd080cb25258c28f5e270acf91189a5ed33e361cbf17de2be5e37dadbda1d90d SHA512 320941bc3b7fb8bc595e6135cbc513a7583d129f0cd92508055291e141191066303cf75148e25198c21f6c6c539a790ea3210f3ecf5de6a2a03b70c753091146

diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.21.1.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.21.1.ebuild
new file mode 100644
index 000000000000..702f21755fc4
--- /dev/null
+++ b/app-metrics/blackbox_exporter/blackbox_exporter-0.21.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit fcaps go-module systemd
+GIT_COMMIT=e0d5e44
+MY_PV="v${PV/_rc/-rc.}"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter"
+SRC_URI="https://github.com/prometheus/blackbox_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"
+
+COMMON_DEPEND="
+	acct-group/blackbox_exporter
+	acct-user/blackbox_exporter"
+	DEPEND="${COMMON_DEPEND}"
+	RDEPEND="${COMMON_DEPEND}"
+BDEPEND="dev-util/promu"
+
+FILECAPS=(
+	cap_net_raw usr/bin/blackbox_exporter
+)
+
+# tests require the network
+RESTRICT+=" test "
+
+src_prepare() {
+	default
+	sed -i \
+		-e "s/{{.Branch}}/Head/" \
+		-e "s/{{.Revision}}/${GIT_COMMIT}/" \
+		-e "s/{{.Version}}/${PV}/" .promu.yml || die
+}
+
+src_compile() {
+	promu build -v --prefix bin || die
+}
+
+src_install() {
+	newbin bin/${P} ${PN}
+	dodoc {README,CHANGELOG,CONFIGURATION}.md blackbox.yml
+	insinto /etc/blackbox_exporter
+	newins example.yml blackbox.yml
+	keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
+	systemd_dounit "${FILESDIR}"/blackbox_exporter.service
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}/${PN}.logrotated" "${PN}"
+	fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter
+}


             reply	other threads:[~2022-06-20  1:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-20  1:41 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 18:54 [gentoo-commits] repo/gentoo:master commit in: app-metrics/blackbox_exporter/ Arthur Zamarin
2025-01-23  3:18 William Hubbs
2025-01-23  3:18 William Hubbs
2024-10-02 22:53 Sam James
2023-10-28 21:40 John Helmert III
2022-10-21 17:40 William Hubbs
2022-07-17 21:08 William Hubbs
2021-09-01 16:42 William Hubbs
2021-05-14  8:38 Mikle Kolyada
2021-05-13 15:28 William Hubbs
2021-05-10 16:22 Mikle Kolyada
2021-05-04 15:18 William Hubbs
2021-05-03 22:37 William Hubbs
2021-04-21  8:09 Mikle Kolyada
2021-04-19 13:58 Mikle Kolyada
2021-04-09  8:21 Mikle Kolyada
2020-07-05 17:17 William Hubbs
2019-12-04  5:34 William Hubbs
2019-12-03  9:48 Michał Górny
2019-11-23 11:02 Manuel Rüger
2019-11-19 12:41 Manuel Rüger
2019-11-19 12:41 Manuel Rüger
2019-09-17 15:42 Manuel Rüger
2019-09-17 11:27 Manuel Rüger
2019-09-17 11:27 Manuel Rüger
2019-03-28 14:28 Manuel Rüger
2018-12-07 19:14 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=1655689243.ae2f4361e6f6fc3bfa84aa696dae48ebe6c609a8.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