Commit Graph

159 Commits

Author SHA1 Message Date
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun a317219c0b copy "Version" file for import. 2001-02-11 07:04:20 +00:00
itojun 47b90546f9 BIND 8.2.3 2001-02-11 06:41:22 +00:00
itojun 37ea810d37 BIND823 bug ID 1150: forwarders: it was possible to use freed memory. 2001-02-06 10:02:04 +00:00
itojun b4eb727352 separately populate lib/{cylink,dnssafe} into basesrc/crypto/dist/bind. 2001-01-27 08:09:42 +00:00
itojun 93ea2d0c7a re-add md5 from BIND8 kit. lib/dnssafe does not compile without it. 2001-01-27 07:58:25 +00:00
itojun 1a7fc7b687 upgrade to BIND 8.2.3. the upgrade is critical (security fixes).
please test.
2001-01-27 07:21:56 +00:00
itojun 10a27e85b1 BIND 8.2.3 2001-01-27 06:15:38 +00:00
lukem 1509cd1434 #undef USE_LOG_CONS, to prevent openlog() being called with LOG_CONS.
there's no real justification for most programs to spam /dev/console just
because syslog can't talk to syslogd isn't available, especially chatty
programs such as bind.  (init, shutdown, reboot are probably exceptions here)
2001-01-11 02:39:43 +00:00
itojun 08d2a7f10e don't undefine _res. _res is redefined to bind__res for avoiding
symbol conflict.
2000-11-13 20:58:29 +00:00
itojun 7da1bb7a9c synchronize with BIND 8.2.2-P7.
- resolve conflicts (there are many conflicts with $NetBSD$ tags -
  dunno why they happen).
- type pedant (couple of typecasts).

