- An option to force NATT functionality

- Sneak in master sites beautification and use_ldconfig
  while I'm here

PR:		ports/105488
Submitted by:	bz
Approved by:	VANHULLEBUS Yvan <yvan.vanhullebus@netasq.com> (maintainer)
This commit is contained in:
Andrew Pantyukhin 2006-12-04 10:24:33 +00:00
parent 67a6c6f035
commit c6f1382e04
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178813

View File

@ -12,8 +12,7 @@
PORTNAME= ipsec-tools
PORTVERSION= 0.6.6
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ipsec-tools
MASTER_SITES= SF
MAINTAINER= vanhu@netasq.com
COMMENT= KAME racoon IKE daemon, ipsec-tools version
@ -25,7 +24,7 @@ USE_OPENSSL= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
USE_LDCONFIG= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-shared --sysconfdir=${PREFIX}/etc/racoon \
--localstatedir=${STATEDIR:S/\/racoon//} \
@ -41,6 +40,7 @@ OPTIONS= DEBUG "enable Debug support" on \
STATS "enable Statistics logging function" off \
DPD "enable Dead Peer Detection" on \
NATT "enable NAT-Traversal (kernel-patch required)" on \
NATTF "require NAT-Traversal (fail without kernel-patch)" off \
FRAG "enable IKE fragmentation payload support" on \
HYBRID "enable Hybrid Mode-cfg and Xauth support" off \
PAM "enable PAM authentication" off \
@ -89,7 +89,11 @@ CONFIGURE_ARGS+= --disable-dpd
.endif
.ifdef(WITH_NATT)
. ifdef(WITH_NATTF)
CONFIGURE_ARGS+= --enable-natt=yes
. else
CONFIGURE_ARGS+= --enable-natt=kernel
. endif
.else
CONFIGURE_ARGS+= --disable-natt
.endif