summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-07-05 17:29:52 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-07-05 17:30:46 -0500
commitdf1a99da64d202b10592de1b0b01abd4840fc08a (patch)
tree4566fa45d24244d318aaf97de3463ce8d51d2a2c /app-metrics/mongodb_exporter
parentdev-cpp/asio: Remove old (diff)
downloadgentoo-df1a99da64d202b10592de1b0b01abd4840fc08a.tar.gz
gentoo-df1a99da64d202b10592de1b0b01abd4840fc08a.tar.bz2
gentoo-df1a99da64d202b10592de1b0b01abd4840fc08a.zip
app-metrics/mongodb_exporter: 0.11.0 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics/mongodb_exporter')
-rw-r--r--app-metrics/mongodb_exporter/Manifest1
-rw-r--r--app-metrics/mongodb_exporter/mongodb_exporter-0.11.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/app-metrics/mongodb_exporter/Manifest b/app-metrics/mongodb_exporter/Manifest
index b94ed40612d2..eaa7819b01dc 100644
--- a/app-metrics/mongodb_exporter/Manifest
+++ b/app-metrics/mongodb_exporter/Manifest
@@ -1 +1,2 @@
+DIST mongodb_exporter-0.11.0.tar.gz 2638227 BLAKE2B c8d6cde2fcc40bcdbbd84276d78e8ee2012a0237637ce51a67d458d030a4f8b8d5b72b3eb434cbbfd403aa7481ed76651b2af181b3785abf913ae6cfd4f2faf0 SHA512 08c2f889c5f503804af35e41220729fa9fae3226cfb89642964edc8c391fe8209cd6f8246b0e904711a63a1c0cf613d5666373035d94db537840ae9ac561c2cf
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
diff --git a/app-metrics/mongodb_exporter/mongodb_exporter-0.11.0.ebuild b/app-metrics/mongodb_exporter/mongodb_exporter-0.11.0.ebuild
new file mode 100644
index 000000000000..88aefeccd854
--- /dev/null
+++ b/app-metrics/mongodb_exporter/mongodb_exporter-0.11.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module user
+EXPORTER_COMMIT=a642618
+
+DESCRIPTION="Prometheus exporter for MongoDB"
+HOMEPAGE="https://github.com/percona/mongodb_exporter"
+SRC_URI="https://github.com/percona/mongodb_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0 AGPL-3 BSD MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-util/promu"
+
+pkg_setup() {
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_compile() {
+ go build -mod=vendor . || die
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc {README,CHANGELOG}.md
+ keepdir /var/log/mongodb_exporter
+ fowners ${PN}:${PN} /var/log/mongodb_exporter
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}