1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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>
This commit is contained in:
William Grzybowski 2013-10-29 20:03:39 +00:00
parent 2c25b65dcd
commit 430a6c120a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331989
3 changed files with 16 additions and 28 deletions

View File

@ -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>

View File

@ -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

View File

@ -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