2006-04-17 12:56:12 +00:00
|
|
|
# Description: User space IEEE 802.1X/WPA supplicant (wireless client)
|
|
|
|
# URL: http://hostap.epitest.fi/wpa_supplicant/
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-04-17 12:56:12 +00:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=wpa_supplicant
|
2008-11-29 10:16:37 +01:00
|
|
|
version=0.5.11
|
2007-12-05 17:14:47 +01:00
|
|
|
release=1
|
2006-04-17 12:56:12 +00:00
|
|
|
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build () {
|
|
|
|
cd $name-$version
|
|
|
|
cp defconfig .config
|
|
|
|
echo "CONFIG_READLINE=y" >> .config
|
|
|
|
make
|
2007-11-22 16:20:01 +01:00
|
|
|
install -d $PKG/{usr/sbin,usr/man/man{8,5},etc}
|
2006-04-17 12:56:12 +00:00
|
|
|
install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin
|
2007-11-22 16:20:01 +01:00
|
|
|
install doc/docbook/*.8 $PKG/usr/man/man8
|
|
|
|
install doc/docbook/*.5 $PKG/usr/man/man5
|
2006-04-17 12:56:12 +00:00
|
|
|
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf
|
|
|
|
chmod 0600 $PKG/etc/wpa.conf
|
|
|
|
}
|