diff options
author | John Marino <marino@FreeBSD.org> | 2015-01-05 13:18:58 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-01-05 13:18:58 +0000 |
commit | bcbae34226a1b7c3e0ad864e0c758ecbedc92400 (patch) | |
tree | 56d81dc1bbc7e3109a4e452a2ac64bc8e2197a4e /net-mgmt/smokeping | |
parent | 058ade94e8bfd2d492a28818ad434c5aa4e1d4fa (diff) | |
download | ports-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.tar.gz ports-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.zip |
change command_interpreter from /usr/bin/perl to ${PREFIX}/bin/perl
Several ports had rc.d scripts with hardcoded command_interpreter string
as /usr/bin/perl. This symlink is not guaranteed to be in place, and it
isn't even an option for perl 5.20. For affected ports, the interpreter
was changed to localbase.
In one case, the interpreter was correct, but it wasn't surround by
quotes. Since the rc.d script would break if a space was contained in
${PREFIX}, quotes were added in that case.
Notes
Notes:
svn path=/head/; revision=376298
Diffstat (limited to 'net-mgmt/smokeping')
-rw-r--r-- | net-mgmt/smokeping/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/smokeping/files/smokeping.in | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/smokeping/Makefile b/net-mgmt/smokeping/Makefile index f5febdb7999a..1dd973ff3b2e 100644 --- a/net-mgmt/smokeping/Makefile +++ b/net-mgmt/smokeping/Makefile @@ -3,7 +3,7 @@ PORTNAME= smokeping PORTVERSION= 2.6.9 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt www MASTER_SITES= http://oss.oetiker.ch/smokeping/pub/ \ http://smokeping.cs.pu.edu.tw/pub/ diff --git a/net-mgmt/smokeping/files/smokeping.in b/net-mgmt/smokeping/files/smokeping.in index c31b8b1cdb81..9bc303fbe42c 100644 --- a/net-mgmt/smokeping/files/smokeping.in +++ b/net-mgmt/smokeping/files/smokeping.in @@ -31,10 +31,10 @@ load_rc_config $name : ${smokeping_user="%%USERS%%"} : ${smokeping_group="%%GROUPS%%"} -command=%%PREFIX%%/bin/smokeping +command="%%PREFIX%%/bin/smokeping" command_args="--logfile=${smokeping_logfile}" pidfile="${smokeping_pidfile}" -command_interpreter=%%PREFIX%%/bin/perl +command_interpreter="%%PREFIX%%/bin/perl" extra_commands=reload reload_cmd="${command} --reload" |