- use same method for generating /etc/certs/ca-certificates.crt at package build...
[packages/ca-certificates.git] / ca-certificates-DESTDIR.patch
... / ...
CommitLineData
1--- ca-certificates-20090814/sbin/update-ca-certificates~ 2010-05-05 14:10:46.000000000 +0300
2+++ ca-certificates-20090814/sbin/update-ca-certificates 2010-05-05 14:10:52.783355044 +0300
3@@ -23,6 +23,7 @@
4
5 verbose=0
6 fresh=0
7+DESTDIR=
8 while [ $# -gt 0 ];
9 do
10 case $1 in
11@@ -30,6 +31,8 @@
12 verbose=1;;
13 --fresh|-f)
14 fresh=1;;
15+ --destdir)
16+ DESTDIR=$2; shift;;
17 --help|-h|*)
18 echo "$0: [--verbose] [--fresh]"
19 exit;;
20@@ -37,11 +40,11 @@
21 shift
22 done
23
24-CERTSCONF=/etc/ca-certificates.conf
25-CERTSDIR=/usr/share/ca-certificates
26-LOCALCERTSDIR=/etc/certs
27-CERTBUNDLE=/etc/certs/ca-certificates.crt
28-ETCCERTSDIR=/etc/openssl/certs
29+CERTSCONF=$DESTDIR/etc/ca-certificates.conf
30+CERTSDIR=$DESTDIR/usr/share/ca-certificates
31+LOCALCERTSDIR=$DESTDIR/etc/certs
32+CERTBUNDLE=$DESTDIR/etc/certs/ca-certificates.crt
33+ETCCERTSDIR=$DESTDIR/etc/openssl/certs
34
35 cleanup() {
36 rm -f "$TEMPBUNDLE"
This page took 0.022945 seconds and 4 git commands to generate.