Compare commits

..

8 Commits

Author SHA1 Message Date
Sophie Brun
5e25e5ab54 Prepare for Release 2021-07-13 10:50:58 +02:00
Sophie Brun
5bb00118be Blacklist r8188eu 2021-07-13 10:50:03 +02:00
Sophie Brun
aa31120624 Bump Standards-Version to 4.5.1 2021-07-13 09:57:03 +02:00
Sophie Brun
9aa2cd13ac Prepare for Release 2021-04-14 17:25:54 +02:00
Sophie Brun
ca373d4356 Refresh patches 2021-04-14 17:24:58 +02:00
Sophie Brun
aae9cdee3b Update upstream source from tag 'upstream/5.3.9_git20210206.1e7145f'
Update to upstream version '5.3.9~git20210206.1e7145f'
with Debian dir 80bf993a47
2021-04-14 16:49:07 +02:00
Sophie Brun
322a5f0ea6 New upstream version 5.3.9~git20210206.1e7145f 2021-04-14 16:49:02 +02:00
Sophie Brun
e2969545f3 Update debian/watch 2021-04-14 16:45:01 +02:00
9 changed files with 54 additions and 8 deletions

View File

@@ -23,8 +23,8 @@
# Howto build/install # Howto build/install
1. You will need to blacklist another driver in order to use this one. 1. You will need to blacklist another driver in order to use this one.
2. `echo "blacklist r8188eu" >> "/etc/modprobe.d/realtek.conf"` 2. `echo 'blacklist r8188eu'|sudo tee -a '/etc/modprobe.d/realtek.conf'`
3. `make && make install` 3. `make && sudo make install`
4. Reboot in order to blacklist and load the new driver/module. 4. Reboot in order to blacklist and load the new driver/module.
# MONITOR MODE howto # MONITOR MODE howto

15
debian/changelog vendored
View File

@@ -1,3 +1,18 @@
realtek-rtl8188eus-dkms (5.3.9~git20210206.1e7145f-0kali2) kali-dev; urgency=medium
* Bump Standards-Version to 4.5.1
* Blacklist r8188eu
-- Sophie Brun <sophie@offensive-security.com> Tue, 13 Jul 2021 10:50:42 +0200
realtek-rtl8188eus-dkms (5.3.9~git20210206.1e7145f-0kali1) kali-dev; urgency=medium
* Update debian/watch
* New upstream version 5.3.9~git20210206.1e7145f
* Refresh patches
-- Sophie Brun <sophie@offensive-security.com> Wed, 14 Apr 2021 17:25:11 +0200
realtek-rtl8188eus-dkms (5.3.9~git20201227-0kali1) kali-dev; urgency=medium realtek-rtl8188eus-dkms (5.3.9~git20201227-0kali1) kali-dev; urgency=medium
* New upstream version 5.3.9~git20201227 * New upstream version 5.3.9~git20201227

2
debian/control vendored
View File

@@ -4,7 +4,7 @@ Priority: optional
Maintainer: Kali Developers <devel@kali.org> Maintainer: Kali Developers <devel@kali.org>
Uploaders: Sophie Brun <sophie@offensive-security.com> Uploaders: Sophie Brun <sophie@offensive-security.com>
Build-Depends: debhelper-compat (= 12), dkms, dh-exec Build-Depends: debhelper-compat (= 12), dkms, dh-exec
Standards-Version: 4.5.0 Standards-Version: 4.5.1
Homepage: https://github.com/aircrack-ng/rtl8188eus Homepage: https://github.com/aircrack-ng/rtl8188eus
Vcs-Browser: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms Vcs-Browser: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms
Vcs-Git: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms.git Vcs-Git: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms.git

View File

