<snip> cargo:rustc-cfg=libressl381 cargo:rustc-cfg=libressl382 cargo:rustc-cfg=libressl390 cargo:libressl_version_number=3090200f --- stderr thread 'main' panicked at /usr/obj/usr/ports/security/py-cryptography/work-py39/cryptography-42.0.5/cargo-crates/openssl-sys-0.9.99/build/main.rs:334:5: This crate is only compatible with OpenSSL (version 1.0.1 through 1.1.1, or 3), or LibreSSL 2.5 through 3.8.1, but a different version of OpenSSL was found. The build is now aborting due to this version mismatch. <snip> It would be very nice if we could keep in line security/libressl updates with lang/rust and security/py-cryptography...
Created attachment 250635 [details] Just proof of concept
Created attachment 250684 [details] patch for security/py-cryptography/files/ This works for me. Please test and report back
(In reply to Bernard Spil from comment #2) Thanks, though this is the same apart from one character to the one I've posted? It jut overrides/updates version check.
(In reply to jakub_lach from comment #3) Jeah, I see that now. Same thing.
Fixed with py-cryptography update. Thanks!
For the record, the compilation fix for LibreSSL 3.9.1 was added in cryptography 42.0.6. Updated to 42.0.7 in ports 3bf9691c0bfa436fa3e5679b2bf9de8efc7c43d4.
(In reply to Po-Chuan Hsieh from comment #6) Great, thanks!