summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-03-25 14:47:43 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-03-25 14:47:43 +0000
commit21de1bbb578f234d577a8324b4912f31aa92087e (patch)
tree2adb90e8ec9727be1c836058c1072c04ac6a85d9
parentget rid of spurious patches, too (diff)
downloadhistorical-21de1bbb578f234d577a8324b4912f31aa92087e.tar.gz
historical-21de1bbb578f234d577a8324b4912f31aa92087e.tar.bz2
historical-21de1bbb578f234d577a8324b4912f31aa92087e.zip
Added wl_iw.patch.
Package-Manager: portage-2.1.6.8/cvs/Linux x86_64
-rw-r--r--net-wireless/broadcom-sta/ChangeLog9
-rw-r--r--net-wireless/broadcom-sta/Manifest4
-rw-r--r--net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r1.ebuild46
-rw-r--r--net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch12
4 files changed, 69 insertions, 2 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog
index c45c305eee58..de710eaf918b 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.1 2009/03/10 17:27:12 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.2 2009/03/25 14:47:42 matsuu Exp $
+
+*broadcom-sta-5.10.79.10-r1 (25 Mar 2009)
+
+ 25 Mar 2009; MATSUU Takuto <matsuu@gentoo.org>
+ +files/broadcom-sta-5.10.79.10-wl_iw.patch,
+ +broadcom-sta-5.10.79.10-r1.ebuild:
+ Added wl_iw.patch
*broadcom-sta-5.10.79.10 (10 Mar 2009)
diff --git a/net-wireless/broadcom-sta/Manifest b/net-wireless/broadcom-sta/Manifest
index b840fc5b77d8..b350a6a0b5e6 100644
--- a/net-wireless/broadcom-sta/Manifest
+++ b/net-wireless/broadcom-sta/Manifest
@@ -1,7 +1,9 @@
AUX broadcom-sta-5.10.79.10-hidden-essid.patch 400 RMD160 5da005defd53cce782a0a8b6c67259bcf6536890 SHA1 f0bafa2c144ad0d904ea2348fd2b4f49c6b352b6 SHA256 aabe98ae9fe3574c3dab24090d0fe27e09d41f72326b7fc746bba030219e2bc4
AUX broadcom-sta-5.10.79.10-linux-2.6.29.patch 4355 RMD160 7260e5b9a794cc53971bff481860a3659122f0cb SHA1 8bf29049acb49ba4837054085db87c4b4f0f5993 SHA256 924f98922cce5ee0fc62216dbe8e6ba7ffa1a80908685d48d598804526bc7723
+AUX broadcom-sta-5.10.79.10-wl_iw.patch 544 RMD160 1b4447496c8982ba2e9c4c253c36271084edeef2 SHA1 da94de7769f867ef0eb01563432f9f77d270b4da SHA256 59b0b11a1cb98b5619986bd806fe03fff223eff762484f1d6fcce4b3d87195aa
DIST hybrid-portsrc-x86_32-v5_10_79_10.tar.gz 697799 RMD160 3a91a8b91d7b062f3ce8ceb55435ca7c1362effa SHA1 f5f2650395dd18b6403a456877ddb55e89b72eba SHA256 f9084cc1393f48d9ca546448e5a5caf49f8f25614353596256039144d2bb5f25
DIST hybrid-portsrc-x86_64-v5_10_79_10.tar.gz 694247 RMD160 75b7e5c74957bc6bf5fbdeb28ec2c68f1d835f1a SHA1 f7bcfd6990d273b7af9f6fd7764f5359a3fbebc7 SHA256 1815cb78ddebd4d21243d83ef073f799707dd7908e64456e81be4a4d45bedc02
+EBUILD broadcom-sta-5.10.79.10-r1.ebuild 1216 RMD160 db4ad9ae8772216c303b22f8f661aaf7ce64e9b3 SHA1 09052d49139f260026027c94b14c399e7096b59b SHA256 ad1ed7ea884a27bcb563ca3afc605672580920829488674a899699387bbb411a
EBUILD broadcom-sta-5.10.79.10.ebuild 1181 RMD160 4f2aa84774f661aae175c1623d4c593b106fba8e SHA1 b582b0b1d0bcdfeca8ff291b43aedcfffec6ade5 SHA256 9da9f3b0345e45ad0ab709ab9058a57c18da7922edf3c8cc3802968891e5a7e7
-MISC ChangeLog 500 RMD160 0518c276629d8c568dbe5e4c34b1e91e4d3801ac SHA1 c6765aed4b153790e9649d5821ff64dbe080ed1f SHA256 324362b73db22501d9c6efb914aec2734526b2db9613ced77a497938f2ea6c7a
+MISC ChangeLog 697 RMD160 54977156849a21688dd625266e3cf4c78d9cc410 SHA1 87e6d9fe82da273c5306a59a09b832fd889e756a SHA256 911edaf876adab405555c3dc6582cb45a023c3e5bf849a58d7695c4533138cc6
MISC metadata.xml 221 RMD160 ca5e46f2e947fcae430e49859acaa4b25ab9d4b4 SHA1 b7f58eb04a9aceeb67104c0b81719e6e97da97f4 SHA256 138123f5d6199cbcc391346419b7b81d3ae9153c17670b18c540ff75a2287371
diff --git a/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r1.ebuild b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r1.ebuild
new file mode 100644
index 000000000000..169c8562d955
--- /dev/null
+++ b/net-wireless/broadcom-sta/broadcom-sta-5.10.79.10-r1.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-r1.ebuild,v 1.1 2009/03/25 14:47:42 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.patch"
+}
diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch
new file mode 100644
index 000000000000..125bbf4945fa
--- /dev/null
+++ b/net-wireless/broadcom-sta/files/broadcom-sta-5.10.79.10-wl_iw.patch
@@ -0,0 +1,12 @@
+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-03-25 08:37:56.000000000 +0900
+@@ -2390,7 +2390,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) {