compat-wireless: 2.5.36_rc2 test release added. I'll mark it stable after the package gets moved

into the usual location
This commit is contained in:
Zero_Chaos 2010-06-06 18:02:58 +00:00
parent 0431ac08ee
commit daa3b431f8
2 changed files with 113 additions and 0 deletions

View file

@ -14,6 +14,7 @@ AUX failed_ieee80211_inject-2.6.22.patch 772 RMD160 ff6f70125009e3cd151ad12d8c2f
AUX failed_ipw2200_ipw2200-1.2.1-inject.patch 2207 RMD160 b7ff866af15d91bc882f8c9f0f4f743e63e53b6f SHA1 2ff94a5031c826044fee3508e479cd04bb3abd00 SHA256 21cd575d13ef9a6d2beafea9070ca68296b4f187f2d46d23ea450b8eb1c78761
AUX failed_linux-wlanng-kernel-2.6.28.patch 11623 RMD160 23d11bb21ba059b7a0d7a2c597e5ae8224670dde SHA1 8d8d11912160dd8b38b805c928ea746ff9192ba8 SHA256 fd4bd200617c5f28e3a0ae58e5fa02f80279ad98aafed6c2e3d5b249a9b617c6
AUX failed_openembedded-orinoco-remove-all-which-are-in-hostap-HACK.patch 6606 RMD160 e479eb0e796aec521e2269d50e9ccc4426e1da55 SHA1 c76220bb8f3a118a224e555517b7e111603da47e SHA256 6b761693587871591fc0ce96273d37f769f61d28f637c1692d931300c4f04504
AUX force-enable-new-ralink-pci.patch 371 RMD160 33206cfd78ff0c1e2694c7236915f4d74fd2875f SHA1 b6dd5ad0802c6186eca2b3da2e4afe3baea79456 SHA256 5ca2668bd930d2bba7eedbd78f2d538bf1a2ba3c8e1deb60af77580e66078a47
AUX force-enable-new-ralink.patch 558 RMD160 4cc8c5d09d49fcc831b4895d05ec6a14d5e16e22 SHA1 d3cc6b53ac5ef6644702d0ae227ac67a4832d075 SHA256 b6a411562c8c0964d36817f4d276a8db2c3169d6044b648650eb8b742c2dc898
AUX led-oops.patch 733 RMD160 50dc59a8893e7d77cf41653d8d39e5255dae8273 SHA1 9875b139e4111eb137cd1b43e3b68c85eb8915f5 SHA256 381f52b08f1b4c268fcc4ad88b0059d27b438bdab6acd4d54c882cc2505c99b9
AUX mac80211.compat08082009.wl_frag+ack_v1.patch 1049 RMD160 e864ee2e0c70ce344000baa8ee5fca3b23c3305a SHA1 85f7a1b141549b774f5631fba259bc414aeeffb8 SHA256 e04ed9997e1578cc1becd4ef9d9f2f6f606590aa91a56e42835963913e1b0f52
@ -35,6 +36,7 @@ DIST compat-wireless-2.6.33.tar.bz2 2266149 RMD160 599ab94e51179627407877b4c3c65
DIST compat-wireless-2.6.34-rc4.tar.bz2 2464464 RMD160 0a0fcb73725e68f1897fad7ea9520746c0bf448c SHA1 381c1cf4eff203e24233f1985c1884e9ceb3f351 SHA256 f6fc07ffb0e9b3ba7de67c068d469141624e91d208e62075fcb79fb7b506aeee
DIST compat-wireless-2.6.34.tar.bz2 2370805 RMD160 a3e4635ccd100f95509783090458ceb646e97cba SHA1 84d99b0008785d91918a6b29575fc6de86552751 SHA256 4e4af0df6c74461571925bea8f315f86a6dee3f4a74bbafed7950fdf30fdddd4
DIST compat-wireless-2.6.35-rc1.tar.bz2 2558248 RMD160 0ef22a98aa4d1af24d76fbf5a2e0afb3f6d227a9 SHA1 9f9afdf82b18b43dcddec0ccab9132727f0f258d SHA256 8bf547f0a9c81f7d68205d0baf566c63fccae9e81111b934ebc3b216bf6b8717
DIST compat-wireless-2.6.35-rc2.tar.bz2 2562506 RMD160 0d9903541ea8d6e8450ee98128be8aea8fc25c21 SHA1 2430de9f4ca89d983d039981cb4b8194ce233871 SHA256 683f0083691390f500cb298f0563ded8588660d4fe7a9437b931b8b0736ac34f
EBUILD compat-wireless-2.6.32.8.ebuild 2368 RMD160 53d1a1401310d34cd03f2fa6bb41e60d2a16dcfd SHA1 c19445050e394bc0239c61fec11eab69e4f08daa SHA256 705bb5ad89ec2433edd4252488b3e7322c5137c49520203a3cbea44314ab9234
EBUILD compat-wireless-2.6.32_rc5-r1.ebuild 1779 RMD160 c943d857694cddcb21c92ace853a5a06116b7a1e SHA1 8636e437ad0edd666a8b919e0da0443f998b7b64 SHA256 2c2668bf82abc183816662e80068d3e37a788c70b4fd0ff7eb450fcc239f240e
EBUILD compat-wireless-2.6.32_rc6.ebuild 1779 RMD160 c943d857694cddcb21c92ace853a5a06116b7a1e SHA1 8636e437ad0edd666a8b919e0da0443f998b7b64 SHA256 2c2668bf82abc183816662e80068d3e37a788c70b4fd0ff7eb450fcc239f240e
@ -55,4 +57,5 @@ EBUILD compat-wireless-2.6.34.ebuild 2793 RMD160 d68f2fc3a55d4929e3902f36fb4261d
EBUILD compat-wireless-2.6.34_rc4.ebuild 2793 RMD160 d68f2fc3a55d4929e3902f36fb4261d4ac987972 SHA1 5f7d95f00c9497b296e5f43e79fe006ca846d5d7 SHA256 9f16bc96c70b7e8a7e3284a83b58d86f41eb7dfef5e3c415c2f93b8f9a1eed85
EBUILD compat-wireless-2.6.35_rc1-r1.ebuild 4077 RMD160 ea6fcc2e2b999db2fac3a4a4499e7930e4229fa5 SHA1 1812c13fdb0fc3ffe328edeceb9703b33e3d0264 SHA256 a04ac617dd7277e75eac497bbcd44e3f61dbc200919b4b621bd7d9dd348db560
EBUILD compat-wireless-2.6.35_rc1.ebuild 3919 RMD160 380650a0684f84a2224fd52b6785a3dece6ba194 SHA1 89664f29f45f011c4e9f4601430b44a701987e4b SHA256 9297538dfc8b5453fbcd585b86eb8c714cd779074b0815668271e0434d64103d
EBUILD compat-wireless-2.6.35_rc2.ebuild 4171 RMD160 9f8506a4323e2ebb98aa19097c3e1fabdd8ddd59 SHA1 d63d5ee7b18f4f7d12eb85114a687db88ec5157c SHA256 391b2399765f37e1421c30a3f6171072a338d39ec891a7fe9ff472dc1af10b0b
MISC metadata.xml 228 RMD160 cd3fb26b5d8049ab5dba38f21d7654ec033aa0eb SHA1 3148dfbdced7a623a311d21c6f728ab9c7135dae SHA256 8715828d1bff71d5d96b991ba600bae9376c1c80c96f0f102260fc335ca22487

View file

@ -0,0 +1,110 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
inherit linux-mod linux-info versionator
##Stable
MY_P=${P/_rc/-rc}
MY_PV=v$(get_version_component_range 1-3)
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/${MY_PV}/${MY_P}.tar.bz2"
SRC_URI="http://bombadil.infradead.org/~mcgrof/tmp/compat-wireless-2.6.35-rc2.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="injection tinyversionoverride"
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 for compat wireless to be installed"
kernel_is -gt $(get_version_component_range 1) $(get_version_component_range 2) $(get_version_component_range 3) && die "The version of compat-wireless you are trying to install contains older modules than your kernel. Failing before downgrading your system."
if kernel_is -eq $(get_version_component_range 1) $(get_version_component_range 2) $(get_version_component_range 3); then
if use tinyversionoverride; then
ewarn "You have the tinyversionoverride use flag set which means you know for a fact that your"
ewarn "kernel is older than the compat-wireless you are installing."
ewarn "Most likely you have no clue what you are doing and should hit control-C now"
ewarn "before you downgrade your system. Ten seconds to think about it."
epause 10
else
ewarn "Your kernel version is most likely newer than the compat-wireless release you are"
ewarn "trying to install. If you are certain that your kernel is older then you can set"
ewarn "the tinyversionoverride use flag to override this safety check."
epause 5
die "Your kernel version is too close to the compat-wireless version to risk installation."
fi
fi
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
#this patch is needed to forcibly enable new ralink chips because the shipped config.mk seems very bad
epatch "${FILESDIR}"/force-enable-new-ralink-pci.patch
#0001 is a patch to fix monitor mode promisc for ath5k, a bug present for a very long time.
#this patch should be merged soon and no longer needed.
epatch "${FILESDIR}"/0001-ath5k-retain-promiscuous-setting.patch
if use injection; then
epatch "${FILESDIR}"/400[24]_*.patch
epatch "${FILESDIR}"/mac80211.compat08082009.wl_frag+ack_v1.patch
epatch "${FILESDIR}"/4013-runtime-enable-disable-of-mac80211-packet-injection.patch
epatch "${FILESDIR}"/compat-chaos.patch
epatch "${FILESDIR}"/rtl8187-mac80211-injection-speed-2.6.30-rc3.patch
# epatch "${FILESDIR}"/super_secret_patch.diff
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
insinto "/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/b43enable scripts/load.sh \
scripts/unload.sh || die "script installation failed"
dodir /usr/lib/compat-wireless
exeinto /usr/lib/compat-wireless
doexe scripts/modlib.sh || die
dodoc README || die
dodir /$(get_libdir)/udev/rules.d/
insinto /$(get_libdir)/udev/rules.d/
doins udev/50-compat_firmware.rules
exeinto /$(get_libdir)/udev/
doexe udev/compat_firmware.sh
}
pkg_postinst() {
update_depmod
update_moduledb
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'
}
pkg_postrm() {
remove_moduledb
}