Commit Graph

15 Commits

Author SHA1 Message Date
lukem b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
christos 4614af85f7 We control threaded or not from the Makefile 2004-11-07 02:54:55 +00:00
christos 1a8b79bc27 Add netbsd id 2004-11-07 01:13:32 +00:00
christos b1454ec955 - add netbsd id
- define that we have threads
2004-11-07 01:13:18 +00:00
christos 74786d7691 - add netbsd id
- use endian.h to determine endianness
2004-11-07 01:12:56 +00:00
christos 008f1a9208 includes for bind-9-3-0 2004-11-07 01:07:26 +00:00
christos 14b88f7570 The Makefile.inc determines if we have threads or not, so don't hard-code this. 2004-05-21 16:05:51 +00:00
christos 9c2ff49b1e Import bind9 build framework 2004-05-18 00:06:57 +00:00
itojun 548cc318ca 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.
2000-03-01 10:49:58 +00:00
veego 3c25783fec Use the bind source from basesrc/dist/bind. 1999-11-20 19:47:10 +00:00
itojun d6fd5e2c88 fix dig and nslookup.
sizeof(_res) must be the same for libc, libresolv and libbind.
libc and libresolve uses bind4 while libbind seems to use bind8.

complete fix would be to share the same codebase among libc and libbind,
but I don't know if importing bind8 into libc/libresolv (or bind9 to
all the places) is the right answer.  it involves a big change.

PR: 7966
1999-08-07 12:40:06 +00:00
tron 850b3263ac Remap "_res" to "bind_res" to fix link warnings on ELF systems. 1999-07-20 08:59:15 +00:00
mrg 84e08b1a6a use this namespace.h to redefine the bits of libresolv we need, to avoid clashes with the resolver in libc. 1999-03-09 13:23:08 +00:00
tron 4c07384685 Avoid problems when trying to link BIND 8 statically, fixes PR bin/6717
by gnatios Souvatzis.
1999-01-04 00:04:04 +00:00
tron a4b6188cd5 Import BIND 8.1.2. 1998-10-05 18:01:57 +00:00