From 7fa8a1e3f149eea4c844c47cfe26136ed7614c58 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 15 Apr 2024 12:04:03 +0100 Subject: gentoo auto-resync : 15:04:2024 - 12:04:02 --- net-analyzer/nagios-icinga-openvpn/Manifest | 2 +- .../nagios-icinga-openvpn-0.0.1-r3.ebuild | 38 ---------------------- .../nagios-icinga-openvpn-0.0.1-r4.ebuild | 37 +++++++++++++++++++++ 3 files changed, 38 insertions(+), 39 deletions(-) delete mode 100644 net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild create mode 100644 net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r4.ebuild (limited to 'net-analyzer/nagios-icinga-openvpn') diff --git a/net-analyzer/nagios-icinga-openvpn/Manifest b/net-analyzer/nagios-icinga-openvpn/Manifest index 68bc55c62d26..cbe6ba9c0bd2 100644 --- a/net-analyzer/nagios-icinga-openvpn/Manifest +++ b/net-analyzer/nagios-icinga-openvpn/Manifest @@ -1,3 +1,3 @@ DIST nagios-icinga-openvpn-0.0.1.tar.gz 4637 BLAKE2B 365b6450cccd5f7f25348583eae45c0b15932ec1e858d375171911e4108dd2b7fc133559a35399ece8d2a349f05b2f51897cf9e271f498b6bbaa2c6bba3551a9 SHA512 0dae6c2df71a20e287720767aa4ba41d0568f3cd4bd2a6eb252f86d810d3de265ddc38397df15bb1b115ba35ac68aa6e18345dc4432d4d13b08b500483ffbb11 -EBUILD nagios-icinga-openvpn-0.0.1-r3.ebuild 1216 BLAKE2B b44deb18f610d3989d39e7499b721a453c0f856f9dd909daeaf4044cb843c980679dabfcc14639d3af587aaad4da62ab1bad57475b2be622fce9af83cbe1f717 SHA512 c31316d675b843a7c48c87ce4986415f71f4a5303ee43f2fee861bf9bab7769d56fca36f64fd29a4948dc3c2aa955ab161dbdb2ed472fe5f3b94cfbbb75737c2 +EBUILD nagios-icinga-openvpn-0.0.1-r4.ebuild 1209 BLAKE2B d44c85d709cdbe2b75a96905c559ae5c8f05c841b3c3a489de3f206767db21ab56ab9dbb618a3af20c191981256193cf24aafab2fde7eccfb9f1f5a5987e76ec SHA512 d03cabea7f65e328404288c231626059fe59f2b69f8be452d0a333fd9c55e6b18b63de3625eeab1cb08807846f55f4d057c672339217f0aa3e9de9832ab9f59d MISC metadata.xml 352 BLAKE2B dd1dd8a4b5a742cd5e7ec46a22748f01d56ce26fa0d3d1a855bf0699db64cd5fa181306ac9528991572906ac89c6125bf6d10e97332bc148996cac14f5cf83d5 SHA512 3930012be14153b9cba53af2fc2edce373e1a279a5364c3cebcc472dfdbd7f544205145e842630da210b75d6c8cd34d9bb6b91403ed1a51e4b5c99061c31e1ca diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild deleted file mode 100644 index 0dc7a05fc33c..000000000000 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_9 python3_10 python3_11 ) -DISTUTILS_USE_PEP517=setuptools -inherit distutils-r1 - -MY_PN="check_openvpn" -DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive" -HOMEPAGE="https://github.com/liquidat/nagios-icinga-openvpn" -SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -src_install() { - distutils-r1_src_install - - local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" - dodir "${nagiosplugindir}" - - # Create a symlink from the nagios plugin directory to the /usr/bin - # location. The "binary" in /usr/bin should also be a symlink, since - # the python machinery allows the user to switch out the - # interpreter. We don't want to mess with any of that, so we just - # point to whatever the system would use if the user executed - # ${MY_PN}. - # - # The relative symlink is preferred so that if the package is - # installed e.g. while in a chroot, the symlink will never point - # outside of that chroot. - # - dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" -} diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r4.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r4.ebuild new file mode 100644 index 000000000000..f2cd71d9e794 --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_10 python3_11 python3_12 ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_PN="check_openvpn" +DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive" +HOMEPAGE="https://github.com/liquidat/nagios-icinga-openvpn" +SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64" + +src_install() { + distutils-r1_src_install + + local nagiosplugindir="/usr/$(get_libdir)/nagios/plugins" + dodir "${nagiosplugindir}" + + # Create a symlink from the nagios plugin directory to the /usr/bin + # location. The "binary" in /usr/bin should also be a symlink, since + # the python machinery allows the user to switch out the + # interpreter. We don't want to mess with any of that, so we just + # point to whatever the system would use if the user executed + # ${MY_PN}. + # + # The relative symlink is preferred so that if the package is + # installed e.g. while in a chroot, the symlink will never point + # outside of that chroot. + # + dosym "../../../bin/${MY_PN}" "${nagiosplugindir}/${MY_PN}" +} -- cgit v1.2.3