diff options
author | stephen <stephen@FreeBSD.org> | 2011-07-19 11:33:26 +0800 |
---|---|---|
committer | stephen <stephen@FreeBSD.org> | 2011-07-19 11:33:26 +0800 |
commit | e9b1fc14ac8875774953ec4d29d2573383cbb0dd (patch) | |
tree | 898bc9fc42e084fbca0d82b39b408c49ee615a06 /security/ipsec-tools | |
parent | 8d973c00f8a0d69918fbd064bf3e440f5df7f5af (diff) | |
download | freebsd-ports-gnome-e9b1fc14ac8875774953ec4d29d2573383cbb0dd.tar.gz freebsd-ports-gnome-e9b1fc14ac8875774953ec4d29d2573383cbb0dd.tar.zst freebsd-ports-gnome-e9b1fc14ac8875774953ec4d29d2573383cbb0dd.zip |
- 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)
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" |