summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2020-09-07 16:52:01 -0500
committerWilliam Hubbs <williamh@gentoo.org>2020-09-07 16:54:22 -0500
commitea0988fea270d3bd0c85a6bbb03a920e813e68ab (patch)
treee2a77851aeba0aee32b510d6e58b55a0090cba80 /app-metrics/mongodb_exporter
parentacct-user/mongodb_exporter: add user for mongodb_exporter (diff)
downloadgentoo-ea0988fea270d3bd0c85a6bbb03a920e813e68ab.tar.gz
gentoo-ea0988fea270d3bd0c85a6bbb03a920e813e68ab.tar.bz2
gentoo-ea0988fea270d3bd0c85a6bbb03a920e813e68ab.zip
app-metrics/mongodb_exporter: 0.11.1 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.1.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-metrics/mongodb_exporter/Manifest b/app-metrics/mongodb_exporter/Manifest
index eaa7819b01dc..69a3c43cb695 100644
--- a/app-metrics/mongodb_exporter/Manifest
+++ b/app-metrics/mongodb_exporter/Manifest
@@ -1,2 +1,3 @@
DIST mongodb_exporter-0.11.0.tar.gz 2638227 BLAKE2B c8d6cde2fcc40bcdbbd84276d78e8ee2012a0237637ce51a67d458d030a4f8b8d5b72b3eb434cbbfd403aa7481ed76651b2af181b3785abf913ae6cfd4f2faf0 SHA512 08c2f889c5f503804af35e41220729fa9fae3226cfb89642964edc8c391fe8209cd6f8246b0e904711a63a1c0cf613d5666373035d94db537840ae9ac561c2cf
+DIST mongodb_exporter-0.11.1.tar.gz 2640277 BLAKE2B 8ae0418466462d4dfebe97d48b47d0a163435f1776bceb6d35ab50d98cefa0bf737f57fc74aadebf16c285e2dd63fe2e4719571db7c5a9f942e740dab7509d91 SHA512 81a9c5877bba6e85fcdcc9e3781bbec82b255710e8292ea377ea9c9234526b7ad521350f8bd36ae7773f76f40b650cd724d552020e17feb61210ed6197be5172
DIST mongodb_exporter-0.6.2.tar.gz 1296198 BLAKE2B 4cd04b5e69788f2bbe3e87eafe6a7cf4f0a2e72abff4784176299e46943eac2219141beed2f8d11cc8a2458737456d8edaed42a5392bedd017e85315dc75ba1d SHA512 52c1464af82c09fc79338e805e62936d4da8131cea1bb6608500fa36a2d4069676eace5da0ed1b14d82de9d626be301b42c7bc1d5c620bbecb47ae9a350ecd65
diff --git a/app-metrics/mongodb_exporter/mongodb_exporter-0.11.1.ebuild b/app-metrics/mongodb_exporter/mongodb_exporter-0.11.1.ebuild
new file mode 100644
index 000000000000..30b674765a5d
--- /dev/null
+++ b/app-metrics/mongodb_exporter/mongodb_exporter-0.11.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+COMMIT=f5e8ebea31d6fa128ae3a2fb1b747fdf4b782b2b
+BRANCH=0.11.0
+
+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"
+
+COMMON_DEPEND="acct-group/mongodb_exporter
+ acct-user/mongodb_exporter"
+ DEPEND="${COMMON_DEPEND}"
+ RDEPEND="${COMMON_DEPEND}"
+
+src_compile() {
+ GOFLAGS="${GOFLAGS} -mod=vendor" emake \
+ TRAVIS_TAG="${PV}" \
+ APP_REVISION=${COMMIT} \
+ TRAVIS_BRANCH=${BRANCH} \
+ build
+}
+
+src_install() {
+ dobin bin/${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}
+}