diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-01-06 14:15:26 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2019-01-06 14:19:36 +0000 |
commit | a0e0e8a189ea4e14c27fe6ea38632f5d7f651cb8 (patch) | |
tree | 8751401248de1ac869362677d56c4fef40998c23 /main | |
parent | 8bbf99be2e60a2fe53f41735d50161f98770fdef (diff) | |
download | aports-a0e0e8a189ea4e14c27fe6ea38632f5d7f651cb8.tar.bz2 aports-a0e0e8a189ea4e14c27fe6ea38632f5d7f651cb8.tar.xz |
main/ca-certificates: add bundled certificates
Provide a concatenated file of certificates from mozilla suitable for
places where ca-certificates is overkill. This was previously provided
by libressl libtls package.
Diffstat (limited to 'main')
-rw-r--r-- | main/ca-certificates/APKBUILD | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD index b02474c635..1d0a8b8aa4 100644 --- a/main/ca-certificates/APKBUILD +++ b/main/ca-certificates/APKBUILD @@ -3,14 +3,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ca-certificates pkgver=20180924 -pkgrel=1 +pkgrel=2 pkgdesc="Common CA certificates PEM files" url="https://www.mozilla.org/en-US/about/governance/policies/security-group/certs/" arch="all" license="MPL-2.0 GPL-2.0-or-later" depends="" makedepends="python3 openssl-dev" -subpackages="$pkgname-doc" +subpackages="$pkgname-doc $pkgname-cacert" # c_rehash is either in libcrypto1.0 or openssl depending on package, grr. replace both of them replaces="libcrypto1.0 openssl openssl1.0" options="!fhs !check" @@ -51,5 +51,12 @@ package() { chmod +x "$pkgdir"/etc/ca-certificates/update.d/certhash } +cacert() { + pkgdesc="Mozilla bundled certificates" + mkdir -p "$subpkgdir"/etc/ssl + cat "$pkgdir"/usr/share/ca-certificates/mozilla/*.crt > \ + "$subpkgdir"/etc/ssl/cert.pem +} + sha512sums="dbcd786a1c8d17132cceac8100ceac3902cd2360ba6773d0a65739da39a932f50e59d830b1060776ba89b778f451ab12bd879971e370a30b21e367951935ed3a ca-certificates-20180924.tar.bz2 e0b7c0dafb5e9e5ff58c7db7a0c5805617197a549d7af1c117406eeda063aee7806000d686e15536c69e026d00fd3ca68dfc37a7dad839b90e754858ff6096dd 0001-update-ca-fix-build-with-newer-musl.patch" |