Commit Graph

33 Commits

Author SHA1 Message Date
Khem Raj 7d8a0e840d recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
wangmy 393332d02e wireguard-tools: upgrade 1.0.20210315 -> 1.0.20210914
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-22 10:15:00 -08:00
Richard Purdie b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Daiane Angolini 500ce4d46d wireguard-module: Stop overriding modules_install in the recipe
Configure the recipe to use the module_install function from the module
source code and remove the overriden modules_install function from the
recipe.

Using the default modules_install (instead of the function defined in
the recipe file) the module is signed when DISTRO_FEATURE contains modsign.

Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-23 10:46:24 -07:00
Armin Kuster 4784c7c62f wireguard: update to v1.0.20210219 +1
The +1 fixes build issues for the 5.4 kernel.

This update looks like bugfixes

Signed-off-by: Armin Kuster <akuster808@gmail.com>

v2]
Wrong version listed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-04-17 07:45:34 -07:00
zangrc 6d8a2dc0e2 wireguard-tools: upgrade 1.0.20210223 -> 1.0.20210315
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-18 12:40:20 -07:00
zangrc 80b8afb231 wireguard-tools: upgrade 1.0.20200827 -> 1.0.20210223
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-03-04 09:04:24 -08:00
Martin Jansa 304f660f88 wireguard-module: remove PKG assignment
* it's not clear why it was added in first place and it's causing issues since:
  "package: get_package_mapping: avoid dependency mapping if renamed package provides original name"
  commit in oe-core as discussed in:
  https://lists.openembedded.org/g/openembedded-core/message/143672
  https://github.com/openembedded/meta-openembedded/issues/285

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-05 12:38:59 -08:00
Ricardo Salveti 666a8b94a3 wireguard-module: upgrade 1.0.20200908 -> 1.0.20201112
Relevant changes:
- fe40226 version: bump
- d0bf51b qemu: bump default testing version
- ce8faa3 compat: SYM_FUNC_{START,END} were backported to 5.4
- da5646f qemu: drop build support for rhel 8.2
- 99e954f netns: check that route_me_harder packets use the right sk
- 25320ac noise: take lock when removing handshake entry from table

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-27 22:28:31 -08:00
Ricardo Salveti 0500b364b2 wireguard-tools: upgrade 1.0.20200513 -> 1.0.20200827
Changelog:
- 7a321ce version: bump
- 91fbeb4 Revert "wg-quick: wait on process substitutions"
- 9a0d65e wg-quick: android: use iproute2 to bring up interface instead of ndc
- fbca033 version: bump
- 26683f6 wg-quick: wait on process substitutions
- 13fac76 ctype: use non-locale-specific ctype.h
- cf2bf09 pubkey: isblank is a subset of isspace
- b4a8a18 man: wg-quick: use syncconf instead of addconf for strip example
- a66219f systemd: add reload target to systemd unit
- eb4665e wincompat: fold random into genkey
- 197995d ipc: split into separate files per-platform

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
Ricardo Salveti 446857e016 wireguard-module: upgrade 1.0.20200712 -> 1.0.20200908
Changelog:
- d97b575 version: bump
- 482d020 peerlookup: take lock before checking hash in replace operation
- dace9d0 compat: backport NLA policy macros
- a28032f netlink: consistently use NLA_POLICY_MIN_LEN()
- 515d544 netlink: consistently use NLA_POLICY_EXACT_LEN()
- 1a41e32 compat: backport kfree_sensitive and switch to it
- 90a9e82 compat: drop support for SUSE 15.1
- a567b4c version: bump
- 4213ef0 compat: add missing headers for ip_tunnel_parse_protocol
- 5a45add compat: ipv6_dst_lookup_flow was ported to rhel 7.9 beta
- 372427a compat: allow override of depmod basedir
- f04dae1 compat: rhel 8.3 beta removed nf_nat_core.h

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-02 09:00:52 -08:00
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