Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 346768 Details for
Bug 438622
net-wireless/broadcom-sta-6.30.223.30 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
broadcom-sta-6.30.223.30.ebuild
broadcom-sta-6.30.223.30.ebuild (text/plain), 2.74 KB, created by
Sergey Popov (RETIRED)
on 2013-04-28 09:24:08 UTC
(
hide
)
Description:
broadcom-sta-6.30.223.30.ebuild
Filename:
MIME Type:
Creator:
Sergey Popov (RETIRED)
Created:
2013-04-28 09:24:08 UTC
Size:
2.74 KB
patch
obsolete
># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="5" >inherit eutils linux-mod unpacker > >DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver." >HOMEPAGE="https://launchpad.net/ubuntu/+source/bcmwl http://www.broadcom.com/support/802.11/linux_sta.php" >BASE_URI="https://launchpad.net/~albertomilone/+archive/broadcom/+files" >BASE_NAME="bcmwl-kernel-source_${PV}%2Bbdcom-0ubuntu1%7Eppa1_" >SRC_URI="amd64? ( ${BASE_URI}/${BASE_NAME}amd64.deb ) > x86? ( ${BASE_URI}/${BASE_NAME}i386.deb )" > >LICENSE="Broadcom" >KEYWORDS="-* ~amd64 ~x86" > >RESTRICT="mirror" > >DEPEND="virtual/linux-sources" >RDEPEND="" > >#S="${WORKDIR}" >S="${WORKDIR}/usr/src/bcmwl-${PV}+bdcom" > >MODULE_NAMES="wl(net/wireless)" >MODULESD_WL_ALIASES=("wlan0 wl") > >pkg_setup() { > # bug #300570 > # NOTE<lxnay>: module builds correctly anyway with b43 and SSB enabled > # make checks non-fatal. The correct fix is blackisting ssb and, perhaps > # b43 via udev rules. Moreover, previous fix broke binpkgs support. > CONFIG_CHECK="~!B43 ~!SSB" > if kernel_is ge 2 6 32; then > CONFIG_CHECK="${CONFIG_CHECK} CFG80211 LIB80211 ~!MAC80211" > elif kernel_is ge 2 6 31; then > CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211" > elif kernel_is ge 2 6 29; then > CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT ~!MAC80211 COMPAT_NET_DEV_OPS" > elif kernel_is ge 3 8 0; then > ewarn "Due to licensing issues this driver is unusable with kernel 3.8." > ewarn "Meaning: This build will likely not succeed." > else > CONFIG_CHECK="${CONFIG_CHECK} IEEE80211 IEEE80211_CRYPT_TKIP" > fi > linux-mod_pkg_setup > > BUILD_PARAMS="-C ${KV_DIR} M=${S}" > BUILD_TARGETS="wl.ko" >} > >src_unpack() { > local arch_suffix > if use amd64; then > arch_suffix="amd64" > else > arch_suffix="i386" > fi > unpack_deb "${BASE_NAME}${arch_suffix}.deb" >} > >src_prepare() { > einfo > einfo "These patches come from some mighty proficient Debian programmer" > einfo "whose work I shamelessly exploit for Gentoo's benefit." > einfo "This ebuild was tested with 3.7.10-gentoo-r1." > einfo "If one of them patches fails against other versions, please comment" > einfo "in https://bugs.gentoo.org/show_bug.cgi?id=438622" > einfo ># Filter the outdated patches here ># This needs more testing against multiple versions. ># So far the filtered patches seem to be cruft from older versions. > EPATCH_FORCE="yes" EPATCH_EXCLUDE="0004* 0005*" EPATCH_SOURCE="${S}/patches" EPATCH_SUFFIX=patch epatch ># replace debian's proprietary machine check and keep `emake install` working > sed -e 's/dpkg --print-architecture),amd64/uname -m),x86_64/' \ > -e 's#\(KBASE\s*?=\s*/lib/modules/\)`uname -r`#\1'${KV_FULL}'#' \ > -e 's#\(\$(MDEST_DIR)\)#'${D}'\1/wl.ko#' \ > -i Makefile \ > || die "sed in Makefile failed" > > epatch_user >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 438622
:
340646
|
340656
|
345880
|
346628
|
346768
|
346822
|
346824
|
347066
|
347068