Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304637 - net-wireless/broadcom-sta version bump to 5.60.48.36
Summary: net-wireless/broadcom-sta version bump to 5.60.48.36
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 22:14 UTC by 2010dli
Modified: 2013-03-27 21:43 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed ebuild (broadcom-sta-5.60.48.36.ebuild,1.77 KB, text/plain)
2010-02-11 22:17 UTC, 2010dli
Details
Proposed accompanying patch file (broadcom-sta-5.60.48.36-license.patch,716 bytes, patch)
2010-02-11 22:18 UTC, 2010dli
Details | Diff
Proposed accompanying patch file (broadcom-sta-5.60.48.36-linux-2.6.32.patch,576 bytes, patch)
2010-02-11 22:18 UTC, 2010dli
Details | Diff
Proposed accompanying patch file (broadcom-sta-5.60.48.36-linux-2.6.33.patch,551 bytes, patch)
2010-02-11 22:18 UTC, 2010dli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description 2010dli 2010-02-11 22:14:37 UTC
The current ebuilds for broadcom-sta in the tree depend on 5.10.91.9.3. However, the sources for this version are no longer available on Broadcom's website, so the emerge will fail. The current version of Broadcom's STA driver is 5.60.48.36, so the ebuild should be updated.

Reproducible: Always

Steps to Reproduce:
1. Attempt to emerge net-wireless/broadcom-sta-5.10.91.9.3-r3

Actual Results:  
Portage is unable to download the source tarball, as it no longer exists on the website.

Expected Results:  
The emerge should finish without an error.
Comment 1 2010dli 2010-02-11 22:17:32 UTC
Created attachment 219283 [details]
Proposed ebuild
Comment 2 2010dli 2010-02-11 22:18:15 UTC
Created attachment 219285 [details, diff]
Proposed accompanying patch file

A simple renaming of the patch for the previous ebuild version.
Comment 3 2010dli 2010-02-11 22:18:27 UTC
Created attachment 219287 [details, diff]
Proposed accompanying patch file

A simple renaming of the patch for the previous ebuild version.
Comment 4 2010dli 2010-02-11 22:18:37 UTC
Created attachment 219289 [details, diff]
Proposed accompanying patch file

A simple renaming of the patch for the previous ebuild version.
Comment 5 Jory A. Pratt gentoo-dev 2010-02-12 19:55:47 UTC
--- /usr/portage/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild	2010-01-31 12:12:45.000000000 -0600
+++ broadcom-sta-5.60.48.36.ebuild	2010-02-12 13:52:49.780480230 -0600
@@ -54,6 +54,6 @@
 	unpack ${A}
 	cd "${S}"
 	epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch" \
-		"${FILESDIR}/${P}-linux-2.6.32.patch" \
-		"${FILESDIR}/${P}-linux-2.6.33.patch"
+		"${FILESDIR}/${PN}-5.10.91.9.3-linux-2.6.32.patch" \
+		"${FILESDIR}/${PN}-5.10.91.9.3-linux-2.6.33.patch"
 }

For future reference please use something similiar, this will help to prevent the tree from becoming poluted and give you the same results. Hope this help, I will second the vote for the version bump it has many bug fixes.
Comment 6 Jory A. Pratt gentoo-dev 2010-02-12 20:16:15 UTC
--- broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild	2010-01-31 12:12:45.000000000 -0600
+++ broadcom-sta/broadcom-sta-5.60.48.36.ebuild	2010-02-12 14:13:53.746765555 -0600
@@ -54,6 +54,5 @@
 	unpack ${A}
 	cd "${S}"
 	epatch "${FILESDIR}/${PN}-5.10.91.9-license.patch" \
-		"${FILESDIR}/${P}-linux-2.6.32.patch" \
-		"${FILESDIR}/${P}-linux-2.6.33.patch"
+		"${FILESDIR}/${PN}-5.10.91.9.3-linux-2.6.33.patch"
 }

This is actually what should be used for the bump, .32 support is already avaliable from usptream and working.
Comment 7 MATSUU Takuto (RETIRED) gentoo-dev 2010-02-12 23:59:52 UTC
in cvs. thanks
Comment 8 Evgeny 2012-06-26 09:00:31 UTC
Comment on attachment 219283 [details]
Proposed ebuild

># Copyright 1999-2010 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-5.10.91.9.3-r3.ebuild,v 1.3 2010/01/31 18:12:45 lxnay Exp $
>
>inherit eutils linux-mod
>
>DESCRIPTION="Broadcom's IEEE 802.11a/b/g/n hybrid Linux device driver."
>HOMEPAGE="http://www.broadcom.com/support/802.11/linux_sta.php"
>SRC_BASE="http://www.broadcom.com/docs/linux_sta/hybrid-portsrc-x86_"
>SRC_URI="x86? ( ${SRC_BASE}32-v${PV}.tar.gz )
>	amd64? ( ${SRC_BASE}64-v${PV}.tar.gz )"
>
>LICENSE="Broadcom"
>KEYWORDS="~amd64 ~x86"
>IUSE=""
>
>RESTRICT="mirror"
>
>DEPEND=">=virtual/linux-sources-2.6.22"
>RDEPEND=""
>
>S="${WORKDIR}"
>
>MODULE_NAMES="wl(net/wireless)"
>MODULESD_WL_ALIASES=("wlan0 wl")
>
>PROPERTIES="interactive"
>
>pkg_setup() {
>	check_license
>
>	# 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 33; then
>		#CONFIG_CHECK="${CONFIG_CHECK} LIB80211 CFG80211_WEXT WEXT_PRIV ~!MAC80211"
>		CONFIG_CHECK="${CONFIG_CHECK} LIB80211 WIRELESS_EXT CFG80211_WEXT WEXT_PRIV ~!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"
>	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() {
>	unpack ${A}
>	cd "${S}"
>	epatch "${FILESDIR}/${P}-license.patch" \
>		"${FILESDIR}/${P}-linux-2.6.32.patch" \
>		"${FILESDIR}/${P}-linux-2.6.33.patch"
>}