Commit Graph

3068 Commits

Author SHA1 Message Date
Yi Zhao
f9ea77c5ab strongswan: upgrade 5.9.8 -> 5.9.9
Changelog:
https://github.com/strongswan/strongswan/releases/tag/5.9.9

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6cca42d726)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-21 10:17:37 -05:00
Khem Raj
432608d56b sshpass: Use SPDX identified string for GPLv2
Fixes
QA Issue: Recipe LICENSE includes obsolete licenses GPLv2 [obsolete-license]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bb9672b8c5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-21 10:15:58 -05:00
Chen Qi
a0d774ffae networkmanager: fix /etc/resolv.conf handling
The current handling of /etc/resolv.conf by NM has some problems.
When networkd is not configuring network, and there's 'ip=dhcp'
in kernel command line, the /run/NetworkManager/resolv.conf file
is not created, resulting in /etc/resolv.conf being a dead symlink.
This is because NM is treating the network interface as externally
configured and will not try to reconfigure it again.

This means if we want NM to work properly with /etc/resolv.conf,
we've got to either ensure there's no 'ip=dhcp' in kernel command
line, or we've got to ensure networkd is configuring network. This
is weird because normally we should not enable two network managers
at the same time. Note that NM syncs part of its codes with networkd,
which is the reason I think it happens to work when these two network
configuration tools are configuring the same interface at the same
time.

In fact, NM now works well with resolved. It sends the DNS info it
gets to resolved unconditionally by default (the behavior could be
disabled in configuration file).

Looking at the original commit that sets up the update-alternatives
mechanism, it says:
"""
  This brings the networkmanager in sync with how systemd-resolved and connman
  work. Additionally this allows it to function with a read-only rootFS.
"""
I guess the author was using systemd but disabling resolved, and the author
wanted to use read-only rootFS. In order to keep such combination still works,
change to use PACKAGECONFIG to handle things, and when 'man-resolv-conf' is
enabled, the above combination could still work.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a8ebf23dde)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-21 10:10:14 -05:00
Armin Kuster
1d2e7a6b3d Revert "waf-samba.bbclass: point PYTHON_CONFIG to target python3-config"
This reverts commit 4b063f93a7.

This is breaking builds.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-21 09:48:24 -05:00
Hermes Zhang
4f16ee2076 kernel_add_regdb: Change the task order
The kernel_add_regdb should run before do_compile to make it take
effect.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-19 08:10:26 -05:00
Chen Qi
43e318de2f networkmanager: install config files into correct place
The current location has no effect, because NetworkManager
is not looking for config files there.

In meson.build, we have:
  nm_pkglibdir = join_paths(nm_prefix, 'lib', nm_name)
  config_extra_h.set_quoted('NMLIBDIR',          nm_pkglibdir)

It's clear that the configuration directory should be
nonarch_libdir instead of libdir.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 15893f46f8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-12-20 10:47:41 -05:00
Chen Qi
971a33338f networkmanager: fix dhcpcd PACKAGECONFIG
Without this patch, even if dhcpcd is enabled, the NetworkManager
cannot find it. Below are the messages from NetworkMananger:

  dhcp: init: DHCP client 'dhcpcd' not available
  dhcp: init: Using DHCP client 'internal'

The problem is that dhcpcd needs to be specified as a path, otherwise
NetworkManager tries to find it in /usr/sbin/dhcpcd.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 178123a006)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-12-20 10:47:16 -05:00
Kai Kang
f4b166416f postfix: fix multilib conflict of sample-main.cf
It fails to install postfix and lib32-postfix at same time:

| Error: Transaction test error:
|   file /etc/postfix/sample-main.cf conflicts between attempted installs of
    lib32-postfix-cfg-3.7.3-r0.i586 and postfix-cfg-3.7.3-r0.core2_64

