History log of /freebsd-10.1-release/usr.bin/ypmatch/ypmatch.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

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

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


# 200462 13-Dec-2009 delphij

Revert most part of 200420 as requested, as more review and polish is
needed.


# 200420 11-Dec-2009 delphij

Remove unneeded header includes from usr.bin/ except contributed code.

Tested with: make universe


# 194968 25-Jun-2009 brian

Support shadow.byname and shadow.byuid maps, protecting them by
insisting on privileged port access.

Include /var/yp/Makefile.local if it exists and suggest using
it to override /var/yp/Makefile behaviour.

Approved by: re (kib)
MFC after: 3 weeks


# 146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


# 121550 26-Oct-2003 peter

Stop gcc warnings


# 90297 06-Feb-2002 des

Apply the following mechanical transformations in preparation for
ansification and constification:

s{\s+__P\((\(.*?\))\)}{$1}g;
s{\(\s+}{\(}g;
s{\s+\)}{\)}g;
s{\s+,}{,}g;
s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g;
s{return ([^\(].*?);}{return ($1);}g;
s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g;
s{\s+$}{\n};g

Also add $FreeBSD$ where needed.

MFC after: 1 week


# 87672 11-Dec-2001 markm

WARNS=2 fixes
__FBSDID() additions
some include file sorting.
Some Makefile sorting.

WARNS?=2 is not added to the Makefile, because it is going to be
default for usr.bin/
NO_WERROR is set because there are rpc*.h file issues.


# 78718 24-Jun-2001 dd

Include missing header files which define functions for which gcc has
builtins (e.g., exit, strcmp).


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 33645 20-Feb-1998 jb

Add #include <string.h> to get prototypes.


# 28894 29-Aug-1997 charnier

Use err(3). Add Xreferences. Delay the compute of default domain.
Obtained from: OpenBSD


# 27345 12-Jul-1997 peter

Add an alias for master.passwd -> master.passwd.byname to the list
of convenience map aliases.


# 26951 25-Jun-1997 tegge

Treat no match as a failure. This is the normal behaviour on SunOS.


# 7377 25-Mar-1995 wpaul

Submitted by: Sebastian Strollo <seb@erix.ericsson.se>

Use hosts.byname as the alias for 'hosts' instead of hosts.byaddr.


# 1930 07-Aug-1994 wollman

Move more YP user programs over.