Jan Engelhardt 2012-11-14 00:25:11 +00:00 committed by Git OBS Bridge
parent 58317b2a02
commit 07b736cc6b
7 changed files with 78 additions and 61 deletions

View File

@ -1,17 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCAAGBQJQKRpzAAoJEICnf2CVzeR+mowP/3KoA933duQUH0FYkz7vPRmI
808S/DxCDGwfD8y7+u7syFmFdlZmMXIIa2hDsXlr7pgCRFpGDj+migYcNrnV35Ug
WeAJw4DJ2/MShQNbsromQFW4ZETh3c8xXDp9osmEPTg8BEsSruSXdK0b5eqUlhxj
Cn2RMbwPKjo/QIDoBEBsLarw7CdYMZ8zIoTVLn6uz8sbDMrEAq5bydYrhP1eDp0G
P5PkOE7ell+H15/l5C53JVLO4rMj2JXgJd9Mbckdbn7Sww9ObszCuIa14V3zzpPN
DXaYAjsUodkqihMuqKCebE0iJ3e/xHtVmlTc2sHjzExCIpK+0LvueQC/e+icfGWC
Hn3IGA4SsZFsSgQ2f4QX8+zDUy+1dZWN7ItIob/Uu0kuuUF4diEJbn9pIKhaxg1d
QjOLVlUbamq3SNUTygEBYw6DIeNac+6uIxfZ+4hRoSrtt5ik5pszWsKpLwxNGUXe
0Ky4nbb+PNapRlAQyLyGZTsKel5inGd8KLMjKJCvAf570zcm1arjcWVfErJD8Pi9
sc3UsnmTdkugAGQxh071CSWpUWoNBLmJSjtsOMMj9v3d8RMJyreilAHtLDV2C1hf
xEiod0pd1frAZafWj7pMMWdtKfgZj6t8exZzizHexPmmazaYxE4ZM+swE0Gw/UIB
vU77GQfuNryGbPwtraJm
=Yfl+
-----END PGP SIGNATURE-----

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:36f2674e5436289f3ccfb0a58707aca9dcfa295d06afc36d2117674508f5ef72
size 387984

17
iproute2-3.6.0.tar.sign Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAABCAAGBQJQaboqAAoJEICnf2CVzeR+ye4P/07YgipRse3NSLM0NIQ1ueUq
vdhHu3wFi6HyXK17yiNPlw/1OAImLmyBXWPa9YD3TYtfLONeV8fbVAeXkETRhVWQ
F5Oh7FpJynCiHLd6oWnAJhckZWbdtAAHqXQYIPRwTwoOBh3VPAz6IGWviAc/FmHM
fYTphKuGTYu9atBEpDA+RyFVccnRRDEhWusEzZ7XkiDyWWhjKc2xSmpyqYmP2SCh
q5pPidCy4cXKulC8hsDCk0oL4SH/UCh5xzHVlyyjSG/vqRqB9zq1PfPQMVjt1hZ7
ieaMsAJdZRSuBxJEat0mh75xMcCoObZlBR8EELw4kOoKQGYjfEjqfLl0quTM5mr5
4AHwAu2MvoowJvLntIEpDk7TkPG7UP4HWrnwk1Ri3a2TFRGjynvBlEw6sle5mlhp
5cr2hjAll8+CRfNSv7h7wu7IPV1dIcoZVJaqcL934tOeeZM665ik0sfV55V+iJgk
JInRiAgU6bAHlx4FXm+3yekz6DGhff9Y5yJmOn0tKSZKyYrIr538cGZnB2UwW3bK
07G6Q6p3IDSw2L2VxE0ECDUuFyt6LZVNYPOVwiAoYn5mfS6R0CLqA+Ujr2wZTeXX
cdfrOqghwIn3TqtNtSZotiHdhYEAor7q/H3x18vHMoxa1ZRK7GhzdSbKpahl/YzH
S3L70eFnYMMVUxxojE+6
=XKG4
-----END PGP SIGNATURE-----

3
iproute2-3.6.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2d17544da00e3f162139f66891c6ab5492d3cca7cfc8f7b517a5dca3c5560534
size 395096

View File

