aboutsummaryrefslogtreecommitdiff
path: root/package/wireguard-linux-compat/Config.in
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <peter@korsgaard.com>2020-01-09 10:16:19 +0100
committerGravatar Yann E. MORIN <yann.morin.1998@free.fr>2020-01-09 17:56:39 +0100
commitde591c5c3a93a40d049a32bd79c30cc66daf5fb2 (patch)
treeccff3028db530864881256afa3f6c2fd65200598 /package/wireguard-linux-compat/Config.in
parenta269c49f9ffd59eb9dcb3308ba464150fa3b036f (diff)
downloadbuildroot-de591c5c3a93a40d049a32bd79c30cc66daf5fb2.tar.gz
buildroot-de591c5c3a93a40d049a32bd79c30cc66daf5fb2.tar.bz2
package/wireguard-linux-compat: new package
With the kernel support for WireGuard getting mainlined, the upstream repo has been split in a wireguard-tools repo for the userspace tooling and wireguard-linux-compat for the kernel side (for 3.10+ legacy kernels). Add a wireguard-linux-compat for the compatibility out-of-tree kernel module, and update the Config.in.legacy handling to use it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Diffstat (limited to 'package/wireguard-linux-compat/Config.in')
-rw-r--r--package/wireguard-linux-compat/Config.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/wireguard-linux-compat/Config.in b/package/wireguard-linux-compat/Config.in
new file mode 100644
index 0000000000..4ee214be63
--- /dev/null
+++ b/package/wireguard-linux-compat/Config.in
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_WIREGUARD_LINUX_COMPAT
+ bool "wireguard linux-compat"
+ depends on BR2_LINUX_KERNEL
+ # kernel module requires 3.10+
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
+ help
+ WireGuard is an extremely simple yet fast and modern VPN
+ that utilizes state-of-the-art cryptography. It aims to be
+ faster, simpler, leaner, and more useful than IPSec, while
+ avoiding the massive headache. It intends to be considerably
+ more performant than OpenVPN. WireGuard is designed as a
+ general purpose VPN for running on embedded interfaces and
+ super computers alike, fit for many different
+ circumstances.
+
+ Support for WireGuard is included in Linux 5.6+. This
+ package provides a backport of the kernel support for older
+ kernels.
+
+ https://www.wireguard.com
+
+comment "wireguard-linux-compat needs a toolchain w/ headers >= 3.10"
+ depends on BR2_LINUX_KERNEL && !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10