aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/ca-certificates/APKBUILD')
-rw-r--r--main/ca-certificates/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/main/ca-certificates/APKBUILD b/main/ca-certificates/APKBUILD
index b2d8694840..731729f4c4 100644
--- a/main/ca-certificates/APKBUILD
+++ b/main/ca-certificates/APKBUILD
@@ -2,12 +2,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
pkgver=20160104
-pkgrel=5
+pkgrel=6
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
arch="all"
license="MPL 2.0 GPL2+"
-depends="libcrypto1.0>=1.0.2g-r3"
+depends="libressl" # for `openssl certhash`
makedepends="python"
subpackages="$pkgname-doc"
options="!fhs"
@@ -70,11 +70,11 @@ package() {
-etc/ssl/certs/[0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f][0-9a-f].[r0-9]*
EOF
- cat > "$pkgdir"/etc/ca-certificates/update.d/c_rehash <<EOF
+ cat > "$pkgdir"/etc/ca-certificates/update.d/certhash <<EOF
#!/bin/sh
-exec /usr/bin/c_rehash /etc/ssl/certs
+exec /usr/bin/openssl certhash /etc/ssl/certs
EOF
- chmod +x "$pkgdir"/etc/ca-certificates/update.d/c_rehash || return 1
+ chmod +x "$pkgdir"/etc/ca-certificates/update.d/certhash || return 1
}
md5sums="d9665a83d0d3ef8176a38e6aa20458e9 ca-certificates_20160104.tar.xz