net-analyzer/nagios-check_domain_expiration_rdap: new package, add 9999
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
b31f98a359
commit
82e69ecc55
|
@ -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
|
|
@ -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>
|
|
@ -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
|
||||||
|
}
|
Loading…
Reference in a new issue