Compare commits

...

5 Commits

Author SHA1 Message Date
8643d2a012 Import from AlmaLinux stable repository 2024-05-31 18:03:42 +00:00
CentOS Sources
ad5bbb2a3e import qatengine-1.0.0-1.el8_8 2023-05-16 10:00:00 +00:00
CentOS Sources
f2a2aa28fa import qatengine-0.6.15-2.el8 2022-11-08 10:45:43 +00:00
CentOS Sources
e56bd378f8 import qatengine-0.6.10-1.el8 2022-05-10 11:43:31 +00:00
CentOS Sources
ea95831576 import qatengine-0.6.7-1.el8 2021-11-09 09:58:36 +00:00
3 changed files with 71 additions and 17 deletions

2
.gitignore vendored
View File

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

View File

@ -1 +0,0 @@
dfdf7df301778d1982b2ce7ea4121d09478700a6 SOURCES/qatengine-0.6.3.tar.gz

View File

@ -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: 0.6.3 Version: 1.4.0
Release: 3%{?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 >= 20.10.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,69 @@ 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 %doc README.md docs*
%{enginesdir}/qatengine.so %{enginesdir}/%{name}.so
%exclude %{enginesdir}/qatengine.la
%changelog %changelog
* 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
* Fri Mar 31 2023 Vladis Dronov <vdronov@redhat.com> - 1.0.0-1
- Update to qatengine v1.0.0 (bz 2082435)
* Tue Mar 07 2023 Vladis Dronov <vdronov@redhat.com> - 0.6.19-1
- Update to qatengine v0.6.19 (bz 2082435)
* 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)
* Mon Nov 15 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.10-1
- Update to qatengine v0.6.10 (bz 1995565)
* 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)
* Tue Feb 9 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.3-3 * Tue Feb 9 2021 Vladis Dronov <vdronov@redhat.com> - 0.6.3-3
- Add OSCI testing harness (bz 1924868) - Add OSCI testing harness (bz 1924868)