- we don't have -n/--node option (#225554)

This commit is contained in:
Radek Vokál 2007-03-15 13:03:22 +00:00
parent bed148d9a0
commit 98ec964987
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,24 @@
--- net-tools-1.60/man/en_US/hostname.1.old 2007-03-15 13:45:55.000000000 +0100
+++ net-tools-1.60/man/en_US/hostname.1 2007-03-15 13:49:12.000000000 +0100
@@ -28,8 +28,6 @@
.RB [ \-y ]
.RB [ \-\-yp ]
.RB [ \-\-nis ]
-.RB [ \-n ]
-.RB [ \-\-node ]
.PP
.B hostname
--- net-tools-1.60/hostname.c.old 2007-03-15 13:45:55.000000000 +0100
+++ net-tools-1.60/hostname.c 2007-03-15 13:47:27.000000000 +0100
@@ -234,8 +234,9 @@
fprintf(stderr, _(" domainname [-v] {nisdomain|-F file} set NIS domainname (from file)\n"));
#if HAVE_AFDECnet
fprintf(stderr, _(" nodename [-v] {nodename|-F file} set DECnet node name (from file)\n"));
+ fprintf(stderr, _(" hostname [-n] DECnet domain name\n"));
#endif
- fprintf(stderr, _(" hostname [-v] [-d|-f|-s|-a|-i|-y|-n] display formatted name\n"));
+ fprintf(stderr, _(" hostname [-v] [-d|-f|-s|-a|-i|-y] display formatted name\n"));
fprintf(stderr, _(" hostname [-v] display hostname\n\n"));
fprintf(stderr, _(" hostname -V|--version|-h|--help print info and exit\n\n"));
fprintf(stderr, _(" dnsdomainname=hostname -d, {yp,nis,}domainname=hostname -y\n\n"));

View File

@ -3,7 +3,7 @@
Summary: Basic networking tools
Name: net-tools
Version: 1.60
Release: 79%{?dist}
Release: 80%{?dist}
License: GPL
Group: System Environment/Base
URL: http://www.tazenda.demon.co.uk/phil/net-tools/
@ -71,6 +71,7 @@ Patch57: net-tools-1.60-netstat-I-fix.patch
Patch58: net-tools-1.60-nameif_strncpy.patch
Patch59: net-tools-1.60-arp-unaligned-access.patch
Patch60: net-tools-1.60-sctp-quiet.patch
Patch61: net-tools-1.60-remove_node.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires(post): /sbin/chkconfig
@ -142,6 +143,7 @@ ifconfig, netstat, route, and others.
%patch58 -p1 -b .strncpy
%patch59 -p1 -b .arp-un-access
%patch60 -p1 -b .quiet
%patch61 -p1
cp %SOURCE2 ./config.h
cp %SOURCE3 ./config.make
@ -257,6 +259,9 @@ exit 0
%{_sysconfdir}/rc.d/init.d/netplugd
%changelog
* Thu Mar 15 2007 Radek Vokál <rvokal@redhat.com> - 1.60-80
- we don't have -n/--node option (#225554)
* Thu Feb 22 2007 Radek Vokál <rvokal@redhat.com> - 1.60-79
- quiet sctp (#229232)