0.3.16-1
[arch-packages.git] / nss / trunk / bundle.sh
blob531a496226e44dfd34eb06610583a7b4b927868f
1 #!/bin/sh
2 # From Fedora's ca-certificates.spec
5 cat <<EOF
6 # This is a bundle of X.509 certificates of public Certificate
7 # Authorities. It was generated from the Mozilla root CA list.
8 # These certificates and trust/distrust attributes use the file format accepted
9 # by the p11-kit-trust module.
11 # Source: nss/lib/ckfw/builtins/certdata.txt
12 # Source: nss/lib/ckfw/builtins/nssckbi.h
14 # Generated from:
15 EOF
16 cat certs/nssckbi.h | grep -w NSS_BUILTINS_LIBRARY_VERSION | awk '{print "# " $2 " " $3}'
17 echo '#'
18 ) > ca-bundle.trust.p11-kit
20 for p in certs/*.tmp-p11-kit; do
21 cat "$p" >> ca-bundle.trust.p11-kit
22 done