From b7a60d4e9bc3626f0375d6a7c4ae5da9ce32c9e5 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 30 Oct 2020 19:24:23 +0000 Subject: Fix nagios plugins install path --- net-analyzer/check_crm/Manifest | 2 +- net-analyzer/check_crm/check_crm-0.7-r1.ebuild | 29 ++++++++++++++++++++++ net-analyzer/check_crm/check_crm-0.7.ebuild | 29 ---------------------- net-analyzer/check_drbd/Manifest | 2 +- net-analyzer/check_drbd/check_drbd-0.5.2-r1.ebuild | 27 ++++++++++++++++++++ net-analyzer/check_drbd/check_drbd-0.5.2.ebuild | 27 -------------------- net-analyzer/check_haproxy_stats/Manifest | 2 +- .../check_haproxy_stats-1.0.1-r1.ebuild | 27 ++++++++++++++++++++ .../check_haproxy_stats-1.0.1.ebuild | 27 -------------------- net-analyzer/check_service/Manifest | 2 +- .../check_service/check_service-1.1-r1.ebuild | 22 ++++++++++++++++ .../check_service/check_service-1.1.ebuild | 22 ---------------- 12 files changed, 109 insertions(+), 109 deletions(-) create mode 100644 net-analyzer/check_crm/check_crm-0.7-r1.ebuild delete mode 100644 net-analyzer/check_crm/check_crm-0.7.ebuild create mode 100644 net-analyzer/check_drbd/check_drbd-0.5.2-r1.ebuild delete mode 100644 net-analyzer/check_drbd/check_drbd-0.5.2.ebuild create mode 100644 net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1-r1.ebuild delete mode 100644 net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild create mode 100644 net-analyzer/check_service/check_service-1.1-r1.ebuild delete mode 100644 net-analyzer/check_service/check_service-1.1.ebuild diff --git a/net-analyzer/check_crm/Manifest b/net-analyzer/check_crm/Manifest index 22f8e1f..d78fc6d 100644 --- a/net-analyzer/check_crm/Manifest +++ b/net-analyzer/check_crm/Manifest @@ -1,3 +1,3 @@ AUX monitoring-plugin.patch 1054 BLAKE2B b3be54b2edf856659e187e4af6115fa16519c5cbd77bc21a08b0e7a3c53514cde0f8a6a38750a923a4b4d4769dd533833139484f6447359e0a196be02cf30e5a SHA512 6eaff63e57433b57dd5d16d0739422b4d9f4b904b3ea70c0f001107a177819fc941dc20a08d52cd81242fd84eb48b40e4750addd220be35e61f1eb30558261af DIST check_crm-0.7 6622 BLAKE2B 36c6026c34c788495bd10a7188de3e14cab86d8b4d19bd7ac87904c402b834a169ad2868f768c74f2fa11aecb394dc3dc887d34ae68e90615fc24cc47d2b52bf SHA512 4b2dcbb352c2f894a8238bf90ffe725b1743807e84ad949624f802652dda4174ade3b99e3f71f5d319946fd42a6fbe906301b831c52259208fde48abdee60d3b -EBUILD check_crm-0.7.ebuild 709 BLAKE2B 6d7269545aaf824066091a90a0e26ccb9eeb641dda60b852777a23f5b6acb3d477580c4c43d6445563bb9bd6677a047b531901e934d689e9fd1650b356af2687 SHA512 419c9518620499297cd59a81aa098bc268ba4992aa172f088b1039a6e620246b955e9290832495f1b4d09d25b46b07feecba638b0adedc4e65b85b6fc2d49871 +EBUILD check_crm-0.7-r1.ebuild 719 BLAKE2B 76c84fb446d525500d8ba5984f729bfc25eb99db4a1b02b900142c221706b38ba21d2b48e32cd90307ab2b747ab180cba6c00ab1fbc8d565517577ca7c2bc9dc SHA512 305293ba1b11397a941dcdef9be702729517bd030a468d303e892a2a91c366f84e08f0a25e1a8186fb6b314faba69a084194e6de3ee1727f8dac85b2087a8850 diff --git a/net-analyzer/check_crm/check_crm-0.7-r1.ebuild b/net-analyzer/check_crm/check_crm-0.7-r1.ebuild new file mode 100644 index 0000000..2556b44 --- /dev/null +++ b/net-analyzer/check_crm/check_crm-0.7-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Checks the status of a Pacemaker based Cluster using crm_mon" +HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/Check-CRM/details" +SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2403&cf_id=30 -> ${P}" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=">=dev-lang/perl-5.8 +dev-perl/Monitoring-Plugin" +BDEPEND="" +PATCHES="${FILESDIR}/monitoring-plugin.patch" + +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/${A} ${S} +} +src_install() { + exeinto /usr/$(get_libdir)/nagios/plugins/ + newexe ${S}/${A} ${PN} +} + diff --git a/net-analyzer/check_crm/check_crm-0.7.ebuild b/net-analyzer/check_crm/check_crm-0.7.ebuild deleted file mode 100644 index fb06b03..0000000 --- a/net-analyzer/check_crm/check_crm-0.7.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Checks the status of a Pacemaker based Cluster using crm_mon" -HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/Check-CRM/details" -SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2403&cf_id=30 -> ${P}" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=">=dev-lang/perl-5.8 -dev-perl/Monitoring-Plugin" -BDEPEND="" -PATCHES="${FILESDIR}/monitoring-plugin.patch" - -src_unpack() { - mkdir -p ${S} - cp ${DISTDIR}/${A} ${S} -} -src_install() { - exeinto /usr/lib/nagios/plugins/ - newexe ${S}/${A} ${PN} -} - diff --git a/net-analyzer/check_drbd/Manifest b/net-analyzer/check_drbd/Manifest index ee51872..3d2fa6b 100644 --- a/net-analyzer/check_drbd/Manifest +++ b/net-analyzer/check_drbd/Manifest @@ -1,2 +1,2 @@ DIST check_drbd-0.5.2 13958 BLAKE2B df020fda1d4e4a547cda5327059868d2bff0ff367dadcc1bd6e6c1eab36e963f4403fbec9d05cdf5bc401f3dd5b5940d8a9a208b5524a7b4f4ac8a89b5b58a9f SHA512 ea530eb4f8227019f9cfeb65b650fe8d159920f693b999cd405429657aeb82d4560f45290359808c5bf71637b1d022c6d61d1d2a0f7d34294d61d2ebdd4b20aa -EBUILD check_drbd-0.5.2.ebuild 592 BLAKE2B 6cf223a82e0214b3e12cfb0104eac3f0e79bb7771ec2511e993d12bdeeb2850a562df5bad2a6d58281d1e26a91f9339b6904cfa7ff093cdb5bb7b5653136d9a3 SHA512 828ba9166ba52a68de53b513750ddf144c53561c2e41d4775fc12a50eaa6ef283bc0eac667d76b7e3cda516dd2088965aefc347c57b083b9f7279be02b9ed1ff +EBUILD check_drbd-0.5.2-r1.ebuild 602 BLAKE2B cd6c9665db95a6029e81404c07de18841f146bdb51d3cbb453d93db086b549923f4e5d182016e570c7e50a5efdd5ae4db3446185a2bef6f9b2207b1ac85c36af SHA512 2af1e39b6b3ad7a80e90afa4d0bcdce60cb18eaf68a7e5e1c3a39de96b1fbbc306e4ab26b37cee3c090ed45a16be10e77a2090026e9c3ab95566fb80c7246dcf diff --git a/net-analyzer/check_drbd/check_drbd-0.5.2-r1.ebuild b/net-analyzer/check_drbd/check_drbd-0.5.2-r1.ebuild new file mode 100644 index 0000000..b087689 --- /dev/null +++ b/net-analyzer/check_drbd/check_drbd-0.5.2-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Checks the state of DRBD devices" +HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_drbd/details" +SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3367&cf_id=24 -> ${P}" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl" +BDEPEND="" + +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/${A} ${S} +} +src_install() { + exeinto /usr/$(get_libdir)/nagios/plugins/ + newexe ${S}/${A} ${PN} +} + diff --git a/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild b/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild deleted file mode 100644 index 04ed9b2..0000000 --- a/net-analyzer/check_drbd/check_drbd-0.5.2.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Checks the state of DRBD devices" -HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_drbd/details" -SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=3367&cf_id=24 -> ${P}" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="dev-lang/perl" -BDEPEND="" - -src_unpack() { - mkdir -p ${S} - cp ${DISTDIR}/${A} ${S} -} -src_install() { - exeinto /usr/lib/nagios/plugins/ - newexe ${S}/${A} ${PN} -} - diff --git a/net-analyzer/check_haproxy_stats/Manifest b/net-analyzer/check_haproxy_stats/Manifest index 958bd13..170b64b 100644 --- a/net-analyzer/check_haproxy_stats/Manifest +++ b/net-analyzer/check_haproxy_stats/Manifest @@ -1,2 +1,2 @@ DIST check_haproxy_stats-1.0.1.pl 6260 BLAKE2B 3862cd5e0bd5aa7e698a29cf170ea660b76eff82cb905bcc77c8fcdea33a97834ed57788cea86793bc8820f2af24295419637a2fda4e02595493b21af2b0ac33 SHA512 d00ee6c97b339ee8accb3e1c03b518972f1325780f9e3c8c9f223e147270ed38b8446ab5c366b827b468e5925ac4d0a1fbc48083d8e84fea385e59c98dd711fb -EBUILD check_haproxy_stats-1.0.1.ebuild 621 BLAKE2B 03fa10f81b91aabcc3d49eddf954f68690049a382a245061f7b8d3c1fbce72a46abb53ee1453832102ff8412b707f457bf53d497b6f57271a025092a6c80535f SHA512 878510342182bcc202ac09523d7197ee936d59e3c46cace76600a1f1141a1d53557b433db94edea28daae5e77f03568f108a70b9316f1ccdefe208955ee03079 +EBUILD check_haproxy_stats-1.0.1-r1.ebuild 631 BLAKE2B 658eb5b5839b74c77a375763b69a972bba424457a208aee2a9c047ca19b9e551ac207476b5871ea3d96759c75bd197d2c002c08a753dc90836a2ff4710ac919b SHA512 269373c10cf763974f0fe052f9f0b90159f5c422a5a299fedd5c8943fb105efeeba0c019d5b541beb9a1753c93c178caa91f664b1f366e3a3c921a64325d4363 diff --git a/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1-r1.ebuild b/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1-r1.ebuild new file mode 100644 index 0000000..0846451 --- /dev/null +++ b/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Check local haproxy functionality" +HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/check_haproxy_stats-2Epl/details" +SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=4089&cf_id=24 -> ${P}.pl" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="dev-lang/perl" +BDEPEND="" + +src_unpack() { + mkdir -p ${S} + cp ${DISTDIR}/${A} ${S} +} +src_install() { + exeinto /usr/$(get_libdir)/nagios/plugins/ + newexe ${S}/${A} ${PN} +} + diff --git a/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild b/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild deleted file mode 100644 index 11b6216..0000000 --- a/net-analyzer/check_haproxy_stats/check_haproxy_stats-1.0.1.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Check local haproxy functionality" -HOMEPAGE="https://exchange.nagios.org/directory/Plugins/Clustering-and-High-2DAvailability/check_haproxy_stats-2Epl/details" -SRC_URI="https://exchange.nagios.org/components/com_mtree/attachment.php?link_id=4089&cf_id=24 -> ${P}.pl" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND="dev-lang/perl" -BDEPEND="" - -src_unpack() { - mkdir -p ${S} - cp ${DISTDIR}/${A} ${S} -} -src_install() { - exeinto /usr/lib/nagios/plugins/ - newexe ${S}/${A} ${PN} -} - diff --git a/net-analyzer/check_service/Manifest b/net-analyzer/check_service/Manifest index d25a2a3..112b630 100644 --- a/net-analyzer/check_service/Manifest +++ b/net-analyzer/check_service/Manifest @@ -1,2 +1,2 @@ DIST check_service-1.1.tar.gz 774 BLAKE2B a16a13f894e2527f8fa17baa0ecb5a4a7f3f01c0f65e642fc6ea0c829ff2a11857fb4c0f510121c12d4cb58be937f221d8908db360e84dbda592bb1c688ba053 SHA512 f867ff1d972c0a987aa107c6693207fa2f4b0e7a1f3b6e665dc4bc955d0b4a56ff359ce1078f34ec7e99adb648d5d9759fe6b20e27ab9db6beb608b62778cea7 -EBUILD check_service-1.1.ebuild 505 BLAKE2B 92eaa05f68504d85ef6a7c2358d86f977c4e5c09651ebc40a0c9167a01b811463a0552a06e210a1e9cfc7cbbe7e68c13d3f82fc289cd1065c556dd1400187acd SHA512 2063dbce6c2a391e817a48fb68330a498152de0def4a9f8cedfb85acb0cafc1acc028d0c86bdbffd139d3ac1c4d0c478761e835bf4b5250fa3b6317c511a6b53 +EBUILD check_service-1.1-r1.ebuild 515 BLAKE2B b6f35992052adf6f52ef5e62e39cff27cfdbd3cd286f973d6005e0ffccedbf4d5b02bdcdfd0a13f9e998441254b96587989b1011bf4a01a7664c835b866b9c77 SHA512 9491c00db3641e32040057d6e38825124e9bec568e98941f7996a3d07cba7ccde4351afab46aca1ae5b64cdd1f2cf9e49b947477c9361a201eeb3b93ea4d110f diff --git a/net-analyzer/check_service/check_service-1.1-r1.ebuild b/net-analyzer/check_service/check_service-1.1-r1.ebuild new file mode 100644 index 0000000..91c2e8c --- /dev/null +++ b/net-analyzer/check_service/check_service-1.1-r1.ebuild @@ -0,0 +1,22 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Check status of systemd service" +HOMEPAGE="https://github.com/duffycop/nagios_plugins" +SRC_URI="https://github.com/duffycop/nagios_plugins/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" +S="${WORKDIR}/nagios_plugins-${PV}" + +src_install() { + exeinto /usr/$(get_libdir)/nagios/plugins/ + newexe ${S}/plugins/${PN} ${PN} +} diff --git a/net-analyzer/check_service/check_service-1.1.ebuild b/net-analyzer/check_service/check_service-1.1.ebuild deleted file mode 100644 index 377b632..0000000 --- a/net-analyzer/check_service/check_service-1.1.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DESCRIPTION="Check status of systemd service" -HOMEPAGE="https://github.com/duffycop/nagios_plugins" -SRC_URI="https://github.com/duffycop/nagios_plugins/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND="" -RDEPEND="${DEPEND}" -BDEPEND="" -S="${WORKDIR}/nagios_plugins-${PV}" - -src_install() { - exeinto /usr/lib/nagios/plugins/ - newexe ${S}/plugins/${PN} ${PN} -} -- cgit v1.2.3