wok-6.x rev 2199
Remove duplicate get-*-firmware
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 09 17:12:44 2009 +0000 (2009-02-09) |
parents | a21224b0a7b8 |
children | d0816a914cdc |
files | get-b43-firmware/receipt get-b43-firmware/stuff/get-b43-firmware get-b43legacy-firmware/receipt get-b43legacy-firmware/stuff/get-b43legacy-firmware get-ipw2100-firmware/receipt get-ipw2100-firmware/stuff/get-ipw2100-firmware get-ipw2200-firmware/receipt get-ipw2200-firmware/stuff/get-ipw2200-firmware |
line diff
1.1 --- a/get-b43-firmware/receipt Mon Feb 09 14:46:03 2009 +0000 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,15 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="get-b43-firmware" 1.7 -VERSION="1.01" 1.8 -CATEGORY="non-free" 1.9 -SHORT_DESC="Get Broadcom b43 firmware." 1.10 -MAINTAINER="pankso@slitaz.org" 1.11 -WEB_SITE="http://downloads.openwrt.org/" 1.12 - 1.13 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.14 -genpkg_rules() 1.15 -{ 1.16 - mkdir -p $fs/usr/bin 1.17 - cp stuff/$PACKAGE $fs/usr/bin 1.18 -}
2.1 --- a/get-b43-firmware/stuff/get-b43-firmware Mon Feb 09 14:46:03 2009 +0000 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,75 +0,0 @@ 2.4 -#!/bin/sh 2.5 -# 2.6 -# Get and install non-free Broadcom b43 firmware. The script wil also 2.7 -# install linux-wireless and b43-fwcutter if needed. Finaly try to 2.8 -# configure wlan0 interface. 2.9 -# 2.10 - 2.11 -DIR="broadcom-wl" 2.12 -VERSION=4.80.53.0 2.13 -TARBALL=$DIR-$VERSION.tar.bz2 2.14 -WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" 2.15 -ROOT="$1" 2.16 - 2.17 -# Check if user is root to install. 2.18 -if test $(id -u) != 0 ; then 2.19 - echo -e "\nYou must be root to run `basename $0`." 2.20 - echo -e "Please use 'su' and root password to become super-user.\n" 2.21 - exit 0 2.22 -fi 2.23 - 2.24 -# Avoid reinstall 2.25 -if [ -d $ROOT/var/lib/tazpkg/installed/b43-firmware ]; then 2.26 - echo -e "\nb43-firmware package is already installed.\n" 2.27 - exit 0 2.28 -fi 2.29 - 2.30 -# We need drivers, the extractor and tools. 2.31 -for pkg in linux-wireless b43-fwcutter wireless_tools 2.32 -do 2.33 - if [ ! -d /var/lib/tazpkg/installed/$pkg ]; then 2.34 - tazpkg get-install $pkg 2.35 - fi 2.36 -done 2.37 - 2.38 -# Get files 2.39 -cd /tmp 2.40 -wget $WGET_URL 2.41 -tar xjf $TARBALL 2.42 -cd $DIR-$VERSION/kmod 2.43 - 2.44 -# Create pseudo package 2.45 -mkdir -p b43-firmware-$VERSION/fs/lib/firmware 2.46 -b43-fwcutter -w "b43-firmware-$VERSION/fs/lib/firmware" wl_apsta.o 2.47 - 2.48 -# Creat receipt 2.49 -cat > b43-firmware-$VERSION/receipt <<EOT 2.50 -PACKAGE="b43-firmware" 2.51 -VERSION="$VERSION" 2.52 -CATEGORY="non-free" 2.53 -SHORT_DESC="Broadcom b43 firmware." 2.54 -DEPENDS="linux-wireless b43-fwcutter wireless_tools" 2.55 -WEB_SITE="http://downloads.openwrt.org/" 2.56 -EOT 2.57 - 2.58 -# Pack 2.59 -tazpkg pack b43-firmware-$VERSION 2.60 - 2.61 -# Install pseudo package 2.62 -tazpkg install b43-firmware-$VERSION.tazpkg --root=$ROOT 2.63 - 2.64 -# Clean 2.65 -cd /tmp 2.66 -rm -rf $TARBALL $DIR-$VERSION 2.67 - 2.68 -# Load b43 module 2.69 -if [ -z "$ROOT" ]; then 2.70 - echo "Loading module: b43..." 2.71 - modprobe b43 2.72 - sleep 1 2.73 -fi 2.74 - 2.75 -# Configure /etc/network.conf and start connexion 2.76 -sed -i s/'WIFI="no"'/'WIFI="yes"'/ $ROOT/etc/network.conf 2.77 -[ -z "$ROOT" ] && /etc/init.d/network.sh restart 2.78 -
3.1 --- a/get-b43legacy-firmware/receipt Mon Feb 09 14:46:03 2009 +0000 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,15 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="get-b43legacy-firmware" 3.7 -VERSION="1.01" 3.8 -CATEGORY="non-free" 3.9 -SHORT_DESC="Get Broadcom b43lagacy firmware." 3.10 -MAINTAINER="pankso@slitaz.org" 3.11 -WEB_SITE="http://downloads.openwrt.org/" 3.12 - 3.13 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.14 -genpkg_rules() 3.15 -{ 3.16 - mkdir -p $fs/usr/bin 3.17 - cp stuff/$PACKAGE $fs/usr/bin 3.18 -}
4.1 --- a/get-b43legacy-firmware/stuff/get-b43legacy-firmware Mon Feb 09 14:46:03 2009 +0000 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,75 +0,0 @@ 4.4 -#!/bin/sh 4.5 -# 4.6 -# Get and install non-free Broadcom b43 firmware. The script wil also 4.7 -# install linux-wireless and b43-fwcutter if needed. Finaly try to 4.8 -# configure wlan0 interface. 4.9 -# 4.10 - 4.11 -DIR="wl_apsta" 4.12 -VERSION=3.130.20.0 4.13 -TARBALL=$DIR-$VERSION.o 4.14 -WGET_URL="http://downloads.openwrt.org/sources/$TARBALL" 4.15 -ROOT="$1" 4.16 - 4.17 -# Check if user is root to install. 4.18 -if test $(id -u) != 0 ; then 4.19 - echo -e "\nYou must be root to run `basename $0`." 4.20 - echo -e "Please use 'su' and root password to become super-user.\n" 4.21 - exit 0 4.22 -fi 4.23 - 4.24 -# Avoid reinstall 4.25 -if [ -d $ROOT/var/lib/tazpkg/installed/b43legacy-firmware ]; then 4.26 - echo -e "\nb43legacy-firmware package is already installed.\n" 4.27 - exit 0 4.28 -fi 4.29 - 4.30 -# We need drivers, the extractor and tools. 4.31 -for pkg in linux-wireless b43-fwcutter wireless_tools 4.32 -do 4.33 - if [ ! -d /var/lib/tazpkg/installed/$pkg ]; then 4.34 - tazpkg get-install $pkg 4.35 - fi 4.36 -done 4.37 - 4.38 -# Get files 4.39 -cd /tmp 4.40 -wget $WGET_URL || exit 4.41 -#tar xjf $TARBALL 4.42 -#cd $DIR-$VERSION/ 4.43 - 4.44 -# Create pseudo package 4.45 -mkdir -p b43legacy-firmware-$VERSION/fs/lib/firmware 4.46 -b43-fwcutter -w "b43legacy-firmware-$VERSION/fs/lib/firmware" wl_apsta-3.130.20.0.o 4.47 - 4.48 -# Creat receipt 4.49 -cat > b43legacy-firmware-$VERSION/receipt <<EOT 4.50 -PACKAGE="b43legacy-firmware" 4.51 -VERSION="$VERSION" 4.52 -CATEGORY="non-free" 4.53 -SHORT_DESC="Broadcom b43legacy firmware." 4.54 -DEPENDS="linux-wireless b43-fwcutter wireless_tools" 4.55 -WEB_SITE="http://downloads.openwrt.org/" 4.56 -EOT 4.57 - 4.58 -# Pack 4.59 -tazpkg pack b43legacy-firmware-$VERSION 4.60 - 4.61 -# Install pseudo package 4.62 -tazpkg install b43legacy-firmware-$VERSION.tazpkg --root=$ROOT 4.63 - 4.64 -# Clean 4.65 -cd /tmp 4.66 -rm -rf $TARBALL $DIR-$VERSION 4.67 - 4.68 -# Load b43legacy module 4.69 -if [ -z "$ROOT" ]; then 4.70 - echo "Loading module: b43legacy..." 4.71 - modprobe b43legacy 4.72 - sleep 1 4.73 -fi 4.74 - 4.75 -# Configure /etc/network.conf and start connexion 4.76 -sed -i s/'WIFI="no"'/'WIFI="yes"'/ $ROOT/etc/network.conf 4.77 -[ -z "$ROOT" ] && /etc/init.d/network.sh restart 4.78 -
5.1 --- a/get-ipw2100-firmware/receipt Mon Feb 09 14:46:03 2009 +0000 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,15 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="get-ipw2100-firmware" 5.7 -VERSION="1.0" 5.8 -CATEGORY="non-free" 5.9 -SHORT_DESC="Get Intel PRO/Wireless 2100 firmware." 5.10 -MAINTAINER="pascal.bellard@slitaz.org" 5.11 -WEB_SITE="http://ipw2100.sourceforge.net//" 5.12 - 5.13 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.14 -genpkg_rules() 5.15 -{ 5.16 - mkdir -p $fs/usr/bin 5.17 - cp stuff/$PACKAGE $fs/usr/bin 5.18 -}
6.1 --- a/get-ipw2100-firmware/stuff/get-ipw2100-firmware Mon Feb 09 14:46:03 2009 +0000 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,68 +0,0 @@ 6.4 -# install linux-wireless if needed. 6.5 - 6.6 -MODULE=ipw2100 6.7 -PKG=$MODULE-firmware 6.8 -VERSION=1.3-6.0.1 6.9 -SHORT_DESC="Intel PRO/Wireless 2100 firmware." 6.10 -WEB_SITE="http://$MODULE.sourceforge.net/" 6.11 -RPM=$PKG-$VERSION.noarch.rpm 6.12 -WGET_URL="http://dl.atrpms.net/all/$RPM" 6.13 -ROOT="$1" 6.14 - 6.15 -# Check if user is root to install. 6.16 -if test $(id -u) != 0 ; then 6.17 - echo -e "\nYou must be root to run `basename $0`." 6.18 - echo -e "Please use 'su' and root password to become super-user.\n" 6.19 - exit 0 6.20 -fi 6.21 - 6.22 -# Avoid reinstall 6.23 -if [ -d $ROOT/var/lib/tazpkg/installed/$PKG ]; then 6.24 - echo -e "\n$PKG package is already installed.\n" 6.25 - exit 0 6.26 -fi 6.27 - 6.28 -# Get files 6.29 -TMP=/tmp/$(basename $0)$$ 6.30 -mkdir $TMP 6.31 -TOP=$PWD 6.32 -cd $TMP 6.33 -wget $WGET_URL 6.34 -rpm2cpio < $RPM | cpio -id 6.35 - 6.36 -# Create pseudo package 6.37 -mkdir -p $PKG-$VERSION/fs/lib/firmware 6.38 -rm -f lib/firmware/*LICENSE* 6.39 -mv lib/firmware/* $PKG-$VERSION/fs/lib/firmware 6.40 - 6.41 -# Creat receipt 6.42 -cat > $PKG-$VERSION/receipt <<EOT 6.43 -PACKAGE="$PKG" 6.44 -VERSION="$VERSION" 6.45 -CATEGORY="non-free" 6.46 -SHORT_DESC="$SHORT_DESC." 6.47 -WEB_SITE="$WEB_SITE" 6.48 -DEPENDS="linux-wireless wireless_tools" 6.49 -EOT 6.50 - 6.51 -# Pack 6.52 -tazpkg pack $PKG-$VERSION 6.53 - 6.54 -# Install pseudo package 6.55 -tazpkg install $PKG-$VERSION.tazpkg --root=$ROOT 6.56 - 6.57 -# Clean 6.58 -cd $TOP 6.59 -rm -rf $TMP 6.60 - 6.61 -# Load module 6.62 -if [ -z "$ROOT" ]; then 6.63 - echo "Loading module: $MODULE..." 6.64 - modprobe $MODULE 6.65 - sleep 1 6.66 -fi 6.67 - 6.68 -# Configure /etc/network.conf and start connexion 6.69 -sed -i s/'WIFI="no"'/'WIFI="yes"'/ $ROOT/etc/network.conf 6.70 -[ -z "$ROOT" ] && /etc/init.d/network.sh restart 6.71 -
7.1 --- a/get-ipw2200-firmware/receipt Mon Feb 09 14:46:03 2009 +0000 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,15 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="get-ipw2200-firmware" 7.7 -VERSION="1.0" 7.8 -CATEGORY="non-free" 7.9 -SHORT_DESC="Get Intel PRO/Wireless 2200BG firmware." 7.10 -MAINTAINER="pascal.bellard@slitaz.org" 7.11 -WEB_SITE="http://ipw2200.sourceforge.net//" 7.12 - 7.13 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.14 -genpkg_rules() 7.15 -{ 7.16 - mkdir -p $fs/usr/bin 7.17 - cp stuff/$PACKAGE $fs/usr/bin 7.18 -}
8.1 --- a/get-ipw2200-firmware/stuff/get-ipw2200-firmware Mon Feb 09 14:46:03 2009 +0000 8.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 8.3 @@ -1,68 +0,0 @@ 8.4 -# install linux-wireless if needed. 8.5 - 8.6 -MODULE=ipw2200 8.7 -PKG=$MODULE-firmware 8.8 -VERSION=3.0-9.0.1 8.9 -SHORT_DESC="Intel PRO/Wireless 2200BG firmware." 8.10 -WEB_SITE="http://$MODULE.sourceforge.net/" 8.11 -RPM=$PKG-$VERSION.noarch.rpm 8.12 -WGET_URL="http://dl.atrpms.net/all/$RPM" 8.13 -ROOT="$1" 8.14 - 8.15 -# Check if user is root to install. 8.16 -if test $(id -u) != 0 ; then 8.17 - echo -e "\nYou must be root to run `basename $0`." 8.18 - echo -e "Please use 'su' and root password to become super-user.\n" 8.19 - exit 0 8.20 -fi 8.21 - 8.22 -# Avoid reinstall 8.23 -if [ -d $ROOT/var/lib/tazpkg/installed/$PKG ]; then 8.24 - echo -e "\n$PKG package is already installed.\n" 8.25 - exit 0 8.26 -fi 8.27 - 8.28 -# Get files 8.29 -TMP=/tmp/$(basename $0)$$ 8.30 -mkdir $TMP 8.31 -TOP=$PWD 8.32 -cd $TMP 8.33 -wget $WGET_URL 8.34 -rpm2cpio < $RPM | cpio -id 8.35 - 8.36 -# Create pseudo package 8.37 -mkdir -p $PKG-$VERSION/fs/lib/firmware 8.38 -rm -f lib/firmware/*LICENSE* 8.39 -mv lib/firmware/* $PKG-$VERSION/fs/lib/firmware 8.40 - 8.41 -# Creat receipt 8.42 -cat > $PKG-$VERSION/receipt <<EOT 8.43 -PACKAGE="$PKG" 8.44 -VERSION="$VERSION" 8.45 -CATEGORY="non-free" 8.46 -SHORT_DESC="$SHORT_DESC." 8.47 -WEB_SITE="$WEB_SITE" 8.48 -DEPENDS="linux-wireless wireless_tools" 8.49 -EOT 8.50 - 8.51 -# Pack 8.52 -tazpkg pack $PKG-$VERSION 8.53 - 8.54 -# Install pseudo package 8.55 -tazpkg install $PKG-$VERSION.tazpkg --root=$ROOT 8.56 - 8.57 -# Clean 8.58 -cd $TOP 8.59 -rm -rf $TMP 8.60 - 8.61 -# Load module 8.62 -if [ -z "$ROOT" ]; then 8.63 - echo "Loading module: $MODULE..." 8.64 - modprobe $MODULE 8.65 - sleep 1 8.66 -fi 8.67 - 8.68 -# Configure /etc/network.conf and start connexion 8.69 -sed -i s/'WIFI="no"'/'WIFI="yes"'/ $ROOT/etc/network.conf 8.70 -[ -z "$ROOT" ] && /etc/init.d/network.sh restart 8.71 -