git: 322a48bf6248 - main - security/liboqs: update 0.9.2 → 0.10.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 03 Apr 2024 07:42:04 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=322a48bf624810abfbe71c6c893ea452991c5e07

commit 322a48bf624810abfbe71c6c893ea452991c5e07
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-03 07:41:01 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-03 07:41:48 +0000

    security/liboqs: update 0.9.2 → 0.10.0
    
    Reported by:    portscout
---
 security/liboqs/Makefile                         |  2 +-
 security/liboqs/distinfo                         |  6 +++---
 security/liboqs/files/patch-tests_CMakeLists.txt | 12 ++++++------
 security/liboqs/pkg-plist                        | 10 ++++------
 4 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/security/liboqs/Makefile b/security/liboqs/Makefile
index f18862287ee2..3df245471caf 100644
--- a/security/liboqs/Makefile
+++ b/security/liboqs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	liboqs
-DISTVERSION=	0.9.2
+DISTVERSION=	0.10.0
 CATEGORIES=	security
 
 MAINTAINER=	yuri@FreeBSD.org
diff --git a/security/liboqs/distinfo b/security/liboqs/distinfo
index 454a72d81a67..b19d70393ea7 100644
--- a/security/liboqs/distinfo
+++ b/security/liboqs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705557187
-SHA256 (open-quantum-safe-liboqs-0.9.2_GH0.tar.gz) = a708c058d4d9dcf5568245439b526fa480180f1fa4541adf21b1d094dc9e0590
-SIZE (open-quantum-safe-liboqs-0.9.2_GH0.tar.gz) = 3321090
+TIMESTAMP = 1712121604
+SHA256 (open-quantum-safe-liboqs-0.10.0_GH0.tar.gz) = 2b7b4436be9825dd0adaf000ee4f322f06551e638a8a9c8d54eda48ed40e40a9
+SIZE (open-quantum-safe-liboqs-0.10.0_GH0.tar.gz) = 4253743
diff --git a/security/liboqs/files/patch-tests_CMakeLists.txt b/security/liboqs/files/patch-tests_CMakeLists.txt
index e2eeb5dc6623..1de51702a21f 100644
--- a/security/liboqs/files/patch-tests_CMakeLists.txt
+++ b/security/liboqs/files/patch-tests_CMakeLists.txt
@@ -1,11 +1,11 @@
---- tests/CMakeLists.txt.orig	2021-12-16 18:34:53 UTC
+--- tests/CMakeLists.txt.orig	2024-03-23 12:34:28 UTC
 +++ tests/CMakeLists.txt
-@@ -115,7 +115,7 @@ add_definitions(-DOQS_COMPILE_OPTIONS="[${OQS_COMPILE_
- # for DLL builds.
+@@ -140,7 +140,7 @@ add_custom_target(
  add_custom_target(
      run_tests
--    COMMAND ${CMAKE_COMMAND} -E env OQS_BUILD_DIR=${CMAKE_BINARY_DIR} ${PYTHON3_EXEC} -m pytest --verbose --numprocesses=auto --ignore=scripts/copy_from_upstream/repos
-+    COMMAND ${CMAKE_COMMAND} -E env OQS_BUILD_DIR=${CMAKE_BINARY_DIR} ${PYTHON3_EXEC} -m pytest --verbose --ignore=scripts/copy_from_upstream/repos
+     # skip long KAT tests
+-    COMMAND ${CMAKE_COMMAND} -E env OQS_BUILD_DIR=${CMAKE_BINARY_DIR} ${PYTHON3_EXEC} -m pytest --verbose --numprocesses=auto --ignore=scripts/copy_from_upstream/repos --ignore=tests/test_kat_all.py
++    COMMAND ${CMAKE_COMMAND} -E env OQS_BUILD_DIR=${CMAKE_BINARY_DIR} ${PYTHON3_EXEC} -m pytest --verbose --ignore=scripts/copy_from_upstream/repos --ignore=tests/test_kat_all.py
      WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
-     DEPENDS oqs example_kem kat_kem test_kem example_sig kat_sig test_sig test_sig_mem test_kem_mem ${UNIX_TESTS}
+     DEPENDS oqs dump_alg_info ${KEM_TESTS} ${SIG_TESTS} ${UNIX_TESTS}
      USES_TERMINAL)
diff --git a/security/liboqs/pkg-plist b/security/liboqs/pkg-plist
index 12ce5749f231..9c0e4c481cf0 100644
--- a/security/liboqs/pkg-plist
+++ b/security/liboqs/pkg-plist
@@ -1,4 +1,3 @@
-include/oqs/aes.h
 include/oqs/common.h
 include/oqs/kem.h
 %%KEM_BIKE%%include/oqs/kem_bike.h
@@ -6,22 +5,21 @@ include/oqs/kem_classic_mceliece.h
 include/oqs/kem_frodokem.h
 include/oqs/kem_hqc.h
 include/oqs/kem_kyber.h
+include/oqs/kem_ml_kem.h
 include/oqs/kem_ntruprime.h
 include/oqs/oqs.h
 include/oqs/oqsconfig.h
 include/oqs/rand.h
-include/oqs/sha2.h
-include/oqs/sha3.h
-include/oqs/sha3x4.h
 include/oqs/sig.h
 include/oqs/sig_dilithium.h
 include/oqs/sig_falcon.h
+include/oqs/sig_ml_dsa.h
 include/oqs/sig_sphincs.h
 lib/cmake/liboqs/liboqsConfig.cmake
 lib/cmake/liboqs/liboqsConfigVersion.cmake
 lib/cmake/liboqs/liboqsTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/liboqs/liboqsTargets.cmake
 lib/liboqs.so
-lib/liboqs.so.0.9.2
-lib/liboqs.so.4
+lib/liboqs.so.0.10.0
+lib/liboqs.so.5
 libdata/pkgconfig/liboqs.pc