Name: ca-certificates Version: 20211016 Release: 1mamba Summary: The Mozilla CA root certificate bundle Group: System/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.mozilla.org/en-US/ # git clone git://pkgs.fedoraproject.org/ca-certificates.git #Source: git://pkgs.fedoraproject.org/ca-certificates.git/master/ca-certificates-%{version}.tar.bz2 Source: http://ftp.de.debian.org/debian/pool/main/c/ca-certificates/ca-certificates_%{version}.tar.xz License: Public Domain ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRequires: openssl BuildRequires: perl BuildRequires: python BuildRequires: rcs #%if "%{stage1}" != "1" #BuildRequires: java-openjdk #%endif Requires(post): openssl Provides: ca-certificates-java Obsoletes: ca-certificates-java Requires(post): p11-kit %description This package contains the set of CA certificates chosen by the Mozilla Foundation for use with the Internet PKI. %prep %setup -c -q cd work mkdir %{name} %{name}/certs %{name}/java %build cd work %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" cd work install -d -m755 %{buildroot}/{%{_sysconfdir}/ca-certificates/update.d,%{_sbindir},%{_datadir}/ca-certificates,%{_sysconfdir}/ssl/certs} %makeinstall install -D -m644 sbin/update-ca-certificates.8 %{buildroot}%{_mandir}/man8/update-ca-certificates.8 install -d -m755 %{buildroot}%{_sysconfdir}/ssl/certs/java ( echo "# Automatically generated by ${pkgname}-${pkgver}-${pkgrel}" echo "# see update-ca-certificates man page" echo "# " cd %{buildroot}/usr/share/ca-certificates find . -name '*.crt' | sort | cut -b3- ) > %{buildroot}%{_sysconfdir}/ca-certificates.conf install -d -m0755 %{buildroot}%{_sysconfdir}/pki/tls/certs ln -s ../../../ssl/certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/pki/tls/certs/ca-bundle.crt ln -s certs/ca-bundle.crt %{buildroot}%{_sysconfdir}/pki/tls/cert.pem install -d -m0755 %{buildroot}%{_sysconfdir}/pki/java/ ln -s ../../ssl/certs/java/cacerts %{buildroot}%{_sysconfdir}/pki/java/cacerts ln -s certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/ssl/cert.pem %posttrans if [ $1 -ge 1 ]; then trust extract --overwrite --format=java-cacerts --filter=ca-anchors \ --purpose server-auth %{_sysconfdir}/ssl/certs/java/cacerts %{_sbindir}/update-ca-certificates --fresh >/dev/null 2>&1 fi : %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %config %{_sysconfdir}/ca-certificates.conf %dir %{_sysconfdir}/ca-certificates %dir %{_sysconfdir}/ca-certificates/update.d %dir %{_sysconfdir}/pki/tls %{_sysconfdir}/pki/tls/cert.pem %dir %{_sysconfdir}/pki/tls/certs %{_sysconfdir}/pki/tls/certs/ca-bundle.crt %dir %{_sysconfdir}/pki/java %{_sysconfdir}/pki/java/cacerts %dir %{_sysconfdir}/ssl %{_sysconfdir}/ssl/certs %{_sysconfdir}/ssl/cert.pem %dir %{_sysconfdir}/ssl/certs/java %{_sbindir}/update-ca-certificates %dir %{_datadir}/ca-certificates #%dir %{_datadir}/ca-certificates/cacert.org #%{_datadir}/ca-certificates/cacert.org/cacert.org_class3.crt #%{_datadir}/ca-certificates/cacert.org/cacert.org_root.crt #%dir %{_datadir}/ca-certificates/spi-inc.org #%{_datadir}/ca-certificates/spi-inc.org/spi-*.crt %dir %{_datadir}/ca-certificates/mozilla %{_datadir}/ca-certificates/mozilla/*.crt %{_mandir}/man8/update-ca-certificates.8* %changelog * Sun Oct 17 2021 Automatic Build System 20211016-1mamba - automatic version update by autodist * Fri Feb 05 2021 Silvan Calarco 20210119-1mamba - update to 20210119 * Sat Oct 26 2019 Silvan Calarco 20190110-1mamba - update to 20190110 * Fri Nov 02 2018 Silvan Calarco 20180409-2mamba - added symlink /etc/ssl/cert.pem to fix openssl detection * Thu Sep 06 2018 Silvan Calarco 20180409-1mamba - update to 20180409 * Thu Nov 16 2017 Automatic Build System 20170717-1mamba - automatic update by autodist * Thu Dec 08 2016 Silvan Calarco 20161130-1mamba - update to 20161130 * Thu May 19 2016 Silvan Calarco 20160104-1mamba - update to 20160104 * Wed Jan 20 2016 Silvan Calarco 20150426-2mamba - use trust extract in post script to generate java cacerts bundle; obsolete ca-certificates-java * Mon Jun 08 2015 Automatic Build System 20150426-1mamba - automatic update by autodist * Sat Mar 14 2015 Silvan Calarco 20141019-3mamba - require openssl because update-ca-certificates needs c_rehash * Mon Mar 09 2015 Silvan Calarco 20141019-2mamba - run update-ca-certificates in %posttrans script to maybe fix failure in makedist builds * Sat Nov 22 2014 Automatic Build System 20141019-1mamba - automatic update by autodist * Sun Oct 12 2014 Automatic Build System 20140927-1mamba - automatic update by autodist * Sun May 25 2014 Silvan Calarco 20140325-2mamba - provide required directory /etc/ca-certificates/update.d * Sun Apr 13 2014 Silvan Calarco 20140325-1mamba - update to 20140325 * Sun Oct 20 2013 Silvan Calarco 20130906-2mamba - readd symlink cert.pem required by java-gcj-compat * Fri Sep 20 2013 Automatic Build System 20130906-1mamba - automatic update by autodist * Thu Aug 15 2013 Silvan Calarco 20130610-3mamba - rewrite specfile, use canonical package dirs, don't provide ca-bundle* * Mon Aug 12 2013 Automatic Build System 20130610-2mamba - automatic version update by autodist * Mon Aug 12 2013 Automatic Build System 20130610-1mamba - automatic version update by autodist * Mon Apr 22 2013 Automatic Build System 20130422git-1mamba - update to 20130422git * Tue Apr 10 2012 Silvan Calarco 2012.04-1mamba - update to 2012.04 * Thu Feb 24 2011 Silvan Calarco 2010.10-2mamba - rebuilt in devel * Tue Oct 05 2010 gil 2010.10-1mamba - package created by autospec