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