]> git.pld-linux.org Git - packages/ca-certificates.git/blob - ca-certificates-undebianize.patch
86ac0b7effa7f389d1c01632f5db5d72bbaa875b
[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  LOCALCERTSDIR=/usr/local/share/ca-certificates
8 -CERTBUNDLE=ca-certificates.crt
9 -ETCCERTSDIR=/etc/ssl/certs
10 +CERTBUNDLE=/etc/openssl/ca-certificates.crt
11 +ETCCERTSDIR=/etc/openssl/certs
12  
13  cleanup() {
14    rm -f "$TEMPBUNDLE"
15 @@ -88,17 +88,6 @@
16  fi
17  
18  echo "$ADDED_CNT added, $REMOVED_CNT removed; done."
19 -
20 -HOOKSDIR=/etc/ca-certificates/update.d
21 -echo -n "Running hooks in $HOOKSDIR...."
22 -VERBOSE_ARG=
23 -[ "$verbose" = 0 ] || VERBOSE_ARG=--verbose
24 -eval run-parts $VERB_ARG --test -- $HOOKSDIR | while read hook
25 -do
26 -  ( cat $ADDED
27 -    cat $REMOVED ) | $hook || echo E: $hook exited with code $?.
28 -done
29 -echo "done."
30  
31  # vim:set et sw=2:
32  
33 diff -ur ca-certificates/sbin/update-ca-certificates.8 ca-certificates-undebianize/sbin/update-ca-certificates.8
34 --- ca-certificates/sbin/update-ca-certificates.8       2008-04-11 20:47:29.000000000 +0200
35 +++ ca-certificates-undebianize/sbin/update-ca-certificates.8   2008-11-01 12:18:14.000000000 +0100
36 @@ -16,7 +16,7 @@
37  .\" .sp <n>    insert n+1 empty lines
38  .\" for manpage-specific macros, see man(7)
39  .SH NAME
40 -update-ca-certificates \- update /etc/ssl/certs and certificates.crt
41 +update-ca-certificates \- update /etc/openssl/certs and ca-certificates.crt
42  .SH SYNOPSIS
43  .B update-ca-certificates
44  .RI [ options ]
45 @@ -26,7 +26,7 @@
46  This manual page was written for the Debian distribution.
47  .PP
48  \fBupdate-ca-certificates\fP is a program that updates the directory
49 -/etc/ssl/certs to hold SSL certificates and generates certificates.crt,
50 +/etc/openssl/certs to hold SSL certificates and generates certificates.crt,
51  a concatenated single-file list of certificates.
52  .PP
53  It reads the file /etc/ca-certificates.conf. Each line gives a pathname of
54 @@ -34,11 +34,6 @@
55  .PP
56  Furthermore all certificates found below /usr/local/share/ca-certificates
57  are also included as implicitly trusted.
58 -.PP
59 -Before terminating, \fBupdate-ca-certificates\fP invokes
60 -\fBrun-parts\fP on /etc/ca-certificates/update.d and calls each hook with
61 -a list of certificates: those added are prefixed with a +, those removed are
62 -prefixed with a -.
63  .SH OPTIONS
64  A summary of options is included below.
65  .TP
66 @@ -49,13 +44,13 @@
67  Be verbose. Output \fBc_rehash\fP.
68  .TP
69  .B \-f, \-\-fresh
70 -Fresh updates.  Remove symlinks in /etc/ssl/certs directory.
71 +Fresh updates.  Remove symlinks in /etc/openss/certs directory.
72  .SH FILES
73  .TP
74  .I /etc/ca-certificates.conf
75  A configuration file.
76  .TP
77 -.I /etc/ssl/certs/ca-certificates.crt
78 +.I /etc/openssl/ca-certificates.crt
79  A single-file version of CA certificates.  This hold
80  all CA certificates that you activated in /etc/ca-certificates.conf.
81  .TP
This page took 0.046346 seconds and 3 git commands to generate.