Commit Graph

38 Commits

Author SHA1 Message Date
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
Martin Jansa ec9e5ed062 recipes: remove blacklisted recipes
* as PNBLACKLIST message says, these recipes are blacklisted for long
  time and nobody showed any interest to fix them
* remove all unused .patch and .inc files as well

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-08-31 10:18:33 +02: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
Martin Jansa cdb428e7c4 recipes: add removal date to PNBLACKLIST messages
* based on discussion in pndeprecated thread:
  https://patchwork.openembedded.org/patch/137573/
  update the messages to warn possible users that the
  recipe will be removed before the end of the next development
  cycle (before Yocto 2.4 is released).

* updated with:
  sed -i 's/^\(PNBLACKLIST.*".*\)"/\1 - the recipe will be removed on 2017-09-01 unless the issue is fixed"/g' `git grep PNBLACKLIST | sed 's/:.*//g' | sort -u | xargs`
* then noticed couple recipes being blacklisted only based on
  DISTRO_FEATURES, so removed those:
  meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.17.bb
  meta-oe/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
  meta-oe/recipes-connectivity/bluez/bluez4_4.101.bb
  meta-oe/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
  meta-oe/recipes-navigation/foxtrotgps/foxtrotgps_1.1.1.bb
  meta-oe/recipes-navigation/gypsy/gypsy.inc
  meta-oe/recipes-navigation/navit/navit.inc
  meta-oe/recipes-support/opensync/libsyncml_0.5.4.bb

* if it isn't fixed by this date, it's fair game to be removed
  whenever someone gets around to i

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-05 19:36:45 +02:00
Joshua Lock efd3696e70 remove True option to getVar calls
getVar() now defaults to expanding by default, thus remove the True
option from getVar() calls with a regex search and replace.

Search made with the following regex: getVar ?\(( ?[^,()]*), True\)

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
2016-12-02 09:16:17 +01:00
Martin Jansa 870df18019 iscsitarget,netmap-moduls,vboxguestdrivers: Blacklist, not compatible with default kernel version 4.8
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-15 10:22:50 +02:00
Martin Jansa 216e95669c netmap: blacklist
* it's broken for very long time

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-07-07 09:51:27 -04:00
Richard Purdie 80cf5e0ee9 netmap-modules: Avoid type warning with python v3
Python 3 is stricter about type comparisions, this avoids warnings.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-06-08 14:55:27 +02:00
Joe MacDonald c62f4c141a Revert "netmap-modules: Modules may not have the same arch as userspace"
This reverts commit b49d08411c.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2016-03-03 11:23:05 -05:00
Martin Jansa 3c7c7e1358 netmap-modules: fix build with kernel < 3.17
* define NETMAP_LINUX_ALLOC_NETDEV_4ARGS only when MACHINE is using kernel
  3.17 or newer

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14 11:24:00 +01:00
Jackie Huang b49d08411c netmap-modules: Modules may not have the same arch as userspace
Kernel modules may not have the same architecture as user space.  So we
tell INSANE_SKIP to skip checking the arch for the modules.  This is
consistent with other kernel modules and the kernel recipe.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-30 13:18:40 -05:00
Jackie Huang 636af36e70 netmap-modules: make deterministic builds for drivers
The driver builds are optional, but for deterministic builds,
we should should be able to explicitly enable/disable the
builds for them in a proper place (maybe in BSP).
But we can't use PACKAGECONFIG since there is no option for
each driver, and the options are:
 --no-drivers    do not compile any driver
 --no-drivers=   do not compile the given drivers (comma sep.)
 --drivers=      only compile the given drivers (comma sep.)

So use NETMAP_DRIVERS to list the needed drivers and add proper
configs to EXTRA_OECONF, the default is no drivers, and all
supported drivers are listed in NETMAP_ALL_DRIVERS.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-11-30 13:11:17 -05:00
Martin Jansa c3d88ca50d netmap-modules: disable building virtio_net drivers
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 21:50:09 +01:00
Martin Jansa f6a3cd4dcd netmap: set MACHINE_ARCH, because it depends on MACHINE_ARCH netmap-modules
* it's also using MACHINE specific variables like:
  STAGING_KERNEL_DIR. STAGING_KERNEL_BUILDDIR
* drop suspicious:
  do_fetch[depends] += "netmap-modules:do_fetch"
  fetcher should use .lock files to prevent updating the same repository
  in parallel
* see:
  http://lists.openembedded.org/pipermail/openembedded-devel/2015-September/103271.html
* fixes:
ERROR: netmap different signature for task do_configure.sigdata between qemux86copy and qemux86
basehash changed from 748eae270193023d79f7d6a69aa1b8d2 to 9267873ef5fa4474d5f60fc79044ab64
Variable MACHINE value changed from 'qemux86copy' to 'qemux86'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-16 21:50:08 +01:00
Qi.Chen@windriver.com 9e75e3d136 netmap-modules: fix compilation failure
If CONFIG_IXGBE is enabled in kernel. This package fails to build with
error messages like below.

|  #error "unsupported ixgbe driver version"
|   ^

.......

error: request for member 'count' in something not a structure or union
|   na.num_rx_desc = NM_IXGBE_RX_RING(adapter, 0)->count;
|                                                ^
| cc1: some warnings being treated as errors

Fix this problem by disabling igxbe driver in netmap-modules.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-10-21 15:59:03 -04:00
Armin Kuster 1692d5c302 netmap: add new package
this adds netmap, the fast packet I/O framework
http://info.iet.unipi.it/~luigi/netmap/

    - updated to latest version to get kernel 4.1 support
    - fixed printf type issue
    - Fixed manual config options

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
2015-09-15 10:49:30 -04:00