aboutsummaryrefslogtreecommitdiff
path: root/security/ipsec-tools
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-10-29 20:03:39 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-10-29 20:03:39 +0000
commit430a6c120a3715c698b8af347136e8757fed2abb (patch)
tree37153993e5b89881c18ae05ad5444e0c3885ab79 /security/ipsec-tools
parent2c25b65dcd1f9a5970d12344a54fed4d5137c339 (diff)
downloadports-430a6c120a3715c698b8af347136e8757fed2abb.tar.gz
ports-430a6c120a3715c698b8af347136e8757fed2abb.zip
security/ipsec-tools: update to 0.8.1
- Update to 0.8.1 [1] - Allow staging [1] - Remove FreeBSD < 8.x message PR: ports/182758 [1] Submitted by: Kurt Jaeger <fbsd-ports opsec.eu>
Notes
Notes: svn path=/head/; revision=331989
Diffstat (limited to 'security/ipsec-tools')
-rw-r--r--security/ipsec-tools/Makefile33
-rw-r--r--security/ipsec-tools/distinfo4
-rw-r--r--security/ipsec-tools/pkg-plist7
3 files changed, 16 insertions, 28 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile
index 0dbde5385f7e..519ea8695d1e 100644
--- a/security/ipsec-tools/Makefile
+++ b/security/ipsec-tools/Makefile
@@ -7,7 +7,7 @@
# - $LOCALBASE/sbin/setkey Vs /usr/sbin/setkey
PORTNAME= ipsec-tools
-PORTVERSION= 0.8.0
+PORTVERSION= 0.8.1
PORTREVISION= 3
CATEGORIES= security
MASTER_SITES= SF
@@ -20,6 +20,7 @@ CONFLICTS= racoon-[0-9]*
USE_RC_SUBR= racoon
USE_OPENSSL= yes
USE_BZIP2= yes
+USE_GCC= any
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
@@ -50,13 +51,8 @@ PAM_DESC= PAM authentication (Xauth server)
RADIUS_DESC= Radius authentication (Xauth server)
LDAP_DESC= LDAP authentication (Xauth server)
-MAN3= ipsec_set_policy.3 ipsec_strerror.3
-MAN5= racoon.conf.5
-MAN8= racoon.8 racoonctl.8 setkey.8 plainrsa-gen.8
-
PORTDOCS= *
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 900007
@@ -161,31 +157,16 @@ CONFIGURE_ARGS+= --enable-idea
CONFIGURE_ARGS+= --disable-idea
.endif
-.if ${OSVERSION} < 800000
-.if ${PORT_OPTIONS:MNATT}
-pre-configure:
- @${ECHO_MSG} "===> -------------------------------------------------------------------------"
- @${ECHO_MSG} "===> ATTENTION: You need a kernel patch to enable NAT-Traversal functionality!"
- @${ECHO_MSG} "===> latest known patch for FreeBSD 7 is available here:"
- @${ECHO_MSG} "===> http://people.freebsd.org/~bz/20110123-01-stable7-natt.diff"
- @${ECHO_MSG} "===> You might possibly have to do some steps manually if it fails to apply."
- @${ECHO_MSG} "===> -------------------------------------------------------------------------"
- @sleep 3
-.endif
-.endif
-
post-install:
- @${MKDIR} ${PREFIX}/etc/racoon
+ @${MKDIR} ${STAGEDIR}/${PREFIX}/etc/racoon
@if [ -z `/sbin/sysctl -a | ${GREP} -q ipsec && ${ECHO_CMD} ipsec` ]; then \
${ECHO_MSG} "WARNING: IPsec feature is disabled on this host"; \
${ECHO_MSG} " You must build the kernel if you want to run racoon on the host"; \
fi ;
- @${MKDIR} ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
@${RM} -f ${WRKSRC}/src/racoon/samples/*.in
- @${CP} -r ${WRKSRC}/src/racoon/samples/* ${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${DOCSDIR}
-.endif
+ @${CP} -r ${WRKSRC}/src/racoon/samples/* ${STAGEDIR}/${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.post.mk>
diff --git a/security/ipsec-tools/distinfo b/security/ipsec-tools/distinfo
index 721aeee0c963..3081d30a027c 100644
--- a/security/ipsec-tools/distinfo
+++ b/security/ipsec-tools/distinfo
@@ -1,2 +1,2 @@
-SHA256 (ipsec-tools-0.8.0.tar.bz2) = 2359a24aa8eda9ca7043fc47950c8e6b7f58a07c5d5ad316aa7de2bc5e3a8717
-SIZE (ipsec-tools-0.8.0.tar.bz2) = 809297
+SHA256 (ipsec-tools-0.8.1.tar.bz2) = fa4a95bb36842f001b84c4e7a1bb727e3ee06147edbc830a881d63abe8153dd4
+SIZE (ipsec-tools-0.8.1.tar.bz2) = 860717
diff --git a/security/ipsec-tools/pkg-plist b/security/ipsec-tools/pkg-plist
index f21af7189586..771992db54f5 100644
--- a/security/ipsec-tools/pkg-plist
+++ b/security/ipsec-tools/pkg-plist
@@ -26,6 +26,13 @@ lib/libracoon.a
lib/libracoon.la
lib/libracoon.so
lib/libracoon.so.0
+man/man3/ipsec_set_policy.3.gz
+man/man3/ipsec_strerror.3.gz
+man/man5/racoon.conf.5.gz
+man/man8/plainrsa-gen.8.gz
+man/man8/racoon.8.gz
+man/man8/racoonctl.8.gz
+man/man8/setkey.8.gz
%%EXAMPLESDIR%%/psk.txt
%%EXAMPLESDIR%%/psk.txt.sample
%%EXAMPLESDIR%%/racoon.conf