Commit Graph

16 Commits

Author SHA1 Message Date
ricksuzade-maker
3afb47ed42
wireguard-tool: Update to 1.0.20210315
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-20 18:07:11 +08:00
Ilya Lipnitskiy
65ec34d7d5 wireguard-tools: depend on kmod-wireguard
To the vast majority of the users, wireguard-tools are not useful
without the underlying kernel module. The cornercase of only generating
keys and not using the secure tunnel is something that won't be done on
an embedded OpenWrt system often. On the other hand, maintaining a
separate meta-package only for this use case introduces extra
complexity. WireGuard changes for Linux 5.10 remove the meta-package.
So let's make wireguard-tools depend on kmod-wireguard
to make WireGuard easier to use without having to install multiple
packages.

Fixes: ea980fb9 ("wireguard: bump to 20191226")
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-27 12:35:45 +08:00
Alberto Bursi
e483a7a348
wireguard-tools: fix category/description in menuconfig
wireguard-tools is trying to import the menuconfig section
from the wireguard package, but since it's not anymore in
the same makefile this seems to fail and wireguard-tools
ends up in "extra packages" category instead with other
odds and ends.

Same for the description, it's trying to import it from the
wireguard package but it fails so it only shows the line
written in this makefile.

remove the broken imports and add manually the entries
and description they were supposed to load

Fixes: ea980fb9c6 ("wireguard: bump to 20191226")

Signed-off-by: Alberto Bursi <bobafetthotmail@gmail.com>
[fix trailing whitespaces, add Fixes]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-11-21 17:52:53 +08:00
Rui Salvaterra
2ba658832f
wireguard-tools: drop the dependency on ip-{tiny,full}
BusyBox ip already provides the required functionality and is enabled by default
in OpenWrt. This patch drops the ip dependency and makes the BusyBox ip required
dependencies explicit, allowing for a significant image size reduction.

openwrt-ath79-generic-ubnt_nanostation-loco-m-squashfs-sysupgrade.bin size:
4588354 bytes (with ip-tiny)
4457282 bytes (with BusyBox ip)

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-11-21 17:42:25 +08:00
Jason A. Donenfeld
8b6fe7c88f wireguard-tools: bump to 1.0.20200827 2020-09-10 17:07:54 +08:00
Aaron Goodman
c1b03e64ab wireguard-tools: add tunlink option for hostroute
In a multi-wan setup, netifd may need guidance on which wan device to
use to create the route to the remote peer.

This commit adds a 'tunlink' option similar to other tunneling interfaces
such as 6in4, 6rd, gre, etc.

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-31 11:07:20 +08:00
ricksuzade-maker
83f5bb3c0b
Wireguard-tools: Bump to 1.0.20200820 2020-08-22 01:47:17 +08:00
Rui Salvaterra
9bd4d1b093
wireguard-tools: allow compiling with MIPS16 instructions
The wg utility compiles and runs without issues in MIPS16 mode, despite setting
PKG_USE_MIPS16:=0 in the makefile. Let's remove this, allowing for a substantial
size reduction of the wg executable. Since wg is a just a configuration utility,
it shouldn't be performance-critical, as the crypto heavy-lifting is done on the
kernel side.

wg sizes for both modes:

MIPS32: 64309 bytes
MIPS16: 42501 bytes

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-08-03 00:34:54 +08:00
Adrian Schmutzler
70a82a1f32 wireguard-tools: replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
2020-07-12 11:54:55 +08:00
AmadeusGhost
142f9724da Merge Lean's source 2020-05-21 12:25:08 +08:00
ricksuzade-maker
e48e438b08
Bump wireguard-tool to 1.0.20200513 (#4608) 2020-05-14 15:32:39 +08:00
AmadeusGhost
29a00cd005 Merge Lean's source 2020-05-13 17:50:08 +08:00
ricksuzade-maker
7fe52a9f0b
Bump wireguard-tools to 1.0.20200510 (#4598) 2020-05-13 13:28:58 +08:00
gudumuyu
00f8216c7e
wireguard:bump to v0.0.20200318 (#3920)
* wireguard bump to v0.0.20200318

* wireguard-tools:bump to v1.0.20200319

* wireguard:bump to 0.0.20200318

* wireguard-tools:bump to 1.0.20200319

* Update Makefile

* Update Makefile
2020-03-22 10:09:36 +08:00
CN_SZTL
27540b1c8f
wireguard-tools: bump to 1.0.20200319 2020-03-21 20:24:43 +08:00
coolsnowwolf
41392a7bd2 wireguard: bump to 0.0.20200215 2020-02-16 02:44:31 +08:00