[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: b992d10c122175a7a90901a0b1c5450aaa4c89f6 Author: Michael Orlitzky gentoo org> AuthorDate: Sun Apr 14 11:32:21 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sun Apr 14 11:39:59 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b992d10c net-analyzer/nagios-icinga-openvpn: support python 3.12, drop 3.9 Closes: https://bugs.gentoo.org/929683 Signed-off-by: Michael Orlitzky gentoo.org> ...openvpn-0.0.1-r3.ebuild => nagios-icinga-openvpn-0.0.1-r4.ebuild} | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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-r4.ebuild similarity index 92% rename from net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild rename to net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r4.ebuild index 0dc7a05fc33c..f2cd71d9e794 100644 --- 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-r4.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_9 python3_10 python3_11 ) +PYTHON_COMPAT=( python3_10 python3_11 python3_12 ) DISTUTILS_USE_PEP517=setuptools inherit distutils-r1 @@ -15,7 +15,6 @@ SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" KEYWORDS="amd64" -IUSE="" src_install() { distutils-r1_src_install
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 565fd3c0c002ba04838303970be148eb245395ec Author: Michael Orlitzky gentoo org> AuthorDate: Wed Apr 19 12:29:56 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Apr 19 12:34:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565fd3c0 net-analyzer/nagios-icinga-openvpn: stabilize 0.0.1-r3 for amd64 Closes: https://bugs.gentoo.org/904574 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 index 29bd4732ec09..0dc7a05fc33c 100644 --- 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 @@ -14,7 +14,7 @@ SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 62e9f48718d9f34806285b02a56da89765518671 Author: Michael Orlitzky gentoo org> AuthorDate: Wed Apr 19 12:30:23 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed Apr 19 12:34:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62e9f487 net-analyzer/nagios-icinga-openvpn: drop 0.0.1-r2 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1-r2.ebuild | 38 -- 1 file changed, 38 deletions(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild deleted file mode 100644 index d16004eadc12.. --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_9 python3_10 ) -DISTUTILS_USE_SETUPTOOLS=no -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}" -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 05fabd4ba4934f82c2bc4ac301b703b56e6f9c9c Author: Michael Orlitzky gentoo org> AuthorDate: Sat Feb 25 17:31:10 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Feb 25 17:37:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05fabd4b net-analyzer/nagios-icinga-openvpn: update EAPI 7 -> 8, python 3.11. Closes: https://bugs.gentoo.org/897062 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1-r3.ebuild | 38 ++ 1 file changed, 38 insertions(+) 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 new file mode 100644 index ..29bd4732ec09 --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r3.ebuild @@ -0,0 +1,38 @@ +# 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}" +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 1e3baa38e99c1b22dbe54fb0053d70067e6654ed Author: Michael Orlitzky gentoo org> AuthorDate: Sat Feb 25 17:39:19 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Feb 25 17:40:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3baa38 net-analyzer/nagios-icinga-openvpn: add remote-id to metadata.xml. Signed-off-by: Michael Orlitzky gentoo.org> net-analyzer/nagios-icinga-openvpn/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net-analyzer/nagios-icinga-openvpn/metadata.xml b/net-analyzer/nagios-icinga-openvpn/metadata.xml index f2908ee10b59..e8fbfcfe3519 100644 --- a/net-analyzer/nagios-icinga-openvpn/metadata.xml +++ b/net-analyzer/nagios-icinga-openvpn/metadata.xml @@ -5,4 +5,7 @@ m...@gentoo.org Michael Orlitzky + +liquidat/nagios-icinga-openvpn +
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: c0cadba9d3a1c772b50533d722693e1298b9ddd9 Author: Michael Orlitzky gentoo org> AuthorDate: Tue Sep 28 14:03:44 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue Sep 28 14:05:45 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0cadba9 net-analyzer/nagios-icinga-openvpn: remove old "unused" revision. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1-r1.ebuild | 38 -- 1 file changed, 38 deletions(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild deleted file mode 100644 index 24f73888462..000 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_7 python3_8 ) -DISTUTILS_USE_SETUPTOOLS=no -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}" -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: f2c1c0f95ac6e05b0ff3384c8570a4a30635e0d7 Author: Sam James gentoo org> AuthorDate: Sun Sep 26 04:59:33 2021 + Commit: Sam James gentoo org> CommitDate: Sun Sep 26 04:59:33 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2c1c0f9 net-analyzer/nagios-icinga-openvpn: Stabilize 0.0.1-r2 amd64, #814884 Signed-off-by: Sam James gentoo.org> .../nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild index 6ff5f274043..eb19ebd9067 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: a62f0063ea47f4fac70787e4baba25bbb894bab6 Author: Sam James gentoo org> AuthorDate: Fri Jul 30 03:18:16 2021 + Commit: Sam James gentoo org> CommitDate: Fri Jul 30 03:18:37 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a62f0063 net-analyzer/nagios-icinga-openvpn: disable py3.7 No point in keeping it as it doesn't do anything now - the eclass dropped support for it a while ago. Dropping it proactively on bumps means that we don't have to e.g. reset automated stable timer checks if doing it en-masse. Signed-off-by: Sam James gentoo.org> .../nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild index 29216203671..6ff5f274043 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_7 python3_8 python3_9 python3_10 ) +PYTHON_COMPAT=( python3_8 python3_9 python3_10 ) DISTUTILS_USE_SETUPTOOLS=no inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 197613920abbf801a6f1e01f5d55f0764bfef66e Author: Michael Orlitzky gentoo org> AuthorDate: Fri Jul 30 01:07:57 2021 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Jul 30 01:07:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19761392 net-analyzer/nagios-icinga-openvpn: revision for python-3.{9,10}. Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1-r2.ebuild | 38 ++ 1 file changed, 38 insertions(+) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild new file mode 100644 index 000..29216203671 --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_7 python3_8 python3_9 python3_10 ) +DISTUTILS_USE_SETUPTOOLS=no +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}" +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 3946b7b9e5f07022f945623b6dac78583c85d554 Author: Michael Orlitzky gentoo org> AuthorDate: Wed May 13 13:31:04 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed May 13 13:31:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3946b7b9 net-analyzer/nagios-icinga-openvpn: remove old "unused" version. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1.ebuild | 37 -- 1 file changed, 37 deletions(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild deleted file mode 100644 index fce8d525b7e..000 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) -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}" -}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: f4c72cb8756c67170f520562d2fab35f689208f4 Author: Michael Orlitzky gentoo org> AuthorDate: Wed May 13 13:30:20 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Wed May 13 13:30:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4c72cb8 net-analyzer/nagios-icinga-openvpn: maintainer stabilize amd64. Closes: https://bugs.gentoo.org/722252 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild index a03ce2d5c4d..48966a0e20d 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/liquidat/nagios-icinga-openvpn/archive/${PV}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 289868cbcb594dbb116a08ba1cc2270495c45970 Author: Michael Orlitzky gentoo org> AuthorDate: Mon Apr 20 13:24:59 2020 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Apr 20 13:25:16 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=289868cb net-analyzer/nagios-icinga-openvpn: new revision for newer pythons. Also with an EAPI=7 update. Nothing else changed. Closes: https://bugs.gentoo.org/718422 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky gentoo.org> .../nagios-icinga-openvpn-0.0.1-r1.ebuild | 38 ++ 1 file changed, 38 insertions(+) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild new file mode 100644 index 000..a03ce2d5c4d --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_6 python3_7 python3_8 ) +DISTUTILS_USE_SETUPTOOLS=no +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}" +}
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 3a11ce3dec5bb93e135c7a1399d1998d29e75aa2 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 11 12:02:57 2020 + Commit: Michał Górny gentoo org> CommitDate: Tue Feb 11 12:16:13 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a11ce3d net-analyzer/nagios-icinga-openvpn: Remove py2 Signed-off-by: Michał Górny gentoo.org> net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild index 51d9e6928e5..fce8d525b7e 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit distutils-r1 MY_PN="check_openvpn"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: c45c80e65c71cbba8eb51621f3b65cb5332248cf Author: David Seifert gentoo org> AuthorDate: Sat Feb 8 18:55:08 2020 + Commit: David Seifert gentoo org> CommitDate: Sat Feb 8 18:55:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c45c80e6 net-analyzer/nagios-icinga-openvpn: [QA] Fix VariableInHomepage Signed-off-by: David Seifert gentoo.org> net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild index 3db3bf94712..51d9e6928e5 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild @@ -8,7 +8,7 @@ inherit distutils-r1 MY_PN="check_openvpn" DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive" -HOMEPAGE="https://github.com/liquidat/${PN}; +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"
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: 339e10e4c1255fc06abfabb49b99df8b882ab178 Author: Michael Orlitzky gentoo org> AuthorDate: Tue May 7 00:30:26 2019 + Commit: Michael Orlitzky gentoo org> CommitDate: Tue May 7 00:30:44 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=339e10e4 net-analyzer/nagios-icinga-openvpn: maintainer stable on amd64. Signed-off-by: Michael Orlitzky gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild index e9b11236fdb..355630403eb 100644 --- a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild @@ -13,7 +13,7 @@ SRC_URI="${HOMEPAGE}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="" src_install() {
[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/
commit: cffe3bf5c60c0e0725b860ebea3179976aa04d1a Author: Michael Orlitzky gentoo org> AuthorDate: Wed Aug 15 23:03:52 2018 + Commit: Michael Orlitzky gentoo org> CommitDate: Thu Aug 16 11:42:53 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cffe3bf5 net-analyzer/nagios-icinga-openvpn: new package to monitor OpenVPN. This package is intended to be a full-featured replacement for the existing net-analyzer/nagios-check_openvpn-simple plugin. The "simple" version lacked several important features, the most important of which was the ability to use a TLS-auth key in the default UDP configuration. The new plugin is largely a drop-in replacement, but the executable name is different, so your configuration will need to be updated. Bug: https://bugs.gentoo.org/663774 Package-Manager: Portage-2.3.44, Repoman-2.3.9 net-analyzer/nagios-icinga-openvpn/Manifest| 1 + net-analyzer/nagios-icinga-openvpn/metadata.xml| 8 + .../nagios-icinga-openvpn-0.0.1.ebuild | 37 ++ 3 files changed, 46 insertions(+) diff --git a/net-analyzer/nagios-icinga-openvpn/Manifest b/net-analyzer/nagios-icinga-openvpn/Manifest new file mode 100644 index 000..6e9b6cd78f7 --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/Manifest @@ -0,0 +1 @@ +DIST nagios-icinga-openvpn-0.0.1.tar.gz 4637 BLAKE2B 365b6450cccd5f7f25348583eae45c0b15932ec1e858d375171911e4108dd2b7fc133559a35399ece8d2a349f05b2f51897cf9e271f498b6bbaa2c6bba3551a9 SHA512 0dae6c2df71a20e287720767aa4ba41d0568f3cd4bd2a6eb252f86d810d3de265ddc38397df15bb1b115ba35ac68aa6e18345dc4432d4d13b08b500483ffbb11 diff --git a/net-analyzer/nagios-icinga-openvpn/metadata.xml b/net-analyzer/nagios-icinga-openvpn/metadata.xml new file mode 100644 index 000..45125b9b6e9 --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +m...@gentoo.org +Michael Orlitzky + + diff --git a/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild new file mode 100644 index 000..e8e112ffe2f --- /dev/null +++ b/net-analyzer/nagios-icinga-openvpn/nagios-icinga-openvpn-0.0.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +inherit distutils-r1 + +MY_PN="check_openvpn" +DESCRIPTION="A Nagios plugin to check whether an OpenVPN server is alive" +HOMEPAGE="https://github.com/liquidat/${PN}; +SRC_URI="${HOMEPAGE}/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}" +}