summaryrefslogtreecommitdiffstats
path: root/usr.sbin/yp_mkdb
Commit message (Collapse)AuthorAgeFilesLines
* The .Nm utilitycharnier2002-07-141-8/+12
|
* Spell void * as void * rather than caddr_t. This is complicated by thedes2002-04-281-3/+3
| | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
* ANSIfy and remove some dead code.des2002-02-061-9/+8
| | | | Sponsored by: DARPA, NAI Labs
* Apply the following mechanical transformations in preparation fordes2002-02-061-5/+5
| | | | | | | | | | | | | | | | | 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
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-4/+3
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+2
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-2/+0
|
* Prepare for mdoc(7)NG.ru2000-12-271-0/+2
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-15/+30
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove invalid section name.charnier2000-01-231-5/+3
|
* Fix stupid disorder in previous commit. This was my own error, notsheldonh1999-09-011-1/+1
| | | | the mistake of the PR's originator.
* The -f option stole the -d option's option string colon in the getoptsheldonh1999-09-011-1/+1
| | | | | | | optstring. PR: 13521 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* $Id$ -> $FreeBSD$peter1999-08-283-3/+3
|
* Modify yp_mkdb so that it only checks for bogus '+' and '-' characterswpaul1999-08-222-8/+32
| | | | | | | | | | | in source input if the -f flag is used, and modify Makefile.yp to only use -f for the passwd, master.passwd and group maps. These should be the only ones for which the + and - characters have special meaning that make it important for us to avoid letting them into any of the map databases. In some cases (namely the automounter maps) we have to allow at least the - character through in order to create the map properly. This closes PR #8699.
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Remove `progname'.charnier1997-10-272-62/+58
|
* fix a couple typos...jmg1997-04-151-3/+3
| | | | Closer PR#3264
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-3/+3
| | | | posix standard on the topic.
* Revert $FreeBSD$ to $Id$peter1997-02-223-4/+4
|
* Check for, warn about and reject lines with empty keys. You can't havewpaul1997-02-091-0/+5
| | | | | a database entry with a null key. These are often caused by spurious blank lines in the map source file.
* Sort cross references.wosch1997-01-201-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-143-4/+4
| | | | | | | | 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.
* Add -b and -s flags for adding YP_INTERDOMAIN and YP_SECURE entries towpaul1996-10-242-11/+67
| | | | | | | | | | | | | map databases. Also document said flags in the man page. Adding YP_INTERDOMAIN to a map causes ypserv(8) to do a DNS lookup when a yp_match() on the map fails. (This affects only the hosts.by* maps; for all other maps it's ignored.) The YP_SECURE entry causes ypserv(8) to restrict access to the map so that only clients making requests from reserved ports can get at it. Our ypserv doesn't currently support these features so they're silently ignored for the moment, but this will change. :)
* Add -I${.CURDIR}/../../libexec/ypxfr to CFLAGS so we can see ypxfr_extern.h.wpaul1996-06-061-2/+2
|
* Update to pass new arguments now expected by the yp_dbwrite routines.wpaul1996-06-051-10/+10
| | | | No functional changes.
* This commit was generated by cvs2svn to compensate for changes in r15423,wpaul1996-04-283-0/+465
which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud