freebsd-skq/gnu
wpaul c46e35fcb4 Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
  function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
  aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
  the server will refuse to serve the master.passwd.{byname|byuid} maps
  if the request doesn't come from a privileged port. Normally, only the
  superuser can issue such a request. Requests for the passwd.{bynam|byuid}
  maps aren't affected. There will be a small change made to getpwent.c
  in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
  relying on gethostbyname() and friends. The author noted in the original
  documentation that a loop condition could arise where the server would
  query itself for hostsname lookups. Using direct DNS lookups prevents
  this from happening.

- added code to properly fork() the server into the background unless
  invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
  changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.
1995-01-31 08:58:57 +00:00
..
games __386BSD__ -> __FreeBSD__ 1994-11-04 02:14:13 +00:00
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 Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG}, 1995-01-24 17:58:47 +00:00
usr.bin Fixed up the text a bit, attribute NetBSD properly. 1995-01-31 04:36:48 +00:00
usr.sbin Obtained from: The NYS project 1995-01-31 08:58:57 +00:00
COPYING This commit was manufactured by cvs2svn to create branch 'gnu'. 1993-11-08 17:09:51 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Add include 1994-11-08 00:50:00 +00:00
Makefile.inc Added gdb/gas/ld to GNU makefiles 1993-06-29 09:54:26 +00:00