diff options
author | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-19 03:33:26 +0000 |
---|---|---|
committer | Stephen Montgomery-Smith <stephen@FreeBSD.org> | 2011-07-19 03:33:26 +0000 |
commit | 537fa88c5f4611dc2956dfb3a3bf20ac8f910a7f (patch) | |
tree | c0ae554e33c84a9df0b904fcef8f6f5158670682 /security/ipsec-tools | |
parent | 749b617ee8bb8896f02bf2f5a5af0c58bc5d6062 (diff) |
- Fix startup script rc.d/racoon.
- Bump portrevision.
PR: ports/148605
Submitted by: John Hein <jhein@symmetricom.com>
Approved by: maho (mentor) and vanhu@netasq.com (maintainer)
Notes
Notes:
svn path=/head/; revision=277930
Diffstat (limited to 'security/ipsec-tools')
-rw-r--r-- | security/ipsec-tools/Makefile | 1 | ||||
-rw-r--r-- | security/ipsec-tools/files/racoon.sh.in | 4 |
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" |