From e94e30ff788110f2cafe556f2d4eccfeb9da08ca Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Wed, 28 Sep 2011 00:33:45 +0000 Subject: [PATCH] Add the wpa_supplicant optional package. It should be stable and is working on the limited set of hardware I could test it with. By installing the wpa_supplicant one can now join WEP/WPA/WPA2 networks by either selecting them in the network prefs/network status applet or using "ifconfig join [password]". The wpa_supplicant opens a dialog asking for more details if it can't connect with the given information. Note that there is no way to automatically store that extra info right now, so it has to be provided on each join. The configuration can however be stored manually into the /boot/common/settings/network/wireless_networks config file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42775 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/OptionalPackages | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/build/jam/OptionalPackages b/build/jam/OptionalPackages index 2db287c254..f9633e507f 100644 --- a/build/jam/OptionalPackages +++ b/build/jam/OptionalPackages @@ -90,7 +90,8 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1 # Welcome - introductory documentation to Haiku # WifiFirmwareScriptData - data files needed by install-wifi-firmwares.sh # WonderBrush - native graphics application -# WQY-MicroHei - Chinese font +# wpa_supplicant - a WPA Supplicant with support for WPA and WPA2 +# WQY-MicroHei - Chinese font # XZ-Utils - file archiving utility # Yasm - the assembler utility @@ -1750,6 +1751,22 @@ if [ IsOptionalHaikuImagePackageAdded WonderBrush ] { } +# wpa_supplicant +if [ IsOptionalHaikuImagePackageAdded wpa_supplicant ] { + if $(TARGET_ARCH) != x86 { + Echo "No optional package wpa_supplicant available for $(TARGET_ARCH)" ; + } else if $(HAIKU_GCC_VERSION[1]) >= 4) { + InstallOptionalHaikuImagePackage + wpa_supplicant-0.7.3-x86-gcc4-2011-09-27.zip + : $(baseURL)/wpa_supplicant-0.7.3-x86-gcc4-2011-09-27.zip ; + } else { + InstallOptionalHaikuImagePackage + wpa_supplicant-0.7.3-x86-gcc2-2011-09-27.zip + : $(baseURL)/wpa_supplicant-0.7.3-x86-gcc2-2011-09-27.zip ; + } +} + + # WQY-MicroHei if [ IsOptionalHaikuImagePackageAdded WQY-MicroHei ] { InstallOptionalHaikuImagePackage