summaryrefslogtreecommitdiff
path: root/net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-09-03 08:50:29 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-09-03 08:50:29 +0000
commitdffee50e8045982c868c0f89f4ffb40f049aa4e6 (patch)
treeb22b44b4327760ed15e004b101ae9edc0da98d61 /net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in
parent- Properly update icon caches when GTK2 and/or GTK3 option is set. (diff)
Update to 2.1.1
Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=395932
Diffstat (limited to 'net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in')
-rw-r--r--net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in b/net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in
deleted file mode 100644
index d4a9c6a34f3e..000000000000
--- a/net-mgmt/nagios-plugins/files/patch-plugins-scripts__subst.in
+++ /dev/null
@@ -1,29 +0,0 @@
---- plugins-scripts/subst.in.orig 2014-03-04 21:41:57 UTC
-+++ plugins-scripts/subst.in
-@@ -1,7 +1,7 @@
- #!/usr/bin/awk
-
- function which(c,path) {
-- cmd = "test -x " c;
-+ cmd = "[ " c " = @libexecdir@ ] || test -x " c;
-
- if (system(cmd)==0) {
- return c;
-@@ -53,7 +53,7 @@
- # FIXME: Prepend executables with a substitution keyword instead.
- #
- /^[^#]/ && /(\/.*)?\/(bin|sbin|lib|libexec)\// {
-- match($0,/(\/.*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
-+ match($0,/(\/[^ ]*)?\/(bin|sbin|lib|libexec)\/[-_a-zA-Z0-9]+/);
- c=substr($0,RSTART,RLENGTH);
- sub(c,which(c,path));
- }
-@@ -65,7 +65,7 @@
- # Trusted path mechanism (deprecated)
-
- /^[ \t]*\$ENV[ \t]*\{[ \t'"]*PATH[ \t"']*\}[ \t]*=/ {
-- sub(/\=[ \t]*['"][^"']+["']/,"='@with_trusted_path@' # autoconf-derived");
-+ sub(/\=[ \t]*['"][^"']+["'];/,"='@with_trusted_path@'; # autoconf-derived");
- }
-
- /^[\t ]*(export[\t ]*)?PATH[\t ]*=['"]+.+["']$/ {