Il giorno mer 17 mag 2023 alle 20:26:52 +02:00:00, Matthias Geiger
<matthias.geiger1...@tutanota.de> ha scritto:
please update mbedtls to 3.4.0 . The 3.x release track includes the
.cmake file
I'd need for another library I'm trying to package.
Hi Matthias, thanks for the report.
I'd love to package the 3.x branch, but there currently isn't any LTS
release for it; the latest LTS is 2.28.x. I'm not going to package
non-LTS versions in Debian, since they don't fit nicely with the stable
release scheme.
If what you need for your package is just CMake dependency discovery,
and not any library feature specific to the 3.x branch, what you could
do instead is to patch the upstream build script to make use of a Find
module which doesn't rely on .cmake Config files being available.
I currently do this for the yuzu package, which also depends on
mbedtls. You can find my FindMbedTLS.cmake here:
<https://github.com/yuzu-emu/yuzu/pull/7044/files>
That file is tuned to yuzu's needs, i.e. it checks for the non-default
CMAC support and only looks for the mbedcrypto library. If you can
point me to the upstream project I'd be able to suggest a more
appropriate file, or even send a patch upstream.
Thanks again for your report! I'll wait for your reply :)