aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-01-31 22:41:11 +0800
committergarga <garga@FreeBSD.org>2006-01-31 22:41:11 +0800
commit8b8d2e13f90091b3c929dc62cbd77ccde6740f30 (patch)
tree9ddc2b979277cd222071ba503eb8a50aacd34eb6 /mail
parentd40818c2e0222c75a794599c5e31e5f3dd0639bd (diff)
downloadfreebsd-ports-gnome-8b8d2e13f90091b3c929dc62cbd77ccde6740f30.tar.gz
freebsd-ports-gnome-8b8d2e13f90091b3c929dc62cbd77ccde6740f30.tar.zst
freebsd-ports-gnome-8b8d2e13f90091b3c929dc62cbd77ccde6740f30.zip
Add qmail-smtpd-auth-close3.patch when SMTP_AUTH_PATCH is selected.
This is useful to fix a minor bug that occours after a failed authentication if you have morercpthosts configured.
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile11
-rw-r--r--mail/qmail/distinfo3
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 306e6faf83e7..4b8478943b38 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -12,6 +12,7 @@ CATEGORIES= mail
MASTER_SITES+= ${MASTER_SITE_QMAIL}
DISTNAME= ${PORTNAME}-${QMAIL_VERSION}
DISTFILES?= ${DISTNAME}${EXTRACT_SUFX}
+EXTRACT_ONLY?= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER?= garga@FreeBSD.org
COMMENT?= A secure, reliable, efficient, simple, and fast MTA
@@ -95,8 +96,7 @@ PATCH_DIST_STRIP+= -p1
PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,localtime,qmtpc_outgoingip/}
PATCH_SITE_SUBDIR+= garga/qmail/:dns,sendmail_flagf,rfc2821,ldap,mysql,tls,quota,blockexec,doublebounce,spf,localtime,qmtpc_outgoingip
-NO_PACKAGE= "djb\'s packaging license does not allow non-standard \
- qmail binary distributions"
+NO_PACKAGE= djb's packaging license does not allow non-standard qmail binary distributions
PREFIX?= ${QMAIL_PREFIX}
QMAIL_VERSION?= 1.03
@@ -311,7 +311,6 @@ DOCSDIR= ${PREFIX}/doc
.endif
NO_MTREE= yes
-USE_REINPLACE= yes
.include <bsd.port.pre.mk>
@@ -346,6 +345,9 @@ PLIST_SUB+= EXTERNAL_TODO="@comment "
.if defined(WITH_SMTP_AUTH_PATCH)
MASTER_SITES+= http://members.elysium.pl/brush/qmail-smtpd-auth/dist/:smtp_auth
DISTFILES+= qmail-smtpd-auth-${SMTP_AUTH_VERSION}.tar.gz:smtp_auth
+EXTRACT_ONLY+= qmail-smtpd-auth-${SMTP_AUTH_VERSION}.tar.gz
+MASTER_SITES+= http://tomclegg.net/qmail/:close3
+DISTFILES+= qmail-smtpd-auth-close3.patch:close3
.endif
.if defined(WITH_MAILDIRQUOTA_PATCH) && !defined(BARRIER_MAILDIRQUOTA_PATCH)
@@ -493,7 +495,7 @@ pre-everything::
@${ECHO_MSG} " work."
@${ECHO_MSG} ""
.endif
-
+
post-extract:
.if defined(SLAVE_SPAMCONTROL)
@cd ${WRKSRC} && ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${SPAMCONTROL_DIST}
@@ -508,6 +510,7 @@ post-patch:
@${PATCH} -d ${SMTP_AUTH_DIR} < ${FILESDIR}/auth.patch.patch-tls
. endif
@${PATCH} -d ${WRKSRC} < ${SMTP_AUTH_DIR}/auth.patch
+ @${PATCH} -d ${WRKSRC} < ${DISTDIR}/${DIST_SUBDIR}/qmail-smtpd-auth-close3.patch
.endif
.if defined(SLAVE_MYSQL)
@${REINPLACE_CMD} 's|/opt/mysql|${LOCALBASE}|' \
diff --git a/mail/qmail/distinfo b/mail/qmail/distinfo
index ed8077c16b8a..01fc6750a374 100644
--- a/mail/qmail/distinfo
+++ b/mail/qmail/distinfo
@@ -58,3 +58,6 @@ SIZE (qmail/qmail-1.03-tls-20021228-renato.patch) = 42095
MD5 (qmail/qmail-smtpd-auth-0.31.tar.gz) = 6b202f71a99fb41e9e32906017270ba0
SHA256 (qmail/qmail-smtpd-auth-0.31.tar.gz) = 1b439fa7e128de13fa80b86883f61a39d17b87b7e8916b6a0eab065bbe49b938
SIZE (qmail/qmail-smtpd-auth-0.31.tar.gz) = 8798
+MD5 (qmail/qmail-smtpd-auth-close3.patch) = 0ba66d73dcba1c68ed714b07e47abd3e
+SHA256 (qmail/qmail-smtpd-auth-close3.patch) = d933e871261d6740cebe5c21cad81146525cfe06a464e277979f61c1242b5ad4
+SIZE (qmail/qmail-smtpd-auth-close3.patch) = 520