summaryrefslogtreecommitdiff
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2008-10-27 19:40:11 +0000
committertron <tron@pkgsrc.org>2008-10-27 19:40:11 +0000
commit3544fe91cda5759ac4b870b86299f2748ec3767d (patch)
treebb4a8e4dc19a023323db5e4f37c32608295bf91f /mail/milter-greylist
parent1abcbef38fe6daae330b9ee50de9252edf2c541a (diff)
downloadpkgsrc-3544fe91cda5759ac4b870b86299f2748ec3767d.tar.gz
Use "libspf2" if SPF support is enabled (the default) because "libspf_alt"
is unmaintained and leaks memory. Bump package revision because of this change. Problem pointed out by Fredrik Pettai in private e-mail.
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/Makefile3
-rw-r--r--mail/milter-greylist/options.mk10
2 files changed, 8 insertions, 5 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 8bb6880fe65..9f17e7e5057 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.37 2008/10/03 23:22:50 gdt Exp $
+# $NetBSD: Makefile,v 1.38 2008/10/27 19:40:11 tron Exp $
DISTNAME= milter-greylist-4.0.1
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
EXTRACT_SUFX= .tgz
diff --git a/mail/milter-greylist/options.mk b/mail/milter-greylist/options.mk
index 2ad4032df7f..7e181a753e6 100644
--- a/mail/milter-greylist/options.mk
+++ b/mail/milter-greylist/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.4 2007/12/14 18:57:54 tron Exp $
+# $NetBSD: options.mk,v 1.5 2008/10/27 19:40:11 tron Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist
PKG_SUPPORTED_OPTIONS= dnsrbl drac spf
@@ -27,8 +27,10 @@ CONFIGURE_ARGS+= --enable-drac --with-drac-db=${DRACD_DB}
###
### Sender Policy Framework
###
-.if !empty(PKG_OPTIONS:Mspf)
-.include "../../mail/libspf-alt/buildlink3.mk"
+.if empty(PKG_OPTIONS:Mspf)
+CONFIGURE_ARGS+= --disable-libspf2
+.else
+.include "../../mail/libspf2/buildlink3.mk"
-CONFIGURE_ARGS+= --with-libspf_alt=${PREFIX:Q}
+CONFIGURE_ARGS+= --with-libspf2=${PREFIX:Q}
.endif