wok-6.x rev 13089
get-wifi-firmware: remove hard coded version for iwlwifi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 25 20:05:14 2012 +0200 (2012-06-25) |
parents | c97c94696513 |
children | 905806138e79 |
files | get-wifi-firmware/stuff/get-wifi-firmware |
line diff
1.1 --- a/get-wifi-firmware/stuff/get-wifi-firmware Mon Jun 25 19:24:18 2012 +0200 1.2 +++ b/get-wifi-firmware/stuff/get-wifi-firmware Mon Jun 25 20:05:14 2012 +0200 1.3 @@ -40,39 +40,45 @@ 1.4 WGET_URL="http://bughost.org/firmware/${MODULE}-fw-${VERSION}.tgz" 1.5 ;; 1.6 iwlwifi-3945) 1.7 - VERSION=15.32.2.9 1.8 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.9 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.10 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.11 SHORT_DESC="Intel PRO/Wireless 3945ABG/BG firmware." 1.12 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.13 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.14 ;; 1.15 iwlwifi-4965) 1.16 - VERSION=228.61.2.24 1.17 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.18 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.19 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.20 SHORT_DESC="Intel WiFi Link 4965AGN firmware." 1.21 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.22 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.23 ;; 1.24 iwlwifi-5000) 1.25 - VERSION=8.24.2.12 1.26 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.27 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.28 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.29 SHORT_DESC="Intel Wireless WiFi Link 5000AGN firmware." 1.30 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.31 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.32 ;; 1.33 iwlwifi-5150) 1.34 - VERSION=8.24.2.2 1.35 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.36 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.37 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.38 SHORT_DESC="Intel Wireless WiFi Link 5150AGN firmware." 1.39 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.40 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.41 ;; 1.42 iwlwifi-1000) 1.43 - VERSION=128.50.3.1 1.44 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.45 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.46 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.47 SHORT_DESC="Intel Wireless WiFi Link 1000BGN firmware." 1.48 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.49 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.50 ;; 1.51 iwlwifi-6000) 1.52 - VERSION=9.176.4.1 1.53 + WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.54 + VERSION=$(wget -O - $WEB_SITE | sed -e "/$MODULE-/!d" -e \ 1.55 + 's/.*-ucode-\([0-9\.-]*\).t.*/\1/;q') 1.56 SHORT_DESC="Intel Wireless WiFi Link 6000 Series Wi-fi Adapters" 1.57 - WEB_SITE="http://www.intellinuxwireless.org/?n=Downloads" 1.58 WGET_URL="http://www.intellinuxwireless.org/iwlwifi/downloads/$MODULE-ucode-$VERSION.tgz" 1.59 ;; 1.60 rt61|rt61pci)