Commit d2df006
committed
feat: add mbedtls 3.6.1 descriptor
xpkg V1 + mcpp Form B descriptor for `mbedtls 3.6.1`. Targets the C
language compile rule introduced in mcpp 0.0.2: `library/*.c` (108
sources) compile via `c_object` (gcc/clang sibling driver, c11) and
archive into a single `libmbedtls.a` covering crypto + x509 + ssl —
matching what xmake's `add_packages("mbedtls")` produces.
Glob-aware paths (`*/library/*.c`, `*/include`, `*/library`) absorb
the GitHub tarball's `mbedtls-mbedtls-3.6.1/` wrap layer.
Verified locally: a smoke project depending on `mbedtls = "3.6.1"`
builds, links statically (musl), runs, and produces the FIPS 180-4
SHA-256 vector for "abc" correctly.
First downstream consumer is mcpplibs/tinyhttps (parallel PR adds an
`mcpp.toml` that depends on this descriptor).1 parent 5af9906 commit d2df006
1 file changed
Lines changed: 50 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
0 commit comments