Accepting request 573557 from home:avindra

- Update to new upstream release 4.15.0
  * Add "show" subcommand to "ip fou"
  * Restore --no-print-directory option for silent builds
  * SPDX license identifiers
  * Show 'external' link mode in output
  * Update kernel headers with new SPDK identifier
  * bpf: allocate opcode table in struct bpf_cfg_in
  * bpf: allow loading programs for a specific ifindex
  * bpf: expose bpf_parse_common() and bpf_load_common()
  * bpf: initialize the verifier log
  * bpf: keep parsed program mode in struct bpf_cfg_in
  * bpf: pass program type in struct bpf_cfg_in
  * bpf: rename bpf_parse_common() to bpf_parse_and_load_common()
  * bpf: split parse from program loading
  * bpf: update header file
  * bridge: fdb: print NDA_SRC_VNI if available
  * bridge: vlan: support for per vlan tunnel info
  * devlink, rdma, tipc: properly define TARGETS without HAVE_MNL
  * devlink: Ignore unknown attributes
  * drop unneeded include of syslog.h
  * f_bpf: communicate ifindex for eBPF offload
  * flower: Represent HW traffic classes as classid values
  * gre,ip6tnl/tunnel: Fix noencap- support
  * gre/tunnel: Print erspan_index using print_uint()
  * gre6/tunnel: Do not submit garbage in flowinfo
  * gre6/tunnel: Output flowlabel after tclass
  * gre: Fix ttl inherit option
  * ifcfg/rtpr: convert to POSIX shell
  * ila: Fix reporting of ILA locators and locator match
  * ila: added csum neutral support to ipila
  * ila: create ila_common.h
  * ila: fix formatting of help message
  * ila: support for configuring identifier and hook types
  * ila: support to configure checksum neutral-map-auto
  * include: add TCP fastopen option
  * include: qdisc offload defines
  * include: update ethernet headers
  * ip fou: pass family attribute as u8
  * ip/ipvlan: enhance ability to add mode flags to existing modes
  * ip/tunnel: Abstract tunnel encapsulation options printing
  * ip/tunnel: Correct and unify ttl/hoplimit printing
  * ip/tunnel: Document "external" parameter
  * ip/tunnel: No need to free answer after rtnl_talk() on error
  * ip/tunnel: Simplify and unify tos printing
  * ip/tunnel: Unify setup and accept zero address for
    local/remote endpoints
  * ip/tunnel: Use get_addr() instead of get_prefix() for
    local/remote endpoints
  * ip/tunnel: Use print_0xhex() instead of print_string()
  * ip/tunnel: Use tnl_parse_key() to parse tunnel key
  * ip6/tunnel: Fix tclass output
  * ip6/tunnel: Unify encap_limit printing
  * ip6/tunnel: Unify flowlabel printing
  * ip6/tunnel: Unify tclass printing
  * ip6_gre: add support for ERSPAN tunnel
  * ip6tnl/tunnel: Do not print obscure flowinfo
  * ip6tnl/tunnel: Output hoplimit before encapsulation limit
  * ip: add fastopen_no_cookie option to ip route
  * ip: add vxcan to help text
  * ip: add vxcan/veth to ip-link man page
  * ip: address: fix stats64 JSON object name
  * ip: bridge_slave: add neigh_suppress to the type help and
  * ip: bridge_slave: add support for per-port group_fwd_mask
  * ip: gre: fix IFLA_GRE_LINK attribute sizing
  * ip: link_ip6tnl.c/ip6tunnel.c: Support
    IP6_TNL_F_ALLOW_LOCAL_REMOTE flag
  * ip: mroute: Print offload indication
  * ip: validate vlan value for vlan info
  * ipaddress: Make sure VF min/max rate API is supported before
    using it
  * ipaddress: Use family_name() for better code reuse
  * iplink: Fix "alias" parameter length calculations
  * iplink: Improve index parameter handling
  * iplink: Kill redundant network device name checks
  * iplink: Process "alias" parameter correctly
  * iplink: Use ll_index_to_name() instead of if_indextoname()
  * iplink: Use ll_name_to_index() instead of if_nametoindex()
  * iplink: Validate minimum tx rate is less than maximum tx rate
  * iplink: bridge: support bridge port vlan_tunnel attribute
  * iplink: communicate ifindex for xdp offload
  * iplink: new option to set neigh suppression on a bridge port
  * iproute2: fixes to compile on some systems.
  * iproute: "list/flush/save default" selected all of the routes
  * iproute: list/flush/save filter also by metric
  * iproute: source code cleanup
  * iptnl/ip6tnl: Unify ttl/hoplimit parsing routines
  * lib/libnetlink: re malloc buff if size is not enough
  * lib/libnetlink: update rtnl_talk to support malloc buff at
    run time
  * libnetlink: Handle extack messages for non-error case
  * link_gre6: Detect invalid encaplimit values
  * link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote
    endpoints
  * link_iptnl: Kill code duplication
  * link_iptnl: Open "encap" JSON object
  * link_iptnl: Print tunnel mode
  * link_vti6: Always add local/remote endpoint attributes
  * man: Add initial manpage for tc-cbs(8)
  * man: Clarify idleslope calculation for tc-cbs
  * man: Document the meaning of zero in min/max_tx_rate
    parameters
  * man: add -json option to tc manpage
  * man: add more keywords to ip.8 short description
  * man: document ip fou show
  * man: document ip route get mark
  * man: document ip xfrm policy nosock
  * man: fix small formatting errors
  * man: ip-address: document 15-char limit for LABEL
  * man: routel/routef: don't mention filesystem paths
  * man: tc-csum.8: Fix inconsistency in example description
  * man: tc-flower: add explanation for hw_tc option
  * man: tc-mqprio: add documentation for new offload options
  * mark shell scripts +x
  * netem: use fixed rather than floating point for scaling
  * qdisc: print offload indication
  * ss: Buffer raw fields first, then render them as a table
  * ss: Implement automatic column width calculation
  * ss: Introduce columns lightweight abstraction
  * ss: Replace printf() calls for "main" output by calls to helper
  * ss: add AF_VSOCK support
  * ss: add missing path MTU parameter
  * ss: allow AF_FAMILY constants >32
  * ss: fix NULL pointer access when parsing unix sockets with
    oldformat
  * ss: fix crash when skipping disabled header field
  * ss: fix crash with invalid command input file
  * ss: print tcpi_rcv_ssthresh
  * ss: remove duplicate assignment
  * tc/lexer: let quotes actually start strings
  * tc/mqprio: Offload mode and shaper options in mqprio
  * tc: Add support for the CBS qdisc
  * tc: B.W limits can now be specified in %.
  * tc: Fix filter protocol output
  * tc: Optimize gact action lookup
  * tc: bash-completion: add missing 'classid' keyword
  * tc: break long lines
  * tc: fix command "tc actions del" hang issue
  * tc: fix json array closing
  * tc: fix second printing of requeues
  * tc: flower remove unused variable
  * tc: flower: support for matching MPLS labels
  * tc: jsonify actions core, filter core, flower filter, fq_codel
    qdisc, gact action, htb qdisc, matchall filter, mirred action,
    qdisc core, stats2, and vlan action.
  * tc: move action cookie print out of the stats if
  * tc: remove action cookie len from printout
  * tc: remove no longer relevant README
  * tc: replace magic constant 16 with #define
  * tc: util: Don't call NEXT_ARG_FWD() in __parse_action_control()
  * tc_filter: resolve device name before parsing filter
  * tc_util: Drop needless pointer check
  * tc_util: Silence spurious compiler warning
  * tests: make sure rand_dev suffix has 6 chars
  * tests: read limited amount from /dev/urandom
  * tipc: change family attribute from u32 to u16
  * tunnel: Add space between encap-dport and encap-sport in
    non-JSON output
  * tunnel: Return constant string without copying it
  * uapi: add include linux/vm_sockets_diag.h
  * utils: fix makeargs stack overflow
  * utils: ll_addr: Handle ARPHRD_IP6GRE in ll_addr_n2a()
  * vti/tunnel: Unify ikey/okey printing
  * vti/vti6: Minor improvements
  * vti6/tunnel: Unify and simplify link type help functions
  * vxcan,veth: Forbid "type" for peer device
  * vxlan: Make id optional when modifying a link
  * {f, m}_bpf: don't allow specifying multiple bpf programs
