2024-01-05 21:03:12 +01:00
|
|
|
Name: ca-certificates
|
2024-01-05 21:03:13 +01:00
|
|
|
Version: 20210119
|
2024-01-05 21:03:13 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 21:03:12 +01:00
|
|
|
Summary: The Mozilla CA root certificate bundle
|
|
|
|
Group: System/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:03:13 +01:00
|
|
|
URL: https://www.mozilla.org/
|
2024-01-05 21:03:12 +01:00
|
|
|
# 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
|
2024-01-05 21:03:13 +01:00
|
|
|
Requires(post): openssl
|
2024-01-05 21:03:13 +01:00
|
|
|
Provides: ca-certificates-java
|
|
|
|
Obsoletes: ca-certificates-java
|
|
|
|
Requires(post): p11-kit
|
2024-01-05 21:03:12 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains the set of CA certificates chosen by the Mozilla Foundation for use with the Internet PKI.
|
|
|
|
|
|
|
|
%prep
|
2024-01-05 21:03:13 +01:00
|
|
|
%setup -c -q
|
|
|
|
cd work
|
2024-01-05 21:03:12 +01:00
|
|
|
mkdir %{name} %{name}/certs %{name}/java
|
|
|
|
|
|
|
|
%build
|
2024-01-05 21:03:13 +01:00
|
|
|
cd work
|
2024-01-05 21:03:12 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 21:03:13 +01:00
|
|
|
cd work
|
2024-01-05 21:03:12 +01:00
|
|
|
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
|
2024-01-05 21:03:13 +01:00
|
|
|
install -d -m755 %{buildroot}%{_sysconfdir}/ssl/certs/java
|
2024-01-05 21:03:12 +01:00
|
|
|
(
|
|
|
|
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
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
install -d -m0755 %{buildroot}%{_sysconfdir}/pki/java/
|
|
|
|
ln -s ../../ssl/certs/java/cacerts %{buildroot}%{_sysconfdir}/pki/java/cacerts
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
ln -s certs/ca-certificates.crt %{buildroot}%{_sysconfdir}/ssl/cert.pem
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
%posttrans
|
2024-01-05 21:03:12 +01:00
|
|
|
if [ $1 -ge 1 ]; then
|
2024-01-05 21:03:13 +01:00
|
|
|
trust extract --overwrite --format=java-cacerts --filter=ca-anchors \
|
|
|
|
--purpose server-auth %{_sysconfdir}/ssl/certs/java/cacerts
|
2024-01-05 21:03:12 +01:00
|
|
|
%{_sbindir}/update-ca-certificates --fresh >/dev/null 2>&1
|
2024-01-05 21:03:12 +01:00
|
|
|
fi
|
2024-01-05 21:03:12 +01:00
|
|
|
:
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config %{_sysconfdir}/ca-certificates.conf
|
2024-01-05 21:03:12 +01:00
|
|
|
%dir %{_sysconfdir}/ca-certificates
|
|
|
|
%dir %{_sysconfdir}/ca-certificates/update.d
|
2024-01-05 21:03:12 +01:00
|
|
|
%dir %{_sysconfdir}/pki/tls
|
|
|
|
%{_sysconfdir}/pki/tls/cert.pem
|
|
|
|
%dir %{_sysconfdir}/pki/tls/certs
|
|
|
|
%{_sysconfdir}/pki/tls/certs/ca-bundle.crt
|
2024-01-05 21:03:13 +01:00
|
|
|
%dir %{_sysconfdir}/pki/java
|
|
|
|
%{_sysconfdir}/pki/java/cacerts
|
2024-01-05 21:03:12 +01:00
|
|
|
%dir %{_sysconfdir}/ssl
|
|
|
|
%{_sysconfdir}/ssl/certs
|
2024-01-05 21:03:13 +01:00
|
|
|
%{_sysconfdir}/ssl/cert.pem
|
2024-01-05 21:03:13 +01:00
|
|
|
%dir %{_sysconfdir}/ssl/certs/java
|
2024-01-05 21:03:12 +01:00
|
|
|
%{_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
|
2024-01-05 21:03:13 +01:00
|
|
|
#%dir %{_datadir}/ca-certificates/spi-inc.org
|
|
|
|
#%{_datadir}/ca-certificates/spi-inc.org/spi-*.crt
|
2024-01-05 21:03:12 +01:00
|
|
|
%dir %{_datadir}/ca-certificates/mozilla
|
|
|
|
%{_datadir}/ca-certificates/mozilla/*.crt
|
|
|
|
%{_mandir}/man8/update-ca-certificates.8*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:03:13 +01:00
|
|
|
* Fri Feb 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 20210119-1mamba
|
|
|
|
- update to 20210119
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Sat Oct 26 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 20190110-1mamba
|
|
|
|
- update to 20190110
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Fri Nov 02 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180409-2mamba
|
|
|
|
- added symlink /etc/ssl/cert.pem to fix openssl detection
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 20180409-1mamba
|
|
|
|
- update to 20180409
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Thu Nov 16 2017 Automatic Build System <autodist@mambasoft.it> 20170717-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Thu Dec 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20161130-1mamba
|
|
|
|
- update to 20161130
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Thu May 19 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20160104-1mamba
|
|
|
|
- update to 20160104
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Wed Jan 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20150426-2mamba
|
|
|
|
- use trust extract in post script to generate java cacerts bundle; obsolete ca-certificates-java
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 20150426-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Sat Mar 14 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20141019-3mamba
|
|
|
|
- require openssl because update-ca-certificates needs c_rehash
|
|
|
|
|
2024-01-05 21:03:13 +01:00
|
|
|
* Mon Mar 09 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20141019-2mamba
|
|
|
|
- run update-ca-certificates in %posttrans script to maybe fix failure in makedist builds
|
|
|
|
|
2024-01-05 21:03:12 +01:00
|
|
|
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 20141019-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:03:12 +01:00
|
|
|
* Sun Oct 12 2014 Automatic Build System <autodist@mambasoft.it> 20140927-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 21:03:12 +01:00
|
|
|
* Sun May 25 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140325-2mamba
|
|
|
|
- provide required directory /etc/ca-certificates/update.d
|
|
|
|
|
2024-01-05 21:03:12 +01:00
|
|
|
* Sun Apr 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 20140325-1mamba
|
|
|
|
- update to 20140325
|
|
|
|
|
|
|
|
* Sun Oct 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130906-2mamba
|
|
|
|
- readd symlink cert.pem required by java-gcj-compat
|
|
|
|
|
|
|
|
* Fri Sep 20 2013 Automatic Build System <autodist@mambasoft.it> 20130906-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Aug 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 20130610-3mamba
|
|
|
|
- rewrite specfile, use canonical package dirs, don't provide ca-bundle*
|
|
|
|
|
|
|
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 20130610-2mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 20130610-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Apr 22 2013 Automatic Build System <autodist@mambasoft.it> 20130422git-1mamba
|
|
|
|
- update to 20130422git
|
|
|
|
|
|
|
|
* Tue Apr 10 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2012.04-1mamba
|
|
|
|
- update to 2012.04
|
|
|
|
|
|
|
|
* Thu Feb 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2010.10-2mamba
|
|
|
|
- rebuilt in devel
|
|
|
|
|
|
|
|
* Tue Oct 05 2010 gil <puntogil@libero.it> 2010.10-1mamba
|
|
|
|
- package created by autospec
|