summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2024-03-24 22:18:32 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2024-03-24 22:20:15 -0700
commita31db516d1fef6769c875871c751886a7b5a7a87 (patch)
tree2b76c3246b8e8673149ac21abf61578d23cedbeb /app-metrics
parentapp-metrics/bind_exporter: QA: fix EmptyGlobalAssignment (diff)
downloadgentoo-a31db516d1fef6769c875871c751886a7b5a7a87.tar.gz
gentoo-a31db516d1fef6769c875871c751886a7b5a7a87.tar.bz2
gentoo-a31db516d1fef6769c875871c751886a7b5a7a87.zip
app-metrics/bind_exporter: QA: fix RedundantVersion
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r--app-metrics/bind_exporter/Manifest1
-rw-r--r--app-metrics/bind_exporter/bind_exporter-0.3.0.ebuild55
-rw-r--r--app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild58
3 files changed, 0 insertions, 114 deletions
diff --git a/app-metrics/bind_exporter/Manifest b/app-metrics/bind_exporter/Manifest
index 9c17ec11501a..262a8c84766b 100644
--- a/app-metrics/bind_exporter/Manifest
+++ b/app-metrics/bind_exporter/Manifest
@@ -1,3 +1,2 @@
-DIST bind_exporter-0.3.0.tar.gz 1796507 BLAKE2B a79b9e0d159d3deb83f1a040325ad34bc0d4ae50b6af205dce4ebf8d7152ccbd4b7d46fda40bf76db953996ddf4237ca13058250478b08cca51b8bea08ccc31b SHA512 762901a63a9493f852e5514429f55b10400931f0a77d2e11c7565e93e1ff759eb30d3bbc9278451bb9df358a983aa099bd55cf57241cf36187d2789c89a3852d
DIST bind_exporter-0.6.1-vendor.tar.xz 1300068 BLAKE2B 058f4f61ff9c403a5672390dd3944dec9a6b4b1dcf8ac7bcb6943494d43c116236e23f4b0437d5b2e91cb0d936377ba896740594d90b50ce99a61963713ab70c SHA512 9fd880655ac9657d49c0d250b22e46c53a63c0a2d4097763ca8856da36f75527d515a4e4cde7dd68c2c5cbf4ea784c07d9bd5e38a01eeb2d308a585c31d5c19b
DIST bind_exporter-0.6.1.tar.gz 48904 BLAKE2B ad2def162e0fac5e857328bb142bc20655d0d1ea4a9d90a3bd8d305a3d86f9247671ca92f90d5ccdcb1a8bd147ed56858a9782feeac019b87666b4b18b7219c1 SHA512 d710b7228587e12a101a1d626ec5e0290b0740074f3976eee02463165030b361d3b6df556ab949d632488582ef6d4a3197270afc197d6d756a99c16e55c5448c
diff --git a/app-metrics/bind_exporter/bind_exporter-0.3.0.ebuild b/app-metrics/bind_exporter/bind_exporter-0.3.0.ebuild
deleted file mode 100644
index 1f984c920f02..000000000000
--- a/app-metrics/bind_exporter/bind_exporter-0.3.0.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-GIT_COMMIT=c34ff3d6b4817f42e74b2b05b3797cf99683b4a9
-
-DESCRIPTION="Prometheus exporter for BIND"
-HOMEPAGE="https://github.com/digitalocean/bind_exporter"
-SRC_URI="https://github.com/digitalocean/bind_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="Apache-2.0 BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-COMMON_DEPEND="acct-group/bind_exporter
- acct-user/bind_exporter"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="dev-util/promu"
-
-src_prepare() {
- default
- sed -i -e "/-s$/d" -e "s/{{.Revision}}/${GIT_COMMIT}/" .promu.yml || die
-}
-
-src_compile() {
- mkdir -p bin || die
- promu build -v --prefix bin || die
-}
-
-src_test() {
- emake test-flags= test
-}
-
-src_install() {
- dobin bin/${PN}
- dodoc {README,CHANGELOG}.md
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- keepdir /var/log/${PN}
- fowners ${PN}:${PN} /var/log/${PN}
-}
-
-pkg_postinst() {
- elog "Make sure BIND was built with libxml2 support. You can check with the"
- elog "following command: named -V | grep libxml2."
- elog "Configure BIND to open a statistics channel. It's recommended to run"
- elog "the bind_exporter next to BIND, so it's only necessary to open a port"
- elog "locally."
- elog ""
- elog "statistics-channels {"
- elog "inet 127.0.0.1 port 8053 allow { 127.0.0.1; };"
- elog "};"
-}
diff --git a/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild b/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild
deleted file mode 100644
index 85c7fb1fd672..000000000000
--- a/app-metrics/bind_exporter/bind_exporter-0.6.1.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit go-module
-GIT_COMMIT=c34ff3d6b4817f42e74b2b05b3797cf99683b4a9
-
-DESCRIPTION="Prometheus exporter for BIND"
-HOMEPAGE="https://github.com/prometheus-community/bind_exporter"
-SRC_URI="
- https://github.com/prometheus-community/bind_exporter/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
- https://dev.gentoo.org/~robbat2/distfiles/bind_exporter-${PV}-vendor.tar.xz
- "
-
-LICENSE="Apache-2.0 BSD MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-COMMON_DEPEND="acct-group/bind_exporter
- acct-user/bind_exporter"
-DEPEND="${COMMON_DEPEND}"
-RDEPEND="${COMMON_DEPEND}"
-BDEPEND="dev-util/promu"
-
-src_prepare() {
- default
- sed -i -e "/-s$/d" -e "s/{{.Revision}}/${GIT_COMMIT}/" .promu.yml || die
-}
-
-src_compile() {
- mkdir -p bin || die
- promu build -v --prefix bin || die
-}
-
-src_test() {
- emake test-flags= test
-}
-
-src_install() {
- dobin bin/${PN}
- dodoc {README,CHANGELOG}.md
- newinitd "${FILESDIR}"/${PN}.initd ${PN}
- newconfd "${FILESDIR}"/${PN}.confd ${PN}
- keepdir /var/log/${PN}
- fowners ${PN}:${PN} /var/log/${PN}
-}
-
-pkg_postinst() {
- elog "Make sure BIND was built with libxml2 support. You can check with the"
- elog "following command: named -V | grep libxml2."
- elog "Configure BIND to open a statistics channel. It's recommended to run"
- elog "the bind_exporter next to BIND, so it's only necessary to open a port"
- elog "locally."
- elog ""
- elog "statistics-channels {"
- elog "inet 127.0.0.1 port 8053 allow { 127.0.0.1; };"
- elog "};"
-}