Hello community,

here is the log from the commit of package iproute2 for openSUSE:Factory 
checked in at 2013-05-16 11:05:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/iproute2 (Old)
 and      /work/SRC/openSUSE:Factory/.iproute2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "iproute2"

Changes:
--------
--- /work/SRC/openSUSE:Factory/iproute2/iproute2.changes        2012-12-19 
20:48:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.iproute2.new/iproute2.changes   2013-05-16 
11:05:05.000000000 +0200
@@ -1,0 +2,11 @@
+Mon Apr 15 07:31:11 UTC 2013 - [email protected]
+
+- Update to new upstream release 3.8.0
+* implement bridge mdb commands
+* add DOVE extensions
+* add `ip netns pids` and `ip netns identify`
+* tc netem: allow negative packet/cell overhead
+* support tunnels in `ip link type ipip|sit|ip6tnl`
+- Add 0001-build-resolve-compile-error-due-to-missing-include.patch
+
+-------------------------------------------------------------------

Old:
----
  iproute2-3.7.0.tar.sign
  iproute2-3.7.0.tar.xz

New:
----
  0001-build-resolve-compile-error-due-to-missing-include.patch
  iproute2-3.8.0.tar.sign
  iproute2-3.8.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ iproute2.spec ++++++
--- /var/tmp/diff_new_pack.f00GNk/_old  2013-05-16 11:05:06.000000000 +0200
+++ /var/tmp/diff_new_pack.f00GNk/_new  2013-05-16 11:05:06.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package iproute2
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           iproute2
-Version:        3.7.0
+Version:        3.8.0
 Release:        0
 Summary:        Linux network configuration utilities
 License:        GPL-2.0
@@ -32,12 +32,14 @@
 Patch1:         iproute2-dirs.diff
 Patch2:         iproute2-HZ.diff
 Patch3:         revert-pdf-creation.diff
+Patch4:         0001-build-resolve-compile-error-due-to-missing-include.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  db-devel
 BuildRequires:  flex
 BuildRequires:  libpng-devel
 BuildRequires:  libtiff-devel
+#BuildRequires:  linux-glibc-devel >= 2.6.15
 BuildRequires:  pkgconfig >= 0.21
 BuildRequires:  xorg-x11-devel
 BuildRequires:  xz
@@ -99,15 +101,16 @@
 
 %prep
 %if 0%{?__xz:1}
-%setup -qn iproute-%version
+%setup -q
 %else
 tar -xf "%{S:0}" --use=xz;
-%setup -DTqn iproute-%version
+%setup -DTq
 %endif
 %patch -P 1 -P 2 -p1
 %if 0%{?sles_version} == 11 || (0%{?suse_version} && 0%{?suse_version} <= 1220)
 %patch -P 3 -p1
 %endif
+%patch -P 4 -p1
 find . -name *.orig -delete
 
 %build
@@ -115,7 +118,7 @@
 # https://bugzilla.novell.com/show_bug.cgi?id=388021
 xt_libdir="$(pkg-config xtables --variable=xtlibdir)";
 xt_cflags="$(pkg-config xtables --cflags)";
-make %{?_smp_mflags} LIBDIR="%_libdir" CCOPTS="-D_GNU_SOURCE %optflags 
-Wstrict-prototypes -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
+make %{?_smp_mflags} LIBDIR="%_libdir" CCOPTS="-D_GNU_SOURCE %optflags 
-Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
 cd doc
 make pdf
 
