Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Jun-ichiro itojun Hagino <itojun@netbsd.org>
List: source-changes
Date: 03/01/2000 02:50:03
Module Name:	basesrc
Committed By:	itojun
Date:		Wed Mar  1 10:50:02 UTC 2000

Modified Files:
	basesrc/dist/bind/bin/named: ns_main.c
	basesrc/dist/bind/include: port_before.h resolv.h
	basesrc/dist/bind/lib/irs: gen.c
	basesrc/dist/bind/lib/resolv: res_data.c
	basesrc/usr.sbin/bind: Makefile.inc
	basesrc/usr.sbin/bind/lib: Makefile
Added Files:
	basesrc/dist/bind/include: netdb.h
Removed Files:
	basesrc/usr.sbin/bind/include: namespace.h

Log Message:
do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 basesrc/dist/bind/bin/named/ns_main.c
cvs rdiff -r0 -r1.3 basesrc/dist/bind/include/netdb.h
cvs rdiff -r1.2 -r1.3 basesrc/dist/bind/include/port_before.h \
    basesrc/dist/bind/include/resolv.h
cvs rdiff -r1.1 -r1.2 basesrc/dist/bind/lib/irs/gen.c
cvs rdiff -r1.2 -r1.3 basesrc/dist/bind/lib/resolv/res_data.c
cvs rdiff -r1.5 -r1.6 basesrc/usr.sbin/bind/Makefile.inc
cvs rdiff -r1.4 -r0 basesrc/usr.sbin/bind/include/namespace.h
cvs rdiff -r1.7 -r1.8 basesrc/usr.sbin/bind/lib/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.