Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 06:57:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275449] certctl: changed link flags lead to inconsistencies when installing into non-standard DESTDIR
Message-ID:  <bug-275449-227-fk70Br3Ur7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275449-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275449-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275449

--- 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=3D${2:+-lm}
+       local link=3D${2:+-lrs}

        hash=3D$(do_hash "$1") || return
        certhash=3D$(openssl x509 -sha1 -in "$1" -noout -fingerprint)
@@ -159,7 +159,7 @@ resolve_certname()
 create_untrusted()
 {
        local srcfile filename
-       local link=3D${2:+-lm}
+       local link=3D${2:+-lrs}

        set -- $(resolve_certname "$1")
        srcfile=3D$1

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275449-227-fk70Br3Ur7>