aboutsummaryrefslogtreecommitdiffstats
path: root/security/racoon2
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2014-10-23 14:39:00 +0800
committercy <cy@FreeBSD.org>2014-10-23 14:39:00 +0800
commit730abe55fb3aeddf7d071cef367125c662086130 (patch)
tree0afd9e01599e010a6ffd4e25665893e719619b71 /security/racoon2
parent996b7204b6e78437648a22c41672366a17b79423 (diff)
downloadfreebsd-ports-gnome-730abe55fb3aeddf7d071cef367125c662086130.tar.gz
freebsd-ports-gnome-730abe55fb3aeddf7d071cef367125c662086130.tar.zst
freebsd-ports-gnome-730abe55fb3aeddf7d071cef367125c662086130.zip
Add hack to address wrong security index.
Submitted by: Denis Ahrens <denis@h3q.com> Obtained from: http://www.racoon2.wide.ad.jp/ml/racoon2-users/201008/msg804.html
Diffstat (limited to 'security/racoon2')
-rw-r--r--security/racoon2/Makefile2
-rw-r--r--security/racoon2/files/patch-iked__ikev2_child.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile
index 1ba3a1ba215b..dfd920540774 100644
--- a/security/racoon2/Makefile
+++ b/security/racoon2/Makefile
@@ -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/
diff --git a/security/racoon2/files/patch-iked__ikev2_child.c b/security/racoon2/files/patch-iked__ikev2_child.c
new file mode 100644
index 000000000000..548f132e011a
--- /dev/null
+++ b/security/racoon2/files/patch-iked__ikev2_child.c
@@ -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;