aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail/Makefile
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-06-01 04:31:38 +0800
committerflz <flz@FreeBSD.org>2005-06-01 04:31:38 +0800
commit3d3f443a6a560efad19900fdb2bab1bdf62a9156 (patch)
tree10a5b19b15aba2a19249b4a287550479f2bcec0c /mail/qmail/Makefile
parent907c75af60a9d65c67333d99a3a671de66825420 (diff)
downloadfreebsd-ports-gnome-3d3f443a6a560efad19900fdb2bab1bdf62a9156.tar.gz
freebsd-ports-gnome-3d3f443a6a560efad19900fdb2bab1bdf62a9156.tar.zst
freebsd-ports-gnome-3d3f443a6a560efad19900fdb2bab1bdf62a9156.zip
- Add SPF checker patch.
PR: ports/81731 Submitted by: maintainer
Diffstat (limited to 'mail/qmail/Makefile')
-rw-r--r--mail/qmail/Makefile22
1 files changed, 19 insertions, 3 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index aeaf3629af21..c9ff93c4a536 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -46,9 +46,17 @@ BARRIER_QMAILQUEUE_PATCH= yes
.endif
.if defined(SLAVE_SPAMCONTROL)
-BARRIER_SENDMAIL_F_PATCH=yes
-BARRIER_BIG_TODO_PATCH=yes
-BARRIER_LOCALTIME_PATCH=yes
+BARRIER_SENDMAIL_F_PATCH= yes
+BARRIER_BIG_TODO_PATCH= yes
+BARRIER_LOCALTIME_PATCH= yes
+.endif
+
+.if defined(SLAVE_LDAP) || \
+ defined(SLAVE_MYSQL) || \
+ defined(SLAVE_SMTP_AUTH_TLS) || \
+ defined(SLAVE_SPAMCONTROL) || \
+ defined(SLAVE_TLS)
+BARRIER_SPF_PATCH= yes
.endif
.if !defined(BARRIER_DNS_PATCH)
@@ -137,6 +145,9 @@ OPTIONS+= BLOCKEXEC_PATCH "block many windows viruses/worms" off
.if !defined(BARRIER_DISCBOUNCES_PATCH)
OPTIONS+= DISCBOUNCES_PATCH "discard double-bounces" off
.endif
+.if !defined(BARRIER_SPF_PATCH)
+OPTIONS+= SPF_PATCH "Implement SPF checker" off
+.endif
.if defined(SLAVE_TLS) || defined(SLAVE_SMTP_AUTH_TLS)
OPTIONS+= TLS_DEBUG "enable additional debug information" off
.elif defined(SLAVE_LDAP)
@@ -306,6 +317,11 @@ PATCH_SITES+= http://www.alexdupre.com/qmail/:doublebounce
PATCHFILES+= qmail-discard-double-bounces.patch:doublebounce
.endif
+.if defined(WITH_SPF_PATCH) && !defined(BARRIER_SPF_PATCH)
+PATCH_SITES+= http://www.saout.de/misc/spf/:spf
+PATCHFILES+= qmail-spf-rc5.patch:spf
+.endif
+
.if !defined(BARRIER_DNS_PATCH) \
||(defined(WITH_QMAILQUEUE_PATCH) && !defined(BARRIER_QMAILQUEUE_PATCH)) \
||(defined(WITH_BIG_TODO_PATCH) && !defined(BARRIER_BIG_TODO_PATCH)) \