Skip to content
Permalink
Browse files

rtl8812au_aircrack-ng: bump to 5.6.4.1_p20190817 for testing (More: #508

)
  • Loading branch information...
linxon committed Oct 7, 2019
1 parent 9896dbe commit a21761940fd63992375841b62de0ad6bec6102f7
@@ -1,2 +1,3 @@
DIST rtl8812au_aircrack-ng-5.2.20_p20190414.tar.gz 22618538 BLAKE2B 496826bb5b2c2d82422cbe4d88c5a13b635cdb32e152feb1092de2760d07b351ecf092478d25423ace93c39c2715af5a2091d2aa8ce218653c661ec983918fe7 SHA512 93e2781547552d71d13628b93faaf6aa552267087dd95e2f685f4b1fa150771533452d1795f604ef98821cae12e7840cc4c859a985b723c391713734a927bcdc
DIST rtl8812au_aircrack-ng-5.3.4_p20190515.tar.gz 3291632 BLAKE2B b01b1cda6d121d25c145d4a69c8a57365db68a624a1f049fda64271448ea2f3b4a7b5d698a4445bd56489189308a11b99e75da99bbc6a2d0f3d452fe14c76b67 SHA512 dc89941b46852ba46bb647f77faf159f4791f21dae328689d3d2987ff62db7d51e3996e43567ae87678d1a7dff5c0cd13d47efd4662672ada01de4a6ae3efdb3
DIST rtl8812au_aircrack-ng-5.6.4.1_p20190817.tar.gz 33961151 BLAKE2B e7ab4370099f040b0f397853ce23b52b063aa01af8d6df759ee64f0dd710e8c45edc4fe6283e82c1fbd5bbc331ae1c27714d539fc3859caeb9d51b9cce150585 SHA512 0fdc3afe1891cf5e5fcd954104c78139d64f569e67da581b29b6d701147e9337262b78f98168e56a8cf25faab0fcc217ed62111c57a0d6305bb3b54517d38404
@@ -0,0 +1,49 @@
# 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,43 +1,49 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
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
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/aircrack-ng/rtl8812au.git"
EGIT_BRANCH="v5.6.4.1"
else
HASH_COMMIT="c2fd51ad82af369529c9c3960f7d56c6f949793a"
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
COMMIT="12e3c5d56a0249d0f2eea6ae795b86a7154b4c7c"
SRC_URI="https://github.com/aircrack-ng/rtl8812au/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/rtl8812au-${COMMIT}"

S="${WORKDIR}/rtl8812au-${HASH_COMMIT}"
fi

LICENSE="GPL-2"
SLOT="0"
IUSE="kernel_linux"

DEPEND="!!net-wireless/rtl8812au_astsam
DEPEND="
!!net-wireless/rtl8812au
!!net-wireless/rtl8812au_asus"

BUILD_TARGETS="clean modules"
MODULE_NAMES="88XXau(misc:)"
!!net-wireless/rtl8812au_asus
!!net-wireless/rtl8812au_astsam"

#compile against selected (not running) target
# compile against selected (not running) target
pkg_setup() {
linux-mod_pkg_setup
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR} RTL8814=1 V=1"
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
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile
sed -i 's#CONFIG_80211W = n#CONFIG_80211W = y#' Makefile || die
sed -i 's#-DCONFIG_IEEE80211W#-DCONFIG_IEEE80211W -DCONFIG_RTW_80211R#' Makefile || die

default
}

0 comments on commit a217619

Please sign in to comment.
You can’t perform that action at this time.