X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=lfs%2Fwpa_supplicant;h=177caf9e8bf964aa0448b576968dc0539f8e417a;hp=0a0fffc0003a9d2cc58b373c5867da9ed07a14ef;hb=fdecb9072113b24770af1ce38e0e28bfae029005;hpb=a6090720da282a83a0bf67acbf5f3f9c21a2864c diff --git a/lfs/wpa_supplicant b/lfs/wpa_supplicant index 0a0fffc000..177caf9e8b 100644 --- a/lfs/wpa_supplicant +++ b/lfs/wpa_supplicant @@ -24,7 +24,7 @@ include Config -VER = 0.5.10 +VER = 0.7.3 THISAPP = wpa_supplicant-$(VER) DL_FILE = $(THISAPP).tar.gz @@ -32,7 +32,6 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = wpa_supplicant -PAK_VER = 1 ############################################################################### # Top-level Rules @@ -42,7 +41,7 @@ objects = $(DL_FILE) $(DL_FILE) = $(DL_FROM)/$(DL_FILE) -$(DL_FILE)_MD5 = 9e7b99da67c47d81121368c6d580d069 +$(DL_FILE)_MD5 = f516f191384a9a546e3f5145c08addda install : $(TARGET) @@ -75,9 +74,12 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - cd $(DIR_APP) && cp $(DIR_SRC)/config/wpa_supplicant/.config . - cd $(DIR_APP) && sed -e "s/wpa_cli\ dynamic_eap_methods/wpa_cli\ #dynamic_eap_methods/" -i Makefile - cd $(DIR_APP) && sed -e "s@/usr/local@/usr@g" -i Makefile - cd $(DIR_APP) && make && make install + cd $(DIR_APP)/wpa_supplicant && cp $(DIR_SRC)/config/wpa_supplicant/config ./.config +ifeq "$(MACHINE_TYPE)" "arm" + cd $(DIR_APP)/wpa_supplicant && sed -e "s/^CONFIG_DRIVER_MADWIFI=y/#&/" -i .config +endif + cd $(DIR_APP)/wpa_supplicant && sed -e "s/wpa_cli\ dynamic_eap_methods/wpa_cli\ #dynamic_eap_methods/" -i Makefile + cd $(DIR_APP)/wpa_supplicant && sed -e "s@/usr/local@/usr@g" -i Makefile + cd $(DIR_APP)/wpa_supplicant && make && make install @rm -rf $(DIR_APP) @$(POSTBUILD)