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,2 @@
DIST unbound_exporter-v0.4.1.x86_64.deb 6358676 BLAKE2B a6647632e28f6371d07826917781ca4c17d42a0e6e65394b3dab4d940535791fd0e4bf9eace344c90c1ce646179f5ec7e6c3861e718ec703b4e3d508a291750d SHA512 84fc3622ee18026c0968a5f22856a6129eee0c82cb5fb7d0836c365621fe59562a82b3b277264a1fcd1f9ca13fb85874f5ec6ba0ef3ad9101ead33c5c4e63128
EBUILD unbound-exporter-0.4.1.ebuild 514 BLAKE2B 73415116b65cddb2a8fbd7aa7f0f514697212201960c7ecb26094bfff1b7f48efb3f774cb4871fb70340dab68d7587bb49c970568cfe0feb4d620c620bfaa676 SHA512 96500854a326b727df88a6b9036c2dbd9e52cdf52f2ecdffc58806b4d610a0b6dd2f579fc198283df3f69dbec0b3c2a86cd20a5b162d805f7d04fa399ef10508

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
}