Update to qatengine v1.1.0
Signed-off-by: Yogaraj Alamenda <yogarajx.alamenda@intel.com>
This commit is contained in:
parent
42d86dc121
commit
127f7af246
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
/qatengine-1.0.0.tar.gz
|
/qatengine-1.1.0.tar.gz
|
||||||
|
@ -1,26 +1,35 @@
|
|||||||
# SPDX-License-Identifier: MIT
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
%global githubname QAT_Engine
|
# Define the directory where the OpenSSL engines are installed
|
||||||
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
||||||
|
|
||||||
Name: qatengine
|
Name: qatengine
|
||||||
Version: 1.0.0
|
Version: 1.1.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/config/* are (BSD or GPLv2), but are not used during compilation
|
||||||
# - qat_contig_mem/* are GPLv2, but are not used during compilation
|
# - qat_contig_mem/* are GPLv2, but are not used during compilation
|
||||||
License: BSD and OpenSSL
|
License: BSD-3-Clause AND OpenSSL
|
||||||
URL: https://github.com/intel/%{githubname}
|
URL: https://github.com/intel/QAT_Engine
|
||||||
Source0: https://github.com/intel/%{githubname}/archive/v%{version}/%{name}-%{version}.tar.gz
|
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
|
# 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
|
%description
|
||||||
This package provides the Intel QuickAssist Technology OpenSSL Engine
|
This package provides the Intel QuickAssist Technology OpenSSL Engine
|
||||||
@ -29,23 +38,44 @@ for both hardware and optimized software using Intel QuickAssist Technology
|
|||||||
enabled Intel platforms.
|
enabled Intel platforms.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{githubname}-%{version}
|
%autosetup -n QAT_Engine-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
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
|
%configure
|
||||||
|
%endif
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_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
|
%files
|
||||||
%license LICENSE*
|
%license LICENSE*
|
||||||
%doc README.md docs*
|
%doc README.md docs*
|
||||||
%{enginesdir}/qatengine.so
|
%{enginesdir}/%{name}.so
|
||||||
%exclude %{enginesdir}/qatengine.la
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 04 2023 Yogaraj Alamenda <yogarajx.alamenda@intel.com> - 1.1.0-1
|
||||||
|
- Update to qatengine v1.1.0
|
||||||
|
|
||||||
|
* Thu Apr 13 2023 Ali Erdinc Koroglu <aekoroglu@linux.intel.com> - 1.0.0-2
|
||||||
|
- Enable QAT_HW & QAT SW Co-ex Acceleration for non RHEL distros
|
||||||
|
|
||||||
* Wed Mar 22 2023 Yogaraj Alamenda <yogarajx.alamenda@intel.com> - 1.0.0-1
|
* Wed Mar 22 2023 Yogaraj Alamenda <yogarajx.alamenda@intel.com> - 1.0.0-1
|
||||||
- Update to qatengine v1.0.0
|
- Update to qatengine v1.0.0
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (qatengine-1.0.0.tar.gz) = ea3cf22a9a5bafaa737dbb0bedbc15fb740801ccf0cfd29d3073998d1f6f74d50fa48fbaac8dc475794b3d781358db8c1bcaad9992be0b870f2f743984524106
|
SHA512 (qatengine-1.1.0.tar.gz) = a027dcc10745dfc9d97e06ea143f9011122ace4fd7d3200838a9e73efd9c892341d1ddeb6215c82f55e13a88350e88b0a870ba420cc2d4b6f122d57834278912
|
||||||
|
Loading…
Reference in New Issue
Block a user