rpms/iproute/devel iproute2-2.6.29-IPPROTO_IP_for_SA.patch, NONE, 1.1 iproute2-2.6.29-tc_modules.patch, NONE, 1.1 iproute-ip-man.patch, 1.7, 1.8 iproute.spec, 1.95, 1.96 iproute2-2.6.25-segfault.patch, 1.5, 1.6 iproute2-2.6.29-fix_headers_for_gre.patch, 1.1, 1.2 iproute2-2.6.9-kernel.patch, 1.7, 1.8 iproute2-display_ip4ip6tunnels.patch, 1.1, 1.2 iproute2-missing-arpd-directory.patch, 1.1, 1.2 iproute2-sharepath.patch, 1.2, 1.3 iproute2-ss050901-opt_flags.patch, 1.9, 1.10

Marcela Mašláňová mmaslano at fedoraproject.org
Fri Apr 24 07:49:31 UTC 2009


Author: mmaslano

Update of /cvs/pkgs/rpms/iproute/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22589

Modified Files:
	iproute-ip-man.patch iproute.spec 
	iproute2-2.6.25-segfault.patch 
	iproute2-2.6.29-fix_headers_for_gre.patch 
	iproute2-2.6.9-kernel.patch 
	iproute2-display_ip4ip6tunnels.patch 
	iproute2-missing-arpd-directory.patch iproute2-sharepath.patch 
	iproute2-ss050901-opt_flags.patch 
Added Files:
	iproute2-2.6.29-IPPROTO_IP_for_SA.patch 
	iproute2-2.6.29-tc_modules.patch 
Log Message:
* Thu Apr 23 2009 Marcela Mašláňová <mmaslano at redhat.com> - 2.6.29-3
- new iptables (xtables) bring problems to tc, when ipt is used. 
  rhbz#497344 still broken. tc_modules.patch brings correct paths to
  xtables, but that doesn't fix whole issue.
- 497355 ip should allow creation of an IPsec SA with 'proto any' 
  and specified sport and dport as selectors


iproute2-2.6.29-IPPROTO_IP_for_SA.patch:

