History log of /freebsd-9.3-release/bin/hostname/
Revision Date Author Comments
267654 20-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


225736 23-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


194795 23-Jun-2009 delphij

Staticify internal routines.


165006 08-Dec-2006 kientzle

Style(9) fixes, thanks to Ruslan.


165004 08-Dec-2006 kientzle

Support the "-f" option by simply ignoring it.
This allows script compatibility with Linux, whose
"hostname" is the same as BSD "hostname -s".
With this change, "hostname -f" is the same on
both systems.

MFC after: 7 days


164913 05-Dec-2006 ru

Once upon a time, the hostname was being set in the /etc/netstart,
which can be called a "network initialization script", now that it
is set in /etc/rc.d/hostname, "network" sounds confusing, so remove
it.


145212 17-Apr-2005 keramida

There is no /etc/rc.network anymore.

Submitted by: Benjamin Rossen <b.rossen@onsnet.nu>
MFC after: 2 weeks


139969 10-Jan-2005 imp

/*- or .\"- or #- to begin license clauses.


131484 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


127958 06-Apr-2004 markm

Remove clause 3 from the UCB licenses.

OK'ed by: imp, core


114433 01-May-2003 obrien

Quiet warnings about copyright[].


99109 30-Jun-2002 obrien

Consistently use __FBSDID


94869 16-Apr-2002 charnier

Use `The .Nm utility'


91084 22-Feb-2002 markm

Fix warnings inspired by lint, a commercial lint and WARNS=4.


90110 02-Feb-2002 imp

o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.


87323 04-Dec-2001 obrien

Default to WARNS=2. Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike


79754 15-Jul-2001 dd

Remove whitespace at EOL.


79526 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


78624 22-Jun-2001 dd

WARNS= -> WARNS?=

Submitted by: Mike Barcroft <mike@q9media.com>


76877 20-May-2001 kris

Silence WARNS=2 and BDECFLAGS on i386 and alpha

MFC After: 1 week


68935 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


54982 22-Dec-1999 jhb

Mention the hostname variable in /etc/rc.conf since that is the most
common way of setting the hostname. The man page already mentioned that
the hostname is set by /etc/rc.network, so this just explains where
/etc/rc.network gets the hostname from.

PR: docs/14319
Submitted by: rwatson
Reviewed by: cmc


50471 27-Aug-1999 peter

$Id$ -> $FreeBSD$


36012 13-May-1998 charnier

Correct use of .Nm. Add rcsid.


26435 04-Jun-1997 charnier

Revert part of previous patch: Don't use __progname.


26403 03-Jun-1997 charnier

/etc/netstart -> /etc/rc.network
Use __progname in usage string. Change usage string to match the man page.


24348 28-Mar-1997 imp

compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.


22988 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


20415 14-Dec-1996 steve

Merge Lite2 mods, -Wall cleaning, and show usage if
incorrectly called.

Incorrect usage mod obtained from: NetBSD


14038 11-Feb-1996 mpp

Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.


3044 24-Sep-1994 dg

Added $Id$


1557 26-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1556,
which included commits to RCS files with non-trunk default branches.