diff options
Diffstat (limited to 'app-metrics/ceph_exporter')
-rw-r--r-- | app-metrics/ceph_exporter/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/ceph_exporter/ceph_exporter-4.1.1-r1.ebuild | 35 |
2 files changed, 36 insertions, 0 deletions
diff --git a/app-metrics/ceph_exporter/Manifest b/app-metrics/ceph_exporter/Manifest index caadbf6c1b74..c5fffd11bb4d 100644 --- a/app-metrics/ceph_exporter/Manifest +++ b/app-metrics/ceph_exporter/Manifest @@ -5,5 +5,6 @@ DIST ceph_exporter-4.0.1.tar.gz 143653 BLAKE2B 2a8c907fb5ff06bc629644aab94b45064 DIST ceph_exporter-4.1.1-deps.tar.xz 7386488 BLAKE2B d5ccacba93ae8ee0f03f349860e02e19bb52a5bd6af7ec1b2c6209d29834a74a6934f19a9435f5be1539e6f141ec41e1219b62660aff90a529513b91a3d0649e SHA512 a6f9a8053d3a8957bd03535089c3bb3c818f153f69c2488db08d0fc9a63f7d30ff3b490b0f0fd81399153a19c853239a9744564881c159bc88f5cf91807e10b0 DIST ceph_exporter-4.1.1.tar.gz 146022 BLAKE2B d833b59418148efb1008d7d444f27a9310d1214197abfb022f74c8fd7af15eceb04c26bab8307eca80bbb4c60b54e7469da74562e38e06cbf7c3559f01d2e0d2 SHA512 1f840d02b50c6cd55c1fb78d44a9fb0beafd241168d3c1d4ad2a9ede67a4fd67b48311de8af0b637a07b04a562938afb72a3379a3c40d765f73923024a8ddd62 EBUILD ceph_exporter-4.0.1.ebuild 939 BLAKE2B 575f51efcfa7aa42de719f2ac2c8a1760afc5a2fd13f8cbc79ae2401dcaa78b72887938076b6fa6c8769dd4903d05b81f41585d77be872a3677c512ddc9747d5 SHA512 6797ad6fedb132e3caaf465f47a18411791a8f0c9d40a02cd3860c177a381d543775ac47af01a100052de47ea19aae6f4eee0bf90e3db60993f45f970010cbdd +EBUILD ceph_exporter-4.1.1-r1.ebuild 934 BLAKE2B fbcd0f5f5767cb675a76849a6d5d80804cc1ad59be35bc36c10fa240b8802721a8f03795c5c46ca3900233c65777af6dd6a1135e1e6db56722dcb4910218219d SHA512 e95798b8c9359dfc3892f7bdfee43c42ffc5846e20e5faecd8e538cbd6cfd72ba4519e5decacebb58809a22da7a2816731de2fc88a990e24c10817245c6ebc7c EBUILD ceph_exporter-4.1.1.ebuild 939 BLAKE2B 576fec9360493d90dd1f38c74bfdfe096eb412df2e17fc4de0285ab0eb9b514ed246483ecaacd775b628228ce2b60173ccf07ce353911a81b59cfdc515cda12a SHA512 38c9d3e19d30b00babe69bebfc4146877c391cb82881cd37d6e742272637067ba4dc0e6335acc7a61f90973fd2223feee13df2026ea6f8ac6c79de4cdf9ecbcb MISC metadata.xml 243 BLAKE2B 63665ae2020bc799fa6ebd6e1fca6755be6498803fdbc17cc630f9f4ffa03fbd46a9ad396e70adc3bc1c32b0a746fe4bab1c6291f32e68e636251207bca9e95c SHA512 78eab20831018fcf4957171a83aaaca9ced53380e01f083c07450c30fa1adfc02dd50ff2fa9f491dd62802f6e779264add1c47a09ade0a35cda558c1d5529ad0 diff --git a/app-metrics/ceph_exporter/ceph_exporter-4.1.1-r1.ebuild b/app-metrics/ceph_exporter/ceph_exporter-4.1.1-r1.ebuild new file mode 100644 index 000000000000..c81f82f998d2 --- /dev/null +++ b/app-metrics/ceph_exporter/ceph_exporter-4.1.1-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +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/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + acct-group/ceph + acct-user/ceph + sys-cluster/ceph +" +DEPEND="${RDEPEND}" +BDEPEND=">=dev-lang/go-1.18" + +src_compile() { + go build -o bin/ceph_exporter || die +} + +src_install() { + 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 +} |