summaryrefslogtreecommitdiff
path: root/net/nagios-plugins/files/patch-subst.in
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2002-06-24 01:59:54 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2002-06-24 01:59:54 +0000
commitdc1f97b45e0a7749028447447d2e39ccad23f1d7 (patch)
treec4962a5b19de352b7a4f660f409cc5be4474fff6 /net/nagios-plugins/files/patch-subst.in
parentBump PORTREVISION. (diff)
Bump PORTREVISION.
check_snmp calls snmpget without '-c' parameter, which is mandatory with NetSNMP 5.x. Add '-c' to the command line to make it work with both NetSNMP 4.x and 5.x. check_by_ssh dumps core with called without -C, also usage help output does not document -C and -v. check_ssh plugin incorrectly parses the SSH banner. check_ntp does not work with NTP v2. Add -n option to be able to select NTP version. Submitted by: David Douthitt <n9ubh@callsign.net>, Jens Trzaska <jt@barfoos.de> (check_snmp) via maintainer
Notes
Notes: svn path=/head/; revision=61853
Diffstat (limited to 'net/nagios-plugins/files/patch-subst.in')
-rw-r--r--net/nagios-plugins/files/patch-subst.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/nagios-plugins/files/patch-subst.in b/net/nagios-plugins/files/patch-subst.in
new file mode 100644
index 000000000000..3caf2cb87757
--- /dev/null
+++ b/net/nagios-plugins/files/patch-subst.in
@@ -0,0 +1,11 @@
+--- plugins-scripts/subst.in.orig Fri Sep 1 05:47:35 2000
++++ plugins-scripts/subst.in Sun Jun 23 14:24:00 2002
+@@ -33,7 +33,7 @@
+ # Trusted path mechanism (deprecated)
+
+ /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ {
+- sub(/\=[ \t]*['"][^"']+["']/,"='@trusted_path@' # autoconf-derived");
++ sub(/\=[ \t]*['"][^"']+["'];/,"='@trusted_path@'; # autoconf-derived");
+ }
+
+ /^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ {