git: usr/Makefile: Fix SSL verification issue in pkg bootstrap
Aaron LI
aly at crater.dragonflybsd.org
Fri Feb 3 01:42:26 PST 2023
commit f09f790e044c4db2c29e113cc09d7d1ebce8fdbd
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/f09f790e044c4db2c29e113cc09d7d1ebce8fdbd
--
DragonFly BSD source repository
More information about the Commits
mailing list