freebsd-ports/net-mgmt/netsaint-plugins/files/patch-subst.in
Jun Kuriyama dc1f97b45e 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
2002-06-24 01:59:54 +00:00

11 lines
429 B
Text

--- 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 ]*=['"]+.+["']$/ {