Accepting request 877362 from security:netfilter

- Update to release 5.11

OBS-URL: https://build.opensuse.org/request/show/877362
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=118
This commit is contained in:
Dominique Leuenberger 2021-03-10 07:46:55 +00:00 committed by Git OBS Bridge
commit c221dcf5ef
6 changed files with 32 additions and 17 deletions

Binary file not shown.

View File

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

BIN
iproute2-5.11.0.tar.sign Normal file

Binary file not shown.

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

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Mar 6 08:31:13 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 5.11
* tc: skip actions that don't have options attribute when
printing
* ip route: Print "trap" nexthop indication
* dcb: new utility
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jan 27 18:25:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Wed Jan 27 18:25:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
@ -7,6 +16,11 @@ Wed Jan 27 18:25:04 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
* ss: add support for XDP statistics * ss: add support for XDP statistics
* bridge: mdb: add support for source address * bridge: mdb: add support for source address
-------------------------------------------------------------------
Fri Dec 4 09:49:34 UTC 2020 - Ludwig Nussel <lnussel@suse.de>
- missed /usr/bin/ip link in usrmerge
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 17 11:23:47 UTC 2020 - Jan Engelhardt <jengelh@inai.de> Sat Oct 17 11:23:47 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -18,7 +18,7 @@
%define _buildshell /bin/bash %define _buildshell /bin/bash
Name: iproute2 Name: iproute2
Version: 5.10.0 Version: 5.11
Release: 0 Release: 0
Summary: Linux network configuration utilities Summary: Linux network configuration utilities
License: GPL-2.0-only License: GPL-2.0-only
@ -29,8 +29,8 @@ URL: https://wiki.linuxfoundation.org/networking/iproute2
#DL-URL: https://kernel.org/pub/linux/utils/net/iproute2/ #DL-URL: https://kernel.org/pub/linux/utils/net/iproute2/
#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2 #Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2
#Git-Mirror: https://github.com/shemminger/iproute2 #Git-Mirror: https://github.com/shemminger/iproute2
Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.xz Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.xz
Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.sign Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.0.tar.sign
Source9: %name.keyring Source9: %name.keyring
Patch1: adjust-installation-directories-for-openSUSE-SLE.patch Patch1: adjust-installation-directories-for-openSUSE-SLE.patch
Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch
@ -44,12 +44,9 @@ BuildRequires: flex
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: pkgconfig >= 0.21 BuildRequires: pkgconfig >= 0.21
BuildRequires: xz BuildRequires: xz
%define with_xt 1
%if 0%{?with_xt}
BuildRequires: pkgconfig(libmnl) BuildRequires: pkgconfig(libmnl)
BuildRequires: pkgconfig(libselinux) BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(xtables) >= 1.4.11 BuildRequires: pkgconfig(xtables) >= 1.4.11
%endif
Provides: %name-doc = %version Provides: %name-doc = %version
Provides: iproute = %version-%release Provides: iproute = %version-%release
Provides: %name(xfrm6_raw) = %version-%release Provides: %name(xfrm6_raw) = %version-%release
@ -94,12 +91,12 @@ broadcasting due to limited standard size (512..1024 entries,
depending on type) of the kernel ARP cache. depending on type) of the kernel ARP cache.
%prep %prep
%autosetup -p1 %autosetup -p1 -n %name-%version.0
find . -name *.orig -delete find . -name *.orig -delete
%build %build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects %global _lto_cflags %_lto_cflags -ffat-lto-objects
# 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
xt_libdir="$(pkg-config xtables --variable=xtlibdir)" xt_libdir="$(pkg-config xtables --variable=xtlibdir)"
@ -111,18 +108,20 @@ xt_cflags="$(pkg-config xtables --cflags)"
%install %install
b="%buildroot" b="%buildroot"
install -d "$b"/{etc/,sbin/,usr/{bin,sbin,share/man/man{3,8}}} mkdir -p "$b/usr/bin" "$b/usr/sbin" "$b/sbin"
install -d "$b"/{/usr/include,%_libdir,/usr/share}
%make_install MODDESTDIR="$b/%_libdir/tc" %make_install MODDESTDIR="$b/%_libdir/tc"
# We have m_xt # We have m_xt instead
rm -f "$b/%_libdir/tc/m_ipt.so" rm -f "$b/%_libdir/tc/m_ipt.so"
install -pm0644 "lib/libnetlink.a" "$b/%_libdir/" install -pm0644 "lib/libnetlink.a" "$b/%_libdir/"
chmod -x "$b/%_libdir/libnetlink.a" chmod -x "$b/%_libdir/libnetlink.a"
install -pm0644 "include/libnetlink.h" "$b/%_includedir/" install -pm0644 "include/libnetlink.h" "$b/%_includedir/"
chmod -x "$b/%_includedir/libnetlink.h" chmod -x "$b/%_includedir/libnetlink.h"
%if !0%{?usrmerged} %if 0%{?usrmerged}
ln -s "%_sbindir/ip" "$b/sbin" ln -sf "%_sbindir/ip" "$b/%_bindir/ip"
%else
ln -s "%_sbindir/ip" "$b/sbin/"
mkdir -p "$b/bin" mkdir -p "$b/bin"
ln -sf "%_sbindir/ip" "$b/bin/ip" ln -sf "%_sbindir/ip" "$b/bin/ip"
%endif %endif
@ -142,7 +141,9 @@ cp -an README* examples/bpf "$b/%_docdir/%name/"
%_bindir/ss %_bindir/ss
%_sbindir/* %_sbindir/*
%exclude %_sbindir/arpd %exclude %_sbindir/arpd
%if !0%{?usrmerged} %if 0%{?usrmerged}
%_bindir/ip
%else
/sbin/* /sbin/*
/bin/ip /bin/ip
%endif %endif