Package: b43-fwcutter
Version: 1:014-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmp20pUTi
In Ubuntu, the attached patch was applied to achieve the following:

  * Fix downloading from behind a proxy (LP: #769442)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 
'natty-proposed'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-9-generic (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru b43-fwcutter-014/debian/changelog b43-fwcutter-014/debian/changelog
diff -Nru b43-fwcutter-014/debian/firmware-b43-installer.postinst b43-fwcutter-014/debian/firmware-b43-installer.postinst
--- b43-fwcutter-014/debian/firmware-b43-installer.postinst	2011-05-06 10:35:02.000000000 -0400
+++ b43-fwcutter-014/debian/firmware-b43-installer.postinst	2011-05-27 08:23:56.000000000 -0400
@@ -18,6 +18,17 @@
         mkdir -p $FIRMWARE_INSTALL_DIR
 fi
 
+# use apt proxy
+APT_PROXIES=$(apt-config shell \
+http_proxy Acquire::http::Proxy \
+https_proxy Acquire::https::Proxy \
+ftp_proxy Acquire::ftp::Proxy \
+)
+
+if [ -n "$APT_PROXIES" ]; then
+	eval export $APT_PROXIES
+fi
+
 wget http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
 tar xvjf broadcom-wl-4.178.10.4.tar.bz2
 cd broadcom-wl-4.178.10.4/linux
diff -Nru b43-fwcutter-014/debian/firmware-b43legacy-installer.postinst b43-fwcutter-014/debian/firmware-b43legacy-installer.postinst
--- b43-fwcutter-014/debian/firmware-b43legacy-installer.postinst	2011-05-06 10:10:26.000000000 -0400
+++ b43-fwcutter-014/debian/firmware-b43legacy-installer.postinst	2011-05-27 08:20:36.000000000 -0400
@@ -32,6 +32,17 @@
         mkdir -p $FIRMWARE_INSTALL_DIR
 fi
 
+# use apt proxy
+APT_PROXIES=$(apt-config shell \
+http_proxy Acquire::http::Proxy \
+https_proxy Acquire::https::Proxy \
+ftp_proxy Acquire::ftp::Proxy \
+)
+
+if [ -n "$APT_PROXIES" ]; then
+	eval export $APT_PROXIES
+fi
+
 wget http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o
 b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta-3.130.20.0.o
 rm wl_apsta-3.130.20.0.o
diff -Nru b43-fwcutter-014/debian/firmware-b43-lpphy-installer.postinst b43-fwcutter-014/debian/firmware-b43-lpphy-installer.postinst
--- b43-fwcutter-014/debian/firmware-b43-lpphy-installer.postinst	2011-05-06 10:36:07.000000000 -0400
+++ b43-fwcutter-014/debian/firmware-b43-lpphy-installer.postinst	2011-05-27 08:20:36.000000000 -0400
@@ -39,6 +39,17 @@
         mkdir -p $FIRMWARE_INSTALL_DIR
 fi
 
+# use apt proxy
+APT_PROXIES=$(apt-config shell \
+http_proxy Acquire::http::Proxy \
+https_proxy Acquire::https::Proxy \
+ftp_proxy Acquire::ftp::Proxy \
+)
+
+if [ -n "$APT_PROXIES" ]; then
+	eval export $APT_PROXIES
+fi
+
 wget http://downloads.openwrt.org/sources/broadcom-wl-4.178.10.4.tar.bz2
 tar xvjf broadcom-wl-4.178.10.4.tar.bz2
 cd broadcom-wl-4.178.10.4/linux

Reply via email to