pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/liboqs



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Mar 11 12:44:47 UTC 2025

Modified Files:
        pkgsrc/security/liboqs: Makefile PLIST

Log Message:
liboqs: Fix PLIST on LP32 archs.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/liboqs/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/security/liboqs/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/liboqs/Makefile
diff -u pkgsrc/security/liboqs/Makefile:1.4 pkgsrc/security/liboqs/Makefile:1.5
--- pkgsrc/security/liboqs/Makefile:1.4 Wed Dec 18 21:30:34 2024
+++ pkgsrc/security/liboqs/Makefile     Tue Mar 11 12:44:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2024/12/18 21:30:34 jschauma Exp $
+# $NetBSD: Makefile,v 1.5 2025/03/11 12:44:47 nia Exp $
 
 DISTNAME=      liboqs-0.12.0
 CATEGORIES=    security
@@ -17,6 +17,16 @@ TOOLS_PATH.python3=  ${TOOL_PYTHONBIN:Q}
 
 CMAKE_CONFIGURE_ARGS+= -DOQS_PERMIT_UNSUPPORTED_ARCHITECTURE=ON
 
+.include "../../mk/bsd.fast.prefs.mk"
+
+PLIST_VARS+=           x86_64
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST.x86_64=          yes
+CMAKE_CONFIGURE_ARGS+= -DOQS_ENABLE_KEM_BIKE=ON
+.else
+CMAKE_CONFIGURE_ARGS+= -DOQS_ENABLE_KEM_BIKE=OFF
+.endif
+
 REPLACE_BASH+= tests/run_astyle.sh
 REPLACE_BASH+= tests/test_spdx.sh
 REPLACE_BASH+= tests/test_vectors.sh

Index: pkgsrc/security/liboqs/PLIST
diff -u pkgsrc/security/liboqs/PLIST:1.2 pkgsrc/security/liboqs/PLIST:1.3
--- pkgsrc/security/liboqs/PLIST:1.2    Thu Oct 10 19:32:27 2024
+++ pkgsrc/security/liboqs/PLIST        Tue Mar 11 12:44:47 2025
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.2 2024/10/10 19:32:27 jschauma Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/03/11 12:44:47 nia Exp $
 include/oqs/aes_ops.h
 include/oqs/common.h
 include/oqs/kem.h
-include/oqs/kem_bike.h
+${PLIST.x86_64}include/oqs/kem_bike.h
 include/oqs/kem_classic_mceliece.h
 include/oqs/kem_frodokem.h
 include/oqs/kem_hqc.h



Home | Main Index | Thread Index | Old Index