From dc1f97b45e0a7749028447447d2e39ccad23f1d7 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 24 Jun 2002 01:59:54 +0000 Subject: 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 , Jens Trzaska (check_snmp) via maintainer --- net/netsaint-plugins/files/patch-subst.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/netsaint-plugins/files/patch-subst.in (limited to 'net/netsaint-plugins/files/patch-subst.in') diff --git a/net/netsaint-plugins/files/patch-subst.in b/net/netsaint-plugins/files/patch-subst.in new file mode 100644 index 000000000000..3caf2cb87757 --- /dev/null +++ b/net/netsaint-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 ]*=['"]+.+["']$/ { -- cgit v1.2.3