summaryrefslogtreecommitdiff
path: root/mail/milter-greylist
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2006-10-12 13:14:43 +0000
committertron <tron@pkgsrc.org>2006-10-12 13:14:43 +0000
commita05ff95ce3caf90b3ca07606545bc4499ddd4a0b (patch)
tree9fd8a0cbcdee498843f27631d5259d310e67b9f4 /mail/milter-greylist
parent945f105f13a0753cf715d4f36bbd405eaf99d775 (diff)
downloadpkgsrc-a05ff95ce3caf90b3ca07606545bc4499ddd4a0b.tar.gz
Update "milter-greylist" package to version 3.0rc4.
Changes since version 2.1.2: - DNSRBL support in ACL - Per-ACL greylisting and autowhitelisting delays - ACL blacklist feature - Add support to use Sendmail macros in the ACL - Allow rejecting by tempfail on blacklist configuration - per-ACL SMTP error code and messages - Multi-line statement in the config file - Report matching ACL line number in the logs - Lists for from, rcpt, domain, netblocks and DNSRBL - Make log output consistent (Fredrik Pettai) - Tell local connexions are non IP instead of non IPv4 (Attila Bruncsak) - Faster ACL code - Option to log expired entries (Jeff Rife) - Cosmetic changes in debug logs (Fredrik Pettai) - A lot of bug and build fixes This fixes PR pkg/34793 by Eric Schnoebelen.
Diffstat (limited to 'mail/milter-greylist')
-rw-r--r--mail/milter-greylist/Makefile16
-rw-r--r--mail/milter-greylist/distinfo8
-rw-r--r--mail/milter-greylist/options.mk36
3 files changed, 48 insertions, 12 deletions
diff --git a/mail/milter-greylist/Makefile b/mail/milter-greylist/Makefile
index 7060843ab4d..a76f92da177 100644
--- a/mail/milter-greylist/Makefile
+++ b/mail/milter-greylist/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2006/04/23 00:12:38 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2006/10/12 13:14:43 tron Exp $
-DISTNAME= milter-greylist-2.1.2
-PKGREVISION= 2
+DISTNAME= milter-greylist-3.0rc4
CATEGORIES= mail
MASTER_SITES= ftp://ftp.espci.fr/pub/milter-greylist/
EXTRACT_SUFX= .tgz
@@ -11,11 +10,10 @@ HOMEPAGE= http://hcpnet.free.fr/milter-greylist/
COMMENT= Easy-to-use greylist milter for sendmail
-HAS_CONFIGURE= YES
-CONFIGURE_ARGS+=--with-user=smmsp
-CONFIGURE_ARGS+=--with-libspf_alt=${PREFIX:Q}
-CONFIGURE_ARGS+=--prefix=${PREFIX:Q}
-BUILD_TARGET= milter-greylist
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --with-user=smmsp
+
+BUILD_TARGET= milter-greylist
PKG_GROUPS= smmsp
PKG_USERS= smmsp:smmsp
@@ -23,6 +21,8 @@ PKG_GECOS.smmsp= Sendmail Message Submission Program
RCD_SCRIPTS= milter-greylist
+.include "options.mk"
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/milter-greylist
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/milter-greylist
diff --git a/mail/milter-greylist/distinfo b/mail/milter-greylist/distinfo
index 3f70688dd00..f7a6c31e3da 100644
--- a/mail/milter-greylist/distinfo
+++ b/mail/milter-greylist/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2006/01/08 14:09:06 tron Exp $
+$NetBSD: distinfo,v 1.13 2006/10/12 13:14:43 tron Exp $
-SHA1 (milter-greylist-2.1.2.tgz) = 32cce6a2838ca3101bf9c287a9f5b4812d889659
-RMD160 (milter-greylist-2.1.2.tgz) = b1061c371be69e8c8babd77c2010dea5efd97287
-Size (milter-greylist-2.1.2.tgz) = 120440 bytes
+SHA1 (milter-greylist-3.0rc4.tgz) = d7d1afdb8917c2187e37bdee252d252bb9f90433
+RMD160 (milter-greylist-3.0rc4.tgz) = df8696c4fe22e632a1b12d5548223060adb5bab3
+Size (milter-greylist-3.0rc4.tgz) = 140177 bytes
diff --git a/mail/milter-greylist/options.mk b/mail/milter-greylist/options.mk
new file mode 100644
index 00000000000..b8c31251fcb
--- /dev/null
+++ b/mail/milter-greylist/options.mk
@@ -0,0 +1,36 @@
+# $NetBSD: options.mk,v 1.1 2006/10/12 13:14:43 tron Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.milter-greylist
+PKG_SUPPORTED_OPTIONS= dnsrbl drac spf
+PKG_SUGGESTED_OPTIONS= dnsrbl spf
+
+.include "../../mk/bsd.options.mk"
+
+###
+### RNS Realtime Black List
+###
+.if empty(PKG_OPTIONS:Mdnsrbl)
+CONFIGURE_ARGS+= --disable-dnsrbl
+.else
+CONFIGURE_ARGS+= --enable-dnsrbl
+.endif
+
+###
+### Dynamic Relay Authorization Control
+###
+.if empty(PKG_OPTIONS:Mdrac)
+CONFIGURE_ARGS+= --disable-drac
+.else
+DRACD_DB?= /etc/mail/dracd.db
+
+CONFIGURE_ARGS+= --enable-drac --with-drac-db=${DRACD_DB}
+.endif
+
+###
+### Sender Policy Framework
+###
+.if !empty(PKG_OPTIONS:Mspf)
+.include "../../mail/libspf-alt/buildlink3.mk"
+
+CONFIGURE_ARGS+= --with-libspf_alt=${PREFIX:Q}
+.endif