svn commit: r371377 - in head/security/racoon2: . files

Cy Schubert cy at FreeBSD.org
Thu Oct 23 06:39:01 UTC 2014


Author: cy
Date: Thu Oct 23 06:39:00 2014
New Revision: 371377
URL: https://svnweb.freebsd.org/changeset/ports/371377
QAT: https://qat.redports.org/buildarchive/r371377/

Log:
  Add hack to address wrong security index.
  
  Submitted by:	Denis Ahrens <denis at h3q.com>
  Obtained from:	http://www.racoon2.wide.ad.jp/ml/racoon2-users/201008/msg804.html

Added:
  head/security/racoon2/files/patch-iked__ikev2_child.c   (contents, props changed)
Modified:
  head/security/racoon2/Makefile

Modified: head/security/racoon2/Makefile
==============================================================================
--- head/security/racoon2/Makefile	Thu Oct 23 06:21:11 2014	(r371376)
+++ head/security/racoon2/Makefile	Thu Oct 23 06:39:00 2014	(r371377)
@@ -3,7 +3,7 @@
 
 PORTNAME=	racoon2
 PORTVERSION=	20100526a
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security net ipv6
 MASTER_SITES=	ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
 

Added: head/security/racoon2/files/patch-iked__ikev2_child.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/racoon2/files/patch-iked__ikev2_child.c	Thu Oct 23 06:39:00 2014	(r371377)
@@ -0,0 +1,11 @@
+--- iked/ikev2_child.c.orig	2008-09-10 01:30:58.000000000 -0700
++++ iked/ikev2_child.c	2014-10-22 23:33:18.140601874 -0700
+@@ -1171,7 +1171,7 @@
+ 	 * used to do update or add.
+ 	 */
+ 	param->flags = 0;
+-	if (child_sa->is_initiator)
++	if (child_sa->is_initiator && child_sa->preceding_satype == 0)
+ 		param->flags |= PFK_FLAG_NOPORTS;
+ 
+ 	param->wsize = ikev2_ipsec_window_size;


More information about the svn-ports-head mailing list