diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2009-04-07 16:01:50 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2009-04-07 16:01:50 +0000 |
commit | 7d742003b922801891fb1effc1a41ca6405bf1bb (patch) | |
tree | e686162cfcc06c31b604c02cdc3f1545ef0329f4 /net-wireless/broadcom-sta | |
parent | Fixed dependency related zeroconf, bug #263939. Removed old versions. (diff) | |
download | gentoo-2-7d742003b922801891fb1effc1a41ca6405bf1bb.tar.gz gentoo-2-7d742003b922801891fb1effc1a41ca6405bf1bb.tar.bz2 gentoo-2-7d742003b922801891fb1effc1a41ca6405bf1bb.zip |
new patch was released by upstream.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/broadcom-sta')
3 files changed, 74 insertions, 1 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog index de710eaf918b..d3064560a639 100644 --- a/net-wireless/broadcom-sta/ChangeLog +++ b/net-wireless/broadcom-sta/ChangeLog @@ -1,6 +1,13 @@ # 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.2 2009/03/25 14:47:42 matsuu Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.3 2009/04/07 16:01:49 matsuu Exp $ + +*broadcom-sta-5.10.79.10-r2 (07 Apr 2009) + + 07 Apr 2009; MATSUU Takuto <matsuu@gentoo.org> + +files/broadcom-sta-5.10.79.10-wl_iw_v2.patch, + +broadcom-sta-5.10.79.10-r2.ebuild: + Released new patch by upstream. *broadcom-sta-5.10.79.10-r1 (25 Mar 2009) diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r2.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r2.ebuild new file mode 100644 index 000000000000..0f717896e8fc --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 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.79.10-r2.ebuild,v 1.1 2009/04/07 16:01:49 matsuu Exp $ + +inherit eutils linux-mod versionator + +MY_PV="$(replace_all_version_separators _)" +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${MY_PV}.tar.gz ) + amd64? ( ${SRC_BASE}64-v${MY_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") + +pkg_setup() { + if kernel_is ge 2 6 29; then + CONFIG_CHECK="LIB80211" + else + 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}/${P}-hidden-essid.patch" \ + "${FILESDIR}/${P}-linux-2.6.29.patch" \ + "${FILESDIR}/${P}-wl_iw_v2.patch" +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch new file mode 100644 index 000000000000..4b38375b7ab8 --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw_v2.patch @@ -0,0 +1,20 @@ +diff -Naur broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c +--- broadcom-sta-5.10.79.10.orig/src/wl/sys/wl_iw.c 2009-02-10 06:43:18.000000000 +0900 ++++ broadcom-sta-5.10.79.10/src/wl/sys/wl_iw.c 2009-04-08 00:58:26.000000000 +0900 +@@ -1094,7 +1094,6 @@ + ssid.SSID_len = dtoh32(ssid.SSID_len); + + memcpy(extra, ssid.SSID, ssid.SSID_len); +- extra[ssid.SSID_len] = '\0'; + + dwrq->length = ssid.SSID_len; + +@@ -2390,7 +2389,7 @@ + + cmd = IWEVPMKIDCAND; + pmkcandlist = data; +- count = pmkcandlist->npmkid_cand; ++ count = ntoh32(pmkcandlist->npmkid_cand); + wrqu.data.length = sizeof(struct iw_pmkid_cand); + pmkidcand = pmkcandlist->pmkid_cand; + while (count) { |