wpa_supplicant: add recipe for 2.4.

mmlr apparently did all the work to update our port, but then
the result was never packaged. Seems to work just fine on my
machine, both on encrypted and unencrypted networks.
This commit is contained in:
Adrien Destugues
2017-11-25 11:50:18 +01:00
parent ae4a2a91e4
commit 9abcdaebe6

View File

@@ -0,0 +1,50 @@
SUMMARY="A WPA Supplicant with support for WPA and WPA2"
DESCRIPTION="
wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and Windows with \
support for WPA and WPA2 (IEEE 802.11i / RSN). It is suitable for both \
desktop/laptop computers and embedded systems. Supplicant is the IEEE \
802.1X/WPA component that is used in the client stations. It implements key \
negotiation with a WPA Authenticator and it controls the roaming and IEEE \
802.11 authentication/association of the wlan driver."
HOMEPAGE="http://hostap.epitest.fi/wpa_supplicant/"
COPYRIGHT="2003-2015 Jouni Malinen"
LICENSE="BSD (2-clause)
GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/mmlr/wpa_supplicant-haiku/archive/91ffcdab8909dcbc3f948f9f226d9244790b0e85.tar.gz"
CHECKSUM_SHA256="4a2d230a263fbac47faf51f8597abefb573f226b0ec3e9d83825a5e54ea4cfce"
SOURCE_DIR="wpa_supplicant-haiku-91ffcdab8909dcbc3f948f9f226d9244790b0e85"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
wpa_supplicant = $portVersion compat >= 2
cmd:wpa_supplicant = $portVersion compat >= 2
"
REQUIRES="
haiku
lib:libssl
"
BUILD_REQUIRES="
devel:libssl >= 1.0.0
"
BUILD_PREREQUIRES="
haiku_devel
cmd:gcc
cmd:ld
cmd:make
"
BUILD()
{
cd wpa_supplicant
CFLAGS="-MMD -O2 -Wall" make wpa_supplicant LDO=g++
}
INSTALL()
{
cd wpa_supplicant
mkdir -p $binDir
cp -v wpa_supplicant $binDir
}