mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-17 20:30:58 +02:00
rtl8812au_aircrack-ng: new snapshot for 5.19 support
This commit is contained in:
parent
afa3a2b31e
commit
a1dd0cfee5
5 changed files with 5 additions and 119 deletions
|
|
@ -1,3 +1 @@
|
|||
DIST rtl8812au_aircrack-ng-5.6.4.2_p20211108.tar.gz 38986128 BLAKE2B 2afe3ae61e404ca72cadc853a819ab2f83075679cc51df022888497c18d34ec4389df643142e8931bd9afa6d17620a0f9c2499cc8ce3214757920b526ce5e5f4 SHA512 0e8eac11aeb316f9ae76268fc6229a518da0166a016b22d1e2155a4583cd17865cbe95c19f51305f713cf79ca839d8b4c5a38d37263de1a00b1f71f83d510a75
|
||||
DIST rtl8812au_aircrack-ng-5.6.4.2_p20220304.tar.gz 38984765 BLAKE2B dfc1fecde8e5dd225659044cc3bbff75c50093f91f9411ad58fbde175c285aa185cfe0d1b6294834cc569b7331917ef706749d4dea7ed4efc759501082cc5139 SHA512 ffe4eaa24823e3fa2eeb591126a62a94dde736915bab6d542d783c11c8f4915e729f0e4ff168ffa09a1d880d33b5ba4e1630b0f695a08b4e36fd769f9c31b67e
|
||||
DIST rtl8812au_aircrack-ng-5.6.4.2_p20220605.tar.gz 38982995 BLAKE2B d271287283806cdd327a1d95cf0915152ded27fae476b5ae9819d67668ae93880504261adee63f515b0b6e581b72ea7726278c77fca9f48a958627ed557dce91 SHA512 4fc275d4dade9098d57244986c615de70a76dd0f348e563125098e01ee6fb46ba2d8ea925cd0314e7fa6ed8d7d6a6701991ff544c2ebb4a158542e2f4b8256d9
|
||||
DIST rtl8812au_aircrack-ng-5.6.4.2_p20220826.tar.gz 38984039 BLAKE2B 0fd7756113b2dec4435cfa7e786dd01f2c485375911e11e23c807e83c75a610faa4efe0b5dbd328ed441125b36ec0061db68fcd4474d55dbaabe5945f0fd2329 SHA512 58e6de8a537941d1fd5c0f2564e02ea92cf8819dfaef5a051450f9bbb8fbd97ffd8d5786d3782ed893a9a0e099fab430fda24d63b72d7f9aeaa624d4a016726a
|
||||
|
|
|
|||
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2021 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"
|
||||
EGIT_BRANCH="v5.6.4.2"
|
||||
else
|
||||
HASH_COMMIT="307d694076b056588c652c2bdaa543a89eb255d9"
|
||||
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
|
||||
#these are not 88xxau devices
|
||||
#https://github.com/aircrack-ng/rtl8812au/issues/492
|
||||
sed -i '/0x0115/d' os_dep/linux/usb_intf.c || die
|
||||
|
||||
default
|
||||
}
|
||||
|
|
@ -1,53 +0,0 @@
|
|||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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"
|
||||
EGIT_BRANCH="v5.6.4.2"
|
||||
else
|
||||
HASH_COMMIT="cab4e4ec56884f65e0c279c1b5ceaf70dbe79be0"
|
||||
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
|
||||
#these are not 88xxau devices
|
||||
#https://github.com/aircrack-ng/rtl8812au/issues/492
|
||||
sed -i '/0x0115/d' os_dep/linux/usb_intf.c || die
|
||||
|
||||
default
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
EGIT_BRANCH="v5.6.4.2"
|
||||
else
|
||||
HASH_COMMIT="37e27f9165300c89607144b646545fac576ec510"
|
||||
HASH_COMMIT="e7a4a390ccbdd768411e1b2a8922c47837f76b47"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
|
|
@ -45,9 +45,6 @@ pkg_setup() {
|
|||
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
|
||||
#these are not 88xxau devices
|
||||
#https://github.com/aircrack-ng/rtl8812au/issues/492
|
||||
sed -i '/0x0115/d' os_dep/linux/usb_intf.c || die
|
||||
|
||||
sed -i 's#CONFIG_RTW_VIRTUAL_INTF = n#CONFIG_RTW_VIRTUAL_INTF = y#' Makefile || die
|
||||
default
|
||||
}
|
||||
|
|
@ -13,7 +13,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
|
||||
EGIT_BRANCH="v5.6.4.2"
|
||||
else
|
||||
HASH_COMMIT="cab4e4ec56884f65e0c279c1b5ceaf70dbe79be0"
|
||||
HASH_COMMIT="e7a4a390ccbdd768411e1b2a8922c47837f76b47"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
|
|
@ -45,9 +45,6 @@ pkg_setup() {
|
|||
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
|
||||
#these are not 88xxau devices
|
||||
#https://github.com/aircrack-ng/rtl8812au/issues/492
|
||||
sed -i '/0x0115/d' os_dep/linux/usb_intf.c || die
|
||||
|
||||
sed -i 's#CONFIG_RTW_VIRTUAL_INTF = n#CONFIG_RTW_VIRTUAL_INTF = y#' Makefile || die
|
||||
default
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue