--- ca-certificates-20140223/sbin/update-ca-certificates~ 2014-03-14 12:55:24.000000000 +0200
+++ ca-certificates-20140223/sbin/update-ca-certificates 2014-03-14 14:38:31.587876211 +0200
-@@ -37,7 +37,7 @@
-
+@@ -37,8 +37,8 @@
+ default=0
CERTSCONF=/etc/ca-certificates.conf
CERTSDIR=/usr/share/ca-certificates
-LOCALCERTSDIR=/usr/local/share/ca-certificates
+LOCALCERTSDIR=/etc/certs
+CERTBUNDLE=/etc/certs/ca-certificates.crt
ETCCERTSDIR=@openssldir@
- cd $ETCCERTSDIR
+ HOOKSDIR=/etc/ca-certificates/update.d
+
@@ -52,7 +52,7 @@
# Helper files. (Some of them are not simple arrays because we spawn
rm -f "$PEM"
@@ -111,24 +111,18 @@
- sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
+ sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt
do
- if ! test -f "$CERTSDIR/$crt"
+ if test -f "$CERTSDIR/$crt"
A summary of options is included below.
.TP
@@ -53,13 +48,13 @@
- Be verbose. Output \fBc_rehash\fP.
+ Be verbose. Output \fBopenssl rehash\fP.
.TP
.B \-f, \-\-fresh
-Fresh updates. Remove symlinks in /etc/ssl/certs directory.
LOCALCERTSDIR=${DESTDIR}${LOCALCERTSDIR}
CERTBUNDLE=${DESTDIR}${CERTBUNDLE}
@@ -105,25 +106,30 @@
-
- echo -n "Updating certificates in $ETCCERTSDIR... "
+ done
+ fi
-# Handle certificates that should be removed. This is an explicit act
-# by prefixing lines in the configuration files with exclamation marks (!).
Name: ca-certificates
%define ver_date 20210119
Version: %{ver_date}
-Release: 2
+Release: 3
License: GPL v2 (scripts), MPL v2 (mozilla certs), distributable (other certs)
Group: Base
Source0: http://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz