Package: firmware-b43-installer
Version: 1:014-8
Severity: normal
Tags: patch

% lspci -nn|grep -i bcm
0c:00.0 Network controller [0280]: Broadcom Corporation BCM4322 802.11a/b/g/n 
Wireless LAN Controller [14e4:432b] (rev 01)

*.postinst should match alphabetic characters as well.

Regards,
Rodolphe


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages firmware-b43-installer depends on:
ii  b43-fwcutter                  1:014-8    Utility for extracting Broadcom 43
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  wget                          1.12-5     retrieves files from the web

Versions of packages firmware-b43-installer recommends:
ii  linux-image-2 2.6.39-3                   Linux 2.6.39 for 64-bit PCs
ii  linux-image-3 3.0.0-1                    Linux 3.0.0 for 64-bit PCs
ii  linux-image-3 3.0.0~rc6-1~experimental.1 Linux 3.0.0-rc6 for 64-bit PCs

firmware-b43-installer suggests no packages.

-- no debconf information
>From 08003fe8dc624f99750df5d5918fc50075e9a2b2 Mon Sep 17 00:00:00 2001
From: Rodolphe Pelloux-Prayer <rodol...@damsy.net>
Date: Wed, 3 Aug 2011 15:15:55 +0200
Subject: [PATCH] Match all hex characters.

---
 debian/firmware-b43-installer.postinst       |    8 ++++----
 debian/firmware-b43-lpphy-installer.postinst |    2 +-
 debian/firmware-b43legacy-installer.postinst |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/firmware-b43-installer.postinst 
b/debian/firmware-b43-installer.postinst
index 807b13c..04ba15a 100644
--- a/debian/firmware-b43-installer.postinst
+++ b/debian/firmware-b43-installer.postinst
@@ -43,10 +43,10 @@ if [ "$chip" ] ; then
    echo "Your card is BCM4306/3 [14e4:4320] (rev 03), firwmare 5.10.56.27.3 
will be used"
    latest_firmware
    exit 0
-fi 
-   
+fi
+
 # check chip
-pci=`lspci -n | grep -o "14e4:[1234567890]\+"` || true
+pci=`lspci -n | grep -o "14e4:[1234567890abcdef]\+"` || true
 
 if [ -n "$pci" ]; then
        for device in $pci; do
@@ -60,7 +60,7 @@ if [ -n "$pci" ]; then
                ;;
                4328 | 4329 | 4307 | 4311 | 4312 | 4318 | 4319 | 432b | 4315 | 
4321 | 5354)
                        latest=1
-                ;;     
+                ;;
                0576 | 4322 | 4331 | 4353 | 4357 | 4727)
                        unsupported="$unsupported $device_id"
                ;;
diff --git a/debian/firmware-b43-lpphy-installer.postinst 
b/debian/firmware-b43-lpphy-installer.postinst
index 5d56a0b..b4fac76 100644
--- a/debian/firmware-b43-lpphy-installer.postinst
+++ b/debian/firmware-b43-lpphy-installer.postinst
@@ -11,7 +11,7 @@ fi
 
 # check chip
 supported=0
-pci=`lspci -n | grep -o "14e4:[1234567890]\+"` || true
+pci=`lspci -n | grep -o "14e4:[1234567890abcdef]\+"` || true
 
 if [ -n "$pci" ]; then
        for device in $pci; do
diff --git a/debian/firmware-b43legacy-installer.postinst 
b/debian/firmware-b43legacy-installer.postinst
index a734a4a..00a59ba 100644
--- a/debian/firmware-b43legacy-installer.postinst
+++ b/debian/firmware-b43legacy-installer.postinst
@@ -4,7 +4,7 @@ set -e
 
 # check chip
 supported=0
-pci=`lspci -n | grep -o "14e4:[1234567890]\+"` || true
+pci=`lspci -n | grep -o "14e4:[1234567890abcdef]\+"` || true
 
 if [ -n "$pci" ]; then
         for device in $pci; do
-- 
1.7.6

Reply via email to