X-Git-Url: http://git.pld-linux.org/?p=packages%2Fca-certificates.git;a=blobdiff_plain;f=ca-certificates-undebianize.patch;h=a53fd967f3a3d5019dcc229840585deafb8926ae;hp=43ac0dc07aadb58d650dd5385083bcf29e40e3ec;hb=d9b817d8c01bddfe211e78a7dc57829dd6dbd10f;hpb=9c6318364143e4e00a8518e0ab8792702d8a028f;ds=sidebyside diff --git a/ca-certificates-undebianize.patch b/ca-certificates-undebianize.patch index 43ac0dc..a53fd96 100644 --- a/ca-certificates-undebianize.patch +++ b/ca-certificates-undebianize.patch @@ -2,30 +2,31 @@ diff -ur ca-certificates/sbin/update-ca-certificates ca-certificates-undebianize --- ca-certificates/sbin/update-ca-certificates 2008-04-11 20:47:29.000000000 +0200 +++ ca-certificates-undebianize/sbin/update-ca-certificates 2008-11-01 12:17:37.000000000 +0100 @@ -38,7 +38,7 @@ - CERTSCONF=/etc/ca-certificates.conf CERTSDIR=/usr/share/ca-certificates + LOCALCERTSDIR=/usr/local/share/ca-certificates CERTBUNDLE=ca-certificates.crt -ETCCERTSDIR=/etc/ssl/certs -+ETCCERTSDIR=/etc/certs - cd $ETCCERTSDIR - if [ "$fresh" = 1 ]; then - echo -n "Clearing symlinks in $ETCCERTSDIR..." -@@ -88,15 +88,6 @@ - c_rehash . - fi - echo "done." -- -- HOOKSDIR=/etc/ca-certificates/update.d -- echo -n "Running hooks in $HOOKSDIR...." -- VERBOSE_ARG= -- [ "$verbose" = 0 ] || VERBOSE_ARG=--verbose -- eval run-parts $VERB_ARG --test -- $HOOKSDIR | while read hook; do -- printf -- "${removed:+$removed\n}${added:+$added\n}" | eval $hook -- done -- echo "done." - else - echo "done." ++ETCCERTSDIR=/etc/openssl/certs + + cleanup() { + rm -f "$TEMPBUNDLE" +@@ -88,16 +88,6 @@ fi + + echo "$ADDED_CNT added, $REMOVED_CNT removed; done." +- +-HOOKSDIR=/etc/ca-certificates/update.d +-echo -n "Running hooks in $HOOKSDIR...." +-VERBOSE_ARG= +-[ "$verbose" = 0 ] || VERBOSE_ARG=--verbose +-eval run-parts $VERBOSE_ARG --test -- $HOOKSDIR | while read hook +-do +- ( cat $ADDED +- cat $REMOVED ) | $hook || echo E: $hook exited with code $?. +-done + echo "done." + + # vim:set et sw=2: diff -ur ca-certificates/sbin/update-ca-certificates.8 ca-certificates-undebianize/sbin/update-ca-certificates.8 --- ca-certificates/sbin/update-ca-certificates.8 2008-04-11 20:47:29.000000000 +0200 +++ ca-certificates-undebianize/sbin/update-ca-certificates.8 2008-11-01 12:18:14.000000000 +0100 @@ -34,23 +35,23 @@ diff -ur ca-certificates/sbin/update-ca-certificates.8 ca-certificates-undebiani .\" for manpage-specific macros, see man(7) .SH NAME -update-ca-certificates \- update /etc/ssl/certs and certificates.crt -+update-ca-certificates \- update /etc/certs and certificates.crt ++update-ca-certificates \- update /etc/openssl/certs and ca-certificates.crt .SH SYNOPSIS .B update-ca-certificates .RI [ options ] @@ -26,7 +26,7 @@ - commands. This manual page was written for the Debian distribution. .PP --\fBupdate-ca-certificates\fP is a program that updates /etc/ssl/certs -+\fBupdate-ca-certificates\fP is a program that updates /etc/certs - directory to hold SSL certificates and generates certificates.crt that is - single-file version of CA certificates. + \fBupdate-ca-certificates\fP is a program that updates the directory +-/etc/ssl/certs to hold SSL certificates and generates certificates.crt, ++/etc/openssl/certs to hold SSL certificates and generates certificates.crt, + a concatenated single-file list of certificates. .PP + It reads the file /etc/ca-certificates.conf. Each line gives a pathname of @@ -34,11 +34,6 @@ - activated CA certificates under /usr/share/ca-certificates. - Lines that begin with "#" is comment line. - Lines that begin with "!" is deselect, deactivation of the CA certificates. + .PP + Furthermore all certificates found below /usr/local/share/ca-certificates + are also included as implicitly trusted. -.PP -Before terminating, \fBupdate-ca-certificates\fP invokes -\fBrun-parts\fP on /etc/ca-certificates/update.d and calls each hook with @@ -64,14 +65,14 @@ diff -ur ca-certificates/sbin/update-ca-certificates.8 ca-certificates-undebiani .TP .B \-f, \-\-fresh -Fresh updates. Remove symlinks in /etc/ssl/certs directory. -+Fresh updates. Remove symlinks in /etc/certs directory. ++Fresh updates. Remove symlinks in /etc/openss/certs directory. .SH FILES .TP .I /etc/ca-certificates.conf A configuration file. .TP -.I /etc/ssl/certs/ca-certificates.crt -+.I /etc/certs/ca-certificates.crt ++.I /etc/openssl/ca-certificates.crt A single-file version of CA certificates. This hold all CA certificates that you activated in /etc/ca-certificates.conf. .TP