freebsd-skq/gnu
Bill Paul c183a93033 Obtained from: The NYS project
This is a ported/modified version of the ypxfr program from the yps-0.21
package from the NYS project. This program is normally invoked by ypserv
when it receives a yppush command from an NIS master. It can also be
run from the command line to grab copies of maps when initializing a
slave server.

This program has been hacked in the following ways:

- rpcgen'ed new yp_xdr.c, yp_svc.c and yp_clnt.c files. The old ones were
  rather grody.

- Changed certain function names (prefended a _ to them) to avoid conflicts
  with certain functions lurking within libc. One major problem here is
  that ypxfr needs to bind to a YP master in order to work correctly,
  but it can't use the _yp_bind function inside libc because that
  function only lets you bind to a domain, not a specific host. Lots
  of head scratching here.

- Converted from GDBM to DB at gunpoint.

- Removed lots of really nasty looking DEBUG code to try to reduce clutter.

- Incorporated some of the library code supplied with yps-0.21 on which
  ypxfr was dependent.

This program still needs to be cleaned up just as a matter of principle:
I get all icky just looking at it sometimes.
1995-01-31 09:28:47 +00:00
..
games
gnu2bmake Integrated GCC-2.6.1 -> GCC-2.6.2 changes. 1994-11-15 04:52:19 +00:00
include Put #warning "this file is obsoleted ... etc." 1994-11-17 11:20:44 +00:00
lib Add more range/argument checking 1995-01-30 14:11:58 +00:00
libexec Obtained from: The NYS project 1995-01-31 09:28:47 +00:00
usr.bin Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
usr.sbin New Makefiles for YP server stuff. 1995-01-31 09:14:03 +00:00
COPYING
COPYING.LIB
Makefile Add include 1994-11-08 00:50:00 +00:00
Makefile.inc