Commit Graph

151 Commits

Author SHA1 Message Date
mycroft
26a3dbe1c4 GC some garbage variables. 1997-10-11 20:26:58 +00:00
veego
e288b27b29 Don't install this libraries, we only this during the build. 1997-10-11 19:42:34 +00:00
lukem
f5eefd0a1d - set the umask to 077, to protect the created directory
- clean up a couple of the messages
1997-10-08 14:09:19 +00:00
lukem
7b926dd1c9 - print a message and exit if the port returned by clnt(udp|tcp)_create isn't
a reserved port
- don't define optarg/optind - it comes from <unistd.h>
- deprecate register
1997-10-08 13:45:21 +00:00
lukem
91b6547967 fix cutnpasto 1997-10-08 00:11:51 +00:00
lukem
87ca3b181a minor KNFify 1997-10-07 15:00:35 +00:00
lukem
93c1ffe13c use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:59:37 +00:00
lukem
5f88ebd1a3 fix & simplify test for skippable lines 1997-10-07 14:56:11 +00:00
lukem
6ea62c3327 simplify test for skippable lines 1997-10-07 14:46:48 +00:00
lukem
0d2bc0fdb6 use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:45:18 +00:00
lukem
618db68108 grabage collect this 1997-10-07 14:43:44 +00:00
lukem
55d8f20490 use err instead of errx, so the user has some idea why the file wasn't opened 1997-10-07 14:42:32 +00:00
lukem
c0495ebb45 nuke register & unnecessary extern's, factor out common code 1997-10-07 14:39:06 +00:00
lukem
dc497bdd46 cleanup typos, grammaros, thinkos, and misuse of mdoc macros 1997-10-07 14:23:50 +00:00
lukem
07e169df74 add mkalias & revnetgroup 1997-10-06 06:55:50 +00:00
lukem
7307c9a9a5 KNF & WARNSify 1997-10-06 06:54:09 +00:00
lukem
6a8388c539 - KNFify
- cleanup for WARNS
- cleanup man page
1997-10-06 06:10:15 +00:00
lukem
42f1aa0434 revnetgroup - generate extra netgroup maps for YP 1997-10-06 05:01:30 +00:00
lukem
56b7c4c7c7 mkalias - generate YP version of sendmail aliases 1997-10-06 04:59:13 +00:00
lukem
ac64718550 - build common/* once, into a library, rather than recompiling each of
the files multiple times in the other subdirectories (saves about
  10% on compilation time)
- clean up the manual pages
1997-10-02 14:16:12 +00:00
mikel
f13c41584f add missing newline in usage(); from Hubert Feyrer in PR bin/4064 1997-09-08 03:18:19 +00:00
jtc
87f4ccd45f Fix files using old TNF copyright notice 1997-07-30 22:53:50 +00:00
mikel
a86b9a7361 pushed ethers, not hosts 1997-07-29 05:56:48 +00:00
thorpej
3d8138fc0e Fix compiler warnings (and an awful lot of annoying little bugs). 1997-07-18 21:57:00 +00:00
gwr
10e180cc49 Back out the .PATH.c changes. The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
1997-05-08 21:11:01 +00:00
gwr
012e528f2e Use .PATH.c: ... 1997-05-06 20:44:56 +00:00
christos
32b4ce594c PR/3504: Brian Baird:
- Do what the manual page says; don't create the log file if it does not exist.
- Limited support for ypserv v1; apparently sunos4 clients use it and sunos5
  server provides the same.
1997-04-17 17:46:16 +00:00
christos
0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
lukem
789002a23e use O_EXCL with O_CREAT when making the temporary db files 1997-03-22 03:32:36 +00:00
is
00cef679df New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:37:27 +00:00
mikel
c4ecd9537c don't write the PID file until after calling daemon(3); from Enami
Tsugutomo in PR bin/3280.
fix a typo in the error message while I'm here.
1997-03-05 07:19:52 +00:00
cjs
ca99d3bef4 Format and install ypinit manual page. (PR 3139 from
Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>.)
1997-01-27 00:28:31 +00:00
tls
01221a35e5 b->mem 1997-01-12 20:42:41 +00:00
cjs
5416ba5d61 New manual page for ypinit(8). 1997-01-05 09:49:41 +00:00
cjs
bce8700c83 Add reference to ypinit(8). 1997-01-05 09:49:07 +00:00
veego
df0caa2391 Add y.tab.h to CLEANFILES. 1996-12-22 16:57:40 +00:00
thorpej
041a23ac7f Make this compile with -DDEBUG. 1996-11-27 09:16:45 +00:00
thorpej
126bf2484b Protect against NULL pointer reference in yp_private(). This can happen
with, e.g. an empty "ypservers" map, causing a SEGV in the child which
handles an "all_2" proc.
1996-11-27 09:16:01 +00:00
chuck
c03ad89d2d include all host names for an address rather than just the first one 1996-11-24 20:16:43 +00:00
thorpej
c5306806ca Use ${INSTALL}. 1996-10-18 06:32:14 +00:00
ws
199624cb52 Use an integer instead of a char to store the getopt() return value in
order to match prototypes.
1996-10-02 18:21:03 +00:00
chuck
3745979128 fix broken case statement for "-C", also check to make sure we've got
the proper number of args for -C and give up if not.   fixes yp slave servers.
1996-08-15 22:17:57 +00:00
chuck
6ad546e352 fix printf format (%s -> %d) in yplog debug statement 1996-08-15 21:47:53 +00:00
thorpej
7026126974 Alter the ypservers rule a bit to always make sure that this map
exists.
1996-08-09 21:04:32 +00:00
thorpej
e20d4be867 Add a rule for the `ypservers' map (the map containing a list of
slaves for the YP domain).  This map is not built by default, but the
rule exists to make adding slave servers a bit easier.
1996-08-09 20:58:36 +00:00
thorpej
5bf41ee467 Error out if we can't determine the YP domain name to be used for
the RPC.
1996-08-09 20:24:34 +00:00
thorpej
34ca0ef5c8 Use the key, not the val from the datum when reading the `ypservers'
map.  SunOS ypservers maps place the host name in the key and the val,
but HP-UX and NetBSD ypservers maps place the hostname only in the
key, leaving the val empty.  Since there is no clear standard for this map,
best to play it safe.
1996-08-09 20:18:50 +00:00
thorpej
5c49628ed7 Remove hard-coded a /var/yp. 1996-08-09 15:16:30 +00:00
thorpej
012dde15fd Install the Makefiles with mode 0644, not ${BINMODE} 1996-08-09 15:11:47 +00:00
thorpej
236743c464 Make this script a little more sane. 1996-08-09 15:09:04 +00:00
thorpej
60aa689c94 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.
1996-08-09 10:14:49 +00:00