Re: Fix bind 9.4.3_p2 cross-compilation

2009-04-18 Thread Beber
Hi,

samedi 18 avril da 14:17:03, « Mark Andrews » a skriv :

 In message c3946463c0a84468271795bf5b076...@localhost, Beber writes:
  
  I forgot to include patch for Makefile.in.
  
  here is it.
  
  Thanks,
  Bertrand Jacquin
  
   Just specify --enable-epoll.  The only sensible x-compilation
   default would be no.  
 
   Also please read README.

I should be able to define env variable enable_epoll=yes even if I'm
cross-compilating. And yes, it's also sensible to yes. 

exporting enable_epoll= make bind-tools build, but this bypass epoll
test
running with configure with --enable-epoll doesn't change anything, it
still fail on :
./configure --prefix=/usr --build=x86_64-pc-linux-gnu 
--host=i586-geode-linux-uclibc --mandir=/usr/share/man 
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc 
--localstatedir=/var/lib --enable-ipv6 --with-iconv --enable-epoll
checking for kqueue... no
checking epoll support... configure: error: cannot run test program while cross 
compiling
See `config.log' for more details.

-- 
Beber


signature.asc
Description: PGP signature
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Re: Fix bind 9.4.3_p2 cross-compilation

2009-04-18 Thread Mark Andrews

In message 20090418113920.2acbb...@jojo.scabb, Beber writes:
 exporting enable_epoll=3D make bind-tools build, but this bypass epoll
 test
 running with configure with --enable-epoll doesn't change anything, it
 still fail on :
 ./configure --prefix=3D/usr --build=3Dx86_64-pc-linux-gnu --host=3Di586-geo=
 de-linux-uclibc --mandir=3D/usr/share/man --infodir=3D/usr/share/info --dat=
 adir=3D/usr/share --sysconfdir=3D/etc --localstatedir=3D/var/lib --enable-i=
 pv6 --with-iconv --enable-epoll
 checking for kqueue... no
 checking epoll support... configure: error: cannot run test program while c=
 ross compiling
 See `config.log' for more details.
 
 --=20
 Beber

This is in the next maintenance release, yet to be released.
It's also in 9.6.1.

2521.   [bug]   Improve epoll cross compilation support. [RT #19047]

Index: configure.in
===
RCS file: /proj/cvs/prod/bind9/configure.in,v
retrieving revision 1.355.18.85
retrieving revision 1.355.18.94
diff -u -r1.355.18.85 -r1.355.18.94
--- configure.in21 Oct 2008 02:47:02 -  1.355.18.85
+++ configure.in15 Feb 2009 22:57:42 -  1.355.18.94
@@ -355,10 +355,10 @@
 # so we need to try running the code, not just test its existence.
 #
 AC_ARG_ENABLE(epoll,
-   [  --enable-epoll  use Linux epoll when available 
[[default=yes]]],
- want_epoll=$enableval,  want_epoll=yes)
+[  --enable-epoll  use Linux epoll when available [[default=auto]]],
+ want_epoll=$enableval,  want_epoll=auto)
 case $want_epoll in
-yes)
+auto)
AC_MSG_CHECKING(epoll support)
AC_TRY_RUN([
 #include sys/epoll.h
@@ -373,6 +373,9 @@
[AC_MSG_RESULT(no)
ISC_PLATFORM_HAVEEPOLL=#undef ISC_PLATFORM_HAVEEPOLL])
;;
+yes)
+   ISC_PLATFORM_HAVEEPOLL=#define ISC_PLATFORM_HAVEEPOLL 1
+   ;;
 *)
ISC_PLATFORM_HAVEEPOLL=#undef ISC_PLATFORM_HAVEEPOLL
;;
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: mark_andr...@isc.org
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users


can bind filter the result

2009-04-18 Thread Ken Lai
hi, i recently setup a DNS server used bind in Centos.

as I've set the server just forward the query to a public DNS server, my 
boss told me to filter some result that not to return. it means this server 
forward the query and get the result, if the result is in the blacklist, the 
server will not respond or something to the client.

i'm wondering the bind could make this done?

thanx in advance.
___
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users