aboutsummaryrefslogtreecommitdiff
path: root/mail/qmail
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-05-31 20:31:38 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-05-31 20:31:38 +0000
commit165b7a397f7d14491f2ff6c24b811022089c0f16 (patch)
tree620cfd108019aa308942a0552ae8834cda0cfb8a /mail/qmail
parenta3d3f41381bfd8535ccd4f0b3af39157e4bdff0a (diff)
- Add SPF checker patch.
PR: ports/81731 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=136562
Diffstat (limited to 'mail/qmail')
-rw-r--r--mail/qmail/Makefile22
-rw-r--r--mail/qmail/distinfo2
2 files changed, 21 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)) \
diff --git a/mail/qmail/distinfo b/mail/qmail/distinfo
index 8df0538e95e6..2caefabe0877 100644
--- a/mail/qmail/distinfo
+++ b/mail/qmail/distinfo
@@ -34,3 +34,5 @@ MD5 (qmail/qmail-block-executables.patch) = e425b420e5251b4882fc699f7822f7a0
SIZE (qmail/qmail-block-executables.patch) = 5070
MD5 (qmail/qmail-discard-double-bounces.patch) = 55d45bb8d2c3822a0e3544058aa5a3a3
SIZE (qmail/qmail-discard-double-bounces.patch) = 1305
+MD5 (qmail/qmail-spf-rc5.patch) = 434bd84b87e2027cfa643673c498bd6f
+SIZE (qmail/qmail-spf-rc5.patch) = 63582