[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/

2024-05-24 Thread Arthur Zamarin
commit: 3ac88fe1403991b7e893e67355b59f6728586b77
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri May 24 10:07:14 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri May 24 10:07:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac88fe1

net-analyzer/nagios-check_mysql_health: drop 2.2.2

Signed-off-by: Arthur Zamarin  gentoo.org>

 .../nagios-check_mysql_health-2.2.2.ebuild | 39 --
 1 file changed, 39 deletions(-)

diff --git 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild
deleted file mode 100644
index 94445a4c903e..
--- 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="${PN#nagios-}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A nagios plugin for checking MySQL server health"
-HOMEPAGE="https://labs.consol.de/nagios/check_mysql_health/;
-SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz;
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# Found by grepping for "use " in the built
-# plugins-scripts/check_mysql_health.
-RDEPEND="dev-perl/DBD-mysql
-   dev-perl/DBI
-   virtual/perl-Data-Dumper
-   virtual/perl-File-Temp
-   virtual/perl-Net-Ping
-   virtual/perl-Time-HiRes"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
-   # Should match net-analyzer/{monitoring,nagios}-plugins.
-   econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
-}
-
-# Here we should have a pkg_preinst() that creates the nagios user/group
-# (using the same command from e.g. net-analyzer/nagios-plugins). But
-# right now, the build system for check_mysql_health has a bug: it
-# doesn't use the configured user (INSTALL_OPTIONS aren't passed to
-# /usr/bin/install), so it's pointless. Don't forget to inherit
-# user.eclass!



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/

2024-05-23 Thread Sam James
commit: a49f4c98fa704450c3cf5b591deade30e2b17376
Author: Sam James  gentoo  org>
AuthorDate: Thu May 23 21:53:23 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 23 21:53:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a49f4c98

net-analyzer/nagios-check_mysql_health: Stabilize 2.2.2-r1 amd64, #932231

Signed-off-by: Sam James  gentoo.org>

 .../nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
index 3de8e319875f..eb91aed60971 100644
--- 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
+++ 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 
 # Found by grepping for "use " in the built
 # plugins-scripts/check_mysql_health.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/

2024-05-23 Thread Sam James
commit: 8af4a43dfba5db8f67cf786ed526302f9e5164cd
Author: Sam James  gentoo  org>
AuthorDate: Thu May 23 21:53:24 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 23 21:53:24 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8af4a43d

net-analyzer/nagios-check_mysql_health: Stabilize 2.2.2-r1 x86, #932231

Signed-off-by: Sam James  gentoo.org>

 .../nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
index eb91aed60971..666eecff017a 100644
--- 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
+++ 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
@@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 
 # Found by grepping for "use " in the built
 # plugins-scripts/check_mysql_health.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_mysql_health/

2024-04-15 Thread Michael Orlitzky
commit: e03cc45995170cab2f8a2bb783bc8fcd23c885b9
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Apr 14 18:41:55 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Apr 16 01:14:03 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03cc459

net-analyzer/nagios-check_mysql_health: EAPI8 bump

Closes: https://github.com/gentoo/gentoo/pull/36259
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-check_mysql_health-2.2.2-r1.ebuild  | 39 ++
 1 file changed, 39 insertions(+)

diff --git 
a/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
new file mode 100644
index ..3de8e319875f
--- /dev/null
+++ 
b/net-analyzer/nagios-check_mysql_health/nagios-check_mysql_health-2.2.2-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="${PN#nagios-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Nagios plugin for checking MySQL server health"
+HOMEPAGE="https://labs.consol.de/nagios/check_mysql_health/;
+SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz;
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Found by grepping for "use " in the built
+# plugins-scripts/check_mysql_health.
+RDEPEND="
+   dev-perl/DBD-mysql
+   dev-perl/DBI
+   virtual/perl-Data-Dumper
+   virtual/perl-File-Temp
+   virtual/perl-Net-Ping
+   virtual/perl-Time-HiRes
+   "
+
+src_configure() {
+   # Should match net-analyzer/{monitoring,nagios}-plugins.
+   econf --libexecdir="/usr/$(get_libdir)/nagios/plugins"
+}
+
+# Here we should have a pkg_preinst() that creates the nagios user/group
+# (using the same command from e.g. net-analyzer/nagios-plugins). But
+# right now, the build system for check_mysql_health has a bug: it
+# doesn't use the configured user (INSTALL_OPTIONS aren't passed to
+# /usr/bin/install), so it's pointless. Don't forget to inherit
+# user.eclass!



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_multiple/

2024-04-14 Thread Michael Orlitzky
commit: d9d30fc607e9ad149fef1237666f64cfec718e67
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Apr 14 11:44:48 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Apr 14 11:44:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d30fc6

net-analyzer/nagios-check_multiple: support python-3.12, drop 3.9

Closes: https://bugs.gentoo.org/929682
Signed-off-by: Michael Orlitzky  gentoo.org>

 ...multiple-0.0.1-r2.ebuild => nagios-check_multiple-0.0.1-r3.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild 
b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild
similarity index 94%
rename from 
net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
rename to 
net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.ebuild
index d5e64ac02fa8..8444b98c88c4 100644
--- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
+++ b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r3.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=( python{3_9,3_10,3_11} )
+PYTHON_COMPAT=( python{3_10,3_11,3_12} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/

2024-04-14 Thread Michael Orlitzky
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-plugins-linux-madrisan/

2024-04-03 Thread Louis Sautier
commit: 092162771d51a14486411f5e3de0f5803ccfbe2a
Author: Louis Sautier  gentoo  org>
AuthorDate: Wed Apr  3 23:25:22 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Thu Apr  4 00:17:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09216277

net-analyzer/nagios-plugins-linux-madrisan: add 33

The varlink dependency and check_varlink were removed in
https://github.com/madrisan/nagios-plugins-linux/commit/c57ceb58139a.

USE=curl now controls the creation of check_container (renamed from
check_docker in
https://github.com/madrisan/nagios-plugins-linux/commit/492741a80d29).

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 .../nagios-plugins-linux-madrisan/metadata.xml |  2 +-
 .../nagios-plugins-linux-madrisan-33.ebuild| 48 ++
 3 files changed, 50 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index c5a6cee5a49f..b3b7c1490f2a 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
 DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59
+DIST nagios-plugins-linux-madrisan-33.tar.xz 397516 BLAKE2B 
39e428d7b44104e01f8101ec33d250b8317c2ab9a5772bd815baf91c14eb1aeffc2aaaec1696e338d9aa31ebd9cb67d10a2049bc78a1bd8fea813761def36d26
 SHA512 
9b0df712d799ea5ae1eca8135089e41f167446e40416dbfe090ec855476318b26d8fdc3865470bf6cf54e7dcbce483d1f577a886ef35023e983e2508a307df70

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml 
b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
index c214125e5675..e1a109026d7c 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
+++ b/net-analyzer/nagios-plugins-linux-madrisan/metadata.xml
@@ -6,7 +6,7 @@
Louis Sautier


-   Build check_docker which requires 
net-misc/curl
+   Build check_container which requires 
net-misc/curl
Build check_podman which requires 
dev-libs/libvarlink



diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
new file mode 100644
index ..4e7690db9073
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-33.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="nagios-plugins-linux"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Additional and alternative Nagios plugins for Linux"
+HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux;
+SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl systemd"
+
+DEPEND="
+   curl? ( net-misc/curl:0= )
+   systemd? ( sys-apps/systemd:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   # Avoid collision with net-analyzer/monitoring-plugins
+   # and net-analyzer/nagios-plugins
+   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
+   # Most options are already defaults for Gentoo
+   --disable-hardening
+   $(use_enable curl libcurl)
+   $(use_enable systemd)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   emake check VERBOSE=1
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/files/, net-analyzer/nagios-core/

2024-04-01 Thread Michael Orlitzky
commit: 9c5839b123bc6d8ddb7d5aea92c257449a63e54b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Apr  1 16:45:39 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Apr  1 16:45:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5839b1

net-analyzer/nagios-core: fix build (testfail) on musl

Upstream patch replaces uint by unsigned int.

Closes: https://bugs.gentoo.org/928032
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-core/files/nagios-core-4.5.1-musl.patch | 98 ++
 net-analyzer/nagios-core/nagios-core-4.5.1.ebuild  |  2 +
 2 files changed, 100 insertions(+)

diff --git a/net-analyzer/nagios-core/files/nagios-core-4.5.1-musl.patch 
b/net-analyzer/nagios-core/files/nagios-core-4.5.1-musl.patch
new file mode 100644
index ..eda71db9bcd4
--- /dev/null
+++ b/net-analyzer/nagios-core/files/nagios-core-4.5.1-musl.patch
@@ -0,0 +1,98 @@
+From 19602faf7111203b748a4dc9ccaf3111586a8e96 Mon Sep 17 00:00:00 2001
+From: Sebastian Wolf 
+Date: Fri, 29 Mar 2024 17:01:52 -0400
+Subject: [PATCH 1/2] Fix #952 - s/uint/unsigned int/g
+
+---
+ Changelog |  4 
+ lib/t-utils.c | 10 +-
+ lib/test-dkhash.c |  2 +-
+ 3 files changed, 10 insertions(+), 6 deletions(-)
+
+diff --git a/Changelog b/Changelog
+index ec3cd64fc..fcf4742f2 100644
+--- a/Changelog
 b/Changelog
+@@ -2,6 +2,10 @@
+ Nagios Core 4 Change Log
+ 
+ 
++4.5.2 - 2024-04-30
++--
++* Fix build when compiling against musl libc (#952) (Sebastian Wolf)
++
+ 4.5.1 - 2024-02-28
+ ---
+ * Fix text rendering in Configuration -> Command Expansion when the command 
ends in whitespace (Thanks Joran LEREEC for reporting this issue) (Dylan 
Anderson)
+diff --git a/lib/t-utils.c b/lib/t-utils.c
+index badab7c03..123f114c8 100644
+--- a/lib/t-utils.c
 b/lib/t-utils.c
+@@ -1,8 +1,8 @@
+ #include "t-utils.h"
+ 
+ const char *cyan = "", *red = "", *green = "", *yellow = "", *reset = "";
+-uint passed, failed, t_verbose = 0;
+-static uint t_depth;
++unsigned int passed, failed, t_verbose = 0;
++static unsigned int t_depth;
+ static const char *indent_str = "  ";
+ 
+ /* can't be used when a or b has side-effects, but we don't care here */
+@@ -27,9 +27,9 @@ void t_set_colors(int force)
+   }
+ }
+ 
+-static void t_indent(uint depth)
++static void t_indent(unsigned int depth)
+ {
+-  uint i;
++  unsigned int i;
+   for (i = 0; i < depth; i++) {
+   printf("%s", indent_str);
+   }
+@@ -136,7 +136,7 @@ int ok_int(int a, int b, const char *name)
+   return TEST_FAIL;
+ }
+ 
+-int ok_uint(uint a, uint b, const char *name)
++int ok_unsigned int(unsigned int a, unsigned int b, const char *name)
+ {
+   if (a == b) {
+   t_pass("%s", name);
+diff --git a/lib/test-dkhash.c b/lib/test-dkhash.c
+index 6db1d7a92..15c2b676c 100644
+--- a/lib/test-dkhash.c
 b/lib/test-dkhash.c
+@@ -68,7 +68,7 @@ static struct test_data *ddup(int x, int i, int j)
+ }
+ 
+ struct dkhash_check {
+-  uint entries, count, max, added, removed;
++  unsigned int entries, count, max, added, removed;
+   int ent_delta, addrm_delta;
+ };
+ 
+
+From c4f56318e6ecfab85d592ea302d747c80be5f557 Mon Sep 17 00:00:00 2001
+From: Sebastian Wolf 
+Date: Fri, 29 Mar 2024 17:04:29 -0400
+Subject: [PATCH 2/2] derp
+
+---
+ lib/t-utils.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/t-utils.c b/lib/t-utils.c
+index 123f114c8..24098655f 100644
+--- a/lib/t-utils.c
 b/lib/t-utils.c
+@@ -136,7 +136,7 @@ int ok_int(int a, int b, const char *name)
+   return TEST_FAIL;
+ }
+ 
+-int ok_unsigned int(unsigned int a, unsigned int b, const char *name)
++int ok_uint(unsigned int a, unsigned int b, const char *name)
+ {
+   if (a == b) {
+   t_pass("%s", name);

diff --git a/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild
index 8e54a1b53013..968007cec951 100644
--- a/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild
@@ -90,6 +90,8 @@ RDEPEND="${CONFIGURE_DEPEND}
 
 S="${WORKDIR}/${MY_P}"
 
+PATCHES=( "${FILESDIR}/${P}-musl.patch" )
+
 src_configure() {
local myconf
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/files/, ...

2024-03-28 Thread Louis Sautier
commit: 5c1322c6e59410f4d285d24395e7ff0fab3fc2d0
Author: Louis Sautier  gentoo  org>
AuthorDate: Fri Mar 29 01:26:43 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Fri Mar 29 01:56:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c1322c6

net-analyzer/nagios-plugins-linux-madrisan: fixes for x86, #927490

Closes: https://bugs.gentoo.org/927490
Signed-off-by: Louis Sautier  gentoo.org>

 ...agios-plugins-linux-madrisan-32-x86-fixes.patch | 148 +
 ... => nagios-plugins-linux-madrisan-32-r1.ebuild} |   1 +
 2 files changed, 149 insertions(+)

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
new file mode 100644
index ..657cd458f06e
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-x86-fixes.patch
@@ -0,0 +1,148 @@
+https://github.com/madrisan/nagios-plugins-linux/pull/146
+
+From d09bfd1b3974743af4b719629f59b5b96e1393a1 Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 09:29:59 +0100
+Subject: [PATCH 1/3] fix: size_t variables on 32 and 64 bits arch have
+ different type
+
+Fix the following warning on 32-bits architectures:
+
+In file included from ../lib/container_docker_count.c:44,
+ from tslibcontainer_docker_count.c:33:
+../lib/container_docker_count.c: In function 'docker_running_containers':
+../include/logging.h:28:44: warning: format '%lu' expects argument of type 
'long unsigned int',
+but argument 3 has type 'size_t' {aka 
'unsigned int'} [-Wformat=]
+   28 | # define dbg(format, ...) fprintf (stdout, "DEBUG: " format, 
##__VA_ARGS__)
+  |^
+../lib/container_docker_count.c:213:3: note: in expansion of macro 'dbg'
+  213 |   dbg ("%lu bytes retrieved\n", chunk.size);
+  |   ^~~
+
+Signed-off-by: Davide Madrisan 
+--- a/lib/container_docker_count.c
 b/lib/container_docker_count.c
+@@ -1,7 +1,7 @@
+ // SPDX-License-Identifier: GPL-3.0-or-later
+ /*
+  * License: GPLv3+
+- * Copyright (c) 2018 Davide Madrisan 
++ * Copyright (c) 2018,2024 Davide Madrisan 
+  *
+  * A library for checking for Docker exposed metrics.
+  *
+@@ -210,7 +210,7 @@ docker_running_containers (unsigned int *count, const char 
*image,
+ #endif /* NPL_TESTING */
+ 
+   assert (chunk.memory);
+-  dbg ("%lu bytes retrieved\n", chunk.size);
++  dbg ("%zu bytes retrieved\n", chunk.size);
+   dbg ("json data: %s", chunk.memory);
+ 
+   hashtable = docker_json_parser (chunk.memory, "Image", 1);
+
+From 4574e9ed77ebda062279622bb3d8678fa983d272 Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 17:36:04 +0100
+Subject: [PATCH 2/3] fix: workaround for a round issue on 32 bits
+
+On Gentoo Base System release 2.14 for 32-bits
+
+   (unsigned long)(6.26*100) = 625
+
+So the test fails.
+As a workaround modify the data file used by the test.
+
+Signed-off-by: Davide Madrisan 
+--- a/tests/ts_procpressurecpu.data
 b/tests/ts_procpressurecpu.data
+@@ -1 +1 @@
+-some avg10=7.48 avg60=6.26 avg300=6.66 total=200932088
++some avg10=7.48 avg60=6.25 avg300=6.66 total=200932088
+--- a/tests/tslibpressure.c
 b/tests/tslibpressure.c
+@@ -103,7 +103,7 @@ mymain (void)
+   /* we multiply by 100 the averages to somewhat transform
+* the double values into integer ones  */
+   DO_TEST ("cpu some avg10", psi_oneline->avg10 * 100, 748ULL);
+-  DO_TEST ("cpu some avg60", psi_oneline->avg60 * 100, 626ULL);
++  DO_TEST ("cpu some avg60", psi_oneline->avg60 * 100, 625ULL);
+   DO_TEST ("cpu some avg300", psi_oneline->avg300 * 100, 666ULL);
+   DO_TEST ("cpu single total", psi_oneline->total, 200932088ULL);
+ 
+
+From c90afc02705fd6c32a6764741616b4e17688117b Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Wed, 27 Mar 2024 21:06:25 +0100
+Subject: [PATCH 3/3] fix: fix test tslibxstrton_sizetollint on 32-bit arch
+
+Fix the following errors:
+
+ 1) check function sizetollint with arg 1024b... OK
+ 2) check function sizetollint with arg 8k   ... OK
+ 3) check function sizetollint with arg 50m  ... OK
+ 4) check function sizetollint with arg 2g   ... OK
+ 5) check function sizetollint with arg 3t   ... FAILED
+ 6) check function sizetollint with arg 2p   ... FAILED
+ 7) check function sizetollint with arg 1024B... OK
+ 8) check function sizetollint with arg 8K   ... OK
+ 9) check function sizetollint with arg 50M  ... OK
+10) check function sizetollint with arg 2G   ... OK
+11) check function sizetollint with arg 3T   ... FAILED
+12) check function sizetollint with arg 2P   ... FAILED
+
+The long int is not large 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-03-02 Thread Michael Orlitzky
commit: 59623d1886f79b5fb72ed7bb6d36c89c8a36965b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Mar  2 23:47:28 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Mar  3 01:18:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59623d18

net-analyzer/nagios: add 4.5.1

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.5.1.ebuild | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/net-analyzer/nagios/nagios-4.5.1.ebuild 
b/net-analyzer/nagios/nagios-4.5.1.ebuild
new file mode 100644
index ..371d0ad43626
--- /dev/null
+++ b/net-analyzer/nagios/nagios-4.5.1.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The Nagios metapackage"
+HOMEPAGE="https://www.nagios.org/;
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+
+RDEPEND="~net-analyzer/nagios-core-${PV}
+   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-03-02 Thread Michael Orlitzky
commit: 33880b0d964a99ebb8398239146195bf9b0f857f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Mar  2 23:46:53 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Mar  3 01:17:32 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33880b0d

net-analyzer/nagios-core: add 4.5.1

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest |   1 +
 net-analyzer/nagios-core/nagios-core-4.5.1.ebuild | 266 ++
 2 files changed, 267 insertions(+)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 14f94979bf22..6a4ac48da0dc 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-4.4.14.tar.gz 11341108 BLAKE2B 
254b17fdd90670701d42f4bc90c741592bc21f0813903e5cdcaa671c9b4b7eb32964ae56acf56567198bb8b6d96ce7539bf343b870a4732a46d31557d161a1c1
 SHA512 
dd7ddaf114ac6451b5f157f36bdba27068e94dcfe583cc217f220162b013341984622828574feda8c3c0990388a03ab886791a3188e56bf2eb6b3f8c777c3641
+DIST nagios-4.5.1.tar.gz 11540195 BLAKE2B 
8fa4654a2e7f218d65c8a318418002f09b0e118f44382030900587881d9fac868e8b4416be8e9fb2ae7aecb9555719ef29bc88fd95067d84aecca4bacf28
 SHA512 
