Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2014 13:25:25 GMT
From:      Robert Sevat <robert.sevat@live.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/186865: change rc.d script for Strongswan port
Message-ID:  <201402181325.s1IDPP14022183@cgiserv.freebsd.org>
Resent-Message-ID: <201402181330.s1IDU0kp052719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402181325.s1IDPP14022183>