mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 23:23:51 +02:00
ca-certificates: create a /etc/ssl/certs.pem symlink.
This makes python work to verify certs, thanks @dominikh.
This commit is contained in:
parent
b3e77e9900
commit
c1dc309ce6
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ca-certificates'
|
# Template file for 'ca-certificates'
|
||||||
pkgname=ca-certificates
|
pkgname=ca-certificates
|
||||||
version=20141019
|
version=20141019
|
||||||
revision=2
|
revision=3
|
||||||
noarch="yes"
|
noarch="yes"
|
||||||
hostmakedepends="python"
|
hostmakedepends="python"
|
||||||
depends="virtual?openssl run-parts"
|
depends="virtual?openssl run-parts"
|
||||||
|
@ -27,4 +27,5 @@ do_install() {
|
||||||
cd ${DESTDIR}/usr/share/ca-certificates
|
cd ${DESTDIR}/usr/share/ca-certificates
|
||||||
find . -name '*.crt' | sort | cut -b3- > ${DESTDIR}/etc/ca-certificates.conf
|
find . -name '*.crt' | sort | cut -b3- > ${DESTDIR}/etc/ca-certificates.conf
|
||||||
sed -i 's,c_rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
|
sed -i 's,c_rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
|
||||||
|
ln -s /etc/ssl/certs/ca-certificates.crt ${DESTDIR}/etc/ssl/certs.pem
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue