aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-12-21 19:12:50 +0800
committermat <mat@FreeBSD.org>2016-12-21 19:12:50 +0800
commit68c98158023196c339c6b7f9ae32d9b401c0596e (patch)
tree91db42f4e0cd8d0df7275f908ae84a9efcb2c2c9 /net-mgmt
parentb682665a44e4855a056dd0b000c27fb86ab0da3e (diff)
downloadfreebsd-ports-gnome-68c98158023196c339c6b7f9ae32d9b401c0596e.tar.gz
freebsd-ports-gnome-68c98158023196c339c6b7f9ae32d9b401c0596e.tar.zst
freebsd-ports-gnome-68c98158023196c339c6b7f9ae32d9b401c0596e.zip
Update to 2.2.
Reported by: portscout Sponsored by: Absolight
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/monitoring-plugins/Makefile3
-rw-r--r--net-mgmt/monitoring-plugins/distinfo5
-rw-r--r--net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff4
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-configure4
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl6
-rw-r--r--net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c6
6 files changed, 14 insertions, 14 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile
index 9c9e8aecd9e6..df113d497ce1 100644
--- a/net-mgmt/monitoring-plugins/Makefile
+++ b/net-mgmt/monitoring-plugins/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= monitoring-plugins
-PORTVERSION= 2.1.2
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= net-mgmt
MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME}
diff --git a/net-mgmt/monitoring-plugins/distinfo b/net-mgmt/monitoring-plugins/distinfo
index 632332e9e1ea..891805f002ac 100644
--- a/net-mgmt/monitoring-plugins/distinfo
+++ b/net-mgmt/monitoring-plugins/distinfo
@@ -1,2 +1,3 @@
-SHA256 (monitoring-plugins-2.1.2.tar.gz) = 76c6b58f0867ab7b6c8c86c7e94fcce7183618f6daab63488990d0355f5600aa
-SIZE (monitoring-plugins-2.1.2.tar.gz) = 2613060
+TIMESTAMP = 1482313684
+SHA256 (monitoring-plugins-2.2.tar.gz) = 296a538f00a9cbef7f528ff2d43af357a44b384dc98a32389a675b62a6dd3665
+SIZE (monitoring-plugins-2.2.tar.gz) = 2461548
diff --git a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
index 8b5633254712..f109621c2749 100644
--- a/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
+++ b/net-mgmt/monitoring-plugins/files/extra-patch-dig-to-drill.diff
@@ -1,10 +1,10 @@
---- plugins/check_dig.c.orig 2014-11-30 10:36:26 UTC
+--- plugins/check_dig.c.orig 2016-11-29 08:45:08 UTC
+++ plugins/check_dig.c
@@ -94,8 +94,8 @@ main (int argc, char **argv)
timeout_interval_dig = timeout_interval / number_tries + number_tries;
/* get the command to run */
-- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +tries=%d +time=%d",
+- xasprintf (&command_line, "%s %s %s -p %d @%s %s %s +retry=%d +time=%d",
- PATH_TO_DIG, dig_args, query_transport, server_port, dns_server, query_address, record_type, number_tries, timeout_interval_dig);
+ xasprintf (&command_line, "%s %s @%s -z -p %d %s %s %s",
+ PATH_TO_DIG, dig_args, dns_server, server_port, query_transport, query_address, record_type);
diff --git a/net-mgmt/monitoring-plugins/files/patch-configure b/net-mgmt/monitoring-plugins/files/patch-configure
index 591c6525a2c9..306b52efc7b9 100644
--- a/net-mgmt/monitoring-plugins/files/patch-configure
+++ b/net-mgmt/monitoring-plugins/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2014-12-01 23:45:00 UTC
+--- configure.orig 2016-11-29 08:48:11 UTC
+++ configure
-@@ -16651,7 +16651,7 @@ then
+@@ -16748,7 +16748,7 @@ then
$as_echo "$ac_cv_ps_command" >&6; }
elif ps -axwo 'stat comm vsz rss user uid pid ppid args' 2>/dev/null | \
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
index 46fe0a3aedbb..0cd1a4951128 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins-scripts_check__ircd.pl
@@ -1,6 +1,6 @@
---- plugins-scripts/check_ircd.pl.orig 2014-11-30 10:36:26 UTC
+--- plugins-scripts/check_ircd.pl.orig 2016-11-29 08:45:08 UTC
+++ plugins-scripts/check_ircd.pl
-@@ -66,6 +66,7 @@ sub bindRemote ($$);
+@@ -65,6 +65,7 @@ sub bindRemote ($$);
$ENV{'PATH'}='@TRUSTED_PATH@';
$ENV{'BASH_ENV'}='';
$ENV{'ENV'}='';
@@ -8,7 +8,7 @@
# -----------------------------------------------------------------[ Global ]--
-@@ -153,7 +154,7 @@ sub bindRemote ($$)
+@@ -152,7 +153,7 @@ sub bindRemote ($$)
print "IRCD UNKNOWN: Could not start socket ($!)\n";
exit $ERRORS{"UNKNOWN"};
}
diff --git a/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c b/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
index f6544773faa9..14b1ae8ab9ae 100644
--- a/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
+++ b/net-mgmt/monitoring-plugins/files/patch-plugins_check__ssh.c
@@ -1,12 +1,12 @@
---- plugins/check_ssh.c.orig 2014-11-30 22:28:21 UTC
+--- plugins/check_ssh.c.orig 2016-11-29 08:45:08 UTC
+++ plugins/check_ssh.c
@@ -255,6 +255,7 @@ ssh_connect (char *haddr, int hport, cha
printf
- (_("SSH WARNING - %s (protocol %s) version mismatch, expected '%s'\n"),
+ (_("SSH CRITICAL - %s (protocol %s) version mismatch, expected '%s'\n"),
ssh_server, ssh_proto, remote_version);
+ recv (sd, output, BUFF_SZ, 0);
close(sd);
- exit (STATE_WARNING);
+ exit (STATE_CRITICAL);
}
@@ -273,6 +274,7 @@ ssh_connect (char *haddr, int hport, cha
(_("SSH OK - %s (protocol %s) | %s\n"),