From nobody Fri Oct 29 03:10:08 2021 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C7AB2181AD4E; Fri, 29 Oct 2021 03:12:22 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HgSCV5Jq8z3NVX; Fri, 29 Oct 2021 03:12:22 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from localhost (gate.home.utahime.org [183.180.29.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: yasu/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 87D70F367; Fri, 29 Oct 2021 03:12:21 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Fri, 29 Oct 2021 12:10:08 +0900 (JST) Message-Id: <20211029.121008.459367178562166544.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 From: Yasuhiro Kimura 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> X-Mailer: Mew version 6.8 on Emacs 29.0.50 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N From: Yasuhiro Kimura 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: