diff options
author | William Hubbs <williamh@gentoo.org> | 2020-07-05 10:55:09 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-07-05 12:17:40 -0500 |
commit | 408b57ea8ee03a701f6829fb73fe76c85153efdc (patch) | |
tree | 892dacce52f8b7f78c37e448ba09da823c27bc2e /app-metrics | |
parent | dev-python/pycurl: Stabilize 7.43.0.5 amd64, #720564 (diff) | |
download | gentoo-408b57ea8ee03a701f6829fb73fe76c85153efdc.tar.gz gentoo-408b57ea8ee03a701f6829fb73fe76c85153efdc.tar.bz2 gentoo-408b57ea8ee03a701f6829fb73fe76c85153efdc.zip |
app-metrics/bind_exporter: remove old
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'app-metrics')
-rw-r--r-- | app-metrics/bind_exporter/Manifest | 1 | ||||
-rw-r--r-- | app-metrics/bind_exporter/bind_exporter-0.2.0_p20190226.ebuild | 59 |
2 files changed, 0 insertions, 60 deletions
diff --git a/app-metrics/bind_exporter/Manifest b/app-metrics/bind_exporter/Manifest index 11a260628b3c..8a39f9d61057 100644 --- a/app-metrics/bind_exporter/Manifest +++ b/app-metrics/bind_exporter/Manifest @@ -1,2 +1 @@ -DIST bind_exporter-0.2.0_p20190226.tar.gz 874497 BLAKE2B ce04a168be6844d43ed2c358aa6469d5dbae1730825e4c3c038805f4bbf071bfae2936a6a5341832939e3ed249e5d484f2ca0908ac0e717cd2b5ced496c44a49 SHA512 95a8ae6f7c6470345d5a5f7e4e36eae282e5ca74393dd4372342f44732b54a6cc977ae037d6d16ae4ce6a9ac526b2e01721f5468a6469c30ae60ca59dfec8d5a DIST bind_exporter-0.3.0.tar.gz 1796507 BLAKE2B a79b9e0d159d3deb83f1a040325ad34bc0d4ae50b6af205dce4ebf8d7152ccbd4b7d46fda40bf76db953996ddf4237ca13058250478b08cca51b8bea08ccc31b SHA512 762901a63a9493f852e5514429f55b10400931f0a77d2e11c7565e93e1ff759eb30d3bbc9278451bb9df358a983aa099bd55cf57241cf36187d2789c89a3852d diff --git a/app-metrics/bind_exporter/bind_exporter-0.2.0_p20190226.ebuild b/app-metrics/bind_exporter/bind_exporter-0.2.0_p20190226.ebuild deleted file mode 100644 index e9417f245b26..000000000000 --- a/app-metrics/bind_exporter/bind_exporter-0.2.0_p20190226.ebuild +++ /dev/null @@ -1,59 +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 - -EGO_PN="github.com/digitalocean/bind_exporter" -EXPORTER_COMMIT="9289b40af62a455ebd587ed4701dd543f4cc5877" -ARCHIVE_URI="https://${EGO_PN}/archive/${EXPORTER_COMMIT}.tar.gz -> ${P}.tar.gz" -KEYWORDS="~amd64" - -DESCRIPTION="Prometheus exporter for BIND" -HOMEPAGE="https://github.com/digitalocean/bind_exporter" -SRC_URI="${ARCHIVE_URI}" -LICENSE="Apache-2.0 BSD MIT" -SLOT="0" -IUSE="" - -DEPEND="dev-util/promu" - -pkg_setup() { - enewgroup ${PN} - enewuser ${PN} -1 -1 -1 ${PN} -} - -src_prepare() { - default - sed -i -e "/-s$/d" -e "s/{{.Revision}}/${EXPORTER_COMMIT}/" src/${EGO_PN}/.promu.yml || die -} - -src_compile() { - pushd src/${EGO_PN} || die - mkdir -p bin || die - GOPATH="${S}" promu build -v --prefix bin || die - popd || die -} - -src_install() { - pushd src/${EGO_PN} || die - dobin bin/${PN} - dodoc {README,CHANGELOG}.md - popd || die - keepdir /var/log/${PN} - fowners ${PN}:${PN} /var/log/${PN} - newinitd "${FILESDIR}"/${PN}.initd ${PN} - newconfd "${FILESDIR}"/${PN}.confd ${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 "};" -} |