wireguard: add wireguard to base packages
authorJason A. Donenfeld <Jason@zx2c4.com>
Fri, 13 Oct 2017 15:05:18 +0000 (17:05 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Wed, 18 Oct 2017 00:26:06 +0000 (20:26 -0400)
commitc682d8d810888a1766889c0ddb3933588f7e7d42
treedbec31b05b6b812f3b8b86a68e6b1c76c266185d
parent637a8496850949d4fedf9095b764bba9aa202745
wireguard: add wireguard to base packages

Move wireguard from openwrt/packages to base a package.

This follows the pattern of kmod-cake and openvpn. Cake is a fast-moving
experimental kernel module that many find essential and useful. The
other is a VPN client. Both are inside of core. When you combine the two
characteristics, you get WireGuard. Generally speaking, because of the
extremely lightweight nature and "stateless" configuration of WireGuard,
many view it as a core and essential utility, initiated at boot time
and immediately configured by netifd, much like the use of things like
GRE tunnels.

WireGuard has a backwards and forwards compatible Netlink API, which
means the userspace tools should work with both newer and older kernels
as things change. There should be no versioning requirements, therefore,
between kernel bumps and userspace package bumps.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
Acked-by: Felix Fietkau <nbd@nbd.name>
(cherry picked from commit 699c6fcc314225f79156a26db418e15bbc6bf10f)
package/network/services/wireguard/Makefile [new file with mode: 0644]
package/network/services/wireguard/files/wireguard.sh [new file with mode: 0644]