|
|
@ -1,7 +1,7 @@
|
|
|
|
%global oqs_version 0.11.0
|
|
|
|
%global oqs_version 0.10.1
|
|
|
|
Name: liboqs
|
|
|
|
Name: liboqs
|
|
|
|
Version: %{oqs_version}
|
|
|
|
Version: %{oqs_version}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: liboqs is an open source C library for quantum-safe cryptographic algorithms.
|
|
|
|
Summary: liboqs is an open source C library for quantum-safe cryptographic algorithms.
|
|
|
|
|
|
|
|
|
|
|
|
#liboqs uses MIT license by itself but includes several files licensed under different terms.
|
|
|
|
#liboqs uses MIT license by itself but includes several files licensed under different terms.
|
|
|
@ -11,8 +11,7 @@ Summary: liboqs is an open source C library for quantum-safe cryptographic al
|
|
|
|
License: MIT AND Apache-2.0 AND BSD-3-Clause AND (BSD-3-Clause OR GPL-1.0-or-later) AND CC0-1.0 AND Unlicense
|
|
|
|
License: MIT AND Apache-2.0 AND BSD-3-Clause AND (BSD-3-Clause OR GPL-1.0-or-later) AND CC0-1.0 AND Unlicense
|
|
|
|
URL: https://github.com/open-quantum-safe/liboqs.git
|
|
|
|
URL: https://github.com/open-quantum-safe/liboqs.git
|
|
|
|
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/%{oqs_version}.tar.gz
|
|
|
|
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/%{oqs_version}.tar.gz
|
|
|
|
Patch1: liboqs-0.11.0-acvp_patch.patch
|
|
|
|
Patch1: liboqs-0.10.0-dlopen-openssl.patch
|
|
|
|
Patch2: liboqs-0.10.0-std-stricter.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: ninja-build
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
@ -62,7 +61,7 @@ sed -e '/COMMAND.*pytest/s|$| --ignore tests/test_code_conventions.py|' \
|
|
|
|
-i tests/CMakeLists.txt
|
|
|
|
-i tests/CMakeLists.txt
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=NIST_2024 -DOQS_USE_SHA3_OPENSSL=ON -DOQS_DLOPEN_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH ..
|
|
|
|
%cmake -GNinja -DBUILD_SHARED_LIBS=ON -DOQS_USE_AES_OPENSSL=ON -DOQS_USE_AES_INSTRUCTIONS=OFF -DOQS_DIST_BUILD=ON -DOQS_ALGS_ENABLED=STD -DOQS_USE_SHA3_OPENSSL=ON -DOQS_DLOPEN_OPENSSL=ON -DCMAKE_BUILD_TYPE=Debug -LAH ..
|
|
|
|
%cmake_build
|
|
|
|
%cmake_build
|
|
|
|
#ninja gen_docs
|
|
|
|
#ninja gen_docs
|
|
|
|
|
|
|
|
|
|
|
@ -82,7 +81,7 @@ done
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{_libdir}/liboqs.so.%{oqs_version}
|
|
|
|
%{_libdir}/liboqs.so.%{oqs_version}
|
|
|
|
%{_libdir}/liboqs.so.6
|
|
|
|
%{_libdir}/liboqs.so.5
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_libdir}/liboqs.so
|
|
|
|
%{_libdir}/liboqs.so
|
|
|
@ -99,21 +98,8 @@ done
|
|
|
|
#%doc %%{_datadir}/doc/oqs/xml/*
|
|
|
|
#%doc %%{_datadir}/doc/oqs/xml/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.11.0-4
|
|
|
|
* Tue Nov 26 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.10.1-2
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.11.0-3
|
|
|
|
|
|
|
|
- Restoring ML-KEM-512 built out by accident
|
|
|
|
|
|
|
|
Resolves: RHEL-64284
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 04 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.11.0-2
|
|
|
|
|
|
|
|
- Removing Falcon from supported algorithms
|
|
|
|
|
|
|
|
Related: RHEL-56152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 30 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.11.0-1
|
|
|
|
|
|
|
|
- Update to 0.11.0 version
|
|
|
|
|
|
|
|
Resolves: RHEL-56152
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jul 08 2024 Dmitry Belyavskiy - 0.10.1-1
|
|
|
|
* Mon Jul 08 2024 Dmitry Belyavskiy - 0.10.1-1
|
|
|
|
- Rebase to 0.10.1 version (CVE-2024-36405)
|
|
|
|
- Rebase to 0.10.1 version (CVE-2024-36405)
|
|
|
|