Commit Graph

149 Commits

Author SHA1 Message Date
gmcgarry 3c9a95916d Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC. 2008-08-29 00:02:21 +00:00
ad 61c0605342 Don't define ISC_PLATFORM_HAVEXADDQ if i386. It only works on the Pentium
or later - and I figured only ZFS would end up using it...
2008-06-23 09:19:34 +00:00
christos 2d315ce390 netbsd rcsid. 2008-06-22 13:23:50 +00:00
christos 89a537219f make this compile again. 2008-06-22 13:23:05 +00:00
ad 998b5a2fd0 Fix a race with the xadd functions. 2008-06-22 09:42:56 +00:00
christos 08aeee04f0 not everyone has atomic_add_64. 2008-06-22 00:14:06 +00:00
matt b35d3ac323 Add multiple inclusion protection. Include <isc/types.h> 2008-06-21 23:57:25 +00:00
christos a3695a098a use our atomic functions. 2008-06-21 22:53:06 +00:00
christos 426f20381b adjust for 9.5.0 2008-06-21 18:59:36 +00:00
explorer 884b12291f install named-compilezone as a symlink to named-checkzone 2008-06-12 07:57:36 +00:00
tls 02aa4d6c73 Sigh. Fix dependency problem for libcrypto as well; not sure why the
previous build didn't turn this up.
2007-11-05 18:43:42 +00:00
tls 6c2ee7b76e Describe libpthread dependency correctly and put bind libs in list of
dependent libs after .WAIT barrier in lib/Makefile.  Fixed build lossage
pointed out by smb.
2007-11-05 04:58:52 +00:00
tls b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
christos 27ee4934f6 restore changes from v1.5:
- disable sigwait in the non-threaded case since it does not work.
- enable inline
2007-05-09 17:50:11 +00:00
martin 7b277a1e3c Make named use threads on sparc and sparc64 again 2007-05-08 06:23:44 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
christos a8accd0f06 mips1 does not have the right assembly instructions. 2007-01-30 00:49:15 +00:00
christos db3454e373 powerpc assembly does not work. 2007-01-30 00:48:27 +00:00
christos f8ee9d613d deal with x86_64 build failure. 2007-01-29 17:33:30 +00:00
christos 16317a9d71 Changes for bind-9.4.0-rc2 2007-01-27 21:36:13 +00:00
he 2c2b5873de If we're not using pthreads, claim also that we don't have sigwait.
This works around the problems observed on sparc and sparc64 (where
we've disabled use of pthreads) where the BIND applications end up
being killed with SIGTERM instead of exiting gracefully.
2006-10-22 20:53:51 +00:00
peter e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
jdc 80ab849735 Disable threaded support for sparc and sparc64.
OK martin@.
2006-08-28 15:37:05 +00:00
mrg 5609a371c9 make MKCRYPTO=no work again. 2006-06-25 03:02:19 +00:00
mrg aadd7d4847 sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4. 2006-05-11 23:16:28 +00:00
christos 449dbee9f0 Compile with OPENSSL. 2006-05-06 17:51:46 +00:00
christos ed53f670c4 remove programs that have been deprecated. 2005-12-22 00:27:23 +00:00
christos bd58506612 Resolve conflicts 2005-12-22 00:19:00 +00:00
christos 97babf6224 add the dnssec and namedb check tools 2005-11-19 02:09:27 +00:00
rpaulo 79cf1201a9 Install HTML BIND 9 Documentation 2005-10-10 13:21:43 +00:00
tron 7663ad07fa Remove outdated BIND 8 version of named.conf(5). The build now picks up
the correct version from "src/dist/bind/bin/named".
2005-07-01 12:10:43 +00:00
lukem b3ead83e1c Only #define WANT_IPV6 if ${USE_INET6} != "no". 2005-01-10 03:01:18 +00:00
he ab248774f6 For the sh5 target, reduce optimization level for two files so that
BIND compiles on that platform.
2004-11-11 00:34:05 +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
heas 4e29cf9d07 Reference rndc(8) instead of bind8's ndc(8).
ISC-Bugs #11509
2004-06-03 15:05:45 +00:00
lukem a7bdccd7ef Improve how the various helper libraries are added to LDADD/DPADD, including
supporting caching the OBJDIRS (via .MAKEOVERRIDES) to speed up subdir makes.
(Based on similar work in gnu/usr.sbin/postfix)
2004-05-23 03:16:40 +00:00
lukem deb5b059d1 use MKPRIVATELIB=yes (instead of setting various other stuff to no) 2004-05-23 02:49:26 +00:00
wiz c50b05e3d3 Some more or less mechanic updates for bind8 -> bind9.
Also, refer only to latest DNSSEC RFC. Bump date.
2004-05-21 23:34:31 +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
wiz 552e912079 Use Sq, Dq; sort sections; new sentence, new line;
refer to DNSSec RFCs in SEE ALSO (since they are mentioned in the text;
XXX: text should be updated to refer to latest one only);
XXX: refers to BIND 8.
2004-05-20 01:01:33 +00:00
wiz fcff0031f7 New sentence, new line; use more macros; sort sections;
sort SEE ALSO; replace > with \*[Gt].
2004-05-20 00:37:51 +00:00
wiz 810322e03d Drop trailing whitespace. 2004-05-20 00:26:19 +00:00
itojun d405fc4436 build and install rndc-confgen (needed to create rndc.key) 2004-05-19 10:29:21 +00:00
christos b1fa643acc remove old makefiles 2004-05-18 00:13:44 +00:00
christos d981be40cf remove garbage file 2004-05-18 00:11:33 +00:00