net-dns/check_dns_sync: Nagios sync zones check (new ebuild)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-03-28 15:40:23 +01:00
parent 36c1a20574
commit dd657b0a93
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,29 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 git-r3
DESCRIPTION="A nagios-like plugin to check that zones are synced"
HOMEPAGE="https://github.com/paulla/check_dns_sync"
EGIT_REPO_URI="https://github.com/paulla/check_dns_sync.git"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/nagiosplugin[${PYTHON_USEDEP}]
"
BDEPEND=""
src_install() {
default
exeinto /usr/lib64/nagios/plugins/
newexe src/check_dns_sync/check_dns_sync.py check_dns_sync
}

View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>alarig@swordarmor.fr</email>
<name>Alarig Le Lay</name>
</maintainer>
</pkgmetadata>