git: DragonFly_RELEASE_6_4 usr/Makefile: Fix SSL verification issue in pkg bootstrap

Aaron LI aly at crater.dragonflybsd.org
Fri Feb 3 01:45:20 PST 2023


commit 8e33bc3ab105fb37a130e8a41070f2d028434e23
Author: Aaron LI <aly at aaronly.me>
Date:   Fri Feb 3 13:37:17 2023 +0800

    usr/Makefile: Fix SSL verification issue in pkg bootstrap
    
    * Use environment variable 'SSL_NO_VERIFY_PEER=1' to let both fetch(1)
      and pkg-static(8) not verify peer when there is not yet a CA store
      (i.e., /etc/ssl/cert.pem from port 'security/ca_root_nss').
    * Only check the existence of '/etc/ssl/cert.pem' as fetch(1) only
      checks that by default.
    * The newer pkg bootstrap directly provides 'df-latest.conf', so no need
      to copy it from the sample file.  Fix the code to take it into
      account.
    
    Bug: https://bugs.dragonflybsd.org/issues/3338

Summary of changes:
 etc/Makefile.usr | 29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8e33bc3ab105fb37a130e8a41070f2d028434e23


-- 
DragonFly BSD source repository


More information about the Commits mailing list