check_soa: Add check_soa.py for DNS(SEC) monitoring

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2024-05-28 17:47:40 +02:00
parent 6fd536d483
commit 9ae0f514dc
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#
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"
RDEPEND="${PYTHON_DEPS}
dev-python/dnspython"
DEPEND="${PYTHON_DEPS}"
KEYWORDS="amd64"
SLOT="0"
S="${WORKDIR}/check-soa-${MY_PV}"
DOCS=( README.md )
src_install() {
default_src_install
newbin check_soa.py check_soa
}