ca-certificates: c_rehash -> openssl certhash (LibreSSL 2.1.4).

This commit is contained in:
Juan RP 2015-03-04 17:26:42 +01:00
parent 7765785b3e
commit 7fef7d9f48

View file

@ -1,7 +1,7 @@
# Template file for 'ca-certificates'
pkgname=ca-certificates
version=20141019
revision=1
revision=2
noarch="yes"
hostmakedepends="python"
depends="virtual?openssl run-parts"
@ -26,4 +26,5 @@ do_install() {
${DESTDIR}/usr/share/man/man8/update-ca-certificates.8
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
}