diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..f3f2ca8 --- /dev/null +++ b/debian/README.Debian @@ -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. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..392a1bf --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +realtek-rtl8188eus-dkms (5.3.9~20191129-0kali1) kali-dev; urgency=medium + + * Initial release (see 5842) + + -- Sophie Brun Tue, 17 Dec 2019 17:14:38 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5ac4389 --- /dev/null +++ b/debian/control @@ -0,0 +1,19 @@ +Source: realtek-rtl8188eus-dkms +Section: contrib/kernel +Priority: optional +Maintainer: Kali Developers +Uploaders: Sophie Brun +Build-Depends: debhelper-compat (= 12), dkms, dh-exec +Standards-Version: 4.4.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. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f8c6178 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,33 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: realtek-rtl8188eus-dkms +Source: https://github.com/aircrack-ng/rtl8188eus + +Files: * +Copyright: 2007 - 2017 Realtek Corporation. +License: GPL-2 + +Files: os_dep/linux/rhashtable.* +Copyright: 2015 Herbert Xu + 2014-2015 Thomas Graf + 2008-2014 Patrick McHardy +License: GPL-2 + +Files: debian/* +Copyright: 2019 Sophie Brun +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 + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". diff --git a/debian/realtek-rtl8188eus-dkms.docs b/debian/realtek-rtl8188eus-dkms.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/realtek-rtl8188eus-dkms.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/realtek-rtl8188eus-dkms.install b/debian/realtek-rtl8188eus-dkms.install new file mode 100755 index 0000000..c618b64 --- /dev/null +++ b/debian/realtek-rtl8188eus-dkms.install @@ -0,0 +1,2 @@ +#!/usr/bin/dh-exec +core hal include Kconfig Makefile os_dep platform usr/src/realtek-rtl8188eus-${DEB_VERSION_UPSTREAM} diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..c7a7668 --- /dev/null +++ b/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f +#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: diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..7b5b555 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +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