aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-04 15:01:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-04 15:02:07 +0000
commited77a3089e26ad879a1ee60fd045133ac71a75b7 (patch)
tree8a02f6c2bc3db056801bd5d3f011546cb0817f1f /main
parent4ec760f2ed2f7695b361ead70658f7a8ada9f1ec (diff)
downloadaports-ed77a3089e26ad879a1ee60fd045133ac71a75b7.tar.bz2
aports-ed77a3089e26ad879a1ee60fd045133ac71a75b7.tar.xz
main/ca-certificates: exclude autogenerated ca-certificates.crt from overlay
ref #2715
Diffstat (limited to 'main')
-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"