CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 2 -
(hide annotations)
Sun Oct 4 14:31:24 2009 UTC (3 years, 7 months ago) by cjg
File size: 752 byte(s)
Sun Oct 4 14:31:24 2009 UTC (3 years, 7 months ago) by cjg
File size: 752 byte(s)
importing opt
| 1 | cjg | 2 | # Description: User space IEEE 802.1X/WPA supplicant (wireless client) |
| 2 | # URL: http://hostap.epitest.fi/wpa_supplicant/ | ||
| 3 | # Maintainer: Jürgen Daubert, juergen dot daubert at t-online dot de | ||
| 4 | # Depends on: openssl | ||
| 5 | |||
| 6 | name=wpa_supplicant | ||
| 7 | version=0.5.10 | ||
| 8 | release=1 | ||
| 9 | source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz) | ||
| 10 | |||
| 11 | build () { | ||
| 12 | cd $name-$version | ||
| 13 | cp defconfig .config | ||
| 14 | echo "CONFIG_READLINE=y" >> .config | ||
| 15 | make | ||
| 16 | install -d $PKG/{usr/sbin,usr/man/man{8,5},etc} | ||
| 17 | install wpa_{cli,passphrase,supplicant} $PKG/usr/sbin | ||
| 18 | install doc/docbook/*.8 $PKG/usr/man/man8 | ||
| 19 | install doc/docbook/*.5 $PKG/usr/man/man5 | ||
| 20 | echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf | ||
| 21 | chmod 0600 $PKG/etc/wpa.conf | ||
| 22 | } |