Files
gentoo-overlay/net-analyzer/nagios-check-soa/nagios-check-soa-0.0.0_pre20240528.ebuild
2024-05-28 17:59:49 +02:00

30 lines
744 B
Bash

#
EAPI="8"
PYTHON_COMPAT=( python3_{10,11,12} )
inherit python-single-r1
MY_PV="efe95a9bef11c5ea4e48977fcc2fd79f5ffcbab6"
DESCRIPTION="check_soa.py is a simple program to query the SOA record from a list of servers for a given zone and display the serial number"
HOMEPAGE="https://framagit.org/Shaft/check-soa"
SRC_URI="https://framagit.org/Shaft/check-soa/-/archive/${MY_PV}/check-soa-${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
DEPEND="${PYTHON_DEPS}"
RDEPEND="${PYTHON_DEPS}
$(python_gen_cond_dep '
dev-python/dnspython[${PYTHON_USEDEP}]
')"
KEYWORDS="amd64"
SLOT="0"
S="${WORKDIR}/check-soa-${MY_PV}"
DOCS=( README.md )
src_install() {
default_src_install
exeinto "/usr/$(get_libdir)/nagios/plugins"
newexe check_soa.py check_soa
}