- drop man-fix-documentation-references-in-manual-pages.patch
  * debian specific paths were removed altogether
- partial cleanup with spec-cleaner
- use https in urls

OBS-URL: https://build.opensuse.org/request/show/573557
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=152
This commit is contained in:
Jan Engelhardt 2018-02-07 23:11:24 +00:00 committed by Git OBS Bridge
parent 0cc18514eb
commit 9c9685ee5f
7 changed files with 191 additions and 70 deletions

Binary file not shown.

View File

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

BIN
iproute2-4.15.0.tar.sign Normal file

Binary file not shown.

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

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

View File

@ -1,3 +1,178 @@
-------------------------------------------------------------------
Wed Feb 7 02:17:21 UTC 2018 - avindra@opensuse.org
- Update to new upstream release 4.15.0
* Add "show" subcommand to "ip fou"
* Restore --no-print-directory option for silent builds
* SPDX license identifiers
* Show 'external' link mode in output
* Update kernel headers with new SPDK identifier
* bpf: allocate opcode table in struct bpf_cfg_in
* bpf: allow loading programs for a specific ifindex
* bpf: expose bpf_parse_common() and bpf_load_common()
* bpf: initialize the verifier log
* bpf: keep parsed program mode in struct bpf_cfg_in
* bpf: pass program type in struct bpf_cfg_in
* bpf: rename bpf_parse_common() to bpf_parse_and_load_common()
* bpf: split parse from program loading
* bpf: update header file
* bridge: fdb: print NDA_SRC_VNI if available
* bridge: vlan: support for per vlan tunnel info
* devlink, rdma, tipc: properly define TARGETS without HAVE_MNL
* devlink: Ignore unknown attributes
* drop unneeded include of syslog.h
* f_bpf: communicate ifindex for eBPF offload
* flower: Represent HW traffic classes as classid values
* gre,ip6tnl/tunnel: Fix noencap- support
* gre/tunnel: Print erspan_index using print_uint()
* gre6/tunnel: Do not submit garbage in flowinfo
* gre6/tunnel: Output flowlabel after tclass
* gre: Fix ttl inherit option
* ifcfg/rtpr: convert to POSIX shell
* ila: Fix reporting of ILA locators and locator match
* ila: added csum neutral support to ipila
* ila: create ila_common.h
* ila: fix formatting of help message
* ila: support for configuring identifier and hook types
* ila: support to configure checksum neutral-map-auto
* include: add TCP fastopen option
* include: qdisc offload defines
* include: update ethernet headers
* ip fou: pass family attribute as u8
* ip/ipvlan: enhance ability to add mode flags to existing modes
* ip/tunnel: Abstract tunnel encapsulation options printing
* ip/tunnel: Correct and unify ttl/hoplimit printing
* ip/tunnel: Document "external" parameter
* ip/tunnel: No need to free answer after rtnl_talk() on error
* ip/tunnel: Simplify and unify tos printing
* ip/tunnel: Unify setup and accept zero address for
local/remote endpoints
* ip/tunnel: Use get_addr() instead of get_prefix() for
local/remote endpoints
* ip/tunnel: Use print_0xhex() instead of print_string()
* ip/tunnel: Use tnl_parse_key() to parse tunnel key
* ip6/tunnel: Fix tclass output
* ip6/tunnel: Unify encap_limit printing
* ip6/tunnel: Unify flowlabel printing
* ip6/tunnel: Unify tclass printing
* ip6_gre: add support for ERSPAN tunnel
* ip6tnl/tunnel: Do not print obscure flowinfo
* ip6tnl/tunnel: Output hoplimit before encapsulation limit
* ip: add fastopen_no_cookie option to ip route
* ip: add vxcan to help text
* ip: add vxcan/veth to ip-link man page
* ip: address: fix stats64 JSON object name
* ip: bridge_slave: add neigh_suppress to the type help and
* ip: bridge_slave: add support for per-port group_fwd_mask
* ip: gre: fix IFLA_GRE_LINK attribute sizing
* ip: link_ip6tnl.c/ip6tunnel.c: Support
IP6_TNL_F_ALLOW_LOCAL_REMOTE flag
* ip: mroute: Print offload indication
* ip: validate vlan value for vlan info
* ipaddress: Make sure VF min/max rate API is supported before
using it
* ipaddress: Use family_name() for better code reuse
* iplink: Fix "alias" parameter length calculations
* iplink: Improve index parameter handling
* iplink: Kill redundant network device name checks
* iplink: Process "alias" parameter correctly
* iplink: Use ll_index_to_name() instead of if_indextoname()
* iplink: Use ll_name_to_index() instead of if_nametoindex()
* iplink: Validate minimum tx rate is less than maximum tx rate
* iplink: bridge: support bridge port vlan_tunnel attribute
* iplink: communicate ifindex for xdp offload
* iplink: new option to set neigh suppression on a bridge port
* iproute2: fixes to compile on some systems.
* iproute: "list/flush/save default" selected all of the routes
* iproute: list/flush/save filter also by metric
* iproute: source code cleanup
* iptnl/ip6tnl: Unify ttl/hoplimit parsing routines
* lib/libnetlink: re malloc buff if size is not enough
* lib/libnetlink: update rtnl_talk to support malloc buff at
run time
* libnetlink: Handle extack messages for non-error case
* link_gre6: Detect invalid encaplimit values
* link_ip6tnl: Use IN6ADDR_ANY_INIT to initialize local/remote
endpoints
* link_iptnl: Kill code duplication
* link_iptnl: Open "encap" JSON object
* link_iptnl: Print tunnel mode
* link_vti6: Always add local/remote endpoint attributes
* man: Add initial manpage for tc-cbs(8)
* man: Clarify idleslope calculation for tc-cbs
* man: Document the meaning of zero in min/max_tx_rate
parameters
* man: add -json option to tc manpage
* man: add more keywords to ip.8 short description
* man: document ip fou show
* man: document ip route get mark
* man: document ip xfrm policy nosock
* man: fix small formatting errors
* man: ip-address: document 15-char limit for LABEL
* man: routel/routef: don't mention filesystem paths
* man: tc-csum.8: Fix inconsistency in example description
* man: tc-flower: add explanation for hw_tc option
* man: tc-mqprio: add documentation for new offload options
* mark shell scripts +x
* netem: use fixed rather than floating point for scaling
* qdisc: print offload indication
* ss: Buffer raw fields first, then render them as a table
* ss: Implement automatic column width calculation
* ss: Introduce columns lightweight abstraction
* ss: Replace printf() calls for "main" output by calls to helper
* ss: add AF_VSOCK support
* ss: add missing path MTU parameter
* ss: allow AF_FAMILY constants >32
* ss: fix NULL pointer access when parsing unix sockets with
oldformat
* ss: fix crash when skipping disabled header field
* ss: fix crash with invalid command input file
* ss: print tcpi_rcv_ssthresh
* ss: remove duplicate assignment
* tc/lexer: let quotes actually start strings
* tc/mqprio: Offload mode and shaper options in mqprio
* tc: Add support for the CBS qdisc
* tc: B.W limits can now be specified in %.
* tc: Fix filter protocol output
* tc: Optimize gact action lookup
* tc: bash-completion: add missing 'classid' keyword
* tc: break long lines
* tc: fix command "tc actions del" hang issue
* tc: fix json array closing
* tc: fix second printing of requeues
* tc: flower remove unused variable
* tc: flower: support for matching MPLS labels
* tc: jsonify actions core, filter core, flower filter, fq_codel
qdisc, gact action, htb qdisc, matchall filter, mirred action,
qdisc core, stats2, and vlan action.
* tc: move action cookie print out of the stats if
* tc: remove action cookie len from printout
* tc: remove no longer relevant README
* tc: replace magic constant 16 with #define
* tc: util: Don't call NEXT_ARG_FWD() in __parse_action_control()
* tc_filter: resolve device name before parsing filter
* tc_util: Drop needless pointer check
* tc_util: Silence spurious compiler warning
* tests: make sure rand_dev suffix has 6 chars
* tests: read limited amount from /dev/urandom
* tipc: change family attribute from u32 to u16
* tunnel: Add space between encap-dport and encap-sport in
non-JSON output
* tunnel: Return constant string without copying it
* uapi: add include linux/vm_sockets_diag.h
* utils: fix makeargs stack overflow
* utils: ll_addr: Handle ARPHRD_IP6GRE in ll_addr_n2a()
* vti/tunnel: Unify ikey/okey printing
* vti/vti6: Minor improvements
* vti6/tunnel: Unify and simplify link type help functions
* vxcan,veth: Forbid "type" for peer device
* vxlan: Make id optional when modifying a link
* {f, m}_bpf: don't allow specifying multiple bpf programs
- drop man-fix-documentation-references-in-manual-pages.patch
* debian specific paths were removed altogether
- partial cleanup with spec-cleaner
- use https in urls
-------------------------------------------------------------------
Sun Dec 10 23:47:36 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package iproute2
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX 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,29 +17,27 @@
Name: iproute2
Version: 4.14.1
Version: 4.15.0
Release: 0
%define rversion 4.14.1
%define rversion 4.15.0
Summary: Linux network configuration utilities
License: GPL-2.0
Group: Productivity/Networking/Routing
Url: http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
Url: https://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2
# Using GPL-2.0 instead of GPL-2.0+ because of tc_skbedit.h and tc/q_multiq.c
#DL-URL: http://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
Source: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.xz
Source2: http://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.sign
Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.xz
Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.sign
Source9: %name.keyring
Patch1: adjust-installation-directories-for-openSUSE-SLE.patch
Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch
Patch3: add-explicit-typecast-to-avoid-gcc-warning.patch
Patch4: xfrm-support-displaying-transformations-used-for-Mob.patch
Patch5: man-fix-documentation-references-in-manual-pages.patch
Patch6: split-link-and-compile-steps-for-binaries.patch
Patch7: examples-fix-bashisms-in-example-script.patch
Patch102: Revert-emp-fix-warning-on-deprecated-bison-directive.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison
BuildRequires: db-devel
BuildRequires: fdupes
@ -84,7 +82,7 @@ bash command line completion support for iproute.
%prep
%setup -qn %name-%rversion
%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 6 -P 7 -p1
%patch -P 1 -P 2 -P 3 -P 4 -P 6 -P 7 -p1
%if 0%{?sles_version} == 11
%patch -P 102 -p1
%endif
@ -95,14 +93,16 @@ find . -name *.orig -delete
# 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 -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
make %{?_smp_mflags} CCOPTS="-D_GNU_SOURCE %optflags -Wstrict-prototypes -Wno-error -fPIC -DXT_LIB_DIR=\\\"$xt_libdir\\\" $xt_cflags"
%install
b="%buildroot"
install -d "$b"/{etc/,sbin/,usr/{bin,sbin,share/man/man{3,8}}}
install -d "$b"/{/usr/include,%_libdir,/usr/share}
make install DESTDIR="$b" LIBDIR="%_libdir" \
MODDESTDIR="$b/%_libdir/tc" DOCDIR="%_docdir/%name"
%make_install \
MODDESTDIR="$b/%_libdir/tc" \
DOCDIR="%_docdir/%name"
# We have m_xt
rm -f "$b/%_libdir/tc/m_ipt.so"
install -pm0644 "lib/libnetlink.a" "$b/%_libdir/"
@ -122,7 +122,6 @@ cp -an README* COPYING "$b/%_docdir/%name/"
%fdupes %buildroot/%_prefix
%files
%defattr(-,root,root)
%_bindir/lnstat
%_bindir/nstat
%_bindir/routef
@ -142,13 +141,11 @@ cp -an README* COPYING "$b/%_docdir/%name/"
%_docdir/%name/
%files -n libnetlink-devel
%defattr(-,root,root)
%_includedir/*
%_mandir/man3/libnetlink*
%_libdir/lib*
%files bash-completion
%defattr(-,root,root)
%_datadir/bash-completion/
%changelog

View File

@ -1,51 +0,0 @@
From: Michal Kubecek <mkubecek@suse.cz>
Date: Mon, 19 Oct 2015 14:11:00 +0200
Subject: man: fix documentation references in manual pages
Patch-mainline: Never, SUSE specific
References: bsc#949063
Some manual pages refer to Debian specific paths and package names.
Replace them by SUSE specific ones.
---
man/man8/lnstat.8 | 2 +-
man/man8/ss.8 | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/man8/lnstat.8 b/man/man8/lnstat.8
index acd5f4a20522..738acd545f6a 100644
--- a/man/man8/lnstat.8
+++ b/man/man8/lnstat.8
@@ -255,7 +255,7 @@ route cache removal, therefore always zero.
.SH SEE ALSO
.BR ip (8),
-and /usr/share/doc/iproute-doc/README.lnstat (package iproute-doc on Debian)
+and /usr/share/doc/packages/iproute2/README.lnstat
.br
.SH AUTHOR
lnstat was written by Harald Welte <laforge@gnumonks.org>.
diff --git a/man/man8/ss.8 b/man/man8/ss.8
index 81de69de8042..092570884cf6 100644
--- a/man/man8/ss.8
+++ b/man/man8/ss.8
@@ -142,7 +142,7 @@ Read filter information from FILE.
Each line of FILE is interpreted like single command line option. If FILE is - stdin is used.
.TP
.B FILTER := [ state STATE-FILTER ] [ EXPRESSION ]
-Please take a look at the official documentation (Debian package iproute-doc) for details regarding filters.
+Please take a look at the official documentation (package iproute2-doc) for details regarding filters.
.SH STATE-FILTER
@@ -197,7 +197,7 @@ Find all local processes connected to X server.
List all the tcp sockets in state FIN-WAIT-1 for our apache to network 193.233.7/24 and look at their timers.
.SH SEE ALSO
.BR ip (8),
-.BR /usr/share/doc/iproute-doc/ss.html " (package iproute­doc)",
+.BR /usr/share/doc/packages/iproute2/ss.* " (package iproute2-doc)"
.br
.BR RFC " 793 "
- https://tools.ietf.org/rfc/rfc793.txt (TCP states)
--
2.14.1