Hello community, here is the log from the commit of package iproute2 for openSUSE:Factory checked in at 2019-12-11 11:59:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/iproute2 (Old) and /work/SRC/openSUSE:Factory/.iproute2.new.4691 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "iproute2" Wed Dec 11 11:59:23 2019 rev:105 rq:753328 version:5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/iproute2/iproute2.changes 2019-10-07 13:36:16.437131100 +0200 +++ /work/SRC/openSUSE:Factory/.iproute2.new.4691/iproute2.changes 2019-12-11 11:59:28.460882970 +0100 @@ -1,0 +2,28 @@ +Tue Dec 3 12:28:37 UTC 2019 - Michal Kubeček <[email protected]> + +- Update to new upstream release 5.4 + * devlink: increase number of supported options (32 -> 64) + * devlink: add trap set and show commands + * devlink: add trap group set and show commands + * devlink: add reset_dev_on_drv_probe param + * devlink: support unknown value for fw_load_policy + * devlink: support flash status monitoring + * devlink: add reload failed indication + * ip: netns: support dump of nsid conversion table + * ip: nexthop: support filtering by protocol for flush and list + * rdma: driver QP type string + * tc: introduce ct action + * tc: support 64-bit rate and peakrate + * tc: etf: support skip_sock_check + * tc: flower: add matching on conntrack info + * tc: taprio: support setting flags + * tc: taprio: support setting txtime_delay + * documentation improvements + * json output improvements + * drop outdated example scripts and README files +- drop (patched script dropped) + examples-fix-bashisms-in-example-script.patch +- ss-fix-end-of-line-printing-in-misc-ss.c.patch: + fix missing end of line at the end of ss output + +------------------------------------------------------------------- Old: ---- examples-fix-bashisms-in-example-script.patch iproute2-5.3.0.tar.sign iproute2-5.3.0.tar.xz New: ---- iproute2-5.4.0.tar.sign iproute2-5.4.0.tar.xz ss-fix-end-of-line-printing-in-misc-ss.c.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ iproute2.spec ++++++ --- /var/tmp/diff_new_pack.bqFVeD/_old 2019-12-11 11:59:30.136882265 +0100 +++ /var/tmp/diff_new_pack.bqFVeD/_new 2019-12-11 11:59:30.140882264 +0100 @@ -17,9 +17,9 @@ Name: iproute2 -Version: 5.3 +Version: 5.4 Release: 0 -%define rversion 5.3.0 +%define rversion 5.4.0 Summary: Linux network configuration utilities License: GPL-2.0-only Group: Productivity/Networking/Routing @@ -36,7 +36,7 @@ Patch3: add-explicit-typecast-to-avoid-gcc-warning.patch Patch4: xfrm-support-displaying-transformations-used-for-Mob.patch Patch6: split-link-and-compile-steps-for-binaries.patch -Patch7: examples-fix-bashisms-in-example-script.patch +Patch7: ss-fix-end-of-line-printing-in-misc-ss.c.patch Patch101: Revert-tc-ematch-fix-deprecated-yacc-warning.patch Patch102: Revert-emp-fix-warning-on-deprecated-bison-directive.patch Patch201: bpf-data-section-support-poc.patch @@ -112,8 +112,7 @@ install -d "$b"/{etc/,sbin/,usr/{bin,sbin,share/man/man{3,8}}} install -d "$b"/{/usr/include,%_libdir,/usr/share} %make_install \ - MODDESTDIR="$b/%_libdir/tc" \ - DOCDIR="%_docdir/%name" + MODDESTDIR="$b/%_libdir/tc" # We have m_xt rm -f "$b/%_libdir/tc/m_ipt.so" @@ -130,7 +129,8 @@ ln -sf "%_sbindir/$BIN" "$b/%_bindir/$BIN" done rm "$b/%_sbindir/ifcfg" -cp -an README* "$b/%_docdir/%name/" +mkdir -p "$b/%_docdir/%name" +cp -an README* examples/bpf "$b/%_docdir/%name/" %fdupes %buildroot/%_prefix %files ++++++ iproute2-5.3.0.tar.xz -> iproute2-5.4.0.tar.xz ++++++ ++++ 6889 lines of diff (skipped) ++++++ ss-fix-end-of-line-printing-in-misc-ss.c.patch ++++++ From: Brian Vazquez <[email protected]> Subject: ss: fix end-of-line printing in misc/ss.c Patch-mainline: Submitted - 20191126 - http://lkml.kernel.org/r/[email protected] References: none Before commit 5883c6eba517, function field_is_last() was incorrectly reporting which column was the last because it was missing COL_PROC and by purely coincidence it was correctly printing the end-of-line and moving to the first column since the very last field was empty, and end-of-line was added for the last non-empty token since it was seen as the last field. This commits correcrly prints the end-of-line for the last entrien in the ss command. Tested: diff <(./ss.old -nltp) <(misc/ss -nltp) 38c38 < LISTEN 0 128 [::1]:35417 [::]:* users:(("foo",pid=65254,fd=116)) \ No newline at end of file Cc: Hritik Vijay <[email protected]> Fixes: 5883c6eba517 ("ss: show header for --processes/-p") Signed-off-by: Brian Vazquez <[email protected]> --- misc/ss.c | 5 +++++ 1 file changed, 5 insertions(+) --- a/misc/ss.c +++ b/misc/ss.c @@ -1289,6 +1289,11 @@ static void render(void) token = buf_token_next(token); } + /* Deal with final end-of-line when the last non-empty field printed + * is not the last field. + */ + if (line_started) + printf("\n"); buf_free_all(); current_field = columns;
