aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-27 20:57:48 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-03-27 20:57:48 +0000
commit68f8b915d0fddea56a1d7ed600294674e3d96f15 (patch)
treed3a677257ff84423e75e367fa651da4756cb4741 /security
parent30808dbd91fbd5ee1d7f8e6eae4956c35c93db87 (diff)
downloadports-68f8b915d0fddea56a1d7ed600294674e3d96f15.tar.gz
ports-68f8b915d0fddea56a1d7ed600294674e3d96f15.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/isakmpd/Makefile2
-rw-r--r--security/isakmpd/files/isakmpd.sh.in7
2 files changed, 5 insertions, 4 deletions
diff --git a/security/isakmpd/Makefile b/security/isakmpd/Makefile
index 42a22dadf9b2..23d54c15d4f6 100644
--- a/security/isakmpd/Makefile
+++ b/security/isakmpd/Makefile
@@ -7,7 +7,7 @@
PORTNAME= isakmpd
PORTVERSION= 20041207
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= simon
diff --git a/security/isakmpd/files/isakmpd.sh.in b/security/isakmpd/files/isakmpd.sh.in
index 9e4514fdafe8..9bd537e054d9 100644
--- a/security/isakmpd/files/isakmpd.sh.in
+++ b/security/isakmpd/files/isakmpd.sh.in
@@ -8,9 +8,7 @@
# BEFORE: DAEMON
# KEYWORD: nojail
-isakmpd_enable="${isakmpd_enable:-NO}"
-
-. /etc/rc.subr
+. %%RC_SUBR%%
name="isakmpd"
rcvar=`set_rcvar`
@@ -18,4 +16,7 @@ command="%%PREFIX%%/sbin/${name}"
extra_commands="reload"
load_rc_config $name
+
+: ${isakmpd_enable="NO"}
+
run_rc_command "$1"