Accepting request 34794 from network:utilities

Copy from network:utilities/iproute2 based on submit request 34794 from user coolo

OBS-URL: https://build.opensuse.org/request/show/34794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=28
This commit is contained in:
OBS User autobuild 2010-03-16 09:05:52 +00:00 committed by Git OBS Bridge
parent 3f93b83715
commit 32842b0a2b
3 changed files with 32 additions and 3 deletions

22
iproute-arphrd-none.diff Normal file
View File

@ -0,0 +1,22 @@
Give ARPHRD_NONE a name so that "tun"-style tunnels don't appear
as link/65534.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
---
lib/ll_types.c | 3 +++
1 file changed, 3 insertions(+)
Index: iproute2-2.6.23/lib/ll_types.c
===================================================================
--- iproute2-2.6.23.orig/lib/ll_types.c
+++ iproute2-2.6.23/lib/ll_types.c
@@ -124,6 +124,9 @@ __PF(IEEE80211_PRISM,ieee802.11/prism)
#ifdef ARPHRD_IEEE80211_RADIOTAP
__PF(IEEE80211_RADIOTAP,ieee802.11/radiotap)
#endif
+#ifdef ARPHRD_NONE
+__PF(NONE,none)
+#endif
#ifdef ARPHRD_VOID
__PF(VOID,void)
#endif

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 23 22:45:41 UTC 2010 - jengelh@medozas.de
- add a patch to avoid tun tunnels being shown as "link/65534"
-------------------------------------------------------------------
Sat Dec 19 18:29:53 CET 2009 - jengelh@medozas.de

View File

@ -20,12 +20,12 @@
Name: iproute2
BuildRequires: bison db-devel flex ghostscript-fonts-std ghostscript-x11 libpng-devel libtiff-devel sgmltool texlive-latex xorg-x11-devel
License: GPL v2 or later
License: GPLv2+
Group: Productivity/Networking/Routing
Provides: iproute
AutoReqProv: on
Version: 2.6.29.1
Release: 7
Release: 8
%define rversion 2.6.29-1
Summary: Advanced Routing
Url: http://developer.osdl.org/dev/iproute2/
@ -44,10 +44,11 @@ Patch10: %name-2.6.29-1-ss-pclose.diff
Patch11: %name-2.6.29-1-neightable.diff
Patch12: %name-2.6.29-1-typelabels.diff
Patch13: %name-2.6.29-1-memleak.diff
Patch14: iproute-arphrd-none.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%package -n libnetlink-devel
License: GPL v2 or later
License: GPLv2+
Summary: A Higher Level Interface to the Netlink Service
Group: Development/Libraries/C and C++
Provides: libnetlink
@ -86,6 +87,7 @@ Authors:
%patch11
%patch12
%patch13
%patch14 -p1
find . -name *.orig -print0 | xargs -r0 rm -v
%build