Compare commits
30 Commits
upstream/5
...
kali/5.3.9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4486ebf4dc | ||
|
|
b374d14770 | ||
|
|
69059a85ae | ||
|
|
08116e23bd | ||
|
|
ab187afc15 | ||
|
|
167db73ddf | ||
|
|
5e25e5ab54 | ||
|
|
5bb00118be | ||
|
|
aa31120624 | ||
|
|
9aa2cd13ac | ||
|
|
ca373d4356 | ||
|
|
aae9cdee3b | ||
|
|
e2969545f3 | ||
|
|
da9706496e | ||
|
|
e105322274 | ||
|
|
f074eb5844 | ||
|
|
ec3c163afd | ||
|
|
fb75a987dd | ||
|
|
5a7f22dc1f | ||
|
|
6cdb6d8145 | ||
|
|
3ed934f66a | ||
|
|
2e8ec02f30 | ||
|
|
bb80d9b37d | ||
|
|
627a0f8e2c | ||
|
|
4bd5e85b7b | ||
|
|
ce21fa5d6b | ||
|
|
a313c3997a | ||
|
|
3b2b01c647 | ||
|
|
9c36ca92c2 | ||
|
|
ea83a483fa |
5
debian/README.Debian
vendored
Normal file
5
debian/README.Debian
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
realtek-rtl8188eus-dkms for Debian
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
|
This package was automatically generated by the DKMS system,
|
||||||
|
for distribution on Debian based operating systems.
|
||||||
74
debian/changelog
vendored
Normal file
74
debian/changelog
vendored
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20210504.6146193-0kali2) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
[ Ben Wilson ]
|
||||||
|
* Remove template comment and switch spaces to tabs
|
||||||
|
|
||||||
|
[ Sophie Brun ]
|
||||||
|
* Add a patch to fix the compilation with kernel 5.15
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Tue, 14 Dec 2021 17:56:08 +0100
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20210504.6146193-0kali1) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version 5.3.9~git20210504.6146193
|
||||||
|
* Refresh patches
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Tue, 28 Sep 2021 11:00:05 +0200
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
* New upstream version 5.3.9~git20201227
|
||||||
|
* Refresh patches
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Tue, 26 Jan 2021 17:04:18 +0100
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20200829-0kali2) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* Fix errors introduced in 5a7f22 (lintian-overrides)
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Wed, 16 Sep 2020 15:54:13 +0200
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20200829-0kali1) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version 5.3.9~git20200829
|
||||||
|
* Refresh patches
|
||||||
|
* Add comment in debian/copyright
|
||||||
|
* Bump Standards-Version to 4.5.0
|
||||||
|
* Add lintian-overrides for dh-exec-subst-unknown-variable
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Wed, 16 Sep 2020 15:07:29 +0200
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20200710-0kali1) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* New upstream version 5.3.9~20200710
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Fri, 10 Jul 2020 08:49:51 +0200
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~git20200316-0kali1) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* Configure git-buildpackage for Kali
|
||||||
|
* Add GitLab's CI configuration file
|
||||||
|
* New upstream version 5.3.9~git20200316
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Thu, 14 May 2020 11:45:14 +0200
|
||||||
|
|
||||||
|
realtek-rtl8188eus-dkms (5.3.9~20191129-0kali1) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
* Initial release (see 5842)
|
||||||
|
|
||||||
|
-- Sophie Brun <sophie@offensive-security.com> Tue, 17 Dec 2019 17:14:38 +0100
|
||||||
19
debian/control
vendored
Normal file
19
debian/control
vendored
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
Source: realtek-rtl8188eus-dkms
|
||||||
|
Section: contrib/kernel
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Kali Developers <devel@kali.org>
|
||||||
|
Uploaders: Sophie Brun <sophie@offensive-security.com>
|
||||||
|
Build-Depends: debhelper-compat (= 12), dkms, dh-exec
|
||||||
|
Standards-Version: 4.5.1
|
||||||
|
Homepage: https://github.com/aircrack-ng/rtl8188eus
|
||||||
|
Vcs-Browser: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms
|
||||||
|
Vcs-Git: https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms.git
|
||||||
|
|
||||||
|
Package: realtek-rtl8188eus-dkms
|
||||||
|
Architecture: all
|
||||||
|
Depends: dkms (>= 1.95), ${misc:Depends}
|
||||||
|
Description: Realtek RTL8188EUS driver in DKMS format
|
||||||
|
This package provides the source code for RTL8188EUS Linux driver (with
|
||||||
|
monitor mode and frame injection) to be build with dkms. Kernel sources or
|
||||||
|
headers are required to compile this module.
|
||||||
|
|
||||||
34
debian/copyright
vendored
Normal file
34
debian/copyright
vendored
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: realtek-rtl8188eus-dkms
|
||||||
|
Source: https://github.com/aircrack-ng/rtl8188eus
|
||||||
|
Comment: dkms package built during installation
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2007 - 2017 Realtek Corporation.
|
||||||
|
License: GPL-2
|
||||||
|
|
||||||
|
Files: os_dep/linux/rhashtable.*
|
||||||
|
Copyright: 2015 Herbert Xu <herbert@gondor.apana.org.au>
|
||||||
|
2014-2015 Thomas Graf <tgraf@suug.ch>
|
||||||
|
2008-2014 Patrick McHardy <kaber@trash.net>
|
||||||
|
License: GPL-2
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2019 Sophie Brun <sophie@offensive-security.com>
|
||||||
|
License: GPL-2
|
||||||
|
|
||||||
|
License: GPL-2
|
||||||
|
This package is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of the GNU General Public License version 2 as published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
.
|
||||||
|
This package is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||||
10
debian/gbp.conf
vendored
Normal file
10
debian/gbp.conf
vendored
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
debian-branch = kali/master
|
||||||
|
debian-tag = kali/%(version)s
|
||||||
|
pristine-tar = True
|
||||||
|
|
||||||
|
[pq]
|
||||||
|
patch-numbers = False
|
||||||
|
|
||||||
|
[dch]
|
||||||
|
multimaint-merge = True
|
||||||
2
debian/kali-ci.yml
vendored
Normal file
2
debian/kali-ci.yml
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
include:
|
||||||
|
- https://gitlab.com/kalilinux/tools/kali-ci-pipeline/raw/master/recipes/kali.yml
|
||||||
20
debian/patches/Change-dkms-version.patch
vendored
Normal file
20
debian/patches/Change-dkms-version.patch
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
From: Sophie Brun <sophie@offensive-security.com>
|
||||||
|
Date: Fri, 10 Jul 2020 08:49:31 +0200
|
||||||
|
Subject: Change dkms version
|
||||||
|
|
||||||
|
Forwarded: not-needed
|
||||||
|
---
|
||||||
|
dkms.conf | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/dkms.conf b/dkms.conf
|
||||||
|
index 1c14127..bc56f1e 100644
|
||||||
|
--- a/dkms.conf
|
||||||
|
+++ b/dkms.conf
|
||||||
|
@@ -1,5 +1,5 @@
|
||||||
|
PACKAGE_NAME="realtek-rtl8188eus"
|
||||||
|
-PACKAGE_VERSION="5.3.9~20200316"
|
||||||
|
+PACKAGE_VERSION="5.3.9~git20210504.6146193"
|
||||||
|
CLEAN="'make' clean"
|
||||||
|
BUILT_MODULE_NAME[0]=8188eu
|
||||||
|
PROCS_NUM=`nproc`
|
||||||
77
debian/patches/fix-compilation-kernel-5.15.patch
vendored
Normal file
77
debian/patches/fix-compilation-kernel-5.15.patch
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
From: Sophie Brun <sophie@offensive-security.com>
|
||||||
|
Date: Tue, 14 Dec 2021 17:54:33 +0100
|
||||||
|
Subject: Fix compilation for kernel 5.15
|
||||||
|
|
||||||
|
|
||||||
|
Drop IPX and Apple Talk support for Linux 5.15 Remove IPX support from
|
||||||
|
driver, set as obsolete in Jan 2018. IPX is not supported by the Linux
|
||||||
|
kernel since v5.15-rc1, see commit
|
||||||
|
6c9b40844751ea30c72f7a2f92f4d704bc6b2927
|
||||||
|
Origin: https://github.com/aircrack-ng/rtl8188eus/commit/4830d3906230a4d80ba67709a06c9d5b99764839
|
||||||
|
---
|
||||||
|
core/rtw_br_ext.c | 9 +++++++++
|
||||||
|
1 file changed, 9 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/core/rtw_br_ext.c b/core/rtw_br_ext.c
|
||||||
|
index 6509df3..4507dce 100644
|
||||||
|
--- a/core/rtw_br_ext.c
|
||||||
|
+++ b/core/rtw_br_ext.c
|
||||||
|
@@ -17,7 +17,10 @@
|
||||||
|
#ifdef __KERNEL__
|
||||||
|
#include <linux/if_arp.h>
|
||||||
|
#include <net/ip.h>
|
||||||
|
+ #include <linux/version.h>
|
||||||
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0)
|
||||||
|
#include <net/ipx.h>
|
||||||
|
+#endif
|
||||||
|
#include <linux/atalk.h>
|
||||||
|
#include <linux/udp.h>
|
||||||
|
#include <linux/if_pppox.h>
|
||||||
|
@@ -169,6 +172,7 @@ static __inline__ void __nat25_generate_ipv4_network_addr(unsigned char *network
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
+#ifdef _NET_INET_IPX_H_
|
||||||
|
static __inline__ void __nat25_generate_ipx_network_addr_with_node(unsigned char *networkAddr,
|
||||||
|
unsigned int *ipxNetAddr, unsigned char *ipxNodeAddr)
|
||||||
|
{
|
||||||
|
@@ -200,6 +204,7 @@ static __inline__ void __nat25_generate_apple_network_addr(unsigned char *networ
|
||||||
|
memcpy(networkAddr + 1, (unsigned char *)network, 2);
|
||||||
|
networkAddr[3] = *node;
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
|
||||||
|
static __inline__ void __nat25_generate_pppoe_network_addr(unsigned char *networkAddr,
|
||||||
|
@@ -329,6 +334,7 @@ static __inline__ int __nat25_network_hash(unsigned char *networkAddr)
|
||||||
|
x = networkAddr[7] ^ networkAddr[8] ^ networkAddr[9] ^ networkAddr[10];
|
||||||
|
|
||||||
|
return x & (NAT25_HASH_SIZE - 1);
|
||||||
|
+#ifdef _NET_INET_IPX_H_
|
||||||
|
} else if (networkAddr[0] == NAT25_IPX) {
|
||||||
|
unsigned long x;
|
||||||
|
|
||||||
|
@@ -342,6 +348,7 @@ static __inline__ int __nat25_network_hash(unsigned char *networkAddr)
|
||||||
|
x = networkAddr[1] ^ networkAddr[2] ^ networkAddr[3];
|
||||||
|
|
||||||
|
return x & (NAT25_HASH_SIZE - 1);
|
||||||
|
+#endif
|
||||||
|
} else if (networkAddr[0] == NAT25_PPPOE) {
|
||||||
|
unsigned long x;
|
||||||
|
|
||||||
|
@@ -888,6 +895,7 @@ int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+#ifdef _NET_INET_IPX_H_
|
||||||
|
/*---------------------------------------------------*/
|
||||||
|
/* Handle IPX and Apple Talk frame */
|
||||||
|
/*---------------------------------------------------*/
|
||||||
|
@@ -1108,6 +1116,7 @@ int nat25_db_handle(_adapter *priv, struct sk_buff *skb, int method)
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
/*---------------------------------------------------*/
|
||||||
|
/* Handle PPPoE frame */
|
||||||
2
debian/patches/series
vendored
Normal file
2
debian/patches/series
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
Change-dkms-version.patch
|
||||||
|
fix-compilation-kernel-5.15.patch
|
||||||
2
debian/r8188eus-dkms.conf
vendored
Normal file
2
debian/r8188eus-dkms.conf
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# blacklist the driver
|
||||||
|
blacklist r8188eu
|
||||||
1
debian/realtek-rtl8188eus-dkms.docs
vendored
Normal file
1
debian/realtek-rtl8188eus-dkms.docs
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
README.md
|
||||||
3
debian/realtek-rtl8188eus-dkms.install
vendored
Executable file
3
debian/realtek-rtl8188eus-dkms.install
vendored
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/dh-exec
|
||||||
|
core hal include Kconfig Makefile os_dep platform usr/src/realtek-rtl8188eus-${DEB_VERSION_UPSTREAM}
|
||||||
|
debian/r8188eus-dkms.conf etc/modprobe.d
|
||||||
22
debian/rules
vendored
Executable file
22
debian/rules
vendored
Executable file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
|
||||||
|
# output every command that modifies files on the build system.
|
||||||
|
#export DH_VERBOSE = 1
|
||||||
|
include /usr/share/dpkg/pkg-info.mk
|
||||||
|
export DEB_VERSION_UPSTREAM
|
||||||
|
|
||||||
|
%:
|
||||||
|
dh $@ --with dkms
|
||||||
|
|
||||||
|
override_dh_dkms:
|
||||||
|
dh_dkms -V $(DEB_VERSION_UPSTREAM) -- dkms.conf
|
||||||
|
|
||||||
|
override_dh_fixperms:
|
||||||
|
dh_fixperms
|
||||||
|
find debian/realtek-rtl8188eus-dkms/usr/src -type f -exec chmod -x {} \;
|
||||||
|
|
||||||
|
# Nothing to configure, build or auto-install (all is done after
|
||||||
|
# installation using dkms)
|
||||||
|
override_dh_auto_configure:
|
||||||
|
override_dh_auto_build:
|
||||||
|
override_dh_auto_install:
|
||||||
22
debian/script-targz
vendored
Executable file
22
debian/script-targz
vendored
Executable 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
|
||||||
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
||||||
2
debian/source/lintian-overrides
vendored
Normal file
2
debian/source/lintian-overrides
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#we export the variable provided by /usr/share/dpkg/pkg-info.mk
|
||||||
|
realtek-rtl8188eus-dkms source: dh-exec-subst-unknown-variable debian/realtek-rtl8188eus-dkms.install DEB_VERSION_UPSTREAM
|
||||||
9
debian/watch
vendored
Normal file
9
debian/watch
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
version=4
|
||||||
|
opts="mode=git, pretty=5.3.9~git%cd.%h, pgpmode=none" \
|
||||||
|
https://github.com/aircrack-ng/rtl8188eus.git \
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user