Commit af14a84b authored by Natanael Copa's avatar Natanael Copa
Browse files

main/ca-certificates: exclude autogenerated ca-certificates.crt from overlay

fixes #2715

(cherry picked from commit ed77a308)
parent 800df2de
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment