fix softhsm: FTBFS with OpenSSL 3.0.0

Resolves: rhbz#2021906

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Alexander Bokovoy 2021-11-10 20:10:52 +02:00
parent a99b501c1e
commit d68ea4582b
2 changed files with 1016 additions and 0 deletions

1011
softhsm-openssl3-tests.patch Normal file

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,7 @@ Source: http://dist.opendnssec.org/source/%{?prever:testing/}%{name}-%{version}.
Source1: http://dist.opendnssec.org/source/%{?prever:testing/}%{name}-%{version}.tar.gz.sig
Patch1: softhsm-2.6.1-rh1831086-exit.patch
Patch2: softhsm-openssl3-tests.patch
BuildRequires: make
BuildRequires: openssl-devel >= 1.0.1k-6, sqlite-devel >= 3.4.2, cppunit-devel
@ -43,6 +44,7 @@ The devel package contains the libsofthsm include files
%prep
%setup -q -n %{name}-%{version}%{?prever}
%patch1 -p1
%patch2 -p1
%if 0%{?prever:1} || 0%{?prerelease:1}
# pre-release or post-release snapshots fixup
@ -116,6 +118,9 @@ if [ -f /var/softhsm/slot0.db ]; then
fi
%changelog
* Wed Nov 10 2021 Alexander Bokovoy <abokovoy@redhat.com> - 2.6.1-6
- Resolves: rhbz#2021906 - softhsm: FTBFS with OpenSSL 3.0.0
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 2.6.1-5.3
- Rebuilt with OpenSSL 3.0.0