Compare commits

...

No commits in common. "c8" and "c8s" have entirely different histories.
c8 ... c8s

3 changed files with 8 additions and 37 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/openssl-ibmca-2.3.1.tar.gz SOURCES/openssl-ibmca-2.1.1.tar.gz

View File

@ -1 +1 @@
5e5ac182d30787788c94b5dcdf9a3a21d209bbaf SOURCES/openssl-ibmca-2.3.1.tar.gz 6f245f09c9ae7c1c1e287030aa5bd1db340dbdb0 SOURCES/openssl-ibmca-2.1.1.tar.gz

View File

@ -2,17 +2,16 @@
Summary: A dynamic OpenSSL engine for IBMCA Summary: A dynamic OpenSSL engine for IBMCA
Name: openssl-ibmca Name: openssl-ibmca
Version: 2.3.1 Version: 2.1.1
Release: 1%{?dist} Release: 1%{?dist}
License: ASL 2.0 License: ASL 2.0
Group: System Environment/Libraries Group: System Environment/Libraries
URL: https://github.com/opencryptoki URL: https://github.com/opencryptoki
Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/opencryptoki/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Requires: libica >= 3.8.0 Requires: libica >= 3.6.0
BuildRequires: gcc BuildRequires: gcc
BuildRequires: libica-devel >= 3.8.0 BuildRequires: libica-devel >= 3.6.0
BuildRequires: automake libtool BuildRequires: automake libtool
BuildRequires: openssl
ExclusiveArch: s390 s390x ExclusiveArch: s390 s390x
@ -27,7 +26,7 @@ A dynamic OpenSSL engine for IBMCA crypto hardware on IBM z Systems machines.
%build %build
%configure --libdir=%{enginesdir} --with-libica-version=3 %configure --libdir=%{enginesdir}
make %{?_smp_mflags} make %{?_smp_mflags}
@ -35,47 +34,19 @@ make %{?_smp_mflags}
%make_install %make_install
rm -f $RPM_BUILD_ROOT%{enginesdir}/*.la rm -f $RPM_BUILD_ROOT%{enginesdir}/*.la
pushd src/engine pushd src
sed -e 's|/usr/local/lib|%{enginesdir}|' openssl.cnf.sample > openssl.cnf.sample.%{_arch} sed -e 's|/usr/local/lib|%{enginesdir}|' openssl.cnf.sample > openssl.cnf.sample.%{_arch}
popd popd
# remove generated sample configs
rm -rf %{buildroot}%{_datadir}/%{name}
%check
make check
%files %files
%license LICENSE %license LICENSE
%doc ChangeLog README.md src/engine/openssl.cnf.sample.%{_arch} %doc ChangeLog README.md src/openssl.cnf.sample.%{_arch}
%{enginesdir}/ibmca.so %{enginesdir}/ibmca.so
%{_mandir}/man5/ibmca.5* %{_mandir}/man5/ibmca.5*
%changelog %changelog
* Fri Jan 06 2023 Dan Horák <dhorak[at]redhat.com> - 2.3.1-1
- updated to 2.3.1 (#2110379)
- Resolves: #2110379
* Tue Mar 29 2022 Dan Horák <dhorak[at]redhat.com> - 2.3.0-1
- updated to 2.3.0 (#2043842)
- Resolves: #2043842
* Wed Oct 06 2021 Dan Horák <dhorak[at]redhat.com> - 2.2.1-1
- updated to 2.2.1 (#1984971)
- Resolves: #1984971
* Mon Aug 09 2021 Dan Horák <dhorak[at]redhat.com> - 2.2.0-2
- fix DSA and DH registration (#1989064)
- Resolves: #1989064
* Tue Jul 13 2021 Dan Horák <dhorak[at]redhat.com> - 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 <dhorak[at]redhat.com> - 2.1.1-1 * Thu May 21 2020 Dan Horák <dhorak[at]redhat.com> - 2.1.1-1
- updated to 2.1.1 (#1780306) - updated to 2.1.1 (#1780306)
- Resolves: #1780306 - Resolves: #1780306