aboutsummaryrefslogtreecommitdiffstats
path: root/mail/qmail
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2008-10-02 03:18:10 +0800
committerRenato Botelho <garga@FreeBSD.org>2008-10-02 03:18:10 +0800
commitb1263ba7413df50d7c0be164b7c00f87e12f0d8f (patch)
tree255e960248043daaee5cf911a0c4187071265606 /mail/qmail
parent773ec42e9c8170ff9375f08310db277470ddee68 (diff)
downloadfreebsd-ports-gnome-b1263ba7413df50d7c0be164b7c00f87e12f0d8f.tar.gz
freebsd-ports-gnome-b1263ba7413df50d7c0be164b7c00f87e12f0d8f.tar.zst
freebsd-ports-gnome-b1263ba7413df50d7c0be164b7c00f87e12f0d8f.zip
- Fix a bug detected on spamcontrol patch. This but is in qmail-smtpd.c, when
qmail_close return a reason that starts with char 'D', smtpd rejects the message using a QHPSI virus_found message. - Bump qmail-spamcontrol's PORTREVISION Reported by: Wendell Martins Borges <wendellmartins@mac.com> Tested by: Wendell Martins Borges <wendellmartins@mac.com>
Diffstat (limited to 'mail/qmail')
-rw-r--r--mail/qmail/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index fbe9faa667a5..119d782ecc13 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -599,6 +599,8 @@ post-patch:
${WRKSRC}/qmail-smtpd.c
. endif
. endif
+ @${REINPLACE_CMD} -E "/qhpsi *= *\"unknown\"/d; s/(\*qqx *== *'D')/qhpsi \&\& \1/g" \
+ ${WRKSRC}/qmail-smtpd.c
.elif defined(SLAVE_TLS)
@${HEAD} -105 ${DISTDIR}/${DIST_SUBDIR}/qmail-1.03-tls-${TLS_PATCH_DATE}-renato.patch > \
${WRKDIR}/TLS.readme