github: Use OpenSSL 3 for macOS builds and enable additional plugins

The Homebrew formula has been using OpenSSL 3 for a while.  The eap-peap
and pkcs11 plugins also have been enabled in the formula.  The dhcp plugin
is enabled to test the port (the farp plugin was already enabled since
its port to FreeBSD/macOS).  The drbg plugin is enabled to run the ML-KEM
test vectors.
This commit is contained in:
Tobias Brunner
2025-10-02 09:03:37 +02:00
parent 6a55de1fa2
commit eb2d8768d8
+9 -8
View File
@@ -388,18 +388,19 @@ macos)
# use the same options as in the Homebrew Formula # use the same options as in the Homebrew Formula
CONFIG="--disable-defaults --enable-charon --enable-cmd --enable-constraints CONFIG="--disable-defaults --enable-charon --enable-cmd --enable-constraints
--enable-curl --enable-eap-gtc --enable-eap-identity --enable-curl --enable-eap-gtc --enable-eap-identity
--enable-eap-md5 --enable-eap-mschapv2 --enable-farp --enable-ikev1 --enable-eap-md5 --enable-eap-mschapv2 --enable-eap-peap
--enable-ikev2 --enable-kernel-libipsec --enable-kernel-pfkey --enable-dhcp --enable-farp --enable-ikev1 --enable-ikev2
--enable-kernel-libipsec --enable-kernel-pfkey
--enable-kernel-pfroute --enable-nonce --enable-openssl --enable-kernel-pfroute --enable-nonce --enable-openssl
--enable-osx-attr --enable-pem --enable-pgp --enable-pkcs1 --enable-osx-attr --enable-pem --enable-pgp --enable-pkcs1
--enable-pkcs8 --enable-pki --enable-pubkey --enable-revocation --enable-pkcs8 --enable-pkcs11 --enable-pki --enable-pubkey
--enable-socket-default --enable-sshkey --enable-stroke --enable-revocation --enable-socket-default --enable-sshkey
--enable-swanctl --enable-unity --enable-updown --enable-stroke --enable-swanctl --enable-unity --enable-updown
--enable-x509 --enable-xauth-generic" --enable-x509 --enable-xauth-generic --enable-drbg"
DEPS="automake autoconf libtool bison gperf pkgconf openssl@1.1 curl" DEPS="automake autoconf libtool bison gperf pkgconf openssl@3 curl"
BREW_PREFIX=$(brew --prefix) BREW_PREFIX=$(brew --prefix)
export PATH=$BREW_PREFIX/opt/bison/bin:$PATH export PATH=$BREW_PREFIX/opt/bison/bin:$PATH
for pkg in openssl@1.1 curl for pkg in openssl@3 curl
do do
PKG_CONFIG_PATH=$BREW_PREFIX/opt/$pkg/lib/pkgconfig:$PKG_CONFIG_PATH PKG_CONFIG_PATH=$BREW_PREFIX/opt/$pkg/lib/pkgconfig:$PKG_CONFIG_PATH
CPPFLAGS="-I$BREW_PREFIX/opt/$pkg/include $CPPFLAGS" CPPFLAGS="-I$BREW_PREFIX/opt/$pkg/include $CPPFLAGS"