From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44900) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2NeN-0006kY-EL for guix-patches@gnu.org; Thu, 13 Feb 2020 18:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2NeM-0005C0-9K for guix-patches@gnu.org; Thu, 13 Feb 2020 18:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j2NeM-0005Bj-6F for guix-patches@gnu.org; Thu, 13 Feb 2020 18:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j2NeL-0001xn-Vz for guix-patches@gnu.org; Thu, 13 Feb 2020 18:12:02 -0500 Subject: [bug#39593] [PATCH] gnu: Add rtl8812au-aircrack-ng-linux-module. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:44275) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j2Ndl-0006bH-MJ for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j2Ndj-0004IH-73 for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:24 -0500 Received: from tobias.gr ([2001:470:7405::1]:56376) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j2Ndj-0004Ea-0a for guix-patches@gnu.org; Thu, 13 Feb 2020 18:11:23 -0500 Received: by tobias.gr (OpenSMTPD) with ESMTP id 48936332 for ; Thu, 13 Feb 2020 23:11:20 +0000 (UTC) Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id fcbc16f4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 13 Feb 2020 23:11:18 +0000 (UTC) Date: Fri, 14 Feb 2020 00:11:05 +0100 Message-Id: <20200213231105.15032-1-me@tobias.gr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via To: 39593@debbugs.gnu.org * gnu/packages/linux.scm (rtl8812au-aircrack-ng-linux-module): New public variable. --- gnu/packages/linux.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index ce4555e4ef..3072b0f7d9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -932,6 +932,52 @@ It grants direct and undocumented access to your hardware that may cause damage and should be used with caution, especially on untested models.") (license license:gpl3+))) ; see README.md (no licence headers) +(define-public rtl8812au-aircrack-ng-linux-module + (let ((commit "945d6ed6505c32f0993b1dba576388e92e78101b") + (revision "0")) + (package + (name "rtl8812au-aircrack-ng-linux-module") + (version (git-version "5.6.4.2" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aircrack-ng/rtl8812au.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1pjws7qb5l4z9k80vgz4zdxmqhbwxjjrmkpf0hijf821byyddvi7")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Remove bundled tarballs, APKs, word lists, speadsheets, + ;; and other unnecessary unlicenced things. + (map delete-file-recursively (list "android" + "docs" + "tools")) + #t)))) + (build-system linux-module-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'build + (lambda* (#:key inputs make-flags #:allow-other-keys) + (apply invoke "make" + (string-append "KSRC=" + (assoc-ref inputs "linux-module-builder") + "/lib/modules/build") + (or make-flags '()))))) + #:tests? #f)) ; no test suite + (supported-systems '("x86_64-linux" "i686-linux")) + (home-page "https://github.com/aircrack-ng/rtl8812au") + (synopsis "Linux driver for Realtek USB wireless network adapters") + (description + "This is Realtek's rtl8812au Linux driver for USB 802.11n wireless +network adapters, modified by the aircrack-ng project to support monitor mode +and frame injection. It provides a @code{88XXau} kernel module that supports +RTL8812AU, RTL8821AU, and RTL8814AU chips.") + (license license:gpl2+)))) + (define-public vhba-module (package (name "vhba-module") -- 2.23.0