commit 9275ae033c0dcb4e19c4e4d355b625a74f8e3ecf
Author: Arkadiusz Miśkiewicz <[email protected]>
Date:   Tue Sep 27 12:42:14 2016 +0200

    - rel 4; drop thawte zip and use mozilla bundle (which is more current)

 ca-certificates-more-certs.patch | 17 +----------------
 ca-certificates.spec             | 24 +++---------------------
 2 files changed, 4 insertions(+), 37 deletions(-)
---
diff --git a/ca-certificates.spec b/ca-certificates.spec
index afc9685..2c85724 100644
--- a/ca-certificates.spec
+++ b/ca-certificates.spec
@@ -13,13 +13,12 @@ Summary:    Common CA Certificates PEM files
 Summary(pl.UTF-8):     Pliki PEM popularnych certyfikatów CA
 Name:          ca-certificates
 Version:       20160104
-Release:       3
+Release:       4
 License:       GPL v2 (scripts), MPL v2 (mozilla certs), distributable (other 
certs)
 Group:         Base
 Source0:       
ftp://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz
 # Source0-md5: d9665a83d0d3ef8176a38e6aa20458e9
-Source1:       https://www.verisign.com/support/thawte-roots.zip
-# Source1-md5: 21a284ebdc6e8f4178d5cc10fb9e1ef2
+
 Source2:       http://www.certum.pl/keys/CA.pem
 # Source2-md5: 35610177afc9c64e70f1ce62c1885496
 Source3:       http://www.certum.pl/keys/level1.pem
@@ -154,20 +153,6 @@ mv %{name}/* .
 
 %{__sed} -i -e 's,@openssldir@,%{openssldir},' sbin/update-ca-certificates*
 
-%{__unzip} -qq %{SOURCE1} -d thawte
-
-find thawte/ -name *.pem -o -name *.txt| while read f ; do
-       if (file "$f" | grep -q "PEM"); then
-               ff=$(echo $f | sed -e 's|[ ,]|_|g' -e 's|[()]|=|g')
-               nname=$(basename "$ff" .pem)
-               nname=$(basename "$nname" .txt)
-               nname=$(basename "$nname" _b64)
-               cp -pi "$f" "thawte/${nname}.crt"
-       else
-               echo "Skipping $f, doesn't look like PEM CERT"
-       fi
-done
-
 install -d certum
 cp -pi %{SOURCE2} certum
 cp -pi %{SOURCE3} certum
@@ -228,10 +213,7 @@ sed 's/\r//' %{SOURCE36} > terena/$(basename %{SOURCE36} 
.pem).crt
 %{__make}
 
 # We have those and more in specific dirs
-%{__rm} mozilla/{thawte,Certum,IGC_A,Deutsche_Telekom_Root_CA_2,Juur-SK}*.crt
-
-# Duplicate with Verisign_Class_3_Public_Primary_Certification_Authority_2.crt
-%{__rm} thawte/Class_3_Public_Primary_Certification_Authority.crt
+%{__rm} mozilla/{Certum,IGC_A,Deutsche_Telekom_Root_CA_2,Juur-SK}*.crt
 
 # See TODO
 # %{__rm} mozilla/RSA_Security_1024_v3.crt
diff --git a/ca-certificates-more-certs.patch b/ca-certificates-more-certs.patch
index 3130e9c..3338fc6 100644
--- a/ca-certificates-more-certs.patch
+++ b/ca-certificates-more-certs.patch
@@ -5,7 +5,7 @@
  
  CERTSDIR = /usr/share/ca-certificates
 -SUBDIRS = mozilla
-+SUBDIRS = mozilla thawte certum terena esteid
++SUBDIRS = mozilla certum terena esteid
  
  all:
        for dir in $(SUBDIRS); do \
@@ -24,21 +24,6 @@
 +      for p in *.crt; do \
 +       install -p -m 644 $$p $(CERTSDIR)/$$p ; \
 +      done
---- ca-certificates/thawte/Makefile    1970-01-01 01:00:00.000000000 +0100
-+++ ca-certificates-more/thawte/Makefile       2007-02-02 07:23:19.000000000 
+0100
-@@ -0,0 +1,12 @@
-+#
-+# Makefile
-+#
-+
-+all:
-+
-+clean:
-+
-+install:
-+      for p in *.crt; do \
-+       install -p -m 644 $$p $(CERTSDIR)/$$p ; \
-+      done
 --- ca-certificates/terena/Makefile    1970-01-01 01:00:00.000000000 +0100
 +++ ca-certificates-more/terena/Makefile       2007-02-02 07:23:19.000000000 
+0100
 @@ -0,0 +1,12 @@
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ca-certificates.git/commitdiff/9275ae033c0dcb4e19c4e4d355b625a74f8e3ecf

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to