mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
rtl8822bu driver
This commit is contained in:
parent
47fbfda57e
commit
ce5117d6b7
5 changed files with 48 additions and 4 deletions
|
|
@ -1,2 +1 @@
|
|||
DIST rtl8812au_aircrack-ng-5.2.20_p20191030.tar.gz 22618814 BLAKE2B 0f26290f301de78422688630d73f4df8b834144d2b6c4f5726ad5b3886d83b20ef59d455b74746c0b060bd08192203795ef8df4a266a9e57f8bb66b75a73dc98 SHA512 dbbba612ad2cea40d823d14c1902b4488578afe83af3b80102ec3f0d068e2e52de35f9c44fa58dbc3b4cb74bdcdafbdef3738e88628feb1463e1f32f4f86fcaa
|
||||
DIST rtl8812au_aircrack-ng-5.3.4_p20191030.tar.gz 3291910 BLAKE2B f5dece797688df634c228de2cd3d69a4a495a7923793ab0473ba018a8c25a2331939766f3ee5f7103187b85ba1e643eabbe10e02af57ce9cdeb350172d21aa6b SHA512 e661858a3d2745973185687c13003afeaabd086667734080f2f93b80d023a09e807a8a9ec9945c3dbd5191f4bbcfafa4434ba90c2ade523f6f99aa6d20def11d
|
||||
DIST rtl8822bu-5.3.1_p20190920.tar.gz 3559097 BLAKE2B c14c4b2be2f29f705161040102b498d796fe5ef5928a17f535f7389ccd35e2d0f23d9bad5e9bcc8136066b71d2eb4594742499643ec688532dd430de1aad1a1a SHA512 0c6090f757b074cb19abfac108eb515ff8e2d6a1fc83472ed3679a614cf2d19c77ee41335bc5d0e78874bb582649cf6fe1161e8fe5fcd147533a57ecf183c667
|
||||
|
|
|
|||
44
net-wireless/rtl8822bu/rtl8822bu-5.3.1_p20190920.ebuild
Normal file
44
net-wireless/rtl8822bu/rtl8822bu-5.3.1_p20190920.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit linux-mod
|
||||
|
||||
DESCRIPTION="RTL88x2BU driver with monitor mode and frame injection"
|
||||
HOMEPAGE="https://github.com/EntropicEffect/rtl8822bu.git"
|
||||
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/EntropicEffect/rtl8822bu.git"
|
||||
else
|
||||
HASH_COMMIT="683af4d8d36950a45e563cad255780cb994c5e4b"
|
||||
SRC_URI="https://github.com/EntropicEffect/rtl8822bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
S="${WORKDIR}/rtl8822bu-${HASH_COMMIT}"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kernel_linux"
|
||||
|
||||
# compile against selected (not running) target
|
||||
pkg_setup() {
|
||||
if use kernel_linux; then
|
||||
BUILD_TARGETS="clean modules"
|
||||
MODULE_NAMES="88x2bu(misc:)"
|
||||
BUILD_PARAMS="KVER=${KV_FULL} KSRC=${KERNEL_DIR}"
|
||||
|
||||
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
|
||||
}
|
||||
|
|
@ -12,7 +12,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/EntropicEffect/rtl8822bu.git"
|
||||
else
|
||||
HASH_COMMIT="c2fd51ad82af369529c9c3960f7d56c6f949793a"
|
||||
HASH_COMMIT="683af4d8d36950a45e563cad255780cb994c5e4b"
|
||||
SRC_URI="https://github.com/EntropicEffect/rtl8822bu/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ net-wireless/uhd
|
|||
=net-wireless/orinoco-usb-9999 **
|
||||
|
||||
net-wireless/rtl8812au_aircrack-ng
|
||||
=net-wireless/rtl8812au-5.2.20.2*
|
||||
net-wireless/rtl8822bu
|
||||
|
||||
|
||||
#### Gentoo (to be cleaned)
|
||||
|
|
|
|||
|
|
@ -53,3 +53,4 @@ dev-python/s3transfer
|
|||
~dev-python/pysmi-0.3.4
|
||||
~dev-python/pytest-cov-2.6.1
|
||||
~dev-python/cov-core-1.15.0
|
||||
~dev-python/pyxdg-0.26
|
||||
|
|
|
|||
Loading…
Reference in a new issue