rtl8812au_aircrack-ng: this version doesn't support channel control in monitor mode, please test next time

This commit is contained in:
Rick Farina (Zero_Chaos) 2018-10-23 17:12:58 -04:00
parent f5bced8002
commit 03839eb5b2
No known key found for this signature in database
GPG key ID: A5DD1427DD11F94A

View file

@ -1,43 +0,0 @@
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit linux-mod
DESCRIPTION="RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection"
HOMEPAGE="https://github.com/aircrack-ng/rtl8812au"
if [[ ${PV} == "9999" ]] ; then
KEYWORDS=""
inherit git-r3
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
EGIT_BRANCH="v5.3.4"
else
KEYWORDS="~amd64 ~x86"
COMMIT="e994f6b26a9825544f2817edb60c0a7327467878"
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/rtl8812au-${COMMIT}"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="kernel_linux"
DEPEND="!!net-wireless/rtl8812au_astsam
!!net-wireless/rtl8812au
!!net-wireless/rtl8812au_asus"
BUILD_TARGETS="clean modules"
MODULE_NAMES="88XXau(misc:)"
#compile against selected (not running) target
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1"
}
src_prepare() {
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile
default
}