Rename sample-main.cf with ${MLPREFIX}.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b75c138a1c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-12-20 10:44:29 -05:00
Wang Mingyu
0b07e0e168 smcroute: upgrade 2.5.5 -> 2.5.6
Changelog:
==========
- Add smcroutectl batch support, issue #189. Based on the IPC support added in issue #185
- Fix #178: invalid systemd daemon type Simple/Notify vs simple/notify
- Fix #179: typo in wildcard routes section of README
- Fix #180: minor typo in file and directory names in documentation
- Fix #183: casting in IPC code hides error handling of recv()
- Fix #186: NULL pointer dereference in utimensat() replacement function.
  Found accidentally by Alexey Smirnov. Only triggered on systems that don't
  have a native utimensat() in their C-library, or if you try to build
  SMCRoute without using its own build system ...
- Fix #187: strange behavior joining/leaving the same group
- Fix #192: typo in README

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit abc501113a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-12-20 10:43:38 -05:00
Khem Raj
4b063f93a7 waf-samba.bbclass: point PYTHON_CONFIG to target python3-config
Ensures that waf detects and uses it correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3b7f98f52b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-12-20 10:37:54 -05:00
Kai Kang
c76cc68d15 freeradius: fix multilib systemd service start failure
It fails to start radiusd.service from lib32-freeradius that the
configure directory is /etc/lib32-raddb rather than /etc/raddb. So add
an environment file to export a variable MLPREFIX for the service file
to make it start successfully.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 172c707251)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-25 10:49:05 -05:00
Khem Raj
91a4036f8d ettercap: Add missing dependency on libpcre
It depends on it, but it was being pulled in via glib-2.0
which now uses libpcre2

Fixes
TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/ettercap/0.8.3.1-r0/recipe-sysroot-native/usr/lib/libpcre.so: file not recognized: file format not recognized

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d8bc689ee7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-25 10:48:25 -05:00
Markus Volk
d5645959de blueman: add RDEPEND on python3-fcntl
After updating current poky master python3-fcntl is not installed
into my image anymore. Blueman-applet fails to run with
Error: No module named 'fcntl''Module fcntl not found'

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 25c3860701)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-25 10:46:36 -05:00
Peter Kjellerstedt
c354f92778 chrony: Remove the libcap and nss PACKAGECONFIGs
There is no need for these configs on their own and they would only mess
up the sechash and privdrop configs. To actually enable sechash one also
had to enable nss, and to enable privdrop one also had to enable libcap.

This also avoids passing --with-libcap if privdrop is enabled since the
option does not exist.

Change-Id: I64a49741f61385e87ddbc83b9e87213a6fc7668e
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2022-11-18 10:11:45 -05:00
Peter Kjellerstedt
aa811aa776 chrony: Make it possible to enable editline support again
Support for readline was dropped in Chrony 4.2. However, the
--disable-readline option still remains (it is used to completely ignore
all forms of command line editing, even though the only remaining
variant is editline). So keeping the readline PACKAGECONFIG and making
it pass --disable-readline when it is not enabled disabled support for
editline, and if it was enabled it instead passed --without-editline,
which also disabled support for editline. Thus there was no way to
enable editline support.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2022-11-18 10:11:36 -05:00
Wang Mingyu
b5a7f4e5aa wolfssl: upgrade 5.5.1 -> 5.5.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a9334a5cba)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-05 14:05:49 -04:00
zhengruoqin
64838fc07f tcpslice: upgrade 1.5 -> 1.6
Changelog:
=========
- Call pcap_dump_close() on the output file.
- Implement new flags in ./configure: --enable-instrument-functions,
  --without-libnids, --without-libosipparser2 and --without-libooh323c.
- autoconf: Add the option to print functions and files names
- Update config.{guess,sub}, timestamps 2022-01-09,2022-01-03
- configure: use pcap-config --static-pcap-only if available
- Remove awk code from mkdep.
- Refine the man page.
- Refine the documentation files.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8e64d8f7af)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-05 13:53:38 -04:00
Alex Kiernan
e9c99dbd49 lldpd: Upgrade 1.0.14 -> 1.0.15
Add github-releases to make new releases discoverable.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c782674d3f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2022-11-05 13:52:27 -04:00
Armin Kuster
c5668905a6 meta-openemnedded: Add myself as langdale maintainer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-22 15:59:34 -07:00
Khem Raj
dd5226bed9 postfix: Upgrade to 3.7.3
Fix build on systems with linux 6.x

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-19 10:33:43 -07:00
zhengrq.fnst
aca28022cc unbound: upgrade 1.16.3 -> 1.17.0
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 08:23:44 -07:00
Wang Mingyu
e5ecbd204b blueman: upgrade 2.3.2 -> 2.3.4
Bugs fixed
==========
    Errors when connected to a device with the DisconnectItems plugin enabled

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 08:23:44 -07:00
Wang Mingyu
c6fddf41de nbdkit: upgrade 1.33.1 -> 1.33.2
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-18 08:23:44 -07:00
Alex Kiernan
4a0e41431e conntrack-tools: Use canonical shell spacing
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-16 18:30:32 -07:00
Alex Kiernan
4d8d56d0e7 conntrack-tools: Add PACKAGECONFIGs for build options
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-16 18:30:32 -07:00
Alex Kiernan
80b68df709 conntrack-tools: Upgrade 1.4.6 -> 1.4.7
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-16 18:30:32 -07:00
Markus Volk
3b32cfc181 blueman: upgrade 2.2.4 -> 2.3.2
Switch from using tarball to git because the 2.3.2 tarball lacks the
meson_options.txt file.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-13 10:16:58 -07:00
Yi Zhao
9628ca83c2 frr: Security fix CVE-2022-37032
CVE-2022-37032:
An out-of-bounds read in the BGP daemon of FRRouting FRR before 8.4 may
lead to a segmentation fault and denial of service. This occurs in
bgp_capability_msg_parse in bgpd/bgp_packet.c.

Reference:
https://nvd.nist.gov/vuln/detail/CVE-2022-37032

Patch from:
066770ac1c

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-12 19:19:27 -07:00
Hao Jiang
6e2cfa4113 mctp: install the .target files
Need the targets file to enable the mctpd.service on systemd.

Signed-off-by: Hao Jiang <jianghao@google.com>
Change-Id: I8d48d3767760dc1f34ae7e1266600d350ac93281
2022-10-12 19:19:27 -07:00
Yi Zhao
354608cb88 dhcp-relay: upgrade 4.4.3 -> 4.4.3-P1
Changes since 4.4.3 (Bug Fixes)

Corrected a reference count leak that occurs when the server builds
responses to leasequery packets. Thanks to VictorV of Cyber Kunlun
Lab for reporting the issue.
[Gitlab #253]
CVE: CVE-2022-2928

Corrected a memory leak that occurs when unpacking a packet that has an
FQDN option (81) that contains a label with length greater than 63
bytes.
Thanks to VictorV of Cyber Kunlun Lab for reporting the issue.
[Gitlab #254]
CVE: CVE-2022-2929

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-11 08:21:44 -07:00
Fabio Estevam
022e65ccd4 spice: Include aarch64 to COMPATIBLE_HOST
Allow spice to be built on ARM64 as well, so add aarch64
entry to COMPATIBLE_HOST.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 13:53:51 -07:00
Yi Zhao
7cd9307271 open-vm-tools: upgrade 11.3.5 -> 12.1.0
* Drop 0001-Make-HgfsConvertFromNtTimeNsec-aware-of-64-bit-time_.patch
  and 0013-misc-Do-not-print-NULL-string-into-logs.patch which have been
  merged upstream.
* Refresh patches.
* Do not build containerinfo plugin as it requries containerd.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 10:19:33 -07:00
zhengrq.fnst
6829378d00 wolfssl: upgrade 5.5.0 -> 5.5.1
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 10:19:33 -07:00
zhengrq.fnst
4ea9e26918 stunnel: upgrade 5.65 -> 5.66
Changelog:
===========
  New features
      OpenSSL 3.0 FIPS Provider support for Windows.
  Bugfixes
      Fixed building on machines without pkg-config.
      Added the missing "environ" declaration for BSD-based operating systems.
      Fixed the passphrase dialog with OpenSSL 3.0.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 10:19:33 -07:00
Yi Zhao
b6be90d70b strongswan: upgrade 5.9.7 -> 5.9.8
ChangeLog:
https://github.com/strongswan/strongswan/releases/tag/5.9.8

* Drop PACKAGECONFIG[scep] as scepclient has been removed.
* Add plugin-gcm to RDEPENDS as gcm plugin has been added to the default
  plugins.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-08 11:36:57 -07:00
Federico Pellegrin
aa20821f17 chrony: correct parameter to configure to disable readline usage
The correct parameter to disable readline usage is --disable-readline
and not --without-readline.

See also chrony source at:
https://github.com/mlichvar/chrony/blob/master/configure#L110

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-06 07:20:50 -07:00
Federico Pellegrin
22682fdfb7 chrony: add pkgconfig class as pkg-config is explicitly searched for
The configure script present in chrony will explicitly look for
pkg-config and without the pkgconfig class it will fail:

Checking for pkg-config : No

This then affects the possibility (via image features or bbappend)
to use features based on nettle/gnutls/nss which strictly require
pkgconfig to be present and working.

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-06 07:20:50 -07:00
Mathieu Dubois-Briand
e2188ac73b mbedtls: Whitelist CVE-2021-43666, CVE-2021-45451
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-04 09:29:47 -07:00
Mathieu Dubois-Briand
e726f388b2 mbedtls: Update to 2.28.1 version
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-04 09:29:47 -07:00
Mathieu Dubois-Briand
0f6a6a3cc9 mbedtls: Fix CVE product name
Signed-off-by: Mathieu Dubois-Briand <mbriand@witekio.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-04 09:29:47 -07:00
Khem Raj
111e73d712 open62541: Disable lto on riscv/clang
clang errors out linking lto objects
riscv64-yoe-linux-musl-ld: /tmp/lto-llvm-d497c5.o: can't link soft-float modules with double-float modules

This is something needs to be addressed in clang for riscv
as of now disable lto for rv32/rv64 when using clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-04 09:29:47 -07:00
Vyacheslav Yurkov
3d65e0460c opcua: Add new recipe
open62541 (http://open62541.org) is an open source and free implementation
of OPC Unified Architecture according to IEC62541 standard

The patch exclude git-related files from installation directory
Upstream-Status: Accepted
a0328d4cb5

Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-03 23:48:07 -07:00
Yi Zhao
b07db09fe8 nftables: upgrade 1.0.4 -> 1.0.5
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 21:21:11 -07:00
Yi Zhao
333cdd80c6 libnftnl: upgrade 1.2.2 -> 1.2.3
Drop 0001-avoid-naming-local-function-as-one-of-printf-family.patch as
the issue has been fixed upstream.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 21:21:11 -07:00
Yi Zhao
f684687591 frr: upgrade 8.2.2 -> 8.3.1
Backport patches to fix build error with --disable-ospfapi and
CVE-2022-37035.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 13:32:15 -07:00
Yi Zhao
d464168958 freeradius: fix daemon startup warnings
Fixes:
chown[1483]: /bin/chown: warning: '.' should be ':': 'radiusd.radiusd'
/etc/tmpfiles.d/radiusd.conf:2: Line references path below legacy directory /var/run/, updating /var/run/radiusd -> /run/radiusd

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 08:14:17 -07:00
wangmy
97cfac1c0a unbound: upgrade 1.16.2 -> 1.16.3
Bug Fixes
- Patch for CVE-2022-3204 Non-Responsive Delegation Attack.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-27 10:04:35 -07:00
wangmy
79ed6782a6 dnsmasq: upgrade 2.86 -> 2.87
License-Update : format of License file changed.

CVE-2022-0934.patch
deleted since it's included in 2.87.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-27 10:04:35 -07:00
Hitendra Prajapati
de66eb0c0d wireshark: CVE-2022-3190 Infinite loop in legacy style dissector
Source: 67326401a5
MR: 122044
Type: Security Fix
Disposition: Backport from 67326401a5
ChangeID: 13f833dfbd8f76db1ea01984441b212f08e6e4f5
Description:
          CVE-2022-3190 wireshark: Infinite loop in legacy style dissector.

Signed-off-by: Hitendra Prajapati <hprajapati@mvista.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-26 18:14:53 -07:00
Frank de Brabander
c350665f61 ntp: add missing runtime dependency on libgcc for sntp
This runtime dependency was already added for ntpd but not yet for the
sntp binary. This will result in an error when pthread_exit() is called:

"libgcc_s.so.1 must be installed for pthread_cancel to work"

Signed-off-by: Frank de Brabander <debrabander@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-26 18:14:53 -07:00