diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-01-16 02:49:05 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-01-16 02:49:05 +0000 |
commit | 1bf64aa1ef1e8d49ac1fcfe5a255a21c9511e46d (patch) | |
tree | 76bf8aaf9aa61ec59d9466f1c58e3e2f16e3487e /net-wireless | |
parent | Add prefix keywords (diff) | |
download | gentoo-2-1bf64aa1ef1e8d49ac1fcfe5a255a21c9511e46d.tar.gz gentoo-2-1bf64aa1ef1e8d49ac1fcfe5a255a21c9511e46d.tar.bz2 gentoo-2-1bf64aa1ef1e8d49ac1fcfe5a255a21c9511e46d.zip |
changed CONFIG_CHECK from ~!SSB ~!B43 to !SSB !B43, bug #300570. 2.6.33 support.
(Portage version: 2.1.7.16/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless')
3 files changed, 78 insertions, 2 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog index 157a1c6f77e9..3084903c3842 100644 --- a/net-wireless/broadcom-sta/ChangeLog +++ b/net-wireless/broadcom-sta/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-wireless/broadcom-sta -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.17 2009/12/07 15:47:15 matsuu Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.18 2010/01/16 02:49:05 matsuu Exp $ + +*broadcom-sta-5.10.91.9.3-r3 (16 Jan 2010) + + 16 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> + +broadcom-sta-5.10.91.9.3-r3.ebuild, + +files/broadcom-sta-5.10.91.9.3-linux-2.6.33.patch: + changed CONFIG_CHECK from ~!SSB ~!B43 to !SSB !B43, bug #300570. 2.6.33 + support. *broadcom-sta-5.10.91.9.3-r2 (07 Dec 2009) diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild new file mode 100644 index 000000000000..7893458653d9 --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild,v 1.1 2010/01/16 02:49:05 matsuu Exp $ + +inherit eutils linux-mod + +DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver." +HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php" +SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_" +SRC_URI="x86? ( ${SRC_BASE}32-v${PV}.tar.gz ) + amd64? ( ${SRC_BASE}64-v${PV}.tar.gz )" + +LICENSE="Broadcom" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT="mirror" + +DEPEND=">=virtual/linux-sources-2.6.22" +RDEPEND="${DEPEND}" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +PROPERTIES="interactive" + +pkg_setup() { + check_license + + # bug #300570 + CONFIG_CHECK="!B43 !SSB" + if kernel_is ge 2 6 33; then + #CONFIG_CHECK="${CONFIG_CHECK} LIB80211 CFG80211_WEXT WEXT_PRIV ~!MAC80211" + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT CFG80211_WEXT WEXT_PRIV ~!MAC80211" + elif kernel_is ge 2 6 31; then + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211" + elif kernel_is ge 2 6 29; then + CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211 COMPAT_NET_DEV_OPS" + else + CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" + fi + linux-mod_pkg_setup + + BUILD_PARAMS="-C ${KV_DIR} M=${S}" + BUILD_TARGETS="wl.ko" +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch" \ + "${FILESDIR}/${P}-linux-2.6.32.patch" \ + "${FILESDIR}/${P}-linux-2.6.33.patch" +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9.3-linux-2.6.33.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9.3-linux-2.6.33.patch new file mode 100644 index 000000000000..54b114171203 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.91.9.3-linux-2.6.33.patch @@ -0,0 +1,12 @@ +diff -Naur broadcom-sta-5.10.91.9.3.orig/src/include/linuxver.h broadcom-sta-5.10.91.9.3/src/include/linuxver.h +--- broadcom-sta-5.10.91.9.3.orig/src/include/linuxver.h 2009-09-16 07:25:27.000000000 +0900 ++++ broadcom-sta-5.10.91.9.3/src/include/linuxver.h 2010-01-16 08:20:12.000000000 +0900 +@@ -19,6 +19,8 @@ + #include <linux/version.h> + #if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)) + #include <linux/config.h> ++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 33)) ++#include <generated/autoconf.h> + #else + #include <linux/autoconf.h> + #endif |