diff options
author | taca <taca@pkgsrc.org> | 2006-08-17 14:14:18 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2006-08-17 14:14:18 +0000 |
commit | 201bdcfe0f5d51631ce257b95ed97e3312603485 (patch) | |
tree | c5da53c63789af856b2fbb0525c7d761c54d81f5 /net/bind9 | |
parent | 35c00b6606900fcc5139c751f10a2d11040685f6 (diff) | |
download | pkgsrc-201bdcfe0f5d51631ce257b95ed97e3312603485.tar.gz |
Update bind to 9.3.2.
Changes are huge, so please see http://www.isc.org/sw/bind/bind9.3.php.
Diffstat (limited to 'net/bind9')
-rw-r--r-- | net/bind9/Makefile | 4 | ||||
-rw-r--r-- | net/bind9/PLIST | 3 | ||||
-rw-r--r-- | net/bind9/distinfo | 24 | ||||
-rw-r--r-- | net/bind9/patches/patch-ac | 10 | ||||
-rw-r--r-- | net/bind9/patches/patch-ad | 43 | ||||
-rw-r--r-- | net/bind9/patches/patch-ae | 72 | ||||
-rw-r--r-- | net/bind9/patches/patch-af | 84 | ||||
-rw-r--r-- | net/bind9/patches/patch-ah | 27 | ||||
-rw-r--r-- | net/bind9/patches/patch-ai | 94 | ||||
-rw-r--r-- | net/bind9/patches/patch-aj | 6 | ||||
-rw-r--r-- | net/bind9/patches/patch-al | 8 | ||||
-rw-r--r-- | net/bind9/patches/patch-am (renamed from net/bind9/patches/patch-aa) | 20 |
12 files changed, 187 insertions, 208 deletions
diff --git a/net/bind9/Makefile b/net/bind9/Makefile index ee538da6006..158886f4da9 100644 --- a/net/bind9/Makefile +++ b/net/bind9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.78 2006/06/20 13:37:22 abs Exp $ +# $NetBSD: Makefile,v 1.79 2006/08/17 14:14:18 taca Exp $ DISTNAME= bind-${BIND_VERSION} CATEGORIES= net @@ -8,7 +8,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.isc.org/sw/bind/ COMMENT= Version 9 of the Berkeley Internet Name Daemon, implementation of DNS -BIND_VERSION= 9.3.1 +BIND_VERSION= 9.3.2 # IPv6 ready, automatically detected .include "../../mk/bsd.prefs.mk" diff --git a/net/bind9/PLIST b/net/bind9/PLIST index f1440589cc9..cfb6ba5d44d 100644 --- a/net/bind9/PLIST +++ b/net/bind9/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.18 2006/06/20 13:37:22 abs Exp $ +@comment $NetBSD: PLIST,v 1.19 2006/08/17 14:14:18 taca Exp $ bin/dig bin/host bin/isc-config.sh @@ -92,6 +92,7 @@ include/isc/eventclass.h include/isc/file.h include/isc/formatcheck.h include/isc/fsaccess.h +include/isc/hash.h include/isc/heap.h include/isc/hex.h include/isc/hmacmd5.h diff --git a/net/bind9/distinfo b/net/bind9/distinfo index 0ddd9ea4795..232a89d864e 100644 --- a/net/bind9/distinfo +++ b/net/bind9/distinfo @@ -1,16 +1,14 @@ -$NetBSD: distinfo,v 1.26 2006/03/22 16:40:08 joerg Exp $ +$NetBSD: distinfo,v 1.27 2006/08/17 14:14:18 taca Exp $ -SHA1 (bind-9.3.1.tar.gz) = 99df8014e3b500c4d3a6652ec7b1c3cf7bba6f64 -RMD160 (bind-9.3.1.tar.gz) = 845778c95d7a9a2c46330cac91001ae9a12151e3 -Size (bind-9.3.1.tar.gz) = 4673603 bytes -SHA1 (patch-aa) = 959fe6c66d54fa93a0191065a5d54007065ca707 +SHA1 (bind-9.3.2.tar.gz) = 13efeaf496ed110980088fb5cbe22460f04a0fac +RMD160 (bind-9.3.2.tar.gz) = c825b6308eb374e9bcf9b6ccc48f65d8753c0a6d +Size (bind-9.3.2.tar.gz) = 5302112 bytes SHA1 (patch-ab) = dd12c457791a75a8b43d9dfd0c0b236dcdbe31a5 -SHA1 (patch-ac) = 57f0fee92a6c84bf422c6b872eb327b755450557 -SHA1 (patch-ad) = d4a007e641464f3383542b81db4992313e930428 -SHA1 (patch-ae) = 8b562bbbf19eafffbd71ace77f9b26e89d05e272 -SHA1 (patch-af) = 1f9058f0c6893a800d1af52b1daf35b45385a78e +SHA1 (patch-ac) = 4df1ece91d59b2b36fc7a4316604f1c112cf70ba +SHA1 (patch-ad) = 0e28ae0bb42e633f1ff1111478c97ced5c222186 +SHA1 (patch-af) = 61725e32bd2d3eb56bfc162ddfb172624e1cfc8e SHA1 (patch-ag) = 9d61e0f527a76977bf8457355997d201fa37dd4e -SHA1 (patch-ah) = b6f6149d5730201c191fa35ba17e14ffc9195f67 -SHA1 (patch-ai) = 7ea8771f7dc1a6752838d7d458cf14c30118a8e4 -SHA1 (patch-aj) = 7422829ca0dc3d411f00628189f059e47350b524 -SHA1 (patch-al) = 606600d8bdb817688a5f3336a39b7348bca2c230 +SHA1 (patch-ai) = fbe3b15b2d49e6767c8cfe9d985924c2ad797b9f +SHA1 (patch-aj) = c3bbf84a8a735298552f918ac38331e06a1b68a1 +SHA1 (patch-al) = eb6a52d3f865639447ec6f9019c0ea1d2122b772 +SHA1 (patch-am) = bb267f13dbd30d492f4dfcf9c278b941efa97bed diff --git a/net/bind9/patches/patch-ac b/net/bind9/patches/patch-ac index 005d46c74af..f1bdcd82aee 100644 --- a/net/bind9/patches/patch-ac +++ b/net/bind9/patches/patch-ac @@ -1,10 +1,10 @@ -$NetBSD: patch-ac,v 1.5 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-ac,v 1.6 2006/08/17 14:14:18 taca Exp $ ---- lib/lwres/getaddrinfo.c- 2004-05-16 05:03:22.000000000 +0900 -+++ lib/lwres/getaddrinfo.c 2004-05-16 05:04:33.000000000 +0900 +--- lib/lwres/getaddrinfo.c.orig 2005-06-10 08:54:33.000000000 +0900 ++++ lib/lwres/getaddrinfo.c @@ -30,6 +30,10 @@ - #include <lwres/net.h> #include <lwres/netdb.h> + #include <lwres/stdlib.h> +#ifdef __KAME__ +#include <net/if.h> @@ -13,7 +13,7 @@ $NetBSD: patch-ac,v 1.5 2004/10/03 09:20:41 tron Exp $ #define SA(addr) ((struct sockaddr *)(addr)) #define SIN(addr) ((struct sockaddr_in *)(addr)) #define SIN6(addr) ((struct sockaddr_in6 *)(addr)) -@@ -252,14 +256,22 @@ +@@ -252,14 +256,22 @@ lwres_getaddrinfo(const char *hostname, p = strchr(ntmp, '%'); ep = NULL; diff --git a/net/bind9/patches/patch-ad b/net/bind9/patches/patch-ad index 20f11f1be1e..8e182a139e0 100644 --- a/net/bind9/patches/patch-ad +++ b/net/bind9/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.5 2006/03/22 16:40:08 joerg Exp $ +$NetBSD: patch-ad,v 1.6 2006/08/17 14:14:18 taca Exp $ ---- configure- 2004-05-16 05:05:10.000000000 +0900 -+++ configure 2004-05-16 05:08:20.000000000 +0900 -@@ -5480,6 +5480,8 @@ case $host in +--- configure.orig 2005-10-21 08:57:38.000000000 +0900 ++++ configure +@@ -5546,6 +5546,8 @@ case $host in use_threads=false ;; *-freebsd*) use_threads=false ;; @@ -11,7 +11,16 @@ $NetBSD: patch-ad,v 1.5 2006/03/22 16:40:08 joerg Exp $ *-bsdi234*) # Thread signals do not work reliably on some versions of BSD/OS. use_threads=false ;; -@@ -5579,14 +5581,22 @@ echo "$as_me: error: \"could not find th +@@ -5634,7 +5636,7 @@ echo "$as_me: WARNING: linking with PTL2 + echo "${ECHO_T}native" >&6 + LIBS="-lpthread $LIBS" + else +- if test ! -d $LOCALBASE/pthreads ++ if test ! -d $LOCALBASE/pthreads -a ! -f /usr/include/pthread.h + then + echo "$as_me:$LINENO: result: none" >&5 + echo "${ECHO_T}none" >&6 +@@ -5645,14 +5647,23 @@ echo "$as_me: error: \"could not find th if $use_threads then @@ -23,15 +32,16 @@ $NetBSD: patch-ad,v 1.5 2006/03/22 16:40:08 joerg Exp $ - LIBS="$lib1 $lib2 $LIBS" - CPPFLAGS="$CPPFLAGS -I$pkg/include" - STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" -+ if test -f /usr/include/pthreads.h ++ if test -f /usr/include/pthread.h + then -+ echo "$as_me:$LINENO: result: native pthreads" >&5 ++ { echo "$as_me:$LINENO: result: native pthreads" >&5 ++echo "${ECHO_T}native pthreads" >&6; } + LIBS="-lpthread $LIBS" -+ CPPFLAGS="$CPPFLAGS -I/usr/include" -+ STD_CINCLUDES="$STD_CINCLUDES -I/usr/include" ++ CPPFLAGS="$CPPFLAGS -I/usr/inclue" ++ STD_CINDLUES="$STD_CINDLUES -I/usr/include" + else -+ echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 -+ echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6 ++ { echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 ++echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6; } + pkg="$LOCALBASE/pthreads" + lib1="-L$pkg/lib -Wl,-R$pkg/lib" + lib2="-lpthread -lm -lgcc -lpthread" @@ -42,14 +52,3 @@ $NetBSD: patch-ad,v 1.5 2006/03/22 16:40:08 joerg Exp $ fi fi fi -@@ -6727,6 +6737,10 @@ fi - CCOPT="$CCOPT -pthread" - STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" - ;; -+ *-dragonfly*) -+ CC="$CC -pthread" -+ CCOPT="$CCOPT -pthread" -+ ;; - *-openbsd*) - CC="$CC -pthread" - CCOPT="$CCOPT -pthread" diff --git a/net/bind9/patches/patch-ae b/net/bind9/patches/patch-ae deleted file mode 100644 index 80ef22cc536..00000000000 --- a/net/bind9/patches/patch-ae +++ /dev/null @@ -1,72 +0,0 @@ -$NetBSD: patch-ae,v 1.5 2006/03/22 16:40:08 joerg Exp $ - ---- lib/bind/configure.orig 2004-02-24 11:32:40.000000000 +0900 -+++ lib/bind/configure 2004-05-16 05:09:21.000000000 +0900 -@@ -4497,7 +4497,8 @@ - echo "$as_me: WARNING: linking with PTL2 is highly experimental and not expected to work" >&2;} - CC=ptlgcc - else -- if test ! -d $LOCALBASE/pthreads -+ if test ! -d $LOCALBASE/pthreads \ -+ -a ! -f /usr/include/pthread.h - then - echo "$as_me:$LINENO: result: none" >&5 - echo "${ECHO_T}none" >&6 -@@ -4506,14 +4507,23 @@ - - if $use_threads - then -- echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 -+ if test -f /usr/include/pthread.h -+ then -+ echo "$as_me:$LINENO: result: native pthreads" >&5 -+echo "${ECHO_T}native pthreads" >&6 -+ LIBS="-lpthread $LIBS" -+ CPPFLAGS="$CPPFLAGS -I/usr/include" -+ STD_CINCLUDES="$STD_CINCLUDES -I/usr/include" -+ else -+ echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 - echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6 -- pkg="$LOCALBASE/pthreads" -- lib1="-L$pkg/lib -Wl,-R$pkg/lib" -- lib2="-lpthread -lm -lgcc -lpthread" -- LIBS="$lib1 $lib2 $LIBS" -- CPPFLAGS="$CPPFLAGS -I$pkg/include" -- STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" -+ pkg="$LOCALBASE/pthreads" -+ lib1="-L$pkg/lib -Wl,-R$pkg/lib" -+ lib2="-lpthread -lm -lgcc -lpthread" -+ LIBS="$lib1 $lib2 $LIBS" -+ CPPFLAGS="$CPPFLAGS -I$pkg/include" -+ STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" -+ fi - fi - fi - ;; -@@ -5577,6 +5577,10 @@ fi - CCOPT="$CCOPT -pthread" - STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" - ;; -+ *-dragonfly*) -+ CC="$CC -pthread" -+ CCOPT="$CCOPT -pthread" -+ ;; - *-openbsd*) - CC="$CC -pthread" - CCOPT="$CCOPT -pthread" -@@ -22995,6 +22999,7 @@ case "$host" in - *-bsdi2345*) have_minimum_ifreq=yes;; - *-darwin*) have_minimum_ifreq=yes;; - *-freebsd*) have_minimum_ifreq=yes;; -+ *-drgonfly*) have_minimum_ifreq=yes;; - *-lynxos*) have_minimum_ifreq=yes;; - *-netbsd*) have_minimum_ifreq=yes;; - *-next*) have_minimum_ifreq=yes;; -@@ -23028,6 +23033,7 @@ case "$host" in - *-darwin*) PORT_DIR="port/darwin";; - *-osf*) PORT_DIR="port/decunix";; - *-freebsd*) PORT_DIR="port/freebsd";; -+ *-dragonfly*) PORT_DIR="port/freebsd";; - *-hpux9*) PORT_DIR="port/hpux9";; - *-hpux10*) PORT_DIR="port/hpux10";; - *-hpux11*) PORT_DIR="port/hpux";; diff --git a/net/bind9/patches/patch-af b/net/bind9/patches/patch-af index d2f645435f5..efb68b93f42 100644 --- a/net/bind9/patches/patch-af +++ b/net/bind9/patches/patch-af @@ -1,43 +1,45 @@ -$NetBSD: patch-af,v 1.5 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-af,v 1.6 2006/08/17 14:14:18 taca Exp $ ---- lib/bind/configure.in.orig 2004-03-15 10:02:44.000000000 +0900 -+++ lib/bind/configure.in 2004-05-16 05:09:55.000000000 +0900 -@@ -367,7 +367,8 @@ - [linking with PTL2 is highly experimental and not expected to work]) - CC=ptlgcc - else -- if test ! -d $LOCALBASE/pthreads -+ if test ! -d $LOCALBASE/pthreads \ -+ -a ! -f /usr/include/pthread.h - then - AC_MSG_RESULT(none) - use_threads=false -@@ -375,13 +376,21 @@ - - if $use_threads - then -- AC_MSG_RESULT(mit-pthreads/unproven-pthreads) -- pkg="$LOCALBASE/pthreads" -- lib1="-L$pkg/lib -Wl,-R$pkg/lib" -- lib2="-lpthread -lm -lgcc -lpthread" -- LIBS="$lib1 $lib2 $LIBS" -- CPPFLAGS="$CPPFLAGS -I$pkg/include" -- STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" -+ if test -f /usr/include/pthread.h -+ then -+ AC_MSG_RESULT(native pthreads) -+ LIBS="-lpthread $LIBS" -+ CPPFLAGS="$CPPFLAGS -I/usr/include" -+ STD_CINCLUDES="$STD_CINCLUDES -I/usr/include" -+ else -+ AC_MSG_RESULT(mit-pthreads/unproven-pthreads) -+ pkg="$LOCALBASE/pthreads" -+ lib1="-L$pkg/lib -Wl,-R$pkg/lib" -+ lib2="-lpthread -lm -lgcc -lpthread" -+ LIBS="$lib1 $lib2 $LIBS" -+ CPPFLAGS="$CPPFLAGS -I$pkg/include" -+ STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" -+ fi - fi - fi +--- lib/bind/configure.in.orig 2005-10-14 10:38:46.000000000 +0900 ++++ lib/bind/configure.in +@@ -82,12 +82,7 @@ AC_SUBST(PERL) + # + case "$includedir" in + '${prefix}/include') +- includedir='${prefix}/bind/include' +- ;; +-esac +-case "$libdir" in +- '${prefix}/lib') +- libdir='${prefix}/bind/lib' ++ includedir='${prefix}/include/bind' ;; + esac + +@@ -395,6 +390,10 @@ then + CCOPT="$CCOPT -pthread" + STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" + ;; ++ *-dragonfly*) ++ CC="$CC -pthread" ++ CCOPT="$CCOPT -pthread" ++ ;; + *-openbsd*) + CC="$CC -pthread" + CCOPT="$CCOPT -pthread" +@@ -985,6 +984,7 @@ case "$host" in + *-bsdi[2345]*) have_minimum_ifreq=yes;; + *-darwin*) have_minimum_ifreq=yes;; + *-freebsd*) have_minimum_ifreq=yes;; ++ *-drgonfly*) have_minimum_ifreq=yes;; + *-lynxos*) have_minimum_ifreq=yes;; + *-netbsd*) have_minimum_ifreq=yes;; + *-next*) have_minimum_ifreq=yes;; +@@ -1024,6 +1024,7 @@ case "$host" in + *-darwin*) PORT_DIR="port/darwin";; + *-osf*) PORT_DIR="port/decunix";; + *-freebsd*) PORT_DIR="port/freebsd";; ++ *-dragonfly*) PORT_DIR="port/freebsd";; + *-hpux9*) PORT_DIR="port/hpux9";; + *-hpux10*) PORT_DIR="port/hpux10";; + *-hpux11*) PORT_DIR="port/hpux";; diff --git a/net/bind9/patches/patch-ah b/net/bind9/patches/patch-ah deleted file mode 100644 index 4c52064a0c4..00000000000 --- a/net/bind9/patches/patch-ah +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-ah,v 1.6 2005/03/15 15:50:04 tron Exp $ - ---- lib/bind/configure.in.orig Tue Apr 6 15:49:26 2004 -+++ lib/bind/configure.in Tue Apr 6 15:50:11 2004 -@@ -81,16 +81,16 @@ - # isc/list.h and others clash with the rest of BIND 9 - # - case "$includedir" in - '${prefix}/include') -- includedir='${prefix}/bind/include' -- ;; --esac --case "$libdir" in -- '${prefix}/lib') -- libdir='${prefix}/bind/lib' -+ includedir='${prefix}/include/bind' - ;; - esac -+#case "$libdir" in -+# '${prefix}/lib') -+# libdir='${prefix}/bind/lib' -+# ;; -+#esac - - # - # Make sure INSTALL uses an absolute path, else it will be wrong in all - # Makefiles, since they use make/rules.in and INSTALL will be adjusted by diff --git a/net/bind9/patches/patch-ai b/net/bind9/patches/patch-ai index 9e62738f97c..fd83c7424fb 100644 --- a/net/bind9/patches/patch-ai +++ b/net/bind9/patches/patch-ai @@ -1,9 +1,8 @@ -$NetBSD: patch-ai,v 1.6 2005/03/15 15:50:04 tron Exp $ +$NetBSD: patch-ai,v 1.7 2006/08/17 14:14:18 taca Exp $ ---- lib/bind/configure.orig Tue Apr 6 16:25:51 2004 -+++ lib/bind/configure Tue Apr 6 16:26:15 2004 -@@ -1822,16 +1822,16 @@ - # isc/list.h and others clash with the rest of BIND 9 +--- lib/bind/configure.orig 2005-10-14 10:44:50.000000000 +0900 ++++ lib/bind/configure +@@ -1960,12 +1960,7 @@ done # case "$includedir" in '${prefix}/include') @@ -16,12 +15,81 @@ $NetBSD: patch-ai,v 1.6 2005/03/15 15:50:04 tron Exp $ + includedir='${prefix}/include/bind' ;; esac -+#case "$libdir" in -+# '${prefix}/lib') -+# libdir='${prefix}/bind/lib' -+# ;; -+#esac - # - # Make sure INSTALL uses an absolute path, else it will be wrong in all - # Makefiles, since they use make/rules.in and INSTALL will be adjusted by +@@ -4547,6 +4542,8 @@ case $host in + use_threads=false ;; + *-freebsd*) + use_threads=false ;; ++*-dragonfly*) ++ use_threads=false ;; + *-bsdi234*) + # Thread signals do not work reliably on some versions of BSD/OS. + use_threads=false ;; +@@ -4635,7 +4632,7 @@ echo "$as_me: WARNING: linking with PTL2 + echo "${ECHO_T}native" >&6 + LIBS="-lpthread $LIBS" + else +- if test ! -d $LOCALBASE/pthreads ++ if test ! -d $LOCALBASE/pthreads -a ! -f /usr/include/pthread.h + then + echo "$as_me:$LINENO: result: none" >&5 + echo "${ECHO_T}none" >&6 +@@ -4646,14 +4643,23 @@ echo "$as_me: error: \"could not find th + + if $use_threads + then +- echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 +-echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6 +- pkg="$LOCALBASE/pthreads" +- lib1="-L$pkg/lib -Wl,-R$pkg/lib" +- lib2="-lpthread -lm -lgcc -lpthread" +- LIBS="$lib1 $lib2 $LIBS" +- CPPFLAGS="$CPPFLAGS -I$pkg/include" +- STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" ++ if test -f /usr/include/pthread.h ++ then ++ { echo "$as_me:$LINENO: result: native pthreads" >&5 ++echo "${ECHO_T}native pthreads" >&6; } ++ LIBS="-lpthread $LIBS" ++ CPPFLAGS="$CPPFLAGS -I/usr/inclue" ++ STD_CINDLUES="$STD_CINDLUES -I/usr/include" ++ else ++ { echo "$as_me:$LINENO: result: mit-pthreads/unproven-pthreads" >&5 ++echo "${ECHO_T}mit-pthreads/unproven-pthreads" >&6; } ++ pkg="$LOCALBASE/pthreads" ++ lib1="-L$pkg/lib -Wl,-R$pkg/lib" ++ lib2="-lpthread -lm -lgcc -lpthread" ++ LIBS="$lib1 $lib2 $LIBS" ++ CPPFLAGS="$CPPFLAGS -I$pkg/include" ++ STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" ++ fi + fi + fi + fi +@@ -5714,6 +5720,10 @@ fi + CCOPT="$CCOPT -pthread" + STD_CDEFINES="$STD_CDEFINES -D_THREAD_SAFE" + ;; ++ *-dragonfly*) ++ CC="$CC -pthread" ++ CCOPT="$CCOPT -pthread" ++ ;; + *-openbsd*) + CC="$CC -pthread" + CCOPT="$CCOPT -pthread" +@@ -23291,6 +23301,7 @@ case "$host" in + *-bsdi2345*) have_minimum_ifreq=yes;; + *-darwin*) have_minimum_ifreq=yes;; + *-freebsd*) have_minimum_ifreq=yes;; ++ *-drgonfly*) have_minimum_ifreq=yes;; + *-lynxos*) have_minimum_ifreq=yes;; + *-netbsd*) have_minimum_ifreq=yes;; + *-next*) have_minimum_ifreq=yes;; +@@ -23330,6 +23341,7 @@ case "$host" in + *-darwin*) PORT_DIR="port/darwin";; + *-osf*) PORT_DIR="port/decunix";; + *-freebsd*) PORT_DIR="port/freebsd";; ++ *-dragonfly*) PORT_DIR="port/freebsd";; + *-hpux9*) PORT_DIR="port/hpux9";; + *-hpux10*) PORT_DIR="port/hpux10";; + *-hpux11*) PORT_DIR="port/hpux";; diff --git a/net/bind9/patches/patch-aj b/net/bind9/patches/patch-aj index 420f304ffc7..76cee7655cf 100644 --- a/net/bind9/patches/patch-aj +++ b/net/bind9/patches/patch-aj @@ -1,8 +1,8 @@ -$NetBSD: patch-aj,v 1.3 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-aj,v 1.4 2006/08/17 14:14:18 taca Exp $ --- lib/Makefile.in.orig 2004-03-08 18:04:25.000000000 +0900 -+++ lib/Makefile.in 2004-05-16 05:11:57.000000000 +0900 -@@ -23,7 +23,7 @@ ++++ lib/Makefile.in +@@ -23,7 +23,7 @@ top_srcdir = @top_srcdir@ # Attempt to disable parallel processing. .NOTPARALLEL: .NO_PARALLEL: diff --git a/net/bind9/patches/patch-al b/net/bind9/patches/patch-al index b2b2ce15d8b..d56bcb57b70 100644 --- a/net/bind9/patches/patch-al +++ b/net/bind9/patches/patch-al @@ -1,8 +1,8 @@ -$NetBSD: patch-al,v 1.1 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-al,v 1.2 2006/08/17 14:14:18 taca Exp $ ---- lib/bind/port_after.h.in.orig 2003-06-27 05:51:35.000000000 +0200 -+++ lib/bind/port_after.h.in 2004-05-18 08:15:19.000000000 +0200 -@@ -361,7 +361,7 @@ +--- lib/bind/port_after.h.in.orig 2005-10-11 09:48:14.000000000 +0900 ++++ lib/bind/port_after.h.in +@@ -376,7 +376,7 @@ int setpassent(int stayopen); #define gettimeofday isc__gettimeofday #ifdef NEED_GETTIMEOFDAY int isc__gettimeofday(struct timeval *tvp, struct _TIMEZONE *tzp); diff --git a/net/bind9/patches/patch-aa b/net/bind9/patches/patch-am index f1f145e3abd..b9b8d761337 100644 --- a/net/bind9/patches/patch-aa +++ b/net/bind9/patches/patch-am @@ -1,8 +1,17 @@ -$NetBSD: patch-aa,v 1.8 2004/10/03 09:20:41 tron Exp $ +$NetBSD: patch-am,v 1.1 2006/08/17 14:14:18 taca Exp $ ---- configure.in- 2004-05-16 04:58:44.000000000 +0900 -+++ configure.in 2004-05-16 05:00:43.000000000 +0900 -@@ -684,7 +684,7 @@ +--- config.threads.in.orig 2005-03-16 07:59:16.000000000 +0900 ++++ config.threads.in +@@ -48,6 +48,8 @@ case $host in + use_threads=false ;; + *-freebsd*) + use_threads=false ;; ++*-dragonfly*) ++ use_threads=false ;; + *-bsdi[234]*) + # Thread signals do not work reliably on some versions of BSD/OS. + use_threads=false ;; +@@ -121,7 +123,7 @@ then AC_MSG_RESULT(native) LIBS="-lpthread $LIBS" else @@ -11,7 +20,7 @@ $NetBSD: patch-aa,v 1.8 2004/10/03 09:20:41 tron Exp $ then AC_MSG_RESULT(none) AC_MSG_ERROR("could not find thread libraries") -@@ -692,13 +692,20 @@ +@@ -129,13 +131,21 @@ then if $use_threads then @@ -23,6 +32,7 @@ $NetBSD: patch-aa,v 1.8 2004/10/03 09:20:41 tron Exp $ - CPPFLAGS="$CPPFLAGS -I$pkg/include" - STD_CINCLUDES="$STD_CINCLUDES -I$pkg/include" + if test -f /usr/include/pthread.h ++ then + AC_MSG_RESULT(native pthreads) + LIBS="-lpthread $LIBS" + CPPFLAGS="$CPPFLAGS -I/usr/inclue" |