mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-18 04:40:56 +02:00
rtl8812au_aircrack-ng: bump for 5.17
This commit is contained in:
parent
3ed81ae826
commit
f9a12f41fb
3 changed files with 57 additions and 3 deletions
|
|
@ -1 +1,2 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,53 @@
|
|||
# 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="37e27f9165300c89607144b646545fac576ec510"
|
||||
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,7 +1,7 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
|
|
@ -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="3a64331a1c809bbbc21eca63b825970f213ec5ac"
|
||||
HASH_COMMIT="37e27f9165300c89607144b646545fac576ec510"
|
||||
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue