Alarig Le Lay
2cffb8a009
Moving net-dns/check_dane to net-dns/nagios-check_dane Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
34 lines
647 B
Bash
34 lines
647 B
Bash
# Copyright 2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
MY_PN=${PN/nagios-/}
|
|
|
|
DESCRIPTION="Nagios/Icinga plugin for checking DANE/TLSA records"
|
|
HOMEPAGE="https://github.com/debfx/check_dane"
|
|
MY_GITHUB_AUTHOR="debfx"
|
|
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}
|
|
>=dev-lang/python-3.4
|
|
dev-libs/openssl
|
|
dev-python/dnspython
|
|
"
|
|
BDEPEND=""
|
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
src_install() {
|
|
exeinto /usr/lib64/nagios/plugins/
|
|
doexe check_dane
|
|
|
|
dodoc README.md
|
|
}
|