Skip to content

Commit

Permalink
security/liboqs: fix build on arm64
Browse files Browse the repository at this point in the history
Import an upstream commit fixing the CPU feature detection code.

Obtained from:	open-quantum-safe/liboqs#1267
Approved by:	yuri (maintainer)
Approved by:	flo (mentor)
Differential Revision: https://reviews.freebsd.org/D38862
  • Loading branch information
clausecker committed Mar 3, 2023
1 parent 92747e0 commit e5f6594
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions security/liboqs/Makefile
@@ -1,16 +1,18 @@
PORTNAME= liboqs
DISTVERSION= 0.7.2-20220607
PORTREVISION= 1
CATEGORIES= security

PATCH_SITES= https://github.com/open-quantum-safe/liboqs/pull/1267/commits/
PATCHFILES= 676c0f53fd7d5601636cf698f04131b832f9d672.diff:-p1

MAINTAINER= yuri@FreeBSD.org
COMMENT= C library for quantum-resistant cryptography
WWW= https://openquantumsafe.org/

LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt

BROKEN_aarch64= build breaks: use of undeclared identifier 'ID_AA64ISAR0_SHA3_BASE', see https://github.com/open-quantum-safe/liboqs/issues/1266

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest4>0:devel/py-pytest4@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} \
bash:shells/bash
Expand Down
4 changes: 3 additions & 1 deletion security/liboqs/distinfo
@@ -1,3 +1,5 @@
TIMESTAMP = 1669872031
TIMESTAMP = 1677621246
SHA256 (open-quantum-safe-liboqs-0.7.2-20220607-38d3014dc2f74ec0f0c1a9e7e61aa4d2251adcc9_GH0.tar.gz) = 7faa627bc956f4c9c2b42cfc43324a07a48407ce1efd125bbf5d04f3711a7979
SIZE (open-quantum-safe-liboqs-0.7.2-20220607-38d3014dc2f74ec0f0c1a9e7e61aa4d2251adcc9_GH0.tar.gz) = 8108855
SHA256 (676c0f53fd7d5601636cf698f04131b832f9d672.diff) = 1f509284402cdf2d85335cd1bdbf25bfd7437e112e490a772f28ca5ed133d481
SIZE (676c0f53fd7d5601636cf698f04131b832f9d672.diff) = 1392

0 comments on commit e5f6594

Please sign in to comment.