summaryrefslogtreecommitdiff
path: root/mail/postfix/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2020-11-22 11:14:44 +0000
committeradam <adam@pkgsrc.org>2020-11-22 11:14:44 +0000
commit94a150bb59e7ee07ff7c1fde5dcfa17e961bf0ac (patch)
tree33b816c356702bf18f4942651c76da8086b34ab3 /mail/postfix/Makefile
parente8dccf87d34768424d10ad1132275338c485b4ca (diff)
downloadpkgsrc-94a150bb59e7ee07ff7c1fde5dcfa17e961bf0ac.tar.gz
postfix: updated to 3.5.8
Fixed in Postfix version 3.5.8: [Postfix 3.5 and later] The Postfix SMTP client inserted <CR><LF> into message headers with lines longer than $line_length_limit (default: 2048), causing all subsequent header content to become message body content. Reported by Andreas Weigel. Fixed in Postfix versions 3.5.8, 3.4.18, 3.3.15, 3.2.20: [Postfix 2.8 and later] The postscreen daemon did not save a copy of the postscreen_dnsbl_reply_map lookup result. This has no effect when the recommended texthash: lookup table is used, but it could result in stale data with other lookup tables. [Postfix 2.3 and later] After deleting a recipient with a Milter, the Postfix recipient duplicate filter was not updated; the filter suppressed requests to add the recipient back. Reported by Mehmet Avcioglu. [Postfix 2.3 and later] Memory leak: the static: maps did not free their casefolding buffer. [Postfix 2.2 and later] With "smtpd_tls_wrappermode = yes", the smtps service was waiting for a TLS handshake, after processing an XCLIENT command. Reported by Aki Tuomi. [Postfix 2.0 and later] The smtp_sasl_mechanism_filter implementation ignored table lookup errors, treating them as 'not found'. [Postfix alpha and later] The code that looks for Delivered-To: headers ignored headers longer than $line_length_limit (default: 2048).
Diffstat (limited to 'mail/postfix/Makefile')
-rw-r--r--mail/postfix/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index 6baa24ce99f..c896edf1c01 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.324 2020/11/05 09:08:36 ryoon Exp $
+# $NetBSD: Makefile,v 1.325 2020/11/22 11:14:44 adam Exp $
-PKGREVISION= 2
.include "../../mail/postfix/Makefile.common"
COMMENT= Fast, easy to administer, and secure mail transfer agent
@@ -55,8 +54,8 @@ SUBST_STAGE.paths= pre-configure
INSTALLATION_DIRS+= ${LIBEXECDIR} ${METADIR} ${SHLIBDIR} ${EXAMPLEDIR} ${DOCDIR}
post-extract:
- cp ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
- rm -f ${WRKSRC}/auxiliary/MacOSX/Postfix.StartupItem/Postfix
+ ${CP} ${FILESDIR}/mailer.conf ${WRKDIR}/mailer.conf
+ ${RM} -f ${WRKSRC}/auxiliary/MacOSX/Postfix.StartupItem/Postfix
post-build:
.if !empty(PKG_OPTIONS:Msasl)
@@ -64,7 +63,7 @@ post-build:
.endif
do-install:
- rm -f ${WRKSRC}/conf/*.orig
+ ${RM} -f ${WRKSRC}/conf/*.orig
.if !empty(PKG_OPTIONS:Msasl)
${INSTALL_DATA} ${WRKDIR}/smtpd.conf ${DESTDIR}${EXAMPLEDIR}
.endif
@@ -79,5 +78,19 @@ do-install:
.for dir in ${POSTFIX_QUEUE_SUBDIR}
${RMDIR} ${DESTDIR}${POSTFIX_QUEUE_DIR}/${dir}
.endfor
+.if ${OPSYS} == "Darwin"
+ for f in ${DESTDIR}${PREFIX}/lib/postfix/lib*.dylib; do \
+ install_name_tool -id `${ECHO} $$f | ${SED} -e 's,${DESTDIR},,g'` $$f; \
+ done
+ for f in ${DESTDIR}${PREFIX}/libexec/postfix/* ${DESTDIR}${PREFIX}/sbin/*; do \
+ install_name_tool \
+ -change @rpath/libpostfix-dns.dylib ${PREFIX}/lib/postfix/libpostfix-dns.dylib \
+ -change @rpath/libpostfix-global.dylib ${PREFIX}/lib/postfix/libpostfix-global.dylib \
+ -change @rpath/libpostfix-master.dylib ${PREFIX}/lib/postfix/libpostfix-master.dylib \
+ -change @rpath/libpostfix-tls.dylib ${PREFIX}/lib/postfix/libpostfix-tls.dylib \
+ -change @rpath/libpostfix-util.dylib ${PREFIX}/lib/postfix/libpostfix-util.dylib \
+ $$f; \
+ done
+.endif
.include "../../mk/bsd.pkg.mk"