aboutsummaryrefslogtreecommitdiff
path: root/security/ipsec-tools
diff options
context:
space:
mode:
authorStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-19 03:33:26 +0000
committerStephen Montgomery-Smith <stephen@FreeBSD.org>2011-07-19 03:33:26 +0000
commit537fa88c5f4611dc2956dfb3a3bf20ac8f910a7f (patch)
treec0ae554e33c84a9df0b904fcef8f6f5158670682 /security/ipsec-tools
parent749b617ee8bb8896f02bf2f5a5af0c58bc5d6062 (diff)
downloadports-537fa88c5f4611dc2956dfb3a3bf20ac8f910a7f.tar.gz
ports-537fa88c5f4611dc2956dfb3a3bf20ac8f910a7f.zip
Notes
Diffstat (limited to 'security/ipsec-tools')
-rw-r--r--security/ipsec-tools/Makefile1
-rw-r--r--security/ipsec-tools/files/racoon.sh.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index 9885e30d13c9..8f413b32cc4f 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -11,6 +11,7 @@
PORTNAME= ipsec-tools
PORTVERSION= 0.8.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
diff --git a/security/ipsec-tools/files/racoon.sh.in b/security/ipsec-tools/files/racoon.sh.in
index 47c4981ba317..decfb3816906 100644
--- a/security/ipsec-tools/files/racoon.sh.in
+++ b/security/ipsec-tools/files/racoon.sh.in
@@ -17,7 +17,7 @@
#
[ -z "$racoon_enable" ] && racoon_enable="NO" # Disable by default
#racoon_flags="" # Flags to racoon program
-racoon_create_dirs=NO # Create $required_dirs (for
+racoon_create_dirs=${racoon_create_dirs:-NO} # Create $required_dirs (for
# /var mfs)?
. /etc/rc.subr
@@ -38,7 +38,7 @@ racoon_cleanup() {
}
load_rc_config $name
-if [ "$1" = start ] && checkyesno "${name}_create_dirs"; then
+if [ "$1" = start -o "$1" = faststart ] && checkyesno "${name}_create_dirs"; then
/bin/mkdir -p $required_dirs
fi
run_rc_command "$1"