aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-10-04 12:15:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-10-10 12:04:01 +0000
commite2673eed35a7814414f3a45e55d906b7b5a4daeb (patch)
tree4d8f3c9fdb1768fb0c59120554351953ba8e73bc /main/ca-certificates
parent7051f26a8adbaeedf6fd985efb650cfda522f996 (diff)
downloadaports-e2673eed35a7814414f3a45e55d906b7b5a4daeb.tar.bz2
aports-e2673eed35a7814414f3a45e55d906b7b5a4daeb.tar.xz
main/ca-certificates: use libressl certhash
Diffstat (limited to 'main/ca-certificates')
-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