[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#40683] [PATCH] gnu: Add wireguard-module.

From: Tobias Geerinckx-Rice
Subject: [bug#40683] [PATCH] gnu: Add wireguard-module.
Date: Fri, 17 Apr 2020 18:47:49 +0200


Brice Waegeneire 写道:
This patch add wireguard as a loadable Linux kernel module which allow using it Linux version < 5.6 without having to rebuild the entire kernel.


+(define-public wireguard-module
+  (package
+    (inherit wireguard-linux-compat)
+    (name "wireguard-module")

2x s/module/linux-module/

+    (build-system linux-module-build-system)
+    (arguments
+     `(#:tests? #f                      ; No test suite
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'change-directory
+           (lambda _
+             (chdir "./src")
+             #t)))))
+ (synopsis "WireGuard loadable kernel module for Linux 3.10 through 5.5") + (description "This is a loadable Linux kernel module for WireGuard +supporting kernel versions 3.10 through 5.5. WireGuard was added to Linux

I think we should say ‘Linux-Libre’ here (yes, even though it loads on any *Linux) but I'm never entirely sure.

It ought to be used by adding it to the @code{kernel-loadable-modules}
+field and loaded in memeory by @command{modprobe} or

This can go; it belongs in the manual and is already explained there.

LGTM with these changes, but curious what others think about ‘Linux’,


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]