From 07a21f18e56c89fb8feb3d7b1805294335fc6ce1 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Thu, 18 Jul 2024 21:12:51 +0200 Subject: [PATCH 1/3] dev-python/pyunycode: new package, add 0.1.1 Signed-off-by: Alarig Le Lay --- dev-python/pyunycode/Manifest | 1 + dev-python/pyunycode/metadata.xml | 8 +++++++ dev-python/pyunycode/pyunycode-0.1.1.ebuild | 22 +++++++++++++++++++ metadata/md5-cache/dev-python/pyunycode-0.1.1 | 16 ++++++++++++++ 4 files changed, 47 insertions(+) create mode 100644 dev-python/pyunycode/Manifest create mode 100644 dev-python/pyunycode/metadata.xml create mode 100644 dev-python/pyunycode/pyunycode-0.1.1.ebuild create mode 100644 metadata/md5-cache/dev-python/pyunycode-0.1.1 diff --git a/dev-python/pyunycode/Manifest b/dev-python/pyunycode/Manifest new file mode 100644 index 0000000..3e30cc2 --- /dev/null +++ b/dev-python/pyunycode/Manifest @@ -0,0 +1 @@ +DIST pyunycode-0.1.1.tar.gz 3874 BLAKE2B c9418916c77df072fab0154e0414e5fdd71ef987452fa7a68c70e9b809829bd6218dd96aeedc8e0ad058cecac12f04cea7076d057f1c0679da2ce9f0ad0e1227 SHA512 960d81e41b8c38baf7da07acec63ec2dabe90863a7007ef153a2eef006496e6825cb9fba2e9e0e56545724a9785a5efbe9dda6548496a9b20f06c02816a50035 diff --git a/dev-python/pyunycode/metadata.xml b/dev-python/pyunycode/metadata.xml new file mode 100644 index 0000000..17361c3 --- /dev/null +++ b/dev-python/pyunycode/metadata.xml @@ -0,0 +1,8 @@ + + + + + alarig@swordarmor.fr + Alarig Le Lay + + diff --git a/dev-python/pyunycode/pyunycode-0.1.1.ebuild b/dev-python/pyunycode/pyunycode-0.1.1.ebuild new file mode 100644 index 0000000..877135e --- /dev/null +++ b/dev-python/pyunycode/pyunycode-0.1.1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Punycode converter library for python" +HOMEPAGE=" + https://pypi.org/project/pyunycode/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-python/idna[${PYTHON_USEDEP}] +" diff --git a/metadata/md5-cache/dev-python/pyunycode-0.1.1 b/metadata/md5-cache/dev-python/pyunycode-0.1.1 new file mode 100644 index 0000000..bb5738a --- /dev/null +++ b/metadata/md5-cache/dev-python/pyunycode-0.1.1 @@ -0,0 +1,16 @@ +BDEPEND=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 ) >=dev-python/gpep517-15[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] >=dev-python/setuptools-69.0.3[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] +DEFINED_PHASES=compile configure install prepare test +DEPEND=dev-python/idna[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] +DESCRIPTION=Punycode converter library for python +EAPI=8 +HOMEPAGE=https://pypi.org/project/pyunycode/ +INHERIT=distutils-r1 pypi +IUSE=python_targets_python3_10 python_targets_python3_11 python_targets_python3_12 +KEYWORDS=~amd64 +LICENSE=MIT +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 +SRC_URI=https://files.pythonhosted.org/packages/source/p/pyunycode/pyunycode-0.1.1.tar.gz +_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 flag-o-matic e503ea5acc20410237ba33ec3f7c857d out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe ninja-utils 2df4e452cea39a9ec8fb543ce059f8d6 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 distutils-r1 f11e1bc907da246e941fbae648327823 pypi 2eecb475512bc76e5ea9192a681b9e6b +_md5_=31372357f48a08e7cc104538bc6bd25a From 4204481d2bea340d49e24fefcc9ffee2bf39fa0e Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 19 Jul 2024 09:12:22 +0200 Subject: [PATCH 2/3] 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 +} From 663e09b03c305413fe7cfe480fbd949b44f5c980 Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Fri, 19 Jul 2024 09:13:55 +0200 Subject: [PATCH 3/3] net-dns/nagios-check_dane: ebuild improvement Signed-off-by: Alarig Le Lay --- metadata/md5-cache/net-dns/nagios-check_dane-1.1 | 4 ++-- net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/metadata/md5-cache/net-dns/nagios-check_dane-1.1 b/metadata/md5-cache/net-dns/nagios-check_dane-1.1 index 0f73eed..93e73c8 100644 --- a/metadata/md5-cache/net-dns/nagios-check_dane-1.1 +++ b/metadata/md5-cache/net-dns/nagios-check_dane-1.1 @@ -1,5 +1,5 @@ DEFINED_PHASES=install -DEPEND=dev-libs/openssl dev-python/dnspython +DEPEND=dev-libs/openssl dev-python/dnspython[python_targets_python3_10(-)?,python_targets_python3_11(-)?,python_targets_python3_12(-)?] DESCRIPTION=Nagios/Icinga plugin for checking DANE/TLSA records EAPI=8 HOMEPAGE=https://github.com/debfx/check_dane @@ -12,4 +12,4 @@ REQUIRED_USE=|| ( python_targets_python3_10 python_targets_python3_11 python_tar SLOT=0 SRC_URI=https://github.com/debfx/check_dane/archive/1.1.tar.gz -> nagios-check_dane-1.1.tar.gz _eclasses_=out-of-source-utils 1a9007554652a6e627edbccb3c25a439 multibuild d67e78a235f541871c7dfe4cf7931489 multiprocessing 30ead54fa2e2b5f9cd4e612ffc34d0fe toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 python-utils-r1 8b220bbce5c119fb1d4d5c2f5588f3ea python-r1 428f5c53276c2adc06a89108fc2f9f46 -_md5_=bba88e1014d08bdf9aab6dacd7cac6cf +_md5_=eb3760ac940be18c28365cfe03ad0239 diff --git a/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild b/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild index 743e612..a774d20 100644 --- a/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild +++ b/net-dns/nagios-check_dane/nagios-check_dane-1.1.ebuild @@ -22,12 +22,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" DEPEND=" dev-libs/openssl - dev-python/dnspython + dev-python/dnspython[${PYTHON_USEDEP}] " RDEPEND="${PYTHON_DEPS}" src_install() { - python_scriptinto /usr/lib64/nagios/plugins/ + python_scriptinto /usr/$(get_libdir)/nagios/plugins/ python_foreach_impl python_doscript check_dane dodoc README.md