Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Oct 2021 12:10:08 +0900 (JST)
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        herbert@mailbox.org
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: d356121270d7 - main - mail/postfix{,-ldap-sasl,-sasl}: Flavorize
Message-ID:  <20211029.121008.459367178562166544.yasu@FreeBSD.org>
In-Reply-To: <20211029.051953.2256759812099365783.yasu@FreeBSD.org>
References:  <87cznpjach.wl-herbert@mailbox.org> <20211029.035241.1853772531382636301.yasu@FreeBSD.org> <20211029.051953.2256759812099365783.yasu@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Yasuhiro Kimura <yasu@FreeBSD.org>
Subject: Re: git: d356121270d7 - main - mail/postfix{,-ldap-sasl,-sasl}: Flavorize
Date: Fri, 29 Oct 2021 05:19:53 +0900 (JST)

> I succeeded to reproduce your issue by enabling DBD option of
> mail/postfix and using database/db5 as berkeley db. I'll investigate
> and fix it ASAP.

Would you please try attached patch?

Best Regards.

---
Yasuhiro Kimura

diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile
index dfd8d972c4da..623250d45e41 100644
--- a/mail/postfix/Makefile
+++ b/mail/postfix/Makefile
@@ -36,7 +36,7 @@ sasl_CONFLICTS_INSTALL=		postfix-[0-9]* postfix-base-[0-9]* \
 COMMENT_ldap=	(with OpenLDAP and Cyrus SASL support)
 COMMENT_sasl=	(with Cyrus SASL support)
 
-USES=		cpe shebangfix
+USES=		cpe shebangfix ssl
 USE_RC_SUBR=	postfix
 USE_SUBMAKE=	yes
 
@@ -277,19 +277,20 @@ POSTFIX_DYN_AUXLIBS+=	"AUXLIBS_LMDB=-L${LOCALBASE}/lib -llmdb"
 .endif
 
 # sed script for files in ${WRKSRC}/README_FILES ${WRKSRC}/conf ${WRKSRC}/man
-REINPLACE=	s!^PATH=.*!PATH=/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin!; \
-		s!(_directory = )/usr/!\1${PREFIX}/!g; s!^(data_directory = \
-		/var/)lib/!\1db/!g; s!^\#(mynetworks_style = host)!\1!g; \
-		s!^(sendmail_path =)!\1 ${PREFIX}/sbin/sendmail!g; \
-		s!^(newaliases_path =)!\1 ${PREFIX}/bin/newaliases!g; \
-		s!^(mailq_path =)!\1 ${PREFIX}/bin/mailq!g; s!^(setgid_group \
-		=)!\1 maildrop!g; s!^(manpage_directory =)!\1 \
-		${MANPREFIX}/man!g; s!^((html|readme)_directory =)!\1 \
-		${READMEDIR}!g; \!^\#alias_database = \
-		dbm:/etc/mail/aliases$$!d; s!(:|= \
-		)/etc/postfix!\1$$config_directory!g; \
-		s!/etc/postfix!${ETCDIR}!g; s!^(sample_directory =)!\1 \
-		${ETCDIR}!g; \
+REINPLACE=	s!^PATH=.*!PATH=/bin:/sbin:/usr/bin:/usr/sbin:${PREFIX}/bin:${PREFIX}/sbin!;\
+		s!(_directory = )/usr/!\1${PREFIX}/!g;\
+		s!^(data_directory = /var/)lib/!\1db/!g;\
+		s!^\#(mynetworks_style = host)!\1!g;\
+		s!^(sendmail_path =)!\1 ${PREFIX}/sbin/sendmail!g;\
+		s!^(newaliases_path =)!\1 ${PREFIX}/bin/newaliases!g;\
+		s!^(mailq_path =)!\1 ${PREFIX}/bin/mailq!g;\
+		s!^(setgid_group =)!\1 maildrop!g;\
+		s!^(manpage_directory =)!\1 ${MANPREFIX}/man!g;\
+		s!^((html|readme)_directory =)!\1 ${READMEDIR}!g;\
+		\!^\#alias_database = dbm:/etc/mail/aliases$$!d;\
+		s!(:|= )/etc/postfix!\1$$config_directory!g;\
+		s!/etc/postfix!${ETCDIR}!g;\
+		s!^(sample_directory =)!\1 ${ETCDIR}!g;\
 		s!($config_directory/(access|aliases|canonical|generic|header_checks|relocated|transport|virtual):f:root:-:644:)p1!\1o!;
 
 pre-patch:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211029.121008.459367178562166544.yasu>