[Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR
Date: Sun, 11 Feb 2024 06:57:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275449 --- Comment #7 from Martin Birgmeier <d8zNeCFG@aon.at> --- I am using the following patch: diff --git a/usr.sbin/certctl/certctl.sh b/usr.sbin/certctl/certctl.sh index 997a7d835d53..f95b4561d852 100755 --- a/usr.sbin/certctl/certctl.sh +++ b/usr.sbin/certctl/certctl.sh @@ -110,7 +110,7 @@ create_trusted() { local hash certhash otherfile otherhash local suffix - local link=${2:+-lm} + local link=${2:+-lrs} hash=$(do_hash "$1") || return certhash=$(openssl x509 -sha1 -in "$1" -noout -fingerprint) @@ -159,7 +159,7 @@ resolve_certname() create_untrusted() { local srcfile filename - local link=${2:+-lm} + local link=${2:+-lrs} set -- $(resolve_certname "$1") srcfile=$1 -- Martin -- You are receiving this mail because: You are the assignee for the bug.