Commit 850d5374 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Initial commit

parents
all: wpa-config
tar xf wpa_supplicant-2.9.tar.gz
echo "$$WPA_CONFIG" > wpa_supplicant-2.9/wpa_supplicant/.config
$(MAKE) -C wpa_supplicant-2.9/wpa_supplicant BINDIR=/sbin LIBDIR=/lib
install -v -m755 wpa_supplicant-2.9/wpa_supplicant/wpa_{cli,passphrase,supplicant} /sbin/
install -v -m644 wpa_supplicant-2.9/wpa_supplicant/doc/docbook/wpa_supplicant.conf.5 /usr/share/man/man5/
install -v -m644 wpa_supplicant-2.9/wpa_supplicant/doc/docbook/wpa_{cli,passphrase,supplicant}.8 /usr/share/man/man8/
install -v -m644 wpa_supplicant-2.9/wpa_supplicant/systemd/*.service /lib/systemd/system/
install -v -m644 wpa_supplicant-2.9/wpa_supplicant/dbus/fi.w1.wpa_supplicant1.service /usr/share/dbus-1/system-services/
install -v -d -m755 /etc/dbus-1/system.d
install -v -m644 wpa_supplicant-2.9/wpa_supplicant/dbus/dbus-wpa_supplicant.conf /etc/dbus-1/system.d/wpa_supplicant.conf
systemctl enable wpa_supplicant
install -v -dm755 /etc/wpa_supplicant
rm -rf wpa_supplicant-2.9
wpa-config:
define WPA_CONFIG
CONFIG_BACKEND=file
CONFIG_CTRL_IFACE=y
CONFIG_DEBUG_FILE=y
CONFIG_DEBUG_SYSLOG=y
CONFIG_DEBUG_SYSLOG_FACILITY=LOG_DAEMON
CONFIG_DRIVER_NL80211=y
CONFIG_DRIVER_WEXT=y
CONFIG_DRIVER_WIRED=y
CONFIG_EAP_GTC=y
CONFIG_EAP_LEAP=y
CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_OTP=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TLS=y
CONFIG_EAP_TTLS=y
CONFIG_IEEE8021X_EAPOL=y
CONFIG_IPV6=y
CONFIG_LIBNL32=y
CONFIG_PEERKEY=y
CONFIG_PKCS12=y
CONFIG_READLINE=y
CONFIG_SMARTCARD=y
CONFIG_WPS=y
CFLAGS += -I/usr/include/libnl3
CONFIG_CTRL_IFACE_DBUS=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CONFIG_CTRL_IFACE_DBUS_INTRO=y
endef
export WPA_CONFIG
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment