aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorsat <sat@FreeBSD.org>2006-12-04 18:24:33 +0800
committersat <sat@FreeBSD.org>2006-12-04 18:24:33 +0800
commit441f781d0c2722fc6498ba031079e09b5a4b5e5c (patch)
treeebfb4de305d6009ff60674882cfef9240bbb848c /security
parent1f18708eb789cfaf5f83953c5160553f5afaaef6 (diff)
downloadfreebsd-ports-gnome-441f781d0c2722fc6498ba031079e09b5a4b5e5c.tar.gz
freebsd-ports-gnome-441f781d0c2722fc6498ba031079e09b5a4b5e5c.tar.zst
freebsd-ports-gnome-441f781d0c2722fc6498ba031079e09b5a4b5e5c.zip
- 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)
Diffstat (limited to 'security')
-rw-r--r--security/ipsec-tools/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index feb5910f67cc..8ff067ecc0e9 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -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