Commit Graph

3871 Commits

Author SHA1 Message Date
Martin Larsson
3bff360ff3 libpam: Remove flex dependency
libpam does not have a direct build time dependency toward flex.

The libpam code does not have any references to the lib and does not use
flex for anything else at runtime.

(From OE-Core rev: d48fc8e1f26120e75377caefb5f66eedce50081c)

Signed-off-by: Martin Larsson <martin.larsson@actia.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-13 17:35:22 +00:00
Richard Purdie
ef783c15aa libxml-sax-perl: Fix ptest dependencies
Add a missing ptest perl module dependency to fix execution in minimal
ptest images.

(From OE-Core rev: 9c35001345d107ec3869216a214439818099c1de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
a7b2b21d70 libconvert-asn1-perl: Fix ptest dependencies
Add dependencies for missing perl modules to fix execution in
minimal images.

(From OE-Core rev: eba3d013b077ec94641118bf925779edf6deb8de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
24e1d446fb gawk: Fix ptest dependency
The gawk ptests need some locale information, add the missing dependency
so tests work in minimal images.

(From OE-Core rev: 5aafe0dd13eba8303d1a954adffd6f1d8d234952)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
b6f295f4b5 findutils: Fix ptest dependency issue
The options used with 'od' don't work with our busybox config.
Add a dependency on the full utility from coreutils to fix execution
in minimal images.

(From OE-Core rev: 027f0997bd9ba68a86000e91ad81fcf9ea1a4f89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
bcea309f16 bc: Fix ptest test output naming
The quoting in the script was mangled leading to "0" tests being
found by our log parsing code. Fix the quoting to allow the correct
test counts to appear.

(From OE-Core rev: 5ad2ee63396cb27823dcd022878764bc69e619e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Richard Purdie
f1709ba573 m4/opkg/ethtool/attr/libgpg-error: Add missing bash ptest dependency
(From OE-Core rev: 27b6605c7b95f70a50b4243818a03c5b2412c5a6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-12 23:39:13 +00:00
Alexander Kanavin
658a8931e2 stress-ng: remove obsolete patch
Upstream has disabled gold support altogether:
e65f517917

(From OE-Core rev: ca7578588ad9bb7a9e6678c1f658da62ffb735f8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:41 +00:00
Alexander Kanavin
fafdbef0ac iptables: update 1.8.8 -> 1.8.9
Replace one format string fixing patch with another format string fixing patch.
(one problem fixed upstream, another introduced)

(From OE-Core rev: 4a7b4d41ddcfaeaf47cf75200f2346639c64b11c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
356c993130 ethtool: update 6.1 -> 6.2
Drop patch merged upstream.

(From OE-Core rev: ae0e692476b9564aa0a64f65d2abfdc0e55ef23b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
a36fc72296 procps: update 3.3.17 -> 4.0.3
Drop patches as upstream refactored the code.

Add a compatibility patch to igt-gpu-tools.

Add a musl compatibility patch.

(From OE-Core rev: 631eba02d64f1a42514e0ae4361bbecc5cce5fa7)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Alexander Kanavin
d4a80f35d4 sudo: update 1.9.12p2 -> 1.9.13p2
License-update: copyright years, formatting.

(From OE-Core rev: 1476813725cce6754334b4a6727675640a7a1e44)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
ea40bc3c75 cups: add/fix web interface packaging
cups includes a web server. Users can surf to port 631 (default) of a
machine running cups to (potentially, based on configuration, default off)
view jobs, add printers, and perform other forms of administration.

The location of the various resources that are used by the built-in web server
(e.g. index.html) are installed under ${datadir}/doc/cups. By default these
artifacts would be included in the ${PN}-doc package. The comments in this
recipe, however, would suggest an attempt was made to have them added to
${PN}; albeit unsuccessfully.

These resources add roughly 1.8M to an image.

Since cups does include a configuration option to disable the web interface
(--enable-webif), add a PACKAGECONFIG (default off) to allow the user to
decide whether or not they would like the web interface configured and its
pieces added to the image. Enabling this PACKAGECONFIG both enables the
web interface to be configured and built into cups, and also adds (by way
of a recommendation) the web interface package to the image. Considering
that the previous intention was not working, defaulting this option to off
preserves the existing behaviour. Previously in order to have the web
interface data included in an image, a user would have needed to explicitly
add the ${PN}-doc package to their image.

(From OE-Core rev: 2c9bd267ec532cd86a4a1be1d4e499e2aae89aba)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
51553b3f28 cups: check PACKAGECONFIG for pam feature
The cups' PACKAGECONFIG is populated based on DISTRO_FEATURES, but a user
is free to enable or disable PACKAGECONFIGs at will. In theory it is
possible that pam is enabled globally in DISTRO_FEATURES but disabled in
cups' PACKAGECONFIG. Checking the PACKAGECONFIG to determine whether or not
pam is enabled would be a safer check rather than relying on DISTRO_FEATURES.

(From OE-Core rev: a053dd177ddc99ced11e68914079be0ffe261262)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Trevor Woerner
75ef02a983 cups: use BUILDROOT instead of DESTDIR
The cups documentation is clear that the correct way to install into an
alternate root directory is to use the BUILDROOT variable. From INSTALL.md:

	Use the `BUILDROOT` variable to install to an alternate root directory:

	    make BUILDROOT=/some/other/root/directory install

DESTDIR works, but we should use the mechanism the project specifically
created for this purpose.

(From OE-Core rev: f8fc70674e0ea5df46969a06da62f8ed135cae4e)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-11 00:08:40 +00:00
Ross Burton
976b65585a shadow: ignore CVE-2016-15024
This recently got an updated CPE which matches this recipe, but the issue
is related to an entirely different shadow project so ignore it.

(From OE-Core rev: 2331e98abb09cbcd56625d65c4e5d258dc29dd04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-07 10:45:25 +00:00
Wang Mingyu
9def0bd407 stress-ng: upgrade 0.15.03 -> 0.15.04
0001-test-float-Make-variables-global.patch
0001-Include-sys-futex.h-for-clock_adjtime.patch
removed since they're included in 0.15.04.

0001-Pass-LD_GOLD-1-via-makefile-to-enable-gold-linker.patch
refreshed for 0.15.04.

(From OE-Core rev: 7c6192ef37907341679a06ce9f5e519902036649)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-06 09:52:16 +00:00
Mingli Yu
22fc74fc01 mc: set ac_cv_path_PERL_FOR_BUILD
After mc upgrade to 4.8.29, it introduces PERL_FOR_BUILD [1] and will
result in the below build failure on some system when we build under
a project with long path.
 | make[4]: Entering directory '/buildarea2/WTEST_Regression/Rerun/build_dir/02161802-multilib_pkgs_conflict/qemux86-64-standard-std-OE/build1/tmp-glibc/work/core2-64-wrs-linux/mc/4.8.29-r0/build/doc/hlp/es'
 make[4]: Nothing to be done for 'install-exec-am'.
 | ../../../src/man2hlp/man2hlp ../../../doc/man/es/mc.1 ../../../../mc-4.8.29/doc/hlp/es/xnc.hlp mc.hlp.es
 | ../../../src/man2hlp/man2hlp: line 32: use: command not found
 | ../../../src/man2hlp/man2hlp: line 33: use: command not found
 | ../../../src/man2hlp/man2hlp: line 36: syntax error near unexpected token `('
 | ../../../src/man2hlp/man2hlp: line 36: `my %static = ('
 | make[4]: [Makefile:632: mc.hlp.es] Error 2 (ignored)

 $ head -n 5 tmp-glibc/work/core2-64-wrs-linux/mc/4.8.29-r0/build/src/man2hlp/man2hlp
 #! /buildarea2/WTEST_Regression/Rerun/build_dir/02161802-multilib_pkgs_conflict/qemux86-64-standard-std-OE/build1/tmp-glibc/hosttools/perl
 #
 #  Man page to help file converter
 #  Copyright (C) 1994, 1995, 1998, 2000, 2001, 2002, 2003, 2004, 2005,
 #  2007, 2010, 2011

It's beacause the shebang line exceeds 128 which is usually the max
length.

So set ac_cv_path_PERL_FOR_BUILD to fix the above issue and altogether
to remove the build path issue.

[1] 6b67d231a2

(From OE-Core rev: 33d91a2434eeb20076c8226340b224b1d606c40f)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 13:31:45 +00:00
Ross Burton
d4be0469a8 less: backport the fix for CVE-2022-46663
(From OE-Core rev: 56d31067a34bc1942c7eb4940a41ecfc81110e58)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-24 11:04:27 +00:00
Alexander Kanavin
3ec15f2e5c zstd: upgrade 1.5.2 -> 1.5.4
License-Update: copyright holder Facebook -> Meta

(From OE-Core rev: 3c5fb3e291cbd61a76db47a93a78c0972506e574)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Alexander Kanavin
cf9235cf74 man-pages: upgrade 6.02 -> 6.03
License-Update: unrelated clarification in README

(From OE-Core rev: 0b18b25010be30361268ef6cfa440a258b4917e8)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-20 15:18:30 +00:00
Joe Slater
add828fa4f tar: Update fix for CVE-2022-48303 to upstream version
Fixes CVE-2022-48303 by checking Base-256 encoding is at least
2 bytes long. GNU Tar through 1.34 has a one-byte out-of-bounds
read that results in use of uninitialized memory for a conditional
jump. Exploitation to change the flow of control has not been
demonstrated. The issue occurs in from_header in list.c via a
V7 archive in which mtime has approximately 11 whitespace characters.

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

Upstream patch:
https://savannah.gnu.org/bugs/?62387
https://git.savannah.gnu.org/cgit/tar.git/patch/src/list.c?id=3da78400eafcccb97e2f2fd4b227ea40d794ede8

(From OE-Core rev: 0043c9d3f7b65a0cbb0a27c37b4825b8f5511dec)

Signed-off-by: Rodolfo Quesada Zumbado <rodolfo.zumbado@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-19 07:47:53 +00:00
Khem Raj
0e8fcf8b51 stress-ng: Add missing header files for clock_adjtime
(From OE-Core rev: 216e5b0e450c7b3f6f096c2892256e1bc1ec4781)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:35 +00:00
Wang Mingyu
7edabcd0b5 lighttpd: upgrade 1.4.68 -> 1.4.69
fix-missing-test.patch
removed since it's included in new verion.

(From OE-Core rev: b88ffd2c41d99099d444e9a05b6d1b84090160a0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
Chee Yang Lee
8edbf98894 tar: Fix CVE-2022-48303
(From OE-Core rev: 4573a584397f197fbc9170abec3c590ea36667f7)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-15 10:21:34 +00:00
yanxk
456a61c0f8 cpio: Add ptest support
Add ptest function for oss 'cpio'.

Tis test takes less than 1 second with kvm enabled, so it is a fast test.

autotest files would contain TMPDIR, they are removed from script files
atconfig and atlocal.

(From OE-Core rev: 9661e76aa1ea89b3dcc24a4d69fa7e6161873d7f)

Signed-off-by: yanxk <yanxk.fnst@fujitsu.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-10 09:25:44 +00:00
Alexander Kanavin
eefbbe5d93 stress-ng: upgrade 0.15.02 -> 0.15.03
(From OE-Core rev: b62843c91eb3c9cd79c62ce2e2b16c717cbbd9a0)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
050f571035 texinfo: upgrade 7.0.1 -> 7.0.2
(From OE-Core rev: 5f7a5387a4340fcf5b79a9201a538ea039249afc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
5e509494df sudo: upgrade 1.9.12p1 -> 1.9.12p2
(From OE-Core rev: 5a3f5f4f607f5e06af772287109b68579154fb2f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
abc6c7fc1a ltp: upgrade 20220930 -> 20230127
(From OE-Core rev: 536be6a0041a8a5add8ef7f7195d3bee677246c3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
44d6a427c4 sysstat: upgrade 12.6.1 -> 12.6.2
(From OE-Core rev: 059b930a54ce85eddf06c49f36ec575eb5479cf5)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:25 +00:00
Alexander Kanavin
aef302222a lsof: upgrade 4.96.5 -> 4.98.0
License-update: switch to a dedicated license file; the license terms are the same.

(From OE-Core rev: b505414862f80bc835ebba005a76c4428a657478)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
7573d38c01 lighttpd: upgrade 1.4.67 -> 1.4.68
Rename options where appropriate. pcre option supports pcre2 now, so convert to that.

(From OE-Core rev: 7da38c6bdce5692b1c0b24c7d7694123b5329588)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
c4f80179ca mc: update 4.8.28 -> 4.8.29
(From OE-Core rev: 46701b356d5d0e5ebe1aa7544a02b28a0fb0c035)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Alexander Kanavin
e0ea87498d diffutils: update 3.8 -> 3.9
Drop patch as issue fixed upstream.

(From OE-Core rev: e5ec5de7217de28bccf3243496df6b41ca8a1d0b)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-09 09:57:24 +00:00
Wang Mingyu
d49d6fe004 msmtp: upgrade 1.8.22 -> 1.8.23
The msmtpq script was updated.

(From OE-Core rev: 2f9c297528bd5ded9b760e7fdfc913d23babcbae)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Ulrich Ölmann
95e9a652bf lsof: fix old override syntax
(From OE-Core rev: 052f767f85eddab9b6e5d78268d2732f4a65d446)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-08 10:29:01 +00:00
Martin Jansa
96c1056229 xinetd: move xconv.pl script to separate package
* most xinetd users probably don't need this nowadays and it
  pulls perl into the images

(From OE-Core rev: 00078ec396ff53aae71037ce7d9950afbf744454)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-02-02 10:27:30 +00:00
Khem Raj
b0e00ca9bd stress-ng: Robustify test-float test
Latest compilers are able to figure out that whole code can be optmized
away when CFLAGS has -O2 or more agressive optimizations. In order to
ensure the test is doing the right thing, make the variables global so
compiler is not able to optimize it away.

This fixes build on x86 especially when using clang compiler

(From OE-Core rev: e9c4017982a5556580d24e72e74c4d5a879ff11c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
1c42439dca libtirpc: Check if file exists before operating on it
In some cases (e.g. mingw) this file may not be installed

(From OE-Core rev: 547f3a13ee9268bbdd439c96108ba1fe9ab78873)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-24 22:06:51 +00:00
Khem Raj
cbb8a79bc9 mdadm: Define alignof using _Alignof when using C11 or newer
(From OE-Core rev: 18f1f2775ef0690802b44a6094383db48c712c19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-20 16:40:47 +00:00
Khem Raj
59d7bc14ef cpio: Fix gnulib alignof implementation on clang
Backport needed patches

(From OE-Core rev: 49d328f2c696360759f00507b8fd5089b2f03e7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-18 16:42:28 +00:00
Khem Raj
288cc5b879 gperf: Make the code C++17 compliant
Fixes
| ../../gperf-3.1/lib/getline.cc:58:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
|       register int c = getc (stream);
|       ^~~~~~~~~

(From OE-Core rev: dd137feabdad2e7a2b3d107c703aad577a2e79c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
de4432ba8b groff: Drop use of register storage class
Backport a patch to make it work with c17 standard

(From OE-Core rev: c209d8768dfbbbf4b9003a4fbb335d76b276e1a8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Khem Raj
be0cb1a711 cpio: Do not use _Noreturn in gnulib
Backport a gnulib patch

(From OE-Core rev: 1baf1f2b5baaced3affe036e104e20e33c1c5016)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
7205f011a3 xz: upgrade 5.4.0 -> 5.4.1
Changelog:
==========
* liblzma:
    - Fixed the return value of lzma_microlzma_encoder() if the
      LZMA options lc/lp/pb are invalid. Invalid lc/lp/pb options
      made the function return LZMA_STREAM_END without encoding
      anything instead of returning LZMA_OPTIONS_ERROR.
    - Windows / Visual Studio: Workaround a possible compiler bug
      when targeting 32-bit x86 and compiling the CLMUL version of
      the CRC64 code. The CLMUL code isn't enabled by the Windows
      project files but it is in the CMake-based builds.

* Build systems:
    - Windows-specific CMake changes:
        * Don't try to enable CLMUL CRC64 code if _mm_set_epi64x()
          isn't available. This fixes CMake-based build with Visual
          Studio 2013.
        * Created a workaround for a build failure with windres
          from GNU binutils. It is used only when the C compiler
          is GCC (not Clang). The workaround is incompatible
          with llvm-windres, resulting in "XZx20Utils" instead
          of "XZ Utils" in the resource file, but without the
          workaround llvm-windres works correctly. See the
          comment in CMakeLists.txt for details.
        * Included the resource files in the xz and xzdec build
          rules. Building the command line tools is still
          experimental but possible with MinGW-w64.
    - Visual Studio: Added stream_decoder_mt.c to the project
      files. Now the threaded decompressor lzma_stream_decoder_mt()
      gets built. CMake-based build wasn't affected.
    - Updated windows/INSTALL-MSVC.txt to mention that CMake-based
      build is now the preferred method with Visual Studio. The
      project files will probably be removed after 5.4.x releases.
    - Changes to #defines in config.h:
        * HAVE_DECL_CLOCK_MONOTONIC was replaced by
          HAVE_CLOCK_MONOTONIC. The old macro was always defined
          in configure-generated config.h to either 0 or 1. The
          new macro is defined (to 1) only if the declaration of
          CLOCK_MONOTONIC is available. This matches the way most
          other config.h macros work and makes things simpler with
          other build systems.
        * HAVE_DECL_PROGRAM_INVOCATION_NAME was replaced by
          HAVE_PROGRAM_INVOCATION_NAME for the same reason.
* Tests:
    - Fixed test script compatibility with ancient /bin/sh
      versions. Now the five test_compress_* tests should
      no longer fail on Solaris 10.
    - Added and refactored a few tests.

* Translations:
    - Updated the Catalan and Esperanto translations.
    - Added Korean and Ukrainian man page translations.

(From OE-Core rev: bf829fec65b5f5047a4139ede8c4c2982ba81f1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
92be70bc5b stress-ng: upgrade 0.15.01 -> 0.15.02
(From OE-Core rev: 5a055084e17b8b0847c32b0793da83bd8b9f07cb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
163f885313 ed: upgrade 1.18 -> 1.19
Changelog:
==========
 * main_loop.c (exec_command): Fix commands 'e', 'E'; they did set
   the 'modified' flag if file not found. (Reported by Harry Graf).
   (main_loop): Print script error line to stdout instead of stderr.
 * Change long name of option '-s' to '--script'.
   (Suggested by Andrew L. Moore).
 * Assign short name '-q' to options '--quiet' and '--silent'.
 * main.c (show_strerror) Use '!quiet' to enable diagnostics.
 * Do not process file names for backslash escapes.
   (Suggested by Andrew L. Moore).
 * ed.texi: Document 0 as starting point for searches '0;/RE/'.
   Document how to achieve the effect of ex style '!' filtering.

License-Update: Copyright year updated to 2023.

(From OE-Core rev: 5cf8e3fe7cc020cd3d7cd4e2a9b6364947a875f7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Wang Mingyu
e55677116b man-db: upgrade 2.11.1 -> 2.11.2
Changelog:
=========
Fixes:
------
 * Fix compile and test failures when 'troff' is not 'groff'.
 * Fix segfault in typical uses of 'man' when 'nroff' is not installed.
 * Fix crash in 'mandb' when processing stray cats.

Improvements:
-------------
 * Check for stray cats even if no manual pages in a given manpath were
   changed.

(From OE-Core rev: f6ddfaac9e4957abfe9f1c8d336b4fd7b52a80f5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-16 10:42:07 +00:00
Alexander Kanavin
e6715606f3 man-pages: upgrade 6.01 -> 6.02
License-Update: readme rewritten, set of licenses provided explicitly.

(From OE-Core rev: e24660ad939c40766a34e2d998da3df998576210)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-01-15 08:49:08 +00:00