Gentoo Archives: gentoo-commits

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-wireless/broadcom-sta: broadcom-sta-6.30.223.141-r1.ebuild ChangeLog
Date: Fri, 30 May 2014 12:23:16
Message-Id: 20140530122312.7A3962004E@flycatcher.gentoo.org
1 swift 14/05/30 12:23:12
2
3 Modified: ChangeLog
4 Added: broadcom-sta-6.30.223.141-r1.ebuild
5 Log:
6 Check PREEMPT in recent kernels (bug #488772), updated by M.B. (bug #506708)
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2EDD52403B68AF47)
9
10 Revision Changes Path
11 1.57 net-wireless/broadcom-sta/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?rev=1.57&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?rev=1.57&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/ChangeLog?r1=1.56&r2=1.57
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v
20 retrieving revision 1.56
21 retrieving revision 1.57
22 diff -u -r1.56 -r1.57
23 --- ChangeLog 30 May 2014 12:18:10 -0000 1.56
24 +++ ChangeLog 30 May 2014 12:23:12 -0000 1.57
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-wireless/broadcom-sta
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.56 2014/05/30 12:18:10 swift Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.57 2014/05/30 12:23:12 swift Exp $
30 +
31 +*broadcom-sta-6.30.223.141-r1 (30 May 2014)
32 +
33 + 30 May 2014; Sven Vermeulen <swift@g.o>
34 + +broadcom-sta-6.30.223.141-r1.ebuild:
35 + Check PREEMPT in recent kernels (bug #488772), updated by M.B. (bug #506708)
36
37 30 May 2014; Sven Vermeulen <swift@g.o>
38 -broadcom-sta-5.100.82.112-r3.ebuild:
39
40
41
42 1.1 net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-6.30.223.141-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: broadcom-sta-6.30.223.141-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2014 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-6.30.223.141-r1.ebuild,v 1.1 2014/05/30 12:23:12 swift Exp $
52
53 EAPI="5"
54 inherit eutils linux-info 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-v35"
59 SRC_URI="x86? ( ${SRC_BASE}-nodebug-pcoem-${PV//\./_}.tar.gz )
60 amd64? ( ${SRC_BASE}_64-nodebug-pcoem-${PV//\./_}.tar.gz )"
61
62 LICENSE="Broadcom"
63 KEYWORDS="~amd64 ~x86"
64
65 RESTRICT="mirror"
66
67 DEPEND="virtual/linux-sources"
68 RDEPEND=""
69
70 S="${WORKDIR}"
71
72 MODULE_NAMES="wl(net/wireless)"
73 MODULESD_WL_ALIASES=("wlan0 wl")
74
75 pkg_setup() {
76 # bug #300570
77 # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled
78 # make checks non-fatal. The correct fix is blackisting ssb and, perhaps
79 # b43 via udev rules. Moreover, previous fix broke binpkgs support.
80 CONFIG_CHECK="~!B43 ~!SSB"
81 CONFIG_CHECK2="LIB80211 ~!MAC80211 ~LIB80211_CRYPT_TKIP"
82 ERROR_B43="B43: If you insist on building this, you must blacklist it!"
83 ERROR_SSB="SSB: If you insist on building this, you must blacklist it!"
84 ERROR_LIB80211="LIB80211: Please enable it. If you can't find it: enabling the driver for \"Intel PRO/Wireless 2100\" or \"Intel PRO/Wireless 2200BG\" (IPW2100 or IPW2200) should suffice."
85 ERROR_MAC80211="MAC80211: If you insist on building this, you must blacklist it!"
86 ERROR_PREEMPT_RCU="PREEMPT_RCU: Please do not set the Preemption Model to \"Preemptible Kernel\"; choose something else."
87 ERROR_LIB80211_CRYPT_TKIP="LIB80211_CRYPT_TKIP: You will need this for WPA."
88 if kernel_is ge 3 8 8; then
89 CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211 ~!PREEMPT_RCU ~!PREEMPT"
90 elif kernel_is ge 2 6 32; then
91 CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} CFG80211"
92 elif kernel_is ge 2 6 31; then
93 CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT ~!MAC80211"
94 elif kernel_is ge 2 6 29; then
95 CONFIG_CHECK="${CONFIG_CHECK} ${CONFIG_CHECK2} WIRELESS_EXT COMPAT_NET_DEV_OPS"
96 else
97 CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP"
98 fi
99
100 linux-mod_pkg_setup
101
102 BUILD_PARAMS="-C ${KV_DIR} M=${S}"
103 BUILD_TARGETS="wl.ko"
104 }
105
106 src_prepare() {
107 # Makefile.patch: keep `emake install` working
108 # linux-3.9.0.patch: add support for kernel 3.9.0
109 # linux-3.10.0.patch: add support for kernel 3.10, bug #477372
110 epatch "${FILESDIR}/${P}-makefile.patch" \
111 "${FILESDIR}/${P}-linux-3.10.0.patch"
112
113 epatch_user
114 }