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