Update to qatlib 24.02.0

Add zuc_sample to qatlib-tests package
Use proper SPDX license identifiers

Resolves: RHEL-20173

Signed-off-by: Vladis Dronov <vdronov@redhat.com>
This commit is contained in:
Vladis Dronov 2024-03-24 23:13:07 +01:00
parent 2758ebb45a
commit 5b06b3201f
7 changed files with 47 additions and 82 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/qatlib-23.11.0.tar.gz /qatlib-*.tar.gz

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -3,12 +3,12 @@
%global libqat_soversion 4 %global libqat_soversion 4
%global libusdm_soversion 0 %global libusdm_soversion 0
Name: qatlib Name: qatlib
Version: 23.11.0 Version: 24.02.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Intel QuickAssist user space library Summary: Intel QuickAssist user space library
# The entire source code is released under BSD. # The entire source code is released under BSD.
# For a breakdown of inbound licenses see the INSTALL file. # For a breakdown of inbound licenses see the INSTALL file.
License: BSD and (BSD or GPLv2) License: BSD-3-Clause AND ( BSD-3-Clause OR GPL-2.0-only )
URL: https://github.com/intel/%{name} URL: https://github.com/intel/%{name}
Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source0: https://github.com/intel/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm BuildRequires: systemd gcc make autoconf automake libtool systemd-devel openssl-devel zlib-devel nasm
@ -119,6 +119,7 @@ exit 0
%attr(0754,-,qat) %{_bindir}/prime_sample %attr(0754,-,qat) %{_bindir}/prime_sample
%attr(0754,-,qat) %{_bindir}/hkdf_sample %attr(0754,-,qat) %{_bindir}/hkdf_sample
%attr(0754,-,qat) %{_bindir}/ec_montedwds_sample %attr(0754,-,qat) %{_bindir}/ec_montedwds_sample
%attr(0754,-,qat) %{_bindir}/zuc_sample
%{_datadir}/qat/calgary %{_datadir}/qat/calgary
%{_datadir}/qat/calgary32 %{_datadir}/qat/calgary32
%{_datadir}/qat/canterbury %{_datadir}/qat/canterbury
@ -131,81 +132,10 @@ exit 0
%{_mandir}/man8/qat_init.sh.8* %{_mandir}/man8/qat_init.sh.8*
%changelog %changelog
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.11.0-3 * Fri Mar 22 2024 Vladis Dronov <vdronov@redhat.com> - 24.02.0-1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Update to qatlib 24.02.0 (RHEL-20173)
- Add zuc_sample to qatlib-tests package
- Use proper SPDX license identifiers
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 23.11.0-2 * Fri Jan 26 2024 Vladis Dronov <vdronov@redhat.com> - 23.11.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - Initial import
* Fri Nov 17 2023 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 23.11.0-1
- Update to qatlib 23.11.0
* Thu Sep 07 2023 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 23.08.0-1
- Add chaining_sample to qatlib-tests package
- Update to qatlib 23.08.0
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 23.02.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Feb 24 2023 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 23.02.0-1
- Update to qatlib 23.02.0
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 22.07.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Nov 15 2022 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 22.07.2-1
- Update to qatlib 22.07.2
* Thu Oct 20 2022 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 22.07.1-1
- Update to qatlib 22.07.1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 22.07.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jul 22 2022 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 22.07.0-1
- Update to qatlib 22.07
- Removed patches as fixes are present in qatlib 22.07
- Moved qat.service to separate rpm
* Tue Mar 22 2022 Vladis Dronov <vdronov@redhat.com> - 21.11.0-3
- Fix small issues in qatlib-tests package
- Update documentation from the upstream
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 21.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Wed Nov 10 2021 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 21.11.0-1
- Update to qatlib 21.11
- Add qatlib-tests package
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 21.08.0-2
- Rebuilt with OpenSSL 3.0.0
* Wed Sep 08 2021 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 21.08.0-1
- Update to qatlib 21.08
* Mon Aug 16 2021 Vladis Dronov <vdronov@redhat.com> - 21.05.0-3
- Add documentation files to the package
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 21.05.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue May 18 2021 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 21.05.0-1
- Update to qatlib 21.05
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 20.10.0-4
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Dec 14 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-2
- Add ExcludeArch i686
* Mon Nov 16 2020 Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 20.10.0-1
- Update to qatlib 20.10
- Fixes to spec to address comments from Fedora review
* Mon Aug 10 2020 Mateusz Polrola <mateuszx.potrola@intel.com> - 20.08.0-1
- Initial version of the package

View File

@ -1 +1 @@
SHA512 (qatlib-23.11.0.tar.gz) = b2771ab5d069b0a76a266fa7eac3703da982bba8c988794a72072f7a3c647a2db48b8854cf03a030ba58bc85b6ff4f271688dbc3e3532b0ff9e88e959798ba7b SHA512 (qatlib-24.02.0.tar.gz) = 34008396f1f8631d31e0f62b7192cff216dfe9a5ed9a02db9dc09d876b34b5daa7712c3f9679d949b25db35334a592770468dd808a0f5bd871274b84fa7ef3c2

13
tests/README Normal file
View File

@ -0,0 +1,13 @@
these tests should be configured as BaseOS CI tests (not as OSCI tests), as
they require an x86_64 machine with QAT_4XXX (or later) hardware, so should
be run in Beaker.
see: https://docs.engineering.redhat.com/display/RTT/Onboarding+gating+tests
and: https://docs.engineering.redhat.com/pages/viewpage.action?pageId=53110084
and: https://docs.engineering.redhat.com/display/RTT/Creating+and+Updating+beaker+test
see https://bugzilla.redhat.com/show_bug.cgi?id=1725444#c31 for the details.
QATlib includes some sample codes that can be used to do a sanity check.
However they require a platform with QAT_4XXX. The sample codes reside now
in qatlib-tests package in CRB. You can use cpa_sample_code for a general
sanity test.

6
tests/nulltest.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
# we cannot the this since there is no machine with QAT_4XXX hardware in Beaker as of now
# Intel promised us to provide OtherQA for qatlib, qatengine and QAT kernel patchsets
echo QATLIB nulltest is PASS
exit 0

10
tests/tests.yml Normal file
View File

@ -0,0 +1,10 @@
---
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
tests:
- nulltest:
dir: .
run: nulltest.sh