auto-import changelog data from net-tools-1.60-35.src.rpm

Fri Sep 03 2004 Radek Vokal <rvokal@redhat.com> 1.60-35
- The return value of nameif was wrong (#129032) - patch from Fujitsu QA
This commit is contained in:
cvsdist 2004-09-09 09:14:13 +00:00
parent 25c1660f98
commit 10d380a096
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,28 @@
--- net-tools-1.60/nameif.c.return 2004-08-03 18:01:37.000000000 +0900
+++ net-tools-1.60/nameif.c 2004-08-03 18:03:37.000000000 +0900
@@ -27,6 +27,7 @@
const char *fname = default_conf;
int use_syslog;
int ctl_sk = -1;
+int frag = 0;
void err(char *msg)
{
@@ -288,13 +289,15 @@
while (clist) {
struct change *ch = clist;
clist = clist->next;
- if (!ch->found)
+ if (!ch->found){
warning(_("interface '%s' not found"), ch->ifname);
+ frag = 1;
+ }
free(ch);
}
if (use_syslog)
closelog();
- return 0;
+ return frag;
}

View File

@ -3,7 +3,7 @@
Summary: Basic networking tools. Summary: Basic networking tools.
Name: net-tools Name: net-tools
Version: 1.60 Version: 1.60
Release: 34 Release: 35
License: GPL License: GPL
Group: System Environment/Base Group: System Environment/Base
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2 Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
@ -31,6 +31,7 @@ Patch17: netplug-1.2.7-compiler.patch
Patch18: netplug-1.2.7-installopts.patch Patch18: netplug-1.2.7-installopts.patch
Patch19: net-tools-1.60-siunits.patch Patch19: net-tools-1.60-siunits.patch
Patch20: net-tools-1.60-trunc.patch Patch20: net-tools-1.60-trunc.patch
Patch21: net-tools-1.60-return.patch
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
Requires(post,preun): chkconfig Requires(post,preun): chkconfig
BuildRequires: gettext BuildRequires: gettext
@ -61,6 +62,7 @@ ifconfig, netstat, route, and others.
%patch18 -p1 -b .installopts %patch18 -p1 -b .installopts
%patch19 -p1 -b .siunits %patch19 -p1 -b .siunits
%patch20 -p1 -b .trunc %patch20 -p1 -b .trunc
%patch21 -p1 -b .return
cp %SOURCE2 ./config.h cp %SOURCE2 ./config.h
cp %SOURCE3 ./config.make cp %SOURCE3 ./config.make
@ -133,6 +135,9 @@ exit 0
%{_sysconfdir}/rc.d/init.d/netplugd %{_sysconfdir}/rc.d/init.d/netplugd
%changelog %changelog
* Fri Sep 03 2004 Radek Vokal <rvokal@redhat.com> 1.60-35
- The return value of nameif was wrong (#129032) - patch from Fujitsu QA
* Tue Aug 30 2004 Radek Vokal <rvokal@redhat.com> 1.60-34 * Tue Aug 30 2004 Radek Vokal <rvokal@redhat.com> 1.60-34
- Trunc patch added (#128359) - Trunc patch added (#128359)