From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../144263-patch-plugins-scripts_subst_in | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 web/attachments/144263-patch-plugins-scripts_subst_in (limited to 'web/attachments/144263-patch-plugins-scripts_subst_in') diff --git a/web/attachments/144263-patch-plugins-scripts_subst_in b/web/attachments/144263-patch-plugins-scripts_subst_in new file mode 100644 index 0000000..20f6300 --- /dev/null +++ b/web/attachments/144263-patch-plugins-scripts_subst_in @@ -0,0 +1,24 @@ +$OpenBSD: patch-plugins-scripts_subst_in,v 1.1.1.1 2005/07/25 16:32:07 sturm Exp $ +--- plugins-scripts/subst.in.orig Mon Jul 18 22:56:08 2005 ++++ plugins-scripts/subst.in Mon Jul 18 22:56:30 2005 +@@ -44,10 +44,6 @@ BEGIN { + /^#! ?\/.*\/[a-z]{0,2}awk/ {sub(/^#! ?\/.*\/[a-z]{0,2}awk/,"#! @AWK@");} + /^#! ?\/.*\/sh/ {sub(/^#! ?\/.*\/sh/,"#! @SHELL@");} + +-# add to libexecdir to INC for perl utils.pm +-/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } +- +- + # Trusted path mechanism (deprecated) + + /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ { +@@ -67,6 +63,9 @@ BEGIN { + c=substr($0,RSTART,RLENGTH); + sub(c,which(c,path)); + } ++ ++# add to libexecdir to INC for perl utils.pm ++/^use/ { if (/lib/) { if (/utils.pm|"."/ ) {sub(/utils.pm|"."/,led() )} } } + + { + print; -- cgit v1.2.3-74-g34f1