44
55Name: osg-ca-certs
66Version: %{osg_version }
7- Release: 1 %{?dist }
7+ Release: 2 %{?dist }
88Summary: OSG Packaging of the IGTF CA Certs and OSG-specific CAs, in the OpenSSL 1.0.* format.
99
1010License: Unknown
@@ -13,6 +13,7 @@ URL: http://repo.opensciencegrid.org/cadist/
1313Source0: https://github.com/opensciencegrid/osg-certificates/archive/v%{vtag }/osg-certificates-%{vtag }.tar.gz
1414Source1: https://dist.eugridpma.info/distribution/igtf/current/igtf-policy-installation-bundle-%{igtf_version }.tar.gz
1515Source2: https://github.com/opensciencegrid/letsencrypt-certificates/archive/v0.3.2/letsencrypt-certificates.tar.gz
16+ Source3: trusted_sha1_certs.sh
1617# can obtain latest letsencrypt-certificates.tar.gz with a github.source line:
1718# type=github repo=cilogon/letsencrypt-certificates tarball=letsencrypt-certificates.tar.gz tag=master hash=...
1819
@@ -31,10 +32,20 @@ Conflicts: osg-ca-scripts
3132Obsoletes: vdt-ca-certs
3233Obsoletes: osg-ca-certs-experimental
3334Obsoletes: osg-ca-certs-compat <= 1:1.37
35+ RemovePathPostfixes: .trusted-cert
3436
3537%description
3638For details about the current certificate release, see https://repo.opensciencegrid.org/cadist/ and change log at https://repo.opensciencegrid.org/cadist/CHANGES.
3739
40+ %package java
41+ Summary: Java-compatible SHA1 certs for %{name }
42+ BuildArch: noarch
43+ Conflicts: osg-ca-scripts
44+ RemovePathPostfixes: .java-cert
45+
46+ %description java
47+ For details about the current certificate release, see https://repo.opensciencegrid.org/cadist/ and change log at https://repo.opensciencegrid.org/cadist/CHANGES.
48+
3849%prep
3950%setup -n osg-certificates-%{vtag }
4051%setup -D -n osg-certificates-%{vtag } -a 1
@@ -48,22 +59,34 @@ export CADIST=$PWD/certificates
4859export PKG_NAME=%{name }
4960
5061./build-certificates-dir.sh
62+ ./add-trusted-sha1-certs.sh certificates trusted-cert java-cert
5163
5264%install
5365mkdir -p $RPM_BUILD_ROOT /etc/grid-security/certificates
5466mv certificates/* $RPM_BUILD_ROOT /etc/grid-security/certificates/
5567
5668%check
57- cd $RPM_BUILD_ROOT /etc/grid-security/certificates
58- sha256sum -c cacerts_sha256sum.txt
69+ # TODO how do we sha256sum the files that will have their names changed during install?
70+ # cd $RPM_BUILD_ROOT/etc/grid-security/certificates
71+
72+ # sha256sum -c cacerts_sha256sum.txt
5973
6074%files
6175%defattr(0644,root,root,-)
6276%dir %attr(0755,root,root) /etc/grid-security/certificates
6377/etc/grid-security/certificates/*
6478%doc
6579
80+ %files java
81+ %defattr(0644,root,root,-)
82+ %dir %attr(0755,root,root) /etc/grid-security/certificates
83+ /etc/grid-security/certificates/*
84+ %doc
85+
6686%changelog
87+ * Thu Nov 9 2023 Matt Westphall <westphall@wisc.edu> - 1.115-2
88+ - Re-add el9 cert changes, create secondary package with original certs (SOFTWARE-5745)
89+
6790* Tue Oct 31 2023 Mátyás Selmeci <matyas@cs.wisc.edu> - 1.115-1
6891- Update to IGTF 1.124 (SOFTWARE-5738)
6992
@@ -361,7 +384,7 @@ sha256sum -c cacerts_sha256sum.txt
361384* Wed Oct 3 2012 Anand Padmanabhan <apadmana@uiuc.edu> - 1.31-2
362385- CA release corresponding to IGTF 1.50
363386
364- * Tue Sep 25 2012 Anand Padmanabhan <apadmana@uiuc.edu> - 1.31-1
387+ * Tue Sep 25 2012 Anand Padmanabhan <apadmana@uiuc.edu> - 1.31-1\
365388- CA release corresponding to IGTF 1.50
366389
367390* Tue Aug 07 2012 Anand Padmanabhan <apadmana@uiuc.edu> - 1.30-1
@@ -414,4 +437,3 @@ Fix conflicts line.
414437
415438* Mon Aug 15 2011 Brian Bockelman <bbockelm@cse.unl.edu> - 1.20-1
416439- Initial version, based on osg-ca-certs spec file.
417-
0 commit comments