> I don't think this adds a dependency to the package

The README to version 4.0 states:
> Optional dependencies:
> - libbind from BIND 9, for DNSRBL support, except if your system has a
>   thread-safe DNS resolver built-in.

This appears to be better documentation than the README in version
3.0, which only mentioned it in the following light:
> You must link milter-greylist with a thread-safe resolver, else the
> milter will be unstable (see the explanation in the SPF section).
> 
> If your resolver is not thread safe, install BIND9, and use 
> --with-libbind. If you know your resolver is thread-safe but 
> configure tells otherwise (because you lack the res_ninit()
> function), then use --with-thread-safe-resolver.

So the question is, what provides a "thread-safe DNS resolver" ?

$ dpkg -l '*dns*'|grep ^i
ii dnsutils       9.3.4-2etch1 Clients provided with BIND
ii libdns22       9.3.4-2etch1 DNS Shared Library used by BIND
ii libnet-dns-per 0.59-1       Perform DNS queries from a Perl script
ii libnss-mdns    0.9-0.2      NSS module for Multicast DNS name reso

How standard is libdns22?  Does it satisfy the dependency, or was that
something else on my system?  That appears to be the libbind library,
BUT, compiling with --with-libbind fails, reporting "neither -lbind
nor -lbind9 worked."

My compilation without the bind specification triggered this log
output and successfully built the application:

> configure:9104: checking if DNS resolver is re-entrant
> configure:9134: i486-linux-gnu-gcc -c -Wall -g -O2 -Wall -Iyes/include \
>                 -D_XOPEN_SOURCE=500 -Wall  conftest.c >&5
> configure:9144: test -z
>                          || test ! -s conftest.err
> configure:9147: $? = 0
> configure:9150: test -s conftest.o
> configure:9153: $? = 0
> configure:9163: result: yes
> configure:9195: i486-linux-gnu-gcc -o conftest  -Wl,-z,defs \
>                 -L/usr/lib/libmilter -Lyes/lib -Wl,--rpath=yes/lib \
>                 conftest.c  -lpthread -lspf2 -lresolv -lnsl
>                 -lmilter >&5e:9205: test -z

I don't know how to make heads or tails of that; maybe it's -lresolv?


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages milter-greylist depends on:
ii  adduser      3.102             Add and remove users and groups
ii  libc6        2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libmilter0   8.13.8-3          Sendmail Mail Filter API (Milter)
ii  libspf2-2    1.2.5-4           Sender Policy Framework library, w

Versions of packages milter-greylist recommends:
ii  sendmail     8.13.8-3          powerful, efficient, and scalable

-- no debconf information




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to