diff --git a/net-tools-1.60-netstat-I-fix.patch b/net-tools-1.60-netstat-I-fix.patch new file mode 100644 index 0000000..ab89201 --- /dev/null +++ b/net-tools-1.60-netstat-I-fix.patch @@ -0,0 +1,10 @@ +--- net-tools-1.60/netstat.c.old 2006-10-02 12:03:49.000000000 +0200 ++++ net-tools-1.60/netstat.c 2006-10-02 12:02:12.000000000 +0200 +@@ -2233,6 +2233,7 @@ int main + break; + case 'I': + if (optarg && strcmp(optarg, "(null)")) ++ if (optarg[0] == '=') optarg++; + flag_int_name = strdup(optarg); + flag_int++; + break; diff --git a/net-tools.spec b/net-tools.spec index b29f137..7024a49 100644 --- a/net-tools.spec +++ b/net-tools.spec @@ -3,7 +3,7 @@ Summary: Basic networking tools. Name: net-tools Version: 1.60 -Release: 73 +Release: 74%{?dist} License: GPL Group: System Environment/Base Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 @@ -68,6 +68,7 @@ Patch53: net-tools-1.60-arp_man.patch Patch54: net-tools-1.60-ifconfig-long-iface-crasher.patch Patch55: net-tools-1.60-netdevice.patch Patch56: net-tools-1.60-skip.patch +Patch57: net-tools-1.60-netstat-I-fix.patch BuildRoot: %{_tmppath}/%{name}-root Requires(post,preun): chkconfig @@ -133,6 +134,7 @@ ifconfig, netstat, route, and others. %patch54 -p1 -b .long_iface %patch55 -p1 -b .netdevice %patch56 -p1 -b .skip +%patch57 -p1 cp %SOURCE2 ./config.h cp %SOURCE3 ./config.make @@ -244,6 +246,10 @@ exit 0 %{_sysconfdir}/rc.d/init.d/netplugd %changelog +* Mon Oct 2 2006 Radek Vokal - 1.60-74 +- fix -I option for nestat, works as -I=eth0 again. +- add dist tag + * Mon Aug 7 2006 Radek Vokal - 1.60-73 - directory entries . and .. should be skipped