ca-certificates: rebuild for openssl

This commit is contained in:
John 2020-04-09 22:04:35 +02:00
parent d90dba0ae2
commit c8e27f79a7

View file

@ -1,12 +1,12 @@
# Template file for 'ca-certificates'
pkgname=ca-certificates
version=20210119
revision=1
revision=2
bootstrap=yes
conf_files="/etc/ca-certificates.conf"
wrksrc="work"
hostmakedepends="libressl"
depends="libressl>=2.2.4_2 run-parts"
hostmakedepends="openssl"
depends="openssl<=2.0_1 run-parts"
short_desc="Common CA certificates for SSL/TLS"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, MPL-2.0"
@ -37,7 +37,6 @@ 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
vsed -i 's,openssl rehash,openssl certhash,g' ${DESTDIR}/usr/sbin/update-ca-certificates
mv ${DESTDIR}/usr/sbin/* ${DESTDIR}/usr/bin
ln -s /etc/ssl/certs/ca-certificates.crt ${DESTDIR}/etc/ssl/certs.pem
}