Commit Graph

59 Commits

Author SHA1 Message Date
he
cbc0b13fa7 Revert away from automatically generating port_ipv6.h, and install
a static once-generated version instead.  We know we have IPv6
headers available here.

The probing was problematical for several reasons:
 o it probed the host headers, not the headers in the build or DESTDIR
   tree (could be fixed in another way)
 o the probe_ipv6 script mucks with PATH, which would be problematical
   for cross compilation.
2000-05-06 16:07:42 +00:00
itojun
5d5dd022cb add bind operators guide into share/doc/smm/10.named. PR 9996. 2000-04-28 06:21:20 +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
mycroft
a73ccc591a More .mk file fallout. *sigh* 2000-01-23 21:55:44 +00:00
garbled
2ae03f4ff8 Add CPPFLAGS so this can be cross compiled. 1999-12-24 19:12:38 +00:00
veego
5ceefc298e Backout the last change. 1999-11-30 20:34:51 +00:00
veego
626fb4bb79 ndc is now a binary so we don't need the 'exec' anymore. 1999-11-30 20:18:11 +00:00
sommerfeld
3e6c42c11a Bugfix: deal with ${CC} containing spaces. 1999-11-30 18:28:16 +00:00
veego
9f3c20bc0f Use the libc md5 function. 1999-11-28 17:39:06 +00:00
veego
5e5665ea10 Remove commented lines which are not used here. 1999-11-28 17:02:27 +00:00
veego
ff8362d781 Install named.conf again into /usr/share/examples/named.
Somehow it vanished when I updated the bind version.
1999-11-28 16:58:16 +00:00
veego
f038a8aeeb Add the missing all-named-xfer all-ndc: all-named target. 1999-11-21 16:55:23 +00:00
itojun
395f032639 s/make/${MAKE}/ 1999-11-21 16:46:33 +00:00
itojun
b7a7f5becf use print-objdir instead.
Suggested by: tsubai
1999-11-21 16:39:54 +00:00
itojun
5d6d47c96c fix compilation of named-xfer and ndc, when you do "make obj" (including
"make build" from the top).

XXX
if you do "make obj", you have to reference:
	bind/named/obj/pathnames.h
from either of them by using relative path:
	${.OBJDIR} = bind/named-xfer/obj or
	${.CURDIR} = bind/named-xfer
-I${.OBJDIR}/../named was included but is not the correct one.
I used -I${.CURDIR}/../named/obj, but I'm not sure if it is the right way.
1999-11-21 16:26:03 +00:00
veego
b4f26a2c2c Ups, remove the LDSTATIC which was only there for tests. 1999-11-20 20:42:39 +00:00
veego
3c25783fec Use the bind source from basesrc/dist/bind. 1999-11-20 19:47:10 +00:00
mrg
b016d0483c fix MKSHARE=no 1999-11-19 04:20:14 +00:00
msaitoh
0fcbe067c6 s/ the the / the / 1999-10-08 20:13:42 +00:00
tron
7469644d8f Replace place holders (e.g. "@CMD_EXT@") with correct values for NetBSD. 1999-09-23 19:38: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
tron
49492782ad Install "named.conf" to "/usr/share/examples/named". 1999-07-19 12:04:03 +00:00
abs
bb69dd0964 bind comes with a very helpful sample named.conf, so install it in
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
tron
d5403b6b11 Remove unnecessary "${.CURDIR}/../nslookup" from ".PATH" target. 1999-07-12 08:31:49 +00:00
itojun
38347f727c s/getaddrinfo/get_addrinfo/, to avoid function name conflict with
library function getaddrinfo()
(is defined in RFC2553, will be somewhere in POSIX)
1999-06-30 12:27:34 +00:00
ross
740ba5bf1a Missing .El. 1999-03-30 20:38:33 +00:00
ross
376b343025 LP64 tweak. 1999-03-30 20:36:58 +00:00
tron
5acbe335e0 Forgot to commit this: install "named.conf.5". 1999-03-28 00:28:17 +00:00
tron
6a6b1bb99f Because this manual page describes DNSSEC features not available in
BIND 8.1.2 add a disclaimer about its origin at the top.
1999-03-27 00:10:47 +00:00
tron
7414e58610 Import "named.conf" manual page from BIND 8.2 distribution. The only
configuration command added after the 8.1.2 release is not even mentioned
so this one will do fine until the rest of 8.2 is imported.
1999-03-26 23:36:02 +00:00
kim
9b05f342df Revert to the version of host installed by the BIND distribution by default.
The contrib version was tagged `bind-contrib-host' before this change.
1999-03-26 20:12:44 +00:00
kim
45402fd3fc Install dig, dnsquery, host, nslookup, nsupdate and pawd in /usr/bin. 1999-03-26 20:04:50 +00:00
garbled
d1407362ba More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:43:46 +00:00
erh
55f3a4b91b Fix .Bl/.El imbalance. 1999-03-10 09:29:08 +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
mycroft
d77575d3c8 Clean up SYNOPSIS formatting. 1999-03-07 11:58:22 +00:00
mycroft
9b3b0907e1 Don't use .Po/.Pc; this creates a diversion which overflows. 1999-03-07 04:49:50 +00:00
mrg
6ef324e7de getopt returns -1 not EOF. clear grouplist also if setting gid. 1999-02-23 15:54:26 +00:00
mrg
2aa01ad0b9 if we are chrooting, write a symlink for the pid file so that ndc, etc,
continue to work as normal.  this allows named to run in a chroot jail
with zero loss of functionality.  with the bind8 -u <user> flag, we can
also make it run as non-root.  "stay tuned."
1999-02-22 02:37:27 +00:00
lukem
d5df3fdbce support $named_flags from rc.conf (this got lost in the upgrade to bind8) 1999-02-17 13:36:00 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +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
5b7db9e865 Remove "named-bootconf" while doing "make clean". 1998-12-15 01:06:04 +00:00
tron
572fc80939 * use better method to write comments to the correct location
* always create an "option" section because "named" will complain
  otherwise
* don't check if directory exists while converting a "directory"
  statement because we might do it on another machine
1998-12-15 01:00:53 +00:00
lukem
2cc5fd4000 * add support for /CHAOS and /HS suffixes to primary & secondary
directives, and add appropriate directives to the zone {} blocks
* change comment delimiter from '//' to '#' (which is more intuitive
  for unix config files)
* KNF formatting (single space indenting is hard to read)
1998-12-14 15:39:12 +00:00
ross
efccda2e04 Needs <string.h> 1998-11-24 06:06:31 +00:00
ross
096af13560 Needs an LP64 fix plus a <string.h> 1998-11-24 06:06:10 +00:00
ross
a19fc46ab9 Needs <string.h> 1998-11-24 06:05:34 +00:00
ross
0cb059b1db Incorrect void * casts on ns_panic() calls...LP64 warnings...kill kill kill 1998-11-24 06:05:07 +00:00