Summary: Common CA Certificates PEM files
Summary(pl.UTF-8): Pliki PEM popularnych certyfikatów CA
Name: ca-certificates
-%define ver_date 20161130
-Version: %{ver_date}+nmu1
-Release: 1
+%define ver_date 20180409
+Version: %{ver_date}
+Release: 2
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: a09e8b63126188fd0ed77f6fbaf5d35f
+Source0: http://ftp.debian.org/debian/pool/main/c/ca-certificates/%{name}_%{version}.tar.xz
+# Source0-md5: 8425f4b1219e4e528db2de764e4c6586
Source2: http://www.certum.pl/keys/CA.pem
# Source2-md5: 35610177afc9c64e70f1ce62c1885496
Source3: http://www.certum.pl/keys/level1.pem
# Source35-md5: 43375a208fba0a5e73f1912faa4db86d
Source36: http://www.terena.org/activities/tcs/repository-g3/TERENA_SSL_High_Assurance_CA_3.pem
# Source36-md5: 6e00d9ede4460e739eb285ea023299f0
-Source38: https://letsencrypt.org/certs/letsencryptauthorityx1.pem.txt
-# Source38-md5: 7a4c9a537127f609035ad7f4019defdb
-Source39: https://letsencrypt.org/certs/letsencryptauthorityx2.pem.txt
-# Source39-md5: 27b0b8f7ef14356d8f717bc083c43ef1
Patch0: %{name}-undebianize.patch
Patch1: %{name}-more-certs.patch
Patch2: %{name}-etc-certs.patch
-Patch3: %{name}-c_rehash.sh.patch
+
Patch5: %{name}-DESTDIR.patch
Patch6: %{name}.d.patch
+Patch7: no-openssl-rehash.patch
URL: https://packages.debian.org/sid/ca-certificates
BuildRequires: openssl-tools
BuildRequires: python >= 1:2.6
Skrypt i dane do odświeżania bazy certyfikatów CA.
%prep
-%setup -q -n %{name}-%{ver_date}
+%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
+
%patch5 -p1
%patch6 -p1
+%patch7 -p1
%{__sed} -i -e 's,@openssldir@,%{openssldir},' sbin/update-ca-certificates*
mv -i "$a" "${a%.PEM.cer}.crt"
done
-# 2eecd52 - add letsencrypt certificates (approved by mozilla) <Arkadiusz Miśkiewicz>
-install -d mozilla
-cp -pi %{SOURCE38} mozilla/$(basename %{SOURCE38} .pem.txt).crt
-cp -pi %{SOURCE39} mozilla/$(basename %{SOURCE39} .pem.txt).crt
-
%build
install -d terena
openssl x509 -inform DER -in %{SOURCE21} -outform PEM -out terena/$(basename %{SOURCE21})
%{__make}
# We have those and more in specific dirs
-%{__rm} mozilla/{Certum,IGC_A,Deutsche_Telekom_Root_CA_2,Juur-SK}*.crt
+%{__rm} mozilla/{Certum,Deutsche_Telekom_Root_CA_2}*.crt
# See TODO
# %{__rm} mozilla/RSA_Security_1024_v3.crt