diff options
author | John Marino <marino@FreeBSD.org> | 2015-01-05 21:18:58 +0800 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-01-05 21:18:58 +0800 |
commit | bcbae34226a1b7c3e0ad864e0c758ecbedc92400 (patch) | |
tree | 56d81dc1bbc7e3109a4e452a2ac64bc8e2197a4e /net-mgmt | |
parent | 058ade94e8bfd2d492a28818ad434c5aa4e1d4fa (diff) | |
download | freebsd-ports-gnome-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.tar.gz freebsd-ports-gnome-bcbae34226a1b7c3e0ad864e0c758ecbedc92400.tar.zst freebsd-ports-gnome-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.
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/devmon/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/devmon/files/devmon.in | 2 | ||||
-rw-r--r-- | net-mgmt/netdisco/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/netdisco/files/netdisco.in | 2 | ||||
-rw-r--r-- | net-mgmt/smokeping/Makefile | 2 | ||||
-rw-r--r-- | net-mgmt/smokeping/files/smokeping.in | 4 |
6 files changed, 7 insertions, 7 deletions
diff --git a/net-mgmt/devmon/Makefile b/net-mgmt/devmon/Makefile index 708feb8a525e..25ce6b2b604c 100644 --- a/net-mgmt/devmon/Makefile +++ b/net-mgmt/devmon/Makefile @@ -3,7 +3,7 @@ PORTNAME= devmon DISTVERSION= 0.3.1-beta1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= net-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} diff --git a/net-mgmt/devmon/files/devmon.in b/net-mgmt/devmon/files/devmon.in index 78e3dce487ab..7761cdbba623 100644 --- a/net-mgmt/devmon/files/devmon.in +++ b/net-mgmt/devmon/files/devmon.in @@ -19,7 +19,7 @@ load_rc_config ${name} command="%%PREFIX%%/devmon/devmon" command_args="-c ${devmon_config} -d ${devmon_db}" -command_interpreter=/usr/local/bin/perl +command_interpreter="%%PREFIX%%/bin/perl" pidfile=${devmon_pid} start_precmd=devmon_startprecmd diff --git a/net-mgmt/netdisco/Makefile b/net-mgmt/netdisco/Makefile index af401c6aa6fe..553c170a704e 100644 --- a/net-mgmt/netdisco/Makefile +++ b/net-mgmt/netdisco/Makefile @@ -3,7 +3,7 @@ PORTNAME= netdisco PORTVERSION= 1.3.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net-mgmt www MASTER_SITES= SF diff --git a/net-mgmt/netdisco/files/netdisco.in b/net-mgmt/netdisco/files/netdisco.in index f2adf9fa4dd4..8dccea10f7a9 100644 --- a/net-mgmt/netdisco/files/netdisco.in +++ b/net-mgmt/netdisco/files/netdisco.in @@ -24,7 +24,7 @@ restart_cmd=${name}_restart status_cmd=${name}_status command="%%PREFIX%%/bin/netdisco" -command_interpreter="/usr/bin/perl" +command_interpreter="%%PREFIX%%/bin/perl" netdisco_config="%%ETCDIR%%/netdisco.conf" pidfile=$(grep ^daemon_pid $netdisco_config | cut -d= -f2 | tail -1) flags="-p start" 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" |