23 lines
753 B
Plaintext
23 lines
753 B
Plaintext
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
|
|
# URL: http://hostap.epitest.fi/wpa_supplicant/
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
|
# Depends on: openssl
|
|
|
|
name=wpa_supplicant
|
|
version=0.5.11
|
|
release=1
|
|
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
|
|
|
|
build () {
|
|
cd $name-$version
|
|
cp defconfig .config
|
|
echo "CONFIG_READLINE=y" >> .config
|
|
make
|
|
install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
|
|
install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
|
|
install doc/docbook/*.8 $PKG/usr/man/man8
|
|
install doc/docbook/*.5 $PKG/usr/man/man5
|
|
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
|
|
chmod 0600 $PKG/etc/wpa.conf
|
|
}
|