[Bro] OpenBSD bro-1.1
jp.luiggi at free.fr
Thu May 25 12:55:25 PDT 2006
On Thu, May 25, 2006 at 02:51:02PM +0100, Christian Kreibich wrote:
> > - Make change into the various ".c" with the help of "#ifdef HAVE_NB_DNS"
> > as Stephan did (see a previous mail) in order to exclude the offending
> > functions to ever been used with OpenBSD.
> HAVE_NB_DNS is exactly what we're still doing in 1.1, but the fact that
> the build bombs on OpenBSD means that our configure check is somehow
> broken since it thinks that non-blocking DNS lookups (nbDNS) support is
> available while actually it isn't. Things should certainly still build
> even if support for nbDNS is not available.
I think you point out the problem with the "configure". :-)
> > - Install/Use the non blocking DNS library (with the package i talked about)
> > and make change into ./configure in order to specify the place where
> > the various definitions needed are.
> > Note that i prefer the second one even if it requires more job.
> Note that these options are not mutually exclusive. Configuration and
> build should complete if nbDNS is not available, while allowing you to
> specify any additional libraries/headers for getting this functionality
> via configure flags.
Yes, i just thought about this solution upon my last post <g>.
With this, we still could use OpenBSD with/without non blocking DNS.
> We currently do some hard-coded guesswork to figure out the nbDNS
> setting in configure, and it appears that we need more flexibility
Sounds like good.
I'm now trying to figure out how using correctly the non blocking
DNS library given by the OpenBSD bind's package.
More information about the Bro