Home | History | Annotate | Download | only in stdhosts
History log of /src/usr.sbin/ypserv/stdhosts/stdhosts.c
RevisionDateAuthorComments
 1.20  30-Aug-2011  joerg static + __dead
 1.19  20-Oct-2009  snj Follow upstream's lead and remove third and fourth clauses (except on
from usr.sbin/mopd/common/pf.c, where only the ad clause is removed,
because it has a shared UCB copyright) on Mats O Jansson's files.

thorpej OK'd usr.sbin/rpc.yppasswdd/yppasswdd_mkpw.c, where he shares
copyright.
 1.18  19-Apr-2009  lukem Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
 1.17  30-Oct-2004  dsl branches: 1.17.34;
Add (unsigned char) cast to ctype functions
 1.16  30-Nov-2002  lukem tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
 1.15  06-Jul-2002  wiz de-__P(), ANSIfy.
 1.14  18-Aug-2001  ad getopt() returns -1 on error, not EOF.
 1.13  19-Feb-2001  cgd convert to use getprogname()
 1.12  30-Jul-2000  itojun with -n, permit non-IPv4 address in the output.
option name synchronized with solaris 8.
 1.11  25-Jul-1999  lukem branches: 1.11.8;
fix up lossage WRT free()ing invalid pointers.
noted in [bin/8064]
 1.10  17-Jan-1999  lukem * don't print out entries that couldn't be parsed
* don't look for comments; fparseln strips them
 1.9  11-Jun-1998  kleink Fix LP64 botches introduced in last commit.
 1.8  08-Jun-1998  lukem convert from in-house read_line to fparseln()
 1.7  13-Nov-1997  thorpej Fix int vs. size_t lossage.
 1.6  01-Nov-1997  lukem * rewrite read_line(), partially based on get_line in netgroup_mkdb.c:
- use fgetln() instead of fgets()
- store info in internal buffer
- fix \\ support
- count line numbers internally, so \\ lines don't mess up count
* ypdb_store():
- ensure that the length of key or val doesn't exceed YPMAXRECORD
* makedbm, mknetid, revnetgroup, stdethers, stdhosts:
- improve error handling
- take advantage of rewritten read_line(), and cleanup line parsing
- don't print trailing ` ' for key/val pairs with an empty val
* Makefile.yp:
- fix up building of ypservers (from Chuck Cranor)
* ypinit.sh:
- remove leading spaces in variable assignment (from Chuck Cranor)
 1.5  13-Oct-1997  lukem branches: 1.5.2;
add rcsid
 1.4  07-Oct-1997  lukem fix & simplify test for skippable lines
 1.3  18-Jul-1997  thorpej Fix compiler warnings (and an awful lot of annoying little bugs).
 1.2  24-Nov-1996  chuck include all host names for an address rather than just the first one
 1.1  09-Aug-1996  thorpej branches: 1.1.1;
Initial revision
 1.1.1.1  09-Aug-1996  thorpej A ypserv implementation, originally written by Mats O Jansson, with
some changes by me, including misc. cleanup, minor bug fixes, and
brand-new access control list code.
 1.5.2.1  28-Nov-1997  mellon Pull rev 1.6 and 1.7 up from trunk (lkuem)
 1.11.8.1  19-Sep-2000  itojun pullup (approved by releng-1-5)
>with -n, permit non-IPv4 address in the output.
>option name synchronized with solaris 8.

this makes stdhosts(8) to ignore non-IPv4 address by default. stdhosts -n
will allow other address types.
this is to be friendly with /etc/hosts with IPv6 mapping, and to make
hosts.{byname,byaddr} IPv4 only (solaris8 nis practice).

full IPv6 NIS database support (like ipnodes.{byname,byaddr} support
in Makefile.yp) is available in netbsd-current, however, it needs to pass
interop test before going into 1.5.

stdhosts.8 1.5 -> 1.6
stdhosts.c 1.11 -> 1.12
 1.17.34.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed