summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-10-11 09:49:59 +0000
committertron <tron@pkgsrc.org>2007-10-11 09:49:59 +0000
commit38a824048f2d16d386d0292b9d486344739a2320 (patch)
tree499b7e627939dc4728bb4e629f14d5e54ee95bc0
parent211c0a54b11ef7abfeed660770aa004388401ab6 (diff)
downloadpkgsrc-38a824048f2d16d386d0292b9d486344739a2320.tar.gz
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.
-rw-r--r--mail/milter-greylist/distinfo3
-rw-r--r--mail/milter-greylist/patches/patch-ad13
2 files changed, 15 insertions, 1 deletions
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";