===> Installing for libressl-3.7.3_1 ===> Checking if libressl is already installed ===> Registering installation for libressl-3.7.3_1 Installing libressl-3.7.3_1... pkg-static: Fail to rename /usr/local/etc/ssl/.pkgtemp.certs.zMeSE7GtfK9S -> /usr/local/etc/ssl/certs:Is a directory
rm -rf /usr/local/etc/ssl/certs fix installation for me
% pkg provides /usr/local/etc/ssl/certs % uname -KU ; file /usr/local/etc/ssl/certs 1500000 1500000 /usr/local/etc/ssl/certs: cannot open `/usr/local/etc/ssl/certs' (No such file or directory) %
(In reply to Ivan Rozhuk from comment #1) Thanks for reporting, didn't think about this failure mode. I believe that in the upgrade, the original certs dir is not removed and therefor the symlink cannot be created :'(
(In reply to Bernard Spil from comment #3) Yes, I keep few certs in this dir. I just move it to /etc/..., but probably other users must be notified about requiring manual action.
Another error: [202/223] Extracting libressl-libtls-3.7.3_1: 85% pkg: Symlink /usr/local/etc/ssl/certs not specified in the manifest libtls have no deal with certs, this build based on OpenSSL.
Created attachment 245111 [details] patch This should fix the installation if etc/ssl/certs still exists as a directory.
Created attachment 249507 [details] revert to not touch /usr/local/etc/ssl I check OpenSSL and other ports - they do not modify /usr/local/etc/ssl. Probably better to not do anything with "etc" dir since this is user responsibility.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=36dad620780f4b8b5c523c05c57b1c82dbd42202 commit 36dad620780f4b8b5c523c05c57b1c82dbd42202 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2024-03-31 13:04:52 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2024-03-31 13:04:52 +0000 security/openssl: Fix for POSIX_VERSION 200809L * See https://github.com/openssl/openssl/pull/23885 PR: 273869 Reported by: imp Submitted by: vvd security/openssl-quictls/Makefile | 4 ++- security/openssl/Makefile | 2 +- .../patch-crypto_async_arch_async__posix.h (new) | 32 ++++++++++++++++++++++ security/openssl111/Makefile | 4 ++- security/openssl31-quictls/Makefile | 3 ++ security/openssl31/Makefile | 4 ++- security/openssl32/Makefile | 4 ++- 7 files changed, 48 insertions(+), 5 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7aaa5fe96fce5e4bfa086bda1d876ab198e979a commit c7aaa5fe96fce5e4bfa086bda1d876ab198e979a Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2024-03-31 13:20:48 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2024-03-31 13:20:48 +0000 security/openssl33: Update to 3.3.0.b1 * Bump from ALPHA to BETA * Fix for POSIX_VERSION 200809L [1] PR: 273869 [1] Reported by: imp [1] Submitted by: vvd [1] security/openssl33/Makefile | 4 +++- security/openssl33/distinfo | 6 +++--- security/openssl33/pkg-message | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-)
Is this now fixed? (Bug 275676 still remains, but that's a separate issue.)
(In reply to Vedran Miletic from comment #10) No. I use local patch that revert commit and only create dir if not exist. I do not agree with path logic by Tijl: if you want to switch to /etc/ssl - change it in code, not by creating symlink in mine /etc folders.