+++ /dev/null
---- iproute2-2.6.38/tc/m_xt.c.org 2011-05-29 10:01:12.291649868 +0200
-+++ iproute2-2.6.38/tc/m_xt.c 2011-05-29 10:04:25.340555276 +0200
-@@ -162,7 +162,11 @@
- return -1;
- }
- tcipt_globals.opts =
-- xtables_merge_options(tcipt_globals.opts,
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ tcipt_globals.orig_opts,
-+#endif
-+ tcipt_globals.opts,
- m->extra_opts,
- &m->option_offset);
- } else {
-@@ -307,7 +311,11 @@
- }
-
- tcipt_globals.opts =
-- xtables_merge_options(tcipt_globals.opts,
-+ xtables_merge_options(
-+#if XTABLES_VERSION_CODE > 5
-+ tcipt_globals.orig_opts,
-+#endif
-+ tcipt_globals.opts,
- m->extra_opts,
- &m->option_offset);
- } else {
Summary(pl.UTF-8): Narzędzie do konfigurowania sieci
Summary(pt_BR.UTF-8): Ferramentas para roteamento avançado e configuração de interfaces de rede
Name: iproute2
-Version: 2.6.39
-Release: 2
+Version: 3.1.0
+Release: 1
License: GPL v2+
Group: Networking/Admin
-Source0: http://devresources.linux-foundation.org/dev/iproute2/download/%{name}-%{version}.tar.gz
-# Source0-md5: 8a3b6bc77c2ecf752284aa4a6fc630a6
+Source0: http://kernel.org/pub/linux/utils/networking/iproute2/%{name}-%{version}.tar.xz
+# Source0-md5: 810cdc0ddc2409a7af7089588c6c9a68
Source1: libnetlink.3
Patch0: %{name}-build.patch
Patch1: %{name}-arp.patch
Patch13: %{name}-q_atm_c.patch
Patch14: %{name}-q_srr.v0.4.patch
Patch15: %{name}-ip_route_get.patch
-Patch16: %{name}-xt.patch
URL: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
BuildRequires: bison
BuildRequires: db-devel
%patch13 -p0
%patch14 -p1
%patch15 -p1
-%patch16 -p1
%build
%{__make} \
%files
%defattr(644,root,root,755)
-%doc ChangeLog README README.decnet README.iproute2+tc README.distribution README.lnstat
+%doc README README.decnet README.iproute2+tc README.distribution README.lnstat
%attr(755,root,root) %{_sbindir}/ifstat
%attr(755,root,root) %{_sbindir}/ip
%attr(755,root,root) %{_sbindir}/lnstat