mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-14 10:51:10 +02:00
remove old broadcom handling stuff
This commit is contained in:
parent
432284a378
commit
b4896b596e
6 changed files with 0 additions and 165 deletions
|
|
@ -1,3 +0,0 @@
|
|||
DIST broadcom-wl-4.150.10.5.tar.bz2 3888794 BLAKE2B b6ec04e4269527d26fccef24cb3c5c165d92f316fdb4a711d5b4ffd7d346e2aa597c12b8208a15079ea8f5a255f6bf5fa5fd15e0931149ef3fce9462925bd489 SHA512 0ada0cd0446fcc7f753945d1a18eb31844ed45a137df679f2acba85f02e2acb1e3e8bde6241ac9ca2bedee1f74a018682de13fe4e185aced603547a6e03f7a3e
|
||||
DIST broadcom-wl-5.100.138.tar.bz2 13514651 BLAKE2B 3f29c09f8c58290c1fadd1ab4ceb9c8606e27b828363056d21e48adcdd6e28d3a7326f4ef6ac3fa13353da138f6af5fe7bde88308e21f0fd6754106189cf12da SHA512 02487e76e3eca7fe97ce2ad7dc9c5d39fac82b8d5f7786cce047f9c85e2426f5b7ea085d84c7d4aae43e0fe348d603e3229211bab601726794ef633441d37a8b
|
||||
DIST wl_apsta-3.130.20.0.o 652866 BLAKE2B bfe92320ffe506e7ed1fda889ae5bdf2a760dedde152bf97e0434a8577c85df31a5a940fa9c032375c4f7520b254eedc9433b90073402d40cd807a9b1b0b1cfa SHA512 d89ed52045307449bbae79a4d1807cc6cd89ae67c4a22e8e8aa51c1396edbb6ed8b157cd0756faf8b660a537b48b62117c57967f2048245b5b102d9d9bca4bbd
|
||||
|
|
@ -1,29 +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 Downloader"
|
||||
HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
|
||||
SRC_URI="b43? ( http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2 )
|
||||
b43legacy? ( http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="+b43 +b43legacy"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-wireless/b43-fwcutter"
|
||||
|
||||
src_install() {
|
||||
dodir /lib/firmware/broadcom-unmodified || die "failed to create dir"
|
||||
insinto /lib/firmware/broadcom-unmodified
|
||||
if use b43; then doins "${WORKDIR}"/broadcom-wl-4.150.10.5/driver/wl_apsta_mimo.o || die "failed to install b43 files"; fi;
|
||||
if use b43legacy; then doins "${DISTDIR}"/wl_apsta-3.130.20.0.o || die "failed to install b43legacy files"; fi;
|
||||
einfo "Unmolested Broadcom firmware files have been downloaded from openwrt and stored on the hdd."
|
||||
einfo "No changes to the files have been made, only unmodified files have been distributed."
|
||||
einfo "If the user wishes these firmware in a useful way then emerge broadcom-firmware-installer."
|
||||
}
|
||||
|
|
@ -1,29 +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 Downloader"
|
||||
HOMEPAGE="http://linuxwireless.org/en/users/Drivers/b43"
|
||||
SRC_URI="b43? ( http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2 )
|
||||
b43legacy? ( http://downloads.openwrt.org/sources/wl_apsta-3.130.20.0.o )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="+b43 +b43legacy"
|
||||
RESTRICT="strip"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="net-wireless/b43-fwcutter"
|
||||
|
||||
src_install() {
|
||||
dodir /lib/firmware/broadcom-unmodified || die "failed to create dir"
|
||||
insinto /lib/firmware/broadcom-unmodified
|
||||
if use b43; then doins "${WORKDIR}"/broadcom-wl-5.100.138/linux/wl_apsta.o || die "failed to install b43 files"; fi;
|
||||
if use b43legacy; then doins "${DISTDIR}"/wl_apsta-3.130.20.0.o || die "failed to install b43legacy files"; fi;
|
||||
einfo "Unmolested Broadcom firmware files have been downloaded from openwrt and stored on the hdd."
|
||||
einfo "No changes to the files have been made, only unmodified files have been distributed."
|
||||
einfo "If the user wishes these firmware in a useful way then emerge broadcom-firmware-installer."
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -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
|
||||
}
|
||||
|
|
@ -138,8 +138,6 @@ net-wireless/b43-fwcutter
|
|||
net-wireless/bcm43xx-fwcutter
|
||||
net-wireless/bluez-firmware
|
||||
net-wireless/bluez-hcidump
|
||||
net-wireless/broadcom-firmware-downloader
|
||||
net-wireless/broadcom-firmware-installer
|
||||
net-wireless/bss
|
||||
net-wireless/fsam7400
|
||||
net-wireless/grimwepa
|
||||
|
|
|
|||
Loading…
Reference in a new issue