Bug 297221 - security/openssl-oqsprovider: update to current head to support liboqs-0.16.0
Summary: security/openssl-oqsprovider: update to current head to support liboqs-0.16.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Bernard Spil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-08-01 13:10 UTC by Bruno Damour
Modified: 2026-08-03 17:34 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brnrd)


Attachments
patch against current ports tree (1.34 KB, patch)
2026-08-01 13:10 UTC, Bruno Damour
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Damour 2026-08-01 13:10:49 UTC
Created attachment 273381 [details]
patch against current ports tree

Fix to allow building of oqsprovider against liboqs-0.16.0.

In 0.16+ versions of liboqs SPHINCS+ algorithms were removed (see https://github.com/open-quantum-safe/liboqs/issues/2155).

This change has been reflected in the oqsprovider source (see https://github.com/open-quantum-safe/oqs-provider/commit/15e24d18211e65b7d220acac55d355e1e57f069b) but no new release has been made since then and the last (older) 0.11.0 release was cooked before these changes.

This has been notified upstream (see https://github.com/open-quantum-safe/oqs-provider/issues/797).

In the meantime, the current 0.11.0 port does not compile against liboqs-0.16.0 which is last in ports tree.

The patch attached points the source for oqsprovider to the latest available commit in tree (dated 2026-07-21) and allow building against liboqs-0.16.0.
Comment 1 commit-hook freebsd_committer freebsd_triage 2026-08-03 17:23:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=566f6b3d5714d94481a401e96ebf37dd9d9ab313

commit 566f6b3d5714d94481a401e96ebf37dd9d9ab313
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2026-08-03 17:21:07 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2026-08-03 17:21:07 +0000

    security/openssl-oqsprovider: Fix build with liboqs 0.16.0

    pending upstream release of new version

    PR:             297221
    Reported byL    Bruno Damour <bruno ruoma net>

 security/openssl-oqsprovider/Makefile | 3 ++-
 security/openssl-oqsprovider/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 4 deletions(-)
Comment 2 Bernard Spil freebsd_committer freebsd_triage 2026-08-03 17:34:53 UTC
Thanks Bruno!