Author: mmlr Date: 2011-09-28 02:33:45 +0200 (Wed, 28 Sep 2011) New Revision: 42775 Changeset: https://dev.haiku-os.org/changeset/42775 Modified: haiku/trunk/build/jam/OptionalPackages Log: 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 <interface> join <network name> [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. Modified: haiku/trunk/build/jam/OptionalPackages =================================================================== --- haiku/trunk/build/jam/OptionalPackages 2011-09-28 00:21:32 UTC (rev 42774) +++ haiku/trunk/build/jam/OptionalPackages 2011-09-28 00:33:45 UTC (rev 42775) @@ -90,7 +90,8 @@ # 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 @@ } +# 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