forked from gentoo-mirror/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-metrics/mongodb_exporter: 0.11.1 bump
Signed-off-by: William Hubbs <[email protected]>
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
37 changes: 37 additions & 0 deletions
37
app-metrics/mongodb_exporter/mongodb_exporter-0.11.1.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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} | ||
} |