Commit Graph

21 Commits

Author SHA1 Message Date
Mario Schuknecht 84681a31cf wireguard-tools: Fix systemd service installation
Install systemd configuration file wg-quick@.service into the proper folder.
Use 'systemd_system_unitdir' instead of 'systemd_unitdir' as the installation
path.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-10-15 11:42:15 -07:00
Khem Raj 63ebd02d22 wireguard-module: Exlude from world builds
Moving beyond kernel 5.6, this kmod is not needed and core has moved the
reference kernel to 5.8 for reference machines

wireguard-tools should RDEPEND but not DEPEND

Remove it from meta-networking packagegroup as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-21 16:35:25 -07:00
Zheng Ruoqin 1b803eb316 wireguard-tools: upgrade 1.0.20200319 -> 1.0.20200513
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-20 10:06:09 -07:00
Zheng Ruoqin 826adebf15 wireguard-module: upgrade 1.0.20200401 -> 1.0.20200712
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-07-20 10:06:09 -07:00
Khem Raj ce2c3a2f51 wireguard: Upgrade to latest compat external module and tools
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-07 18:50:59 -07:00
Khem Raj 75bf0b0e04 wireguard-tools: Ensure make clean target is run properly
When S is pointing to a level up, it calls clean target which also tries
to clean the module build objects, which causes make clean to misnehave
since the env is not set to build module and it tries to reach out to
/lib/modules dir on host

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-03-29 20:15:18 -07:00
Khem Raj f000730747 wireguard: Upgrade to 20191219 snapshot
Fixes build with kernel >= 5.4

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-01-29 16:33:42 -08:00
Scott Ellis 9a478c537b wireguard: Upgrade 20190905 to 20190913
Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-15 12:12:33 -07:00
Scott Ellis dce0799b13 wireguard: Upgrade 20190702 to 20190905
Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-09-07 10:08:45 -07:00
Scott Ellis d09e9530f2 wireguard: Upgrade 20190406 to 20190702
Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-08-04 08:07:42 -07:00
Scott Ellis fc1b5310b2 wireguard: Upgrade 20190123 -> 20190406
Fixes issues with kernels 5.1 and greater.

Signed-off-by: Scott Ellis <scott@jumpnowtek.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-05-20 09:49:00 -07:00
Stefan Agner 44fee75871 wireguard: udpate to 20190123 version
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 17:17:54 -08:00
Stefan Agner ddb7d61eec wireguard: use ${nonarch_base_libdir} for modules
Use ${nonarch_base_libdir} for modules. This makes this recipe working
also when using usrmerge.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-30 17:17:54 -08:00
Armin Kuster 271ce3576b wireguard: udpate to 20171221 version
this fixes build issue on a 4.14 kernel:

/src/compat/padata/padata.c:831:9: error: implicit declaration of function 'padata_alloc'; did you mean 'padata_alloc_pd'? [-Werror=implicit-function-declaration]
|   return padata_alloc(wq, cpu_possible_mask, cpu_possible_mask);
|          ^~~~~~~~~~~~
|          padata_alloc_pd

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2018-03-05 11:45:40 -05:00
Khem Raj 54684b2b17 wireguard: Upgrade to 20170810 snapshot
Fixes build with linux kernel 4.12+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12 10:55:06 -04:00
Khem Raj 400dd79858 wireguard-tools: Add bash to rdeps
Fixes QA error
/usr/bin/wg-quick contained in package wireguard-tools
 requires /bin/bash

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-09-12 10:55:05 -04:00
Stefan Agner 200f0ee67a wireguard: bump version to latest snapshot 0.0.20170517
Use the latest available snapshot 0.0.20170517 of WireGuard.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-06-28 08:17:08 -04:00
Joe MacDonald ad0db129c7 wireguard: module install cleanup
The module_install target shouldn't be used, just installing the module to
the sysroot directly seems more appropriate.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-09 09:44:54 -04:00
Joe MacDonald 3927abca04 wireguard: blacklist
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-05-01 11:11:21 -04:00
Joe MacDonald bf357b2e48 wireguard: add dependencies and kernel build options
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:04:37 -04:00
Stefan Agner 9867ffa48e wireguard: add WireGuard kernel module and tools
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.

The recipes add the current experimental snapshot v0.0.20170421
out-of-tree kernel module and tools. The kernel module has some kernel
configuration dependencies such as some configuration part of
features/netfilter/netfilter.scc, hence netfilter.scc should be part
of KERNEL_EXTRA_FEATURES (which is the case by default).

Since wireguard-tools is TUNE_PKGARCH and depends on wireguard-module
which is MACHINE_ARCH (like all kernel modules) we need to add this
dependency to SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2017-04-27 12:02:13 -04:00