diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-05-01 07:22:47 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-05-01 07:22:47 +0000 |
commit | 9a29d1018d442470e7289255265c513e5129434a (patch) | |
tree | f8db3d3f128abf282308cbb45854ea18e0209052 /net-wireless/broadcom-sta | |
parent | Unmasking new ebuilds for maxima, fricas, and related common-lisp stuff (diff) | |
download | gentoo-2-9a29d1018d442470e7289255265c513e5129434a.tar.gz gentoo-2-9a29d1018d442470e7289255265c513e5129434a.tar.bz2 gentoo-2-9a29d1018d442470e7289255265c513e5129434a.zip |
Version bump, wrt bug #438622. Ebuild by M. B. <tomboy64 AT sina.cn>, who will maintain this package through proxy maintainers
(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-wireless/broadcom-sta')
4 files changed, 107 insertions, 2 deletions
diff --git a/net-wireless/broadcom-sta/ChangeLog b/net-wireless/broadcom-sta/ChangeLog index 102439523f5a..cf53ddc30981 100644 --- a/net-wireless/broadcom-sta/ChangeLog +++ b/net-wireless/broadcom-sta/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-wireless/broadcom-sta # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.47 2013/03/08 04:59:30 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/ChangeLog,v 1.48 2013/05/01 07:22:47 pinkbyte Exp $ + +*broadcom-sta-6.30.223.30 (01 May 2013) + + 01 May 2013; Sergey Popov <pinkbyte@gentoo.org> + +broadcom-sta-6.30.223.30.ebuild, + +files/broadcom-sta-6.30.223.30-makefile.patch, metadata.xml: + Version bump, wrt bug #438622. Ebuild by M. B. <tomboy64 AT sina.cn>, who + will maintain this package through proxy maintainers 08 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> broadcom-sta-5.100.82.112-r2.ebuild: diff --git a/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30.ebuild b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30.ebuild new file mode 100644 index 000000000000..1ccc7f1a0dda --- /dev/null +++ b/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/broadcom-sta/broadcom-sta-6.30.223.30.ebuild,v 1.1 2013/05/01 07:22:47 pinkbyte Exp $ + +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" + einfo "file a bug about it at https://bugs.gentoo.org" + 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="0002* 0004* 0005*" EPATCH_SOURCE="${S}/patches" EPATCH_SUFFIX=patch epatch +# keep `emake install` working + epatch "${FILESDIR}/${P}-makefile.patch" + + mv "${S}/lib/wlc_hybrid.o_shipped_"* "${S}/lib/wlc_hybrid.o_shipped" \ + || die "Where is the blob?" + + epatch_user +} diff --git a/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-makefile.patch b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-makefile.patch new file mode 100644 index 000000000000..09c495d2a10f --- /dev/null +++ b/net-wireless/broadcom-sta/files/broadcom-sta-6.30.223.30-makefile.patch @@ -0,0 +1,14 @@ +--- Makefile.old 2013-04-28 22:42:59.000000000 +0200 ++++ Makefile 2013-04-28 22:45:53.000000000 +0200 +@@ -128,9 +128,9 @@ + + EXTRA_LDFLAGS := $(src)/lib/wlc_hybrid.o_shipped + +-KBASE ?= /lib/modules/`uname -r` ++KBASE ?= /lib/modules/${KV_FULL} + KBUILD_DIR ?= $(KBASE)/build +-MDEST_DIR ?= $(KBASE)/kernel/drivers/net/wireless ++MDEST_DIR ?= ${D}$(KBASE)/kernel/drivers/net/wireless + + all: + KBUILD_NOPEDANTIC=1 make -C $(KBUILD_DIR) M=`pwd` diff --git a/net-wireless/broadcom-sta/metadata.xml b/net-wireless/broadcom-sta/metadata.xml index 2e90b802bc7c..3a388868f7a8 100644 --- a/net-wireless/broadcom-sta/metadata.xml +++ b/net-wireless/broadcom-sta/metadata.xml @@ -1,8 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> +<herd>proxy-maintainers</herd> <maintainer> -<email>maintainer-needed@gentoo.org</email> + <email>tomboy64@sina.cn</email> </maintainer> </pkgmetadata> |