ca-certificates: create a /etc/ssl/certs.pem symlink.

This makes python work to verify certs, thanks @dominikh.
This commit is contained in:
Juan RP 2015-03-06 10:08:49 +01:00
parent b3e77e9900
commit c1dc309ce6

View File

@ -1,7 +1,7 @@
# Template file for 'ca-certificates'
pkgname=ca-certificates
version=20141019
revision=2
revision=3
noarch="yes"
hostmakedepends="python"
depends="virtual?openssl run-parts"
@ -27,4 +27,5 @@ do_install() {
cd ${DESTDIR}/usr/share/ca-certificates
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
ln -s /etc/ssl/certs/ca-certificates.crt ${DESTDIR}/etc/ssl/certs.pem
}