diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2015-01-19 17:52:56 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2015-01-19 17:52:56 +0000 |
commit | 07ae7bc7148370e9527486164d60ddbe01a8fdd2 (patch) | |
tree | 70d23c77dacbb805fc3a6707bc95e8efc43c0331 /net-mgmt | |
parent | 98e4cc405c59f4a3bbadf2db80eac7c71ab77c65 (diff) |
Notes
Diffstat (limited to 'net-mgmt')
4 files changed, 6 insertions, 6 deletions
diff --git a/net-mgmt/monitoring-plugins/Makefile b/net-mgmt/monitoring-plugins/Makefile index 713ab3d6177c..bb4e9f625b58 100644 --- a/net-mgmt/monitoring-plugins/Makefile +++ b/net-mgmt/monitoring-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= monitoring-plugins PORTVERSION= 2.0 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= net-mgmt MASTER_SITES= https://www.monitoring-plugins.org/download/ LOCAL/mat/${PORTNAME} 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 0d38e3651571..1b4f1355f763 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,13 +1,13 @@ --- plugins/check_dig.c.orig 2014-06-23 16:01:00 UTC +++ plugins/check_dig.c -@@ -94,8 +94,8 @@ +@@ -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 -p %d %s -t %s %s %s +tries=%d +time=%d", - PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport, 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_address, record_type, query_transport); ++ PATH_TO_DIG, dig_args, dns_server, server_port, query_transport, query_address, record_type); alarm (timeout_interval); gettimeofday (&tv, NULL); diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile index a1d09d8a14a3..88c657ae3c65 100644 --- a/net-mgmt/nagios-plugins/Makefile +++ b/net-mgmt/nagios-plugins/Makefile @@ -3,7 +3,7 @@ PORTNAME= nagios-plugins PORTVERSION= 2.0.3 -PORTREVISION= 6 +PORTREVISION= 7 PORTEPOCH= 1 CATEGORIES= net-mgmt MASTER_SITES= https://www.nagios-plugins.org/download/ \ diff --git a/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff b/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff index 3a75840e5221..21a8df54c690 100644 --- a/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff +++ b/net-mgmt/nagios-plugins/files/extra-patch-dig-to-drill.diff @@ -1,13 +1,13 @@ --- plugins/check_dig.c.orig 2014-03-04 21:41:57 UTC +++ plugins/check_dig.c -@@ -94,8 +94,8 @@ +@@ -94,8 +94,8 @@ main (int argc, char **argv) timeout_interval_dig = ceil((double) timeout_interval / (double) number_tries); /* get the command to run */ - xasprintf (&command_line, "%s @%s -p %d %s -t %s %s %s +tries=%d +time=%d", - PATH_TO_DIG, dns_server, server_port, query_address, record_type, dig_args, query_transport, 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_address, record_type, query_transport); ++ PATH_TO_DIG, dig_args, dns_server, server_port, query_transport, query_address, record_type); alarm (timeout_interval); gettimeofday (&tv, NULL); |