aboutsummaryrefslogtreecommitdiffstats
path: root/main/ca-certificates
diff options
context:
space:
mode:
Diffstat (limited to 'main/ca-certificates')
-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 3c201add2a..7422d5a53d 100644
--- a/main/ca-certificates/APKBUILD
+++ b/main/ca-certificates/APKBUILD
@@ -7,7 +7,7 @@ _nmu="+nmu${pkgver#*_p}"
[ "$_nmu" = "+nmu${pkgver}" ] && _nmu=""
_ver=${_date}${_nmu}
-pkgrel=1
+pkgrel=2
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
arch="noarch"
@@ -44,6 +44,11 @@ package() {
cd "$pkgdir"/usr/share/ca-certificates
find . -name '*.crt' | sort | cut -b3-
) > "$pkgdir"/etc/ca-certificates.conf
+
+ # http://bugs.alpinelinux.org/issues/2715
+ mkdir -p "$pkgdir"/etc/apk/protected_paths.d
+ echo "-etc/ssl/certs/*.crt" \
+ > "$pkgdir"/etc/apk/protected_paths.d/ca-certificates.list
}
md5sums="67d42b6be21c616a8b7d3d85d95ae912 ca-certificates_20130906.tar.gz"