wpa_supplicant: enable CONFIG_MATCH_IFACE
This commit is contained in:
parent
e6c8634c2a
commit
8f61162880
3 changed files with 4 additions and 4 deletions
|
@ -468,7 +468,7 @@ CONFIG_NO_RANDOM_POOL=y
|
|||
#CONFIG_HS20=y
|
||||
|
||||
# Enable interface matching in wpa_supplicant
|
||||
#CONFIG_MATCH_IFACE=y
|
||||
CONFIG_MATCH_IFACE=y
|
||||
|
||||
# Disable roaming in wpa_supplicant
|
||||
#CONFIG_NO_ROAMING=y
|
||||
|
|
2
srcpkgs/wpa_supplicant/files/wpa_supplicant/run
Executable file → Normal file
2
srcpkgs/wpa_supplicant/files/wpa_supplicant/run
Executable file → Normal file
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
exec 2>&1
|
||||
exec wpa_supplicant -c ${CONF_FILE:=/etc/wpa_supplicant/wpa_supplicant.conf} -i ${WPA_INTERFACE:=wlan0} ${OPTS:=-s}
|
||||
exec wpa_supplicant -M -c ${CONF_FILE:-/etc/wpa_supplicant/wpa_supplicant.conf} ${WPA_INTERFACE:+-i ${WPA_INTERFACE}} ${OPTS:--s}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
pkgname=wpa_supplicant
|
||||
reverts="2.7_1"
|
||||
version=2.6
|
||||
revision=13
|
||||
revision=14
|
||||
build_wrksrc="$pkgname"
|
||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
||||
|
@ -18,7 +18,7 @@ build_options_default="dbus readline"
|
|||
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|/usr/local|$(PREFIX)|g' Makefile
|
||||
vsed -e 's|/usr/local|$(PREFIX)|g' -i Makefile
|
||||
cp -f ${FILESDIR}/config .config
|
||||
|
||||
if [ "$build_option_dbus" ]; then
|
||||
|
|
Loading…
Reference in a new issue