@ -1,14 +1,14 @@
--- ---
Makefile | 6 +++--- Makefile | 4 ++--
include/iptables.h | 2 +- include/iptables.h | 2 +-
netem/Makefile | 6 ++++-- netem/Makefile | 6 ++++--
3 files changed, 8 insertions(+), 6 deletions(-) 3 files changed, 7 insertions(+), 5 deletions(-)
Index: iproute2-3.5.1/Makefile Index: iproute2-3.6.0/Makefile
=================================================================== ===================================================================
--- iproute2-3.5.1.orig/Makefile --- iproute2-3.6.0.orig/Makefile
+++ iproute2-3.5.1/Makefile +++ iproute2-3.6.0/Makefile
@@ -1,10 +1,10 @@ @@ -1,7 +1,7 @@
ROOTDIR=$(DESTDIR) ROOTDIR=$(DESTDIR)
PREFIX=/usr PREFIX=/usr
LIBDIR=$(PREFIX)/lib LIBDIR=$(PREFIX)/lib
@ -16,11 +16,7 @@ Index: iproute2-3.5.1/Makefile
+SBINDIR=/usr/sbin +SBINDIR=/usr/sbin
CONFDIR=/etc/iproute2 CONFDIR=/etc/iproute2
DATADIR=$(PREFIX)/share DATADIR=$(PREFIX)/share
-DOCDIR=$(DATADIR)/doc/iproute2 DOCDIR=$(DATADIR)/doc/iproute2
+DOCDIR=$(DATADIR)/doc/packages/iproute2
MANDIR=$(DATADIR)/man
ARPDDIR=/var/lib/arpd
@@ -35,7 +35,7 @@ HOSTCC = gcc @@ -35,7 +35,7 @@ HOSTCC = gcc
DEFINES += -D_GNU_SOURCE DEFINES += -D_GNU_SOURCE
CCOPTS = -O2 CCOPTS = -O2
@ -30,10 +26,10 @@ Index: iproute2-3.5.1/Makefile
YACCFLAGS = -d -t -v YACCFLAGS = -d -t -v
SUBDIRS=lib ip tc bridge misc netem genl man SUBDIRS=lib ip tc bridge misc netem genl man
Index: iproute2-3.5.1/include/iptables.h Index: iproute2-3.6.0/include/iptables.h
=================================================================== ===================================================================
--- iproute2-3.5.1.orig/include/iptables.h --- iproute2-3.6.0.orig/include/iptables.h
+++ iproute2-3.5.1/include/iptables.h +++ iproute2-3.6.0/include/iptables.h
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
#include "libiptc/libiptc.h" #include "libiptc/libiptc.h"
@ -43,10 +39,10 @@ Index: iproute2-3.5.1/include/iptables.h
#endif #endif
#ifndef IPPROTO_SCTP #ifndef IPPROTO_SCTP
Index: iproute2-3.5.1/netem/Makefile Index: iproute2-3.6.0/netem/Makefile
=================================================================== ===================================================================
--- iproute2-3.5.1.orig/netem/Makefile --- iproute2-3.6.0.orig/netem/Makefile
+++ iproute2-3.5.1/netem/Makefile +++ iproute2-3.6.0/netem/Makefile
@@ -5,6 +5,8 @@ HOSTCC ?= $(CC) @@ -5,6 +5,8 @@ HOSTCC ?= $(CC)
CCOPTS = $(CBUILD_CFLAGS) CCOPTS = $(CBUILD_CFLAGS)
LDLIBS += -lm LDLIBS += -lm

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Oct 9 13:27:11 UTC 2012 - jengelh@inai.de
- Update to new upstream release 3.6.0
* ss: report SK_MEMINFO_BACKLOG
* tc: add ipset ematch
* iplink: add support for num[tr]xqueues
* iproute2: Add FDB print and update cmds for self and master
* iproute: Add ability to save, restore and show the interfaces'
addresses
* iproute2: VTI support for ip link command
- Rename iproute2-libdir-1.diff to iproute2-dirs.diff, as it does
more than just changing LIBDIR.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Sep 18 06:36:19 UTC 2012 - werner@suse.de Tue Sep 18 06:36:19 UTC 2012 - werner@suse.de

View File

