summaryrefslogtreecommitdiff
path: root/dns/bind9-dlz/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-03-16 21:32:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-03-16 21:32:49 +0000
commitd5bb74cb598322b00a1da3f410e95de88fd3162f (patch)
tree3e53e7023480c28374c6b9f7e972ed4e6dfcb005 /dns/bind9-dlz/files
parentifdepd implements dependencies between network interfaces in a (diff)
- update to bind9-9.3.1
- new options: WITH_BIND9_THREADS, WITH_DLZ_OLD
Diffstat (limited to 'dns/bind9-dlz/files')
-rw-r--r--dns/bind9-dlz/files/configure.bind9-dlz10
-rw-r--r--dns/bind9-dlz/files/db42-bind922.patch (renamed from dns/bind9-dlz/files/patch-configure)0
-rw-r--r--dns/bind9-dlz/files/db42-bind931.patch41
3 files changed, 50 insertions, 1 deletions
diff --git a/dns/bind9-dlz/files/configure.bind9-dlz b/dns/bind9-dlz/files/configure.bind9-dlz
index ac582c0cf040..af4df88a9c23 100644
--- a/dns/bind9-dlz/files/configure.bind9-dlz
+++ b/dns/bind9-dlz/files/configure.bind9-dlz
@@ -11,8 +11,10 @@ if [ "${BINDDLZ_OPTIONS}" ]; then
else
dialog --title "configuration options" --clear \
--checklist "\n\
-Please select desired options:" -1 -1 11 \
+Please select desired options:" -1 -1 13 \
+OldDLZ "use old Bind9.2.2" OFF \
OpenSSL "OpenSSL support" ON \
+Threads "Thread support" ON \
PostgreSQL "PostgreSQL driver" ON \
MySQL323 "MySQL 3.23 driver" OFF \
MySQL40 "MySQL 4.0 driver" OFF \
@@ -47,9 +49,15 @@ exec > ${WRKDIRPREFIX}${CURDIR2}/Makefile.inc
while [ "$1" ]; do
case $1 in
+ \"OldDLZ\")
+ echo WITH_OLD_DLZ=YES
+ ;;
\"OpenSSL\")
echo WITH_OPENSSL=YES
;;
+ \"Threads\")
+ echo WITH_BIND9_THREADS=YES
+ ;;
\"PostgreSQL\")
echo WITH_POSTGRESQL_DRIVER=YES
;;
diff --git a/dns/bind9-dlz/files/patch-configure b/dns/bind9-dlz/files/db42-bind922.patch
index 701ccc607ad3..701ccc607ad3 100644
--- a/dns/bind9-dlz/files/patch-configure
+++ b/dns/bind9-dlz/files/db42-bind922.patch
diff --git a/dns/bind9-dlz/files/db42-bind931.patch b/dns/bind9-dlz/files/db42-bind931.patch
new file mode 100644
index 000000000000..cceb66386f39
--- /dev/null
+++ b/dns/bind9-dlz/files/db42-bind931.patch
@@ -0,0 +1,41 @@
+--- configure.orig Wed Mar 16 22:05:10 2005
++++ configure Wed Mar 16 22:11:32 2005
+@@ -4919,7 +4919,7 @@
+ DLZ_BDB_LIB="yes"
+
+ # check other locations for includes.
+- bdb_incdirs="/ /db41/ /db4/ /db/"
++ bdb_incdirs="/ /db42/ /db41/ /db4/ /db/"
+ for d in $bdb_incdirs
+ do
+ if test -f $use_dlz_bdb/include${d}db.h
+@@ -4934,14 +4934,14 @@
+ echo "$as_me:$LINENO: result: not found" >&5
+ echo "${ECHO_T}not found" >&6
+ { { echo "$as_me:$LINENO: error: Berkeley DB header was not found in $use_dlz_bdb/include, \
+-$use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" >&5
++$use_dlz_bdb/include/db42, $use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" >&5
+ echo "$as_me: error: Berkeley DB header was not found in $use_dlz_bdb/include, \
+-$use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" >&2;}
++$use_dlz_bdb/include/db42, $use_dlz_bdb/include/db41, $use_dlz_bdb/include/db4 or $use_dlz_bdb/include/db" >&2;}
+ { (exit 1); exit 1; }; }
+ fi
+
+ # look for libname other than libdb.so
+- bdb_libnames="db41 db-4.1 db"
++ bdb_libnames="db-4.2 db42 db41 db-4.1 db"
+ for d in $bdb_libnames
+ do
+ if test -f $use_dlz_bdb/lib/lib${d}.so
+@@ -4954,9 +4954,9 @@
+ then
+ echo "$as_me:$LINENO: result: not found" >&5
+ echo "${ECHO_T}not found" >&6
+- { { echo "$as_me:$LINENO: error: Berkeley DB library libdb41.so, libdb-4.1.so or libdb.so could not be found \
++ { { echo "$as_me:$LINENO: error: Berkeley DB library libdb-4.2.so, libdb42.so libdb41.so, libdb-4.1.so, or libdb.so could not be found \
+ in $use_dlz_bdb/lib" >&5
+-echo "$as_me: error: Berkeley DB library libdb41.so, libdb-4.1.so or libdb.so could not be found \
++echo "$as_me: error: Berkeley DB library libdb-4.2.so, libdb42.so, libdb41.so, libdb-4.1.so or libdb.so could not be found \
+ in $use_dlz_bdb/lib" >&2;}
+ { (exit 1); exit 1; }; }
+ fi