@@ -8,13 +8,13 @@ Forwarded: not-needed
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dkms.conf b/dkms.conf diff --git a/dkms.conf b/dkms.conf
index 1c14127..1970e85 100644 index 1c14127..0ec5a51 100644
--- a/dkms.conf --- a/dkms.conf
+++ b/dkms.conf +++ b/dkms.conf
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl8188eus" PACKAGE_NAME="realtek-rtl8188eus"
-PACKAGE_VERSION="5.3.9~20200316" -PACKAGE_VERSION="5.3.9~20200316"
+PACKAGE_VERSION="5.3.9~git20201227" +PACKAGE_VERSION="5.3.9_git20210206.1e7145f"
CLEAN="'make' clean" CLEAN="'make' clean"
BUILT_MODULE_NAME[0]=8188eu BUILT_MODULE_NAME[0]=8188eu
PROCS_NUM=`nproc` PROCS_NUM=`nproc`

2
debian/r8188eus-dkms.conf vendored Normal file
View File

@@ -0,0 +1,2 @@
# blacklist the driver
blacklist r8188eu

View File

@@ -1,2 +1,3 @@
#!/usr/bin/dh-exec #!/usr/bin/dh-exec
core hal include Kconfig Makefile os_dep platform usr/src/realtek-rtl8188eus-${DEB_VERSION_UPSTREAM} core hal include Kconfig Makefile os_dep platform usr/src/realtek-rtl8188eus-${DEB_VERSION_UPSTREAM}
debian/r8188eus-dkms.conf etc/modprobe.d

22
debian/script-targz vendored Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
set -e
if [ "$1" = '--upstream-version' ]; then
new_version="$2"
else
printf "Missing --upstream-version argument" 1>&2
exit 1
fi
DEB_SOURCE="$(dpkg-parsechangelog -SSource)"
default_branch="$(git remote show https://github.com/aircrack-ng/rtl8188eus.git | grep 'HEAD' | sed 's/.*: v//')"
version="$(echo ${new_version} | sed 's/~git.*//')"
# fails if the upstream default branch has changed and is no longer the
# version mentioned in debian/watch
if [ "${default_branch}" != "${version}" ]; then
exit 1
fi

11
debian/watch vendored
View File

@@ -1,4 +1,9 @@
version=4 version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%realtek-rtl8188eus-dkms-$1.tar.gz%" \ opts="mode=git, pretty=5.3.9~git%cd.%h, pgpmode=none" \
https://github.com/aircrack-ng/rtl8188eus/tags \ https://github.com/aircrack-ng/rtl8188eus.git \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate HEAD debian debian/script-targz
# Use the following when upstream starts to tag releases:
#opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%realtek-rtl8188eus-dkms-$1.tar.gz%" \
# https://github.com/aircrack-ng/rtl8188eus/tags \
# (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate

View File

@@ -158,6 +158,7 @@ static struct usb_device_id rtw_usb_id_tbl[] = {
{USB_DEVICE(0x2001, 0x330F), .driver_info = RTL8188E}, /* DLink DWA-125 REV D1 */ {USB_DEVICE(0x2001, 0x330F), .driver_info = RTL8188E}, /* DLink DWA-125 REV D1 */
{USB_DEVICE(0x2001, 0x3310), .driver_info = RTL8188E}, /* Dlink DWA-123 REV D1 */ {USB_DEVICE(0x2001, 0x3310), .driver_info = RTL8188E}, /* Dlink DWA-123 REV D1 */
{USB_DEVICE(0x2001, 0x3311), .driver_info = RTL8188E}, /* DLink GO-USB-N150 REV B1 */ {USB_DEVICE(0x2001, 0x3311), .driver_info = RTL8188E}, /* DLink GO-USB-N150 REV B1 */
{USB_DEVICE(0x2001, 0x331B), .driver_info = RTL8188E}, /* DLink DWA-121 REV B1 */
{USB_DEVICE(0x056E, 0x4008), .driver_info = RTL8188E}, /* Elecom WDC-150SU2M */ {USB_DEVICE(0x056E, 0x4008), .driver_info = RTL8188E}, /* Elecom WDC-150SU2M */
#endif #endif