Hi, I built security/cyrus-sasl2 package with security/openssl using poudriere. Since security/openssl package upgraded to 1.1.1, I rebuilt these packages and upgrade them. /usr/local/etc/sasldb2 disappeared. ----- [1/43] Upgrading openssl from 1.0.2u,1 to 1.1.1d,1... [1/43] Extracting openssl-1.1.1d,1: .......... done : [5/43] Reinstalling cyrus-sasl-2.1.27... *** Updated user `cyrus'. [5/43] Extracting cyrus-sasl-2.1.27: .......... done Shared object "libcrypto.so.9" not found, required by "sasldblistusers2" *** We do not create /usr/local/etc/sasldb2 automatically in *** BATCH mode. Please create it by yourself. It should be *** owner: cyrus, group: mail, mode: 0640. ----- I think delete_sasldb() function in files/pkg-deinstall.in should check exit status of "sasldblistusers2" command or never remove sasldb2. Thanks.
A commit references this bug: Author: ume Date: Thu Jan 16 15:08:09 UTC 2020 New revision: 523238 URL: https://svnweb.freebsd.org/changeset/ports/523238 Log: check exit status of sasldblistusers2 when deinstalling cyrus-sasl2 package. PR: 243363 Reported by: hsakamt__at__tsnr.com Changes: head/security/cyrus-sasl2/files/pkg-deinstall.in
Thank you for the suggestion. I've just committed the change to check exit status of sasldblistusers2.