summaryrefslogtreecommitdiff
path: root/net-wireless/broadcom-firmware-installer
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/broadcom-firmware-installer')
-rw-r--r--net-wireless/broadcom-firmware-installer/Manifest2
-rw-r--r--net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.1-r3.ebuild51
-rw-r--r--net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild51
3 files changed, 0 insertions, 104 deletions
diff --git a/net-wireless/broadcom-firmware-installer/Manifest b/net-wireless/broadcom-firmware-installer/Manifest
deleted file mode 100644
index 3e354f8d..00000000
--- a/net-wireless/broadcom-firmware-installer/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-EBUILD broadcom-firmware-installer-0.1-r3.ebuild 1724 RMD160 0abc32d0dae0e07eeedd2424d97028da6237bb40 SHA1 740a4c07180b9dd0c9777487db7c4fc15638940e SHA256 61c73a090367b47c5364d6a71afa8ad14014c35354e6b8ca11297a91e9e4c116
-EBUILD broadcom-firmware-installer-0.2.ebuild 1726 RMD160 0cf422ac50be32a689b5618396f09e663fd038e0 SHA1 d366df6d7ef5b46e56c8f27283e3bed7ceadb7e2 SHA256 6a0feb9951b644a0d1d51633ef43e08ad14fb550b8c30954484715c97de5b2b1
diff --git a/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.1-r3.ebuild b/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.1-r3.ebuild
deleted file mode 100644
index e87736c7..00000000
--- a/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.1-r3.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-DESCRIPTION="Closed Broadcom Commercial Firmware Installer"
-HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="+b43 +b43legacy +reload"
-
-DEPEND="<net-wireless/broadcom-firmware-downloader-0.2[b43?,b43legacy?]
- net-wireless/b43-fwcutter"
-RDEPEND=""
-
-#add a check in src_prepare or something to check kernel versions. we don't care, but gentoo will and we like that.
-
-pkg_setup() {
- ewarn "User action is installing the broadcom commercial firmware."
- ewarn "Broadcom prohibits the distribution of firmware in a"
- ewarn "usable form for Linux users."
- epause 5
-}
-
-src_install() {
- dodir /lib/firmware || die "failed to create /lib/firmware"
- FIRMWARE_INSTALL_DIR="${D}/lib/firmware"
- use b43 && b43-fwcutter -w "${FIRMWARE_INSTALL_DIR}" "${ROOT}"/lib/firmware/broadcom-unmodified/wl_apsta_mimo.o || die "failed to cut xxx firmware"
- use b43legacy && b43-fwcutter -w "${FIRMWARE_INSTALL_DIR}" "${ROOT}"/lib/firmware/broadcom-unmodified/wl_apsta-3.130.20.0.o || die "failed to cut xxx firmware"
-}
-
-pkg_postinst(){
- if use reload; then
- isloaded() {
- lsmod | grep -q "$1[^_-]"
- }
- isloaded b43 && modprobe -r b43 && sleep 2 && modprobe b43
- isloaded b43legacy && modprobe -r b43legacy && sleep 2 && modprobe b43legacy
-
- einfo "Your disgusting Broadcom now has its filthy closed source firmware. I hope you are happy."
- else
- einfo "You need to reload your b43* modules manually or set the reload use flag"
- fi
-
- ewarn "Firmware has been installed and is NOT permitted to be redistributed. Just don't do it."
- epause 5
-}
diff --git a/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild b/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild
deleted file mode 100644
index d099f282..00000000
--- a/net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-DESCRIPTION="Closed Broadcom Commercial Firmware Installer"
-HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
-SRC_URI=""
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="+b43 +b43legacy +reload"
-
-DEPEND=">=net-wireless/broadcom-firmware-downloader-0.2[b43?,b43legacy?]
- >=net-wireless/b43-fwcutter-015"
-RDEPEND=""
-
-#add a check in src_prepare or something to check kernel versions. we don't care, but gentoo will and we like that.
-
-pkg_setup() {
- ewarn "User action is installing the broadcom commercial firmware."
- ewarn "Broadcom prohibits the distribution of firmware in a"
- ewarn "usable form for Linux users."
- epause 5
-}
-
-src_install() {
- dodir /lib/firmware || die "failed to create /lib/firmware"
- FIRMWARE_INSTALL_DIR="${D}/lib/firmware"
- use b43 && b43-fwcutter -w "${FIRMWARE_INSTALL_DIR}" "${ROOT}"/lib/firmware/broadcom-unmodified/wl_apsta.o || die "failed to cut xxx firmware"
- use b43legacy && b43-fwcutter -w "${FIRMWARE_INSTALL_DIR}" "${ROOT}"/lib/firmware/broadcom-unmodified/wl_apsta-3.130.20.0.o || die "failed to cut xxx firmware"
-}
-
-pkg_postinst(){
- if use reload; then
- isloaded() {
- lsmod | grep -q "$1[^_-]"
- }
- isloaded b43 && modprobe -r b43 && sleep 2 && modprobe b43
- isloaded b43legacy && modprobe -r b43legacy && sleep 2 && modprobe b43legacy
-
- einfo "Your disgusting Broadcom now has its filthy closed source firmware. I hope you are happy."
- else
- einfo "You need to reload your b43* modules manually or set the reload use flag"
- fi
-
- ewarn "Firmware has been installed and is NOT permitted to be redistributed. Just don't do it."
- epause 5
-}