diff options
Diffstat (limited to 'net-wireless/compat-wireless-builder')
5 files changed, 0 insertions, 702 deletions
diff --git a/net-wireless/compat-wireless-builder/Manifest b/net-wireless/compat-wireless-builder/Manifest deleted file mode 100644 index ed4f0b92..00000000 --- a/net-wireless/compat-wireless-builder/Manifest +++ /dev/null @@ -1,50 +0,0 @@ -AUX 0001-ath5k-retain-promiscuous-setting.patch 1638 RMD160 4773f57d068f13c8aaa945ce849033e75fb9cde1 SHA1 eed362eecf29bdc9a2333348514956f5ae36ab48 SHA256 c125640e535c9add6422435f72f136f9d4eac4d3655598dccc9b6f2214a3a507 -AUX 4000_mac80211_2.6.28-rc4-wl_frag+ack_v3.patch 1063 RMD160 0b8d08feefbf0de9d532c73066fda755ffeaf6f9 SHA1 0eea3b55ed7cb436a1464d35345d329cc47a0137 SHA256 4ae0d3926ed563cb961df0d3236b321ad86698843a2a6df26476657c5e20dac0 -AUX 4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch 559 RMD160 f6fb33ff15e989e280f5a6f230f88a36a0284e3e SHA1 ef5fb0bc41a6a169d82a8c04eae07e94df68b807 SHA256 2c9222e0c6aaafabac091766c7e0a71442f0e9521ec1c65fc7024fbca60a3354 -AUX 4004_zd1211rw-2.6.28.patch 1412 RMD160 70c7cd8a8e03199b33c76ff16974d4a4980b846f SHA1 0bf4c9df519246ffbee94b7ffeb454b2408b8dfb SHA256 6696295acb2a8d12a33208525cba9ce8bd2971c9c0adaabb31debfa9ec15c7be -AUX 4005_ath5k-frequency-expansion-2.6.30.patch 4838 RMD160 e175138fd025ef0750178146c0c038c1664557bb SHA1 99322fe5cdf1a8ded58f65267503fddc90c934be SHA256 563a1644c51804d6014be54a7ce26cd4db70991a4b75c4b66370ea9136d40467 -AUX 4007_ath5k-pass-failed-crc.patch 568 RMD160 1f38abc77887fc23b5f09b1ddd7e4159ab190e91 SHA1 22ecfbd59b4e7f1038ac9415003e182cddae8df2 SHA256 12e8549aa3fd85d83fc7c80ab2dbd4ed5a22ae446af6979bfbdd4a3c2d4e9fe6 -AUX 4012_openwrt-b43-disable_qos_when_openfw.patch 721 RMD160 cd67c2425cd5b29f637781652a49a951a9ffda21 SHA1 382947ee332836c43c4eeb32eb8358b88e18fd22 SHA256 f03374faa0d41a5dca7e20079d7a7bd59aebd309b56aa6c7f7108b596d3f0da2 -AUX 4013-runtime-enable-disable-of-mac80211-packet-injection.patch 1490 RMD160 53c728303c77b2ffd93917bceaaad6a38ee80236 SHA1 3b6aa934cf4c09deb8e93fcb08b10bfb1f6bdbb9 SHA256 88f997a54768feeb40a9f985e412e90e9fda2491f32cf6b078eb2a0a9f81e785 -AUX 4099-2.6.32-rc7-mac80211-security-fixes.patch 5951 RMD160 fb07610df222a12f81e66b4e69f35737ccf8003c SHA1 089a6ab27f14db15ce3b9280bd173f2cba124406 SHA256 61d0c5e5681f0fb20cf65925b49eeebf34d3b026906e052c086f1f17147a9359 -AUX WEXT-EXT-nuts.patch 3150 RMD160 a89ceb7e6f34e4b2be1b8c35ed8ed141c20a2f20 SHA1 d71520c21765fcec6f710970df40e1091d2feb75 SHA256 be6a5f2746ff6cf5963e95b1c7a895cc343c930de22a47e41b4ed0d24a60a6f0 -AUX ath9k_htc_ethtool_driver.patch 1242 RMD160 49838be1d386765166b357be2a3ac59746a4c850 SHA1 16cb804d64ce0ec21b509052bbd7004554147657 SHA256 b27463b3f6cfe64e6b09835e1a06bc3ae83207f6800710ff0c461a6bef363460 -AUX ath_ignore_eeprom.patch 2096 RMD160 87f268cfcf06115464b64377e5dd05bfc467203d SHA1 ffb607d19a8622f0a9ea11ee09269f0af2a1ea28 SHA256 def6985a8c1486bfe78c8cf72333f620d88730fc1c3116d016a03725a6ba2226 -AUX ath_regd_optional.patch 906 RMD160 5e5abcc041e1830b6aabef27d5cb83f99f6d8130 SHA1 e42973161cbde89cccdd04408c83b3cc5918202a SHA256 ebf117d071363e854505c18aef8c9af2652fd4a7b9cc5efe961cf5efb410dbd7 -AUX blinky.patch 357 RMD160 6c93e916efc56412f316076e836c1c5d98e58047 SHA1 e23568801309cdf2a01fa5be8cd3b9a3fcff5edd SHA256 1c2f0e18ecbcf2c07ba732671e77408326d2566d260f0252002c5698f9e65e30 -AUX channel-negative-one-maxim.patch 1021 RMD160 39a56a0fdc4c5932e507985c5a213b703ff8df7c SHA1 a611acdd7994b07b0b39417ef7a5a6ffc866a733 SHA256 19f7fc0753636c32026e444e23bd101bd21cfeb59661284678bf157dc35212f2 -AUX compat-chaos.patch 6187 RMD160 2b8477fbf8b8bde456c5c32a8146330232ae355f SHA1 7bd56bcb3c50eb6f22be7ec24b886ae70bf747cd SHA256 5e8c11b46bc8acf10a2ce8b934fec32662b57c003c99e5e0ca4717a8c6b19474 -AUX compat-sched.patch 286 RMD160 872abfe4be5a292e880a658d0cea7260897ad26e SHA1 18ee1ac6c838bfbf48a2124e701e780e2bb54c87 SHA256 675e1f877f076f7941dc89248a99b01508cf8a05255bd5a2e2a46c71b148f73e -AUX driver-debug.patch 2801 RMD160 9f060be68ffa41d7db4c6dd2c46eaa7326f9b16d SHA1 fcde4a43b165d4dda201663c107c23e8db3afd43 SHA256 06a37359ac7129a6f7db2f4e7f72d67c1f7014fd0adf439a89d119415a4316c2 -AUX failed_ath5k-frequency-chaos-2.6.28.patch 5787 RMD160 978b39113ebdc4ec1543bd4379d4428431524cb6 SHA1 a1b9268aedeb0d9035fd13214fe465145f1c5334 SHA256 8e9e0888e890a2970274a7ba9d40d75e01ebaedb0e16700d8994b9ecfe921185 -AUX failed_ieee80211_inject-2.6.22.patch 772 RMD160 ff6f70125009e3cd151ad12d8c2f1aa9333f5556 SHA1 8a1773b86a2742a4ae63f61dda48231b10b591bf SHA256 7403780cd3df720439f54b6cad88a803aacc0260af8fbbab0cfa25e523ae2ae9 -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 fix-typos-2.6.35_rc2.patch 704 RMD160 2d55dc2ddb46c8f2cb02b9d0e50efc6b7c6e626a SHA1 6c95de6b6c9c4275f1a89f295bbb78d4de34fb54 SHA256 8319c6e70cf5c7a9d6b43a0bd7699c67504584ddc1d6d70ba4bf87625d2bb1b2 -AUX fix-typos-2.6.36_rc5.patch 479 RMD160 96a03226c94134502766970b1272cee6e8c7a533 SHA1 c5f3e8a33048a41544d4ebba29294553aa60855f SHA256 8496796f97cd3074935623c59e155333164588f24556ab7c45bf3a3f71d20bb9 -AUX force-enable-new-ralink-2.6.38_rc3.patch 769 RMD160 1b73345479e4d36f1305fd8f82c7d89121f2c8a1 SHA1 a1a5e2905429f38cf5e23b3c3ec6ffafbb1c59eb SHA256 fcc7fa9a0f94776b263ac2215f7eb67c943840650a631dd9ca0171adce63dd74 -AUX force-enable-new-ralink-pci-2.6.36-rc5.patch 529 RMD160 f6d76a1db48cc227843fe1acf2e7b71121980f6d SHA1 15a43e4d69e4d317cc44ae5c29006b8946091111 SHA256 ed23620a9682c8023d5095007cdc0f7e2602e8d5e580faf446ad9189300ca17e -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 ipw2200-inject.2.6.36.patch 4139 RMD160 caac7cdd786c6779d136be13181cab0b845f392d SHA1 0cccb21cb5794c74e48d3354ca41eb2b8ae6dce6 SHA256 a23d46ba2183eca15b2afc9f88b1570589f51d67488cea5f514d534e218d6570 -AUX iwlwifi-5000-exp-firmware.patch 475 RMD160 939e0bdc5245cbe9a126bdda00024b507286fcc1 SHA1 61fa5d19079bac708ac29efc1ede9420ec6b651b SHA256 7e486f5d28cfaa50a98d486f6456c11bebae25f9dd7fd4b09fc8e9b12517efff -AUX johill-negone-paul.patch 2987 RMD160 e5251606a8cfbbc639f71a20ea5ded98360f9804 SHA1 90283aaa5e7b99845dc694940ed70fecebb3b123 SHA256 0bcc6aaf343f3faaad09da3abdbf4308985dfc084c4213d8acc32dd1c52aab29 -AUX johill-negone.patch 2972 RMD160 3b9055db9632483c2a6b940210718d6442e86dc9 SHA1 6af2da5949f6e425dd62f7a36019cdfaebff69fd SHA256 8acad1b386c6c849938a62a4d0216f8960f932ed3298a0f33739be39dce9fdc5 -AUX led-oops.patch 733 RMD160 50dc59a8893e7d77cf41653d8d39e5255dae8273 SHA1 9875b139e4111eb137cd1b43e3b68c85eb8915f5 SHA256 381f52b08f1b4c268fcc4ad88b0059d27b438bdab6acd4d54c882cc2505c99b9 -AUX leds-disable-strict.patch 1614 RMD160 9b256283c9e278426d218a99d59ec4d7c68fa426 SHA1 865a1d0221da08ae80dd014247292558a98a392e SHA256 58170c088e6d4d78be497d3efe808252df75d660b4ae1fa370d3bbd9ee6299f2 -AUX leds-disable.patch 1232 RMD160 5d82d47828e01462312ba3dd9cdc71564dc05f9a SHA1 1ca99516a1a6d92c7c45de6e5c5afefdacaa8c27 SHA256 55080ec9838b3eac1c06bb0b360374fa8170266ba0d85ceb1a88c7caef97ace0 -AUX linville-aircrack-ng.patch 1806 RMD160 d644d404cca4498e7ee1f0d70eb3d46f8a0cfeab SHA1 866718a4cbfaf052ba2c8ed34c1baf30eb2c1dd7 SHA256 d806d9eb1a402915fcf0daebc359902ea0ffbfc2303e2e77d38df2f2d8da215f -AUX mac80211.compat08082009.wl_frag+ack_v1.patch 1049 RMD160 e864ee2e0c70ce344000baa8ee5fca3b23c3305a SHA1 85f7a1b141549b774f5631fba259bc414aeeffb8 SHA256 e04ed9997e1578cc1becd4ef9d9f2f6f606590aa91a56e42835963913e1b0f52 -AUX make-make.patch 500 RMD160 db6640b13120dc8fd46a3691aa046820af0a3f78 SHA1 bb4084ac7d74e8ecfffdd5301afe4e10d4720372 SHA256 b0fb357e356e655974dd2652c311f53d6ae32a096f0c7f96e61482a7f5acd7aa -AUX orinoco-remove-all-which-are-in-hostap-OFFICIAL.patch 12945 RMD160 a9453bfccd20520dc592275b4dd90fe681f272fa SHA1 f032aa4c51360ba793d2a8bf5a393bbfe33b94fa SHA256 38705e63f5034052d48c50a29d5a8bf114a692ce6e76a53b73371180d0e0f14b -AUX reinette-test2.patch 1460 RMD160 a38149b45787ad313a30716349c7e3c4590f5b69 SHA1 dd9e57593fb8955a8126478f4db430aa4f51800d SHA256 1de6d6ed109c4c9c23758c7eb02aeac2844f680cfc3c1e568c53f366cd3f4727 -AUX rtl8187-mac80211-injection-speed-2.6.30-rc3.patch 1179 RMD160 e06fc37c08ce457ebeef7a7eaae8a05fb8aa7513 SHA1 77281c04d0e451860f27d0f621955a77b5e133d6 SHA256 bf6846089eb3d8cf7ebe119b4ffd1c32f7075a98d403fc8f96a5b49017c385b6 -AUX super_secret_patch.diff 13499 RMD160 74c96addab52a869141e0791942357efbc230265 SHA1 49b8c23bd887bbb7656cd2146dba8fdbaac7d5fe SHA256 f4bd054b3348e98700e4481f50a1d809f2d2c89bfd24419b4d17e01bf6a0168e -AUX ubnt-wifi-station-ext2.patch 1006 RMD160 986218c0099e2ea95347391cd09c69ad51fa0d5c SHA1 1e63718cfb7041dadba3500663a6cb7c9ac022f1 SHA256 c0ebdd30b5ef141e39977fd529a4bd3e6062b20984c0eb53836fa4b0fb6f4b1e -AUX whynot-2.6.31.patch 4272 RMD160 74ec1c66cfb376cf2c83401aa3edcdbfdd019438 SHA1 18f5680625ad68ebba773c8f39a04edf6456e2f2 SHA256 a1839efde553fb6c78b7121f94a3dc5401c146f9ff3e017e61de1b0298f4b371 -AUX whynot-2.6.32.patch 666 RMD160 fcca9ac8d2152bebe51643a4250dffed383aae68 SHA1 5d7261437f5c98758f13c6c3f8a5676769b05013 SHA256 07cfc03d0ad5c47bec08d320afa63c79c0e6be9109dcf42b9811aad10bdc9c63 -AUX whynot.patch 4106 RMD160 ac38e8dbbe1a59607fe16b36f327a9ba73a001e7 SHA1 2208598c9f9811d368db099c863be2a2af11681e SHA256 956cf3a0a8b8e1f0f0e3df985e351799f325a44e4cddf042d677a9e8109b7c9e -AUX wl1251-inject-2.6.37.patch 47143 RMD160 35cfb086e93ce041fa6d9a698c7e630013ca666c SHA1 526dfe86d2002dd0a2868f5793fc982bd677a340 SHA256 04660a1f7fb241aafeb7fba3a7791cc31fd74efa75fa73616b3abe6b39f89b36 -EBUILD compat-wireless-builder-3.3.6.ebuild 8113 RMD160 9cfa175372f4beea1055669639cec2cc53ee2fbc SHA1 12456a1a4c7ff807e3ca01323088ed7866061ae0 SHA256 0367b062bed074f066053f73244d55c7ad7b8fc1bcc14c2587c64416615339a7 -EBUILD compat-wireless-builder-3.4_rc3.ebuild 8115 RMD160 725faeef7ad458e24f9d4547152df2a93af85acc SHA1 70555c5929626726fea3b4829ce578dff41acffd SHA256 a6c70093e7a02e0698d07fcfe5e88380ae70193a6b0c827ec3dc53246b5e2ba3 -EBUILD compat-wireless-builder-3.4_rc7.ebuild 8115 RMD160 725faeef7ad458e24f9d4547152df2a93af85acc SHA1 70555c5929626726fea3b4829ce578dff41acffd SHA256 a6c70093e7a02e0698d07fcfe5e88380ae70193a6b0c827ec3dc53246b5e2ba3 diff --git a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.3.6.ebuild b/net-wireless/compat-wireless-builder/compat-wireless-builder-3.3.6.ebuild deleted file mode 100644 index 0ed43597..00000000 --- a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.3.6.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -inherit git-2 linux-mod linux-info versionator eutils - -##Stable - -MY_P=${P/_rc/-rc} -MY_PV=v${PV/_rc/-rc} -MY_PVS=v$(get_version_component_range 1-2) -DESCRIPTION="Stable kernel pre-release wifi subsystem backport" -HOMEPAGE="http://wireless.kernel.org/en/users/Download/stable" -CRAZY_VERSIONING="2" -#SRC_URI="http://www.orbit-lab.org/kernel/${PN}-3.0-stable/${MY_PVS}/${MY_P}-${CRAZY_VERSIONING}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="+apply_cherrypicks +apply_crap +apply_stable apply_pending atheros_obey_crda bluetooth b43 b44 debugfs debug-driver full-debug injection livecd loadmodules +tarball noleds" - -DEPEND="!net-wireless/compat-wireless - apply_stable? ( dev-util/quilt )" -RDEPEND="${DEPEND} - livecd? ( =sys-kernel/linux-firmware-99999999 ) - !livecd? ( >=sys-kernel/linux-firmware-20110709 ) - sys-fs/udev" - -#S="${WORKDIR}"/"${MY_P}"-${CRAZY_VERSIONING} -S="${WORKDIR}/compat-wireless" -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." - - #these things are not optional - 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_ !" - linux_chkconfig_module LIBIPW || ewarn "CONFIG_LIBIPW really should be set or there will be no WEXT compat" - - if use b43; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b43" - fi - if use b44; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b44" - fi -} - -src_unpack() { - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" - EGIT_SOURCEDIR="${WORKDIR}/allstable" - EGIT_COMMIT="refs/tags/${MY_PV}" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_COMMIT - - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git" - EGIT_SOURCEDIR="${WORKDIR}/linux-next" - git-2_src_unpack - unset EGIT_DIR - - EGIT_REPO_URI="git://github.com/mcgrof/compat.git" - EGIT_SOURCEDIR="${WORKDIR}/compat" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH - - EGIT_REPO_URI="git://github.com/mcgrof/compat-wireless.git" - EGIT_SOURCEDIR="${WORKDIR}/compat-wireless" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH -} - -src_prepare() { - use apply_cherrypicks && apply="${apply} -n" - use apply_pending && apply="${apply} -p" - use apply_stable && apply="${apply} -s" - use apply_crap && apply="${apply} -c" - - #CAUTION: on this line GIT_TREE asks for linux-next but wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh -s refresh || die - #CAUTION: but on this line GIT_TREE wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh${apply} || die - - if use tarball; then - rm -rf .git/ - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build clean - find ./ -type f -name *.orig | xargs rm -f - find ./ -type f -name *.rej | xargs rm -f - use apply_cherrypicks && applied="${applied}n" - use apply_pending && applied="${applied}p" - #use apply_stable && applied="${applied}s" - use apply_crap && applied="${applied}c" - if [ "${applied}" ]; then - applied="-${applied}" - fi - tar -Jcf "${WORKDIR}"/${P}${applied}.tar.xz "${WORKDIR}/compat-wireless/" || die - fi - - # CONFIG_CFG80211_REG_DEBUG=y - sed -i '/CFG80211_REG_DEBUG/s/^# *//' "${S}"/config.mk - - #this patch ignores the regulatory settings of an atheros card and uses what CRDA thinks is right - if use atheros_obey_crda; then - ewarn "You have enabled atheros_obey_crda which doesn't do what you think." - ewarn "This use flag will cause the eeprom of the card to be ignored and force" - ewarn "world roaming on the device until crda provides a valid regdomain." - ewarn "Short version, this is not a way to break the law, this will automatically" - ewarn "make your card less functional unless you set a proper regdomain with iw/crda." - ewarn "Pausing for 10 secs..." - epatch "${FILESDIR}"/ath_regd_optional.patch - fi - - if use injection; then - epatch "${FILESDIR}"/4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch - epatch "${FILESDIR}"/4004_zd1211rw-2.6.28.patch - # epatch "${FILESDIR}"/mac80211.compat08082009.wl_frag+ack_v1.patch - # epatch "${FILESDIR}"/4013-runtime-enable-disable-of-mac80211-packet-injection.patch - epatch "${FILESDIR}"/ipw2200-inject.2.6.36.patch - fi - use noleds && epatch "${FILESDIR}"/leds-disable-strict.patch - use debug-driver && epatch "${FILESDIR}"/driver-debug.patch - use debugfs && sed -i '/DEBUGFS/s/^# *//' "${S}"/config.mk - if use full-debug; then - if use debug-driver ; then - sed -i '/CONFIG=/s/^# *//' "${S}"/config.mk - else - ewarn "Enabling full-debug includes debug-driver." - sed -i '/DEBUG=/s/^# *//' "${S}"/config.mk - fi - fi -# Disable B44 ethernet driver - if ! use b44; then - sed -i '/CONFIG_B44=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - sed -i '/CONFIG_B44_PCI=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - fi - -# Disable B43 driver - if ! use b43; then - sed -i '/CONFIG_B43=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - sed -i '/CONFIG_B43_PCI_AUTOSELECT=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - #CONFIG_B43LEGACY= - fi - -# fixme: there are more bluethooth settings in the config.mk - if ! use bluetooth; then - sed -i '/CONFIG_COMPAT_BLUETOOTH=/s/ */#/' "${S}"/config.mk || die "unable to disable bluetooth driver" - sed -i '/CONFIG_COMPAT_BLUETOOTH_MODULES=/s/ */#/' "${S}"/config.mk || die "unable to bluetooth B44 driver" - fi - -} - -src_compile() { - addpredict "${KERNEL_DIR}" - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build || die "emake failed" -} - -src_install() { - if use tarball; then - insinto /usr/share/${PN} - doins "${WORKDIR}"/${P}${applied}.tar.xz - fi - - for file in $(find -name \*.ko); do - insinto "/lib/modules/${KV_FULL}/updates/$(dirname ${file})" - doins "${file}" - done - dosbin scripts/athenable scripts/b43load scripts/iwl-enable \ - scripts/madwifi-unload scripts/athload scripts/iwl-load \ - scripts/b43enable scripts/unload.sh - - dodir /usr/lib/compat-wireless - exeinto /usr/lib/compat-wireless - doexe scripts/modlib.sh - - dodoc README - 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 - - if use !livecd; then - if use loadmodules; then - einfo "Attempting to unload modules..." - /usr/sbin/unload.sh 2>&1 | grep -E FATAL && ewarn "Unable to remove running modules, system may be unhappy, reboot HIGHLY recommended!" - einfo "Triggering automatic reload of needed modules..." - /sbin/udevadm trigger - einfo "We have attempted to load your new modules for you, this may fail horribly, or may just cause a network hiccup." - einfo "If you experience any issues reboot is the simplest course of action." - fi - fi - if use !loadmodules; then - einfo "You didn't USE=loadmodules but you can still attempt to switch to the new drivers without reboot." - einfo "Run 'unload.sh' then 'udevadm trigger' to cause udev to load the needed drivers." - einfo "If unload.sh fails for some reason you should be able to simply reboot to fix everything and load the new modules." - fi -} - -pkg_postrm() { - remove_moduledb -} diff --git a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc3.ebuild b/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc3.ebuild deleted file mode 100644 index 01fd1604..00000000 --- a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc3.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -inherit git-2 linux-mod linux-info versionator eutils - -##Stable - -MY_P=${P/_rc/-rc} -MY_PV=v${PV/_rc/-rc} -MY_PVS=v$(get_version_component_range 1-2) -DESCRIPTION="Stable kernel pre-release wifi subsystem backport" -HOMEPAGE="http://wireless.kernel.org/en/users/Download/stable" -CRAZY_VERSIONING="2" -#SRC_URI="http://www.orbit-lab.org/kernel/${PN}-3.0-stable/${MY_PVS}/${MY_P}-${CRAZY_VERSIONING}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+apply_cherrypicks +apply_crap +apply_stable apply_pending atheros_obey_crda bluetooth b43 b44 debugfs debug-driver full-debug injection livecd loadmodules +tarball noleds" - -DEPEND="!net-wireless/compat-wireless - apply_stable? ( dev-util/quilt )" -RDEPEND="${DEPEND} - livecd? ( =sys-kernel/linux-firmware-99999999 ) - !livecd? ( >=sys-kernel/linux-firmware-20110709 ) - sys-fs/udev" - -#S="${WORKDIR}"/"${MY_P}"-${CRAZY_VERSIONING} -S="${WORKDIR}/compat-wireless" -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." - - #these things are not optional - 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_ !" - linux_chkconfig_module LIBIPW || ewarn "CONFIG_LIBIPW really should be set or there will be no WEXT compat" - - if use b43; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b43" - fi - if use b44; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b44" - fi -} - -src_unpack() { - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" - EGIT_SOURCEDIR="${WORKDIR}/allstable" - EGIT_COMMIT="refs/tags/${MY_PV}" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_COMMIT - - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git" - EGIT_SOURCEDIR="${WORKDIR}/linux-next" - git-2_src_unpack - unset EGIT_DIR - - EGIT_REPO_URI="git://github.com/mcgrof/compat.git" - EGIT_SOURCEDIR="${WORKDIR}/compat" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH - - EGIT_REPO_URI="git://github.com/mcgrof/compat-wireless.git" - EGIT_SOURCEDIR="${WORKDIR}/compat-wireless" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH -} - -src_prepare() { - use apply_cherrypicks && apply="${apply} -n" - use apply_pending && apply="${apply} -p" - use apply_stable && apply="${apply} -s" - use apply_crap && apply="${apply} -c" - - #CAUTION: on this line GIT_TREE asks for linux-next but wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh -s refresh || die - #CAUTION: but on this line GIT_TREE wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh${apply} || die - - if use tarball; then - rm -rf .git/ - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build clean - find ./ -type f -name *.orig | xargs rm -f - find ./ -type f -name *.rej | xargs rm -f - use apply_cherrypicks && applied="${applied}n" - use apply_pending && applied="${applied}p" - #use apply_stable && applied="${applied}s" - use apply_crap && applied="${applied}c" - if [ "${applied}" ]; then - applied="-${applied}" - fi - tar -Jcf "${WORKDIR}"/${P}${applied}.tar.xz "${WORKDIR}/compat-wireless/" || die - fi - - # CONFIG_CFG80211_REG_DEBUG=y - sed -i '/CFG80211_REG_DEBUG/s/^# *//' "${S}"/config.mk - - #this patch ignores the regulatory settings of an atheros card and uses what CRDA thinks is right - if use atheros_obey_crda; then - ewarn "You have enabled atheros_obey_crda which doesn't do what you think." - ewarn "This use flag will cause the eeprom of the card to be ignored and force" - ewarn "world roaming on the device until crda provides a valid regdomain." - ewarn "Short version, this is not a way to break the law, this will automatically" - ewarn "make your card less functional unless you set a proper regdomain with iw/crda." - ewarn "Pausing for 10 secs..." - epatch "${FILESDIR}"/ath_regd_optional.patch - fi - - if use injection; then - epatch "${FILESDIR}"/4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch - epatch "${FILESDIR}"/4004_zd1211rw-2.6.28.patch - # epatch "${FILESDIR}"/mac80211.compat08082009.wl_frag+ack_v1.patch - # epatch "${FILESDIR}"/4013-runtime-enable-disable-of-mac80211-packet-injection.patch - epatch "${FILESDIR}"/ipw2200-inject.2.6.36.patch - fi - use noleds && epatch "${FILESDIR}"/leds-disable-strict.patch - use debug-driver && epatch "${FILESDIR}"/driver-debug.patch - use debugfs && sed -i '/DEBUGFS/s/^# *//' "${S}"/config.mk - if use full-debug; then - if use debug-driver ; then - sed -i '/CONFIG=/s/^# *//' "${S}"/config.mk - else - ewarn "Enabling full-debug includes debug-driver." - sed -i '/DEBUG=/s/^# *//' "${S}"/config.mk - fi - fi -# Disable B44 ethernet driver - if ! use b44; then - sed -i '/CONFIG_B44=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - sed -i '/CONFIG_B44_PCI=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - fi - -# Disable B43 driver - if ! use b43; then - sed -i '/CONFIG_B43=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - sed -i '/CONFIG_B43_PCI_AUTOSELECT=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - #CONFIG_B43LEGACY= - fi - -# fixme: there are more bluethooth settings in the config.mk - if ! use bluetooth; then - sed -i '/CONFIG_COMPAT_BLUETOOTH=/s/ */#/' "${S}"/config.mk || die "unable to disable bluetooth driver" - sed -i '/CONFIG_COMPAT_BLUETOOTH_MODULES=/s/ */#/' "${S}"/config.mk || die "unable to bluetooth B44 driver" - fi - -} - -src_compile() { - addpredict "${KERNEL_DIR}" - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build || die "emake failed" -} - -src_install() { - if use tarball; then - insinto /usr/share/${PN} - doins "${WORKDIR}"/${P}${applied}.tar.xz - fi - - for file in $(find -name \*.ko); do - insinto "/lib/modules/${KV_FULL}/updates/$(dirname ${file})" - doins "${file}" - done - dosbin scripts/athenable scripts/b43load scripts/iwl-enable \ - scripts/madwifi-unload scripts/athload scripts/iwl-load \ - scripts/b43enable scripts/unload.sh - - dodir /usr/lib/compat-wireless - exeinto /usr/lib/compat-wireless - doexe scripts/modlib.sh - - dodoc README - 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 - - if use !livecd; then - if use loadmodules; then - einfo "Attempting to unload modules..." - /usr/sbin/unload.sh 2>&1 | grep -E FATAL && ewarn "Unable to remove running modules, system may be unhappy, reboot HIGHLY recommended!" - einfo "Triggering automatic reload of needed modules..." - /sbin/udevadm trigger - einfo "We have attempted to load your new modules for you, this may fail horribly, or may just cause a network hiccup." - einfo "If you experience any issues reboot is the simplest course of action." - fi - fi - if use !loadmodules; then - einfo "You didn't USE=loadmodules but you can still attempt to switch to the new drivers without reboot." - einfo "Run 'unload.sh' then 'udevadm trigger' to cause udev to load the needed drivers." - einfo "If unload.sh fails for some reason you should be able to simply reboot to fix everything and load the new modules." - fi -} - -pkg_postrm() { - remove_moduledb -} diff --git a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc7.ebuild b/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc7.ebuild deleted file mode 100644 index 01fd1604..00000000 --- a/net-wireless/compat-wireless-builder/compat-wireless-builder-3.4_rc7.ebuild +++ /dev/null @@ -1,217 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI="4" -inherit git-2 linux-mod linux-info versionator eutils - -##Stable - -MY_P=${P/_rc/-rc} -MY_PV=v${PV/_rc/-rc} -MY_PVS=v$(get_version_component_range 1-2) -DESCRIPTION="Stable kernel pre-release wifi subsystem backport" -HOMEPAGE="http://wireless.kernel.org/en/users/Download/stable" -CRAZY_VERSIONING="2" -#SRC_URI="http://www.orbit-lab.org/kernel/${PN}-3.0-stable/${MY_PVS}/${MY_P}-${CRAZY_VERSIONING}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="+apply_cherrypicks +apply_crap +apply_stable apply_pending atheros_obey_crda bluetooth b43 b44 debugfs debug-driver full-debug injection livecd loadmodules +tarball noleds" - -DEPEND="!net-wireless/compat-wireless - apply_stable? ( dev-util/quilt )" -RDEPEND="${DEPEND} - livecd? ( =sys-kernel/linux-firmware-99999999 ) - !livecd? ( >=sys-kernel/linux-firmware-20110709 ) - sys-fs/udev" - -#S="${WORKDIR}"/"${MY_P}"-${CRAZY_VERSIONING} -S="${WORKDIR}/compat-wireless" -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." - - #these things are not optional - 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_ !" - linux_chkconfig_module LIBIPW || ewarn "CONFIG_LIBIPW really should be set or there will be no WEXT compat" - - if use b43; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b43" - fi - if use b44; then - linux_chkconfig_module SSB || die "You need to enable CONFIG_SSB or USE=-b44" - fi -} - -src_unpack() { - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git" - EGIT_SOURCEDIR="${WORKDIR}/allstable" - EGIT_COMMIT="refs/tags/${MY_PV}" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_COMMIT - - EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git" - EGIT_SOURCEDIR="${WORKDIR}/linux-next" - git-2_src_unpack - unset EGIT_DIR - - EGIT_REPO_URI="git://github.com/mcgrof/compat.git" - EGIT_SOURCEDIR="${WORKDIR}/compat" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH - - EGIT_REPO_URI="git://github.com/mcgrof/compat-wireless.git" - EGIT_SOURCEDIR="${WORKDIR}/compat-wireless" - EGIT_BRANCH="linux-$(get_version_component_range 1).$(get_version_component_range 2).y" - git-2_src_unpack - unset EGIT_DIR - unset EGIT_BRANCH -} - -src_prepare() { - use apply_cherrypicks && apply="${apply} -n" - use apply_pending && apply="${apply} -p" - use apply_stable && apply="${apply} -s" - use apply_crap && apply="${apply} -c" - - #CAUTION: on this line GIT_TREE asks for linux-next but wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh -s refresh || die - #CAUTION: but on this line GIT_TREE wants stable - GIT_TREE="${WORKDIR}/allstable" GIT_COMPAT_TREE="${WORKDIR}/compat" NEXT_TREE="${WORKDIR}/linux-next" scripts/admin-update.sh${apply} || die - - if use tarball; then - rm -rf .git/ - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build clean - find ./ -type f -name *.orig | xargs rm -f - find ./ -type f -name *.rej | xargs rm -f - use apply_cherrypicks && applied="${applied}n" - use apply_pending && applied="${applied}p" - #use apply_stable && applied="${applied}s" - use apply_crap && applied="${applied}c" - if [ "${applied}" ]; then - applied="-${applied}" - fi - tar -Jcf "${WORKDIR}"/${P}${applied}.tar.xz "${WORKDIR}/compat-wireless/" || die - fi - - # CONFIG_CFG80211_REG_DEBUG=y - sed -i '/CFG80211_REG_DEBUG/s/^# *//' "${S}"/config.mk - - #this patch ignores the regulatory settings of an atheros card and uses what CRDA thinks is right - if use atheros_obey_crda; then - ewarn "You have enabled atheros_obey_crda which doesn't do what you think." - ewarn "This use flag will cause the eeprom of the card to be ignored and force" - ewarn "world roaming on the device until crda provides a valid regdomain." - ewarn "Short version, this is not a way to break the law, this will automatically" - ewarn "make your card less functional unless you set a proper regdomain with iw/crda." - ewarn "Pausing for 10 secs..." - epatch "${FILESDIR}"/ath_regd_optional.patch - fi - - if use injection; then - epatch "${FILESDIR}"/4002_mac80211-2.6.29-fix-tx-ctl-no-ack-retry-count.patch - epatch "${FILESDIR}"/4004_zd1211rw-2.6.28.patch - # epatch "${FILESDIR}"/mac80211.compat08082009.wl_frag+ack_v1.patch - # epatch "${FILESDIR}"/4013-runtime-enable-disable-of-mac80211-packet-injection.patch - epatch "${FILESDIR}"/ipw2200-inject.2.6.36.patch - fi - use noleds && epatch "${FILESDIR}"/leds-disable-strict.patch - use debug-driver && epatch "${FILESDIR}"/driver-debug.patch - use debugfs && sed -i '/DEBUGFS/s/^# *//' "${S}"/config.mk - if use full-debug; then - if use debug-driver ; then - sed -i '/CONFIG=/s/^# *//' "${S}"/config.mk - else - ewarn "Enabling full-debug includes debug-driver." - sed -i '/DEBUG=/s/^# *//' "${S}"/config.mk - fi - fi -# Disable B44 ethernet driver - if ! use b44; then - sed -i '/CONFIG_B44=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - sed -i '/CONFIG_B44_PCI=/s/ */#/' "${S}"/config.mk || die "unable to disable B44 driver" - fi - -# Disable B43 driver - if ! use b43; then - sed -i '/CONFIG_B43=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - sed -i '/CONFIG_B43_PCI_AUTOSELECT=/s/ */#/' "${S}"/config.mk || die "unable to disable B43 driver" - #CONFIG_B43LEGACY= - fi - -# fixme: there are more bluethooth settings in the config.mk - if ! use bluetooth; then - sed -i '/CONFIG_COMPAT_BLUETOOTH=/s/ */#/' "${S}"/config.mk || die "unable to disable bluetooth driver" - sed -i '/CONFIG_COMPAT_BLUETOOTH_MODULES=/s/ */#/' "${S}"/config.mk || die "unable to bluetooth B44 driver" - fi - -} - -src_compile() { - addpredict "${KERNEL_DIR}" - set_arch_to_kernel - emake KLIB_BUILD="${DESTDIR}"/lib/modules/"${KV_FULL}"/build || die "emake failed" -} - -src_install() { - if use tarball; then - insinto /usr/share/${PN} - doins "${WORKDIR}"/${P}${applied}.tar.xz - fi - - for file in $(find -name \*.ko); do - insinto "/lib/modules/${KV_FULL}/updates/$(dirname ${file})" - doins "${file}" - done - dosbin scripts/athenable scripts/b43load scripts/iwl-enable \ - scripts/madwifi-unload scripts/athload scripts/iwl-load \ - scripts/b43enable scripts/unload.sh - - dodir /usr/lib/compat-wireless - exeinto /usr/lib/compat-wireless - doexe scripts/modlib.sh - - dodoc README - 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 - - if use !livecd; then - if use loadmodules; then - einfo "Attempting to unload modules..." - /usr/sbin/unload.sh 2>&1 | grep -E FATAL && ewarn "Unable to remove running modules, system may be unhappy, reboot HIGHLY recommended!" - einfo "Triggering automatic reload of needed modules..." - /sbin/udevadm trigger - einfo "We have attempted to load your new modules for you, this may fail horribly, or may just cause a network hiccup." - einfo "If you experience any issues reboot is the simplest course of action." - fi - fi - if use !loadmodules; then - einfo "You didn't USE=loadmodules but you can still attempt to switch to the new drivers without reboot." - einfo "Run 'unload.sh' then 'udevadm trigger' to cause udev to load the needed drivers." - einfo "If unload.sh fails for some reason you should be able to simply reboot to fix everything and load the new modules." - fi -} - -pkg_postrm() { - remove_moduledb -} diff --git a/net-wireless/compat-wireless-builder/files b/net-wireless/compat-wireless-builder/files deleted file mode 120000 index e7cfba98..00000000 --- a/net-wireless/compat-wireless-builder/files +++ /dev/null @@ -1 +0,0 @@ -../compat-wireless/files
\ No newline at end of file |