ports/186865: change rc.d script for Strongswan port
Robert Sevat
robert.sevat at live.nl
Tue Feb 18 13:30:01 UTC 2014
>Number: 186865
>Category: ports
>Synopsis: change rc.d script for Strongswan port
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 18 13:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Robert Sevat
>Release: FreeBSD 10.0-Release
>Organization:
Student
>Environment:
FreeBSD secretum.indylix.nl 10.0-RELEASE FreeBSD 10.0-RELEASE #5 r261406: Sun Feb 2 19:51:24 CET 2014 robert at secretum.indylix.nl:/usr/obj/usr/src/sys/IPsec_Pf amd64
>Description:
The current Strongswan port (5.1.1_1) has an error in the rc.d script that it installs.
While starting strongswan with: "service strongswan start"
I get this error message: "/usr/local/etc/rc.d/strongswan: set_rcvar: not found"
>How-To-Repeat:
>Fix:
Apply the following change in /usr/ports/security/strongswan/files/strongswan.in
name="strongswan"
- rcvar=`set_rcvar`
extra_commands="reload statusall"
name="strongswan"
+ rcvar=${name}_enable
extra_commands="reload statusall"
After changing the above I no longer get the error message. Also prior to the change I did not need to set 'strongswan_enable="YES"' in rc.conf, after the change it did request me to set that to YES.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list