Compare commits

...

No commits in common. 'c9' and 'cs10' have entirely different histories.
c9 ... cs10

2
.gitignore vendored

@ -1 +1 @@
SOURCES/qatengine-1.6.0.tar.gz
SOURCES/qatengine-1.7.0.tar.gz

@ -1 +1 @@
a92fcfe9ccfbf243fb606ed7699bb5b4c57da327 SOURCES/qatengine-1.6.0.tar.gz
dca10282249351140955184dacbf9576a2da3076 SOURCES/qatengine-1.7.0.tar.gz

@ -1,17 +1,25 @@
# 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
%if %{with provider}
%global modulesdir %(pkg-config --variable=modulesdir libcrypto)
%else
%global enginesdir %(pkg-config --variable=enginesdir libcrypto)
%endif
Name: qatengine
Version: 1.6.0
Version: 1.7.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
# - qat_hw_config/* are (BSD or GPLv2), but are not used during compilation
License: BSD-3-Clause AND OpenSSL
URL: https://github.com/intel/QAT_Engine
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -28,8 +36,8 @@ 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
BuildRequires: openssl
%description
This package provides the Intel QuickAssist Technology OpenSSL Engine
@ -42,13 +50,7 @@ enabled Intel platforms.
%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
%configure %{?with_sw:--enable-qat_sw} %{?with_provider:--enable-qat_provider}
%make_build
%install
@ -58,8 +60,11 @@ autoreconf -ivf
find %{buildroot} -name "*.la" -delete
%endif
%if !0%{?rhel}
%check
%if %{with provider}
export OPENSSL_MODULES=%{buildroot}%{modulesdir}
openssl list -providers -provider qatprovider
%else
export OPENSSL_ENGINES=%{buildroot}%{enginesdir}
openssl engine -v %{name}
%endif
@ -67,59 +72,26 @@ openssl engine -v %{name}
%files
%license LICENSE*
%doc README.md docs*
%if %{with provider}
%{modulesdir}/qatprovider.so
%else
%{enginesdir}/%{name}.so
%endif
%changelog
* Fri Jun 14 2024 Vladis Dronov <vdronov@redhat.com> - 1.6.0-1
- Update to qatengine v1.6.0 (RHEL-41076)
* 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)
* Tue Sep 06 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.15-2
- Rebuild due to soverion bump (bz 2047717)
* Mon Aug 29 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.15-1
- Update to qatengine v0.6.15 (bz 2047717)
* Wed Aug 10 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.14-2
- Rebuild due to soverion bump (bz 2047717)
* Fri Jul 22 2022 Vladis Dronov <vdronov@redhat.com> - 0.6.14-1
- Update to qatengine v0.6.14 (bz 2047717)
* Mon Nov 15 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.10-1
- Update to qatengine v0.6.10 (bz 2012945)
- Add OSCI testing harness
* Wed Aug 18 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.7-1
- Update to qatengine v0.6.7 with openssl-3 support (bz 1874206, bz 1953498)
- Add documentation files to a package
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.4-4
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.6.4-3
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Nov 07 2024 Vladis Dronov <vdronov@redhat.com> - 1.7.0-1
- Update to qatengine v1.7.0 @ ceb9d4ac (RHEL-54171)
- Remove qat_contig_mem from upstream package
- Build as a provider for RHEL-10
* Fri Dec 11 2020 Yogaraj Alamenda <yogarajx.alamenda@intel.com> 0.6.4-1
- Update to qatengine v0.6.4
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.6.0-3
- Bump release for October 2024 mass rebuild (RHEL-64018)
* 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
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.6.0-2
- Bump release for June 2024 mass rebuild
* Wed Nov 18 2020 Dinesh Balakrishnan <dineshx.balakrishnan@intel.com> 0.6.2-1
- Update to qatengine v0.6.2
- Address review comments
* Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 1.6.0-1
- Update to qatengine v1.6.0 (RHEL-20177)
* Tue Sep 08 2020 Dinesh Balakrishnan <dineshx.balakrishnan@intel.com> 0.6.1-1
- Initial version of rpm package
* Fri Jan 26 2024 Vladis Dronov <vdronov@redhat.com> - 1.5.0-3
- Initial import from Fedora 40

Loading…
Cancel
Save