- 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>
This commit is contained in:
Renato Botelho 2008-10-01 19:18:10 +00:00
parent 773ec42e9c
commit b1263ba741
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=221093
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= qmail
PORTVERSION= ${QMAIL_VERSION}.${SPAMCONTROL_VERSION}
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= mail
MASTER_SITES+= http://www.fehcom.de/qmail/spamcontrol/:spamcontrol \
${MASTER_SITE_LOCAL:S/$/:spamcontrol/}

View File

@ -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