app-metrics/nginx-vts-exporter: drop 0.10.3, 0.10.7

Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
Conrad Kostecki
2022-03-15 16:43:31 +01:00
parent 3e85e67f0f
commit e7fa483920
3 changed files with 0 additions and 90 deletions
-1
View File
@@ -1,2 +1 @@
DIST nginx-vts-exporter-0.10.3.tar.gz 149578 BLAKE2B c73a8cfdb875fcc02d3b7d66f5b436b9e3e8d516c8a241062721e3124452722e9e30abefd5c79e89772a480fad005d0cf25d0359dd253a39d7ae5a20495f074a SHA512 0ee97be313dc829ae9e23bc836d7e11106c4843306583ff8baa38fa10bd9d56396ae3f6ce12cad4e08a383047c3179013962284aef6e627b23b89c72c564789e
DIST nginx-vts-exporter-0.10.7.tar.gz 436116 BLAKE2B 0b6306f20c429fb30e166a6862d7b050f80f6fa47ef2db07d9cd883dfc92e70e2099b99bcab2e7530f1350da955abd1abbbf538613691d2ba76bcccaca2837e7 SHA512 54145aa7c4298e1ab65087c42258b690649e0e374d7bcc4abc426a128878849921afecd4bd25cca67ca2b3c65e3abb2786c09d4ffe811cbbec65e7257fe9a043
@@ -1,47 +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/hnlq715/nginx-vts-exporter"
EXPORTER_COMMIT="8aa2881c7050d9b28f2312d7ce99d93458611d04"
ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
DESCRIPTION="Nginx virtual host traffic stats exporter for Prometheus"
HOMEPAGE="https://github.com/hnlq715/nginx-vts-exporter"
SRC_URI="${ARCHIVE_URI}"
LICENSE="MIT Apache-2.0 BSD"
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.md
popd || die
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}
@@ -1,42 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit go-module
EGO_PN="github.com/hnlq715/nginx-vts-exporter"
EXPORTER_COMMIT=b935b793fbd8478d3feea529b036e753169ddabd
DESCRIPTION="Nginx virtual host traffic stats exporter for Prometheus"
HOMEPAGE="https://github.com/hnlq715/nginx-vts-exporter"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT Apache-2.0 BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
BDEPEND="dev-util/promu"
COMMON_DEPEND="acct-group/nginx-vts-exporter
acct-user/nginx-vts-exporter"
src_prepare() {
default
sed -i \
-e "/-s$/d" \
-e "s/{{.Revision}}/${EXPORTER_COMMIT}/" \
.promu.yml || die
}
src_compile() {
mkdir -p bin || die
promu build -v --prefix bin || die
}
src_install() {
newbin bin/${P} ${PN}
dodoc README.md
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
}