From: "Manuel Rüger" <mrueg@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-metrics/blackbox_exporter/
Date: Fri, 7 Dec 2018 19:14:32 +0000 (UTC) [thread overview]
Message-ID: <1544210005.649ff4f31db35c578c6b2e714a7a413dca27d8ed.mrueg@gentoo> (raw)
commit: 649ff4f31db35c578c6b2e714a7a413dca27d8ed
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 7 19:13:25 2018 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Fri Dec 7 19:13:25 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=649ff4f3
app-metrics/blackbox_exporter: Version bump to 0.13.0
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11
app-metrics/blackbox_exporter/Manifest | 1 +
.../blackbox_exporter-0.13.0.ebuild | 55 ++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/app-metrics/blackbox_exporter/Manifest b/app-metrics/blackbox_exporter/Manifest
index 70b2683ee33..6d4ee37a2d5 100644
--- a/app-metrics/blackbox_exporter/Manifest
+++ b/app-metrics/blackbox_exporter/Manifest
@@ -1 +1,2 @@
DIST blackbox_exporter-0.12.0.tar.gz 2202465 BLAKE2B e3b082f8a491b531b0caf3331ecd391bf8734df0915ccbb7988ac1e67e57436bd45169aa403d5511fbb44eb176f89836ad8c04c491f5194f90f9f8a3b686a656 SHA512 2c98c0f4127bdd04ac54eb182c5468fd38121558f85aa8b4bec860f783f266b144df3153da0b028fdb84a4131a4e374a969bb09ce3a781ddf95f0a008c11bbb6
+DIST blackbox_exporter-0.13.0.tar.gz 668255 BLAKE2B 08c772175fa911ced04576c43b03b8594a1e6d30767742cea6630561045dd0440e1cd26847f2e7e506fb4fefc603a9a3e1b4228e46735f8d559a55462c0d11e4 SHA512 49290860e5e1713cc0e1edd93fd193d6e23aebe55a6f62778da89450f5ba79787d4ac3fd6ca3aae37f4941c16976db4570f2d4888534f2ce2c86e25e250b12f1
diff --git a/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0.ebuild b/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0.ebuild
new file mode 100644
index 00000000000..52be350e039
--- /dev/null
+++ b/app-metrics/blackbox_exporter/blackbox_exporter-0.13.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit fcaps user golang-build golang-vcs-snapshot
+
+EGO_PN="github.com/prometheus/blackbox_exporter"
+EGIT_COMMIT="v${PV/_rc/-rc.}"
+BLACKBOX_EXPORTER_COMMIT="1cfb751"
+ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Prometheus exporter for blackbox probing via HTTP, HTTPS, DNS, TCP and ICMP"
+HOMEPAGE="https://github.com/prometheus/blackbox_exporter"
+SRC_URI="${ARCHIVE_URI}"
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-lang/go-1.11
+ dev-util/promu"
+
+FILECAPS=(
+ cap_net_raw usr/bin/blackbox_exporter
+)
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_prepare() {
+ default
+ sed -i -e "s/{{.Revision}}/${BLACKBOX_EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die
+}
+
+src_compile() {
+ pushd src/${EGO_PN} || die
+ mkdir -p bin || die
+ GO111MODULE=on GOPATH="${S}" promu build -v --prefix blackbox_exporter || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin blackbox_exporter/blackbox_exporter
+ dodoc {README,CONFIGURATION}.md blackbox.yml
+ insinto /etc/blackbox_exporter
+ newins example.yml blackbox.yml.example
+ popd || die
+ keepdir /var/lib/blackbox_exporter /var/log/blackbox_exporter
+ fowners ${PN}:${PN} /var/lib/blackbox_exporter /var/log/blackbox_exporter
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
next reply other threads:[~2018-12-07 19:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-07 19:14 Manuel Rüger [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-28 14:28 [gentoo-commits] repo/gentoo:master commit in: app-metrics/blackbox_exporter/ Manuel Rüger
2019-09-17 11:27 Manuel Rüger
2019-09-17 11:27 Manuel Rüger
2019-09-17 15:42 Manuel Rüger
2019-11-19 12:41 Manuel Rüger
2019-11-19 12:41 Manuel Rüger
2019-11-23 11:02 Manuel Rüger
2019-12-03 9:48 Michał Górny
2019-12-04 5:34 William Hubbs
2020-07-05 17:17 William Hubbs
2021-04-09 8:21 Mikle Kolyada
2021-04-19 13:58 Mikle Kolyada
2021-04-21 8:09 Mikle Kolyada
2021-05-03 22:37 William Hubbs
2021-05-04 15:18 William Hubbs
2021-05-10 16:22 Mikle Kolyada
2021-05-13 15:28 William Hubbs
2021-05-14 8:38 Mikle Kolyada
2021-09-01 16:42 William Hubbs
2022-06-20 1:41 William Hubbs
2022-07-17 21:08 William Hubbs
2022-10-21 17:40 William Hubbs
2023-10-28 21:40 John Helmert III
2024-10-02 22:53 Sam James
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=1544210005.649ff4f31db35c578c6b2e714a7a413dca27d8ed.mrueg@gentoo \
--to=mrueg@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