71b57d4e0bd2971e8e62b7013c406888d0afd40bc23b032ee9bfdb6e2b3cb083746c5259ef997df241249d2ddaafd6ba5a6470527feddf02e03da32cc0c724b9
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild
new file mode 100644
index ..8e54a1b53013
--- /dev/null
+++ b/net-analyzer/nagios-core/nagios-core-4.5.1.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+MY_P="${PN/-core}-${PV}"
+DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
+HOMEPAGE="https://www.nagios.org/;
+
+# The name of the directory into which our Gentoo icons will be
+# extracted, and also the basename of the archive containing it.
+GENTOO_ICONS="${PN}-gentoo-icons-20141125"
+SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
+   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="apache2 classicui lighttpd +web vim-syntax"
+
+# In pkg_postinst(), we change the group of the Nagios configuration
+# directory to that of the web server user. It can't belong to both
+# apache/lighttpd groups at the same time, so we block this combination
+# for our own sanity.
+#
+# This could be made to work, but we would need a better way to allow
+# the web user read-only access to Nagios's configuration directory.
+#
+REQUIRED_USE="apache2? ( !lighttpd )"
+
+#
+# Note, we require one of the apache2 CGI modules:
+#
+#   * mod_cgi (USE=apache2_modules_cgi)
+#   * mod_cgid (USE=apache2_modules_cgid)
+#   * mod_fcgid (www-apache/mod_fcgid)
+#
+# We just don't care /which/ one. And of course PHP supports both CGI
+# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
+# dependencies, and expect the user not to do anything /too/
+# stupid. (For example, installing Apache with only FastCGI support, and
+# PHP with only CGI support.)
+#
+# Another annoyance is that the upstream Makefile uses app-arch/unzip to
+# extract a snapshot of AngularJS, but that's only needed when USE=web.
+#
+MOD_ALIAS=apache2_modules_alias
+
+# The dependencies checked by the configure script. All of these are
+# also runtime dependencies; that's why ./configure checks for them.
+CONFIGURE_DEPEND="acct-group/nagios
+   acct-user/nagios
+   virtual/mailx
+   dev-lang/perl:="
+
+# In addition to the things that the ./configure script checks for,
+# we also need to be able to unzip stuff on the build host.
+#
+# We need the apache/lighttpd groups in src_install() for the things
+# installed as the --with-command-group argument, so they go here too.
+# The groups are also needed at runtime, but that is ensured by apache
+# and lighttpd themselves being in RDEPEND.
+BDEPEND="${CONFIGURE_DEPEND}
+   apache2? ( acct-group/apache )
+   lighttpd? ( acct-group/lighttpd )
+   web? ( app-arch/unzip )"
+
+# This is linked into /usr/bin/nagios{,tats}
+DEPEND="dev-libs/libltdl:0"
+
+RDEPEND="${CONFIGURE_DEPEND}
+   ${DEPEND}
+   web? (
+   media-libs/gd[jpeg,png]
+   lighttpd? ( www-servers/lighttpd[php] )
+   apache2? (
+   || (
+   
www-servers/apache[${MOD_ALIAS},apache2_modules_cgi]
+

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2024-02-25 Thread Louis Sautier
commit: f5ef64c4d72a730c5ca8680d2b348a6b879cea81
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 25 15:35:58 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Feb 25 15:35:58 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5ef64c4

net-analyzer/nagios-plugins-linux-madrisan: drop 30

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 -
 .../nagios-plugins-linux-madrisan-30.ebuild| 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 818afb425f24..c5a6cee5a49f 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
 DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
deleted file mode 100644
index 6e71445b286d..
--- 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-30.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_PN="nagios-plugins-linux"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Additional and alternative Nagios plugins for Linux"
-HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux;
-SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl varlink"
-
-DEPEND="
-   curl? ( net-misc/curl:0= )
-   varlink? ( dev-libs/libvarlink:= )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   # Avoid collision with net-analyzer/monitoring-plugins
-   # and net-analyzer/nagios-plugins
-   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   local myconf=(
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
-   # Most options are already defaults for Gentoo
-   --disable-hardening
-   $(use_enable curl libcurl)
-   $(use_enable varlink libvarlink)
-   )
-   econf "${myconf[@]}"
-}
-
-src_test() {
-   emake check VERBOSE=1
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/files/, ...

2024-02-25 Thread Louis Sautier
commit: df8740de9ae7efbef8669fcb8047056d6621e8a5
Author: Louis Sautier  gentoo  org>
AuthorDate: Sun Feb 25 14:14:48 2024 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Sun Feb 25 15:34:14 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df8740de

net-analyzer/nagios-plugins-linux-madrisan: add 32

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 ...ins-linux-madrisan-32-rename-with-systemd.patch | 86 ++
 .../nagios-plugins-linux-madrisan-32.ebuild| 54 ++
 3 files changed, 141 insertions(+)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 68974a286f84..818afb425f24 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0
+DIST nagios-plugins-linux-madrisan-32.tar.xz 402976 BLAKE2B 
ef66934315f3ddbee1a2d8472343549c9a5ed731853780ef15b9f44ea462256f730f854d517415dce2b944a4bf0abcbfa0623a7a1faffef4b5bbf162af76
 SHA512 
42392c123961bb17192344f20973a3d26c74aeef112638384d5b7a687e7117a3378d6efdb07ad15a7309f5db621404602e9c2beb0dcc4e207924d0d3a466ab59

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
new file mode 100644
index ..f47319dcd39a
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/files/nagios-plugins-linux-madrisan-32-rename-with-systemd.patch
@@ -0,0 +1,86 @@
+https://github.com/madrisan/nagios-plugins-linux/commit/63914284097e3a59e3407bf894376b859a0d1a2e
+
+From 63914284097e3a59e3407bf894376b859a0d1a2e Mon Sep 17 00:00:00 2001
+From: Davide Madrisan 
+Date: Tue, 30 Jan 2024 18:57:16 +0100
+Subject: [PATCH] fix(configure): rename cmdline option --with-systemd
+
+  Rename --with-systemd to --enable-systemd for consistency
+  with the other optional boolean options.
+
+Signed-off-by: Davide Madrisan 
+--- a/configure.ac
 b/configure.ac
+@@ -337,7 +337,7 @@ AC_CHECK_DECLS([CPU_ALLOC], [], [],
+ 
+ dnl Check for libcurl
+ AC_ARG_ENABLE([libcurl],
+-  AS_HELP_STRING([--enable-libcurl], [Enable libcurl]))
++  AS_HELP_STRING([--enable-libcurl], [enable libcurl]))
+ AS_IF([test "x$enable_libcurl" = "xyes"], [
+   LIBCURL_CHECK_CONFIG([], [7.40.0], [],
+ [AC_MSG_ERROR([Missing required libcurl >= 7.40.0])])
+@@ -346,27 +346,9 @@ AS_IF([test "x$enable_libcurl" = "xyes"], [
+   AM_CONDITIONAL(HAVE_LIBCURL, [test "$libcurl_cv_lib_curl_usable" = "yes"])
+ ], [AM_CONDITIONAL(HAVE_LIBCURL, false)])
+ 
+-dnl Check for systemd-login libraries
+-AC_ARG_WITH([systemd],
+-  AS_HELP_STRING([--without-systemd], [do not build with systemd support]),
+-  [], [with_systemd=check]
+-)
+-have_systemd=no
+-AS_IF([test "x$with_systemd" != "xno"], [
+-  PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], 
[have_systemd=no])
+-  AS_CASE([$with_systemd:$have_systemd],
+-[yes:no],
+-  [AC_MSG_ERROR([systemd expected but libsystemd not found])],
+-[*:yes],
+-   AC_DEFINE([HAVE_LIBSYSTEMD], [1], [Define if libsystemd is available])
+-   AC_DEFINE([USE_SYSTEMD], [1], [Define if systemd support is wanted ])
+-  )
+-])
+-AM_CONDITIONAL([HAVE_SYSTEMD], [test "x$have_systemd" = "xyes"])
+-
+ dnl Check for libvarlink
+ AC_ARG_ENABLE([libvarlink],
+-  AS_HELP_STRING([--enable-libvarlink], [Enable libvarlink]))
++  AS_HELP_STRING([--enable-libvarlink], [enable libvarlink]))
+ AS_IF([test "x$enable_libvarlink" = "xyes"], [
+   PKG_CHECK_EXISTS([libvarlink],
+ [PKG_CHECK_MODULES(LIBVARLINK, [libvarlink >= 18],
+@@ -394,6 +376,24 @@ AS_IF([test "x$enable_libprocps" = "xyes"], [
+ ])
+ AM_CONDITIONAL(HAVE_LIBPROCPS, [test "$have_libprocps" = "yes"])
+ 
++dnl Check for systemd-login libraries
++AC_ARG_ENABLE([systemd],
++  AS_HELP_STRING([--enable-systemd], [enable systemd related features]),
++  [], [enable_systemd=check]
++)
++have_systemd=no
++AS_IF([test "x$enable_systemd" != "xno"], [
++  PKG_CHECK_MODULES([SYSTEMD], [libsystemd], [have_systemd=yes], 
[have_systemd=no])
++  AS_CASE([$enable_systemd:$have_systemd],
++[yes:no],
++  

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/files/, net-analyzer/nagios-plugins/

2024-02-18 Thread Michael Orlitzky
commit: 8c3cd19023d036f0a77c98de68304071e035
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb 18 22:46:43 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb 18 22:49:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c3cd190

net-analyzer/nagios-plugins: drop 2.4.0-r3, 2.4.2-r3

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/Manifest   |   2 -
 .../files/define-own-mysql-port-constant.patch | 100 --
 .../nagios-plugins/nagios-plugins-2.4.0-r3.ebuild  | 115 -
 .../nagios-plugins/nagios-plugins-2.4.2-r3.ebuild  | 111 
 4 files changed, 328 deletions(-)

diff --git a/net-analyzer/nagios-plugins/Manifest 
b/net-analyzer/nagios-plugins/Manifest
index 0bcd88f5261f..1b065025a063 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -1,3 +1 @@
-DIST nagios-plugins-2.4.0.tar.gz 2738643 BLAKE2B 
695c3804aec592dad0ae1f2f19222a5ae066944de4169beba08dd1e7beee51c5082679dfc1cf5adc052758e3142f33187ebde9636af19ae313f1448867764878
 SHA512 
f6f4cd604d28161f36c1429dbfa8f07e9fa468d8d8c21925d53d7049f0765504cb785e1f1189a0c93aa1f0cd1fe3985409c420b7724aa39790836af5c3f725ff
-DIST nagios-plugins-2.4.2.tar.gz 2740092 BLAKE2B 
73101f0d439a10bbc0e5d576fe1cf60f115eead00e4611e2f820ebde86390daf1904a45603389a6ad0a9fdb0f14fb49b429ad571159f605df5490f9798fc18d1
 SHA512 
43448483301c8f5fb9be9b496514a9e15199c320b2a320bb93c4fc6f6fcd35f2a469f980916b37b2b7e565edcb14eea1692f290b0a7bca9364e298eb42af63ce
 DIST nagios-plugins-2.4.6.tar.gz 2751770 BLAKE2B 
a85da8eaa8d926e2ccae3451d9faa680b75ebd736ba1306c69e7d3b2b8749787743dd6e26013d3a72fba12ef49fdf635c60052791fab558eb49c379bdbb6bac7
 SHA512 
f2a12a5b6a70849d7233debd1ca95667df981d3627287e3b8813d8fd709c4f4a26cf2128851837f33e0df3132132a4f891edef90e220bc16b1a6351d514faa43

diff --git 
a/net-analyzer/nagios-plugins/files/define-own-mysql-port-constant.patch 
b/net-analyzer/nagios-plugins/files/define-own-mysql-port-constant.patch
deleted file mode 100644
index 67bc65cad880..
--- a/net-analyzer/nagios-plugins/files/define-own-mysql-port-constant.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-From 43ff2e8607c0b7095c2a4dcab6e466bc67e2e2ff Mon Sep 17 00:00:00 2001
-From: Michael Orlitzky 
-Date: Thu, 26 Oct 2017 15:01:17 -0400
-Subject: [PATCH 1/3] plugins/check_mysql*.c: define our own default MySQL
- port.
-
-The MYSQL_PORT constant used to be defined in mysql.h, and was used as
-the default port in the two plugins check_mysql and check_mysql_query.
-Now that mysql.h no longer defines that constant, our plugins fail to
-build against newer versions of MySQL and MariaDB.
-
-Since MYSQL_PORT used the "default port" on the local system, it
-actually was not the best choice as the default for the check plugins:
-when monitoring remote MySQL servers, the usual default of 3306 is
-more likely to be correct than whatever the local server happens to be
-listening on.
-
-As a result, we fix the issue by defining our own constant, called
-CHECK_PORT_DEFAULT, as "3306" at the top of both check_mysql.c and
-check_mysql_query.c. The existing uses of MYSQL_PORT have been changed
-to use the new CHECK_PORT_DEFAULT.
-
-This change is backwards-incompatible: any users who compiled in a
-MYSQL_PORT other than 3306 and who were running their checks on the
-same server as the database will now need to specify that port
-explicitly.
-
-Closes: https://github.com/nagios-plugins/nagios-plugins/issues/288

- plugins/check_mysql.c   | 7 +--
- plugins/check_mysql_query.c | 7 +--
- 2 files changed, 10 insertions(+), 4 deletions(-)
-
-diff --git a/plugins/check_mysql.c b/plugins/check_mysql.c
-index 83f89c85..c0b61292 100644
 a/plugins/check_mysql.c
-+++ b/plugins/check_mysql.c
-@@ -36,6 +36,9 @@ const char *email = "de...@nagios-plugins.org";
- 
- #define SLAVERESULTSIZE 70
- 
-+/* The default port that MySQL servers listen on. */
-+#define CHECK_PORT_DEFAULT 3306
-+
- #include "common.h"
- #include "utils.h"
- #include "utils_base.h"
-@@ -58,7 +61,7 @@ char *ciphers = NULL;
- bool ssl = false;
- char *opt_file = NULL;
- char *opt_group = NULL;
--unsigned int db_port = MYSQL_PORT;
-+unsigned int db_port = CHECK_PORT_DEFAULT;
- int check_slave = 0, warn_sec = 0, crit_sec = 0;
- int ignore_auth = 0;
- int verbose = 0;
-@@ -505,7 +508,7 @@ void
- print_help (void)
- {
-   char *myport;
--  xasprintf (, "%d", MYSQL_PORT);
-+  xasprintf (, "%d", CHECK_PORT_DEFAULT);
- 
-   print_revision (progname, NP_VERSION);
- 
-diff --git a/plugins/check_mysql_query.c b/plugins/check_mysql_query.c
-index 436e0685..e9c3acfb 100644
 a/plugins/check_mysql_query.c
-+++ b/plugins/check_mysql_query.c
-@@ -33,6 +33,9 @@ const char *progname = "check_mysql_query";
- const char *copyright = "1999-2014";
- const char *email = "de...@nagios-plugins.org";
- 
-+/* The default port that MySQL servers listen on. 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-02-18 Thread Michael Orlitzky
commit: eec101d8860c82ac191e278cb424ed10515023ad
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb 18 22:45:20 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb 18 22:49:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eec101d8

net-analyzer/nagios: drop 4.4.10

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.10.ebuild | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.10.ebuild 
b/net-analyzer/nagios/nagios-4.4.10.ebuild
deleted file mode 100644
index 329a15c9deb1..
--- a/net-analyzer/nagios/nagios-4.4.10.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="The Nagios metapackage"
-HOMEPAGE="https://www.nagios.org/;
-
-LICENSE="metapackage"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="~net-analyzer/nagios-core-${PV}
-   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-02-18 Thread Michael Orlitzky
commit: ef501e7a93dfaf327c71ae17a41b37adae6ff120
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb 18 22:45:41 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb 18 22:49:45 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef501e7a

net-analyzer/nagios-core: drop 4.4.10

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest  |   1 -
 net-analyzer/nagios-core/nagios-core-4.4.10.ebuild | 266 -
 2 files changed, 267 deletions(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index cf2bd00ffeb1..14f94979bf22 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-4.4.10.tar.gz 11339491 BLAKE2B 
300ffe4abb41c1dc67b6a4976158eae503f9f55593ad492a70a6915e112ad3949d0e0cd0ec2f06a29540544fbcf79495652dd912f1a8e688056c21bbb58ed6d4
 SHA512 
fc8d8203d53c4ec87a831cec0564c9bdb553a43675b974616ce6444340b2170b82091259d495b458ab57b0cce0ab23ab30df09b05d71107ff264462c0ebb37fc
 DIST nagios-4.4.14.tar.gz 11341108 BLAKE2B 
254b17fdd90670701d42f4bc90c741592bc21f0813903e5cdcaa671c9b4b7eb32964ae56acf56567198bb8b6d96ce7539bf343b870a4732a46d31557d161a1c1
 SHA512 
dd7ddaf114ac6451b5f157f36bdba27068e94dcfe583cc217f220162b013341984622828574feda8c3c0990388a03ab886791a3188e56bf2eb6b3f8c777c3641
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
deleted file mode 100644
index dd7e014a712a..
--- a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-MY_P="${PN/-core}-${PV}"
-DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
-HOMEPAGE="https://www.nagios.org/;
-
-# The name of the directory into which our Gentoo icons will be
-# extracted, and also the basename of the archive containing it.
-GENTOO_ICONS="${PN}-gentoo-icons-20141125"
-SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
-   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE="apache2 classicui lighttpd +web vim-syntax"
-
-# In pkg_postinst(), we change the group of the Nagios configuration
-# directory to that of the web server user. It can't belong to both
-# apache/lighttpd groups at the same time, so we block this combination
-# for our own sanity.
-#
-# This could be made to work, but we would need a better way to allow
-# the web user read-only access to Nagios's configuration directory.
-#
-REQUIRED_USE="apache2? ( !lighttpd )"
-
-#
-# Note, we require one of the apache2 CGI modules:
-#
-#   * mod_cgi (USE=apache2_modules_cgi)
-#   * mod_cgid (USE=apache2_modules_cgid)
-#   * mod_fcgid (www-apache/mod_fcgid)
-#
-# We just don't care /which/ one. And of course PHP supports both CGI
-# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
-# dependencies, and expect the user not to do anything /too/
-# stupid. (For example, installing Apache with only FastCGI support, and
-# PHP with only CGI support.)
-#
-# Another annoyance is that the upstream Makefile uses app-arch/unzip to
-# extract a snapshot of AngularJS, but that's only needed when USE=web.
-#
-MOD_ALIAS=apache2_modules_alias
-
-# The dependencies checked by the configure script. All of these are
-# also runtime dependencies; that's why ./configure checks for them.
-CONFIGURE_DEPEND="acct-group/nagios
-   acct-user/nagios
-   virtual/mailx
-   dev-lang/perl:="
-
-# In addition to the things that the ./configure script checks for,
-# we also need to be able to unzip stuff on the build host.
-#
-# We need the apache/lighttpd groups in src_install() for the things
-# installed as the --with-command-group argument, so they go here too.
-# The groups are also needed at runtime, but that is ensured by apache
-# and lighttpd themselves being in RDEPEND.
-BDEPEND="${CONFIGURE_DEPEND}
-   apache2? ( acct-group/apache )
-   lighttpd? ( acct-group/lighttpd )
-   web? ( app-arch/unzip )"
-
-# This is linked into /usr/bin/nagios{,tats}
-DEPEND="dev-libs/libltdl:0"
-
-RDEPEND="${CONFIGURE_DEPEND}
-   ${DEPEND}
-   web? (
-   media-libs/gd[jpeg,png]
-   lighttpd? ( www-servers/lighttpd[php] )
-   apache2? (
-   || (
-   

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Sam James
commit: 53ab494fe610bca755532a0783aba2f257fa51f4
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 22:42:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 22:42:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53ab494f

net-analyzer/nagios-plugins: Stabilize 2.4.6 sparc, #924931

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
index ac28f741ccc0..e7c725947880 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-02-18 Thread Sam James
commit: 5f40268c2a4a6d18eac0c9b34dc8d8a66df04122
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 22:42:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 22:42:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f40268c

net-analyzer/nagios-core: Stabilize 4.4.14 sparc, #924931

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
index 2fa1e11b8f60..14dbc007802e 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-02-18 Thread Sam James
commit: 2500bce340994113a1d793d503f638e1bb2d6551
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 18 22:42:25 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 18 22:42:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2500bce3

net-analyzer/nagios: Stabilize 4.4.14 sparc, #924931

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios/nagios-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.14.ebuild 
b/net-analyzer/nagios/nagios-4.4.14.ebuild
index 6b19ae129285..6369ad6956d0 100644
--- a/net-analyzer/nagios/nagios-4.4.14.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.14.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Arthur Zamarin
commit: 8503e6542fa39421c214bd767fa0f4ca8e57faaf
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8503e654

net-analyzer/nagios-plugins: Stabilize 2.4.6 ppc64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
index 4b9105ab23c8..ac28f741ccc0 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-02-18 Thread Arthur Zamarin
commit: 7bdd5b6eecd034a989aad04395175a242f4d803f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:11 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bdd5b6e

net-analyzer/nagios-core: Stabilize 4.4.14 ppc64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
index 717cd631..2fa1e11b8f60 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~sparc x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-02-18 Thread Arthur Zamarin
commit: 950809cd0d8e0848f29c223c75feff727274bc6d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:07 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950809cd

net-analyzer/nagios: Stabilize 4.4.14 amd64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios/nagios-4.4.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.14.ebuild 
b/net-analyzer/nagios/nagios-4.4.14.ebuild
index 917c4e712c90..c6eb9c4e757b 100644
--- a/net-analyzer/nagios/nagios-4.4.14.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Arthur Zamarin
commit: 239bb73225165cfb92c1910772433406658b5c1e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=239bb732

net-analyzer/nagios-plugins: Stabilize 2.4.6 x86, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
index b939eca38862..4b9105ab23c8 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-02-18 Thread Arthur Zamarin
commit: a00a3823fac2ab1666e4222b57d2ddf1913ffb74
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:11 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:36 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00a3823

net-analyzer/nagios: Stabilize 4.4.14 ppc64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios/nagios-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.14.ebuild 
b/net-analyzer/nagios/nagios-4.4.14.ebuild
index f7747dcea7b6..6b19ae129285 100644
--- a/net-analyzer/nagios/nagios-4.4.14.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.14.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2024-02-18 Thread Arthur Zamarin
commit: a9adf87882304b073146a5e9c616fc52fff1fea3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:09 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9adf878

net-analyzer/nagios: Stabilize 4.4.14 x86, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios/nagios-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.14.ebuild 
b/net-analyzer/nagios/nagios-4.4.14.ebuild
index c6eb9c4e757b..f7747dcea7b6 100644
--- a/net-analyzer/nagios/nagios-4.4.14.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.14.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-02-18 Thread Arthur Zamarin
commit: c2d5fa5d4c5db53f078da9bc73a768cab5e20a00
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:10 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2d5fa5d

net-analyzer/nagios-core: Stabilize 4.4.14 x86, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.14.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
index bf68fd9a8dbc..717cd631 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Arthur Zamarin
commit: 0fc101c828c8fda58db340bd0400531ba978bcd8
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc101c8

net-analyzer/nagios-plugins: Stabilize 2.4.6 amd64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
index 841c473ee4dc..b939eca38862 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2024-02-18 Thread Arthur Zamarin
commit: 95bb2592131e9d36c68dd3d3e517647df7579c36
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Feb 18 19:57:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Feb 18 19:57:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95bb2592

net-analyzer/nagios-core: Stabilize 4.4.14 amd64, #924931

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
index 1f5a40a99885..bf68fd9a8dbc 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Michael Orlitzky
commit: bd5f0900961c62d11d53c2cf74d452413a6ff518
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb 18 15:03:12 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb 18 15:07:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5f0900

net-analyzer/nagios-plugins: whitelist some implicit function definitions

Bug: https://bugs.gentoo.org/907755
Closes: https://bugs.gentoo.org/924341
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
index 2eb6ce8a7ee6..841c473ee4dc 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -62,6 +62,16 @@ DOCS=(
THANKS
 )
 
+# These all come from gnulib and the ./configure checks are working as
+# intended when the functions aren't present. Bugs 907755 and 924341.
+QA_CONFIG_IMPL_DECL_SKIP=(
+   statvfs64
+   re_set_syntax
+   re_compile_pattern
+   re_search
+   re_match
+)
+
 src_prepare() {
default
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2024-02-18 Thread Michael Orlitzky
commit: a3ac3a556d328e2e369b2bf999a21766ae1c4f90
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Feb 18 15:06:10 2024 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Feb 18 15:07:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ac3a55

net-analyzer/nagios-plugins: define USE=ipv6 locally to keep pkgcheck happy

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/net-analyzer/nagios-plugins/metadata.xml 
b/net-analyzer/nagios-plugins/metadata.xml
index 1fc16ad360c6..10fc78d5339d 100644
--- a/net-analyzer/nagios-plugins/metadata.xml
+++ b/net-analyzer/nagios-plugins/metadata.xml
@@ -10,6 +10,10 @@
 Gentoo Sysadmin Project
   
   
+
+
+  Enable ipv6 checks.
+
 
   Install net-dns/bind-tools required for monitoring
   DNS servers. Disabling the flag does not remove any plugin file.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2023-09-09 Thread Michael Orlitzky
commit: a5b8d1990463a4d148b7257213c41b7753394605
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Sep  9 23:34:32 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Sep  9 23:34:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b8d199

net-analyzer/nagios-plugins: add 2.4.6

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/Manifest   |   1 +
 .../nagios-plugins/nagios-plugins-2.4.6.ebuild | 111 +
 2 files changed, 112 insertions(+)

diff --git a/net-analyzer/nagios-plugins/Manifest 
b/net-analyzer/nagios-plugins/Manifest
index 349c22b0a912..0bcd88f5261f 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-2.4.0.tar.gz 2738643 BLAKE2B 
695c3804aec592dad0ae1f2f19222a5ae066944de4169beba08dd1e7beee51c5082679dfc1cf5adc052758e3142f33187ebde9636af19ae313f1448867764878
 SHA512 
f6f4cd604d28161f36c1429dbfa8f07e9fa468d8d8c21925d53d7049f0765504cb785e1f1189a0c93aa1f0cd1fe3985409c420b7724aa39790836af5c3f725ff
 DIST nagios-plugins-2.4.2.tar.gz 2740092 BLAKE2B 
73101f0d439a10bbc0e5d576fe1cf60f115eead00e4611e2f820ebde86390daf1904a45603389a6ad0a9fdb0f14fb49b429ad571159f605df5490f9798fc18d1
 SHA512 
43448483301c8f5fb9be9b496514a9e15199c320b2a320bb93c4fc6f6fcd35f2a469f980916b37b2b7e565edcb14eea1692f290b0a7bca9364e298eb42af63ce
+DIST nagios-plugins-2.4.6.tar.gz 2751770 BLAKE2B 
a85da8eaa8d926e2ccae3451d9faa680b75ebd736ba1306c69e7d3b2b8749787743dd6e26013d3a72fba12ef49fdf635c60052791fab558eb49c379bdbb6bac7
 SHA512 
f2a12a5b6a70849d7233debd1ca95667df981d3627287e3b8813d8fd709c4f4a26cf2128851837f33e0df3132132a4f891edef90e220bc16b1a6351d514faa43

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
new file mode 100644
index ..2eb6ce8a7ee6
--- /dev/null
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.6.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Official plugins for Nagios"
+HOMEPAGE="https://nagios-plugins.org/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
+
+# Most of the plugins use automagic dependencies, i.e. the plugin will
+# get built if the binary it uses is installed. For example, check_snmp
+# will be built only if snmpget from net-analyzer/net-snmp[-minimal] is
+# installed. End result: most of our runtime dependencies are required
+# at build time as well.
+AUTOMAGIC_DEPEND="
+   nagios-dns? ( net-dns/bind-tools )
+   nagios-game? ( games-util/qstat )
+   nagios-ping? ( net-analyzer/fping )
+   samba? ( net-fs/samba )
+   ssh? ( virtual/openssh )
+   snmp? ( dev-perl/Net-SNMP
+   net-analyzer/net-snmp[-minimal] )"
+
+# Perl really needs to run during the build...
+BDEPEND="${AUTOMAGIC_DEPEND}
+   dev-lang/perl"
+
+DEPEND="
+   ldap? ( net-nds/openldap:= )
+   mysql? ( dev-db/mysql-connector-c:= )
+   postgres? ( dev-db/postgresql:* )
+   ssl? (
+   dev-libs/openssl:0=
+   )
+   radius? ( net-dialup/freeradius-client )"
+
+# Basically everything in net-analyzer/monitoring-plugins collides with
+# nagios-plugins. Perl (from BDEPEND) is needed at runtime, too.
+RDEPEND="${BDEPEND}
+   ${DEPEND}
+   !net-analyzer/monitoring-plugins
+   selinux? ( sec-policy/selinux-nagios )"
+
+# At least one test is interactive.
+RESTRICT="test"
+
+DOCS=(
+   ACKNOWLEDGEMENTS
+   AUTHORS
+   CODING
+   ChangeLog
+   FAQ
+   NEWS
+   README
+   REQUIREMENTS
+   SUPPORT
+   THANKS
+)
+
+src_prepare() {
+   default
+
+   # Fix the path to our perl interpreter
+   sed -i -e "1s:/usr/local/bin/perl:/usr/bin/perl:" \
+   "${S}"/plugins-scripts/*.pl \
+   || die 'failed to fix perl interpreter path'
+}
+
+src_configure() {
+   # Use an array to prevent econf from mangling the ping args.
+   local myconf=()
+
+   if use ssl; then
+   myconf+=( $(use_with ssl openssl /usr) )
+   else
+   myconf+=( --without-openssl )
+   myconf+=( --without-gnutls )
+   fi
+
+   # The autodetection for these two commands can hang if localhost is
+   # down or ICMP traffic is filtered (bug #468296). But also the path
+   # likes to move around on us (bug #883765).
+   myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
+
+   if use ipv6; then
+   myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )
+   fi
+
+   econf 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-09-09 Thread Michael Orlitzky
commit: 49960b1873c0fdbfcfa57a81b046b05ba2d44eb2
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Sep  9 23:37:12 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Sep  9 23:37:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49960b18

net-analyzer/nagios-core: add 4.4.14, drop 4.4.13

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest   | 2 +-
 .../{nagios-core-4.4.13.ebuild => nagios-core-4.4.14.ebuild}| 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 88d50abd8235..cf2bd00ffeb1 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,3 @@
 DIST nagios-4.4.10.tar.gz 11339491 BLAKE2B 
300ffe4abb41c1dc67b6a4976158eae503f9f55593ad492a70a6915e112ad3949d0e0cd0ec2f06a29540544fbcf79495652dd912f1a8e688056c21bbb58ed6d4
 SHA512 
fc8d8203d53c4ec87a831cec0564c9bdb553a43675b974616ce6444340b2170b82091259d495b458ab57b0cce0ab23ab30df09b05d71107ff264462c0ebb37fc
-DIST nagios-4.4.13.tar.gz 11341150 BLAKE2B 
04e2b261536755806f54a4308ba7f615fe055182f91171ddbae47a23d8a0362c33ce2cb4ce50bb75d4a6f170a9ce5892f30181b7c77a6968707f8965ac5f3a28
 SHA512 
43808bf2f9460d2d0fcac6aea8492cf7abc18a527c671e3a8e776ee3563bb91be1f5f384cfc3943157a355596ce4e1516e3ebc54d51c30479054180b01dfe3e8
+DIST nagios-4.4.14.tar.gz 11341108 BLAKE2B 
254b17fdd90670701d42f4bc90c741592bc21f0813903e5cdcaa671c9b4b7eb32964ae56acf56567198bb8b6d96ce7539bf343b870a4732a46d31557d161a1c1
 SHA512 
dd7ddaf114ac6451b5f157f36bdba27068e94dcfe583cc217f220162b013341984622828574feda8c3c0990388a03ab886791a3188e56bf2eb6b3f8c777c3641
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.13.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.14.ebuild
similarity index 100%
rename from net-analyzer/nagios-core/nagios-core-4.4.13.ebuild
rename to net-analyzer/nagios-core/nagios-core-4.4.14.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-09-09 Thread Michael Orlitzky
commit: ed09a9c88039ebadeb8c6794e41078a3f9ee
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Sep  9 23:37:32 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Sep  9 23:37:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed09

net-analyzer/nagios: add 4.4.14, drop 4.4.13

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/{nagios-4.4.13.ebuild => nagios-4.4.14.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.13.ebuild 
b/net-analyzer/nagios/nagios-4.4.14.ebuild
similarity index 100%
rename from net-analyzer/nagios/nagios-4.4.13.ebuild
rename to net-analyzer/nagios/nagios-4.4.14.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-06-19 Thread Michael Orlitzky
commit: b9874c5dbbcb0bd7398b1573cb3405e876496607
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Jun 19 21:44:28 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Jun 19 21:54:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9874c5d

net-analyzer/nagios-core: add 4.4.13

Closes: https://bugs.gentoo.org/908842
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest  |   1 +
 net-analyzer/nagios-core/nagios-core-4.4.13.ebuild | 266 +
 2 files changed, 267 insertions(+)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 4550c9f26511..88d50abd8235 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-4.4.10.tar.gz 11339491 BLAKE2B 
300ffe4abb41c1dc67b6a4976158eae503f9f55593ad492a70a6915e112ad3949d0e0cd0ec2f06a29540544fbcf79495652dd912f1a8e688056c21bbb58ed6d4
 SHA512 
fc8d8203d53c4ec87a831cec0564c9bdb553a43675b974616ce6444340b2170b82091259d495b458ab57b0cce0ab23ab30df09b05d71107ff264462c0ebb37fc
+DIST nagios-4.4.13.tar.gz 11341150 BLAKE2B 
04e2b261536755806f54a4308ba7f615fe055182f91171ddbae47a23d8a0362c33ce2cb4ce50bb75d4a6f170a9ce5892f30181b7c77a6968707f8965ac5f3a28
 SHA512 
43808bf2f9460d2d0fcac6aea8492cf7abc18a527c671e3a8e776ee3563bb91be1f5f384cfc3943157a355596ce4e1516e3ebc54d51c30479054180b01dfe3e8
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.13.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.13.ebuild
new file mode 100644
index ..1f5a40a99885
--- /dev/null
+++ b/net-analyzer/nagios-core/nagios-core-4.4.13.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+MY_P="${PN/-core}-${PV}"
+DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
+HOMEPAGE="https://www.nagios.org/;
+
+# The name of the directory into which our Gentoo icons will be
+# extracted, and also the basename of the archive containing it.
+GENTOO_ICONS="${PN}-gentoo-icons-20141125"
+SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
+   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="apache2 classicui lighttpd +web vim-syntax"
+
+# In pkg_postinst(), we change the group of the Nagios configuration
+# directory to that of the web server user. It can't belong to both
+# apache/lighttpd groups at the same time, so we block this combination
+# for our own sanity.
+#
+# This could be made to work, but we would need a better way to allow
+# the web user read-only access to Nagios's configuration directory.
+#
+REQUIRED_USE="apache2? ( !lighttpd )"
+
+#
+# Note, we require one of the apache2 CGI modules:
+#
+#   * mod_cgi (USE=apache2_modules_cgi)
+#   * mod_cgid (USE=apache2_modules_cgid)
+#   * mod_fcgid (www-apache/mod_fcgid)
+#
+# We just don't care /which/ one. And of course PHP supports both CGI
+# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
+# dependencies, and expect the user not to do anything /too/
+# stupid. (For example, installing Apache with only FastCGI support, and
+# PHP with only CGI support.)
+#
+# Another annoyance is that the upstream Makefile uses app-arch/unzip to
+# extract a snapshot of AngularJS, but that's only needed when USE=web.
+#
+MOD_ALIAS=apache2_modules_alias
+
+# The dependencies checked by the configure script. All of these are
+# also runtime dependencies; that's why ./configure checks for them.
+CONFIGURE_DEPEND="acct-group/nagios
+   acct-user/nagios
+   virtual/mailx
+   dev-lang/perl:="
+
+# In addition to the things that the ./configure script checks for,
+# we also need to be able to unzip stuff on the build host.
+#
+# We need the apache/lighttpd groups in src_install() for the things
+# installed as the --with-command-group argument, so they go here too.
+# The groups are also needed at runtime, but that is ensured by apache
+# and lighttpd themselves being in RDEPEND.
+BDEPEND="${CONFIGURE_DEPEND}
+   apache2? ( acct-group/apache )
+   lighttpd? ( acct-group/lighttpd )
+   web? ( app-arch/unzip )"
+
+# This is linked into /usr/bin/nagios{,tats}
+DEPEND="dev-libs/libltdl:0"
+
+RDEPEND="${CONFIGURE_DEPEND}
+   ${DEPEND}
+   web? (
+   media-libs/gd[jpeg,png]
+   lighttpd? ( www-servers/lighttpd[php] )
+   apache2? (
+   || (
+   

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-06-19 Thread Michael Orlitzky
commit: 2332ecc182693b2a91e1dc25bd4c0805e497f97c
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Mon Jun 19 21:45:06 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Mon Jun 19 21:54:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2332ecc1

net-analyzer/nagios: add 4.4.13

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.13.ebuild | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/net-analyzer/nagios/nagios-4.4.13.ebuild 
b/net-analyzer/nagios/nagios-4.4.13.ebuild
new file mode 100644
index ..917c4e712c90
--- /dev/null
+++ b/net-analyzer/nagios/nagios-4.4.13.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The Nagios metapackage"
+HOMEPAGE="https://www.nagios.org/;
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="~net-analyzer/nagios-core-${PV}
+   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-06-10 Thread Michael Orlitzky
commit: ade8f5976b8bf6d2fe03a592d229a0fd42ecd46a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jun 10 11:39:47 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jun 10 11:39:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ade8f597

net-analyzer/nagios: stabilize 4.4.10 for amd64, ppc64, sparc, x86

On second thought, this is only a metapackage; no need to bother the
arch teams with it.

Closes: https://bugs.gentoo.org/908135
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.10.ebuild 
b/net-analyzer/nagios/nagios-4.4.10.ebuild
index 917c4e712c90..329a15c9deb1 100644
--- a/net-analyzer/nagios/nagios-4.4.10.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.10.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-06-10 Thread Michael Orlitzky
commit: bce66aecf73ed7827fa58d106e24cb61e01f4f26
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jun 10 11:39:15 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jun 10 11:39:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce66aec

net-analyzer/nagios-core: drop 4.4.7

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest |   1 -
 net-analyzer/nagios-core/nagios-core-4.4.7.ebuild | 266 --
 2 files changed, 267 deletions(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 9ce24011d558..4550c9f26511 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,2 @@
 DIST nagios-4.4.10.tar.gz 11339491 BLAKE2B 
300ffe4abb41c1dc67b6a4976158eae503f9f55593ad492a70a6915e112ad3949d0e0cd0ec2f06a29540544fbcf79495652dd912f1a8e688056c21bbb58ed6d4
 SHA512 
fc8d8203d53c4ec87a831cec0564c9bdb553a43675b974616ce6444340b2170b82091259d495b458ab57b0cce0ab23ab30df09b05d71107ff264462c0ebb37fc
-DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
deleted file mode 100644
index 9483f0dda9d3..
--- a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-MY_P="${PN/-core}-${PV}"
-DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
-HOMEPAGE="https://www.nagios.org/;
-
-# The name of the directory into which our Gentoo icons will be
-# extracted, and also the basename of the archive containing it.
-GENTOO_ICONS="${PN}-gentoo-icons-20141125"
-SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
-   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE="apache2 classicui lighttpd +web vim-syntax"
-
-# In pkg_postinst(), we change the group of the Nagios configuration
-# directory to that of the web server user. It can't belong to both
-# apache/lighttpd groups at the same time, so we block this combination
-# for our own sanity.
-#
-# This could be made to work, but we would need a better way to allow
-# the web user read-only access to Nagios's configuration directory.
-#
-REQUIRED_USE="apache2? ( !lighttpd )"
-
-#
-# Note, we require one of the apache2 CGI modules:
-#
-#   * mod_cgi (USE=apache2_modules_cgi)
-#   * mod_cgid (USE=apache2_modules_cgid)
-#   * mod_fcgid (www-apache/mod_fcgid)
-#
-# We just don't care /which/ one. And of course PHP supports both CGI
-# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
-# dependencies, and expect the user not to do anything /too/
-# stupid. (For example, installing Apache with only FastCGI support, and
-# PHP with only CGI support.)
-#
-# Another annoyance is that the upstream Makefile uses app-arch/unzip to
-# extract a snapshot of AngularJS, but that's only needed when USE=web.
-#
-MOD_ALIAS=apache2_modules_alias
-
-# The dependencies checked by the configure script. All of these are
-# also runtime dependencies; that's why ./configure checks for them.
-CONFIGURE_DEPEND="acct-group/nagios
-   acct-user/nagios
-   virtual/mailx
-   dev-lang/perl:="
-
-# In addition to the things that the ./configure script checks for,
-# we also need to be able to unzip stuff on the build host.
-#
-# We need the apache/lighttpd groups in src_install() for the things
-# installed as the --with-command-group argument, so they go here too.
-# The groups are also needed at runtime, but that is ensured by apache
-# and lighttpd themselves being in RDEPEND.
-BDEPEND="${CONFIGURE_DEPEND}
-   apache2? ( acct-group/apache )
-   lighttpd? ( acct-group/lighttpd )
-   web? ( app-arch/unzip )"
-
-# This is linked into /usr/bin/nagios{,tats}
-DEPEND="dev-libs/libltdl:0"
-
-RDEPEND="${CONFIGURE_DEPEND}
-   ${DEPEND}
-   web? (
-   media-libs/gd[jpeg,png]
-   lighttpd? ( www-servers/lighttpd[php] )
-   apache2? (
-   || (
-   
www-servers/apache[${MOD_ALIAS},apache2_modules_cgi]
-

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2023-06-10 Thread Michael Orlitzky
commit: 15a098e932142df50800214a53456df5f92e2452
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jun 10 11:32:54 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jun 10 11:32:54 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15a098e9

net-analyzer/nagios-check_rbl: drop 1.6.3

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-check_rbl/Manifest |  1 -
 .../nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild | 58 --
 2 files changed, 59 deletions(-)

diff --git a/net-analyzer/nagios-check_rbl/Manifest 
b/net-analyzer/nagios-check_rbl/Manifest
index f5643f9d6de3..49b67622e22b 100644
--- a/net-analyzer/nagios-check_rbl/Manifest
+++ b/net-analyzer/nagios-check_rbl/Manifest
@@ -1,2 +1 @@
-DIST check_rbl-1.6.3.tar.gz 50250 BLAKE2B 
cdaaf7252871c6a2cf34a1cacef36251b8526b73f4edb73fc1611a3426f350523928532bc78068438b8e71ec0e023da46749673aa5e9e1d5c6cd8b889f330305
 SHA512 
2fc84089eb9e41657f522aa7813776b3d46811759e177d031ff5d2f737d63c00897d50d5d878c1e5d5368ca1dde0b173e81b8a6f16fbb970270ef63d988add9b
 DIST check_rbl-1.7.0.tar.gz 51673 BLAKE2B 
7e2d23ea5cd44082ebe9963326bc2a8517c737640fada229d0b65d64ac92ce50e80b675834f4bd7dbc56d653e0243558fe6f1c402b11498d48bc948d3facda57
 SHA512 
5b219362bfa736832e935c64019ee50b87d4f9cc2bce0ab4795eb4c59e03712adc9461cdd6624cbaf1d98a5afdd9f611dbdc58fd913a4478b0fef0664cddcf80

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
deleted file mode 100644
index 9009b574e0d7..
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Monitor whether or not a host is blacklisted"
-HOMEPAGE="https://github.com/matteocorti/check_rbl;
-
-MY_P="${P/nagios-/}"
-SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_P}.tar.gz;
-
-LICENSE="GPL-3"
-SLOT="0"
-
-KEYWORDS="amd64 ~hppa sparc x86"
-IUSE=""
-
-# No, this is not redundant -- see bug 627082.
-RESTRICT=test
-
-# The package's INSTALL/Makefile.PL files specify its dependencies.
-#
-#   * Data::Validate::Domain (dev-perl/Data-Validate-Domain)
-#   * Data::Validate::IP (dev-perl/Data-Validate-IP)
-#   * IO::Select (dev-lang/perl)
-#   * Monitoring::Plugin (dev-perl/Monitoring-Plugin)
-#   * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin)
-#   * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin)
-#   * Net::DNS (dev-perl/Net-DNS)
-#   * Net::IP (dev-perl/Net-IP)
-#   * Readonly (dev-perl/Readonly)
-#   * Socket (virtual/perl-Socket)
-#
-RDEPEND="dev-lang/perl
-   dev-perl/Data-Validate-Domain
-   dev-perl/Data-Validate-IP
-   dev-perl/Monitoring-Plugin
-   dev-perl/Net-DNS
-   dev-perl/Net-IP
-   dev-perl/Readonly
-   virtual/perl-Socket"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
-   perl Makefile.PL INSTALLDIRS=vendor || die
-}
-
-src_install() {
-   default
-
-   local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins
-
-   # It's simplest to move this file after it's been installed.
-   dodir "${nagiosplugindir}"
-   mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-06-10 Thread Michael Orlitzky
commit: 3a00d72ecd011d58e532a946872fef3ae3555b9f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jun 10 11:41:01 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jun 10 11:41:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a00d72e

net-analyzer/nagios: drop 4.4.7

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.7.ebuild | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.7.ebuild 
b/net-analyzer/nagios/nagios-4.4.7.ebuild
deleted file mode 100644
index a367d8e0b0da..
--- a/net-analyzer/nagios/nagios-4.4.7.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="The Nagios metapackage"
-HOMEPAGE="https://www.nagios.org/;
-
-LICENSE="metapackage"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="~net-analyzer/nagios-core-${PV}
-   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-06-09 Thread Arthur Zamarin
commit: b00c3cf7a660fd665e84e6bb755a33a4d943ce3f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 18:16:23 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 18:16:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b00c3cf7

net-analyzer/nagios-core: Stabilize 4.4.10 sparc, #908133

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
index e9222a1c1a1c..712bba954d18 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc ~x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2023-06-09 Thread Arthur Zamarin
commit: 3a3d1ffe01ccf51218835ec328bdb2881616b5da
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 18:09:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 18:09:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a3d1ffe

net-analyzer/nagios-check_rbl: Stabilize 1.7.0 sparc, #908136

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild
index fe1663694bb6..67e83f2d8f0d 100644
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa sparc ~x86"
 IUSE=""
 
 # No, this is not redundant -- see bug 627082.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-06-09 Thread Arthur Zamarin
commit: debabf9d7c5a6ea08e6cb1ca43211f492a02a2db
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 17:54:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 17:54:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=debabf9d

net-analyzer/nagios-core: Stabilize 4.4.10 ppc64, #908133

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
index 1f5a40a99885..e9222a1c1a1c 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2023-05-11 Thread Sam James
commit: b0f30d635040dc23ef8cde1b5aac011f190f2284
Author: David Seifert  gentoo  org>
AuthorDate: Mon May  8 20:56:03 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu May 11 20:03:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f30d63

net-analyzer/nagios-plugins: switch to virtual/openssh

Signed-off-by: David Seifert  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 ...{nagios-plugins-2.4.0-r2.ebuild => nagios-plugins-2.4.0-r3.ebuild} | 4 ++--
 ...{nagios-plugins-2.4.2-r2.ebuild => nagios-plugins-2.4.2-r3.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r3.ebuild
similarity index 97%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r3.ebuild
index ea52cc31e226..192207bf2da9 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -22,7 +22,7 @@ AUTOMAGIC_DEPEND="
nagios-game? ( games-util/qstat )
nagios-ping? ( net-analyzer/fping )
samba? ( net-fs/samba )
-   ssh? ( net-misc/openssh )
+   ssh? ( virtual/openssh )
snmp? ( dev-perl/Net-SNMP
net-analyzer/net-snmp[-minimal] )"
 

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r3.ebuild
similarity index 99%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r3.ebuild
index 54c610e10a60..93ed15e27790 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r3.ebuild
@@ -22,7 +22,7 @@ AUTOMAGIC_DEPEND="
nagios-game? ( games-util/qstat )
nagios-ping? ( net-analyzer/fping )
samba? ( net-fs/samba )
-   ssh? ( net-misc/openssh )
+   ssh? ( virtual/openssh )
snmp? ( dev-perl/Net-SNMP
net-analyzer/net-snmp[-minimal] )"
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_multiple/

2023-04-19 Thread Michael Orlitzky
commit: d9d425553587706d37dc46a8fe4878a54b86040c
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Apr 19 12:29:21 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Apr 19 12:34:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9d42555

net-analyzer/nagios-check_multiple: drop 0.0.1-r1

Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-check_multiple-0.0.1-r1.ebuild  | 46 --
 1 file changed, 46 deletions(-)

diff --git 
a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild 
b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild
deleted file mode 100644
index 009545a959b7..
--- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python{3_9,3_10} )
-DISTUTILS_USE_SETUPTOOLS=no
-inherit distutils-r1
-
-MY_PN="check_multiple"
-DESCRIPTION="A Nagios plugin to execute multiple checks in parallel"
-HOMEPAGE="https://github.com/clarkbox/check_multiple;
-SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-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}"
-}
-
-python_test() {
-   "${EPYTHON}" -m unittest -v lib/check_multiple/check_multiple.py \
-   || die "test suite failed"
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/

2023-04-19 Thread Michael Orlitzky
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/

2023-04-19 Thread Michael Orlitzky
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-check_multiple/

2023-04-19 Thread Michael Orlitzky
commit: 6537b44075a6168e0ecac425d12fabc39d49af6d
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Apr 19 12:28:06 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Apr 19 12:34:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6537b440

net-analyzer/nagios-check_multiple: stabilize 0.0.1-r2 for amd64

Closes: https://bugs.gentoo.org/904607
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild 
b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
index 8821327435cf..d5e64ac02fa8 100644
--- a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
+++ b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> ${P
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="amd64"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-03-06 Thread Michael Orlitzky
commit: b964b69503902cb138473eaba1fdc53177ffa877
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar  7 02:23:18 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar  7 02:23:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b964b695

net-analyzer/nagios: add 4.4.10, drop 4.4.9

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/{nagios-4.4.9.ebuild => nagios-4.4.10.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.9.ebuild 
b/net-analyzer/nagios/nagios-4.4.10.ebuild
similarity index 90%
rename from net-analyzer/nagios/nagios-4.4.9.ebuild
rename to net-analyzer/nagios/nagios-4.4.10.ebuild
index 25c696692b74..917c4e712c90 100644
--- a/net-analyzer/nagios/nagios-4.4.9.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-03-06 Thread Michael Orlitzky
commit: f4d7ec13c7326b4fab40f1da01924b4a1ae262a9
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar  7 02:22:16 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar  7 02:23:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4d7ec13

net-analyzer/nagios-core: add 4.4.10, drop 4.4.9

Closes: https://bugs.gentoo.org/899940
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest   | 2 +-
 .../nagios-core/{nagios-core-4.4.9.ebuild => nagios-core-4.4.10.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index d8a5a830ece7..9ce24011d558 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,3 @@
+DIST nagios-4.4.10.tar.gz 11339491 BLAKE2B 
300ffe4abb41c1dc67b6a4976158eae503f9f55593ad492a70a6915e112ad3949d0e0cd0ec2f06a29540544fbcf79495652dd912f1a8e688056c21bbb58ed6d4
 SHA512 
fc8d8203d53c4ec87a831cec0564c9bdb553a43675b974616ce6444340b2170b82091259d495b458ab57b0cce0ab23ab30df09b05d71107ff264462c0ebb37fc
 DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
-DIST nagios-4.4.9.tar.gz 11339450 BLAKE2B 
9f99c889ebd070130cbb8bfdbb91b6b0e340a66134b2f2f20d98df08319f713db5a51a9070199e4f842876e06b52b4b0cb65dd2c40fb26508a184db3a36a5650
 SHA512 
59279cd35f329394481e4b3d3f5c3e2418125adeef98f0a8551c2ccf62720459e54c18f8a914be72fb5c2300ab7a69e115f262bfe3aedcf7226380621b32cd8c
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.9.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
similarity index 99%
rename from net-analyzer/nagios-core/nagios-core-4.4.9.ebuild
rename to net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
index e0583cea138b..1f5a40a99885 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.9.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2023-03-06 Thread Michael Orlitzky
commit: 8b8fb3b286282a32197c3b9c733010d0fa7a1b9a
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar  7 02:22:57 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar  7 02:23:34 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8fb3b2

net-analyzer/nagios: drop 4.4.8

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.8.ebuild | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.8.ebuild 
b/net-analyzer/nagios/nagios-4.4.8.ebuild
deleted file mode 100644
index 25c696692b74..
--- a/net-analyzer/nagios/nagios-4.4.8.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="The Nagios metapackage"
-HOMEPAGE="https://www.nagios.org/;
-
-LICENSE="metapackage"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE=""
-
-RDEPEND="~net-analyzer/nagios-core-${PV}
-   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2023-03-06 Thread Michael Orlitzky
commit: 7135e536f02938f9980e4f17c1c71960c63fb2ca
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Mar  7 02:21:29 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Mar  7 02:21:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7135e536

net-analyzer/nagios-core: drop 4.4.8

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest |   1 -
 net-analyzer/nagios-core/nagios-core-4.4.8.ebuild | 266 --
 2 files changed, 267 deletions(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 55ab91ada6a4..d8a5a830ece7 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,4 +1,3 @@
 DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
-DIST nagios-4.4.8.tar.gz 11339420 BLAKE2B 
785705824a5a47d5f20ac0f3d756d51d6362e230514e486e1dc1fa10488a9f7ca724cc96635f2965aac1bb9dc76dee3cf2ab4e2c1be77b239540b87d1a139a21
 SHA512 
56448628e54b9467d14978b039fc7b37f48be624757a1bd9fe16810101f3ce4a5d740e1c9c367d2b3a8bc408a56bdf295955d8b73d5d74ee92f4750b908e88a7
 DIST nagios-4.4.9.tar.gz 11339450 BLAKE2B 
9f99c889ebd070130cbb8bfdbb91b6b0e340a66134b2f2f20d98df08319f713db5a51a9070199e4f842876e06b52b4b0cb65dd2c40fb26508a184db3a36a5650
 SHA512 
59279cd35f329394481e4b3d3f5c3e2418125adeef98f0a8551c2ccf62720459e54c18f8a914be72fb5c2300ab7a69e115f262bfe3aedcf7226380621b32cd8c
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild
deleted file mode 100644
index e0583cea138b..
--- a/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-MY_P="${PN/-core}-${PV}"
-DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
-HOMEPAGE="https://www.nagios.org/;
-
-# The name of the directory into which our Gentoo icons will be
-# extracted, and also the basename of the archive containing it.
-GENTOO_ICONS="${PN}-gentoo-icons-20141125"
-SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
-   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="apache2 classicui lighttpd +web vim-syntax"
-
-# In pkg_postinst(), we change the group of the Nagios configuration
-# directory to that of the web server user. It can't belong to both
-# apache/lighttpd groups at the same time, so we block this combination
-# for our own sanity.
-#
-# This could be made to work, but we would need a better way to allow
-# the web user read-only access to Nagios's configuration directory.
-#
-REQUIRED_USE="apache2? ( !lighttpd )"
-
-#
-# Note, we require one of the apache2 CGI modules:
-#
-#   * mod_cgi (USE=apache2_modules_cgi)
-#   * mod_cgid (USE=apache2_modules_cgid)
-#   * mod_fcgid (www-apache/mod_fcgid)
-#
-# We just don't care /which/ one. And of course PHP supports both CGI
-# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
-# dependencies, and expect the user not to do anything /too/
-# stupid. (For example, installing Apache with only FastCGI support, and
-# PHP with only CGI support.)
-#
-# Another annoyance is that the upstream Makefile uses app-arch/unzip to
-# extract a snapshot of AngularJS, but that's only needed when USE=web.
-#
-MOD_ALIAS=apache2_modules_alias
-
-# The dependencies checked by the configure script. All of these are
-# also runtime dependencies; that's why ./configure checks for them.
-CONFIGURE_DEPEND="acct-group/nagios
-   acct-user/nagios
-   virtual/mailx
-   dev-lang/perl:="
-
-# In addition to the things that the ./configure script checks for,
-# we also need to be able to unzip stuff on the build host.
-#
-# We need the apache/lighttpd groups in src_install() for the things
-# installed as the --with-command-group argument, so they go here too.
-# The groups are also needed at runtime, but that is ensured by apache
-# and lighttpd themselves being in RDEPEND.
-BDEPEND="${CONFIGURE_DEPEND}
-   apache2? ( acct-group/apache )
-   lighttpd? ( acct-group/lighttpd )
-   web? ( app-arch/unzip )"
-
-# This is linked into /usr/bin/nagios{,tats}

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_multiple/

2023-02-25 Thread Michael Orlitzky
commit: 750b1265122ea927e5f142e0276d88044de00e8f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Feb 25 18:04:09 2023 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Feb 25 18:22:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750b1265

net-analyzer/nagios-check_multiple: update EAPI 7 -> 8, python-3.11.

Closes: https://bugs.gentoo.org/897060
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-check_multiple-0.0.1-r2.ebuild  | 46 ++
 1 file changed, 46 insertions(+)

diff --git 
a/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild 
b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
new file mode 100644
index ..8821327435cf
--- /dev/null
+++ b/net-analyzer/nagios-check_multiple/nagios-check_multiple-0.0.1-r2.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python{3_9,3_10,3_11} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+MY_PN="check_multiple"
+DESCRIPTION="A Nagios plugin to execute multiple checks in parallel"
+HOMEPAGE="https://github.com/clarkbox/check_multiple;
+SRC_URI="https://github.com/clarkbox/check_multiple/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+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}"
+}
+
+python_test() {
+   "${EPYTHON}" -m unittest -v lib/check_multiple/check_multiple.py \
+   || die "test suite failed"
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-icinga-openvpn/

2023-02-25 Thread Michael Orlitzky
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/

2023-02-25 Thread Michael Orlitzky
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-plugins/

2023-01-28 Thread Sam James
commit: 888d44de8946eaa2571824e16bbfde71b05f5bb2
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 28 09:06:02 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 28 09:06:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=888d44de

net-analyzer/nagios-plugins: Stabilize 2.4.2-r2 sparc, #883793

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index c23b5c473955..54c610e10a60 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2023-01-28 Thread Arthur Zamarin
commit: 3237defddca7871aa261d4de8b7564b304cf7909
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jan 28 09:02:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jan 28 09:02:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3237defd

net-analyzer/nagios-plugins: Stabilize 2.4.2-r2 ppc64, #883793

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index a579b29c6c2e..c23b5c473955 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2023-01-28 Thread Sam James
commit: 85e6cb7061979169666af733867d676ec597233f
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 28 08:54:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 28 08:54:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e6cb70

net-analyzer/nagios-plugins: Stabilize 2.4.2-r2 amd64, #883793

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index 8fe32f3ad69a..108e1416e416 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2023-01-28 Thread Sam James
commit: faa6b2ea6d78d2a62620691e3d8d1c7248775c65
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 28 08:54:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 28 08:54:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faa6b2ea

net-analyzer/nagios-plugins: Stabilize 2.4.2-r2 x86, #883793

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index 108e1416e416..a579b29c6c2e 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-12-07 Thread Michael Orlitzky
commit: 0345bcf89ccd6b01375c8195c4ec68fc6e8c1d9c
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Dec  7 18:04:59 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Dec  7 18:22:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0345bcf8

net-analyzer/nagios: add 4.4.9

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.9.ebuild | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/net-analyzer/nagios/nagios-4.4.9.ebuild 
b/net-analyzer/nagios/nagios-4.4.9.ebuild
new file mode 100644
index ..25c696692b74
--- /dev/null
+++ b/net-analyzer/nagios/nagios-4.4.9.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The Nagios metapackage"
+HOMEPAGE="https://www.nagios.org/;
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="~net-analyzer/nagios-core-${PV}
+   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-12-07 Thread Michael Orlitzky
commit: 1b7f931c3eaa0b6f0f3c2e08f30b8bd9bff9dbdf
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Dec  7 18:04:36 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Dec  7 18:22:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b7f931c

net-analyzer/nagios-core: add 4.4.9

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest |   1 +
 net-analyzer/nagios-core/nagios-core-4.4.9.ebuild | 266 ++
 2 files changed, 267 insertions(+)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index b60d98dfdb81..55ab91ada6a4 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,4 @@
 DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
 DIST nagios-4.4.8.tar.gz 11339420 BLAKE2B 
785705824a5a47d5f20ac0f3d756d51d6362e230514e486e1dc1fa10488a9f7ca724cc96635f2965aac1bb9dc76dee3cf2ab4e2c1be77b239540b87d1a139a21
 SHA512 
56448628e54b9467d14978b039fc7b37f48be624757a1bd9fe16810101f3ce4a5d740e1c9c367d2b3a8bc408a56bdf295955d8b73d5d74ee92f4750b908e88a7
+DIST nagios-4.4.9.tar.gz 11339450 BLAKE2B 
9f99c889ebd070130cbb8bfdbb91b6b0e340a66134b2f2f20d98df08319f713db5a51a9070199e4f842876e06b52b4b0cb65dd2c40fb26508a184db3a36a5650
 SHA512 
59279cd35f329394481e4b3d3f5c3e2418125adeef98f0a8551c2ccf62720459e54c18f8a914be72fb5c2300ab7a69e115f262bfe3aedcf7226380621b32cd8c
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.9.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.9.ebuild
new file mode 100644
index ..e0583cea138b
--- /dev/null
+++ b/net-analyzer/nagios-core/nagios-core-4.4.9.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+MY_P="${PN/-core}-${PV}"
+DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
+HOMEPAGE="https://www.nagios.org/;
+
+# The name of the directory into which our Gentoo icons will be
+# extracted, and also the basename of the archive containing it.
+GENTOO_ICONS="${PN}-gentoo-icons-20141125"
+SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
+   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="apache2 classicui lighttpd +web vim-syntax"
+
+# In pkg_postinst(), we change the group of the Nagios configuration
+# directory to that of the web server user. It can't belong to both
+# apache/lighttpd groups at the same time, so we block this combination
+# for our own sanity.
+#
+# This could be made to work, but we would need a better way to allow
+# the web user read-only access to Nagios's configuration directory.
+#
+REQUIRED_USE="apache2? ( !lighttpd )"
+
+#
+# Note, we require one of the apache2 CGI modules:
+#
+#   * mod_cgi (USE=apache2_modules_cgi)
+#   * mod_cgid (USE=apache2_modules_cgid)
+#   * mod_fcgid (www-apache/mod_fcgid)
+#
+# We just don't care /which/ one. And of course PHP supports both CGI
+# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
+# dependencies, and expect the user not to do anything /too/
+# stupid. (For example, installing Apache with only FastCGI support, and
+# PHP with only CGI support.)
+#
+# Another annoyance is that the upstream Makefile uses app-arch/unzip to
+# extract a snapshot of AngularJS, but that's only needed when USE=web.
+#
+MOD_ALIAS=apache2_modules_alias
+
+# The dependencies checked by the configure script. All of these are
+# also runtime dependencies; that's why ./configure checks for them.
+CONFIGURE_DEPEND="acct-group/nagios
+   acct-user/nagios
+   virtual/mailx
+   dev-lang/perl:="
+
+# In addition to the things that the ./configure script checks for,
+# we also need to be able to unzip stuff on the build host.
+#
+# We need the apache/lighttpd groups in src_install() for the things
+# installed as the --with-command-group argument, so they go here too.
+# The groups are also needed at runtime, but that is ensured by apache
+# and lighttpd themselves being in RDEPEND.
+BDEPEND="${CONFIGURE_DEPEND}
+   apache2? ( acct-group/apache )
+   lighttpd? ( acct-group/lighttpd )
+   web? ( app-arch/unzip )"
+
+# This is linked into /usr/bin/nagios{,tats}

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-30 Thread Michael Orlitzky
commit: 1d465e3780420afcaeeb5e9e76d1bbb5428d94f5
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Dec  1 00:31:18 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Dec  1 00:33:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d465e37

net-analyzer/nagios-plugins: yet another ping-related stable revision.

It turns out that the new revision to force a rebuild doesn't help
unless you actually include the path detection fix along with it.

Bug: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky  gentoo.org>

 ...gios-plugins-2.4.0-r1.ebuild => nagios-plugins-2.4.0-r2.ebuild} | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild
similarity index 91%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild
index 32f8cfa80212..ea52cc31e226 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r2.ebuild
@@ -87,11 +87,12 @@ src_configure() {
fi
 
# The autodetection for these two commands can hang if localhost is
-   # down or ICMP traffic is filtered. Bug #468296.
-   myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
+   # down or ICMP traffic is filtered (bug #468296). But also the path
+   # likes to move around on us (bug #883765).
+   myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
 
if use ipv6; then
-   myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d 
%s" )
+   myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )
fi
 
econf \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-30 Thread Michael Orlitzky
commit: 51a16efe55c6bd5e7d1d98060fa59d661cd4f656
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Dec  1 00:21:16 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Dec  1 00:21:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51a16efe

net-analyzer/nagios-plugins: revbump to trigger a stable rebuild.

On the off chance that anyone is using stable nagios-plugins with an
~arch iputils, we trigger a rebuild to avoid nagios going haywire when
"ping" moves.

Bug: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../{nagios-plugins-2.4.0.ebuild => nagios-plugins-2.4.0-r1.ebuild}   | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
similarity index 100%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-30 Thread Michael Orlitzky
commit: 48c0881d8fd0646146890c23741634924cf15eba
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Dec  1 00:16:58 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Dec  1 00:18:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48c0881d

net-analyzer/nagios-plugins: another revision to fix a botched commit.

Somehow I managed to delete an important part of the ebuild in what
should have been a trivial revision during the last commit. Let's undo
that.

Bug: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../{nagios-plugins-2.4.2-r1.ebuild => nagios-plugins-2.4.2-r2.ebuild}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
similarity index 97%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
index 87de58cd0bfc..8fe32f3ad69a 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r2.ebuild
@@ -85,7 +85,7 @@ src_configure() {
# The autodetection for these two commands can hang if localhost is
# down or ICMP traffic is filtered (bug #468296). But also the path
# likes to move around on us (bug #883765).
-   myconf+=( --with-ping-command=" -n -U -w %d -c %d %s" )
+   myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
 
if use ipv6; then
myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-30 Thread Michael Orlitzky
commit: 5112807f49a3c719010b5894614cbbe77085c9cd
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Dec  1 00:03:08 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Dec  1 00:07:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5112807f

net-analyzer/nagios-plugins: new revision to trigger a rebuild.

Anyone whose "ping" has moved will want to rebuild this after the latest
fix. Doing so right now won't help everybody (e.g. if nagios-plugins is
upgraded before iputils), but it's an easy rebuild and will help *some*
people, so I think it's worth it. Thanks to Sam for the suggestion.

Bug: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../{nagios-plugins-2.4.2.ebuild => nagios-plugins-2.4.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
similarity index 97%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
index 8fe32f3ad69a..87de58cd0bfc 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2-r1.ebuild
@@ -85,7 +85,7 @@ src_configure() {
# The autodetection for these two commands can hang if localhost is
# down or ICMP traffic is filtered (bug #468296). But also the path
# likes to move around on us (bug #883765).
-   myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
+   myconf+=( --with-ping-command=" -n -U -w %d -c %d %s" )
 
if use ipv6; then
myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-30 Thread Michael Orlitzky
commit: 51148f5256d4c1d10138f967a884a6f7aa58fdca
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Wed Nov 30 23:20:19 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Wed Nov 30 23:27:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51148f52

net-analyzer/nagios-plugins: use ping/ping6 from $PATH in v2.4.2.

We pass explicit ping/ping6 commands to the nagios-plugins ./configure
script to prevent it from running those commands during the build.
However, instead of grabbing their paths from $PATH, we have (until now)
hard-coded them to /bin/ping and /bin/ping6. This has now bitten us with
net-misc/iputils-20221126.

This commit uses $(command -v ...) to get the right absolute
paths. Thanks to Daniel Pouzzner for reporting the problem and
suggesting the fix.

Closes: https://bugs.gentoo.org/883765
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
index 7b20af18afa6..8fe32f3ad69a 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
@@ -83,11 +83,12 @@ src_configure() {
fi
 
# The autodetection for these two commands can hang if localhost is
-   # down or ICMP traffic is filtered. Bug #468296.
-   myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
+   # down or ICMP traffic is filtered (bug #468296). But also the path
+   # likes to move around on us (bug #883765).
+   myconf+=( --with-ping-command="$(command -v ping) -n -U -w %d -c %d %s" 
)
 
if use ipv6; then
-   myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d 
%s" )
+   myconf+=( --with-ping6-command="$(command -v ping6) -n -U -w %d 
-c %d %s" )
fi
 
econf \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-11-19 Thread Michael Orlitzky
commit: 8e9908e93b59bdef790c8fc4fa1353f27ac0c495
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Nov 19 22:52:29 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Nov 19 23:04:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9908e9

net-analyzer/nagios-plugins: add 2.4.2, drop 2.4.0-r1

In addition to the upstream bug fixes, I've removed an old workaround
for -fstrict-aliasing and dropped an obsolete patch. (The patch -- my
own -- was never merged, but a worse one was accepted four years ago.
It's probably time to let it go.)

Closes: https://bugs.gentoo.org/871192
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/Manifest   |  1 +
 ...ios-plugins-2.4.0-r1.ebuild => nagios-plugins-2.4.2.ebuild} | 10 --
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/net-analyzer/nagios-plugins/Manifest 
b/net-analyzer/nagios-plugins/Manifest
index 01a7d6cad44e..349c22b0a912 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -1 +1,2 @@
 DIST nagios-plugins-2.4.0.tar.gz 2738643 BLAKE2B 
695c3804aec592dad0ae1f2f19222a5ae066944de4169beba08dd1e7beee51c5082679dfc1cf5adc052758e3142f33187ebde9636af19ae313f1448867764878
 SHA512 
f6f4cd604d28161f36c1429dbfa8f07e9fa468d8d8c21925d53d7049f0765504cb785e1f1189a0c93aa1f0cd1fe3985409c420b7724aa39790836af5c3f725ff
+DIST nagios-plugins-2.4.2.tar.gz 2740092 BLAKE2B 
73101f0d439a10bbc0e5d576fe1cf60f115eead00e4611e2f820ebde86390daf1904a45603389a6ad0a9fdb0f14fb49b429ad571159f605df5490f9798fc18d1
 SHA512 
43448483301c8f5fb9be9b496514a9e15199c320b2a320bb93c4fc6f6fcd35f2a469f980916b37b2b7e565edcb14eea1692f290b0a7bca9364e298eb42af63ce

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
similarity index 91%
rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
index 732d59f1bb73..7b20af18afa6 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.2.ebuild
@@ -3,8 +3,6 @@
 
 EAPI=8
 
-inherit flag-o-matic
-
 DESCRIPTION="Official plugins for Nagios"
 HOMEPAGE="https://nagios-plugins.org/;
 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar.gz;
@@ -64,10 +62,6 @@ DOCS=(
THANKS
 )
 
-PATCHES=(
-   "${FILESDIR}/define-own-mysql-port-constant.patch"
-)
-
 src_prepare() {
default
 
@@ -78,10 +72,6 @@ src_prepare() {
 }
 
 src_configure() {
-   # Disable -fstrict-aliasing until check_ntp can be fixed,
-   # https://github.com/nagios-plugins/nagios-plugins/issues/665
-   append-cflags $(test-flags-CC -fno-strict-aliasing)
-
# Use an array to prevent econf from mangling the ping args.
local myconf=()
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/files/

2022-11-08 Thread Michael Orlitzky
commit: 9b5f44ca83e451a48770f526097f201974db3c2c
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Nov  8 06:23:01 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Nov  8 13:19:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b5f44ca

net-analyzer/nagios-core: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/28189
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../files/nagios-core-4.4.7-upgrade-sslfix.patch   | 120 -
 1 file changed, 120 deletions(-)

diff --git 
a/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch 
b/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch
deleted file mode 100644
index c89f096caaa5..
--- a/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From 5fd2e1541a873e87f689de601beb3bc35910740d Mon Sep 17 00:00:00 2001
-From: Doug Nazar 
-Date: Wed, 22 Jun 2022 15:07:03 -0400
-Subject: [PATCH 1/2] Fix SSL handling during upgrade check
-
-Only update counters if we've received data, not on error (-1) since
-we can then overwrite the stack, causing fault.
-
-my_ssl_connect() can return before initializing ssl & ctx. Ensure NULL
-initialization so *_free() are no-ops.
-
-Cleanly shutdown the channel after receiving all data.
-
-Use the client version of the TLS method to match the other options.

- base/netutils.c | 22 --
- base/utils.c|  4 ++--
- 2 files changed, 14 insertions(+), 12 deletions(-)
-
-diff --git a/base/netutils.c b/base/netutils.c
-index 08ee40dd7..689b56f9b 100644
 a/base/netutils.c
-+++ b/base/netutils.c
-@@ -154,7 +154,7 @@ int my_ssl_connect(const char *host_name, int port, int 
*sd, SSL **ssl, SSL_CTX
- 
- #if OPENSSL_VERSION_NUMBER >= 0x1010
- 
--  method = TLS_method();
-+  method = TLS_client_method();
- 
- #else /* OPENSSL_VERSION_NUMBER >= 0x1010 */
- 
-@@ -268,11 +268,11 @@ int my_ssl_sendall(int s, SSL *ssl, const char *buf, int 
*len, int timeout) {
-   /* If we hit one of these two errors, we just 
want to select() the socket again */
-   break;
-   }
-+  } else {
-+  total_sent += n;
-+  bytes_left -= n;
-   }
- 
--  total_sent += n;
--  bytes_left -= n;
--
-   /* make sure we haven't overrun the timeout */
-   time(_time);
-   if(current_time - start_time > timeout) {
-@@ -337,17 +337,19 @@ int my_ssl_recvall(int s, SSL *ssl, char *buf, int *len, 
int timeout) {
-   n = SSL_read(ssl, buf + total_received, bytes_left);
-   if(n <= 0) {
-   int error = SSL_get_error(ssl, n);
-+  /* If we hit one of these two errors, we just want to 
select() the socket again */
-   if (error != SSL_ERROR_WANT_READ && error != 
SSL_ERROR_WANT_WRITE) {
--  /* An actual error happened */
--  /* If we hit one of these two errors, we just 
want to select() the socket again */
-+  /* EOF or an actual error happened */
-+  if (error == SSL_ERROR_ZERO_RETURN)
-+  SSL_shutdown(ssl);
-   break;
-   }
-+  } else {
-+  /* apply bytes we received */
-+  total_received += n;
-+  bytes_left -= n;
-   }
- 
--  /* apply bytes we received */
--  total_received += n;
--  bytes_left -= n;
--
-   /* make sure we haven't overrun the timeout */
-   time(_time);
-   if(current_time - start_time > timeout) {
-diff --git a/base/utils.c b/base/utils.c
-index 79c6efba6..e83f7176a 100644
 a/base/utils.c
-+++ b/base/utils.c
-@@ -3379,8 +3379,8 @@ int query_update_api(void) {
-   }
- 
- #ifdef HAVE_SSL
--  SSL *ssl;
--  SSL_CTX *ctx;
-+  SSL *ssl = NULL;
-+  SSL_CTX *ctx = NULL;
- 
-   int result = my_ssl_connect(api_server, 443, , , , 2);
-   if(sd > 0 && result != ERROR) {
-
-From a2c1415f14db6bbce9ba3d1d5a0c8218dd8c4fb8 Mon Sep 17 00:00:00 2001
-From: Doug Nazar 
-Date: Wed, 22 Jun 2022 15:14:34 -0400
-Subject: [PATCH 2/2] Silence warning about port_str not large enough for port.
-

- base/netutils.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/base/netutils.c b/base/netutils.c
-index 689b56f9b..1fb1ec6a9 100644
 a/base/netutils.c
-+++ b/base/netutils.c
-@@ -46,7 +46,7 @@ int my_ssl_connect(const char *host_name, int port, int *sd, 
SSL **ssl, SSL_CTX
-   hints.ai_socktype = SOCK_STREAM;

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-11-06 Thread Michael Orlitzky
commit: 29aea15ad534c6493fc27fb921ca37a96eb6f0be
Author: Tomáš Mózes  gmail  com>
AuthorDate: Sun Nov  6 11:23:13 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  6 11:52:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29aea15a

net-analyzer/nagios-core: add 4.4.8

Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest |   1 +
 net-analyzer/nagios-core/nagios-core-4.4.8.ebuild | 266 ++
 2 files changed, 267 insertions(+)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index 1e1a39a1a09f..b60d98dfdb81 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
+DIST nagios-4.4.8.tar.gz 11339420 BLAKE2B 
785705824a5a47d5f20ac0f3d756d51d6362e230514e486e1dc1fa10488a9f7ca724cc96635f2965aac1bb9dc76dee3cf2ab4e2c1be77b239540b87d1a139a21
 SHA512 
56448628e54b9467d14978b039fc7b37f48be624757a1bd9fe16810101f3ce4a5d740e1c9c367d2b3a8bc408a56bdf295955d8b73d5d74ee92f4750b908e88a7
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild
new file mode 100644
index ..e0583cea138b
--- /dev/null
+++ b/net-analyzer/nagios-core/nagios-core-4.4.8.ebuild
@@ -0,0 +1,266 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd toolchain-funcs
+
+MY_P="${PN/-core}-${PV}"
+DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
+HOMEPAGE="https://www.nagios.org/;
+
+# The name of the directory into which our Gentoo icons will be
+# extracted, and also the basename of the archive containing it.
+GENTOO_ICONS="${PN}-gentoo-icons-20141125"
+SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
+   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="apache2 classicui lighttpd +web vim-syntax"
+
+# In pkg_postinst(), we change the group of the Nagios configuration
+# directory to that of the web server user. It can't belong to both
+# apache/lighttpd groups at the same time, so we block this combination
+# for our own sanity.
+#
+# This could be made to work, but we would need a better way to allow
+# the web user read-only access to Nagios's configuration directory.
+#
+REQUIRED_USE="apache2? ( !lighttpd )"
+
+#
+# Note, we require one of the apache2 CGI modules:
+#
+#   * mod_cgi (USE=apache2_modules_cgi)
+#   * mod_cgid (USE=apache2_modules_cgid)
+#   * mod_fcgid (www-apache/mod_fcgid)
+#
+# We just don't care /which/ one. And of course PHP supports both CGI
+# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
+# dependencies, and expect the user not to do anything /too/
+# stupid. (For example, installing Apache with only FastCGI support, and
+# PHP with only CGI support.)
+#
+# Another annoyance is that the upstream Makefile uses app-arch/unzip to
+# extract a snapshot of AngularJS, but that's only needed when USE=web.
+#
+MOD_ALIAS=apache2_modules_alias
+
+# The dependencies checked by the configure script. All of these are
+# also runtime dependencies; that's why ./configure checks for them.
+CONFIGURE_DEPEND="acct-group/nagios
+   acct-user/nagios
+   virtual/mailx
+   dev-lang/perl:="
+
+# In addition to the things that the ./configure script checks for,
+# we also need to be able to unzip stuff on the build host.
+#
+# We need the apache/lighttpd groups in src_install() for the things
+# installed as the --with-command-group argument, so they go here too.
+# The groups are also needed at runtime, but that is ensured by apache
+# and lighttpd themselves being in RDEPEND.
+BDEPEND="${CONFIGURE_DEPEND}
+   apache2? ( acct-group/apache )
+   lighttpd? ( acct-group/lighttpd )
+   web? ( app-arch/unzip )"
+
+# This is linked into /usr/bin/nagios{,tats}
+DEPEND="dev-libs/libltdl:0"
+
+RDEPEND="${CONFIGURE_DEPEND}
+   ${DEPEND}
+   web? (
+   media-libs/gd[jpeg,png]
+   lighttpd? ( www-servers/lighttpd[php] )
+   apache2? (
+   || (
+   

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-11-06 Thread Michael Orlitzky
commit: 65c074789842da37ffa4595bee86d4200107a179
Author: Tomáš Mózes  gmail  com>
AuthorDate: Sun Nov  6 11:24:07 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  6 11:52:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65c07478

net-analyzer/nagios: add 4.4.8

Closes: https://bugs.gentoo.org/879853
Closes: https://github.com/gentoo/gentoo/pull/28156
Signed-off-by: Tomáš Mózes  gmail.com>
Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.8.ebuild | 15 +++
 1 file changed, 15 insertions(+)

diff --git a/net-analyzer/nagios/nagios-4.4.8.ebuild 
b/net-analyzer/nagios/nagios-4.4.8.ebuild
new file mode 100644
index ..25c696692b74
--- /dev/null
+++ b/net-analyzer/nagios/nagios-4.4.8.ebuild
@@ -0,0 +1,15 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The Nagios metapackage"
+HOMEPAGE="https://www.nagios.org/;
+
+LICENSE="metapackage"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="~net-analyzer/nagios-core-${PV}
+   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-11-06 Thread Michael Orlitzky
commit: d01494d8d4a2219426b3436fc4850ec5a12bb98f
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Nov  6 11:45:21 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Nov  6 11:52:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d01494d8

net-analyzer/nagios-core: drop 4.4.7-r1

Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-core/nagios-core-4.4.7-r1.ebuild| 268 -
 1 file changed, 268 deletions(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7-r1.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7-r1.ebuild
deleted file mode 100644
index 86ae61814588..
--- a/net-analyzer/nagios-core/nagios-core-4.4.7-r1.ebuild
+++ /dev/null
@@ -1,268 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-MY_P="${PN/-core}-${PV}"
-DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
-HOMEPAGE="https://www.nagios.org/;
-
-# The name of the directory into which our Gentoo icons will be
-# extracted, and also the basename of the archive containing it.
-GENTOO_ICONS="${PN}-gentoo-icons-20141125"
-SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
-   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="apache2 classicui lighttpd +web vim-syntax"
-
-# In pkg_postinst(), we change the group of the Nagios configuration
-# directory to that of the web server user. It can't belong to both
-# apache/lighttpd groups at the same time, so we block this combination
-# for our own sanity.
-#
-# This could be made to work, but we would need a better way to allow
-# the web user read-only access to Nagios's configuration directory.
-#
-REQUIRED_USE="apache2? ( !lighttpd )"
-
-#
-# Note, we require one of the apache2 CGI modules:
-#
-#   * mod_cgi (USE=apache2_modules_cgi)
-#   * mod_cgid (USE=apache2_modules_cgid)
-#   * mod_fcgid (www-apache/mod_fcgid)
-#
-# We just don't care /which/ one. And of course PHP supports both CGI
-# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
-# dependencies, and expect the user not to do anything /too/
-# stupid. (For example, installing Apache with only FastCGI support, and
-# PHP with only CGI support.)
-#
-# Another annoyance is that the upstream Makefile uses app-arch/unzip to
-# extract a snapshot of AngularJS, but that's only needed when USE=web.
-#
-MOD_ALIAS=apache2_modules_alias
-
-# The dependencies checked by the configure script. All of these are
-# also runtime dependencies; that's why ./configure checks for them.
-CONFIGURE_DEPEND="acct-group/nagios
-   acct-user/nagios
-   virtual/mailx
-   dev-lang/perl:="
-
-# In addition to the things that the ./configure script checks for,
-# we also need to be able to unzip stuff on the build host.
-#
-# We need the apache/lighttpd groups in src_install() for the things
-# installed as the --with-command-group argument, so they go here too.
-# The groups are also needed at runtime, but that is ensured by apache
-# and lighttpd themselves being in RDEPEND.
-BDEPEND="${CONFIGURE_DEPEND}
-   apache2? ( acct-group/apache )
-   lighttpd? ( acct-group/lighttpd )
-   web? ( app-arch/unzip )"
-
-# This is linked into /usr/bin/nagios{,tats}
-DEPEND="dev-libs/libltdl:0"
-
-RDEPEND="${CONFIGURE_DEPEND}
-   ${DEPEND}
-   web? (
-   media-libs/gd[jpeg,png]
-   lighttpd? ( www-servers/lighttpd[php] )
-   apache2? (
-   || (
-   
www-servers/apache[${MOD_ALIAS},apache2_modules_cgi]
-   
www-servers/apache[${MOD_ALIAS},apache2_modules_cgid]
-   ( www-servers/apache[${MOD_ALIAS}] 
www-apache/mod_fcgid ) )
-   || (
-   dev-lang/php:*[apache2]
-   dev-lang/php:*[cgi]
-   dev-lang/php:*[fpm] )
-   )
-   )
-   vim-syntax? ( app-vim/nagios-syntax )"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=( "${FILESDIR}/${P}-upgrade-sslfix.patch" )
-
-src_configure() {
-   local myconf
-
-   if use !apache2 && use !lighttpd ; then
-   myconf="${myconf} --with-command-group=nagios"
-   else
-   if use apache2 ; then
-   myconf="${myconf} --with-command-group=apache"
-   myconf="${myconf} --with-httpd-conf=/etc/apache2/conf.d"
-   elif use lighttpd ; then
-   myconf="${myconf} --with-command-group=lighttpd"
-   fi
-   fi
-
-   # We pass "unknown" as the init type because we don't want it to
-   # guess. Later on, we'll manually install both OpenRC and systemd
-   # services.
-   econf 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-10-12 Thread Louis Sautier
commit: e7e48c6bbd28c76dd222e7bc93dcd4e3bec04b35
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Oct 13 00:01:23 2022 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Thu Oct 13 00:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7e48c6b

net-analyzer/nagios-plugins-linux-madrisan: add 31

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 +
 .../nagios-plugins-linux-madrisan-31.ebuild| 48 ++
 2 files changed, 49 insertions(+)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index 985aed02d71a..e2a504d8820e 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,2 +1,3 @@
 DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
+DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
new file mode 100644
index ..6e71445b286d
--- /dev/null
+++ 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-31.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_PN="nagios-plugins-linux"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Additional and alternative Nagios plugins for Linux"
+HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux;
+SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl varlink"
+
+DEPEND="
+   curl? ( net-misc/curl:0= )
+   varlink? ( dev-libs/libvarlink:= )
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+   default
+   # Avoid collision with net-analyzer/monitoring-plugins
+   # and net-analyzer/nagios-plugins
+   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
+   eautoreconf
+}
+
+src_configure() {
+   local myconf=(
+   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
+   # Most options are already defaults for Gentoo
+   --disable-hardening
+   $(use_enable curl libcurl)
+   $(use_enable varlink libvarlink)
+   )
+   econf "${myconf[@]}"
+}
+
+src_test() {
+   emake check VERBOSE=1
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins-linux-madrisan/

2022-10-12 Thread Louis Sautier
commit: 1dd7620f3b3f29ba3433d76c58906ee96b8e8050
Author: Louis Sautier  gentoo  org>
AuthorDate: Thu Oct 13 00:01:30 2022 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Thu Oct 13 00:01:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd7620f

net-analyzer/nagios-plugins-linux-madrisan: drop 29

Signed-off-by: Louis Sautier  gentoo.org>

 .../nagios-plugins-linux-madrisan/Manifest |  1 -
 .../nagios-plugins-linux-madrisan-29.ebuild| 48 --
 2 files changed, 49 deletions(-)

diff --git a/net-analyzer/nagios-plugins-linux-madrisan/Manifest 
b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
index e2a504d8820e..68974a286f84 100644
--- a/net-analyzer/nagios-plugins-linux-madrisan/Manifest
+++ b/net-analyzer/nagios-plugins-linux-madrisan/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-plugins-linux-madrisan-29.tar.xz 392700 BLAKE2B 
edc93bfb113cb12ce8a345e38627881decb952cb1e7a948dcdced2aaa9c940956b75a7c8f7ad1b72daac132236ab27762b6f8b14a5098eaac648bafae6dfdb33
 SHA512 
412464b894fe2a0953e495c7c87604ed6b282f65fd1988043757b162ba4fecf9e8f9740e7e09ec2dad8ba8d80fa928df4d7e644260538117d19776f4883045f6
 DIST nagios-plugins-linux-madrisan-30.tar.xz 391164 BLAKE2B 
3b16d0e61a68153fa90bed4c3540d9457546d2448b3b0da2b9313cd99e9b65f44c6f8d52322500570510171a049759ab85855f262d0581c6f926a96fbfe268dd
 SHA512 
c02f81b6bbd4a0453780d9301a5cd1be67b9640e1b75d06c626a433b6e544fb4649c9b14e8e9a2c84dc6917aaf2011fb9a864ef36fef661bbcd673fa00bc5d57
 DIST nagios-plugins-linux-madrisan-31.tar.xz 401556 BLAKE2B 
5eca1e96f14b518d9ab5304bb2a54ba47f194bf22cea8445d7fef0769c3b14c800e4ed24c5c0ca32f0daf53aa81a0bd52234478c606a8d2d1a12e96abb90179c
 SHA512 
34d8ae400766e9c7ddd246998f004a50c87ec9ad8dc13deb8e31fc6fcfa07fbe5af2f091d0523b93d06b26438d1a25240bd82d60946e5897bc257fff7c1b73d0

diff --git 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
 
b/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
deleted file mode 100644
index 7d39abb43437..
--- 
a/net-analyzer/nagios-plugins-linux-madrisan/nagios-plugins-linux-madrisan-29.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-MY_PN="nagios-plugins-linux"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="Additional and alternative Nagios plugins for Linux"
-HOMEPAGE="https://github.com/madrisan/nagios-plugins-linux;
-SRC_URI="https://github.com/madrisan/${MY_PN}/releases/download/v${PV}/${MY_P}.tar.xz
 -> ${P}.tar.xz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="curl varlink"
-
-DEPEND="
-   curl? ( net-misc/curl:0= )
-   varlink? ( dev-libs/libvarlink:= )
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
-   default
-   # Avoid collision with net-analyzer/monitoring-plugins
-   # and net-analyzer/nagios-plugins
-   sed -ri "s/check_(load|swap|uptime|users)/&_madrisan/" 
plugins/Makefile.am || die
-   eautoreconf
-}
-
-src_configure() {
-   local myconf=(
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins"
-   # Most options are already defaults for Gentoo
-   --disable-hardening
-   $(use_enable curl libcurl)
-   $(use_enable varlink libvarlink)
-   )
-   econf "${myconf[@]}"
-}
-
-src_test() {
-   emake check VERBOSE=1
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/files/, net-analyzer/nagios-core/

2022-09-20 Thread Michael Orlitzky
commit: f8955fe8fef3c48bed495ea27ff238febbb8dccb
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Sep 20 12:05:58 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Sep 20 12:16:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8955fe8

net-analyzer/nagios-core: new revision fixing some SSL issues.

This patch has been accepted upstream already and looks like it might
have some security implications (in addition to fixing an ugly crash),
so better safe than sorry. Thanks to Sylvain CANOINE for pointing it
out.

Closes: https://bugs.gentoo.org/871939
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../files/nagios-core-4.4.7-upgrade-sslfix.patch   | 120 +
 .../nagios-core/nagios-core-4.4.7-r1.ebuild| 268 +
 2 files changed, 388 insertions(+)

diff --git 
a/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch 
b/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch
new file mode 100644
index ..c89f096caaa5
--- /dev/null
+++ b/net-analyzer/nagios-core/files/nagios-core-4.4.7-upgrade-sslfix.patch
@@ -0,0 +1,120 @@
+From 5fd2e1541a873e87f689de601beb3bc35910740d Mon Sep 17 00:00:00 2001
+From: Doug Nazar 
+Date: Wed, 22 Jun 2022 15:07:03 -0400
+Subject: [PATCH 1/2] Fix SSL handling during upgrade check
+
+Only update counters if we've received data, not on error (-1) since
+we can then overwrite the stack, causing fault.
+
+my_ssl_connect() can return before initializing ssl & ctx. Ensure NULL
+initialization so *_free() are no-ops.
+
+Cleanly shutdown the channel after receiving all data.
+
+Use the client version of the TLS method to match the other options.
+---
+ base/netutils.c | 22 --
+ base/utils.c|  4 ++--
+ 2 files changed, 14 insertions(+), 12 deletions(-)
+
+diff --git a/base/netutils.c b/base/netutils.c
+index 08ee40dd7..689b56f9b 100644
+--- a/base/netutils.c
 b/base/netutils.c
+@@ -154,7 +154,7 @@ int my_ssl_connect(const char *host_name, int port, int 
*sd, SSL **ssl, SSL_CTX
+ 
+ #if OPENSSL_VERSION_NUMBER >= 0x1010
+ 
+-  method = TLS_method();
++  method = TLS_client_method();
+ 
+ #else /* OPENSSL_VERSION_NUMBER >= 0x1010 */
+ 
+@@ -268,11 +268,11 @@ int my_ssl_sendall(int s, SSL *ssl, const char *buf, int 
*len, int timeout) {
+   /* If we hit one of these two errors, we just 
want to select() the socket again */
+   break;
+   }
++  } else {
++  total_sent += n;
++  bytes_left -= n;
+   }
+ 
+-  total_sent += n;
+-  bytes_left -= n;
+-
+   /* make sure we haven't overrun the timeout */
+   time(_time);
+   if(current_time - start_time > timeout) {
+@@ -337,17 +337,19 @@ int my_ssl_recvall(int s, SSL *ssl, char *buf, int *len, 
int timeout) {
+   n = SSL_read(ssl, buf + total_received, bytes_left);
+   if(n <= 0) {
+   int error = SSL_get_error(ssl, n);
++  /* If we hit one of these two errors, we just want to 
select() the socket again */
+   if (error != SSL_ERROR_WANT_READ && error != 
SSL_ERROR_WANT_WRITE) {
+-  /* An actual error happened */
+-  /* If we hit one of these two errors, we just 
want to select() the socket again */
++  /* EOF or an actual error happened */
++  if (error == SSL_ERROR_ZERO_RETURN)
++  SSL_shutdown(ssl);
+   break;
+   }
++  } else {
++  /* apply bytes we received */
++  total_received += n;
++  bytes_left -= n;
+   }
+ 
+-  /* apply bytes we received */
+-  total_received += n;
+-  bytes_left -= n;
+-
+   /* make sure we haven't overrun the timeout */
+   time(_time);
+   if(current_time - start_time > timeout) {
+diff --git a/base/utils.c b/base/utils.c
+index 79c6efba6..e83f7176a 100644
+--- a/base/utils.c
 b/base/utils.c
+@@ -3379,8 +3379,8 @@ int query_update_api(void) {
+   }
+ 
+ #ifdef HAVE_SSL
+-  SSL *ssl;
+-  SSL_CTX *ctx;
++  SSL *ssl = NULL;
++  SSL_CTX *ctx = NULL;
+ 
+   int result = my_ssl_connect(api_server, 443, , , , 2);
+   if(sd > 0 && result != ERROR) {
+
+From a2c1415f14db6bbce9ba3d1d5a0c8218dd8c4fb8 Mon Sep 17 00:00:00 2001
+From: Doug Nazar 
+Date: Wed, 22 Jun 2022 15:14:34 -0400
+Subject: [PATCH 2/2] Silence warning about port_str not large enough for port.
+
+---
+ base/netutils.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/base/netutils.c b/base/netutils.c

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2022-09-09 Thread Michael Orlitzky
commit: 5c91066fcef76c7baa4e87a21967c3138459c46b
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Fri Sep  9 23:53:57 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Sep 10 00:19:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c91066f

net-analyzer/nagios-check_rbl: add 1.7.0

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-check_rbl/Manifest |  1 +
 .../nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild | 60 ++
 2 files changed, 61 insertions(+)

diff --git a/net-analyzer/nagios-check_rbl/Manifest 
b/net-analyzer/nagios-check_rbl/Manifest
index f9794ee78806..f5643f9d6de3 100644
--- a/net-analyzer/nagios-check_rbl/Manifest
+++ b/net-analyzer/nagios-check_rbl/Manifest
@@ -1 +1,2 @@
 DIST check_rbl-1.6.3.tar.gz 50250 BLAKE2B 
cdaaf7252871c6a2cf34a1cacef36251b8526b73f4edb73fc1611a3426f350523928532bc78068438b8e71ec0e023da46749673aa5e9e1d5c6cd8b889f330305
 SHA512 
2fc84089eb9e41657f522aa7813776b3d46811759e177d031ff5d2f737d63c00897d50d5d878c1e5d5368ca1dde0b173e81b8a6f16fbb970270ef63d988add9b
+DIST check_rbl-1.7.0.tar.gz 51673 BLAKE2B 
7e2d23ea5cd44082ebe9963326bc2a8517c737640fada229d0b65d64ac92ce50e80b675834f4bd7dbc56d653e0243558fe6f1c402b11498d48bc948d3facda57
 SHA512 
5b219362bfa736832e935c64019ee50b87d4f9cc2bce0ab4795eb4c59e03712adc9461cdd6624cbaf1d98a5afdd9f611dbdc58fd913a4478b0fef0664cddcf80

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild
new file mode 100644
index ..fe1663694bb6
--- /dev/null
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.7.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Monitor whether or not a host is blacklisted"
+HOMEPAGE="https://github.com/matteocorti/check_rbl;
+
+MY_P="${P/nagios-/}"
+SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_P}.tar.gz;
+
+LICENSE="GPL-3"
+SLOT="0"
+
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE=""
+
+# No, this is not redundant -- see bug 627082.
+RESTRICT=test
+
+# The package's INSTALL/Makefile.PL files specify its dependencies.
+#
+#   * Capture::Tiny (dev-perl/Capture-Tiny)
+#   * Data::Validate::Domain (dev-perl/Data-Validate-Domain)
+#   * Data::Validate::IP (dev-perl/Data-Validate-IP)
+#   * IO::Select (dev-lang/perl)
+#   * Monitoring::Plugin (dev-perl/Monitoring-Plugin)
+#   * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin)
+#   * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin)
+#   * Net::DNS (dev-perl/Net-DNS)
+#   * Net::IP (dev-perl/Net-IP)
+#   * Readonly (dev-perl/Readonly)
+#   * Socket (virtual/perl-Socket)
+#
+RDEPEND="dev-lang/perl
+   dev-perl/Capture-Tiny
+   dev-perl/Data-Validate-Domain
+   dev-perl/Data-Validate-IP
+   dev-perl/Monitoring-Plugin
+   dev-perl/Net-DNS
+   dev-perl/Net-IP
+   dev-perl/Readonly
+   virtual/perl-Socket"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+   perl Makefile.PL INSTALLDIRS=vendor || die
+}
+
+src_install() {
+   default
+
+   local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins
+
+   # It's simplest to move this file after it's been installed.
+   dodir "${nagiosplugindir}"
+   mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/files/

2022-09-02 Thread Michael Orlitzky
commit: 119aa04460479ae3acfedc593fd7e4e06115ddf0
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Sep  1 15:56:02 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Fri Sep  2 11:30:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119aa044

net-analyzer/nagios-plugins: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Michael Orlitzky  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/27105

 .../files/check_smtp-implicit-tls.patch| 145 -
 1 file changed, 145 deletions(-)

diff --git a/net-analyzer/nagios-plugins/files/check_smtp-implicit-tls.patch 
b/net-analyzer/nagios-plugins/files/check_smtp-implicit-tls.patch
deleted file mode 100644
index a0f30d2efdbf..
--- a/net-analyzer/nagios-plugins/files/check_smtp-implicit-tls.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-From 0a8cf08ebb0740aa55d6c60d3b79fcab282604fb Mon Sep 17 00:00:00 2001
-From: Franz Schwartau 
-Date: Tue, 1 Sep 2020 12:48:51 +0200
-Subject: [PATCH 1/3] Add support for SMTP over TLS
-
-This is commonly used on smtps (465) port.
-
-PROXY protocol is not implemented with TLS in check_smtp.c, yet.

- plugins/check_smtp.c | 45 
- 1 file changed, 37 insertions(+), 8 deletions(-)
-
-diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
-index 0b1c54d4..d5923a6a 100644
 a/plugins/check_smtp.c
-+++ b/plugins/check_smtp.c
-@@ -42,8 +42,8 @@ const char *email = "de...@nagios-plugins.org";
- #ifdef HAVE_SSL
- int check_cert = FALSE;
- int days_till_exp_warn, days_till_exp_crit;
--#  define my_recv(buf, len) ((use_ssl && ssl_established) ? 
np_net_ssl_read(buf, len) : read(sd, buf, len))
--#  define my_send(buf, len) ((use_ssl && ssl_established) ? 
np_net_ssl_write(buf, len) : send(sd, buf, len, 0))
-+#  define my_recv(buf, len) (((use_starttls || use_ssl) && ssl_established) ? 
np_net_ssl_read(buf, len) : read(sd, buf, len))
-+#  define my_send(buf, len) (((use_starttls || use_ssl) && ssl_established) ? 
np_net_ssl_write(buf, len) : send(sd, buf, len, 0))
- #else /* ifndef HAVE_SSL */
- #  define my_recv(buf, len) read(sd, buf, len)
- #  define my_send(buf, len) send(sd, buf, len, 0)
-@@ -107,6 +107,7 @@ double critical_time = 0;
- int check_critical_time = FALSE;
- int verbose = 0;
- int use_ssl = FALSE;
-+int use_starttls = FALSE;
- int use_sni = FALSE;
- short use_proxy_prefix = FALSE;
- short use_ehlo = FALSE;
-@@ -199,12 +200,25 @@ main (int argc, char **argv)
-   result = my_tcp_connect (server_address, server_port, );
- 
-   if (result == STATE_OK) { /* we connected */
-+#ifdef HAVE_SSL
-+  if (use_ssl) {
-+  result = np_net_ssl_init_with_hostname(sd, (use_sni ? 
server_address : NULL));
-+  if (result != STATE_OK) {
-+  printf (_("CRITICAL - Cannot create SSL 
context.\n"));
-+  close(sd);
-+  np_net_ssl_cleanup();
-+  return STATE_CRITICAL;
-+  } else {
-+  ssl_established = 1;
-+  }
-+  }
-+#endif
- 
-   /* If requested, send PROXY header */
-   if (use_proxy_prefix) {
-   if (verbose)
-   printf ("Sending header %s\n", PROXY_PREFIX);
--  send(sd, PROXY_PREFIX, strlen(PROXY_PREFIX), 0);
-+  my_send(PROXY_PREFIX, strlen(PROXY_PREFIX));
-   }
- 
-   /* watch for the SMTP connection string and */
-@@ -230,7 +244,7 @@ main (int argc, char **argv)
-   }
- 
-   /* send the HELO/EHLO command */
--  send(sd, helocmd, strlen(helocmd), 0);
-+  my_send(helocmd, strlen(helocmd));
- 
-   /* allow for response to helo command to reach us */
-   if (recvlines(buffer, MAX_INPUT_BUFFER) <= 0) {
-@@ -243,14 +257,14 @@ main (int argc, char **argv)
-   }
-   }
- 
--  if(use_ssl && ! supports_tls){
-+  if(use_starttls && ! supports_tls){
-   printf(_("WARNING - TLS not supported by server\n"));
-   smtp_quit();
-   return STATE_WARNING;
-   }
- 
- #ifdef HAVE_SSL
--  if(use_ssl) {
-+  if(use_starttls) {
- /* send the STARTTLS command */
- send(sd, SMTP_STARTTLS, strlen(SMTP_STARTTLS), 0);
- 
-@@ -495,6 +509,7 @@ process_arguments (int argc, char **argv)
-   {"use-ipv6", no_argument, 0, '6'},
-   {"help", no_argument, 0, 'h'},
-   {"lmtp", no_argument, 0, 'L'},
-+  {"ssl", no_argument, 0, 's'},
-   {"starttls",no_argument,0,'S'},
-   {"sni", no_argument, 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2022-08-30 Thread Michael Orlitzky
commit: 94d9c815f0bbd13a6a34f43bdc849520db7d149d
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 10:05:17 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 10:05:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d9c815

net-analyzer/nagios-check_rbl: drop 1.4.1

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-check_rbl/Manifest |  1 -
 .../nagios-check_rbl/nagios-check_rbl-1.4.1.ebuild | 56 --
 2 files changed, 57 deletions(-)

diff --git a/net-analyzer/nagios-check_rbl/Manifest 
b/net-analyzer/nagios-check_rbl/Manifest
index eae4701c7ccc..f9794ee78806 100644
--- a/net-analyzer/nagios-check_rbl/Manifest
+++ b/net-analyzer/nagios-check_rbl/Manifest
@@ -1,2 +1 @@
-DIST check_rbl-1.4.1.tar.gz 47585 BLAKE2B 
24979d1579ef46f6d0626700bb8b9aa3f3acd4b422398ecbfa98909248fd6ffe61a763e377e7942d3078d8b91488f3fc0e2ab25f7c4821bcfa5cde08d000bd5c
 SHA512 
3023aab6ba42dec46cb93eb2ef15e1998a1b3226bd1f143441e14a4271279ac9b24b85b9fc41a382eb203e5d2846b7f4ea4fe27db99d75b104d9182ea53079cb
 DIST check_rbl-1.6.3.tar.gz 50250 BLAKE2B 
cdaaf7252871c6a2cf34a1cacef36251b8526b73f4edb73fc1611a3426f350523928532bc78068438b8e71ec0e023da46749673aa5e9e1d5c6cd8b889f330305
 SHA512 
2fc84089eb9e41657f522aa7813776b3d46811759e177d031ff5d2f737d63c00897d50d5d878c1e5d5368ca1dde0b173e81b8a6f16fbb970270ef63d988add9b

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.4.1.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.4.1.ebuild
deleted file mode 100644
index 8f6e17721ea9..
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.4.1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Monitor whether or not a host is blacklisted"
-HOMEPAGE="https://github.com/matteocorti/check_rbl;
-
-MY_P="${P/nagios-/}"
-SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_P}.tar.gz;
-
-LICENSE="GPL-3"
-SLOT="0"
-
-KEYWORDS="amd64 ~hppa sparc x86"
-IUSE=""
-
-# No, this is not redundant -- see bug 627082.
-RESTRICT=test
-
-# The package's INSTALL/Makefile.PL files specify its dependencies.
-#
-#   * Data::Validate::Domain (dev-perl/Data-Validate-Domain)
-#   * Data::Validate::IP (dev-perl/Data-Validate-IP)
-#   * IO::Select (dev-lang/perl)
-#   * Monitoring::Plugin (dev-perl/Monitoring-Plugin)
-#   * Monitoring::Plugin::Getopt (dev-perl/Monitoring-Plugin)
-#   * Monitoring::Plugin::Threshold (dev-perl/Monitoring-Plugin)
-#   * Net::DNS (dev-perl/Net-DNS)
-#   * Net::IP (dev-perl/Net-IP)
-#   * Readonly (dev-perl/Readonly)
-#
-RDEPEND="dev-lang/perl
-   dev-perl/Data-Validate-Domain
-   dev-perl/Data-Validate-IP
-   dev-perl/Monitoring-Plugin
-   dev-perl/Net-DNS
-   dev-perl/Net-IP
-   dev-perl/Readonly"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
-   perl Makefile.PL INSTALLDIRS=vendor || die
-}
-
-src_install() {
-   default
-
-   local nagiosplugindir=/usr/$(get_libdir)/nagios/plugins
-
-   # It's simplest to move this file after it's been installed.
-   dodir "${nagiosplugindir}"
-   mv "${D}"/usr/bin/check_rbl "${D}"/"${nagiosplugindir}" || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_logfiles/

2022-08-30 Thread Michael Orlitzky
commit: bb029e3ac8c2f86314fc38621e3b3e32f166b781
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 10:05:41 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 10:05:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb029e3a

net-analyzer/nagios-check_logfiles: drop 3.7.6.3

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-check_logfiles/Manifest|  1 -
 .../nagios-check_logfiles-3.7.6.3.ebuild   | 25 --
 2 files changed, 26 deletions(-)

diff --git a/net-analyzer/nagios-check_logfiles/Manifest 
b/net-analyzer/nagios-check_logfiles/Manifest
index 931a75480d8f..79e3ec445ea2 100644
--- a/net-analyzer/nagios-check_logfiles/Manifest
+++ b/net-analyzer/nagios-check_logfiles/Manifest
@@ -1,2 +1 @@
-DIST nagios-check_logfiles-3.7.6.3.tar.gz 238683 BLAKE2B 
c2bd47a13263ac76c1bbced7a1410416c07ef35b39ea60bbf6037de3c10dd00df30a215f461270501240d5eb35e2b687fd5590d291028d7975c15470c06177a4
 SHA512 
2f72d571bfc0815e12b5c9a6e178b7b9b6e58d69e2d1a3efc560dd6b7bfd3d04a705d15e93069959611be1981941866e8775ee7d67c5dbf3983a155ab2ec3c91
 DIST nagios-check_logfiles-4.0.1.3.tar.gz 254371 BLAKE2B 
d4219e03ac2b981b08866baa4eab4fb16857215cb817ee44f23690094a3b29bf806caa6c1cd98c439ba81fa31cd63ce1fcfca5c92d1aad260490db087a560fd7
 SHA512 
1893e67d9b27939fae6f330b1f796e98becbb1c4bd1dfe11811236b0d9bcdab0b2fea2a49f7b90302d15c75328422f479d1a26a486cfbe1ec0d3b8f9b71a5150

diff --git 
a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-3.7.6.3.ebuild 
b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-3.7.6.3.ebuild
deleted file mode 100644
index bf4835955eaa..
--- a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-3.7.6.3.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="A nagios plugin for checking logfiles"
-HOMEPAGE="https://labs.consol.de/nagios/check_logfiles/index.html;
-
-MY_P=${P/nagios-/}
-
-SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz -> 
${P}.tar.gz"
-LICENSE="GPL-3"
-SLOT="0"
-
-KEYWORDS="~alpha amd64 ~ppc ppc64 ~sparc x86"
-
-RDEPEND="|| ( >=net-analyzer/nagios-plugins-1.4.13-r1 
>=net-analyzer/monitoring-plugins-2 )"
-
-S="${WORKDIR}/${MY_P}"
-
-src_configure() {
-   econf \
-   --libexecdir="${EPREFIX}/usr/$(get_libdir)/nagios/plugins" \
-   --sysconfdir="${EPREFIX}/etc/nagios"
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-29 Thread Michael Orlitzky
commit: 9b95781d60ae2fcef6859580a9cc622c5fd88769
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 01:05:10 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 01:05:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b95781d

net-analyzer/nagios-plugins: drop 2.3.1-r3, 2.3.3-r3

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-plugins/Manifest   |   2 -
 .../nagios-plugins/nagios-plugins-2.3.1-r3.ebuild  | 112 
 .../nagios-plugins/nagios-plugins-2.3.3-r3.ebuild  | 115 -
 3 files changed, 229 deletions(-)

diff --git a/net-analyzer/nagios-plugins/Manifest 
b/net-analyzer/nagios-plugins/Manifest
index 5a0fd0a3b9c2..01a7d6cad44e 100644
--- a/net-analyzer/nagios-plugins/Manifest
+++ b/net-analyzer/nagios-plugins/Manifest
@@ -1,3 +1 @@
-DIST nagios-plugins-2.3.1.tar.gz 2833267 BLAKE2B 
f89eda7a29558dd33dedbf0de150b6a13ba66d213d74041d9eb8c680880b3825bcc9312d251d22f3b483a14c0de7c59d7801954e7563c16352bfc38236676863
 SHA512 
89208f211e51db4e0d56725a6ff6d2fcf4eb2207f877a2b8f130cda8480a70f318eceb94140eb4f2a17fe3dd967bb3615ccc366c1a531ebd4ff0a04b60c61b8a
-DIST nagios-plugins-2.3.3.tar.gz 2782610 BLAKE2B 
f02ded0ed6d5c649a82fe7fe06e393b404fc6e9a260365b128c114381d411d93c8980fee6da73c4d03ab73669d5b8754225ff5aa14ef4430ee0c91d8c56cb131
 SHA512 
2128601b1098eb82f4e7d720b96a5f92d6ad75dc181a94b25c38172767de8b72f9fece3eddb74933b1cd520928ae9416a7dc665e2f059bfe362dd74041d28cd7
 DIST nagios-plugins-2.4.0.tar.gz 2738643 BLAKE2B 
695c3804aec592dad0ae1f2f19222a5ae066944de4169beba08dd1e7beee51c5082679dfc1cf5adc052758e3142f33187ebde9636af19ae313f1448867764878
 SHA512 
f6f4cd604d28161f36c1429dbfa8f07e9fa468d8d8c21925d53d7049f0765504cb785e1f1189a0c93aa1f0cd1fe3985409c420b7724aa39790836af5c3f725ff

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild
deleted file mode 100644
index a5d5583481bc..
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.3.1-r3.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Official plugins for Nagios"
-HOMEPAGE="http://nagios-plugins.org/;
-SRC_URI="http://nagios-plugins.org/download/${P}.tar.gz;
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
-IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
-
-# Most of the plugins use automagic dependencies, i.e. the plugin will
-# get built if the binary it uses is installed. For example, check_snmp
-# will be built only if snmpget from net-analyzer/net-snmp[-minimal] is
-# installed. End result: most of our runtime dependencies are required
-# at build time as well.
-AUTOMAGIC_DEPEND="
-   nagios-dns? ( net-dns/bind-tools )
-   nagios-game? ( games-util/qstat )
-   nagios-ping? ( net-analyzer/fping )
-   samba? ( net-fs/samba )
-   ssh? ( net-misc/openssh )
-   snmp? ( dev-perl/Net-SNMP
-   net-analyzer/net-snmp[-minimal] )"
-
-# Perl really needs to run during the build...
-BDEPEND="${AUTOMAGIC_DEPEND}
-   dev-lang/perl"
-
-DEPEND="
-   ldap? ( net-nds/openldap:= )
-   mysql? ( dev-db/mysql-connector-c:= )
-   postgres? ( dev-db/postgresql:* )
-   ssl? (
-   dev-libs/openssl:0=
-   )
-   radius? ( net-dialup/freeradius-client )"
-
-# Basically everything in net-analyzer/monitoring-plugins collides with
-# nagios-plugins. Perl (from BDEPEND) is needed at runtime, too.
-RDEPEND="${BDEPEND}
-   ${DEPEND}
-   !net-analyzer/monitoring-plugins
-   selinux? ( sec-policy/selinux-nagios )"
-
-# At least one test is interactive.
-RESTRICT="test"
-
-DOCS=(
-   ACKNOWLEDGEMENTS
-   AUTHORS
-   CODING
-   ChangeLog
-   FAQ
-   NEWS
-   README
-   REQUIREMENTS
-   SUPPORT
-   THANKS
-)
-
-PATCHES=( "${FILESDIR}/define-own-mysql-port-constant.patch" )
-
-src_prepare() {
-   default
-
-   # Fix the path to our perl interpreter
-   sed -i -e "1s:/usr/local/bin/perl:/usr/bin/perl:" \
-   "${S}"/plugins-scripts/*.pl \
-   || die 'failed to fix perl interpreter path'
-}
-
-src_configure() {
-   # Use an array to prevent econf from mangling the ping args.
-   local myconf=()
-
-   if use ssl; then
-   myconf+=( $(use_with ssl openssl /usr) )
-   else
-   myconf+=( --without-openssl )
-   myconf+=( --without-gnutls )
-   fi
-
-   # The autodetection for these two commands can hang if localhost is
-   # down or ICMP traffic is filtered. Bug #468296.
-   myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
-
-   if use ipv6; then
-   myconf+=( --with-ping6-command="/bin/ping6 -n -U 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-08-29 Thread Michael Orlitzky
commit: eea64b6bd54f1cc9ba5f8e529102f71a7c8d69a3
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 01:04:15 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 01:04:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea64b6b

net-analyzer/nagios: drop 4.4.6

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios/nagios-4.4.6.ebuild | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-analyzer/nagios/nagios-4.4.6.ebuild 
b/net-analyzer/nagios/nagios-4.4.6.ebuild
deleted file mode 100644
index be5cb8515d0e..
--- a/net-analyzer/nagios/nagios-4.4.6.ebuild
+++ /dev/null
@@ -1,15 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="The Nagios metapackage"
-HOMEPAGE="https://www.nagios.org/;
-
-LICENSE="metapackage"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE=""
-
-RDEPEND="~net-analyzer/nagios-core-${PV}
-   || ( net-analyzer/nagios-plugins net-analyzer/monitoring-plugins )"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-08-29 Thread Michael Orlitzky
commit: 8faba1a22afd98961fb437ca7f627d39993b9ff4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug 30 01:04:44 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug 30 01:04:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8faba1a2

net-analyzer/nagios-core: drop 4.4.6-r3

Signed-off-by: Michael Orlitzky  gentoo.org>

 net-analyzer/nagios-core/Manifest  |   1 -
 .../nagios-core/nagios-core-4.4.6-r3.ebuild| 266 -
 2 files changed, 267 deletions(-)

diff --git a/net-analyzer/nagios-core/Manifest 
b/net-analyzer/nagios-core/Manifest
index a5805796b0b5..1e1a39a1a09f 100644
--- a/net-analyzer/nagios-core/Manifest
+++ b/net-analyzer/nagios-core/Manifest
@@ -1,3 +1,2 @@
-DIST nagios-4.4.6.tar.gz 11333414 BLAKE2B 
b64d34c9267349582cb43500b7b90f7948152b5fd9b28ecb0a376d0255ec9774e693beba9205512294b07dddc4702f37d0f45b3c3fcc6abbf8e8b4d9236d0ace
 SHA512 
6ceb582816ec741439963bde1fe8d85fa3bc4ed3c2238fb818db0c4f4224a4333d153040c11a7f4d783e919c11f9ff45907bdc478504e4155f64a4c575f80550
 DIST nagios-4.4.7.tar.gz 11340759 BLAKE2B 
4316e6cfc7f576d0fe5ba075aba2931dc850c97fe84b124eceeefaa6c01563c0639c8cecf751e086d5a6f9c0a1079f7e9bd013f961956d7d59536dea4516cf86
 SHA512 
92adc74e687bcbbd742075c8c7222d42c90795a4eb7582e3f1f492349db8200c61f390bf3c4cab4b023c5c111353a43f5dd687b0ee5ab6a8775444e06d42517b
 DIST nagios-core-gentoo-icons-20141125.tar 40960 BLAKE2B 
31c1953e1160c7c7b89606b72b1a80407e4c1b7a7938b40bd1c577cd0c309dd88ca6b775d692a9b846dbf67736537fa9c91e56aa15fdd447769608ca525bff09
 SHA512 
bf109879cddd6136b76baba55d0b60b2596e37431dcf5ce0905d34a9fa292ebf7e4bde82d9a084362c486e8fac344c76d88f9298b1b85541ed70ffd608493766

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.6-r3.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.6-r3.ebuild
deleted file mode 100644
index 9483f0dda9d3..
--- a/net-analyzer/nagios-core/nagios-core-4.4.6-r3.ebuild
+++ /dev/null
@@ -1,266 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd toolchain-funcs
-
-MY_P="${PN/-core}-${PV}"
-DESCRIPTION="Nagios core - monitoring daemon, web GUI, and documentation"
-HOMEPAGE="https://www.nagios.org/;
-
-# The name of the directory into which our Gentoo icons will be
-# extracted, and also the basename of the archive containing it.
-GENTOO_ICONS="${PN}-gentoo-icons-20141125"
-SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
-   web? ( https://dev.gentoo.org/~mjo/distfiles/${GENTOO_ICONS}.tar )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
-IUSE="apache2 classicui lighttpd +web vim-syntax"
-
-# In pkg_postinst(), we change the group of the Nagios configuration
-# directory to that of the web server user. It can't belong to both
-# apache/lighttpd groups at the same time, so we block this combination
-# for our own sanity.
-#
-# This could be made to work, but we would need a better way to allow
-# the web user read-only access to Nagios's configuration directory.
-#
-REQUIRED_USE="apache2? ( !lighttpd )"
-
-#
-# Note, we require one of the apache2 CGI modules:
-#
-#   * mod_cgi (USE=apache2_modules_cgi)
-#   * mod_cgid (USE=apache2_modules_cgid)
-#   * mod_fcgid (www-apache/mod_fcgid)
-#
-# We just don't care /which/ one. And of course PHP supports both CGI
-# (USE=cgi) and FastCGI (USE=fpm). We're pretty lenient with the
-# dependencies, and expect the user not to do anything /too/
-# stupid. (For example, installing Apache with only FastCGI support, and
-# PHP with only CGI support.)
-#
-# Another annoyance is that the upstream Makefile uses app-arch/unzip to
-# extract a snapshot of AngularJS, but that's only needed when USE=web.
-#
-MOD_ALIAS=apache2_modules_alias
-
-# The dependencies checked by the configure script. All of these are
-# also runtime dependencies; that's why ./configure checks for them.
-CONFIGURE_DEPEND="acct-group/nagios
-   acct-user/nagios
-   virtual/mailx
-   dev-lang/perl:="
-
-# In addition to the things that the ./configure script checks for,
-# we also need to be able to unzip stuff on the build host.
-#
-# We need the apache/lighttpd groups in src_install() for the things
-# installed as the --with-command-group argument, so they go here too.
-# The groups are also needed at runtime, but that is ensured by apache
-# and lighttpd themselves being in RDEPEND.
-BDEPEND="${CONFIGURE_DEPEND}
-   apache2? ( acct-group/apache )
-   lighttpd? ( acct-group/lighttpd )
-   web? ( app-arch/unzip )"
-
-# This is linked into /usr/bin/nagios{,tats}
-DEPEND="dev-libs/libltdl:0"
-
-RDEPEND="${CONFIGURE_DEPEND}
-   ${DEPEND}
-   web? (
-   media-libs/gd[jpeg,png]
-   lighttpd? ( www-servers/lighttpd[php] )
-   apache2? (
-   || (
-   

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-08-29 Thread Jakov Smolić
commit: 2b37159ff253be8231b979187508a1a27e166e42
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Aug 29 12:38:31 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Aug 29 12:38:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b37159f

net-analyzer/nagios-core: Stabilize 4.4.7 amd64, #862885

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
index fc5ca77f76d3..9483f0dda9d3 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-29 Thread Jakov Smolić
commit: 62978c7b84ed032d37ce09612db2b8da87b3872c
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Aug 29 12:38:32 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Aug 29 12:38:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62978c7b

net-analyzer/nagios-plugins: Stabilize 2.4.0 amd64, #862885

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
index 23f75f972e5e..32f8cfa80212 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2022-08-29 Thread Jakov Smolić
commit: f29d33036fa160a3efed52406f9ceba685fc57d2
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Aug 29 12:38:34 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Aug 29 12:38:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29d3303

net-analyzer/nagios-check_rbl: Stabilize 1.6.3 amd64, #862885

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
index 9b4bd0c2b400..9009b574e0d7 100644
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~amd64 ~hppa sparc x86"
+KEYWORDS="amd64 ~hppa sparc x86"
 IUSE=""
 
 # No, this is not redundant -- see bug 627082.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-08-29 Thread Jakov Smolić
commit: b1996d321350f171cce506e9409da823f6faca36
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Aug 29 12:38:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Aug 29 12:38:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1996d32

net-analyzer/nagios: Stabilize 4.4.7 amd64, #862885

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/nagios/nagios-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.7.ebuild 
b/net-analyzer/nagios/nagios-4.4.7.ebuild
index c9515c5d07bb..a367d8e0b0da 100644
--- a/net-analyzer/nagios/nagios-4.4.7.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.7.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_logfiles/

2022-08-29 Thread Jakov Smolić
commit: 19f303d857da7b0c78abace726c5760f53810119
Author: Jakov Smolić  gentoo  org>
AuthorDate: Mon Aug 29 12:38:34 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Aug 29 12:38:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19f303d8

net-analyzer/nagios-check_logfiles: Stabilize 4.0.1.3 amd64, #862885

Signed-off-by: Jakov Smolić  gentoo.org>

 net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild 
b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
index 0c0077e193cd..654975febfc5 100644
--- a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
+++ b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz -> ${P}.t
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc x86"
+KEYWORDS="~alpha amd64 ~ppc ppc64 ~sparc x86"
 
 RDEPEND="|| ( >=net-analyzer/nagios-plugins-1.4.13-r1 
>=net-analyzer/monitoring-plugins-2 )"
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_logfiles/

2022-08-12 Thread Sam James
commit: f02b8ead0a8ade621662312f8a591eb196e0614b
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 12 14:26:39 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 12 14:26:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f02b8ead

net-analyzer/nagios-check_logfiles: Stabilize 4.0.1.3 x86, #862885

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild 
b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
index 25b78d0db30a..0c0077e193cd 100644
--- a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
+++ b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz -> ${P}.t
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc x86"
 
 RDEPEND="|| ( >=net-analyzer/nagios-plugins-1.4.13-r1 
>=net-analyzer/monitoring-plugins-2 )"
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-12 Thread Sam James
commit: 8824abaceb9645d656896cfabc49bd75443d62c2
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 12 14:26:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 12 14:26:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8824abac

net-analyzer/nagios-plugins: Stabilize 2.4.0 x86, #862885

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
index da3d5c477676..23f75f972e5e 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-08-12 Thread Sam James
commit: c47ea33b3b8ab0c91f7ae29144b305cb49cc9f9f
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 12 14:26:35 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 12 14:26:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c47ea33b

net-analyzer/nagios-core: Stabilize 4.4.7 x86, #862885

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
index a41b65d95fc2..fc5ca77f76d3 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-08-12 Thread Sam James
commit: 1698c9dc8e3c6ea7e0ef2655abb16b36f041c986
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 12 14:26:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 12 14:26:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1698c9dc

net-analyzer/nagios: Stabilize 4.4.7 x86, #862885

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios/nagios-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.7.ebuild 
b/net-analyzer/nagios/nagios-4.4.7.ebuild
index b9cdc8bf3bab..c9515c5d07bb 100644
--- a/net-analyzer/nagios/nagios-4.4.7.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.7.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2022-08-12 Thread Sam James
commit: f52d196178f030218e33928cf0c199c33933fa94
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug 12 14:26:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug 12 14:26:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f52d1961

net-analyzer/nagios-check_rbl: Stabilize 1.6.3 x86, #862885

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
index 0c1a76c56fcb..9b4bd0c2b400 100644
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~amd64 ~hppa sparc ~x86"
+KEYWORDS="~amd64 ~hppa sparc x86"
 IUSE=""
 
 # No, this is not redundant -- see bug 627082.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-06 Thread Michael Orlitzky
commit: cfa457c454509372a7cd9ba0d11e144f63a75e38
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Aug  6 12:57:14 2022 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Aug  6 13:01:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa457c4

net-analyzer/nagios-plugins: new revision with -fno-strict-aliasing.

The code for the check_ntp plugin violates the strict aliasing rules of
C, even though -fstrict-aliasing is enabled with -O2. First impression:
it won't be easy to fix. So to prevent surprises, we append
-fno-strict-aliasing to CFLAGS when it is supported.

Closes: https://bugs.gentoo.org/861200
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../nagios-plugins/nagios-plugins-2.4.0-r1.ebuild  | 120 +
 1 file changed, 120 insertions(+)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
new file mode 100644
index ..732d59f1bb73
--- /dev/null
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0-r1.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic
+
+DESCRIPTION="Official plugins for Nagios"
+HOMEPAGE="https://nagios-plugins.org/;
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar.gz;
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
+
+# Most of the plugins use automagic dependencies, i.e. the plugin will
+# get built if the binary it uses is installed. For example, check_snmp
+# will be built only if snmpget from net-analyzer/net-snmp[-minimal] is
+# installed. End result: most of our runtime dependencies are required
+# at build time as well.
+AUTOMAGIC_DEPEND="
+   nagios-dns? ( net-dns/bind-tools )
+   nagios-game? ( games-util/qstat )
+   nagios-ping? ( net-analyzer/fping )
+   samba? ( net-fs/samba )
+   ssh? ( net-misc/openssh )
+   snmp? ( dev-perl/Net-SNMP
+   net-analyzer/net-snmp[-minimal] )"
+
+# Perl really needs to run during the build...
+BDEPEND="${AUTOMAGIC_DEPEND}
+   dev-lang/perl"
+
+DEPEND="
+   ldap? ( net-nds/openldap:= )
+   mysql? ( dev-db/mysql-connector-c:= )
+   postgres? ( dev-db/postgresql:* )
+   ssl? (
+   dev-libs/openssl:0=
+   )
+   radius? ( net-dialup/freeradius-client )"
+
+# Basically everything in net-analyzer/monitoring-plugins collides with
+# nagios-plugins. Perl (from BDEPEND) is needed at runtime, too.
+RDEPEND="${BDEPEND}
+   ${DEPEND}
+   !net-analyzer/monitoring-plugins
+   selinux? ( sec-policy/selinux-nagios )"
+
+# At least one test is interactive.
+RESTRICT="test"
+
+DOCS=(
+   ACKNOWLEDGEMENTS
+   AUTHORS
+   CODING
+   ChangeLog
+   FAQ
+   NEWS
+   README
+   REQUIREMENTS
+   SUPPORT
+   THANKS
+)
+
+PATCHES=(
+   "${FILESDIR}/define-own-mysql-port-constant.patch"
+)
+
+src_prepare() {
+   default
+
+   # Fix the path to our perl interpreter
+   sed -i -e "1s:/usr/local/bin/perl:/usr/bin/perl:" \
+   "${S}"/plugins-scripts/*.pl \
+   || die 'failed to fix perl interpreter path'
+}
+
+src_configure() {
+   # Disable -fstrict-aliasing until check_ntp can be fixed,
+   # https://github.com/nagios-plugins/nagios-plugins/issues/665
+   append-cflags $(test-flags-CC -fno-strict-aliasing)
+
+   # Use an array to prevent econf from mangling the ping args.
+   local myconf=()
+
+   if use ssl; then
+   myconf+=( $(use_with ssl openssl /usr) )
+   else
+   myconf+=( --without-openssl )
+   myconf+=( --without-gnutls )
+   fi
+
+   # The autodetection for these two commands can hang if localhost is
+   # down or ICMP traffic is filtered. Bug #468296.
+   myconf+=( --with-ping-command="/bin/ping -n -U -w %d -c %d %s" )
+
+   if use ipv6; then
+   myconf+=( --with-ping6-command="/bin/ping6 -n -U -w %d -c %d 
%s" )
+   fi
+
+   econf \
+   $(use_with mysql) \
+   $(use_with ipv6) \
+   $(use_with ldap) \
+   $(use_with postgres pgsql /usr) \
+   $(use_with radius) \
+   "${myconf[@]}" \
+   --libexecdir="/usr/$(get_libdir)/nagios/plugins" \
+   --sysconfdir="/etc/nagios"
+}
+
+pkg_postinst() {
+   elog "This ebuild has a number of USE flags that determine what you"
+   elog "are able to monitor. Depending on what you want to monitor, some"
+   elog "or all of these USE flags need to be set."
+   elog
+   elog "The plugins are installed in 
${ROOT}/usr/$(get_libdir)/nagios/plugins"
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_rbl/

2022-08-03 Thread Arthur Zamarin
commit: d156093cfa7f97adac0c8cfb1b670738b642c7cd
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 17:51:02 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 17:51:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d156093c

net-analyzer/nagios-check_rbl: Stabilize 1.6.3 sparc, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild 
b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
index ada2a30fe7af..0c1a76c56fcb 100644
--- a/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
+++ b/net-analyzer/nagios-check_rbl/nagios-check_rbl-1.6.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/matteocorti/check_rbl/releases/download/v${PV}/${MY_
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+KEYWORDS="~amd64 ~hppa sparc ~x86"
 IUSE=""
 
 # No, this is not redundant -- see bug 627082.



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-03 Thread Arthur Zamarin
commit: 28b59e4aa3bd11bf5a857541a853aaa3ba1513ee
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 17:51:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 17:51:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28b59e4a

net-analyzer/nagios-plugins: Stabilize 2.4.0 sparc, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
index 49c09b371892..da3d5c477676 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 sparc ~x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-08-03 Thread Arthur Zamarin
commit: 6abb945812d6333aa8ea90c3b2d4acb61b369aa1
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 17:51:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 17:51:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abb9458

net-analyzer/nagios-core: Stabilize 4.4.7 sparc, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
index 33890a293014..a41b65d95fc2 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc ~x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-08-03 Thread Arthur Zamarin
commit: 793281c1e25051ee35f017d2a1c09593b384ca7e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 17:51:02 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 17:51:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=793281c1

net-analyzer/nagios: Stabilize 4.4.7 sparc, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios/nagios-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.7.ebuild 
b/net-analyzer/nagios/nagios-4.4.7.ebuild
index 22ed2f7c2865..b9cdc8bf3bab 100644
--- a/net-analyzer/nagios/nagios-4.4.7.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.7.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 sparc ~x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-check_logfiles/

2022-08-03 Thread Arthur Zamarin
commit: ea48fa72ab0be7db5599b0eb1a8f626691e9081d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 16:12:17 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 16:12:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea48fa72

net-analyzer/nagios-check_logfiles: Stabilize 4.0.1.3 ppc64, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild 
b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
index f32c1802c024..25b78d0db30a 100644
--- a/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
+++ b/net-analyzer/nagios-check_logfiles/nagios-check_logfiles-4.0.1.3.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://labs.consol.de/assets/downloads/nagios/${MY_P}.tar.gz -> ${P}.t
 LICENSE="GPL-3"
 SLOT="0"
 
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~ppc ppc64 ~sparc ~x86"
 
 RDEPEND="|| ( >=net-analyzer/nagios-plugins-1.4.13-r1 
>=net-analyzer/monitoring-plugins-2 )"
 



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugins/

2022-08-03 Thread Arthur Zamarin
commit: ec1aead62786fcc2f41ea3b1cf6514a9b719bd9b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 16:12:18 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 16:12:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1aead6

net-analyzer/nagios-plugins: Stabilize 2.4.0 ppc64, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild 
b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
index a21696d1d329..49c09b371892 100644
--- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
+++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.0.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ppc64 ~sparc ~x86"
 IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba 
selinux snmp ssh +ssl"
 
 # Most of the plugins use automagic dependencies, i.e. the plugin will



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios/

2022-08-03 Thread Arthur Zamarin
commit: 06e3dba1da2fe4cf5c12e7ab5241d796599de31c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 16:12:17 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 16:12:17 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e3dba1

net-analyzer/nagios: Stabilize 4.4.7 ppc64, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios/nagios-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios/nagios-4.4.7.ebuild 
b/net-analyzer/nagios/nagios-4.4.7.ebuild
index 25c696692b74..22ed2f7c2865 100644
--- a/net-analyzer/nagios/nagios-4.4.7.ebuild
+++ b/net-analyzer/nagios/nagios-4.4.7.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://www.nagios.org/;
 
 LICENSE="metapackage"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
 IUSE=""
 
 RDEPEND="~net-analyzer/nagios-core-${PV}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-core/

2022-08-03 Thread Arthur Zamarin
commit: a32f3fbfbd455a3598b7bfcb5446933793bfa67c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Aug  3 16:12:18 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Aug  3 16:12:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a32f3fbf

net-analyzer/nagios-core: Stabilize 4.4.7 ppc64, #862885

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/nagios-core/nagios-core-4.4.7.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild 
b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
index e0583cea138b..33890a293014 100644
--- a/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
+++ b/net-analyzer/nagios-core/nagios-core-4.4.7.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://sourceforge/nagios/${MY_P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~sparc ~x86"
 IUSE="apache2 classicui lighttpd +web vim-syntax"
 
 # In pkg_postinst(), we change the group of the Nagios configuration



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/nagios-plugin-check_raid/

2022-07-02 Thread David Seifert
commit: 7ccf9b584ab1d21e6b52143dd096a64b4d74e9d7
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jul  2 16:01:54 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jul  2 16:01:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ccf9b58

net-analyzer/nagios-plugin-check_raid: update EAPI 6 -> 8

Signed-off-by: David Seifert  gentoo.org>

 ...d => nagios-plugin-check_raid-4.0.10-r3.ebuild} | 49 +++---
 1 file changed, 25 insertions(+), 24 deletions(-)

diff --git 
a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild
 
b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild
similarity index 73%
rename from 
net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild
rename to 
net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild
index d0caa68e4912..e5295fefced0 100644
--- 
a/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r2.ebuild
+++ 
b/net-analyzer/nagios-plugin-check_raid/nagios-plugin-check_raid-4.0.10-r3.ebuild
@@ -1,52 +1,53 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 inherit perl-module
 
-DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status"
-HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid;
 #COMMIT=""
 MY_PV="${COMMIT:-${PV}}"
 MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Nagios/Icinga plugin to check current server's RAID status"
+HOMEPAGE="https://github.com/glensc/nagios-plugin-check_raid;
 
SRC_URI="https://github.com/glensc/nagios-plugin-check_raid/archive/${MY_PV}.tar.gz
 -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
 
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~sparc ~x86"
 IUSE="3ware aacraid dmraid hpa hpsa megaraid-sas mpt mpt-sas2"
 
-DEPEND="dev-perl/Monitoring-Plugin
-   dev-perl/Module-Pluggable"
+DEPEND="
+   dev-perl/Monitoring-Plugin
+   dev-perl/Module-Pluggable"
 RDEPEND="${DEPEND}
-   sys-apps/smartmontools
-   sys-fs/lsscsi
-   3ware? ( sys-block/tw_cli )
-   aacraid? ( sys-block/arcconf )
-   dmraid? ( sys-fs/dmraid )
-   hpa? ( sys-block/hpacucli )
-   hpsa? ( sys-apps/cciss_vol_status )
-   megaraid-sas? ( sys-block/megacli )
-   mpt-sas2? ( sys-block/sas2ircu )
-   mpt? ( sys-block/mpt-status )
-"
-
-S="${WORKDIR}/${MY_P}"
+   sys-apps/smartmontools
+   sys-fs/lsscsi
+   3ware? ( sys-block/tw_cli )
+   aacraid? ( sys-block/arcconf )
+   dmraid? ( sys-fs/dmraid )
+   hpa? ( sys-block/hpacucli )
+   hpsa? ( sys-apps/cciss_vol_status )
+   megaraid-sas? ( sys-block/megacli )
+   mpt-sas2? ( sys-block/sas2ircu )
+   mpt? ( sys-block/mpt-status )"
 
 src_prepare() {
-   # Upstream has a custom Makefile that is meant to build bundles.
-   #mv -f Makefile Makefile.upstream || die
-   sed -i '/CPANfile/d' Makefile.PL || die
default
+
+   # Upstream has a custom Makefile that is meant to build bundles
+   sed -i '/CPANfile/d' Makefile.PL || die
 }
 
 src_install() {
default
-   plugindir="/usr/$(get_libdir)/nagios/plugins"
-   dodir "${plugindir}"
-   mv -f "${ED}"/usr/bin/check_raid.pl "${ED}"/"${plugindir}" || die
dodoc README.md CHANGELOG.md CONTRIBUTING.md check_raid.cfg
+
+   local plugindir="/usr/$(get_libdir)/nagios/plugins"
+   dodir "${plugindir}"
+   mv -f "${ED}"/usr/bin/check_raid.pl "${ED}/${plugindir}" || die
 }
 
 pkg_postinst() {



  1   2   3   4   5   >