diff options
author | Holger Freyther <zecke@selfish.org> | 2004-11-07 21:50:41 +0000 |
---|---|---|
committer | Holger Freyther <zecke@selfish.org> | 2004-11-07 21:50:41 +0000 |
commit | 1d46ef269a50c801e69ba56f66a7115721531f28 (patch) | |
tree | fecb9f958d8e146898c1fac74e6fb3cd9d5ff23e /nonworking | |
parent | 6654e3bf9aedf28dd5ae475e8b817133e33e0874 (diff) |
wpa_supplicant:
-Adjust CFLAGS to the new wpa-defconfig
-Add LIBS and LIBS_p to successfully link
BKrev: 418e98b19JAHCnDMEp0QvObawjcLKQ
Diffstat (limited to 'nonworking')
-rw-r--r-- | nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe b/nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe index e69de29bb2..561f452377 100644 --- a/nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe +++ b/nonworking/hostap/hostap-wpa-supplicant_0.2.5.oe @@ -0,0 +1,31 @@ +DESCRIPTION = "User space helper for WPA and WPA2 client operations. \ +The Supplicant is used in WPA/WPA2 key handshakes to authenticate \ +with the AP and to generate dynamic encryption keys (TKIP or CCMP)." +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Michael Lauer <mickey@Vanille.de>" +LICENSE = "GPL" +DEPENDS = "openssl" +RDEPENDS = "hostap-modules (${PV}) hostap-utils (${PV}) hostap-daemon (${PV})" + +SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \ + file://wpa-defconfig" +S = "${WORKDIR}/wpa_supplicant-${PV}" + +CFLAGS += "-DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WEXT -DEAP_TLS -DEAP_PEAP \ +-DEAP_TTLS -DEAP_MD5 -DEAP_MSCHAPv2 -DEAP_GTC -DEAP_OTP -DEAP_SIM -DEAP_LEAP \ +-DIEEE8021X_EAPOL -DEAP_TLS_FUNCS -DCONFIG_WIRELESS_EXTENSION " +EXTRA_OEMAKE="LIBS='-L${STAGING_LIBDIR} -lssl -lcrypto' LIBS_p='-L${STAGING_LIBDIR} -lssl -lcrypto'" + +do_configure() { + install -m 0644 ${WORKDIR}/wpa-defconfig .config +} + +do_install() { + install -d ${D}/${sysconfdir} ${D}/${bindir} + install -m 0644 wpa_supplicant.conf ${D}/${sysconfdir}/ + install -m 0755 wpa_passphrase ${D}/${bindir} + install -m 0755 wpa_cli ${D}/${bindir} + install -m 0755 wpa_supplicant ${D}/${bindir} +} + |