Last active
October 24, 2022 09:26
-
-
Save jimdigriz/4edba08e5412a6f01087dbd400e1c9c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update | |
apt -y upgrade --no-install-recommends | |
apt -y install --no-install-recommends \ | |
build-essential \ | |
ca-certificates \ | |
git \ | |
libdbus-1-dev \ | |
libnl-3-dev \ | |
libnl-genl-3-dev \ | |
libnl-route-3-dev \ | |
libssl-dev \ | |
pkg-config | |
# https://lists.infradead.org/pipermail/hostap/2022-July/040640.html is not included upstream | |
git clone -b teap https://github.com/corememltd/hostap.git | |
cd hostap | |
# CFLAGS tweak to enable support for SSLKEYLOGFILE and also support compiling for OpenSSL 3.x | |
sed -e 's/^#\(CONFIG_EAPOL_TEST\|CONFIG_EAP_TEAP\)=y/\1=y/; $a\CFLAGS += -DCONFIG_TESTING_OPTIONS -Wno-error=deprecated-declarations' wpa_supplicant/defconfig > wpa_supplicant/.config | |
make -C wpa_supplicant -j$(($(getconf _NPROCESSORS_ONLN)+1)) eapol_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment