diff --git a/net-tools-1.60-stdo.patch b/net-tools-1.60-stdo.patch new file mode 100644 index 0000000..4c9d93e --- /dev/null +++ b/net-tools-1.60-stdo.patch @@ -0,0 +1,11 @@ +diff -urN net-tools-1.60/mii-tool.c net-tools-1.60.new/mii-tool.c +--- net-tools-1.60/mii-tool.c 2000-05-21 16:31:17.000000000 +0200 ++++ net-tools-1.60.new/mii-tool.c 2005-03-29 13:00:18.000000000 +0200 +@@ -302,6 +302,7 @@ + printf("\n link partner:%s", media_list(lkpar, 0)); + printf("\n"); + } ++ fflush(stdout); + return 0; + } + diff --git a/net-tools.spec b/net-tools.spec index 5aec7a0..b536ba8 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools. Name: net-tools Version: 1.60 -Release: 50 +Release: 51 License: GPL Group: System Environment/Base Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 @@ -51,6 +51,7 @@ Patch36: netplug-1.2.9-execshield.patch Patch37: net-tools-1.60-pie.patch Patch38: net-tools-1.60-ifaceopt.patch Patch39: net-tools-1.60-trim_iface.patch +Patch40: net-tools-1.60-stdo.patch BuildRoot: %{_tmppath}/%{name}-root Requires(post,preun): chkconfig @@ -98,6 +99,7 @@ ifconfig, netstat, route, and others. %patch37 -p1 -b .pie %patch38 -p1 -b .ifaceopt %patch39 -p1 -b .trim-iface +%patch40 -p1 -b .stdo cp %SOURCE2 ./config.h cp %SOURCE3 ./config.make @@ -205,6 +207,9 @@ exit 0 %{_sysconfdir}/rc.d/init.d/netplugd %changelog +* Tue Apr 05 2005 Radek Vokal 1.60-51 +- flush output in mii-tool (#152568) + * Wed Mar 30 2005 Radek Vokal 1.60-50 - added mii-diag tool - added newer ether-wake