pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37064: mail/milter-greylist configure script ignores --disable-dnsrbl

>Number:         37064
>Category:       pkg
>Synopsis:       mail/milter-greylist configure script ignores --disable-dnsrbl
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 05 15:25:00 +0000 2007
>Originator:     Petar Bogdanovic
>Release:        NetBSD 4.0_BETA2
NetBSD 4.0_BETA2 NetBSD 4.0_BETA2 (GENERIC) #0:
Sun Jul 22 03:20:57 PDT 2007  builds@wb42:/home/builds/ab/netbsd-4/
compile/GENERIC i386
mail/milter-greylist does not handle:

PKG_OPTIONS.milter-greylist = -spf -dnsrbl

correctly. The configure script prints:

> --enable-dnsrbl used but DNS resolver is not thread safe
> Try installing BIND9 and using --with-libbind, or if you
> know what you are doing, use --with-thread-safe-resolve

even if --disable-dnsrbl is set.
Build mail/milter-greylist without dnsrbl.
The following patch worked for me but it's ugly (and wrong) since
I don't know much about autoconf:

--- configure.orig      2007-10-05 14:11:17.000000000 +0000
+++ configure   2007-10-05 14:13:08.000000000 +0000
@@ -9033,11 +9033,6 @@
   if test x$enableval = xyes -a $rdns = yes; then
                CFLAGS=$CFLAGS" -DUSE_DNSRBL"
-        else
-               echo "--enable-dnsrbl used but DNS resolver is not thread safe";
-               echo "Try installing BIND9 and using --with-libbind, or if you";
-               echo "know what you are doing, use --with-thread-safe-resolver";
-               exit 1;

Home | Main Index | Thread Index | Old Index