Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/broadcom-sta/
Date: Sat, 09 Sep 2017 20:34:20
Message-Id: 1504989077.a315a2dffd3af7817c6af988b1d54b8795522a71.mattst88@gentoo
1 commit: a315a2dffd3af7817c6af988b1d54b8795522a71
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 9 20:30:54 2017 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 9 20:31:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a315a2df
7
8 net-wireless/broadcom-sta: Inform users about a compatible wireless card
9
10 .../broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild | 14 ++++++++++++++
11 1 file changed, 14 insertions(+)
12
13 diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
14 index 5cf284a4ceb..34b37eceeaf 100644
15 --- a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
16 +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.271-r4.ebuild
17 @@ -24,6 +24,20 @@ S="${WORKDIR}"
18 MODULE_NAMES="wl(net/wireless)"
19 MODULESD_WL_ALIASES=("wlan0 wl")
20
21 +pkg_pretend() {
22 + ewarn
23 + ewarn "If you are stuck using this unmaintained driver (likely in a MacBook),"
24 + ewarn "you may be interested to know that a newer compatible wireless card"
25 + ewarn "is supported by the in-tree brcmfmac driver. It has a model number "
26 + ewarn "BCM943602CS and is for sale on the second hand market for less than "
27 + ewarn "20 USD."
28 + ewarn
29 + ewarn "See https://wikidevi.com/wiki/Broadcom_Wireless_Adapters and"
30 + ewarn " https://wikidevi.com/wiki/Broadcom_BCM943602CS"
31 + ewarn "for more information."
32 + ewarn
33 +}
34 +
35 pkg_setup() {
36 # bug #300570
37 # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled