]> git.pld-linux.org Git - packages/ca-certificates.git/blob - ca-certificates-undebianize.patch
- todo about trash in /etc/openssl/certs
[packages/ca-certificates.git] / ca-certificates-undebianize.patch
1 diff -ur ca-certificates/sbin/update-ca-certificates ca-certificates-undebianize/sbin/update-ca-certificates
2 --- ca-certificates/sbin/update-ca-certificates 2008-04-11 20:47:29.000000000 +0200
3 +++ ca-certificates-undebianize/sbin/update-ca-certificates     2008-11-01 12:17:37.000000000 +0100
4 @@ -38,7 +38,7 @@
5  CERTSCONF=/etc/ca-certificates.conf
6  CERTSDIR=/usr/share/ca-certificates
7 -CERTBUNDLE=ca-certificates.crt
8 -ETCCERTSDIR=/etc/ssl/certs
9 +CERTBUNDLE=/etc/openssl/ca-certificates.crt
10 +ETCCERTSDIR=/etc/openssl/certs
11  cd $ETCCERTSDIR
12  if [ "$fresh" = 1 ]; then
13    echo -n "Clearing symlinks in $ETCCERTSDIR..."
14 @@ -88,15 +88,6 @@
15      c_rehash .
16    fi
17    echo "done."
18 -
19 -  HOOKSDIR=/etc/ca-certificates/update.d
20 -  echo -n "Running hooks in $HOOKSDIR...."
21 -  VERBOSE_ARG=
22 -  [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose
23 -  eval run-parts $VERB_ARG --test -- $HOOKSDIR | while read hook; do
24 -  printf -- "${removed:+$removed\n}${added:+$added\n}" | eval $hook
25 -  done
26 -  echo "done."
27  else
28    echo "done."
29  fi
30 diff -ur ca-certificates/sbin/update-ca-certificates.8 ca-certificates-undebianize/sbin/update-ca-certificates.8
31 --- ca-certificates/sbin/update-ca-certificates.8       2008-04-11 20:47:29.000000000 +0200
32 +++ ca-certificates-undebianize/sbin/update-ca-certificates.8   2008-11-01 12:18:14.000000000 +0100
33 @@ -16,7 +16,7 @@
34  .\" .sp <n>    insert n+1 empty lines
35  .\" for manpage-specific macros, see man(7)
36  .SH NAME
37 -update-ca-certificates \- update /etc/ssl/certs and certificates.crt
38 +update-ca-certificates \- update /etc/openssl/certs and ca-certificates.crt
39  .SH SYNOPSIS
40  .B update-ca-certificates
41  .RI [ options ]
42 @@ -26,7 +26,7 @@
43  commands.
44  This manual page was written for the Debian distribution.
45  .PP
46 -\fBupdate-ca-certificates\fP is a program that updates /etc/ssl/certs
47 +\fBupdate-ca-certificates\fP is a program that updates /etc/openssl/certs
48  directory to hold SSL certificates and generates certificates.crt that is
49  single-file version of CA certificates.
50  .PP
51 @@ -34,11 +34,6 @@
52  activated CA certificates under /usr/share/ca-certificates.
53  Lines that begin with "#" is comment line. 
54  Lines that begin with "!" is deselect, deactivation of the CA certificates. 
55 -.PP
56 -Before terminating, \fBupdate-ca-certificates\fP invokes
57 -\fBrun-parts\fP on /etc/ca-certificates/update.d and calls each hook with
58 -a list of certificates: those added are prefixed with a +, those removed are
59 -prefixed with a -.
60  .SH OPTIONS
61  A summary of options is included below.
62  .TP
63 @@ -49,13 +44,13 @@
64  Be verbose. Output \fBc_rehash\fP.
65  .TP
66  .B \-f, \-\-fresh
67 -Fresh updates.  Remove symlinks in /etc/ssl/certs directory.
68 +Fresh updates.  Remove symlinks in /etc/openss/certs directory.
69  .SH FILES
70  .TP
71  .I /etc/ca-certificates.conf
72  A configuration file.
73  .TP
74 -.I /etc/ssl/certs/ca-certificates.crt
75 +.I /etc/openssl/ca-certificates.crt
76  A single-file version of CA certificates.  This hold
77  all CA certificates that you activated in /etc/ca-certificates.conf.
78  .TP
This page took 0.034316 seconds and 3 git commands to generate.