diff --git a/net-analyzer/nagios-check_sshfp/Manifest b/net-analyzer/nagios-check_sshfp/Manifest new file mode 100644 index 0000000..656b74d --- /dev/null +++ b/net-analyzer/nagios-check_sshfp/Manifest @@ -0,0 +1,2 @@ +EBUILD nagios-check_sshfp-9999.ebuild 825 SHA256 7f7ba135642579983a8af396ae38333ad68d34ad06491453a98791ba44f03c71 SHA512 0c64299ebe288dfac0277428e47cd1ff73e5922384e241092d2f8526a898c671c108142bcbf316a3213017fabac41124666fb93dd4ba3e3d8c597d483765ecc6 WHIRLPOOL c62f2cc8f8bae22c5d4ceec86f072ec7da23d73b378854852b8eea730a84d48343807a9232f1cf451b6f6ce0f50eb462fb29d8c8e8b6c0f0fe06e83bcbdc4eda +MISC metadata.xml 242 SHA256 c8415a3f040bd9e29122ce3258d3eee5cf01ef92c0890d33b8a6de927d4e40c0 SHA512 8284b28c7e92d272da0bb9995d175e2a4af88bdc5d0bdffe85d9e120b19a495b9f30625fc13159cf65bf77523d9f3b15b4ac30d99e71ad29b4d8c51a5cb66ccb WHIRLPOOL 2de1245ea33790bd12bb60602c77ef9e2ab1a8caba24466cfa97a2b56e7ca1d749393eee9d29ffe60a512179ab4c7cec938107b774b03bb005a9c252df9805dd diff --git a/net-analyzer/nagios-check_sshfp/metadata.xml b/net-analyzer/nagios-check_sshfp/metadata.xml new file mode 100644 index 0000000..9c2726e --- /dev/null +++ b/net-analyzer/nagios-check_sshfp/metadata.xml @@ -0,0 +1,8 @@ + + + + + gentoo@nemunai.re + Nemunaire + + diff --git a/net-analyzer/nagios-check_sshfp/nagios-check_sshfp-9999.ebuild b/net-analyzer/nagios-check_sshfp/nagios-check_sshfp-9999.ebuild new file mode 100644 index 0000000..a20a6fa --- /dev/null +++ b/net-analyzer/nagios-check_sshfp/nagios-check_sshfp-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_{3,4,5} ) + +if [[ ${PV} == *9999 ]] ; then + EGIT_REPO_URI="https://github.com/stump/check_sshfp.git" + inherit git-r3 + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/stump/check_sshfp/archive/${PV}.tar.gz" + KEYWORDS="~arm" + MY_P=${P/nagios-/} + S="${WORKDIR}/${MY_P}" +fi + +inherit multilib + +DESCRIPTION="check_sshfp is a Nagios plugins to check SSHFP records" +HOMEPAGE="https://github.com/stump/check_sshfp" + +LICENSE="BSD" +SLOT="0" +IUSE="" + +DEPEND="dev-python/dnspython:py3 + net-analyzer/nagios-plugins + net-misc/openssh" +RDEPEND="${DEPEND}" + +src_install() { + local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" + exeinto "${nagiosplugindir}" + doexe check_sshfp +}