ca-certificates: add .exe for p11-kit

execv would fail on arch when trying to install ca-certificates

Signed-off-by: Christopher Degawa <ccom@randomderp.com>
This commit is contained in:
Christopher Degawa 2024-05-24 17:59:13 -05:00
parent 45c0396527
commit a1f8e04920
No known key found for this signature in database
GPG Key ID: 40BDA1D2A156699E
2 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@
pkgname=ca-certificates pkgname=ca-certificates
pkgver=20240203 pkgver=20240203
pkgrel=1 pkgrel=2
pkgdesc='Common CA certificates' pkgdesc='Common CA certificates'
arch=('any') arch=('any')
url='https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/' url='https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/'

View File

@ -5,11 +5,11 @@ post_install() {
# OpenSSL PEM bundle that includes trust flags # OpenSSL PEM bundle that includes trust flags
# (BEGIN TRUSTED CERTIFICATE) # (BEGIN TRUSTED CERTIFICATE)
usr/bin/p11-kit extract --format=openssl-bundle --filter=certificates --overwrite --comment $DEST/openssl/ca-bundle.trust.crt usr/bin/p11-kit.exe extract --format=openssl-bundle --filter=certificates --overwrite --comment $DEST/openssl/ca-bundle.trust.crt
usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose server-auth $DEST/pem/tls-ca-bundle.pem usr/bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose server-auth $DEST/pem/tls-ca-bundle.pem
usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose email $DEST/pem/email-ca-bundle.pem usr/bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose email $DEST/pem/email-ca-bundle.pem
usr/bin/p11-kit extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose code-signing $DEST/pem/objsign-ca-bundle.pem usr/bin/p11-kit.exe extract --format=pem-bundle --filter=ca-anchors --overwrite --comment --purpose code-signing $DEST/pem/objsign-ca-bundle.pem
usr/bin/p11-kit extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth $DEST/java/cacerts usr/bin/p11-kit.exe extract --format=java-cacerts --filter=ca-anchors --overwrite --purpose server-auth $DEST/java/cacerts
mkdir -p usr/ssl/certs mkdir -p usr/ssl/certs
cp -f $DEST/pem/tls-ca-bundle.pem usr/ssl/certs/ca-bundle.crt cp -f $DEST/pem/tls-ca-bundle.pem usr/ssl/certs/ca-bundle.crt