diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0e08314 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +openssl-ibmca-1.1.tar.gz +/openssl-ibmca-1.2.0.tar.gz +/openssl-ibmca-1.3.1.tar.gz +/openssl-ibmca-1.4.0.tar.gz +/openssl-ibmca-1.4.1.tar.gz +/openssl-ibmca-2.0.0.tar.gz +/openssl-ibmca-2.0.3.tar.gz +/openssl-ibmca-2.1.0.tar.gz +/openssl-ibmca-2.1.1.tar.gz +/openssl-ibmca-2.2.0.tar.gz +/openssl-ibmca-2.2.1.tar.gz +/openssl-ibmca-2.3.0.tar.gz +/openssl-ibmca-2.3.1.tar.gz +/openssl-ibmca-2.4.0.tar.gz diff --git a/openssl-ibmca.spec b/openssl-ibmca.spec new file mode 100644 index 0000000..4eaabd7 --- /dev/null +++ b/openssl-ibmca.spec @@ -0,0 +1,206 @@ +%global enginesdir %(pkg-config --variable=enginesdir libcrypto) + +Summary: A dynamic OpenSSL engine for IBMCA +Name: openssl-ibmca +Version: 2.4.0 +Release: 1%{?dist} +License: ASL 2.0 +Group: System Environment/Libraries +URL: https://github.com/opencryptoki +Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz +Requires: libica >= 3.8.0 +BuildRequires: gcc +BuildRequires: libica-devel >= 3.8.0 +BuildRequires: automake libtool +BuildRequires: openssl +ExclusiveArch: s390 s390x + + +%description +A dynamic OpenSSL engine for IBMCA crypto hardware on IBM z Systems machines. + + +%prep +%autosetup -p1 + +./bootstrap.sh + + +%build +%configure --libdir=%{enginesdir} --with-libica-version=3 +make %{?_smp_mflags} + + +%install +%make_install +rm -f $RPM_BUILD_ROOT%{enginesdir}/*.la + +pushd src/engine +sed -e 's|/usr/local/lib|%{enginesdir}|' openssl.cnf.sample > openssl.cnf.sample.%{_arch} +popd + +# remove generated sample configs +rm -rf %{buildroot}%{_datadir}/%{name} + + +%check +make check + + +%files +%license LICENSE +%doc ChangeLog README.md src/engine/openssl.cnf.sample.%{_arch} +%{enginesdir}/ibmca.so +%{_mandir}/man5/ibmca.5* + + +%changelog +* Mon May 29 2023 Dan Horák - 2.4.0-1 +- updated to 2.4.0 (#2159722) +- Resolves: #2159722 + +* Fri Jan 06 2023 Dan Horák - 2.3.1-1 +- updated to 2.3.1 (#2110379) +- Resolves: #2110379 + +* Tue Mar 29 2022 Dan Horák - 2.3.0-1 +- updated to 2.3.0 (#2043842) +- Resolves: #2043842 + +* Wed Oct 06 2021 Dan Horák - 2.2.1-1 +- updated to 2.2.1 (#1984971) +- Resolves: #1984971 + +* Mon Aug 09 2021 Dan Horák - 2.2.0-2 +- fix DSA and DH registration (#1989064) +- Resolves: #1989064 + +* Tue Jul 13 2021 Dan Horák - 2.2.0-1 +- updated to 2.2.0 (#1919222) +- do not use libica software fallbacks (#1922204) +- Resolves: #1919222 #1922204 + +* Thu May 21 2020 Dan Horák - 2.1.1-1 +- updated to 2.1.1 (#1780306) +- Resolves: #1780306 + +* Tue Nov 05 2019 Dan Horák - 2.1.0-1 +- updated to 2.1.0 (#1726242) +- Resolves: #1726242, #1723854 + +* Mon Apr 29 2019 Dan Horák - 2.0.3-1 +- updated to 2.0.3 (#1666622) +- Resolves: #1666622 #1659427 #1683099 + +* Tue Dec 11 2018 Dan Horák - 2.0.0-2 +- Fix doing rsa-me, altough rsa-crt would be possible +- Resolves: #1655654 + +* Mon Jun 18 2018 Dan Horák - 2.0.0-1 +- updated to 2.0.0 + +* Fri Feb 23 2018 Dan Horák - 1.4.1-1 +- updated to 1.4.1 + +* Thu Feb 08 2018 Fedora Release Engineering - 1.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Dan Horák - 1.4.0-2 +- update engine filename +- spec cleanup + +* Mon Sep 11 2017 Dan Horák - 1.4.0-1 +- updated to 1.4.0 + +* Thu Aug 03 2017 Fedora Release Engineering - 1.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Mar 08 2017 Dan Horák - 1.3.1-1 +- updated to 1.3.1 and OpenSSL 1.1 + +* Sat Feb 11 2017 Fedora Release Engineering - 1.2.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.2.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Nov 05 2014 Dan Horák - 1.2.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Mar 19 2014 Dan Horák - 1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Jul 20 2012 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Fri Apr 20 2012 Dan Horák - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Jul 07 2011 Dan Horák - 1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Apr 22 2010 Dan Horák - 1.1-2 +- fixed opening of the libica library (#584765) +- Resolves: #584765 + +* Thu Mar 4 2010 Dan Horák - 1.1-1 +- rebased to 1.1 instead of patching +- Resolves: #568847 + +* Thu Feb 18 2010 Dan Horák - 1.0.0-5 +- added patch with port to libica 2.x API +- Related: #543948 + +* Wed Feb 10 2010 Dan Horák - 1.0.0-4 +- added explicit dependency on libica, because it's dlopened +- Related: #543948 + +* Tue Jan 12 2010 Dan Horák - 1.0.0-3 +- rebuild +- Related: #543948 + +* Sat Jul 25 2009 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Jul 9 2009 Dan Horak - 1.0.0rc2-1.el5.4 +- Fixed several issues with failure of using ibmca engine (#227644) + +* Tue Dec 12 2006 Phil Knirsch - 1.0.0rc2-1.el5.3 +- Added missing symlinks for libs (#215735) +- Added samle config file (#215735) + +* Thu Nov 23 2006 Phil Knirsch - 1.0.0rc2-1.el5.2 +- Necessary fix so openssl finds the module properly (#215735) + +* Thu May 11 2006 Phil Knirsch - 1.0.0rc2 +- Initial package. diff --git a/sources b/sources new file mode 100644 index 0000000..eee921f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (openssl-ibmca-2.4.0.tar.gz) = ec886a89e6537bcda5f40c96dd66a6b3e19563c006434e65e5da7b3bdf7526a1cca7b454d3da1df2455625ffd970a9093ca4a0c7deb5e32e69bed9575f20f811