@@ -152,6 +155,7 @@
 /sbin/*
 /bin/ip
 #EndUsrMerge
+%_mandir/man7/*
 %_mandir/man8/*
 %dir %_sysconfdir/iproute2
 %config(noreplace) %_sysconfdir/iproute2/*

++++++ 0001-build-resolve-compile-error-due-to-missing-include.patch ++++++
>From 8a204b39e28a195e34a6e59d360fce05853eec17 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <[email protected]>
Date: Wed, 17 Apr 2013 08:44:46 +0200
Subject: [PATCH] build: resolve compile error due to missing include
Upstream: sent on Apr 17 08:53 +0200

I get a compilation error with linux-glibc-devel-2.6.32 (SLES 11 SP2):

ipnetns.c: In function 'netns_exec':
ipnetns.c:156: error: 'MS_SLAVE' undeclared (first use in this function)
ipnetns.c:156: error: (Each undeclared identifier is reported only once
ipnetns.c:156: error: for each function it appears in.)
ipnetns.c:156: error: 'MS_REC' undeclared (first use in this function)
ipnetns.c: In function 'netns_add':
ipnetns.c:372: error: 'MS_SHARED' undeclared (first use in this function)
ipnetns.c:372: error: 'MS_REC' undeclared (first use in this function)
make[1]: *** [ipnetns.o] Error 1

This patch fixes that.
---
 ip/ipnetns.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ip/ipnetns.c b/ip/ipnetns.c
index b047b97..48b1ad5 100644
--- a/ip/ipnetns.c
+++ b/ip/ipnetns.c
@@ -14,6 +14,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <ctype.h>
+#include <linux/fs.h>
 
 #include "utils.h"
 #include "ip_common.h"
-- 
1.8.2

++++++ iproute2-3.7.0.tar.xz -> iproute2-3.8.0.tar.xz ++++++
++++ 7840 lines of diff (skipped)

++++++ iproute2-dirs.diff ++++++
--- /var/tmp/diff_new_pack.f00GNk/_old  2013-05-16 11:05:06.000000000 +0200
+++ /var/tmp/diff_new_pack.f00GNk/_new  2013-05-16 11:05:06.000000000 +0200
@@ -4,10 +4,10 @@
  netem/Makefile     |    6 ++++--
  3 files changed, 7 insertions(+), 5 deletions(-)
 
-Index: iproute2-3.6.0/Makefile
+Index: iproute2-3.8.0/Makefile
 ===================================================================
---- iproute2-3.6.0.orig/Makefile
-+++ iproute2-3.6.0/Makefile
+--- iproute2-3.8.0.orig/Makefile
++++ iproute2-3.8.0/Makefile
 @@ -1,7 +1,7 @@
  ROOTDIR=$(DESTDIR)
  PREFIX=/usr
@@ -17,19 +17,19 @@
  CONFDIR=/etc/iproute2
  DATADIR=$(PREFIX)/share
  DOCDIR=$(DATADIR)/doc/iproute2
-@@ -35,7 +35,7 @@ HOSTCC = gcc
- DEFINES += -D_GNU_SOURCE
- CCOPTS = -O2
- WFLAGS = -Wall -Wstrict-prototypes
+@@ -33,7 +33,7 @@ CCOPTS = -O2
+ WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
+ WFLAGS += -Wmissing-declarations -Wold-style-definition
+ 
 -CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
 +CFLAGS = -DLIBDIR=\"${LIBDIR}\" $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
  YACCFLAGS = -d -t -v
  
  SUBDIRS=lib ip tc bridge misc netem genl man
-Index: iproute2-3.6.0/include/iptables.h
+Index: iproute2-3.8.0/include/iptables.h
 ===================================================================
---- iproute2-3.6.0.orig/include/iptables.h
-+++ iproute2-3.6.0/include/iptables.h
+--- iproute2-3.8.0.orig/include/iptables.h
++++ iproute2-3.8.0/include/iptables.h
 @@ -5,7 +5,7 @@
  #include "libiptc/libiptc.h"
  
@@ -39,10 +39,10 @@
  #endif
  
  #ifndef IPPROTO_SCTP
-Index: iproute2-3.6.0/netem/Makefile
+Index: iproute2-3.8.0/netem/Makefile
 ===================================================================
---- iproute2-3.6.0.orig/netem/Makefile
-+++ iproute2-3.6.0/netem/Makefile
+--- iproute2-3.8.0.orig/netem/Makefile
++++ iproute2-3.8.0/netem/Makefile
 @@ -5,6 +5,8 @@ HOSTCC ?= $(CC)
  CCOPTS  = $(CBUILD_CFLAGS)
  LDLIBS += -lm 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to