ports/182758: [patch update] security/ipsec-tools: fix build on 10a4, upgrade to 0.8.1 and add stagedir support

Kurt Jaeger fbsd-ports at opsec.eu
Sun Oct 6 17:10:01 UTC 2013


>Number:         182758
>Category:       ports
>Synopsis:       [patch update] security/ipsec-tools: fix build on 10a4, upgrade to 0.8.1 and add stagedir support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 06 17:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kurt Jaeger
>Release:        FreeBSD 10.0-ALPHA4 amd64
>Organization:
-
>Environment:
System: FreeBSD f10.opsec.eu 10.0-ALPHA4 FreeBSD 10.0-ALPHA4 #0 r255933: Sun Sep 29 02:50:54 UTC 2013 root at snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	fix build on 10a4, upgrade to 0.8.1 and add stagedir support

>How-To-Repeat:
	-

>Fix:

diff -r -u -N security/ipsec-tools/Makefile /usr/home/pi/myp/security/ipsec-tools/Makefile
--- security/ipsec-tools/Makefile	2013-10-01 21:10:01.000000000 +0200
+++ /usr/home/pi/myp/security/ipsec-tools/Makefile	2013-10-06 19:03:14.000000000 +0200
@@ -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 @@
 USE_RC_SUBR=	racoon
 USE_OPENSSL=	yes
 USE_BZIP2=	yes
+USE_GCC=	any
 
 USE_AUTOTOOLS=	libtool
 GNU_CONFIGURE=	yes
@@ -50,13 +51,8 @@
 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
@@ -175,17 +171,17 @@
 .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}
+	@${CP} -r ${WRKSRC}/src/racoon/samples/* ${STAGEDIR}/${EXAMPLESDIR}
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
diff -r -u -N security/ipsec-tools/distinfo /usr/home/pi/myp/security/ipsec-tools/distinfo
--- security/ipsec-tools/distinfo	2013-10-01 21:10:01.000000000 +0200
+++ /usr/home/pi/myp/security/ipsec-tools/distinfo	2013-10-06 18:50:46.000000000 +0200
@@ -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 -r -u -N security/ipsec-tools/pkg-plist /usr/home/pi/myp/security/ipsec-tools/pkg-plist
--- security/ipsec-tools/pkg-plist	2013-10-01 21:10:01.000000000 +0200
+++ /usr/home/pi/myp/security/ipsec-tools/pkg-plist	2013-10-06 19:04:47.000000000 +0200
@@ -26,6 +26,13 @@
 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
@@ -51,3 +58,5 @@
 @cwd /
 @exec mkdir -p %%STATEDIR%%
 @dirrmtry %%STATEDIR%%
+ at dirrmtry /var/db
+ at dirrmtry /var


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list