aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2004-09-21 19:01:48 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2004-09-21 19:01:48 +0000
commitcd3ee173f95b226e43b4637c7d66afac0fac26e0 (patch)
treeee65309033b0451fbda3772ae513fcd9b3dec47a /contrib
parent95c973ff5291e7e1cfe8c0d3d26f90b89d6130c2 (diff)
downloadsrc-cd3ee173f95b226e43b4637c7d66afac0fac26e0.tar.gz
src-cd3ee173f95b226e43b4637c7d66afac0fac26e0.zip
Switch from BIND 8 to BIND 9.
Submitted by: (in part) dougb@, trhodes@ Reviewed by: dougb@, trhodes@, re@ MFC after: 5 days
Notes
Notes: svn path=/head/; revision=135549
Diffstat (limited to 'contrib')
-rw-r--r--contrib/bind9/FREEBSD-Upgrade17
-rw-r--r--contrib/bind9/config.h257
2 files changed, 17 insertions, 257 deletions
diff --git a/contrib/bind9/FREEBSD-Upgrade b/contrib/bind9/FREEBSD-Upgrade
new file mode 100644
index 000000000000..f5901817d461
--- /dev/null
+++ b/contrib/bind9/FREEBSD-Upgrade
@@ -0,0 +1,17 @@
+# $FreeBSD$
+#
+# Bug trhodes@ and des@ to actually throw some text in here.
+#
+
+while read pattern ; do rm -rf $pattern ; done <FREEBSD-Xlist
+
+sed -i.orig -e '/\/tests/d; /docutil/d;' configure.in Makefile.in */Makefile.in
+
+autoconf253
+
+autoheader253
+
+./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man \
+ --enable-threads --enable-libbind --disable-ipv6 \
+ --enable-getifaddrs --disable-linux-caps \
+ --with-openssl=/usr --with-randomdev=/dev/random
diff --git a/contrib/bind9/config.h b/contrib/bind9/config.h
deleted file mode 100644
index e3a2ac3a3f8d..000000000000
--- a/contrib/bind9/config.h
+++ /dev/null
@@ -1,257 +0,0 @@
-/* config.h. Generated by configure. */
-/* config.h.in. Generated from configure.in by autoheader. */
-/*
- * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
- * Copyright (C) 1999-2003 Internet Software Consortium.
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
- * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
- * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
- * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- * PERFORMANCE OF THIS SOFTWARE.
- */
-
-/* $Id: acconfig.h,v 1.35.2.4.2.8 2004/05/21 08:24:04 marka Exp $ */
-
-/* $FreeBSD$ */
-
-/***
- *** This file is not to be included by any public header files, because
- *** it does not get installed.
- ***/
-
-/* define to `int' if <sys/types.h> doesn't define. */
-/* #undef ssize_t */
-
-/* define on DEC OSF to enable 4.4BSD style sa_len support */
-/* #undef _SOCKADDR_LEN */
-
-/* define if your system needs pthread_init() before using pthreads */
-/* #undef NEED_PTHREAD_INIT */
-
-/* define if your system has sigwait() */
-#define HAVE_SIGWAIT 1
-
-/* define if sigwait() is the UnixWare flavor */
-/* #undef HAVE_UNIXWARE_SIGWAIT */
-
-/* define on Solaris to get sigwait() to work using pthreads semantics */
-/* #undef _POSIX_PTHREAD_SEMANTICS */
-
-/* define if LinuxThreads is in use */
-/* #undef HAVE_LINUXTHREADS */
-
-/* define if sysconf() is available */
-#define HAVE_SYSCONF 1
-
-/* define if sysctlbyname() is available */
-#define HAVE_SYSCTLBYNAME 1
-
-/* define if catgets() is available */
-#define HAVE_CATGETS 1
-
-/* define if getifaddrs() exists */
-#define HAVE_GETIFADDRS 1
-
-/* define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
-#define HAVE_IFLIST_SYSCTL 1
-
-/* define if chroot() is available */
-#define HAVE_CHROOT 1
-
-/* define if tzset() is available */
-#define HAVE_TZSET 1
-
-/* define if struct addrinfo exists */
-#define HAVE_ADDRINFO 1
-
-/* define if getaddrinfo() exists */
-#define HAVE_GETADDRINFO 1
-
-/* define if gai_strerror() exists */
-#define HAVE_GAISTRERROR 1
-
-/* define if arc4random() exists */
-#define HAVE_ARC4RANDOM 1
-
-/* define if pthread_setconcurrency() should be called to tell the
- * OS how many threads we might want to run.
- */
-/* #undef CALL_PTHREAD_SETCONCURRENCY */
-
-/* define if IPv6 is not disabled */
-/* #undef WANT_IPV6 */
-
-/* define if flockfile() is available */
-#define HAVE_FLOCKFILE 1
-
-/* define if getc_unlocked() is available */
-#define HAVE_GETCUNLOCKED 1
-
-/* Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
-/* #undef SHUTUP_SPUTAUX */
-#ifdef SHUTUP_SPUTAUX
-struct __sFILE;
-extern __inline int __sputaux(int _c, struct __sFILE *_p);
-#endif
-
-/* Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
-/* #undef SHUTUP_SIGWAIT */
-#ifdef SHUTUP_SIGWAIT
-int sigwait(const unsigned int *set, int *sig);
-#endif
-
-/* Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
-/* #undef SHUTUP_STDARG_CAST */
-#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
-#include <stdarg.h> /* Grr. Must be included *every time*. */
-/*
- * The silly continuation line is to keep configure from
- * commenting out the #undef.
- */
-#undef \
- va_start
-#define va_start(ap, last) \
- do { \
- union { const void *konst; long *var; } _u; \
- _u.konst = &(last); \
- ap = (va_list)(_u.var + __va_words(__typeof(last))); \
- } while (0)
-#endif /* SHUTUP_STDARG_CAST && __GNUC__ */
-
-/* define if the system has a random number generating device */
-#define PATH_RANDOMDEV "/dev/random"
-
-/* define if pthread_attr_getstacksize() is available */
-#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
-
-/* define if pthread_attr_setstacksize() is available */
-#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
-
-/* define if you have strerror in the C library. */
-#define HAVE_STRERROR 1
-
-/* Define if you are running under Compaq TruCluster.. */
-/* #undef HAVE_TRUCLUSTER */
-
-/* Define if OpenSSL includes DSA support */
-#define HAVE_OPENSSL_DSA 1
-
-/* Define to 1 if you have the <fcntl.h> header file. */
-#define HAVE_FCNTL_H 1
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#define HAVE_INTTYPES_H 1
-
-/* Define to 1 if you have the `c' library (-lc). */
-/* #undef HAVE_LIBC */
-
-/* Define to 1 if you have the `c_r' library (-lc_r). */
-/* #undef HAVE_LIBC_R */
-
-/* Define to 1 if you have the `nsl' library (-lnsl). */
-/* #undef HAVE_LIBNSL */
-
-/* Define to 1 if you have the `pthread' library (-lpthread). */
-#define HAVE_LIBPTHREAD 1
-
-/* Define to 1 if you have the `scf' library (-lscf). */
-/* #undef HAVE_LIBSCF */
-
-/* Define to 1 if you have the `socket' library (-lsocket). */
-/* #undef HAVE_LIBSOCKET */
-
-/* Define to 1 if you have the <linux/capability.h> header file. */
-/* #undef HAVE_LINUX_CAPABILITY_H */
-
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
-/* Define to 1 if you have the <net/if6.h> header file. */
-/* #undef HAVE_NET_IF6_H */
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#define HAVE_STDINT_H 1
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#define HAVE_STDLIB_H 1
-
-/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
-
-/* Define to 1 if you have the <string.h> header file. */
-#define HAVE_STRING_H 1
-
-/* Define to 1 if you have the <sys/param.h> header file. */
-#define HAVE_SYS_PARAM_H 1
-
-/* Define to 1 if you have the <sys/prctl.h> header file. */
-/* #undef HAVE_SYS_PRCTL_H */
-
-/* Define to 1 if you have the <sys/select.h> header file. */
-#define HAVE_SYS_SELECT_H 1
-
-/* Define to 1 if you have the <sys/sockio.h> header file. */
-#define HAVE_SYS_SOCKIO_H 1
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#define HAVE_SYS_STAT_H 1
-
-/* Define to 1 if you have the <sys/sysctl.h> header file. */
-#define HAVE_SYS_SYSCTL_H 1
-
-/* Define to 1 if you have the <sys/time.h> header file. */
-#define HAVE_SYS_TIME_H 1
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#define HAVE_SYS_TYPES_H 1
-
-/* Define if running under Compaq TruCluster */
-/* #undef HAVE_TRUCLUSTER */
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#define HAVE_UNISTD_H 1
-
-/* Define to the address where bug reports for this package should be sent. */
-#define PACKAGE_BUGREPORT ""
-
-/* Define to the full name of this package. */
-#define PACKAGE_NAME ""
-
-/* Define to the full name and version of this package. */
-#define PACKAGE_STRING ""
-
-/* Define to the one symbol short name of this package. */
-#define PACKAGE_TARNAME ""
-
-/* Define to the version of this package. */
-#define PACKAGE_VERSION ""
-
-/* Define to 1 if you have the ANSI C header files. */
-#define STDC_HEADERS 1
-
-/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
-#define TIME_WITH_SYS_TIME 1
-
-/* Define to 1 if your processor stores words with the most significant byte
- first (like Motorola and SPARC, unlike Intel and VAX). */
-/* #undef WORDS_BIGENDIAN */
-
-/* Define to empty if `const' does not conform to ANSI C. */
-/* #undef const */
-
-/* Define as `__inline' if that's what the C compiler calls it, or to nothing
- if it is not supported. */
-/* #undef inline */
-
-/* Define to `unsigned' if <sys/types.h> does not define. */
-/* #undef size_t */
-
-/* Define to `int' if <sys/types.h> does not define. */
-/* #undef ssize_t */