From 20a107748317091d1ac003f1cbb045928d07e684 Mon Sep 17 00:00:00 2001 From: BlackNoxis Date: Sat, 15 Feb 2014 23:40:10 +0200 Subject: No audit programs here. deleting this sequence of ebuilds. will replace with compat and broadcom in a few moments --- .../broadcom-firmware-installer-0.2.ebuild | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild (limited to 'net-wireless/broadcom-firmware-installer/broadcom-firmware-installer-0.2.ebuild') 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 -} -- cgit v1.2.3