Bug 182758

Summary: [patch update] security/ipsec-tools: fix build on 10a4, upgrade to 0.8.1 and add stagedir support
Product: Ports & Packages Reporter: Kurt Jaeger <fbsd-ports>
Component: Individual Port(s)Assignee: William Grzybowski <wg>
Status: Closed FIXED    
Severity: Affects Only Me CC: vanhu
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Kurt Jaeger 2013-10-06 18:10:00 UTC
	fix build on 10a4, upgrade to 0.8.1 and add stagedir support

How-To-Repeat: 	-
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-06 18:10:15 UTC
Maintainer of security/ipsec-tools,

Please note that PR ports/182758 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182758

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-06 18:10:16 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-10-27 21:40:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 4 William Grzybowski freebsd_committer freebsd_triage 2013-10-29 20:03:42 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-10-29 20:03:47 UTC
Author: wg
Date: Tue Oct 29 20:03:39 2013
New Revision: 331989
URL: http://svnweb.freebsd.org/changeset/ports/331989

Log:
  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>

Modified:
  head/security/ipsec-tools/Makefile
  head/security/ipsec-tools/distinfo
  head/security/ipsec-tools/pkg-plist

Modified: head/security/ipsec-tools/Makefile
==============================================================================
--- head/security/ipsec-tools/Makefile	Tue Oct 29 20:02:18 2013	(r331988)
+++ head/security/ipsec-tools/Makefile	Tue Oct 29 20:03:39 2013	(r331989)
@@ -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 serv
 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>

Modified: head/security/ipsec-tools/distinfo
==============================================================================
--- head/security/ipsec-tools/distinfo	Tue Oct 29 20:02:18 2013	(r331988)
+++ head/security/ipsec-tools/distinfo	Tue Oct 29 20:03:39 2013	(r331989)
@@ -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

Modified: head/security/ipsec-tools/pkg-plist
==============================================================================
--- head/security/ipsec-tools/pkg-plist	Tue Oct 29 20:02:18 2013	(r331988)
+++ head/security/ipsec-tools/pkg-plist	Tue Oct 29 20:03:39 2013	(r331989)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"