From 82e69ecc55d38e9fb207cb57820f025cfbea6a5e Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 19 Jul 2024 09:12:22 +0200 Subject: [PATCH] net-analyzer/nagios-check_domain_expiration_rdap: new package, add 9999 Signed-off-by: Alarig Le Lay --- .../nagios-check_domain_expiration_rdap-9999 | 16 +++++++++ .../metadata.xml | 8 +++++ ...s-check_domain_expiration_rdap-9999.ebuild | 36 +++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 metadata/md5-cache/net-analyzer/nagios-check_domain_expiration_rdap-9999 create mode 100644 net-analyzer/nagios-check_domain_expiration_rdap/metadata.xml create mode 100644 net-analyzer/nagios-check_domain_expiration_rdap/nagios-check_domain_expiration_rdap-9999.ebuild diff --git a/metadata/md5-cache/net-analyzer/nagios-check_domain_expiration_rdap-9999 b/metadata/md5-cache/net-analyzer/nagios-check_domain_expiration_rdap-9999 new file mode 100644 index 0000000..e2299e8 --- /dev/null +++ b/metadata/md5-cache/net-analyzer/nagios-check_domain_expiration_rdap-9999 @@ -0,0 +1,16 @@ +BDEPEND=>=dev-vcs/git-1.8.2.1[curl] +DEFINED_PHASES=install prepare unpack +DEPEND=dev-python/nagiosplugin[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pandas[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/pyunycode[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] dev-python/requests-cache[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] +DESCRIPTION=Check for a domain expiration using RDAP +EAPI=8 +HOMEPAGE=https://git.grifon.fr/alarig/nagios-check_domain_expiration_rdap +INHERIT=git-r3 python-r1 +IUSE=python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 +KEYWORDS=~amd64 +LICENSE=GPL-3 +PROPERTIES=live +RDEPEND=python_targets_python3_10? ( dev-lang/python:3.10 ) python_targets_python3_11? ( dev-lang/python:3.11 ) python_targets_python3_12? ( dev-lang/python:3.12 ) +REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 ) +SLOT=0 +_eclasses_=git-r3 875eb471682d3e1f18da124be97dcc81 out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 +_md5_=598a14da2707ec5a6e91a8201575f786 diff --git a/net-analyzer/nagios-check_domain_expiration_rdap/metadata.xml b/net-analyzer/nagios-check_domain_expiration_rdap/metadata.xml new file mode 100644 index 0000000..17361c3 --- /dev/null +++ b/net-analyzer/nagios-check_domain_expiration_rdap/metadata.xml @@ -0,0 +1,8 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + diff --git a/net-analyzer/nagios-check_domain_expiration_rdap/nagios-check_domain_expiration_rdap-9999.ebuild b/net-analyzer/nagios-check_domain_expiration_rdap/nagios-check_domain_expiration_rdap-9999.ebuild new file mode 100644 index 0000000..7aff568 --- /dev/null +++ b/net-analyzer/nagios-check_domain_expiration_rdap/nagios-check_domain_expiration_rdap-9999.ebuild @@ -0,0 +1,36 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit git-r3 python-r1 + +DESCRIPTION="Check for a domain expiration using RDAP" +HOMEPAGE="https://git.grifon.fr/alarig/nagios-check_domain_expiration_rdap" +EGIT_REPO_URI="https://git.grifon.fr/alarig/${PN}.git" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND=" + dev-python/nagiosplugin[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyunycode[${PYTHON_USEDEP}] + dev-python/requests-cache[${PYTHON_USEDEP}] +" +RDEPEND="${PYTHON_DEPS}" + +src_prepare() { + mv "${PN/nagios-/}".py "${PN/nagios-/}" + default +} + +src_install() { + python_scriptinto /usr/$(get_libdir)/nagios/plugins/ + python_foreach_impl python_doscript "${PN/nagios-/}" + + dodoc README.md +}