From 2cefdcfd0663f8fd95369b16943e4150f083f9a4 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 06 2019 10:53:02 +0000 Subject: import net-tools-2.0-0.25.20131004git.el7 --- diff --git a/SOURCES/net-tools-route-inet6-output.patch b/SOURCES/net-tools-route-inet6-output.patch new file mode 100644 index 0000000..ef20b03 --- /dev/null +++ b/SOURCES/net-tools-route-inet6-output.patch @@ -0,0 +1,10 @@ +--- a/lib/inet6_gr.c ++++ b/lib/inet6_gr.c +@@ -146,7 +146,7 @@ + strcat(flags, "f"); + + /* Print the info. */ +- printf("%-30s %-26s %-4s %-3d %-1d%6d %s\n", ++ printf("%-30s %-26s %-4s %-3d %-1d %6d %s\n", + addr6, naddr6, flags, metric, refcnt, use, iface); + } diff --git a/SPECS/net-tools.spec b/SPECS/net-tools.spec index d8497ee..430467a 100644 --- a/SPECS/net-tools.spec +++ b/SPECS/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools Name: net-tools Version: 2.0 -Release: 0.24.%{checkout}%{?dist} +Release: 0.25.%{checkout}%{?dist} License: GPLv2+ Group: System Environment/Base URL: http://sourceforge.net/projects/net-tools/ @@ -68,6 +68,9 @@ Patch24: net-tools-netstat-sctp-man.patch # output of interface names was restricted to 8-10 characters max Patch25: net-tools-interface-name-len.patch +# output of route -A inet6 is missing a space +Patch26: net-tools-route-inet6-output.patch + BuildRequires: gettext, libselinux BuildRequires: libselinux-devel BuildRequires: systemd-units @@ -106,6 +109,7 @@ cp %SOURCE8 ./man/en_US %patch23 -p1 -b .round-EiB %patch24 -p1 -b .sctp-man %patch25 -p1 -b .interface-name-len +%patch26 -p1 -b .route-inet6-output touch ./config.h @@ -182,6 +186,9 @@ install -m 644 %{SOURCE9} %{buildroot}%{_unitdir} %attr(0644,root,root) %{_unitdir}/arp-ethers.service %changelog +* Mon Jan 07 2019 Michal Ruprich - 2.0-0.25.20131004git +- Resolves: #1632905 - The output of `route -A inet6` does not display properly when the 'Use' column output is over 6 digits + * Wed Apr 25 2018 Michal Ruprich - 2.0-0.24.20131004git - Resolves: #1568306 - netstat -i only shows 8 characters of Iface name