Add unbound-exporter

This commit is contained in:
2023-05-06 08:23:21 +02:00
committed by Olivier van der Toorn
parent c53569d3e7
commit 87be7d99ef
2 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,23 @@
EAPI=8
inherit unpacker
DESCRIPTION="Unbound Exporter"
HOMEPAGE="https://github.com/letsencrypt/unbound_exporter"
SRC_URI="https://gitlab.com/gitlab-org/cli/-/releases/v${PV}/downloads/glab_${PV}_Linux_x86_64.deb"
SRC_URI="https://github.com/letsencrypt/unbound_exporter/releases/download/v${PV}/unbound_exporter-v${PV}.x86_64.deb"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64"
src_unpack() {
unpack_deb ${A}
}
src_install() {
insinto /
doins -r usr
fperms a+x /usr/bin/unbound_exporter
}