Compare commits

...

No commits in common. "c8" and "c9" have entirely different histories.
c8 ... c9

3 changed files with 61 additions and 30 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/qatengine-1.0.0.tar.gz
SOURCES/qatengine-1.4.0.tar.gz

View File

@ -1 +1 @@
df3cdd04623a025f525ce0572894993d14737f23 SOURCES/qatengine-1.0.0.tar.gz
4ba02d88d31a209740f9e11c110b58393c43852a SOURCES/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: 1.0.0
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,55 +38,77 @@ 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 2176893)
- 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 2176893)
- 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 2048036)
- 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 2048036)
- 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 2048036)
- 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 2048036)
- 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 1995565)
- Update to qatengine v0.6.10 (bz 2012945)
- Add OSCI testing harness
* Fri Aug 27 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.7-1
- Update to qatengine v0.6.7 (bz 1920338)
* 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 Jun 8 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.6-1
- Update to qatengine v0.6.6 (bz 1920338)
* 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
* Tue Feb 9 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.3-3
- Add OSCI testing harness (bz 1924868)
* 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
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Dec 11 2020 Yogaraj Alamenda <yogarajx.alamenda@intel.com> 0.6.4-1
- Update to qatengine v0.6.4
* Mon Nov 30 2020 Yogaraj Alamenda <yogarajx.alamenda@intel.com> 0.6.3-1
- Update to qatengine v0.6.3