2022-07-05 08:51:58 +02:00
|
|
|
# Copyright 2020-2022 Gentoo Authors
|
2020-03-28 16:17:06 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-07-05 08:51:58 +02:00
|
|
|
EAPI=8
|
2020-03-28 16:17:06 +01:00
|
|
|
|
2023-06-29 00:13:57 +02:00
|
|
|
PYTHON_COMPAT=( python3_{9..11} )
|
2020-05-07 15:49:10 +02:00
|
|
|
inherit python-r1
|
|
|
|
|
2020-03-28 23:38:30 +01:00
|
|
|
MY_PN=${PN/nagios-/}
|
|
|
|
|
2020-03-28 16:17:06 +01:00
|
|
|
DESCRIPTION="Nagios/Icinga plugin for checking DANE/TLSA records"
|
|
|
|
HOMEPAGE="https://github.com/debfx/check_dane"
|
|
|
|
MY_GITHUB_AUTHOR="debfx"
|
2020-03-28 23:38:30 +01:00
|
|
|
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
2020-03-28 16:17:06 +01:00
|
|
|
|
|
|
|
LICENSE="GPL-3"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
>=dev-lang/python-3.4
|
|
|
|
dev-libs/openssl
|
|
|
|
dev-python/dnspython
|
|
|
|
"
|
|
|
|
BDEPEND=""
|
|
|
|
|
2020-03-28 23:38:30 +01:00
|
|
|
S="${WORKDIR}/${MY_PN}-${PV}"
|
|
|
|
|
2020-03-28 16:17:06 +01:00
|
|
|
src_install() {
|
2020-05-07 15:49:10 +02:00
|
|
|
python_scriptinto /usr/lib64/nagios/plugins/
|
|
|
|
python_foreach_impl python_doscript check_dane
|
2020-03-28 16:17:06 +01:00
|
|
|
|
|
|
|
dodoc README.md
|
|
|
|
}
|