From 38a824048f2d16d386d0292b9d486344739a2320 Mon Sep 17 00:00:00 2001 From: tron Date: Thu, 11 Oct 2007 09:49:59 +0000 Subject: Don't check for a thread-safe resolver library if both SPF and DNS RBL support are disabled. Based on a patch by Emmanuel Dreyfus. This should fix PR pkg/37064 by Petar Bogdanovic. --- mail/milter-greylist/distinfo | 3 ++- mail/milter-greylist/patches/patch-ad | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 mail/milter-greylist/patches/patch-ad diff --git a/mail/milter-greylist/distinfo b/mail/milter-greylist/distinfo index 3d17ab87de6..877bfa83bf1 100644 --- a/mail/milter-greylist/distinfo +++ b/mail/milter-greylist/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.18 2007/03/07 17:33:51 gdt Exp $ +$NetBSD: distinfo,v 1.19 2007/10/11 09:49:59 tron Exp $ SHA1 (milter-greylist-3.0.tgz) = 38b334300fe1141a8329fe198754e63286981129 RMD160 (milter-greylist-3.0.tgz) = 6391883be9076b1f790ab582070b152b80e2050c @@ -6,3 +6,4 @@ Size (milter-greylist-3.0.tgz) = 141461 bytes SHA1 (patch-aa) = 2e31f7db50a8aac45e21e4ae4642d0c6631e8c78 SHA1 (patch-ab) = c2f0859a0b9353c59810c330fbaddb9f7634daee SHA1 (patch-ac) = 7409182f4d5870615183e9e3d4baa27084a4c4d5 +SHA1 (patch-ad) = f78435062740966a04b8be96d73ec070c0925354 diff --git a/mail/milter-greylist/patches/patch-ad b/mail/milter-greylist/patches/patch-ad new file mode 100644 index 00000000000..3ae69ee24f5 --- /dev/null +++ b/mail/milter-greylist/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2007/10/11 09:49:59 tron Exp $ + +--- configure.orig 2006-11-20 20:51:36.000000000 +0000 ++++ configure 2007-10-11 10:37:03.000000000 +0100 +@@ -9031,7 +9031,7 @@ + # Check whether --enable-dnsrbl or --disable-dnsrbl was given. + if test "${enable_dnsrbl+set}" = set; then + enableval="$enable_dnsrbl" +- if test x$enableval = xyes -a $rdns = yes; then ++ if test $rdns = yes; then + CFLAGS=$CFLAGS" -DUSE_DNSRBL" + else + echo "--enable-dnsrbl used but DNS resolver is not thread safe"; -- cgit v1.2.3