SwordArMor-gentoo-overlay/net-dns/nagios-check_dns_sync/nagios-check_dns_sync-9999.ebuild
Alarig Le Lay be94da92d8
net-dns/nagios-check_dns_sync: Moving from net-dns/check_dns_sync
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2020-03-28 23:58:16 +01:00

34 lines
681 B
Bash

# 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
MY_PN=${PN/nagios-/}
DESCRIPTION="A nagios-like plugin to check that zones are synced"
HOMEPAGE="https://github.com/paulla/check_dns_sync"
MY_GITHUB_AUTHOR="paulla"
EGIT_REPO_URI="https://github.com/${MY_GITHUB_AUTHOR}/${MY_PN}.git"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND=""
RDEPEND="
${DEPEND}
dev-python/nagiosplugin[${PYTHON_USEDEP}]
net-dns/bind-tools
"
BDEPEND=""
src_install() {
default
exeinto /usr/lib64/nagios/plugins/
newexe src/check_dns_sync/check_dns_sync.py check_dns_sync
}