2021-05-18 07:01:03 +00:00
|
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
|
2024-05-31 17:03:42 +00:00
|
|
|
# Define the directory where the OpenSSL engines are installed
|
2021-05-18 07:01:03 +00:00
|
|
|
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
|
|
|
|
|
|
|
|
Name: qatengine
|
2024-05-31 17:03:42 +00:00
|
|
|
Version: 1.4.0
|
2023-05-16 09:16:22 +00:00
|
|
|
Release: 1%{?dist}
|
2021-05-18 07:01:03 +00:00
|
|
|
Summary: Intel QuickAssist Technology (QAT) OpenSSL Engine
|
2024-05-31 17:03:42 +00:00
|
|
|
|
2021-05-18 07:01:03 +00:00
|
|
|
# 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
|
2024-05-31 17:03:42 +00:00
|
|
|
License: BSD-3-Clause AND OpenSSL
|
|
|
|
URL: https://github.com/intel/QAT_Engine
|
|
|
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
2021-05-18 07:01:03 +00:00
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1909065
|
2024-05-31 17:03:42 +00:00
|
|
|
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
|
2021-05-18 07:01:03 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package provides the Intel QuickAssist Technology OpenSSL Engine
|
|
|
|
(an OpenSSL Plug-In Engine) which provides cryptographic acceleration
|
|
|
|
for both hardware and optimized software using Intel QuickAssist Technology
|
|
|
|
enabled Intel platforms.
|
|
|
|
|
|
|
|
%prep
|
2024-05-31 17:03:42 +00:00
|
|
|
%autosetup -n QAT_Engine-%{version}
|
2021-05-18 07:01:03 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
autoreconf -ivf
|
2024-05-31 17:03:42 +00:00
|
|
|
%if !0%{?rhel}
|
|
|
|
# Enable QAT_HW & QAT_SW Co-existence acceleration
|
|
|
|
%configure --enable-qat_sw
|
|
|
|
%else
|
|
|
|
# QAT_HW only acceleration for RHEL
|
2021-05-18 07:01:03 +00:00
|
|
|
%configure
|
2024-05-31 17:03:42 +00:00
|
|
|
%endif
|
2021-05-18 07:01:03 +00:00
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2024-05-31 17:03:42 +00:00
|
|
|
%if 0%{?rhel}
|
|
|
|
find %{buildroot} -name "*.la" -delete
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if !0%{?rhel}
|
|
|
|
%check
|
|
|
|
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
|
|
|
|
openssl engine -v %{name}
|
|
|
|
%endif
|
|
|
|
|
2021-05-18 07:01:03 +00:00
|
|
|
%files
|
|
|
|
%license LICENSE*
|
2021-11-09 09:58:15 +00:00
|
|
|
%doc README.md docs*
|
2024-05-31 17:03:42 +00:00
|
|
|
%{enginesdir}/%{name}.so
|
2021-05-18 07:01:03 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-05-31 17:03:42 +00:00
|
|
|
* Mon Nov 20 2023 Vladis Dronov <vdronov@redhat.com> - 1.4.0-1
|
|
|
|
- Update to qatengine v1.4.0 (RHEL-15638)
|
|
|
|
- Enable QAT_HW & QAT SW Co-ex Acceleration for non RHEL distros
|
|
|
|
|
2023-05-16 09:16:22 +00:00
|
|
|
* Fri Mar 31 2023 Vladis Dronov <vdronov@redhat.com> - 1.0.0-1
|
2024-05-31 17:03:42 +00:00
|
|
|
- Update to qatengine v1.0.0 (bz 2082435)
|
2023-05-16 09:16:22 +00:00
|
|
|
|
|
|
|
* Tue Mar 07 2023 Vladis Dronov <vdronov@redhat.com> - 0.6.19-1
|
2024-05-31 17:03:42 +00:00
|
|
|
- Update to qatengine v0.6.19 (bz 2082435)
|
2023-05-16 09:16:22 +00:00
|
|
|
|
2022-11-08 06:53:11 +00:00
|
|
|
* Tue Sep 06 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.15-2
|
|
|
|
- Rebuild due to soverion bump (bz 2048036)
|
|
|
|
|
|
|
|
* Mon Aug 29 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.15-1
|
|
|
|
- Update to qatengine v0.6.15 (bz 2048036)
|
|
|
|
|
|
|
|
* Wed Aug 10 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.14-2
|
|
|
|
- Rebuild due to soverion bump (bz 2048036)
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.14-1
|
|
|
|
- Update to qatengine v0.6.14 (bz 2048036)
|
|
|
|
|
2022-05-10 07:06:01 +00:00
|
|
|
* Mon Nov 15 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.10-1
|
|
|
|
- Update to qatengine v0.6.10 (bz 1995565)
|
|
|
|
|
2021-11-09 09:58:15 +00:00
|
|
|
* Fri Aug 27 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.7-1
|
|
|
|
- Update to qatengine v0.6.7 (bz 1920338)
|
|
|
|
|
|
|
|
* Tue Jun 8 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.6-1
|
|
|
|
- Update to qatengine v0.6.6 (bz 1920338)
|
|
|
|
|
2021-05-18 07:01:03 +00:00
|
|
|
* Tue Feb 9 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.3-3
|
|
|
|
- Add OSCI testing harness (bz 1924868)
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
* Mon Nov 30 2020 Yogaraj Alamenda <yogarajx.alamenda@intel.com> 0.6.3-1
|
|
|
|
- Update to qatengine v0.6.3
|
|
|
|
- Update License and library installation
|
|
|
|
|
|
|
|
* Wed Nov 18 2020 Dinesh Balakrishnan <dineshx.balakrishnan@intel.com> 0.6.2-1
|
|
|
|
- Update to qatengine v0.6.2
|
|
|
|
- Address review comments
|
|
|
|
|
|
|
|
* Tue Sep 08 2020 Dinesh Balakrishnan <dineshx.balakrishnan@intel.com> 0.6.1-1
|
|
|
|
- Initial version of rpm package
|