xbps-custom: Fixed security certificate verification
This commit is contained in:
parent
981b5efe13
commit
593b6ae5ca
|
@ -7,6 +7,9 @@ post)
|
|||
for f in usr/bin/xbps-*; do
|
||||
ln -sr $f usr/sbin/$(basename $f)
|
||||
done
|
||||
|
||||
# Fix certificate verification issue
|
||||
ln -s /etc/ssl/certs.pem /etc/ssl/cert.pem
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
|
||||
To correct the certificate verification problem, do either of the following two suggestions:
|
||||
|
||||
# echo "export SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> /etc/profile
|
||||
$ echo "export SSL_CA_CERT_FILE=/etc/ssl/certs.pem" >> "$HOME"/.profile
|
||||
|
||||
Once you have done the above, restart the session for the change to take effect.
|
||||
|
||||
NOTE:
|
||||
The first option will be effective for the entire system and will work for all users who use the computer.
|
||||
The second option will only work for the current user session.
|
|
@ -0,0 +1,5 @@
|
|||
case "${ACTION}" in
|
||||
pre)
|
||||
unlink /etc/ssl/cert.pem
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'xbps'
|
||||
pkgname=xbps
|
||||
version=21.1
|
||||
revision=3
|
||||
revision=4
|
||||
archs="i686 x86_64 x86_64-musl"
|
||||
bootstrap=yes
|
||||
build_style=configure
|
||||
|
|
Loading…
Reference in New Issue