Changeset 11833


Ignore:
Timestamp:
2008-07-15T03:40:55+02:00 (10 years ago)
Author:
nbd
Message:

Upgrade wpa_supplicant to 0.6.3 and add some improvements (mainly for roaming with ap_scan=1)
Remove arch specific config files (they seem rather pointless)
Remove the dependency on OpenSSL (use small built-in SSL functions)

Location:
trunk/package/wpa_supplicant
Files:
5 added
9 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/wpa_supplicant/Makefile

    r11311 r11833  
    1010 
    1111PKG_NAME:=wpa_supplicant 
    12 PKG_VERSION:=0.5.10 
     12PKG_VERSION:=0.6.3 
    1313PKG_RELEASE:=1 
    1414PKG_MD5SUM:=9e7b99da67c47d81121368c6d580d069 
     
    1818 
    1919include $(INCLUDE_DIR)/package.mk 
     20STAMP_CONFIGURED:=$(STAMP_CONFIGURED)_$(call confvar,CONFIG_PACKAGE_kmod-madwifi CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK) 
    2021 
    2122define Package/wpa-supplicant 
    2223  SECTION:=net 
    2324  CATEGORY:=Network 
    24   DEPENDS:=+libopenssl 
    2525  TITLE:=WPA Supplicant 
    2626  URL:=http://hostap.epitest.fi/wpa_supplicant/ 
     
    3030 WPA Supplicant 
    3131endef 
     32 
     33define Package/wpa-supplicant/config 
     34  config WPA_SUPPLICANT_NO_TIMESTAMP_CHECK 
     35        bool "Disable timestamp check" 
     36        depends PACKAGE_wpa-supplicant 
     37        default n 
     38        help 
     39                This disables the timestamp check for certificates in wpa_supplicant 
     40                Useful for devices without RTC that cannot reliably get the real date/time 
     41endef 
     42 
    3243 
    3344define Package/wpa-cli 
     
    3950 
    4051define Package/wpa-cli/Description 
    41   
     52 WPA Supplicant control utility  
    4253endef 
    4354 
     55CONFIG=$(firstword $(wildcard ./files/config.$(BOARD) ./files/config.$(ARCH) ./config)) 
     56TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/madwifi $(if $(CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK),-DNO_TIMESTAMP_CHECK) 
     57 
    4458define Build/Configure 
    45         cp ./files/config.$(ARCH) $(PKG_BUILD_DIR)/.config 
     59        cp $(CONFIG) $(PKG_BUILD_DIR)/wpa_supplicant/.config 
     60        $(if $(CONFIG_PACKAGE_kmod-madwifi),,$(SED) 's,^CONFIG_DRIVER_MADWIFI,#CONFIG_DRIVER_MADWIFI,g' $(PKG_BUILD_DIR)/wpa_supplicant/.config) 
    4661endef 
    4762 
     
    5065        mkdir -p $(PKG_INSTALL_DIR) 
    5166        CFLAGS="$(TARGET_CFLAGS)" \ 
    52         $(MAKE) -C $(PKG_BUILD_DIR) \ 
     67        $(MAKE) -C $(PKG_BUILD_DIR)/wpa_supplicant \ 
    5368                CC="$(TARGET_CC)" \ 
    5469                KERNEL=$(LINUX_DIR) \ 
     
    5671                LDFLAGS="$(TARGET_LDFLAGS)" \ 
    5772                all 
    58         $(STRIP) $(PKG_BUILD_DIR)/wpa_supplicant 
    59         $(STRIP) $(PKG_BUILD_DIR)/wpa_cli 
    60                  
    6173endef 
    6274 
    6375define Package/wpa-supplicant/install 
    6476        $(INSTALL_DIR) $(1)/usr/sbin 
    65         $(CP) $(PKG_BUILD_DIR)/wpa_{supplicant,passphrase} $(1)/usr/sbin/ 
     77        $(CP) \ 
     78                $(PKG_BUILD_DIR)/wpa_supplicant/wpa_supplicant \ 
     79                $(PKG_BUILD_DIR)/wpa_supplicant/wpa_passphrase \ 
     80                $(1)/usr/sbin/ 
    6681endef 
    6782 
Note: See TracChangeset for help on using the changeset viewer.