mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-03 20:21:47 +02:00
rtl8812au_aircrack-ng: more testing against 5.3
This commit is contained in:
parent
283c16b2ef
commit
1d4bb7ceba
4 changed files with 4 additions and 102 deletions
|
|
@ -13,8 +13,8 @@ if [[ ${PV} == "9999" ]] ; then
|
|||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
EGIT_BRANCH="v5.2.20"
|
||||
else
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
COMMIT="4c63f21cd7f585421a0f4ab16af8112b25485bae"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
COMMIT="c7e1ce2ed3ce18927eb9c45a85e812c3ba4e51d2"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/rtl8812au-${COMMIT}"
|
||||
fi
|
||||
|
|
@ -13,8 +13,8 @@ if [[ ${PV} == "9999" ]] ; then
|
|||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
EGIT_BRANCH="v5.3.4"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
COMMIT="d8d9399a5bfa3657d94505602a863d7f49d40393"
|
||||
KEYWORDS=""
|
||||
COMMIT="1887e5cbf772cd248a005eb687a5fd867fee41db"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/rtl8812au-${COMMIT}"
|
||||
fi
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
else
|
||||
HASH_COMMIT="c2fd51ad82af369529c9c3960f7d56c6f949793a"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/rtl8812au-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
DEPEND="
|
||||
!!net-wireless/rtl8812au
|
||||
!!net-wireless/rtl8812au_asus
|
||||
!!net-wireless/rtl8812au_astsam"
|
||||
|
||||
# compile against selected (not running) target
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
BUILD_TARGETS="clean modules"
|
||||
MODULE_NAMES="88XXau(misc:)"
|
||||
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1 V=1"
|
||||
|
||||
linux-mod_pkg_setup
|
||||
else
|
||||
die "Could not determine proper ${PN} package"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
|
||||
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
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
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
else
|
||||
HASH_COMMIT="25c0645c265d29530adf414338a068b7124e3956"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
#KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/rtl8812au-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
DEPEND="
|
||||
!!net-wireless/rtl8812au
|
||||
!!net-wireless/rtl8812au_asus
|
||||
!!net-wireless/rtl8812au_astsam"
|
||||
|
||||
# compile against selected (not running) target
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
BUILD_TARGETS="clean modules"
|
||||
MODULE_NAMES="88XXau(misc:)"
|
||||
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1 V=1"
|
||||
|
||||
linux-mod_pkg_setup
|
||||
else
|
||||
die "Could not determine proper ${PN} package"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
|
||||
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
Loading…
Reference in a new issue