mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
26
package/wireguard-linux-compat/Config.in
Normal file
26
package/wireguard-linux-compat/Config.in
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
# kernel module in upstream linux since 5.6
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6
|
||||
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
|
||||
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
|
||||
@@ -0,0 +1,4 @@
|
||||
# https://lists.zx2c4.com/pipermail/wireguard/2020-September/005817.html
|
||||
sha256 ad33b2d2267a37e0f65c97e65e7d4d926d5aef7d530c251b63fbf919048eead9 wireguard-linux-compat-1.0.20200908.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
23
package/wireguard-linux-compat/wireguard-linux-compat.mk
Normal file
23
package/wireguard-linux-compat/wireguard-linux-compat.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# wireguard
|
||||
#
|
||||
################################################################################
|
||||
|
||||
WIREGUARD_LINUX_COMPAT_VERSION = 1.0.20200908
|
||||
WIREGUARD_LINUX_COMPAT_SITE = https://git.zx2c4.com/wireguard-linux-compat/snapshot
|
||||
WIREGUARD_LINUX_COMPAT_SOURCE = wireguard-linux-compat-$(WIREGUARD_LINUX_COMPAT_VERSION).tar.xz
|
||||
WIREGUARD_LINUX_COMPAT_LICENSE = GPL-2.0
|
||||
WIREGUARD_LINUX_COMPAT_LICENSE_FILES = COPYING
|
||||
WIREGUARD_LINUX_COMPAT_MODULE_SUBDIRS = src
|
||||
|
||||
define WIREGUARD_LINUX_COMPAT_LINUX_CONFIG_FIXUPS
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_INET)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_NET_FOU)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO)
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MANAGER)
|
||||
endef
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user