Skip to content

Commit 32961ee

Browse files
committed
fix(wolfssl): declare autoupdate for the CI audit
Every GitHub-direct descriptor must declare extensions.autoupdate. wolfSSL tags are suffixed (v5.9.4-stable), so the tag template is v${version}-stable and the archive URL is built from ${tag}. Candidate CI is what detects a release that changes the transcribed source list or CMake defaults.
1 parent a5be2d7 commit 32961ee

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

‎.agents/docs/2026-10-20-add-wolfssl-plan.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
Curve25519/Ed25519 and system CA-store loading are off in CMake's default
3232
configuration and stay off here.
3333

34+
## Automatic updates
35+
36+
`extensions.autoupdate` is declared with `tag = "v${version}-stable"` and
37+
`url = "https://github.com/wolfSSL/wolfssl/archive/refs/tags/${tag}.tar.gz"`.
38+
The suffix is upstream's actual release-tag shape. The recipe also pins
39+
upstream's default source list and an options.h snapshot, so a release can
40+
add or remove translation units or change CMake defaults; candidate CI is
41+
what detects that, and the bump PR then needs a manual recipe update (the
42+
"upgrades requiring recipe changes" case in `docs/automatic-updates.md`).
43+
3444
## Feature evaluation
3545

3646
No source-gated `features` are offered. CMake's optional components would

‎pkgs/c/compat.wolfssl.lua‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ package = {
4343
repo = "https://github.com/wolfSSL/wolfssl",
4444
type = "package",
4545

46+
-- Upstream's release tags carry a suffix: v5.9.4-stable, not v5.9.4.
47+
-- The updater substitutes ${version} into `tag` and then uses ${tag} in
48+
-- the URL. Candidate CI is what catches a release that changes the
49+
-- transcribed source list or CMake defaults; when that happens the
50+
-- descriptor needs a manual recipe update before the bump PR can pass.
51+
extensions = {
52+
autoupdate = {
53+
tag = "v${version}-stable",
54+
url = "https://github.com/wolfSSL/wolfssl/archive/refs/tags/${tag}.tar.gz",
55+
},
56+
},
57+
4658
xpm = {
4759
-- No CN mirror has been published to gitcode/mcpp-res yet, so this
4860
-- uses the repository's plain-string upstream fallback rather than

0 commit comments

Comments
 (0)