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