wok diff wpa_supplicant/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents bf5e98cbe36f
children
line diff
     1.1 --- a/wpa_supplicant/receipt	Fri Sep 27 15:06:17 2019 +0200
     1.2 +++ b/wpa_supplicant/receipt	Sat May 21 21:38:29 2022 +0000
     1.3 @@ -26,6 +26,12 @@
     1.4  	arm*) BUILD_DEPENDS="openssl-dev libcrypto-dev libnl-dev" ;;
     1.5  esac
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.10 +	sed '/releases\//!d;s|.*/'$PACKAGE'-||;s|.t.*||;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 @@ -36,6 +42,8 @@
    1.17  CONFIG_AP=y
    1.18  CONFIG_BGSCAN_SIMPLE=y
    1.19  CONFIG_LIBNL20=y
    1.20 +CONFIG_USIM_SIMULATOR=y
    1.21 +CONFIG_SIM_SIMULATOR=y
    1.22  EOT
    1.23  	# Dont use DBUS on ARM arch
    1.24  	case "$ARCH" in
    1.25 @@ -86,6 +94,18 @@
    1.26  	# Startup script and cleaned up wpa_empty.conf
    1.27  	cp -a $stuff/etc $fs
    1.28  	install -m644 -oroot -groot $src/$PACKAGE/wpa_supplicant.conf $fs/etc/wpa
    1.29 +
    1.30 +	cat >> $fs/etc/wpa/wpa_supplicant.conf <<EOT
    1.31 +
    1.32 +# SIM emulation example
    1.33 +network={
    1.34 +	ssid="exampleFreeWifi_secure"
    1.35 +	key_mgmt=WPA-EAP
    1.36 +	eap=SIM
    1.37 +	identity="1232010000000000"
    1.38 +	password="90dca4eda45b53cf0f12d7c9c3bc6a89:cb9cccc4b9258e6dca4760379fb82581"
    1.39 +}
    1.40 +EOT
    1.41  }
    1.42  
    1.43  # Pre and post install commands for Tazpkg.