Subject: Re: pkg/37064 (mail/milter-greylist configure script ignores --disable-dnsrbl)
To: None <manu@NetBSD.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: pkgsrc-bugs
Date: 10/09/2007 13:30:03
The following reply was made to PR pkg/37064; it has been noted by GNATS.

From: manu@netbsd.org (Emmanuel Dreyfus)
To: gnats-bugs@NetBSD.org, pkg-manager@netbsd.org,
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, tron@netbsd.org,
	list+2007@smokva.net
Cc: 
Subject: Re: pkg/37064 (mail/milter-greylist configure script ignores --disable-dnsrbl)
Date: Tue, 9 Oct 2007 15:27:30 +0200

 <tron@netbsd.org> wrote:
 
 > Synopsis: mail/milter-greylist configure script ignores --disable-dnsrbl
 > 
 > Responsible-Changed-From-To: pkg-manager->manu
 > Responsible-Changed-By: tron@netbsd.org
 > Responsible-Changed-When: Tue, 09 Oct 2007 13:14:46 +0000
 > Responsible-Changed-Why:
 > This is not really a bug in the package but a bug in "milter-greylist" itself.
 > And its developer Emmanuel Dreyfus happens to be a NetBSD developer. :-)
 
 Does the patch below fix the problem? (crudely copy/pasted, so expect
 tab/space troubles, but it's simple enough to be applied by hand)
 
 Index: configure.ac
 ===================================================================
 RCS file: /milter-greylist/milter-greylist/configure.ac,v
 retrieving revision 1.225
 diff -U2 -r1.225 configure.ac
 --- configure.ac        5 Oct 2007 23:20:19 -0000       1.225
 +++ configure.ac        9 Oct 2007 13:26:13 -0000
 @@ -683,5 +683,5 @@
  AC_ARG_ENABLE(dnsrbl,
         [  --enable-dnsrbl      Enable DNSRBL support],
 -       [if test x$enableval = xyes; then
 +       [if test x$rdns = xyes; then
                 SAVEDCFLAGS=$CFLAGS" -DUSE_DNSRBL"
                 # For Debian
 Index: configure
 ===================================================================
 RCS file: /milter-greylist/milter-greylist/configure,v
 retrieving revision 1.225
 diff -U2 -r1.225 configure
 --- configure   5 Oct 2007 23:20:19 -0000       1.225
 +++ configure   9 Oct 2007 13:26:22 -0000
 @@ -9171,5 +9171,5 @@
  if test "${enable_dnsrbl+set}" = set; then
    enableval="$enable_dnsrbl"
 -  if test x$enableval = xyes; then
 +  if test x$rdns = xyes; then
                 SAVEDCFLAGS=$CFLAGS" -DUSE_DNSRBL"
                 # For Debian
 
 
 -- 
 Emmanuel Dreyfus
 http://hcpnet.free.fr/pubz
 manu@netbsd.org