From 5194faa157a39be7861a5bc4a544a84c9fa96f78 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Fri, 12 Feb 2010 11:26:41 +0000 Subject: Version bumped, bug #304637. (Portage version: 2.1.7.17/cvs/Linux x86_64) --- net-wireless/broadcom-sta/ChangeLog | 8 ++- .../broadcom-sta/broadcom-sta-5.60.48.36.ebuild | 59 ++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 net-wireless/broadcom-sta/broadcom-sta-5.60.48.36.ebuild (limited to 'net-wireless') diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog index d34fbf80f872..50615838670e 100644 --- a/net-wireless/broadcom-sta/ChangeLog +++ b/net-wireless/broadcom-sta/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/broadcom-sta # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.20 2010/01/31 18:12:45 lxnay Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.21 2010/02/12 11:26:41 matsuu Exp $ + +*broadcom-sta-5.60.48.36 (12 Feb 2010) + + 12 Feb 2010; MATSUU Takuto + +broadcom-sta-5.60.48.36.ebuild: + Version bumped, bug #304637. 31 Jan 2010; Fabio Erculiani broadcom-sta-5.10.91.9.3-r3.ebuild: diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.60.48.36.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.60.48.36.ebuild new file mode 100644 index 000000000000..17fb6d10f2eb --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-5.60.48.36.ebuild @@ -0,0 +1,59 @@ +# 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.60.48.36.ebuild,v 1.1 2010/02/12 11:26:41 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="" + +S="${WORKDIR}" + +MODULE_NAMES="wl(net/wireless)" +MODULESD_WL_ALIASES=("wlan0 wl") + +PROPERTIES="interactive" + +pkg_setup() { + check_license + + # bug #300570 + # NOTE: module builds correctly anyway with b43 and SSB enabled + # make checks non-fatal. The correct fix is blackisting ssb and, perhaps + # b43 via udev rules. Moreover, previous fix broke binpkgs support. + 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}/${PN}-5.10.91.9.3-linux-2.6.32.patch" \ + "${FILESDIR}/${PN}-5.10.91.9.3-linux-2.6.33.patch" +} -- cgit v1.2.3-65-gdbad