[oe-commits] org.oe.dreambox wpa_supplicant: update to 0.5.8

tmbinc commit oe at amethyst.openembedded.net
Mon Sep 1 17:45:40 UTC 2008


wpa_supplicant: update to 0.5.8

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: 7cb6a6361a48808cf80e814fa7b7659d004e098c
ViewMTN: http://monotone.openembedded.org/revision/info/7cb6a6361a48808cf80e814fa7b7659d004e098c
Files:
1
packages/wpa-supplicant/wpa-supplicant-0.5.8
packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000
packages/wpa-supplicant/wpa-supplicant-0.5.8/defconfig
packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/defconfig
packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/madwifi-bsd-fix.diff
packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-ralink.patch
packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-zydas.patch
packages/wpa-supplicant/wpa-supplicant-0.5.8/wpa_supplicant.conf
packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
Diffs:

#
# mt diff -r61595b09d6256be3bad59bc3a4c38ed48f3e3842 -r7cb6a6361a48808cf80e814fa7b7659d004e098c
#
#
#
# add_dir "packages/wpa-supplicant/wpa-supplicant-0.5.8"
# 
# add_dir "packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000"
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/defconfig"
#  content [67daa5c8749e04801ab1c1bf5f7bf25da04fd0dc]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/defconfig"
#  content [ef36f68bf0329062ab065af9b2db0cf11ad92980]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/madwifi-bsd-fix.diff"
#  content [6f68ec9d1a7696f31c1fccd2e215be31744ec8f5]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-ralink.patch"
#  content [9a497028758ccb85b1dc10755179cdaaece92b6f]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-zydas.patch"
#  content [cbbf1dfcdba28d2e3faf95b12aa43cd9f1af5f9f]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant-0.5.8/wpa_supplicant.conf"
#  content [d2c6a774e1a182f6b4fe3d209a5f21823fbf4160]
# 
# add_file "packages/wpa-supplicant/wpa-supplicant_0.5.8.bb"
#  content [46edca58788aa9898cc51ddd06a1589e3a235c42]
#
============================================================
--- packages/wpa-supplicant/wpa-supplicant-0.5.8/defconfig	67daa5c8749e04801ab1c1bf5f7bf25da04fd0dc
+++ packages/wpa-supplicant/wpa-supplicant-0.5.8/defconfig	67daa5c8749e04801ab1c1bf5f7bf25da04fd0dc
@@ -0,0 +1,187 @@
+# Example wpa_supplicant build time configuration
+#
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cass, these lines should use += in order not
+# to override previous values of the variables.
+CFLAGS = $(TARGET_CFLAGS) -I../hostapd -I../utils -I../driver/modules -Wall -MMD
+
+# for wpa_supplicant, wpa_cli
+LIBS = $(TARGET_LDFLAGS)
+
+# for wpa_passphrase:
+LIBS_p = $(TARGET_LDFLAGS)
+
+# Uncomment following two lines and fix the paths if you have installed openssl
+# in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Example configuration for various cross-compilation platforms
+
+#### sveasoft (e.g., for Linksys WRT54G) ######################################
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS += -I../src/include -I../../src/router/openssl/include
+#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl
+###############################################################################
+
+#### openwrt (e.g., for Linksys WRT54G) #######################################
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \
+#	-I../WRT54GS/release/src/include
+#LIBS = -lssl
+###############################################################################
+
+
+# Driver interface for Host AP driver
+#CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for Ralink rt73 driver
+CONFIG_DRIVER_RALINK=y
+
+CONFIG_DRIVER_ZYDAS=y
+
+# Driver interface for Agere driver
+#CONFIG_DRIVER_HERMES=y
+# Change include directories to match with the local setup
+#CFLAGS += -I../../hcf -I../../include -I../../include/hcf
+#CFLAGS += -I../../include/wireless
+
+# Driver interface for madwifi driver
+#CONFIG_DRIVER_MADWIFI=y
+# Change include directories to match with the local setup
+#CFLAGS += -I../madwifi/wpa
+
+# Driver interface for Prism54 driver
+# (Note: Prism54 is not yet supported, i.e., this will not work as-is and is
+# for developers only)
+#CONFIG_DRIVER_PRISM54=y
+
+# Driver interface for ndiswrapper
+#CONFIG_DRIVER_NDISWRAPPER=y
+
+# Driver interface for Atmel driver
+#CONFIG_DRIVER_ATMEL=y
+
+# Driver interface for Broadcom driver
+#CONFIG_DRIVER_BROADCOM=y
+# Example path for wlioctl.h; change to match your configuration
+#CFLAGS += -I/opt/WRT54GS/release/src/include
+
+# Driver interface for Intel ipw2100/2200 driver
+#CONFIG_DRIVER_IPW=y
+
+# Driver interface for generic Linux wireless extensions
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
+#LIBS += -L/usr/local/lib
+
+# Driver interface for Windows NDIS
+#CONFIG_DRIVER_NDIS=y
+#CFLAGS += -I/usr/include/w32api/ddk
+#LIBS += -L/usr/local/lib
+# For native build using mingw
+#CONFIG_NATIVE_WINDOWS=y
+# Additional directories for cross-compilation on Linux host for mingw target
+#CFLAGS += -I/opt/mingw/mingw32/include/ddk
+#LIBS += -L/opt/mingw/mingw32/lib
+#CC=mingw32-gcc
+
+# Driver interface for development testing
+#CONFIG_DRIVER_TEST=y
+
+# Driver interface for wired Ethernet drivers
+CONFIG_DRIVER_WIRED=y
+
+# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
+# included)
+CONFIG_IEEE8021X_EAPOL=y
+
+# EAP-MD5 (automatically included if EAP-TTLS is enabled)
+CONFIG_EAP_MD5=y
+
+# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-TLS
+CONFIG_EAP_TLS=y
+
+# EAL-PEAP
+CONFIG_EAP_PEAP=y
+
+# EAP-TTLS
+CONFIG_EAP_TTLS=y
+
+# EAP-GTC
+CONFIG_EAP_GTC=y
+
+# EAP-OTP
+CONFIG_EAP_OTP=y
+
+# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
+#CONFIG_EAP_SIM=y
+
+# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# EAP-PAX
+#CONFIG_EAP_PAX=y
+
+# LEAP
+CONFIG_EAP_LEAP=y
+
+# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
+#CONFIG_EAP_AKA=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate file from
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
+
+# Smartcard support (i.e., private key on a smartcard), e.g., with openssl
+# engine.
+#CONFIG_SMARTCARD=y
+
+# PC/SC interface for smartcards (USIM, GSM SIM)
+# Enable this if EAP-SIM or EAP-AKA is included
+#CONFIG_PCSC=y
+
+# Development testing
+#CONFIG_EAPOL_TEST=y
+
+# Replace native Linux implementation of packet sockets with libdnet/libpcap.
+# This will be automatically set for non-Linux OS.
+#CONFIG_DNET_PCAP=y
+
+# Include control interface for external programs, e.g, wpa_cli
+CONFIG_CTRL_IFACE=y
+
+# Include support for GNU Readline and History Libraries in wpa_cli.
+# When building a wpa_cli binary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply for
+# the resulting binary.
+#CONFIG_READLINE=y
+
+# Remove debugging code that is printing out debug message to stdout.
+# This can be used to reduce the size of the wpa_supplicant considerably
+# if debugging code is not needed. The size reduction can be around 35%
+# (e.g., 90 kB).
+#CONFIG_NO_STDOUT_DEBUG=y
+
+# Remove WPA support, e.g., for wired-only IEEE 802.1X supplicant, to save
+# 35-50 kB in code size.
+#CONFIG_NO_WPA=y
+
+# Select configuration backend:
+# file = text file (e.g., wpa_supplicant.conf)
+CONFIG_BACKEND=file
============================================================
--- packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/defconfig	ef36f68bf0329062ab065af9b2db0cf11ad92980
+++ packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/defconfig	ef36f68bf0329062ab065af9b2db0cf11ad92980
@@ -0,0 +1,163 @@
+# This file lists the configuration options that are used when building the
+# hostapd binary. All lines starting with # are ignored. Configuration option
+# lines must be commented out complete, if they are not to be included, i.e.,
+# just setting VARIABLE=n is not disabling that variable.
+#
+# This file is included in Makefile, so variables like CFLAGS and LIBS can also
+# be modified from here. In most cass, these lines should use += in order not
+# to override previous values of the variables.
+
+CFLAGS = $(TARGET_CFLAGS) -I../hostapd -I../utils -I../driver/modules -Wall -MMD
+
+# for wpa_supplicant, wpa_cli
+LIBS = $(TARGET_LDFLAGS)
+
+# for wpa_passphrase:
+LIBS_p = $(TARGET_LDFLAGS)
+
+
+# Uncomment following two lines and fix the paths if you have installed openssl
+# in non-default location
+#CFLAGS += -I/usr/local/openssl/include
+#LIBS += -L/usr/local/openssl/lib
+
+# Example configuration for various cross-compilation platforms
+
+#### sveasoft (e.g., for Linksys WRT54G) ######################################
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS += -I../src/include -I../../src/router/openssl/include
+#LIBS += -L/opt/brcm/hndtools-mipsel-uclibc-0.9.19/lib -lssl
+###############################################################################
+
+#### openwrt (e.g., for Linksys WRT54G) #######################################
+#CC=mipsel-uclibc-gcc
+#CC=/opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-uclibc-gcc
+#CFLAGS += -Os
+#CPPFLAGS=-I../src/include -I../openssl-0.9.7d/include \
+#	-I../WRT54GS/release/src/include
+#LIBS = -lssl
+###############################################################################
+
+
+# Driver interface for Host AP driver
+#CONFIG_DRIVER_HOSTAP=y
+
+# Driver interface for Agere driver
+#CONFIG_DRIVER_HERMES=y
+
+# Driver interface for madwifi driver
+CONFIG_DRIVER_MADWIFI=y
+# Change include directories to match with the local setup
+#CFLAGS += -I../madwifi/wpa
+
+# Driver interface for Prism54 driver
+#CONFIG_DRIVER_PRISM54=y
+
+# Driver interface for ndiswrapper
+#CONFIG_DRIVER_NDISWRAPPER=y
+
+# Driver interface for Atmel driver
+#CONFIG_DRIVER_ATMEL=y
+
+# Driver interface for Broadcom driver
+#CONFIG_DRIVER_BROADCOM=y
+# Example path for wlioctl.h; change to match your configuration
+#CFLAGS += -I/opt/WRT54GS/release/src/include
+
+# Driver interface for Intel ipw2100 driver
+#CONFIG_DRIVER_IPW2100=y
+
+# Driver interface for the Zydas zd1211 driver
+CONFIG_DRIVER_ZYDAS=y
+
+# Driver interface for Ralink rt73 driver
+CONFIG_DRIVER_RALINK=y
+
+# Driver interface for generic Linux wireless extensions
+CONFIG_DRIVER_WEXT=y
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
+#CONFIG_DRIVER_BSD=y
+#CFLAGS += -I/usr/local/include
+#LIBS += -L/usr/local/lib
+
+# Driver interface for Windows NDIS
+#CONFIG_DRIVER_NDIS=y
+#CFLAGS += -I/usr/include/w32api/ddk
+#LIBS += -L/usr/local/lib
+# For native build using mingw
+#CONFIG_NATIVE_WINDOWS=y
+# Additional directories for cross-compilation on Linux host for mingw target
+#CFLAGS += -I/opt/mingw/mingw32/include/ddk
+#LIBS += -L/opt/mingw/mingw32/lib
+#CC=mingw32-gcc
+
+# Driver interface for development testing
+#CONFIG_DRIVER_TEST=y
+
+# Enable IEEE 802.1X Supplicant (automatically included if any EAP method is
+# included)
+CONFIG_IEEE8021X_EAPOL=y
+
+# EAP-MD5 (automatically included if EAP-TTLS is enabled)
+CONFIG_EAP_MD5=y
+
+# EAP-MSCHAPv2 (automatically included if EAP-PEAP is enabled)
+CONFIG_EAP_MSCHAPV2=y
+
+# EAP-TLS
+CONFIG_EAP_TLS=y
+
+# EAL-PEAP
+CONFIG_EAP_PEAP=y
+
+# EAP-TTLS
+CONFIG_EAP_TTLS=y
+
+# EAP-GTC
+CONFIG_EAP_GTC=y
+
+# EAP-OTP
+CONFIG_EAP_OTP=y
+
+# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
+#CONFIG_EAP_SIM=y
+
+# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
+#CONFIG_EAP_PSK=y
+
+# LEAP
+CONFIG_EAP_LEAP=y
+
+# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
+#CONFIG_EAP_AKA=y
+
+# PKCS#12 (PFX) support (used to read private key and certificate file from
+# a file that usually has extension .p12 or .pfx)
+CONFIG_PKCS12=y
+
+# PC/SC interface for smartcards (USIM, GSM SIM)
+# Enable this if EAP-SIM or EAP-AKA is included
+#CONFIG_PCSC=y
+
+# Development testing
+#CONFIG_EAPOL_TEST=y
+
+# Replace native Linux implementation of packet sockets with libdnet/libpcap.
+# This will be automatically set for non-Linux OS.
+#CONFIG_DNET_PCAP=y
+
+# Include control interface for external programs, e.g, wpa_cli
+CONFIG_CTRL_IFACE=y
+
+# Include interface for using external supplicant (Xsupplicant) for EAP
+# authentication
+#CONFIG_XSUPPLICANT_IFACE=y
+
+# Include support for GNU Readline and History Libraries in wpa_cli.
+# When building a wpa_cli binary for distribution, please note that these
+# libraries are licensed under GPL and as such, BSD license may not apply for
+# the resulting binary.
+#CONFIG_READLINE=y
============================================================
--- packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/madwifi-bsd-fix.diff	6f68ec9d1a7696f31c1fccd2e215be31744ec8f5
+++ packages/wpa-supplicant/wpa-supplicant-0.5.8/dm8000/madwifi-bsd-fix.diff	6f68ec9d1a7696f31c1fccd2e215be31744ec8f5
@@ -0,0 +1,12 @@
+#dummy.. we dont like change anything
+--- driver_madwifi.c.orig	2005-03-18 15:12:53.392793216 +0100
++++ driver_madwifi.c	2005-03-18 15:13:09.246383104 +0100
+@@ -25,7 +25,7 @@
+ #include "eloop.h"
+ #include "wpa_supplicant.h"
+ 
+-#include <include/compat.h>
++#include <include/compat.h>
+ #include <net80211/ieee80211.h>
+ #include <net80211/ieee80211_crypto.h>
+ #include <net80211/ieee80211_ioctl.h>
============================================================
--- packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-ralink.patch	9a497028758ccb85b1dc10755179cdaaece92b6f
+++ packages/wpa-supplicant/wpa-supplicant-0.5.8/driver-ralink.patch	9a497028758ccb85b1dc10755179cdaaece92b6f
@@ -0,0 +1,2176 @@
+diff -NaurEbB wpa_supplicant-0.5.8/Makefile wpa_supplicant-0.5.8_RALINK/Makefile
+--- wpa_supplicant-0.5.8/Makefile	2008-08-07 11:53:15.000000000 +0200
++++ wpa_supplicant-0.5.8_RALINK/Makefile	2008-08-07 13:09:12.000000000 +0200
+@@ -31,6 +31,7 @@
+ 	echo CONFIG_DRIVER_WEXT=y >> .config
+ 	echo CONFIG_WIRELESS_EXTENSION=y >> .config
+ 	echo CONFIG_DRIVER_ZYDAS=y >> .config
++	echo CONFIG_DRIVER_RALINK=y >> .config
+ 
+ install: all
+ 	mkdir -p $(DESTDIR)/usr/local/sbin/
+@@ -145,6 +146,11 @@
+ CONFIG_WIRELESS_EXTENSION=y
+ endif
+ 
++ifdef CONFIG_DRIVER_RALINK
++CFLAGS += -DCONFIG_DRIVER_RALINK
++OBJS_d += driver_ralink.o
++endif
++
+ ifdef CONFIG_DRIVER_BSD
+ CFLAGS += -DCONFIG_DRIVER_BSD
+ OBJS_d += driver_bsd.o
+diff -NaurEbB wpa_supplicant-0.5.8/driver.h wpa_supplicant-0.5.8_RALINK/driver.h
+--- wpa_supplicant-0.5.8/driver.h	2007-03-25 04:09:49.000000000 +0200
++++ wpa_supplicant-0.5.8_RALINK/driver.h	2008-08-07 13:01:28.000000000 +0200
+@@ -581,6 +581,10 @@
+ 	 */
+ 	void (*poll)(void *priv);
+ 
++#ifdef CONFIG_DRIVER_RALINK
++	void (*poll_ralink)(void *priv, void *ctx);
++#endif
++
+ 	/**
+ 	 * get_ifname - Get interface name
+ 	 * @priv: private driver interface data
+diff -NaurEbB wpa_supplicant-0.5.8/driver_ralink.c wpa_supplicant-0.5.8_RALINK/driver_ralink.c
+--- wpa_supplicant-0.5.8/driver_ralink.c	1970-01-01 01:00:00.000000000 +0100
++++ wpa_supplicant-0.5.8_RALINK/driver_ralink.c	2008-05-06 07:26:48.000000000 +0200
+@@ -0,0 +1,1502 @@
++/*
++ ***************************************************************************
++ * Ralink Tech Inc.
++ * 5F, No. 36 Taiyuan St.
++ * Jhubei City
++ * Hsinchu County 302, Taiwan, R.O.C.
++ *
++ * (c) Copyright 2002-2008, Ralink Technology, Inc.
++ *
++ * This program is free software; you can redistribute it and/or modify  * 
++ * it under the terms of the GNU General Public License as published by  * 
++ * the Free Software Foundation; either version 2 of the License, or     * 
++ * (at your option) any later version.                                   * 
++ *                                                                       * 
++ * This program is distributed in the hope that it will be useful,       * 
++ * but WITHOUT ANY WARRANTY; without even the implied warranty of        * 
++ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         * 
++ * GNU General Public License for more details.                          * 
++ *                                                                       * 
++ * You should have received a copy of the GNU General Public License     * 
++ * along with this program; if not, write to the                         * 
++ * Free Software Foundation, Inc.,                                       * 
++ * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             * 
++ *                                                                       * 
++ ************************************************************************/
++/*
++ * WPA Supplicant - driver interaction with Ralink rt73.o driver
++ */
++
++#%s
>>> DIFF TRUNCATED @ 16K






More information about the Openembedded-commits mailing list