Name: ca-certificates
%define ver_date 20170717
Version: %{ver_date}
-Release: 1
+Release: 2
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
# 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
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})