--- NEW FILE iproute2-2.6.29-IPPROTO_IP_for_SA.patch ---
diff -up iproute2-2.6.29/ip/ipxfrm.c.old iproute2-2.6.29/ip/ipxfrm.c
--- iproute2-2.6.29/ip/ipxfrm.c.old	2009-03-24 23:15:14.000000000 +0100
+++ iproute2-2.6.29/ip/ipxfrm.c	2009-04-24 09:35:58.203735119 +0200
@@ -1156,6 +1156,7 @@ static int xfrm_selector_upspec_parse(st
 		case IPPROTO_UDP:
 		case IPPROTO_SCTP:
 		case IPPROTO_DCCP:
+		case IPPROTO_IP:	/* to allow shared SA for different protocols */
 			break;
 		default:
 			fprintf(stderr, "\"sport\" and \"dport\" are invalid with proto=%s\n", strxf_proto(sel->proto));

iproute2-2.6.29-tc_modules.patch:

--- NEW FILE iproute2-2.6.29-tc_modules.patch ---
diff -up iproute2-2.6.29/Makefile.ipt iproute2-2.6.29/Makefile
--- iproute2-2.6.29/Makefile.ipt	2009-04-23 15:19:19.000000000 +0200
+++ iproute2-2.6.29/Makefile	2009-04-23 15:27:19.802477954 +0200
@@ -10,7 +10,7 @@ ARPDDIR=/var/lib/arpd                   
 # Path to db_185.h include
 DBM_INCLUDE:=/usr/include
 
-DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\"
+DEFINES= -DRESOLVE_HOSTNAMES -DLIBDIR=\"$(LIBDIR)\" -DIPT_LIB_DIR=\"$(IPT_LIB_DIR)\"
 
 #options if you have a bind>=4.9.4 libresolv (or, maybe, glibc)
 LDLIBS=-lresolv

iproute-ip-man.patch:

Index: iproute-ip-man.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute-ip-man.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- iproute-ip-man.patch	25 Mar 2009 12:49:42 -0000	1.7
+++ iproute-ip-man.patch	24 Apr 2009 07:49:30 -0000	1.8
@@ -1,6 +1,6 @@
 diff -up iproute2-2.6.29/iproute2-2.6.29/man/man8/ip.8.mm iproute2-2.6.29/iproute2-2.6.29/man/man8/ip.8
---- iproute2-2.6.29/iproute2-2.6.29/man/man8/ip.8.mm	2008-07-25 22:46:07.000000000 +0200
-+++ iproute2-2.6.29/iproute2-2.6.29/man/man8/ip.8	2008-08-12 14:24:01.000000000 +0200
+--- iproute2-2.6.29/man/man8/ip.8.mm	2008-07-25 22:46:07.000000000 +0200
++++ iproute2-2.6.29/man/man8/ip.8	2008-08-12 14:24:01.000000000 +0200
 @@ -190,6 +190,8 @@ replace " | " monitor " } "
  .IR NUMBER " ] [ "
  .B  cwnd


Index: iproute.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute.spec,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- iproute.spec	14 Apr 2009 11:10:54 -0000	1.95
+++ iproute.spec	24 Apr 2009 07:49:30 -0000	1.96
@@ -4,7 +4,7 @@
 Summary: Advanced IP routing and network device configuration tools
 Name: iproute
 Version: 2.6.29
-Release: 2%{?dist}
+Release: 3%{?dist}
 Group: Applications/System
 Source: http://developer.osdl.org/dev/iproute2/download/iproute2-%{version}.tar.bz2
 #Source1: iproute-doc-2.6.22.tar.gz
@@ -17,19 +17,31 @@
 Patch6: iproute2-2.6.29-fix_headers_for_gre.patch
 Patch7: iproute2-missing-arpd-directory.patch
 Patch8: iproute2-display_ip4ip6tunnels.patch
+Patch9: iproute2-2.6.29-tc_modules.patch
+Patch10: iproute2-2.6.29-IPPROTO_IP_for_SA.patch
 
 License: GPLv2+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: tetex-latex tetex-dvips linuxdoc-tools
 BuildRequires: flex linux-atm-libs-devel psutils db4-devel bison
+# introduction new iptables (xtables) which broke ipt
+Requires:      iptables >= 1.4.1
 
 %description
 The iproute package contains networking utilities (ip and rtmon, for
 example) which are designed to use the advanced networking
 capabilities of the Linux 2.4.x and 2.6.x kernel.
 
+%package doc
+Summary: ip and tc documentation with examples
+Group:  Applications/System
+License: GPLv2+
+
+%description doc
+The iproute documentation contains howtos and examples of settings.
+
 %prep
-%setup -q -c iproute-%{version}
+%setup -q -n iproute2-%{version}
 %patch1 -p1 -b .kernel
 %patch2 -p1 -b .opt_flags
 %patch3 -p1
@@ -38,11 +50,13 @@
 %patch6 -p1 -b .hdrs
 %patch7 -p1 -b .arpd
 %patch8 -p1 -b .ip4ip6
+%patch9 -p1 -b .ipt
+%patch10 -p1 -b .ipproto
 
 %build
-export LIBDIR=%{_libdir}
+export LIBDIR=/%{_libdir}
+export IPT_LIB_DIR=/%{_lib}/xtables
 
-cd iproute2-%{version}
 make %{?_smp_mflags}
 make -C doc
 
@@ -56,7 +70,6 @@
 	$RPM_BUILD_ROOT%{_datadir}/tc \
 	$RPM_BUILD_ROOT%{_libdir}/tc
 
-cd iproute2-%{version}
 install -m 755 ip/ip ip/ifcfg ip/rtmon tc/tc $RPM_BUILD_ROOT/sbin
 install -m 755 misc/ss misc/nstat misc/rtacct misc/lnstat misc/arpd $RPM_BUILD_ROOT%{_sbindir}
 #netem is static
@@ -98,9 +111,7 @@
 %files
 %defattr(-,root,root,-)
 %dir %{_sysconfdir}/iproute2
-%doc iproute2-%{version}/README.decnet iproute2-%{version}/README.iproute2+tc iproute2-%{version}/RELNOTES iproute2-%{version}/examples/README.cbq
-%doc iproute2-%{version}/doc/*.ps 
-%doc iproute2-%{version}/examples
+%doc README README.decnet README.iproute2+tc README.distribution README.lnstat
 /sbin/*
 %{_mandir}/man8/*
 %attr(644,root,root) %config(noreplace) %{_sysconfdir}/iproute2/*
@@ -112,7 +123,20 @@
 %dir %{_sysconfdir}/sysconfig/cbq
 %config(noreplace) %{_sysconfdir}/sysconfig/cbq/*
 
+%files doc
+%defattr(-,root,root,-)
+%doc doc/*.ps
+%doc examples
+%doc RELNOTES
+
 %changelog
+* Thu Apr 23 2009 Marcela Mašláňová <mmaslano at redhat.com> - 2.6.29-3
+- new iptables (xtables) bring problems to tc, when ipt is used. 
+  rhbz#497344 still broken. tc_modules.patch brings correct paths to
+  xtables, but that doesn't fix whole issue.
+- 497355 ip should allow creation of an IPsec SA with 'proto any' 
+  and specified sport and dport as selectors
+
 * Tue Apr 14 2009 Marcela Mašláňová <mmaslano at redhat.com> - 2.6.29-2
 - c3651bf4763d7247e3edd4e20526a85de459041b ip6tunnel: Fix no default 
  display of ip4ip6 tunnels

iproute2-2.6.25-segfault.patch:

Index: iproute2-2.6.25-segfault.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-2.6.25-segfault.patch,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- iproute2-2.6.25-segfault.patch	25 Mar 2009 12:49:42 -0000	1.5
+++ iproute2-2.6.25-segfault.patch	24 Apr 2009 07:49:30 -0000	1.6
@@ -1,6 +1,6 @@
 diff -up iproute2-2.6.29/iproute2-2.6.29/ip/xfrm_state.c.seg iproute2-2.6.29/iproute2-2.6.29/ip/xfrm_state.c
---- iproute2-2.6.29/iproute2-2.6.29/ip/xfrm_state.c.seg	2008-07-21 17:23:12.000000000 +0200
-+++ iproute2-2.6.29/iproute2-2.6.29/ip/xfrm_state.c	2008-07-22 09:27:12.000000000 +0200
+--- iproute2-2.6.29/ip/xfrm_state.c.seg	2008-07-21 17:23:12.000000000 +0200
++++ iproute2-2.6.29/ip/xfrm_state.c	2008-07-22 09:27:12.000000000 +0200
 @@ -158,12 +158,16 @@ static int xfrm_algo_parse(struct xfrm_a
  			buf[j] = val;
  		}

iproute2-2.6.29-fix_headers_for_gre.patch:

Index: iproute2-2.6.29-fix_headers_for_gre.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-2.6.29-fix_headers_for_gre.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iproute2-2.6.29-fix_headers_for_gre.patch	25 Mar 2009 12:49:42 -0000	1.1
+++ iproute2-2.6.29-fix_headers_for_gre.patch	24 Apr 2009 07:49:30 -0000	1.2
@@ -10,8 +10,8 @@
 
 diff --git a/ip/link_gre.c b/ip/link_gre.c
 index 9109312..9f8bde6 100644
---- iproute-2.6.29/iproute2-2.6.29/ip/link_gre.c.old
-+++ iproute-2.6.29/iproute2-2.6.29/ip/link_gre.c
+--- iproute2-2.6.29/ip/link_gre.c.old
++++ iproute2-2.6.29/ip/link_gre.c
 @@ -12,11 +12,12 @@
  
  #include <string.h>

iproute2-2.6.9-kernel.patch:

Index: iproute2-2.6.9-kernel.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-2.6.9-kernel.patch,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- iproute2-2.6.9-kernel.patch	25 Mar 2009 12:49:42 -0000	1.7
+++ iproute2-2.6.9-kernel.patch	24 Apr 2009 07:49:30 -0000	1.8
@@ -1,6 +1,6 @@
 diff -up iproute2-2.6.29/iproute2-2.6.29/Makefile.kernel iproute2-2.6.29/iproute2-2.6.29/Makefile
---- iproute2-2.6.29/iproute2-2.6.29/Makefile.kernel	2008-07-25 22:46:07.000000000 +0200
-+++ iproute2-2.6.29/iproute2-2.6.29/Makefile	2008-08-12 14:19:58.000000000 +0200
+--- iproute2-2.6.29/Makefile.kernel	2008-07-25 22:46:07.000000000 +0200
++++ iproute2-2.6.29/Makefile	2008-08-12 14:19:58.000000000 +0200
 @@ -3,6 +3,7 @@ SBINDIR=/sbin
  CONFDIR=/etc/iproute2
  DOCDIR=/share/doc/iproute2

iproute2-display_ip4ip6tunnels.patch:

Index: iproute2-display_ip4ip6tunnels.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-display_ip4ip6tunnels.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iproute2-display_ip4ip6tunnels.patch	14 Apr 2009 11:10:55 -0000	1.1
+++ iproute2-display_ip4ip6tunnels.patch	24 Apr 2009 07:49:30 -0000	1.2
@@ -13,8 +13,8 @@
 
 diff --git a/ip/ip6tunnel.c b/ip/ip6tunnel.c
 index 8421983..8852a67 100644
---- iproute2-2.6.29/iproute2-2.6.29/ip/ip6tunnel.c.old
-+++ iproute2-2.6.29/iproute2-2.6.29/ip/ip6tunnel.c
+--- iproute2-2.6.29/ip/ip6tunnel.c.old
++++ iproute2-2.6.29/ip/ip6tunnel.c
 @@ -335,6 +335,7 @@ static int do_show(int argc, char **argv)
          struct ip6_tnl_parm p;
  

iproute2-missing-arpd-directory.patch:

Index: iproute2-missing-arpd-directory.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-missing-arpd-directory.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iproute2-missing-arpd-directory.patch	14 Apr 2009 11:10:55 -0000	1.1
+++ iproute2-missing-arpd-directory.patch	24 Apr 2009 07:49:30 -0000	1.2
@@ -10,8 +10,8 @@
  1 files changed, 2 insertions(+), 0 deletions(-)
 
 diff -up iproute-2.6.29/iproute2-2.6.29/Makefile.arpd iproute-2.6.29/iproute2-2.6.29/Makefile
---- iproute-2.6.29/iproute2-2.6.29/Makefile.arpd	2009-04-14 12:57:23.743114366 +0200
-+++ iproute-2.6.29/iproute2-2.6.29/Makefile	2009-04-14 12:58:38.754111501 +0200
+--- iproute2-2.6.29/Makefile.arpd	2009-04-14 12:57:23.743114366 +0200
++++ iproute2-2.6.29/Makefile	2009-04-14 12:58:38.754111501 +0200
 @@ -5,6 +5,7 @@ CONFDIR=/etc/iproute2
  DOCDIR=/share/doc/iproute2
  MANDIR=/share/man

iproute2-sharepath.patch:

Index: iproute2-sharepath.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-sharepath.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- iproute2-sharepath.patch	25 Mar 2009 12:49:42 -0000	1.2
+++ iproute2-sharepath.patch	24 Apr 2009 07:49:30 -0000	1.3
@@ -1,6 +1,6 @@
 diff -up iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c.movelib iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c
---- iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c.movelib	2009-01-15 21:25:04.000000000 +0100
-+++ iproute-2.6.29/iproute2-2.6.29/tc/tc_util.c	2009-02-04 08:58:36.000000000 +0100
+--- iproute2-2.6.29/tc/tc_util.c.movelib	2009-01-15 21:25:04.000000000 +0100
++++ iproute2-2.6.29/tc/tc_util.c	2009-02-04 08:58:36.000000000 +0100
 @@ -24,8 +24,8 @@
  #include "utils.h"
  #include "tc_util.h"

iproute2-ss050901-opt_flags.patch:

Index: iproute2-ss050901-opt_flags.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iproute/devel/iproute2-ss050901-opt_flags.patch,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- iproute2-ss050901-opt_flags.patch	25 Mar 2009 12:49:42 -0000	1.9
+++ iproute2-ss050901-opt_flags.patch	24 Apr 2009 07:49:30 -0000	1.10
@@ -1,6 +1,6 @@
 diff -up iproute2-2.6.29/iproute2-2.6.29/Makefile.opt iproute2-2.6.29/iproute2-2.6.29/Makefile
---- iproute2-2.6.29/iproute2-2.6.29/Makefile.opt	2008-08-12 14:19:58.000000000 +0200
-+++ iproute2-2.6.29/iproute2-2.6.29/Makefile	2008-08-12 14:21:42.000000000 +0200
+--- iproute2-2.6.29/Makefile.opt	2008-08-12 14:19:58.000000000 +0200
++++ iproute2-2.6.29/Makefile	2008-08-12 14:21:42.000000000 +0200
 @@ -22,7 +22,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
  
  CC = gcc




More information about the fedora-extras-commits mailing list