Compare commits

...

2 Commits

Author SHA1 Message Date
Vladis Dronov 3e626682af Update to qatengine 1.4.0 2023-11-21 04:59:05 +00:00
Vladis Dronov 9911243f63 Update to qatengine 1.0.0
Resolves: rhbz#2082432

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
2023-03-31 15:59:35 +02:00
4 changed files with 47 additions and 15 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/qatengine-0.6.19.tar.gz
/qatengine-*.tar.gz

1
.qatengine.metadata Normal file
View File

@ -0,0 +1 @@
4ba02d88d31a209740f9e11c110b58393c43852a qatengine-1.4.0.tar.gz

View File

@ -1,26 +1,35 @@
# SPDX-License-Identifier: MIT
%global githubname QAT_Engine
# Define the directory where the OpenSSL engines are installed
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
Name: qatengine
Version: 0.6.19
Version: 1.4.0
Release: 1%{?dist}
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
# Most of the source code is BSD, with the following exceptions:
# - e_qat.txt, e_qat_err.c, and e_qat_err.h are OpenSSL
# - qat/config/* are (BSD or GPLv2), but are not used during compilation
# - qat_contig_mem/* are GPLv2, but are not used during compilation
License: BSD and OpenSSL
URL: https://github.com/intel/%{githubname}
Source0: https://github.com/intel/%{githubname}/archive/v%{version}/%{name}-%{version}.tar.gz
License: BSD-3-Clause AND OpenSSL
URL: https://github.com/intel/QAT_Engine
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc make pkg-config
BuildRequires: autoconf automake libtool
BuildRequires: openssl-devel >= 1.1.1
BuildRequires: qatlib-devel >= 21.08.0
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065
ExcludeArch: %{arm} aarch64 %{power64} s390x i686
ExclusiveArch: x86_64
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc
BuildRequires: libtool
BuildRequires: openssl-devel >= 1.1.1
BuildRequires: qatlib-devel >= 23.02.0
%if !0%{?rhel}
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.6
BuildRequires: intel-ipsec-mb-devel >= 1.3.0
BuildRequires: openssl
%endif
%description
This package provides the Intel QuickAssist Technology OpenSSL Engine
@ -29,23 +38,45 @@ for both hardware and optimized software using Intel QuickAssist Technology
enabled Intel platforms.
%prep
%autosetup -n %{githubname}-%{version}
%autosetup -n QAT_Engine-%{version}
%build
autoreconf -ivf
%if !0%{?rhel}
# Enable QAT_HW & QAT_SW Co-existence acceleration
%configure --enable-qat_sw
%else
# QAT_HW only acceleration for RHEL
%configure
%endif
%make_build
%install
%make_install
%if 0%{?rhel}
find %{buildroot} -name "*.la" -delete
%endif
%if !0%{?rhel}
%check
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
openssl engine -v %{name}
%endif
%files
%license LICENSE*
%doc README.md docs*
%{enginesdir}/qatengine.so
%exclude %{enginesdir}/qatengine.la
%{enginesdir}/%{name}.so
%changelog
* Mon Nov 20 2023 Vladis Dronov <vdronov@redhat.com> - 1.4.0-1
- Update to qatengine v1.4.0 (RHEL-15636)
- Enable QAT_HW & QAT SW Co-ex Acceleration for non RHEL distros
* Fri Mar 31 2023 Vladis Dronov <vdronov@redhat.com> - 1.0.0-1
- Update to qatengine v1.0.0 (bz 2082432)
* Tue Mar 07 2023 Vladis Dronov <vdronov@redhat.com> - 0.6.19-1
- Update to qatengine v0.6.19 (bz 2082432)

View File

@ -1 +1 @@
SHA512 (qatengine-0.6.19.tar.gz) = 02dda5797b0d44c38e8257981351a477f11bf28fc58d59f8fbdc29669d27bbc4e7255a58ac32ad7ac2fb9ca1f349d2178cf93962625838115aaff34be73aadef
SHA512 (qatengine-1.4.0.tar.gz) = 4e5a8a41ae07bf0704b5bfae23f6a5c7f1dd968ea721307ba078c704f8c2563ac9f17298752a9cf212ff9d6fb6185b7f5534651e1661ea06b1669dc53f80a585