correct yacc-generated file handling.  remove bin/named/ns_parser.h,
use the header yacc generates at compilation time.
2000-11-10 09:56:56 +00:00
itojun 0f73fe0237 remove yacc-generated header 2000-11-10 09:51:03 +00:00
itojun 1dee783927 import LICENSE_RSA. maybe we should import other [A-Z]* too. 2000-11-10 09:41:14 +00:00
itojun 7992052d11 bind 8.2.2-P7 2000-11-10 09:33:54 +00:00
itojun 2ca8e58e8e remove $Header$ from original. remove yacc/lex generated files, which are
unnecessary for import.
2000-11-10 09:23:42 +00:00
lukem 51ea0cba47 remove unnecessary command name after .Nm 2000-11-07 05:51:54 +00:00
is 7f029e5684 Format string cleanups by Bill Sommerfeld. 2000-10-08 20:03:12 +00:00
is 8a1fd03ca4 More format string cleanup by sommerfeld. 2000-10-08 19:56:12 +00:00
is 5b6de67306 Format string cleanups by Bill Sommerfeld. 2000-10-08 19:41:16 +00:00
is 0040b133c2 Format string cleanup by sommerfeld, with a correction by myself. 2000-10-08 10:03:11 +00:00
is 170b9a3198 Format string cleanup from sommerfeld. 2000-10-08 09:53:43 +00:00
mrg 0a190e7396 do not #undef _res; we want to get any #define our local resolv.h has.
fixes last part of PR#10651.
2000-08-14 11:33:34 +00:00
mrg eb02116cbb prefix all symbols with "bind_" to avoid conflicting with libc symbols of
the same name.  programs should keep out of __* land, anyway... fixes most
of PR#10651.
2000-08-14 11:31:56 +00:00
itojun 9e8ad51e02 mention lack of support in DNS query/reply over IPv6 transport,
since it seem to confuse people.
2000-06-14 05:54:30 +00:00
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 b1c169c079 BIND 8.2.2-P5 2000-04-28 03:39:16 +00:00
itojun 194cb3f033 on a second thought dist/bind/doc/bog looks better.
(we may need to put other doc/* in the future)
2000-04-28 03:37:55 +00:00
itojun f947c881f2 populate doc/bog into dist/bind/bog. part of PR9997. 2000-04-28 03:34:00 +00:00
itojun 97cd11ff66 need string.h for prototype of memset(). fixes build breakage on alpha.
From: Tim Rightnour <root@garbled.net>
2000-03-02 18:08:44 +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
garbled 3bc0a706ac Add CPPFLAGS so this can be cross-compiled. 1999-12-24 19:11:25 +00:00
christos e475708401 - Add missing .El's
- It is .Bl -hang not -ohang
1999-11-29 18:28:18 +00:00
veego 9f3c20bc0f Use the libc md5 function. 1999-11-28 17:39:06 +00:00
veego 7411de7164 Add the prototype of findzonesoa to fix the compile warning in ns_ixfr.c. 1999-11-21 10:40:10 +00:00
veego b1db7e28e8 Sigh, how many (void *) do I need to remove from this source code? 1999-11-21 10:31:22 +00:00
veego adecc3d422 Remove the (void *) in front of the sp->s_rfd. 1999-11-20 20:48:27 +00:00
veego a8baad4e90 Remove the (void *) in front of the ctx->sock. 1999-11-20 20:38:54 +00:00
veego 72b5f9504d Include <string.h> to get the prototype of memcpy. 1999-11-20 20:06:45 +00:00
veego f1ef51cf63 s/u_int32_t/size_t/ in line 324 to fix an LP64 problem. 1999-11-20 20:03:47 +00:00
veego 1b0bbfa434 Include <string.h> to get the prototype for memcpy. 1999-11-20 20:02:49 +00:00
veego 9536c9fbfd Automatically generated files. 1999-11-20 19:19:12 +00:00
veego 2a9ceca3f0 We don't need this include files. 1999-11-20 19:17:46 +00:00
veego 1506ac921f Disable the '#undef _res', otherwise namespace.h doesn't work here. 1999-11-20 19:16:55 +00:00
veego da9f827186 Define RES_SET_H_ERRNO differently because we don't use IRS and disable
some defines which needs to be defined in namespace.h and not here.
1999-11-20 19:15:54 +00:00
veego 1fa9723fe7 Disable IRS and include namespace.h. 1999-11-20 19:14:30 +00:00
veego ad4f1fc630 Don't call irs_destroy. 1999-11-20 19:14:00 +00:00
veego 7060f068de s/__sym_ntos/sym_ntos/ 1999-11-20 19:13:29 +00:00
veego 8520a92669 Fix LP64 problem. 1999-11-20 19:12:58 +00:00
veego 7be5838fa4 Add NetBSD RCS Id's. 1999-11-20 19:03:47 +00:00
veego 7532ce689d Import bind 8.2.2-P5. 1999-11-20 18:53:57 +00:00
veego bcc2749f56 Fix some runtime problems. 1999-11-20 18:21:56 +00:00
veego dbbab5f7ca Add nsupdate.8. 1999-11-20 18:05:24 +00:00
veego 495dfc4a09 Add LICENSE and README.
Remove lib/cylink and lib/dnssafe.
1999-11-19 22:49:37 +00:00
veego 19a670f98b Don't remove lib/irs now. 1999-11-19 18:04:11 +00:00
veego 5ab88d802c Copy prand_conf.h and add the helper programm probe_ipv6. 1999-11-17 21:18:03 +00:00
veego e3d814876c Remove lib/bsd and lib/irs before we import it. 1999-11-14 16:37:20 +00:00
veego 482b2adc6e Avoid expanding NetBSD RCS IDs. 1999-11-14 16:27:08 +00:00
veego 5437a4d764 Don't create the bind4 compat scripts for reload and restart here.
They will be created by an import which also contains the manpages.
1999-11-14 08:04:34 +00:00
veego 31806433e4 First version. This makes it easier to import a newer version of bind
under basesrc/usr.sbin/bind.
1999-11-12 23:58:56 +00:00