- updated to 20090814
[packages/ca-certificates.git] / ca-certificates-undebianize.patch
CommitLineData
9c631836
JR
1diff -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
156426d3 7 LOCALCERTSDIR=/usr/local/share/ca-certificates
eccb1882 8-CERTBUNDLE=ca-certificates.crt
9c631836 9-ETCCERTSDIR=/etc/ssl/certs
eccb1882
JR
10+CERTBUNDLE=/etc/openssl/ca-certificates.crt
11+ETCCERTSDIR=/etc/openssl/certs
156426d3
JR
12
13 cleanup() {
14 rm -f "$TEMPBUNDLE"
15@@ -88,17 +88,6 @@
9c631836 16 fi
156426d3
JR
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
9c631836
JR
33diff -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
eccb1882 41+update-ca-certificates \- update /etc/openssl/certs and ca-certificates.crt
9c631836
JR
42 .SH SYNOPSIS
43 .B update-ca-certificates
44 .RI [ options ]
45@@ -26,7 +26,7 @@
9c631836
JR
46 This manual page was written for the Debian distribution.
47 .PP
156426d3
JR
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.
9c631836 52 .PP
156426d3 53 It reads the file /etc/ca-certificates.conf. Each line gives a pathname of
9c631836 54@@ -34,11 +34,6 @@
156426d3
JR
55 .PP
56 Furthermore all certificates found below /usr/local/share/ca-certificates
57 are also included as implicitly trusted.
9c631836
JR
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.
eccb1882 71+Fresh updates. Remove symlinks in /etc/openss/certs directory.
9c631836
JR
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
eccb1882 78+.I /etc/openssl/ca-certificates.crt
9c631836
JR
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.040575 seconds and 4 git commands to generate.