pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/milter-greylist Use "libspf2" if SPF support is e...
details: https://anonhg.NetBSD.org/pkgsrc/rev/966524820ba2
branches: trunk
changeset: 549110:966524820ba2
user: tron <tron%pkgsrc.org@localhost>
date: Mon Oct 27 19:40:11 2008 +0000
description:
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:
mail/milter-greylist/Makefile | 3 ++-
mail/milter-greylist/options.mk | 10 ++++++----
2 files changed, 8 insertions(+), 5 deletions(-)
diffs (35 lines):
diff -r a0e97d3be841 -r 966524820ba2 mail/milter-greylist/Makefile
--- a/mail/milter-greylist/Makefile Mon Oct 27 19:36:54 2008 +0000
+++ b/mail/milter-greylist/Makefile Mon Oct 27 19:40:11 2008 +0000
@@ -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 -r a0e97d3be841 -r 966524820ba2 mail/milter-greylist/options.mk
--- a/mail/milter-greylist/options.mk Mon Oct 27 19:36:54 2008 +0000
+++ b/mail/milter-greylist/options.mk Mon Oct 27 19:40:11 2008 +0000
@@ -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 @@
###
### 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
Home |
Main Index |
Thread Index |
Old Index