Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/broadcom-sta: ChangeLog broadcom-sta-5.100.82.38-r1.ebuild
Date: Sat, 01 Jan 2011 15:28:38
Message-Id: 20110101152828.992F620057@flycatcher.gentoo.org
1 matsuu 11/01/01 15:28:28
2
3 Modified: ChangeLog
4 Added: broadcom-sta-5.100.82.38-r1.ebuild
5 Log:
6 >=virtual/linux-sources-2.6.37 support, bug #350196.
7
8 (Portage version: 2.1.9.26/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 net-wireless/broadcom-sta/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 30 Dec 2010 15:29:55 -0000 1.29
24 +++ ChangeLog 1 Jan 2011 15:28:28 -0000 1.30
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-wireless/broadcom-sta
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.29 2010/12/30 15:29:55 matsuu Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.30 2011/01/01 15:28:28 matsuu Exp $
31 +
32 +*broadcom-sta-5.100.82.38-r1 (01 Jan 2011)
33 +
34 + 01 Jan 2011; MATSUU Takuto <matsuu@g.o>
35 + +broadcom-sta-5.100.82.38-r1.ebuild,
36 + +files/broadcom-sta-5.100.82.38-linux-2.6.37.patch:
37 + Support >=virtual/linux-sources-2.6.37, bug #350196.
38
39 *broadcom-sta-5.100.82.38 (30 Dec 2010)
40
41
42
43
44 1.1 net-wireless/broadcom-sta/broadcom-sta-5.100.82.38-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.100.82.38-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.100.82.38-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: broadcom-sta-5.100.82.38-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.100.82.38-r1.ebuild,v 1.1 2011/01/01 15:28:28 matsuu Exp $
54
55 EAPI="2"
56 inherit eutils linux-mod
57
58 DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
59 HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
60 SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_"
61 SRC_URI="x86? ( ${SRC_BASE}32-v${PV//\./_}.tar.gz )
62 amd64? ( ${SRC_BASE}64-v${PV//\./_}.tar.gz )"
63
64 LICENSE="Broadcom"
65 KEYWORDS="~amd64 ~x86"
66 IUSE=""
67
68 RESTRICT="mirror"
69
70 DEPEND=">=virtual/linux-sources-2.6.22"
71 RDEPEND=""
72
73 S="${WORKDIR}"
74
75 MODULE_NAMES="wl(net/wireless)"
76 MODULESD_WL_ALIASES=("wlan0 wl")
77
78 PROPERTIES="interactive"
79
80 pkg_setup() {
81 check_license
82
83 # bug #300570
84 # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled
85 # make checks non-fatal. The correct fix is blackisting ssb and, perhaps
86 # b43 via udev rules. Moreover, previous fix broke binpkgs support.
87 CONFIG_CHECK="~!B43 ~!SSB"
88 if kernel_is ge 2 6 33; then
89 CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT CFG80211_WEXT WEXT_PRIV ~!MAC80211"
90 ERROR_WEXT_PRIV="Starting with 2.6.33, it is not possible to set WEXT_PRIV directly. We recommend to set another symbol selecting WEXT_PRIV, for example, PRISM54, IPW2200 and so on. See Bug #248450 comment#98."
91 elif kernel_is ge 2 6 31; then
92 CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211"
93 elif kernel_is ge 2 6 29; then
94 CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211 COMPAT_NET_DEV_OPS"
95 else
96 CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP"
97 fi
98 linux-mod_pkg_setup
99
100 BUILD_PARAMS="-C ${KV_DIR} M=${S}"
101 BUILD_TARGETS="wl.ko"
102 }
103
104 src_prepare() {
105 epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch" \
106 "${FILESDIR}/${PN}-5.100.82.38-gcc.patch" \
107 "${FILESDIR}/${PN}-5.100.82.38-linux-2.6.37.patch"
108 }