- Debian will no longer ship cacert.org certificates.
- Update mozilla/certdata.txt to version 1.97.
- Dropped endline.patch, fix is upstream
+++ /dev/null
---- ca-certificates/sbin/update-ca-certificates~ 2010-02-09 15:15:01.599029404 +0100
-+++ ca-certificates/sbin/update-ca-certificates 2010-02-09 15:32:56.982153588 +0100
-@@ -70,6 +70,7 @@
- echo +$PEM >> "$ADDED"
- fi
- cat "$CERT" >> "$TEMPBUNDLE"
-+ echo >> "$TEMPBUNDLE"
- }
-
- remove() {
---- ca-certificates-20120212/sbin/update-ca-certificates~ 2012-05-12 11:41:03.000000000 +0300
-+++ ca-certificates-20120212/sbin/update-ca-certificates 2012-05-12 11:43:10.517657520 +0300
+--- 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 @@
CERTSCONF=/etc/ca-certificates.conf
esac
done
find . -type l -print | while read symlink
-@@ -110,24 +110,18 @@
+@@ -111,24 +111,18 @@
sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
do
- if ! test -f "$CERTSDIR/$crt"
+ if test -f "$CERTSDIR/$crt"
- then
-- echo "W: $CERTSDIR/$crt not found, but listed in $CERTSCONF." >&2
++ then
+ add "$CERTSDIR/$crt"
+ elif test -f "$LOCALCERTSDIR/$crt"
-+ then
+ then
+- echo "W: $CERTSDIR/$crt not found, but listed in $CERTSCONF." >&2
+ add "$LOCALCERTSDIR/$crt"
+ else
+ echo "W: $CERTSDIR/$crt or $LOCALCERTSDIR/$crt not found, but listed in $CERTSCONF." >&2
-# administrator.
-if [ -d "$LOCALCERTSDIR" ]
-then
-- find -L "$LOCALCERTSDIR" -type f -name '*.crt' | while read crt
+- find -L "$LOCALCERTSDIR" -type f -name '*.crt' | sort | while read crt
- do
- add "$crt"
- done
---- ca-certificates-20130610/Makefile~ 2013-06-10 20:29:57.000000000 +0300
-+++ ca-certificates-20130610/Makefile 2013-06-11 11:58:47.673068113 +0300
+--- ca-certificates-20140223/Makefile~ 2014-03-13 14:43:00.000000000 +0200
++++ ca-certificates-20140223/Makefile 2014-03-14 12:54:53.792082826 +0200
@@ -3,7 +3,7 @@
#
CERTSDIR = /usr/share/ca-certificates
--SUBDIRS = mozilla cacert.org spi-inc.org
-+SUBDIRS = mozilla cacert.org spi-inc.org thawte certum terena esteid
+-SUBDIRS = mozilla spi-inc.org
++SUBDIRS = mozilla spi-inc.org thawte certum terena esteid
all:
for dir in $(SUBDIRS); do \
---- ca-certificates-20120212/sbin/update-ca-certificates~ 2012-05-12 16:08:15.813747796 +0300
-+++ ca-certificates-20120212/sbin/update-ca-certificates 2012-05-12 16:09:57.727422190 +0300
+--- ca-certificates-20140223/sbin/update-ca-certificates 2014-03-14 14:42:21.171246343 +0200
++++ ca-certificates-20140223/sbin/update-ca-certificates 2014-03-14 14:46:50.556014888 +0200
@@ -41,6 +41,7 @@
done
-sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
-do
- if test -f "$CERTSDIR/$crt"
-- then
+- then
- add "$CERTSDIR/$crt"
- elif test -f "$LOCALCERTSDIR/$crt"
- then
Summary: Common CA Certificates PEM files
Summary(pl.UTF-8): Pliki PEM popularnych certyfikatów CA
Name: ca-certificates
-Version: 20130906
-Release: 2
+Version: 20140223
+Release: 1
License: GPL v2 (scripts), MPL v2 (mozilla certs), distributable (other certs)
Group: Libraries
-Source0: ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.gz
-# Source0-md5: 67d42b6be21c616a8b7d3d85d95ae912
+Source0: ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz
+# Source0-md5: ff4049c32342ea450cda82bb14026ffd
Source1: https://www.verisign.com/support/thawte-roots.zip
# Source1-md5: 21a284ebdc6e8f4178d5cc10fb9e1ef2
Source2: http://www.certum.pl/keys/CA.pem
Patch1: %{name}-more-certs.patch
Patch2: %{name}-etc-certs.patch
Patch3: %{name}-c_rehash.sh.patch
-Patch4: %{name}-endline.patch
Patch5: %{name}-DESTDIR.patch
Patch6: %{name}.d.patch
URL: http://www.cacert.org/
BuildRequires: python-modules
BuildRequires: rpm >= 4.4.9-56
BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
BuildRequires: unzip
+BuildRequires: xz
Obsoletes: certificates
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch4 -p1
%patch5 -p1
%patch6 -p1