aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2022-08-08 02:51:32 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2022-08-08 02:51:32 +0200
commit54565cc2c465089fce8043755afff04cdeb21f33 (patch)
tree85efa8330ebb4d1d5429799637fd005dc5955fea
parentb18a3bb3b59358c15cc92302612af3f22e74a55c (diff)
downloadaports-54565cc2c465089fce8043755afff04cdeb21f33.tar.gz
aports-54565cc2c465089fce8043755afff04cdeb21f33.tar.bz2
aports-54565cc2c465089fce8043755afff04cdeb21f33.tar.xz
main/ca-certificates: provide symlinks for OpenSSL 1.1
Without this patch, software linked against OpenSSL 1.1 will not be able to locate the system certificates and will thus consider every certificate invalid.
-rw-r--r--main/ca-certificates/APKBUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD
index c38b986723..8c8a06b336 100644
--- a/main/ca-certificates/APKBUILD
+++ b/main/ca-certificates/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
pkgver=20220614
-pkgrel=1
+pkgrel=2
pkgdesc="Common CA certificates PEM files from Mozilla"
url="https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/"
arch="all"
@@ -61,6 +61,11 @@ bundle() {
"$subpkgdir"/etc/ssl/certs/
ln -s certs/ca-certificates.crt \
"$subpkgdir"/etc/ssl/cert.pem
+
+ # Symlinks for OpenSSL 1.1 compatibility
+ mkdir -p "$subpkgdir"/etc/ssl1.1/
+ ln -s /etc/ssl/certs "$subpkgdir"/etc/ssl1.1/
+ ln -s /etc/ssl/cert.pem "$subpkgdir"/etc/ssl1.1/
}
sha512sums="