FFI bindings for the rustls TLS library.
Rustls is a TLS library that aims to provide a good level of cryptographic
security, requires no configuration to achieve that security, and provides
no unsafe features or obsolete cryptography by default.
Rustls implements TLS1.2 and TLS1.3 for both clients and servers.
Change 15 to the FreeBSD major version you want; the rest keeps your current architecture. The files are saved under ./All/. Copy them to the other machine and install them there with pkg add. Ignore any warning that suggests pkg bootstrap -f. The quarterly or latest branch comes from your own repository configuration, not from this page.
security/rustls-ffi: fix build on powerpc64le
[ 97%] Building C object
aws-lc/crypto/fipsmodule/CMakeFiles/fipsmodule.dir/bcm.c.o
In file included from
/wrkdirs/usr/ports/security/rustls-ffi/work/rustls-ffi-0.14.1/cargo-crates/aws-lc-sys-0.21.1/aws-lc/crypto/fipsmodule/bcm.c:83:
/wrkdirs/usr/ports/security/rustls-ffi/work/rustls-ffi-0.14.1/cargo-crates/aws-lc-sys-0.21.1/aws-lc/crypto/fipsmodule/cpucap/cpu_ppc64le.c:72:28:
error: call to undeclared function 'getauxval'; ISO C99 and later do not support
implicit function declarations [-Werror,-Wimplicit-function-declaration]
72 | OPENSSL_ppc64le_hwcap2 = getauxval(AT_HWCAP2);
| ^
1 error generated.
*/*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fec0d359365c04d43be9e32bf101a50e
PR: 246993
Differential Revision: https://reviews.freebsd.org/D46503