rpms/ipsec-tools/devel ipsec-tools-0.7-newcookie-alen.patch, NONE, 1.1 ipsec-tools.spec, 1.51, 1.52

Steve Conklin (sconklin) fedora-extras-commits at redhat.com
Mon Feb 25 15:21:45 UTC 2008


Author: sconklin

Update of /cvs/pkgs/rpms/ipsec-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30773

Modified Files:
	ipsec-tools.spec 
Added Files:
	ipsec-tools-0.7-newcookie-alen.patch 
Log Message:
Upstream patch for ipv6 cookie alen fix


ipsec-tools-0.7-newcookie-alen.patch:

--- NEW FILE ipsec-tools-0.7-newcookie-alen.patch ---
--- ipsec-tools-0.7/src/racoon/isakmp.c.spc	2008-02-25 08:16:44.000000000 -0600
+++ ipsec-tools-0.7/src/racoon/isakmp.c	2008-02-25 08:17:17.000000000 -0600
@@ -2628,7 +2628,7 @@
 		break;
 #ifdef INET6
 	case AF_INET6:
-		alen = sizeof(struct in_addr);
+		alen = sizeof(struct in6_addr);
 		sa1 = (caddr_t)&((struct sockaddr_in6 *)remote)->sin6_addr;
 		sa2 = (caddr_t)&((struct sockaddr_in6 *)local)->sin6_addr;
 		break;


Index: ipsec-tools.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ipsec-tools/devel/ipsec-tools.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- ipsec-tools.spec	14 Feb 2008 17:21:19 -0000	1.51
+++ ipsec-tools.spec	25 Feb 2008 15:21:10 -0000	1.52
@@ -1,6 +1,6 @@
 Name: ipsec-tools
 Version: 0.7
-Release: 9%{?dist}
+Release: 10%{?dist}
 Summary: Tools for configuring and using IPSEC
 License: BSD
 Group: System Environment/Base
@@ -18,6 +18,7 @@
 Patch5: ipsec-tools-0.7-iface.patch
 Patch6: ipsec-tools-0.7-dupsplit.patch
 Patch7: ipsec-tools-0.7-contextsize.patch
+Patch8: ipsec-tools-0.7-newcookie-alen.patch
 
 BuildRequires: openssl-devel, krb5-devel, bison, flex, automake, libtool
 BuildRequires: libselinux-devel >= 1.30.28-2
@@ -119,6 +120,9 @@
 %config(noreplace) /etc/racoon/racoon.conf
 
 %changelog
+* Mon Feb 25 2008 Steve Conklin <sconklin at redhat.com> - 0.7-10
+- Added upstream patch to fix ipv6 cookie alen
+
 * Thu Feb 14 2008 Steve Conklin <sconklin at redhat.com> - 0.7-9
 - rebuild for gcc4.3
 




More information about the fedora-extras-commits mailing list