From 9c9685ee5fb0bd84673d55bf7ef29e17f28480a33ea599064846b68b02d36ad5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 7 Feb 2018 23:11:24 +0000 Subject: [PATCH 1/2] 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 --- iproute2-4.14.1.tar.sign | Bin 566 -> 0 bytes iproute2-4.14.1.tar.xz | 3 - iproute2-4.15.0.tar.sign | Bin 0 -> 566 bytes iproute2-4.15.0.tar.xz | 3 + iproute2.changes | 175 ++++++++++++++++++ iproute2.spec | 29 ++- ...mentation-references-in-manual-pages.patch | 51 ----- 7 files changed, 191 insertions(+), 70 deletions(-) delete mode 100644 iproute2-4.14.1.tar.sign delete mode 100644 iproute2-4.14.1.tar.xz create mode 100644 iproute2-4.15.0.tar.sign create mode 100644 iproute2-4.15.0.tar.xz delete mode 100644 man-fix-documentation-references-in-manual-pages.patch diff --git a/iproute2-4.14.1.tar.sign b/iproute2-4.14.1.tar.sign deleted file mode 100644 index 2008e71cff0f2e3385fc4a02e3febf42775265d5bb8e9c23faabae3ae0fede56..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SEvc79j+mZ^K2fTj%FyxIB-5r+;9T&E$Rs0$K^*^#BS95P+wD zV3p0}ey7|J0Lx`AaYZm-n5qE%lMc2$R-v~kO)P1MAG1ZUarwX>Ds!@c%z49C7%8C+ z?#bzRPM-+Rw7@O#cxX&kKKk=e4(`p=%YbcdE8im*bLfi<^@TZ9(*oyRioz7gVvK<0Lr z>aLSWgL4;ZjMcpvQxng01`QB3Ls3=(-MfwjjAMpLojqK4X^^bgW_jHMx&w`0Ww)%0 z`DrH=^Qy0?3MMI-`{5uelg{-w&I$4zPG|UJPavgx-E9gC23zWdxr1v((UjrCs?M%+ zQQ-YJY-SpC|Be`R$;>u!03u|7D|3k5>mOI__HuLe&Qek+;$HslB+W%-L_Q#c};G(Em|0AIL_G<*O}CE_?z>E4r- zQsqT26$n$=8FnJa7y$37Z`dZ@`5a{*QNs<|Q0V-hWl^m4dUqHB!yK0DeArp0;f{E2 zK{st=*G-rF<|@+fYOUcTz+wz4o(Qa{SC#<=l_`-C#le_t<-RqP*6kWz;lI2O87>}r z<2Wi=p{|8K#_RSx6CN(GOPp3_YI>$8D?Dj!LQe4eqEx>hM@xK|8T+Vy!L>)g5ybE+ z!_fcV#s&j!-ELF9X?uB-A4~;FE-xT1h_PoHk8EZ^C9o)y#%-76EK@zvEX~+eHVaWd2;BBaM^1A1xEMuU>!Gd4Q=r?QSGzpj z5YT5!?1XAXF;J{NS28jwf%Kh0#x$QOoH6vfpWj6iI_qu$hT%t@$KLh0+C6ccfrhm8 zm<{9V@^pyoTZ8fZXGA#nN_~#fu(6)WH!FkHEK|A77?5<{lvdJT4g~<9!#5$} z@mbu95Yk8legz#vMJ$73oY7uO4T5#%v*7lO;thBZxAxV@LUwn@oUHNe8J!MWyVeAQ EKu3!Yh5!Hn literal 0 HcmV?d00001 diff --git a/iproute2-4.15.0.tar.xz b/iproute2-4.15.0.tar.xz new file mode 100644 index 0000000..4b6a597 --- /dev/null +++ b/iproute2-4.15.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48d4616a99d7b609b7b795c0ae8ec57099fb0271ed89253e8772c02327798355 +size 648836 diff --git a/iproute2.changes b/iproute2.changes index 62e9fe5..a34858a 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -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 diff --git a/iproute2.spec b/iproute2.spec index 1fa03ad..39fd439 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -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 diff --git a/man-fix-documentation-references-in-manual-pages.patch b/man-fix-documentation-references-in-manual-pages.patch deleted file mode 100644 index 489c51d..0000000 --- a/man-fix-documentation-references-in-manual-pages.patch +++ /dev/null @@ -1,51 +0,0 @@ -From: Michal Kubecek -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 . -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 - From 722afb80172650cdd84965cdb34fa77f6ad5809ecaa1f5a131d3a6c5c84fdca9 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 7 Feb 2018 23:19:14 +0000 Subject: [PATCH 2/2] opensuse changelog is not a git log OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=153 --- iproute2.changes | 145 +---------------------------------------------- 1 file changed, 1 insertion(+), 144 deletions(-) diff --git a/iproute2.changes b/iproute2.changes index a34858a..ab3c72c 100644 --- a/iproute2.changes +++ b/iproute2.changes @@ -3,170 +3,27 @@ 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 + * tc: bandwith limits can now be specified in %. * {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