Load OpenSSL libcrypto.so on demand through dlopen
Signed-off-by: Daiki Ueno <dueno@redhat.com>
This commit is contained in:
parent
fa7d563dbe
commit
b88bf9c117
4189
liboqs-0.10.0-dlopen-openssl.patch
Normal file
4189
liboqs-0.10.0-dlopen-openssl.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
%global oqs_version 0.10.0
|
%global oqs_version 0.10.0
|
||||||
Name: liboqs
|
Name: liboqs
|
||||||
Version: %{oqs_version}
|
Version: %{oqs_version}
|
||||||
Release: 1%{?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,6 +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/0.10.0.tar.gz
|
Source: https://github.com/open-quantum-safe/liboqs/archive/refs/tags/0.10.0.tar.gz
|
||||||
|
Patch: liboqs-0.10.0-dlopen-openssl.patch
|
||||||
|
|
||||||
BuildRequires: ninja-build
|
BuildRequires: ninja-build
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -60,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=STD -DOQS_USE_SHA3_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
|
||||||
|
|
||||||
@ -97,6 +98,9 @@ done
|
|||||||
#%doc %%{_datadir}/doc/oqs/xml/*
|
#%doc %%{_datadir}/doc/oqs/xml/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 24 2024 Daiki Ueno <dueno@redhat.com> - 0.10.0-2
|
||||||
|
- Load OpenSSL libcrypto.so on demand through dlopen
|
||||||
|
|
||||||
* Wed Mar 27 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.10.0-1
|
* Wed Mar 27 2024 Dmitry Belyavskiy <dbelyavs@redhat.com> - 0.10.0-1
|
||||||
- Update to 0.10.0 version
|
- Update to 0.10.0 version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user