aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/yp_mkdb
Commit message (Collapse)AuthorAgeFilesLines
* Fix stupid disorder in previous commit. This was my own error, notSheldon Hearn1999-09-011-1/+1
| | | | | | | the mistake of the PR's originator. Notes: svn path=/head/; revision=50746
* The -f option stole the -d option's option string colon in the getoptSheldon Hearn1999-09-011-1/+1
| | | | | | | | | | optstring. PR: 13521 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Notes: svn path=/head/; revision=50745
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Modify yp_mkdb so that it only checks for bogus '+' and '-' charactersBill Paul1999-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. Notes: svn path=/head/; revision=50159
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.Philippe Charnier1998-03-231-2/+2
| | | | Notes: svn path=/head/; revision=34809
* Remove `progname'.Philippe Charnier1997-10-272-62/+58
| | | | Notes: svn path=/head/; revision=30777
* fix a couple typos...John-Mark Gurney1997-04-151-3/+3
| | | | | | | Closer PR#3264 Notes: svn path=/head/; revision=24943
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-3/+3
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-223-4/+4
| | | | Notes: svn path=/head/; revision=22997
* Check for, warn about and reject lines with empty keys. You can't haveBill Paul1997-02-091-0/+5
| | | | | | | | a database entry with a null key. These are often caused by spurious blank lines in the map source file. Notes: svn path=/head/; revision=22496
* Sort cross references.Wolfram Schneider1997-01-201-2/+2
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Add -b and -s flags for adding YP_INTERDOMAIN and YP_SECURE entries toBill Paul1996-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. :) Notes: svn path=/head/; revision=19155
* Add -I${.CURDIR}/../../libexec/ypxfr to CFLAGS so we can see ypxfr_extern.h.Bill Paul1996-06-061-2/+2
| | | | Notes: svn path=/head/; revision=16157
* Update to pass new arguments now expected by the yp_dbwrite routines.Bill Paul1996-06-051-10/+10
| | | | | | | No functional changes. Notes: svn path=/head/; revision=16133
* Import the new yp_mkdb. This one does what the old one does, but isBill Paul1996-04-283-0/+465
hopefully less grotty. Differences include: - An extra flag, -c, for sending a YPPROC_CLEAR to ypserv(8) (which will become useful once I merge in the DB handle caching mods I've been working on). - Checks for and signals duplicate keys. - Handles line continuations. As of now, there is no more GNU YP code in the tree. Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=15423