summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-07 13:35:42 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-03-07 13:35:42 +0100
commitf7e3e8b06727e67459f2f0bafe5cf73c96742eb9 (patch)
treeeb49e61c7781d68358ae3c964be0bfb73a9dc8ce /app-metrics
parentapp-metrics/vault_exporter: bump to EAPI=7 (diff)
downloadgentoo-f7e3e8b06727e67459f2f0bafe5cf73c96742eb9.tar.gz
gentoo-f7e3e8b06727e67459f2f0bafe5cf73c96742eb9.tar.bz2
gentoo-f7e3e8b06727e67459f2f0bafe5cf73c96742eb9.zip
app-metrics/vault_exporter: drop old version
Package-Manager: Portage-3.0.16, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/vault_exporter/vault_exporter-0.1.2.ebuild40
1 files changed, 0 insertions, 40 deletions
diff --git a/app-metrics/vault_exporter/vault_exporter-0.1.2.ebuild b/app-metrics/vault_exporter/vault_exporter-0.1.2.ebuild
deleted file mode 100644
index eb964ab3a6c2..000000000000
--- a/app-metrics/vault_exporter/vault_exporter-0.1.2.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit user golang-build golang-vcs-snapshot
-
-MY_PV=${PV/_/}
-
-EGO_PN="github.com/grapeshot/vault_exporter"
-ARCHIVE_URI="https://${EGO_PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-
-DESCRIPTION="Vault exporter for Prometheus"
-HOMEPAGE="https://github.com/grapeshot/vault_exporter"
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="Apache-2.0 BSD MIT MPL-2.0"
-SLOT="0"
-IUSE=""
-
-pkg_setup() {
- enewgroup ${PN}
- enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_compile() {
- pushd src/${EGO_PN} || die
- GOPATH="${S}" emake build
- popd || die
-}
-
-src_install() {
- pushd src/${EGO_PN} || die
- newbin _output/bin/vault_exporter-v${PV}* vault_exporter
- dodoc README.md
- popd || die
- keepdir /var/log/vault_exporter
- fowners ${PN}:${PN} /var/log/vault_exporter
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}