mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 14:51:14 +02:00
a few fixes rolled up
This commit is contained in:
parent
c75786b293
commit
3417e07624
4 changed files with 78 additions and 9 deletions
|
|
@ -32,4 +32,5 @@ EBUILD compat-wireless-2.6.32_rc1.ebuild 1742 RMD160 dc0e574a6fa4d34fad5dc08a308
|
|||
EBUILD compat-wireless-2.6.32_rc5-r1.ebuild 1779 RMD160 c943d857694cddcb21c92ace853a5a06116b7a1e SHA1 8636e437ad0edd666a8b919e0da0443f998b7b64 SHA256 2c2668bf82abc183816662e80068d3e37a788c70b4fd0ff7eb450fcc239f240e
|
||||
EBUILD compat-wireless-2.6.32_rc5.ebuild 1742 RMD160 dc0e574a6fa4d34fad5dc08a308ba4e88a28d8f8 SHA1 d7e130851c8578aa17fb74c5c3b3234d62121a04 SHA256 6a313e003762690538692f1022e75858a630c9c01bfc399697a28f8ab3e3230a
|
||||
EBUILD compat-wireless-2.6.32_rc6.ebuild 1779 RMD160 c943d857694cddcb21c92ace853a5a06116b7a1e SHA1 8636e437ad0edd666a8b919e0da0443f998b7b64 SHA256 2c2668bf82abc183816662e80068d3e37a788c70b4fd0ff7eb450fcc239f240e
|
||||
EBUILD compat-wireless-2.6.32_rc7-r1.ebuild 1930 RMD160 6515ea2b5174a1d2a740d3294f5360e8d8eb6d7e SHA1 80111c3537b3287d5613708d0bb8c8476e3bfdaf SHA256 902f911090a94d88cf2a42ce3cd2107b89236d6b2c96b43f64d9227d307dc5c8
|
||||
EBUILD compat-wireless-2.6.32_rc7.ebuild 1804 RMD160 184e3e153488b5dbbefd92368035086a9e15825f SHA1 11626bb82f0b04485fefcef2efaae9ef9e62f017 SHA256 fb33ffed690e34491e2d7bf50a99d1aea334fac7e814ce2e3cf61644dab23130
|
||||
|
|
|
|||
|
|
@ -0,0 +1,67 @@
|
|||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="2"
|
||||
inherit linux-mod linux-info
|
||||
|
||||
##Stable
|
||||
MY_P=${P/_rc/-rc}
|
||||
DESCRIPTION="Stable kernel pre-release wifi subsystem backport"
|
||||
HOMEPAGE="http://wireless.kernel.org/en/users/Download/stable"
|
||||
SRC_URI="http://www.orbit-lab.org/kernel/${PN}-2.6-stable/v2.6.32/${MY_P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="injection"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="=sys-kernel/linux-firmware-99999999"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
RESTRICT="strip"
|
||||
|
||||
CONFIG_CHECK="!DYNAMIC_FTRACE"
|
||||
|
||||
pkg_setup() {
|
||||
linux-mod_pkg_setup
|
||||
kernel_is -lt 2 6 27 && die "kernel 2.6.27 or higher is required"
|
||||
linux_chkconfig_module MAC80211 || die "CONFIG_MAC80211 must be built as a _module_ !"
|
||||
linux_chkconfig_module CFG80211 || die "CONFIG_CFG80211 must be built as a _module_ !"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
#whynot patch is against the makefile to fix general brokeness
|
||||
epatch "${FILESDIR}"/whynot-2.6.32.patch
|
||||
|
||||
if use injection; then
|
||||
epatch "${FILESDIR}"/400[24]_*.patch
|
||||
epatch "${FILESDIR}"/mac80211.compat08082009.wl_frag+ack_v1.patch
|
||||
epatch "${FILESDIR}"/compat-chaos.patch;
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
addpredict "${KERNEL_DIR}"
|
||||
set_arch_to_kernel
|
||||
emake KVER="${KV_FULL}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for file in $(find -name \*.ko); do
|
||||
ininto "/lib/modules/${KV_FULL}/updates/$(dirname ${file})"
|
||||
doins "${file}" || die "failed to install module ${file}"
|
||||
done
|
||||
dosbin scripts/athenable scripts/b43load scripts/iwl-enable \
|
||||
scripts/madwifi-unload scripts/athload scripts/iwl-load \
|
||||
scripts/modlib.sh scripts/b43enable scripts/load.sh \
|
||||
scripts/unload.sh || die "script installation failed"
|
||||
dodoc README || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
update_depmod
|
||||
einfo 'You may have problem if you do not run "depmod -ae" after this installation'
|
||||
einfo 'To switch to the new drivers without reboot run unload.sh then load.sh'
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
EBUILD linux-firmware-99999999.ebuild 787 RMD160 66b0f04ff256e8c2186fe6d46f6a333274a3a60b SHA1 8fe73f0f7a21a04f8e160d27db28c3b5addcedb2 SHA256 c9948bdd87dc6834976dfcf557a25c5fe3515a0b14f442911bc670d6fcabec7c
|
||||
EBUILD linux-firmware-99999999.ebuild 759 RMD160 611477f6916011e1f458f1bed16e9fc2b9f1e138 SHA1 689ecb91fc9b5c2db782cb6e40b62c24b7715fae SHA256 d406648684d4811d2c57d82e7fdfb9b371ce7e094435e603c9acb20f4ba433e4
|
||||
|
|
|
|||
|
|
@ -2,24 +2,25 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/sys-kernel/linux-firmware/linux-firmware-20090421.ebuild,v 1.2 2009/04/21 20:46:04 mr_bones_ Exp $
|
||||
|
||||
inherit git
|
||||
|
||||
DESCRIPTION="Linux firmware files"
|
||||
HOMEPAGE="http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware"
|
||||
SRC_URI=""
|
||||
|
||||
inherit git
|
||||
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git"
|
||||
EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/${PN}.git"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!net-wireless/iwl3945-ucode
|
||||
!net-wireless/ralink-firmware
|
||||
!net-wireless/iwl4965-ucode
|
||||
!net-wireless/iwl5000-ucode"
|
||||
#probably I should add more here but... whatever
|
||||
#add anything else that collides to this
|
||||
|
||||
src_install() {
|
||||
dodir /lib/firmware
|
||||
cp -R "${S}/"* "${D}lib/firmware/" || die "Install failed!"
|
||||
insinto /lib/firmware/
|
||||
doins -r * || die "Install failed!"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue