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/ceph_exporter/
Date: Fri,  6 May 2022 17:06:37 +0000 (UTC)	[thread overview]
Message-ID: <1651856023.3d0e32b52265e821b16a20c86cccd6c71a2abaf4.williamh@gentoo> (raw)

commit:     3d0e32b52265e821b16a20c86cccd6c71a2abaf4
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri May  6 16:53:43 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri May  6 16:53:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0e32b5

app-metrics/ceph_exporter: add 3.0.0

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

 app-metrics/ceph_exporter/Manifest                 |  1 +
 .../ceph_exporter/ceph_exporter-3.0.0.ebuild       | 39 ++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/app-metrics/ceph_exporter/Manifest b/app-metrics/ceph_exporter/Manifest
index 2f4769c7b1ce..a7e24f1e244a 100644
--- a/app-metrics/ceph_exporter/Manifest
+++ b/app-metrics/ceph_exporter/Manifest
@@ -1,2 +1,3 @@
+DIST ceph_exporter-3.0.0.tar.gz 336128 BLAKE2B 32f25ea46a147be20bb4f095ab01e9f97bc17ad6b852140c9254cfb6099531c51b0867c50abccd04dd396a758e2179ebf20a6cb315fd8c474e320c303c9f1644 SHA512 815cb676d4dcf49a665ec024e82d4047c94b9fbf9c7e0d2998028da6fa074313f0bb10f3831a16d05abd28c2954605f628977f728ac37f1a69fbc9d734304747
 DIST ceph_exporter-4.0.1-deps.tar.xz 7402752 BLAKE2B 4619eba4c1630cd683193fec8f449698587dc8d17c26992e033fa7495934de26bcca84fac4ac174e25e7f405c27033fc324703748cac59f90b6e58c2548f8cd2 SHA512 893a6d246c640647ac55f5f32d657cbd80bec3c9404e1484e6188e4e045a20d01d50559723105f179d438019f66d904938a24ce164f85a41631930067d92f7ba
 DIST ceph_exporter-4.0.1.tar.gz 143653 BLAKE2B 2a8c907fb5ff06bc629644aab94b450646f6b25ff057d2b01485f0131cef3e64e3b159f029f29cf78c8d6b450ff9b750858799fe079256509e31e5b8bcf3e012 SHA512 154e75cc397635450d2b99e5e56c829fd5816e9aad95707eff42500ce21fd92a6d12772a58530b580b8e14e5db7c32d2d24f395175f414df9d89fbcbb8239ece

diff --git a/app-metrics/ceph_exporter/ceph_exporter-3.0.0.ebuild b/app-metrics/ceph_exporter/ceph_exporter-3.0.0.ebuild
new file mode 100644
index 000000000000..ca3148b06ba0
--- /dev/null
+++ b/app-metrics/ceph_exporter/ceph_exporter-3.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN=github.com/digitalocean/ceph_exporter
+MY_PV="${PV}-nautilus"
+# This inherit is deliberate since this version of ceph_exporter isn't a
+# module.
+inherit golang-vcs-snapshot
+
+DESCRIPTION="Prometheus exporter that scrapes metrics from a ceph cluster"
+HOMEPAGE="https://github.com/digitalocean/ceph_exporter"
+SRC_URI="https://github.com/digitalocean/ceph_exporter/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	acct-group/ceph
+	acct-user/ceph
+	=sys-cluster/ceph-15*
+"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+	pushd src/${EGO_PN} > /dev/null || die
+	GOPATH="${WORKDIR}/${P}" GO111MODULE=auto go build -o bin/ceph_exporter || die
+}
+
+src_install() {
+	pushd src/${EGO_PN} > /dev/null || die
+	dobin bin/ceph_exporter
+	dodoc {README,CONTRIBUTING}.md exporter.yml
+	newconfd "${FILESDIR}"/${PN}.confd ${PN}
+	newinitd "${FILESDIR}"/${PN}.initd ${PN}
+	keepdir /var/lib/ceph_exporter /var/log/ceph_exporter
+	fowners ceph:ceph /var/lib/ceph_exporter /var/log/ceph_exporter
+}


             reply	other threads:[~2022-05-06 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-06 17:06 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-29 15:42 [gentoo-commits] repo/gentoo:master commit in: app-metrics/ceph_exporter/ William Hubbs
2023-11-08 19:30 Andreas Sturmlechner
2023-03-08 16:24 William Hubbs
2022-07-22 21:28 Sam James
2022-05-13 10:59 Michał Górny
2022-05-06 17:06 William Hubbs

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=1651856023.3d0e32b52265e821b16a20c86cccd6c71a2abaf4.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