This directory contains a simple build script and Makefile
to build openconnect
(with keychain support) on macOS.
Tested on macOS 10.15 Catalina.
Install Xcode.
Simply run make
command, then it will download dependencies and build openconnect
.
openconnect
will be installed in usr/sbin/openconnect
.
NOTE The binary and dependencies are not relocatable.
I also had to remove this from the configure.sh
if [[ $(openssl dgst -sha256 < "$VPNC_SCRIPT_PATH") != "$VPNC_SCRIPT_SHA256" ]]; then echo "SHA256 doesn't match." >&2 exit 1 fi