@ -17,7 +17,7 @@
Name: iproute2 Name: iproute2
Version: 3.5.1 Version: 3.6.0
Release: 0 Release: 0
Summary: Linux network configuration utilities Summary: Linux network configuration utilities
License: GPL-2.0 License: GPL-2.0
@ -30,9 +30,9 @@ Url: http://www.linuxfoundation.org/collaborate/workgroups/networking
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
Source2: %name-%version.tar.sign Source2: %name-%version.tar.sign
# PATCH-FIX-UPSTREAM iproute2-libdir-1.diff status=unknown # PATCH-FIX-UPSTREAM iproute2-libdir-1.diff status=unknown
Patch0: iproute2-libdir-1.diff Patch1: iproute2-dirs.diff
# PATCH-??-OPENSUSE iproute2-HZ.diff status=noidea # PATCH-??-OPENSUSE iproute2-HZ.diff status=noidea
Patch1: iproute2-HZ.diff Patch2: iproute2-HZ.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison BuildRequires: bison
BuildRequires: db-devel BuildRequires: db-devel
@ -105,44 +105,51 @@ as well as examples and other outdated files.
tar -xf "%{S:0}" --use=xz; tar -xf "%{S:0}" --use=xz;
%setup -DTq %setup -DTq
%endif %endif
%patch -P 0 -P 1 -p1 %patch -P 1 -P 2 -p1
find . -name *.orig -delete find . -name *.orig -delete
%build %build
# build with -fPIC. For details see # build with -fPIC. For details see
# https://bugzilla.novell.com/show_bug.cgi?id=388021 # https://bugzilla.novell.com/show_bug.cgi?id=388021
xtlibdir="$(pkg-config xtables --variable=xtlibdir)"; xt_libdir="$(pkg-config xtables --variable=xtlibdir)";
make %{?_smp_mflags} LIBDIR=%_libdir CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -fPIC -DXT_LIB_DIR=\\\"$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"
cd doc cd doc
make pdf make pdf
%install %install
install -d %buildroot/{etc/,sbin/,usr/{sbin,share/man/man{3,8}}} b="%buildroot";
install -d %buildroot/{/usr/include,%_libdir,/usr/share} install -d "$b"/{etc/,sbin/,usr/{sbin,share/man/man{3,8}}}
make install DESTDIR=%buildroot LIBDIR=%_libdir \ install -d "$b"/{/usr/include,%_libdir,/usr/share}
MODDESTDIR="%buildroot/%_libdir/tc" make install DESTDIR="$b" LIBDIR="%_libdir" \
MODDESTDIR="$b/%_libdir/tc" DOCDIR="%_docdir/%name";
# We have m_xt # We have m_xt
rm -f "%buildroot/%_libdir/tc/m_ipt.so" rm -f "$b/%_libdir/tc/m_ipt.so";
install lib/libnetlink.a %buildroot/%_libdir install -pm0644 "lib/libnetlink.a" "$b/%_libdir/";
chmod -x %buildroot/%_libdir/libnetlink.a chmod -x "$b/%_libdir/libnetlink.a";
install include/libnetlink.h %buildroot%_includedir install -pm0644 "include/libnetlink.h" "$b/%_includedir/";
chmod -x %buildroot%_includedir/libnetlink.h chmod -x "$b/%_includedir/libnetlink.h";
#UsrMerge #UsrMerge
ln -s %_sbindir/ip %buildroot/sbin ln -s "%_sbindir/ip" "$b/sbin";
mkdir -p %buildroot/bin mkdir -p "$b/bin";
ln -sf %_sbindir/ip %buildroot/bin/ip ln -sf "%_sbindir/ip" "$b/bin/ip";
#EndUsrMerge #EndUsrMerge
rm %buildroot%_sbindir/ifcfg rm "$b/%_sbindir/ifcfg";
mkdir -p "$b/%_docdir/%name";
cp -an README* COPYING doc/*.pdf ip/{ifcfg,routef,routel} \
"$b/%_docdir/%name/";
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README* COPYING %dir %_docdir/%name
%_docdir/%name/README*
%_docdir/%name/COPYING
%_sbindir/* %_sbindir/*
#UsrMerge #UsrMerge
/sbin/* /sbin/*
/bin/ip /bin/ip
#EndUsrMerge #EndUsrMerge
#%_mandir/man7/*
%_mandir/man8/* %_mandir/man8/*
%dir %_sysconfdir/iproute2 %dir %_sysconfdir/iproute2
%config(noreplace) %_sysconfdir/iproute2/* %config(noreplace) %_sysconfdir/iproute2/*
@ -152,9 +159,9 @@ rm %buildroot%_sbindir/ifcfg
%files doc %files doc
%defattr(-,root,root) %defattr(-,root,root)
%doc doc/api-ip6-flowlabels.pdf doc/arpd.pdf doc/ip-cref.pdf %_docdir/iproute2
%doc doc/ip-tunnels.pdf doc/nstat.pdf doc/rtstat.pdf doc/ss.pdf %exclude %_docdir/iproute2/README*
%doc examples/ ip/ifcfg ip/routef ip/routel %exclude %_docdir/iproute2/COPYING
%files -n libnetlink-devel %files -n libnetlink-devel
%defattr(-,root,root) %defattr(-,root,root)