wpa_supplicant: update to 0.6.9

This commit is contained in:
Juergen Daubert 2009-02-20 15:10:55 +01:00
parent 1cec002f91
commit 6057c804c7
3 changed files with 14 additions and 9 deletions

View File

@ -1 +1 @@
ad320af63f735531878e592f1ffd9b06 wpa_supplicant-0.5.11.tar.gz e933332490e0e5acfef2279457f1070a wpa_supplicant-0.6.8.tar.gz

View File

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

View File

@ -19,21 +19,26 @@ POST-INSTALL
See the sample configuration file wpa_supplicant.conf in the See the sample configuration file wpa_supplicant.conf in the
sources for a complete description of the available options sources for a complete description of the available options
for wpa_supplicant. for wpa_supplicant.
2. Change your wlan start script to use wpa_supplicant. 2. Change your wlan start script to use wpa_supplicant.
Following an example for the centrino ipw2100 driver, no need Following an example for the centrino ipw2100 driver, no need
to do anything with iwconfig: to do anything with iwconfig:
/sbin/modprobe ipw2100 /sbin/modprobe ipw2100
/sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx /sbin/ifconfig eth1 xxx.xxx.xxx.xxx netmask 255.255.255.xxx
/sbin/route add default gw xxx.xxx.xxx.xxx /sbin/route add default gw xxx.xxx.xxx.xxx
/usr/sbin/wpa_supplicant -Bw -Dwext -ieth1 -c/etc/wpa.conf /usr/sbin/wpa_supplicant -B -Dwext -ieth1 -c/etc/wpa.conf
Note: the above configuration makes use of the generic wext Note: the above configuration makes use of the generic wext
wpa_supplicant driver (Linux wireless extensions), wpa_supplicant driver (Linux wireless extensions),
which is the preferred nowadays. Use this driver for which is the preferred nowadays. Use this driver for
ndiswrapper as well. ndiswrapper as well.
PRECAUTION PRECAUTION
As off version 0.6.8 the -w option of wpa_supplicant was removed.
See the ChangeLog for more infos. This may cause troubles because
using the -w option was the recommend way to start wpa_supplicant
until version 0.6.