This commit is contained in:
Jiri Popelka 2011-12-24 09:21:52 +01:00
parent c5a0ceaf54
commit d9146a5448
2 changed files with 11 additions and 7 deletions

13
hostname-rh.patch Executable file → Normal file
View File

@ -1,6 +1,6 @@
diff -up hostname/hostname.1.rh hostname/hostname.1 diff -up hostname/hostname.1.rh hostname/hostname.1
--- hostname/hostname.1.rh 2010-01-15 13:05:22.000000000 +0100 --- hostname/hostname.1.rh 2011-12-23 11:06:18.000000000 +0100
+++ hostname/hostname.1 2010-02-01 21:52:35.000000000 +0100 +++ hostname/hostname.1 2011-12-24 09:19:03.000000000 +0100
@@ -98,6 +98,33 @@ complete FQDN of the system is returned @@ -98,6 +98,33 @@ complete FQDN of the system is returned
.B "THE FQDN" .B "THE FQDN"
below). below).
@ -66,19 +66,20 @@ diff -up hostname/hostname.1.rh hostname/hostname.1
.TP .TP
.I "\-y, \-\-yp, \-\-nis" .I "\-y, \-\-yp, \-\-nis"
Display the NIS domain name. If a parameter is given (or Display the NIS domain name. If a parameter is given (or
@@ -246,8 +273,7 @@ option in @@ -246,9 +273,7 @@ option in
.SH FILES .SH FILES
.B /etc/hosts .B /etc/hosts
-.B /etc/hostname -.B /etc/hostname
-This file should only contain the hostname and not the full FQDN. -Historically this file was supposed to only contain the hostname and not the
-full canonical FQDN. Nowadays most software is able to cope with a full FQDN here.
+.B /etc/sysconfig/network +.B /etc/sysconfig/network
.SH AUTHORS .SH AUTHORS
Peter Tobias, <tobias@et-inf.fho-emden.de> Peter Tobias, <tobias@et-inf.fho-emden.de>
.br .br
diff -up hostname/Makefile.rh hostname/Makefile diff -up hostname/Makefile.rh hostname/Makefile
--- hostname/Makefile.rh 2010-01-15 13:05:16.000000000 +0100 --- hostname/Makefile.rh 2010-11-16 14:13:21.000000000 +0100
+++ hostname/Makefile 2010-02-01 21:47:25.000000000 +0100 +++ hostname/Makefile 2011-12-24 09:17:16.000000000 +0100
@@ -7,26 +7,28 @@ OBJS=hostname.o @@ -7,26 +7,28 @@ OBJS=hostname.o
hostname: $(OBJS) hostname: $(OBJS)

View File

@ -1,6 +1,6 @@
Summary: Utility to set/show the host name or domain name Summary: Utility to set/show the host name or domain name
Name: hostname Name: hostname
Version: 3.07 Version: 3.08
Release: 1%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Base Group: System Environment/Base
@ -57,6 +57,9 @@ rm -rf %{buildroot}
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Sat Dec 24 2011 Jiri Popelka <jpopelka@redhat.com> - 3.08-1
- 3.08
* Fri Dec 23 2011 Jiri Popelka <jpopelka@redhat.com> - 3.07-1 * Fri Dec 23 2011 Jiri Popelka <jpopelka@redhat.com> - 3.07-1
- 3.07 - 3.07