Update to qatengine v1.7.0
Update to the upstream commit ceb9d4ac Remove qat_contig_mem from upstream package Resolves: RHEL-47394 Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
parent
d765c95314
commit
d13d40f385
@ -1,17 +1,25 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
# Build as an OpenSSL provider instead of as an engine
|
||||||
|
%bcond provider %[0%{?fedora} >= 41 || 0%{?rhel} >= 10]
|
||||||
|
# QAT_HW only acceleration for RHEL
|
||||||
|
%bcond sw %{undefined rhel}
|
||||||
|
|
||||||
# Define the directory where the OpenSSL engines are installed
|
# Define the directory where the OpenSSL engines are installed
|
||||||
|
%if %{with provider}
|
||||||
|
%global modulesdir %(pkg-config --variable=modulesdir libcrypto)
|
||||||
|
%else
|
||||||
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: qatengine
|
Name: qatengine
|
||||||
Version: 1.6.0
|
Version: 1.7.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
|
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
|
||||||
|
|
||||||
# Most of the source code is BSD, with the following exceptions:
|
# 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
|
# - 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_hw_config/* are (BSD or GPLv2), but are not used during compilation
|
||||||
# - qat_contig_mem/* are GPLv2, but are not used during compilation
|
|
||||||
License: BSD-3-Clause AND OpenSSL
|
License: BSD-3-Clause AND OpenSSL
|
||||||
URL: https://github.com/intel/QAT_Engine
|
URL: https://github.com/intel/QAT_Engine
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
@ -28,8 +36,8 @@ BuildRequires: qatlib-devel >= 23.02.0
|
|||||||
%if !0%{?rhel}
|
%if !0%{?rhel}
|
||||||
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.6
|
BuildRequires: intel-ipp-crypto-mb-devel >= 1.0.6
|
||||||
BuildRequires: intel-ipsec-mb-devel >= 1.3.0
|
BuildRequires: intel-ipsec-mb-devel >= 1.3.0
|
||||||
BuildRequires: openssl
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: openssl
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides the Intel QuickAssist Technology OpenSSL Engine
|
This package provides the Intel QuickAssist Technology OpenSSL Engine
|
||||||
@ -42,13 +50,7 @@ enabled Intel platforms.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
%if !0%{?rhel}
|
%configure %{?with_sw:--enable-qat_sw} %{?with_provider:--enable-qat_provider}
|
||||||
# Enable QAT_HW & QAT_SW Co-existence acceleration
|
|
||||||
%configure --enable-qat_sw
|
|
||||||
%else
|
|
||||||
# QAT_HW only acceleration for RHEL
|
|
||||||
%configure
|
|
||||||
%endif
|
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -58,8 +60,11 @@ autoreconf -ivf
|
|||||||
find %{buildroot} -name "*.la" -delete
|
find %{buildroot} -name "*.la" -delete
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !0%{?rhel}
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with provider}
|
||||||
|
export OPENSSL_MODULES=%{buildroot}%{modulesdir}
|
||||||
|
openssl list -providers -provider qatprovider
|
||||||
|
%else
|
||||||
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
|
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
|
||||||
openssl engine -v %{name}
|
openssl engine -v %{name}
|
||||||
%endif
|
%endif
|
||||||
@ -67,9 +72,17 @@ openssl engine -v %{name}
|
|||||||
%files
|
%files
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
%doc README.md docs*
|
%doc README.md docs*
|
||||||
|
%if %{with provider}
|
||||||
|
%{modulesdir}/qatprovider.so
|
||||||
|
%else
|
||||||
%{enginesdir}/%{name}.so
|
%{enginesdir}/%{name}.so
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 07 2024 Vladis Dronov <vdronov@redhat.com> - 1.7.0-1
|
||||||
|
- Update to qatengine v1.7.0 @ ceb9d4ac (RHEL-47394)
|
||||||
|
- Remove qat_contig_mem from upstream package
|
||||||
|
|
||||||
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 1.6.0-1
|
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 1.6.0-1
|
||||||
- Update to qatengine v1.6.0 (RHEL-20176)
|
- Update to qatengine v1.6.0 (RHEL-20176)
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (qatengine-1.6.0.tar.gz) = 62282f003f30ec7fdcd71988b62addd0f055429917c5838f8b6d4194fa0f7aa0b575df070e76189a299dc7c05f5dc77bb6d70abf5fdd869ce32450dc0b7182b5
|
SHA512 (qatengine-1.7.0.tar.gz) = 99798a2e8649c5277ca70c34df21d1444d3ce99c74c12f0c007f11df44aa0450d72510d25cd441b5068d1a9eb65779e81d3591755981e5ebd89324f79b66aa34
|
||||||
|
Loading…
Reference in New Issue
Block a user