From nobody Thu Oct 28 18:52:41 2021 X-Original-To: dev-commits-ports-main@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 C354F1823002; Thu, 28 Oct 2021 18:53:17 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4HgF7d4X5Xz4pxh; Thu, 28 Oct 2021 18:53:17 +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 3F0DEA9BE; Thu, 28 Oct 2021 18:53:16 +0000 (UTC) (envelope-from yasu@FreeBSD.org) Date: Fri, 29 Oct 2021 03:52:41 +0900 (JST) Message-Id: <20211029.035241.1853772531382636301.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: <87cznpjach.wl-herbert@mailbox.org> References: <202110280007.19S07MMW076891@gitrepo.freebsd.org> <87cznpjach.wl-herbert@mailbox.org> X-Mailer: Mew version 6.8 on Emacs 29.0.50 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N From: "Herbert J. Skuhra" Subject: Re: git: d356121270d7 - main - mail/postfix{,-ldap-sasl,-sasl}: Flavorize Date: Thu, 28 Oct 2021 20:03:10 +0200 > Hi, > > I had to postmap all my hash files because of "inappropriate file type > or format" error. The file format changed from "Berkeley DB (Btree, > version 9, native byte-order)" to "Berkeley DB 1.85". Is this expected? > > In both cases ldd (e.g. postfix, postmap) lists libdb-5.3.so.0? > > -- > Herbert On my home server hash files were last modified on April 14th. ---------------------------------------------------------------------- yasu@eastasia[3604]% LANG=C ls -lc /etc/mail/aliases.db /usr/local/etc/postfix/mailbox_commands.db ~ -rw-r----- 1 root wheel 131072 Apr 14 2021 /etc/mail/aliases.db -rw-r--r-- 1 root wheel 131072 Apr 14 2021 /usr/local/etc/postfix/mailbox_commands.db ---------------------------------------------------------------------- And they are "Berkeley DB 1.85 (Hash, version 2, native byte-order)". ---------------------------------------------------------------------- yasu@eastasia[3605]% LANG=C file /etc/mail/aliases.db /usr/local/etc/postfix/mailbox_commands.db /etc/mail/aliases.db: Berkeley DB 1.85 (Hash, version 2, native byte-order) /usr/local/etc/postfix/mailbox_commands.db: Berkeley DB 1.85 (Hash, version 2, native byte-order) ---------------------------------------------------------------------- According to Bugzilla, I submitted first version of my patch on May 6th. Perhaps I created the patch a few days before that. That is, on my environment hash files are "Berkeley DB 1.85 (Hash, version 2, native byte-order)" before I created the patch and applied it to my home server. As for the output of ldd, libdb-??.so isn't listed. ---------------------------------------------------------------------- yasu@eastasia[3607]% LANG=C ldd /usr/local/sbin/postfix | fgrep libdb yasu@eastasia[3608]% LANG=C ldd /usr/local/sbin/postmap | fgrep libdb ---------------------------------------------------------------------- Is there any customization setting about either postfix or berkeley db in your make.conf? There is 'DEFAULT_VERSIONS+=bdb=18' in my make.conf but it doesn't seem to affect to postfix. --- Yasuhiro Kimura