buildroot.git
3 years agoconfigs/kontron_smarc_sal28: use kernel 5.14
Michael Walle [Mon, 6 Sep 2021 15:55:26 +0000 (17:55 +0200)]
configs/kontron_smarc_sal28: use kernel 5.14

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years ago{linux, linux-headers}: add version 5.14
Michael Walle [Mon, 6 Sep 2021 15:55:25 +0000 (17:55 +0200)]
{linux, linux-headers}: add version 5.14

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dovecot-pigeonhole: bump version to 0.5.16
Bernd Kuhls [Sat, 28 Aug 2021 08:32:07 +0000 (10:32 +0200)]
package/dovecot-pigeonhole: bump version to 0.5.16

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-August/000464.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/dovecot: bump version to 2.3.16
Bernd Kuhls [Sat, 28 Aug 2021 08:32:06 +0000 (10:32 +0200)]
package/dovecot: bump version to 2.3.16

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-August/000463.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/{bluez5_utils, bluez5_utils-headers}: bump to version 5.61
Bernd Kuhls [Sat, 28 Aug 2021 07:46:44 +0000 (09:46 +0200)]
package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.61

Release notes: http://www.bluez.org/release-of-bluez-5-61/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qemu: fix fuse-lseek on uclibc-ng and musl
Fabrice Fontaine [Fri, 27 Aug 2021 22:05:31 +0000 (00:05 +0200)]
package/qemu: fix fuse-lseek on uclibc-ng and musl

Fix the following build failure on uclibc-ng raised since bump to
version 6.0.0 in commit 6b86c9335fc3ff381878156c6243454d4b688df9:

../block/export/fuse.c: In function 'fuse_lseek':
../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
      |                   ^~~~~~~~~
../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
      |                                          ^~~~~~~~~
      |                                          SEEK_SET

Fixes:
 - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pipewire: alsa needs seq
Fabrice Fontaine [Wed, 8 Sep 2021 06:31:23 +0000 (08:31 +0200)]
package/pipewire: alsa needs seq

alsa unconditionally uses seq since version 0.2.90 and
https://github.com/PipeWire/pipewire/commit/818fb9e904a3ea43ba313994e404f1b63833c548
which will result in the following build failure since commit
a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9:

In file included from ../spa/plugins/alsa/alsa-seq-bridge.c:44:
../spa/plugins/alsa/alsa-seq.h:71:2: error: unknown type name 'snd_seq_addr_t'
   71 |  snd_seq_addr_t addr;
      |  ^~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/65e3a9185b3b84ad78cd05f788f741b8734d2bbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests/fs: test OCI format
Matthew Weber via buildroot [Fri, 27 Aug 2021 20:54:30 +0000 (15:54 -0500)]
support/testing/tests/fs: test OCI format

This patch adds runtime testing of the OCI archive created by the
sloci scripting. It launches a containerd instance, imports, and
runs the OCI container.

The existing QEMU AARCH64 kernel config was extended to enable common
options used by a container runtime (cgroup and overlayfs).

Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout: adapt file name which is arm64 now; add to DEVELOPERS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agofs: new OCI filesystem type
Sergio Prado [Fri, 27 Aug 2021 20:54:29 +0000 (15:54 -0500)]
fs: new OCI filesystem type

Add support to generate OCI (Open Container Initiative) images.

An OCI image consists of a manifest, an image index (optional), a set of
filesystem layers, and a configuration. The complete specification is
available in the link below:

https://github.com/opencontainers/image-spec/blob/master/spec.md

The image is generated with the host tool sloci-image, and config
options can be used to configure image parameters.

By default, the image is generated in a directory called rootfs-oci:

$ cd output/images
$ ls rootfs-oci/
blobs  index.json  oci-layout

Optionally, the image can be packed into a tar archive.

The image can be pushed to a registry using containers tools like
skopeo:

$ skopeo copy --dest-creds <user>:<pass> oci:rootfs-oci:<tag> \
docker://<user>/<image>[:tag]

And then we can pull/run the container image with tools like docker:

$ docker run -it <user>/<image>[:tag]

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout:
 - mention in help text that options are space separated;
 - use GO_GOARCH and GO_GOARM for architecture;
 - quote all arguments;
 - don't cd to BINARIES_DIR;
 - remove ROOTFS_OCI_IMAGE_NAME variable;
 - remove wildcard from rm.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/sloci-image: new host package
Sergio Prado [Fri, 27 Aug 2021 20:54:28 +0000 (15:54 -0500)]
package/sloci-image: new host package

sloci-image is a simple CLI tool for packing rootfs into a single-layer
OCI image.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout: correctly set PREFIX, add Matt to DEVELOPERS, add additional
         patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gnuradio: fix build with boost 1.77.0
Fabrice Fontaine [Fri, 10 Sep 2021 06:37:42 +0000 (08:37 +0200)]
package/gnuradio: fix build with boost 1.77.0

Fix the following build failure raised since commit
d39d8f7cee9b4634e6f490020204f63fae419e8e:

In file included from /home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/boost/math/common_factor.hpp:14,
                 from /home/buildroot/autobuild/instance-3/output-1/build/gnuradio-3.8.2.0/gr-digital/lib/symbol_sync_cc_impl.cc:30:
/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/boost/math/common_factor_ct.hpp:17:68: error: _Pragma takes a parenthesized string literal
   17 | BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_ct.hpp>");
      |

Fixes:
 - http://autobuild.buildroot.org/results/7b4/7b46f51588144bca1d323230c378ce7f6ee999a8/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/autofs: fix build with glibc >= 2.34
Fabrice Fontaine [Fri, 10 Sep 2021 20:59:23 +0000 (22:59 +0200)]
package/autofs: fix build with glibc >= 2.34

Fix the following build failure with glibc >= 2.34:

In file included from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/local_lim.h:81,
                 from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/posix1_lim.h:161,
                 from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/dirent.h:233,
                 from automount.c:22:
automount.c:87:37: error: initializer element is not constant
   87 | size_t detached_thread_stack_size = PTHREAD_STACK_MIN * 144;
      |                                     ^~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/0c8ab8968b2adf6a5f8eeab00ce388968fa1c1d5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/openssl: fix spurious spaces
Fabrice Fontaine [Fri, 10 Sep 2021 21:05:32 +0000 (23:05 +0200)]
package/openssl: fix spurious spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gst1-plugins-bayer2rgb-neon: enable for BR2_aarch64
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:26 +0000 (16:55 +0200)]
package/gst1-plugins-bayer2rgb-neon: enable for BR2_aarch64

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gst1-plugins-bayer2rgb-neon: bump to 0.6.1
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:25 +0000 (16:55 +0200)]
package/gst1-plugins-bayer2rgb-neon: bump to 0.6.1

Update SITE to be synced with bayer2rgb-neon.
Use git as METHOD because no tarball is available for this version.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: enable for BR2_aarch64
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:24 +0000 (16:55 +0200)]
package/bayer2rgb-neon: enable for BR2_aarch64

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: bump version to 0.6.1
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:23 +0000 (16:55 +0200)]
package/bayer2rgb-neon: bump version to 0.6.1

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: update URL in Config.in file
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:22 +0000 (16:55 +0200)]
package/bayer2rgb-neon: update URL in Config.in file

The URL pointing to phytec.de is obsolete and not even used by
Buildroot.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agotoolchain: reorder gcc bugs by number
Giulio Benetti [Wed, 8 Sep 2021 21:33:32 +0000 (23:33 +0200)]
toolchain: reorder gcc bugs by number

Reorder gcc bugs by number

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoDEVELOPERS: add myself to harfbuzz package
Giulio Benetti [Wed, 8 Sep 2021 22:15:16 +0000 (00:15 +0200)]
DEVELOPERS: add myself to harfbuzz package

Add myself to harfbuzz package.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/harfbuzz: bump to version 2.9.1
Giulio Benetti [Wed, 8 Sep 2021 22:15:15 +0000 (00:15 +0200)]
package/harfbuzz: bump to version 2.9.1

Bump to version 2.9.1

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/xscreensaver: needs xserver SELinux module
Fabrice Fontaine [Thu, 9 Sep 2021 06:01:29 +0000 (08:01 +0200)]
package/xscreensaver: needs xserver SELinux module

xserver is needed to fix the following build failure raised since commit
613827c5b0a2bf71320047954639dc9003524db0:

Compiling targeted policy.33
env LD_LIBRARY_PATH="/data/buildroot-autobuilder/instance-0/output-1/host/lib:/data/buildroot-autobuilder/instance-0/output-1/host/usr/lib" /data/buildroot-autobuilder/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
policy.conf:3071:ERROR 'attribute input_xevent_type is not declared' at token ';' on line 3071:
type xscreensaver_helper_t;
type xscreensaver_input_xevent_t, input_xevent_type, xevent_type;
checkpolicy:  error(s) encountered while parsing configuration
make[1]: *** [Rules.monolithic:79: policy.33] Error 1

Fixes:
 - http://autobuild.buildroot.org/results/2b5/2b546153ff8b9a11a5bb8475b918f220dd5b1787/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/sox: install to staging
Adrian Amaglio [Thu, 9 Sep 2021 09:14:53 +0000 (11:14 +0200)]
package/sox: install to staging

sox also provides one or more libraries with headers, so also install
sox to staging.

Signed-off-by: Adrian Amaglio <nainformatique@gresille.org>
[Giulio: reword commit log]
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr:
  - further refine commit log
  - move assignment in a more sensible location
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gnuradio: drop gr-pager (gr-flex) option
Fabrice Fontaine [Fri, 10 Sep 2021 06:53:05 +0000 (08:53 +0200)]
package/gnuradio: drop gr-pager (gr-flex) option

gr-pager (labeled 'gr-flex' in our menuconfig) is not available since
bump to version 3.8.0.0 in commit 0d6a7b2981d4 (package/gnuradio: bump
to version 3.8.0.0) and upstream commit:
    https://github.com/gnuradio/gnuradio/commit/2d2caa205f3c3059deab7c82660908656167fd90

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/haproxy: security bump to version 2.4.4
Peter Korsgaard [Fri, 10 Sep 2021 14:02:40 +0000 (16:02 +0200)]
package/haproxy: security bump to version 2.4.4

Fixes the following security issues:

- CVE-2021-40346: An integer overflow exists in HAProxy 2.0 through 2.5 in
  the htx_add_header() can be exploited to perform an HTTP request smuggling
  attack, allowing an attacker to bypass all configured http-request HAProxy
  ACLs and possibly other ACLs.

For more details, see the advisory:
https://www.mail-archive.com/haproxy@formilux.org/msg41114.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libgcrypt: bump to version 1.9.4
Francois Perrad [Thu, 9 Sep 2021 08:35:25 +0000 (10:35 +0200)]
package/libgcrypt: bump to version 1.9.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/gnutls: bump to version 3.7.2
Francois Perrad [Thu, 9 Sep 2021 08:35:14 +0000 (10:35 +0200)]
package/gnutls: bump to version 3.7.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xapp_xeyes: bump version to 1.2.0
Bernd Kuhls [Fri, 10 Sep 2021 06:55:32 +0000 (08:55 +0200)]
package/x11r7/xapp_xeyes: bump version to 1.2.0

Release notes:
https://lists.x.org/archives/xorg-announce/2021-August/003101.html

Removed md5 and sha1 hashes, reformatted hashes, updated _SITE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xapp_xwd: bump version to 1.0.8
Bernd Kuhls [Fri, 10 Sep 2021 06:55:31 +0000 (08:55 +0200)]
package/x11r7/xapp_xwd: bump version to 1.0.8

Release notes:
https://lists.x.org/archives/xorg-announce/2021-August/003102.html

Removed md5 and sha1 hashes, reformatted hashes, updated _SITE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xlib_libXfont2: bump version to 2.0.5
Bernd Kuhls [Fri, 10 Sep 2021 06:55:30 +0000 (08:55 +0200)]
package/x11r7/xlib_libXfont2: bump version to 2.0.5

Release notes:
https://lists.x.org/archives/xorg-announce/2021-August/003103.html

Removed patch which was applied upstream.
Removed md5 and sha1 hashes, reformatted hashes, updated _SITE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xlib_libXft: bump version to 2.3.4
Bernd Kuhls [Fri, 10 Sep 2021 06:55:29 +0000 (08:55 +0200)]
package/x11r7/xlib_libXft: bump version to 2.3.4

Release notes:
https://lists.x.org/archives/xorg-announce/2021-August/003104.html

Removed md5 and sha1 hashes, reformatted hashes, updated _SITE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xapp_xrdb: bump version to 1.2.1
Bernd Kuhls [Fri, 10 Sep 2021 06:55:28 +0000 (08:55 +0200)]
package/x11r7/xapp_xrdb: bump version to 1.2.1

Release notes:
https://lists.x.org/archives/xorg-announce/2021-August/003107.html

Removed md5 and sha1 hashes, reformatted hashes, updated _SITE.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dav1d: bump version to 0.9.2
Bernd Kuhls [Fri, 10 Sep 2021 06:58:42 +0000 (08:58 +0200)]
package/dav1d: bump version to 0.9.2

Release notes:
https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/e2fsprogs: bump version to fix regression
Yann E. MORIN [Sun, 5 Sep 2021 17:34:46 +0000 (19:34 +0200)]
package/e2fsprogs: bump version to fix regression

Version 1.46.3 had a regression, which meant the file that would store
the filesystem image had to pre-exist, or mkfs.ext2 would fail to
generate the filesystem:

    mkfs.ext4: No such file or directory while trying to determine
    filesystem size

The regression was fixed upstream, and is now part of the 1.46.4
release, so bump to that release.

Fixes: #14196
Additionally, as noticed by Romain, the defaults settings for generating
"small" filesystems have changed: the inode size has been increased fom
128 to 256 bytes in 1.46.4 [0]. This causes the number of inodes to
diverge slightly from the requested number; instead of 8 more inodes,
there are now 8 fewer than requested.

Adapt our test accordingly.

[0] https://github.com/tytso/e2fsprogs/commit/a23b50cdb55cb826b8745cbc37429c93f7b60c66

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reported-by: Kevin Tomary <kevin.tomary@hotmail.com>
Reported-by: Leon de Rooij <leon@exquisip.nl>
Reported-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/go: security bump to 1.17.1
Christian Stewart [Fri, 10 Sep 2021 09:44:14 +0000 (02:44 -0700)]
package/go: security bump to 1.17.1

The fix for CVE-2021-33196 can be bypassed by crafted inputs. As a result, the
NewReader and OpenReader functions in archive/zip can still cause a panic or an
unrecoverable fatal error when reading an archive that claims to contain a large
number of files, regardless of its actual size.

This is CVE-2021-39293.

https://golang.org/doc/devel/release.html#go1.16.minor

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agoConfig.in.legacy: drop 2021.08 entry duplicate
Fabrice Fontaine [Fri, 10 Sep 2021 06:47:22 +0000 (08:47 +0200)]
Config.in.legacy: drop 2021.08 entry duplicate

Drop 2021.08 entry duplicate added with commit
531b2a10cda6bae78ecc141c9fe48f2024f71dbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agoutils/getdeveloperlib.py: explicitly set devs document encoding
James Knight [Sun, 5 Sep 2021 01:35:19 +0000 (21:35 -0400)]
utils/getdeveloperlib.py: explicitly set devs document encoding

Explicitly indicate the file encoding to UTF-8 for the DEVELOPERS
document. This prevents Unicode decoding errors when printing E-Mail
entries with Unicode characters on systems using an alternative default
encoding (e.g. 'CP1252').

This corrects the following observed error:

    $ ./utils/get-developers outgoing/*
    Traceback (most recent call last):
      File "utils\get-developers", line 105, in <module>
        __main__()
      File "utils\get-developers", line 47, in __main__
        devs = getdeveloperlib.parse_developers()
      File "...\buildroot\utils\getdeveloperlib.py", line 239, in parse_developers
        for line in f:
      File "...\Python<ver>\lib\encodings\cp1252.py", line 23, in decode
        return codecs.charmap_decode(input,self.errors,decoding_table)[0]
    UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 6659: character maps to <undefined>

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/udisks: bump to version 2.9.3
Giulio Benetti [Fri, 3 Sep 2021 21:15:26 +0000 (23:15 +0200)]
package/udisks: bump to version 2.9.3

Bump to version 2.9.3:
This is a small bugfix release focusing on exfat and dosfstools upstream
changes, along with a couple of test fixes.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libnss: bump to version 3.69.1
Giulio Benetti [Fri, 3 Sep 2021 16:49:52 +0000 (18:49 +0200)]
package/libnss: bump to version 3.69.1

Release Notes (not yet available, but should eventually land):
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.69.1_release_notes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/glslsandbox-player: add vivante fb default
Julien Olivain [Fri, 3 Sep 2021 19:50:21 +0000 (21:50 +0200)]
package/glslsandbox-player: add vivante fb default

When BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_FB is selected, the native windowing
will be set to vivante frame buffer.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/glslsandbox-player: add mali-t76x support
Julien Olivain [Fri, 3 Sep 2021 19:50:20 +0000 (21:50 +0200)]
package/glslsandbox-player: add mali-t76x support

mali-t76x frame buffer driver requires a "null" native windowing
system. With such a system, the default EGL display is selected.

Fixes:
http://autobuild.buildroot.net/results/4a579346463d0d946d6d2a05723270135d728981

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/glslsandbox-player: bump to version v2021.08.24
Julien Olivain [Fri, 3 Sep 2021 19:50:19 +0000 (21:50 +0200)]
package/glslsandbox-player: bump to version v2021.08.24

Changes since v2019.08.23:
- Some X11 improvements (fullscreen support)
- New EGL driver debug messages
- Wayland improvements (xdg_shell, fullscreen support)
- KMS/DRM/GBM improvements (use drmGetDevices2())
- Use eglGetPlatformDisplay() if available
- New "nullws" native windowing system
- License hash changed due to copyright date update

Fixes:
http://autobuild.buildroot.net/results/a950e90d5f8405534566df5c7a8875c293cf8845

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-visualisation-waveform: bump version to 19.0.1-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:58 +0000 (08:11 +0200)]
package/kodi-visualisation-waveform: bump version to 19.0.1-Matrix

Release notes:
https://github.com/xbmc/visualization.waveform/releases/tag/19.0.1-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-visualisation-shadertoy: bump version to 19.0.1-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:57 +0000 (08:11 +0200)]
package/kodi-visualisation-shadertoy: bump version to 19.0.1-Matrix

Changelog:
https://github.com/xbmc/visualization.shadertoy/blob/Matrix/visualization.shadertoy/changelog.txt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-peripheral-joystick: bump version to 19.0.0-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:56 +0000 (08:11 +0200)]
package/kodi-peripheral-joystick: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/peripheral.joystick/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-audioencoder-wav: bump version to 19.0.0-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:55 +0000 (08:11 +0200)]
package/kodi-audioencoder-wav: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/audioencoder.wav/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-audioencoder-vorbis: bump version to 19.0.0-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:54 +0000 (08:11 +0200)]
package/kodi-audioencoder-vorbis: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/audioencoder.vorbis/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-audioencoder-lame: bump version to 19.0.0-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:53 +0000 (08:11 +0200)]
package/kodi-audioencoder-lame: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/audioencoder.lame/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kodi-audioencoder-flac: bump version to 19.0.0-Matrix
Bernd Kuhls [Sun, 5 Sep 2021 06:11:52 +0000 (08:11 +0200)]
package/kodi-audioencoder-flac: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/audioencoder.flac/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mosquitto: security bump to v2.0.12
Titouan Christophe [Sun, 5 Sep 2021 09:41:18 +0000 (11:41 +0200)]
package/mosquitto: security bump to v2.0.12

Mosquitto 2.0.12 is a security and bugfix release, notably:

* Fix possible DoS in the broker with MQTTv5
* Fix CVE-2020-13849
* Fix CVE-2021-34434

Read the full announcement on
https://mosquitto.org/blog/2021/08/version-2-0-12-released/

Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libsoup: bump to version 2.74.0
Francois Perrad [Sun, 5 Sep 2021 06:58:23 +0000 (08:58 +0200)]
package/libsoup: bump to version 2.74.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/librsvg: bump to version 2.50.7
Francois Perrad [Sun, 5 Sep 2021 06:58:08 +0000 (08:58 +0200)]
package/librsvg: bump to version 2.50.7

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/harfbuzz: bump to version 2.9.0
Francois Perrad [Sun, 5 Sep 2021 06:57:55 +0000 (08:57 +0200)]
package/harfbuzz: bump to version 2.9.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/can-utils: bump to version 2021.08.0
Francois Perrad [Sun, 5 Sep 2021 06:57:38 +0000 (08:57 +0200)]
package/can-utils: bump to version 2021.08.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/vsftpd: bump to 3.0.5
Francois Perrad [Sun, 5 Sep 2021 06:57:23 +0000 (08:57 +0200)]
package/vsftpd: bump to 3.0.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sqlite: bump to version 3.36.0
Francois Perrad [Sun, 5 Sep 2021 06:57:04 +0000 (08:57 +0200)]
package/sqlite: bump to version 3.36.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/liberation: bump to version 2.1.4
Francois Perrad [Sun, 5 Sep 2021 06:56:50 +0000 (08:56 +0200)]
package/liberation: bump to version 2.1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoMerge branch 'next'
Peter Korsgaard [Sat, 4 Sep 2021 17:57:30 +0000 (19:57 +0200)]
Merge branch 'next'

3 years agoKickoff 2021.11 cycle
Peter Korsgaard [Sat, 4 Sep 2021 11:46:21 +0000 (13:46 +0200)]
Kickoff 2021.11 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agodocs/website/news.html: add 2021.08 announcement link
Peter Korsgaard [Sat, 4 Sep 2021 11:45:29 +0000 (13:45 +0200)]
docs/website/news.html: add 2021.08 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agoUpdate for 2021.08
Peter Korsgaard [Sat, 4 Sep 2021 09:53:24 +0000 (11:53 +0200)]
Update for 2021.08

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/xvisor: fix build with gcc 11
Fabrice Fontaine [Fri, 3 Sep 2021 22:20:17 +0000 (00:20 +0200)]
package/xvisor: fix build with gcc 11

Fix the following build failures with gcc 11:

/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/build/drivers/drivers.o: in function `psmouse_extensions':
/home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `lifebook_detect'
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `alps_detect'
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `ps2pp_init'
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `trackpoint_detect'
/home/buildroot/autobuild/instance-3/output-1/host/lib/gcc/arm-buildroot-linux-gnueabihf/11.1.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/buildroot/autobuild/instance-3/output-1/build/xvisor-0.3.0/drivers/input/mouse/psmouse-base.c:783: undefined reference to `fsp_detect'

Fixes:
 - http://autobuild.buildroot.org/results/69062b9c80567d135edd48890165e69881cf7295

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/python-pyudev: fix build with python 2
Fabrice Fontaine [Fri, 3 Sep 2021 21:45:25 +0000 (23:45 +0200)]
package/python-pyudev: fix build with python 2

Build with python 2 is broken since bump to version 0.22.0 in commit
0adb141d342707ca9a478f57f187e38d5bb716f2:

error:   File "/usr/lib/python2.7/site-packages/pyudev/_ctypeslib/utils.py", line 54
    lib = cdll.LoadLibrary(f'lib{name}.so')
                                         ^
SyntaxError: invalid syntax

Fixes:
 - http://autobuild.buildroot.org/results/8b35ca6910dfd881953968f8d88ac842d57c9262

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/wlroots: fix uclibc build
Fabrice Fontaine [Wed, 1 Sep 2021 20:29:12 +0000 (22:29 +0200)]
package/wlroots: fix uclibc build

Fix the following uclibc build failure raised since at least bump to
version 0.11.0 in commit 0bc9c89612cc1f41f9a64f6e889f8bcd8a871e30:

In file included from ../include/wlr/types/wlr_data_device.h:13,
                 from ../types/data_device/wlr_drag.c:7:
../include/wlr/types/wlr_seat.h:221:18: error: field 'last_event' has incomplete type
  221 |  struct timespec last_event;
      |                  ^~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/3501ceb4290638b2f6d70aaa4d8ce74feec3a525

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3 years agopackage/qt5/qt5base: fix build on riscv32
Fabrice Fontaine [Thu, 2 Sep 2021 16:22:22 +0000 (18:22 +0200)]
package/qt5/qt5base: fix build on riscv32

Fix the following build failure on riscv32:

In file included from thread/qmutex_linux.cpp:45,
                 from thread/qmutex.cpp:804:
thread/qfutex_p.h: In function 'int QtLinuxFutex::_q_futex(int*, int, int, quintptr, int*, int)':
thread/qfutex_p.h:116:30: error: '__NR_futex' was not declared in this scope; did you mean '_q_futex'?
  116 |         int result = syscall(__NR_futex, addr, op | FUTEX_PRIVATE_FLAG, val, val2, addr2, val3);
      |                              ^~~~~~~~~~
      |                              _q_futex

Fixes:
 - http://autobuild.buildroot.org/results/ffedfc000029072d5d724e98ab4551fe973658ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3 years agopackage/gstreamer1/gstreamer1-mm: fix build with libglib 2.68
Fabrice Fontaine [Thu, 2 Sep 2021 16:42:42 +0000 (18:42 +0200)]
package/gstreamer1/gstreamer1-mm: fix build with libglib 2.68

Fix the following build failure raised since bump of libglib2 to version
2.68.1 in commit c72524fb1b1c6b7dd1b1f511eea0fdf5a39dd3a0:

../gstreamer/gstreamermm/register.h: In function 'GType Gst::register_mm_type(const gchar*)':
/home/buildroot/autobuild/run/instance-2/output-1/host/bin/../arm-buildroot-linux-gnueabihf/sysroot/usr/include/glib-2.0/glib/gatomic.h:117:19: error: argument 2 of '__atomic_load' must not be a pointer to a 'volatile' type
  117 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/1c75cdcc183642fd4c15d56825848b83f2ad11a5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
3 years agopackage/netsniff-ng: fix static build of mausezahn
Baruch Siach [Fri, 3 Sep 2021 04:39:28 +0000 (07:39 +0300)]
package/netsniff-ng: fix static build of mausezahn

The configure script fails to detect libpcap in static build because it
does not take into account the libnl dependency on link. As a result the
configure script silently disables mausezahn build even when
BR2_PACKAGE_NETSNIFF_NG_MAUSEZAHN is enabled. Add upstream patch to use
pkg-config for libpcap link flags.

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/python3: security bump to version 3.9.7
Peter Korsgaard [Fri, 3 Sep 2021 06:53:18 +0000 (08:53 +0200)]
package/python3: security bump to version 3.9.7

Fixes the following security issues:

- bpo-42278: Replaced usage of tempfile.mktemp() with TemporaryDirectory to
  avoid a potential race condition.

- bpo-41180: Add auditing events to the marshal module, and stop raising
  code.__init__ events for every unmarshalled code object.  Directly
  instantiated code objects will continue to raise an event, and audit event
  handlers should inspect or collect the raw marshal data.  This reduces a
  significant performance overhead when loading from .pyc files.

- bpo-44394: Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to
  get the fix for the CVE-2013-0340 “Billion Laughs” vulnerability.  This
  copy is most used on Windows and macOS.

- bpo-43124: Made the internal putcmd function in smtplib sanitize input for
  presence of \r and \n characters to avoid (unlikely) command injection.

https://www.python.org/downloads/release/python-397/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/openmpi: fix fortran build
Fabrice Fontaine [Tue, 31 Aug 2021 16:53:04 +0000 (18:53 +0200)]
package/openmpi: fix fortran build

Fix the following build failure with fortran raised since bump to
version 4.0.0 in commit 366e7f1ecb4343ef8b18aef2a11c49055cc89abe and
https://github.com/open-mpi/ompi/commit/99730f798b7aef4c87d282aa24b98916fea45bb6:

checking size of Fortran type(test_mpi_handle)... (cached) 4
checking alignment of Fortran type(test_mpi_handle)... configure: error: Can not determine alignment of type(test_mpi_handle) when cross-compiling

Fixes:
 - http://autobuild.buildroot.org/results/86ffde2f67ffc0bfaeebe72fe742a5c241bc580b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/nginx: override endianness
Nevo Hed [Tue, 31 Aug 2021 20:24:50 +0000 (16:24 -0400)]
package/nginx: override endianness

Though several cross-compilation patches exist in buildroot's nginx
package dir they do not seem to address endianness.

The test program generated by the configure script compiles but fails
to run (as it is built for another architecture) but the script does
not distinguish between the failure to run the program and an
indication of certain endianness.  As such the fallback of big-endian
is used.  This setting then causes http2 headers (anything not in the
static dictionary) to come out as undecipherable trash on 64bit
targets (see ngx_http_v2_huff_encode_buf()).

This commit includes a patch to the configure script to allow a
`--force-endianness=big|little` flag as well as setting that flag in
buildroot's package makefile.

Signed-off-by: Nevo Hed <nhed+buildroot@starry.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoUpdate for 2021.08-rc3
Peter Korsgaard [Wed, 1 Sep 2021 06:00:08 +0000 (08:00 +0200)]
Update for 2021.08-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/linux-pam: find libxcrypt through pkg-config
Fabrice Fontaine [Mon, 30 Aug 2021 16:05:58 +0000 (18:05 +0200)]
package/linux-pam: find libxcrypt through pkg-config

Find libxcryt through pkg-config to avoid the following build failure:

/home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: .libs/passverify.o: in function `.L30':
passverify.c:(.text+0x368): undefined reference to `crypt_checksalt'

Fixes:
 - http://autobuild.buildroot.org/results/20b14e222b35c2d1269960075832b784ba81aa1a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/fetchmail: bump version to 6.4.21
Bernd Kuhls [Sat, 28 Aug 2021 08:25:31 +0000 (10:25 +0200)]
package/fetchmail: bump version to 6.4.21

Release notes:
https://sourceforge.net/p/fetchmail/mailman/message/37333073/

"It contains the security fix for CVE-2021-36386 of 6.4.20, and fixes
a regression/a bug that causes log message truncation/run-together
prominently visible with --logfile that was introduced into 6.4.20."

Updated note for CVE-2021-36386:
https://sourceforge.net/p/fetchmail/mailman/message/37333078/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/php: security bump version to 8.0.10
Bernd Kuhls [Sat, 28 Aug 2021 08:13:30 +0000 (10:13 +0200)]
package/php: security bump version to 8.0.10

Quoting https://www.php.net/
"This is a security fix release."

Changelog: https://www.php.net/ChangeLog-8.php#8.0.10

CVE-ID were not mentioned in any of the fixed bugs.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/samba4: bump version to 4.14.7
Bernd Kuhls [Sat, 28 Aug 2021 08:04:46 +0000 (10:04 +0200)]
package/samba4: bump version to 4.14.7

Release notes of this bugfix release:
https://www.samba.org/samba/history/samba-4.14.7.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/c-ares: add C_ARES_CPE_ID_VENDOR
Fabrice Fontaine [Sat, 28 Aug 2021 15:06:04 +0000 (17:06 +0200)]
package/c-ares: add C_ARES_CPE_ID_VENDOR

cpe:2.3:a:c-ares_project:c-ares is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Ac-ares_project%3Ac-ares

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/c-ares: fix build with latest nodejs
Fabrice Fontaine [Sat, 28 Aug 2021 15:06:03 +0000 (17:06 +0200)]
package/c-ares: fix build with latest nodejs

Fix the following build failure with nodejs raised since bump to version
12.22.5 in commit 7038b029d8c8774eca6d7888d6642d7e84ff5165:

../src/cares_wrap.cc:42:11: fatal error: ares_nameser.h: No such file or directory
   42 | # include <ares_nameser.h>
      |           ^~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/a0f867d5e765fc1aa052de5e53ed350b3b20743f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/c-ares: security bump to version 1.17.2
Fabrice Fontaine [Sat, 28 Aug 2021 15:06:02 +0000 (17:06 +0200)]
package/c-ares: security bump to version 1.17.2

- NodeJS passes NULL for addr and 0 for addrlen to
  ares_parse_ptr_reply() on systems where malloc(0) returns NULL. This
  would cause a crash.
- If ares_getaddrinfo() was terminated by an ares_destroy(), it would
  cause a crash
- Crash in sortaddrinfo() if the list size equals 0 due to an unexpected
  DNS response
- Expand number of escaped characters in DNS replies as per RFC1035 5.1
  to prevent spoofing follow-up
- Perform validation on hostnames to prevent possible XSS due to
  applications not performing valiation themselves

https://c-ares.haxx.se/changelog.html#1_17_2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/json-for-modern-cpp: bump version to 3.10.2
Michael Nosthoff [Thu, 26 Aug 2021 19:55:46 +0000 (21:55 +0200)]
package/json-for-modern-cpp: bump version to 3.10.2

License file year changed to 2021.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
[Arnout: update license hash]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain: handle toolchains with multiple ld*.so.* files
Jonah Petri [Thu, 26 Aug 2021 19:34:24 +0000 (15:34 -0400)]
toolchain: handle toolchains with multiple ld*.so.* files

Some 3rd party vendor toolchains have multiple files which match
these glob patterns.  In this case, the shell script failed.
Switching to use find and xargs solves the issue.

Signed-off-by: Jonah Petri <jonah@petri.us>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/python-aioprocessing: new package
James Hilliard [Sat, 14 Aug 2021 02:12:23 +0000 (20:12 -0600)]
package/python-aioprocessing: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Arnout: add to DEVELOPERS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/rwmem: new package
Tomi Valkeinen [Fri, 6 Aug 2021 12:48:54 +0000 (15:48 +0300)]
package/rwmem: new package

rwmem is small tool to read & write device registers. Some of the
features include:

- support mmaped and i2c devices
- addressing with 8/16/32/64 bit addresses
- accessing 8/16/32/64 bit memory locations
- little and big endian addressess and accesses
- bitfields
- address ranges
- register description database

Python bindings are disabled for now.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qt5/qt5opcua: new package
Andreas Naumann [Wed, 4 Aug 2021 14:02:11 +0000 (16:02 +0200)]
package/qt5/qt5opcua: new package

The Qt OPC UA module implements a Qt API to interact with OPC UA on
top of a 3rd party OPC UA stack.
The default is open62541, which is bundled by qt5opcua in version 1.0,
so we dont need to provide/depend on br's own open62541 package.

Another dependency is mbedtls, but it's optional.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/vuejs-router: new package
Thomas Claveirole [Mon, 2 Aug 2021 15:48:12 +0000 (17:48 +0200)]
package/vuejs-router: new package

Vue Router is the official router for Vue.js.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
[Arnout: use comment instead of submenu]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agosupport/testing/tests: add test for check_bin_arch
Thomas Petazzoni [Tue, 17 Aug 2021 08:39:28 +0000 (10:39 +0200)]
support/testing/tests: add test for check_bin_arch

This tests build a bogus package that installs a binary built for the
host architecture into $(TARGET_DIR), which should cause a build
failure, at least as long as the host architecture isn't ARM.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
[yann.morin.1998@free.fr: drop uneeded subprocess import to fix flake8]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/infra: add log_file_path() function
Thomas Petazzoni [Tue, 17 Aug 2021 08:39:27 +0000 (10:39 +0200)]
support/testing/infra: add log_file_path() function

Some tests will need to grep through the build log to verify that some
features are working are expected. In order to allow them to open the
build log, we provide a new function called log_file_path(), which
returns the path to the log file if available.

We also use this function in open_log_file().

Note that open_log_file() cannot be used directly to grep through the
log file at the end of a build: because it opens in "a+" mode, it
greps starting from the end of the file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agodocs/manual: fix typo in name of a qmake-package variable
Yann E. MORIN [Sat, 28 Aug 2021 20:44:32 +0000 (22:44 +0200)]
docs/manual: fix typo in name of a qmake-package variable

Since commit 39d334faa5c1 (package/pkg-qmake: add <pkg>_SYNC_QT_HEADERS
support), the qmake-package infra recognises said variable but the
manual has the wrong variable name, which is missing the "_QT" part.

We fix that by amending the manual to document the proper variable name.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook
Herve Codina [Tue, 17 Aug 2021 08:39:20 +0000 (10:39 +0200)]
package/pkg-qmake.mk: Move QT5_QT_CONF_FIXUP to post-prepare hook

QT5_QT_CONF_FIXUP tweaks files for per-package directory build.
This is typically the kind of operation expected to be in
post-prepare hook.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoqt5: Fix sporadic build failure during top-level parallel build
Andreas Naumann [Tue, 17 Aug 2021 08:39:19 +0000 (10:39 +0200)]
qt5: Fix sporadic build failure during top-level parallel build

When using top level parallel build, independent qt5 packages may be
built in parallel. Because of their staging dirs being hardlinked, they
all use the same qt.conf file to manipulate during configure, while
another qt5 package might already use it. This leads to weird build failures
because the folders qmake is using are diverted in erratic ways.
Fix this by actually recreating a non-shared qt.conf file for every package.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Reviewed-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/stunnel: bump to version 5.60
Pierre-Jean Texier [Thu, 26 Aug 2021 19:11:58 +0000 (21:11 +0200)]
package/stunnel: bump to version 5.60

This release includes the following changes:

- New features
  - New 'sessionResume' service-level option to allow or disallow session resumption
  - Added support for the new SSL_set_options() values.
  - Download fresh ca-certs.pem for each new release.
- Bugfixes
  - Fixed 'redirect' with 'protocol'. This combination is not supported by 'smtp', 'pop3' and 'imap' protocols.
  - Enforced minimum WIN32 log window size.
  - Fixed support for password-protected private keys with OpenSSL 3.0 (thx to Dmitry Belyavskiy).
  - Added missing TLS options supported in OpenSSL 1.1.1k.

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libqmi: bump to version 1.30.0
Yegor Yefremov [Thu, 26 Aug 2021 14:02:58 +0000 (16:02 +0200)]
package/libqmi: bump to version 1.30.0

This release introduces meson build system support.

As meson files are only available in git, switch the location to
https://gitlab.freedesktop.org.

Add support for bash-completion.

Add an upstream patch fixing the compilation without gobject-intorspection.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mesa3d-demos: use BR2_PACKAGE_MESA3D_GBM
Fabrice Fontaine [Tue, 24 Aug 2021 07:01:41 +0000 (09:01 +0200)]
package/mesa3d-demos: use BR2_PACKAGE_MESA3D_GBM

Use BR2_PACKAGE_MESA3D_GBM introduced by commit
b6c051acf787c804e732bc58ba8d7e440701a168

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mpv: use BR2_PACKAGE_MESA3D_GBM
Fabrice Fontaine [Tue, 24 Aug 2021 06:49:16 +0000 (08:49 +0200)]
package/mpv: use BR2_PACKAGE_MESA3D_GBM

Use BR2_PACKAGE_MESA3D_GBM instead of BR2_PACKAGE_MESA3D_OPENGL_EGL as
GBM can also be provided by a DRI driver

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/sdl2: use BR2_PACKAGE_MESA3D_GBM
Fabrice Fontaine [Tue, 24 Aug 2021 06:43:57 +0000 (08:43 +0200)]
package/sdl2: use BR2_PACKAGE_MESA3D_GBM

BR2_PACKAGE_MESA3D_GBM should be used instead of
BR2_PACKAGE_MESA3D_OPENGL_EGL as spotted by Arnout in review of
https://patchwork.ozlabs.org/project/buildroot/patch/20210821093908.677218-1-fontaine.fabrice@gmail.com/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/luv: bump to version 1.41.1-0
Jörg Krause [Sun, 22 Aug 2021 18:41:21 +0000 (18:41 +0000)]
package/luv: bump to version 1.41.1-0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoutils/test-pkg: add gitlab-ci support
Romain Naour [Sat, 21 Aug 2021 13:46:46 +0000 (15:46 +0200)]
utils/test-pkg: add gitlab-ci support

The gitlab-ci support in test-pkg allows to parallelize the test-pkg
work into several gitlab jobs. It's much faster than local serialized
testing.

To trigger this, a developer will have to add, in the latest commit of
their branch, a token on its own line, followed by a configuration
fragment, e.g.:

    test-pkg config:
    SOME_OPTION=y
    # OTHER_OPTION is not set
    SOME_VARIABLE="some value"

This configuration fragment is used as input to test-pkg.

To be able to generate one job per test to run, we need the list of
tests in the parent pipeline, and the individual .config files (one per
test) in the child pipeline. We use the newly-introduced --prepare-only
mode to test-pkg, and collect all the generated .config files as
artefacts; those are inherited in the child pipeline via the
"needs::pipeline" and "needs::job" directives. This is a bit tricky,
and is best described by the Gitlab-CI documentation [0].

We also list those .config files to generate the actual list of jobs to
run in the child pipeline.

Notes:
  - if the user provides an empty fragment, this is considered an error:
    indeed, without a fragment (and the package name), there is no way
    to know what to test;
  - if that fragment yields an empty list of tests, then there is
    nothing to test either, so that is also considered an error.

[0] https://docs.gitlab.com/ee/ci/yaml/README.html#artifact-downloads-to-child-pipelines

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr:
  - split the change to test-pkg to its own patch
  - generate the actual yml snippet in support/scripts/generate-gitlab-ci-yml,
    listing the .config files created by test-pkg
  - some code-style-candies...
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoutils/test-pkg: add mode to only prepare .config files
Yann E. MORIN [Sat, 21 Aug 2021 13:46:45 +0000 (15:46 +0200)]
utils/test-pkg: add mode to only prepare .config files

Currently, running test-pkg is only done locally on the developers
machine.

In a follow up commit, we'll add the possibility to run test-pkg in a
gitlab-ci pipeline and, to speed things up, with one job per buildable
configuration.

As such, we will need to make sure that test-pkg only prepares the
configurations, and that it does not build them.

Add such a mode, with a new option, --prepare-only

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/log4cxx: add libesmtp optional dependency
Fabrice Fontaine [Sat, 21 Aug 2021 10:44:03 +0000 (12:44 +0200)]
package/log4cxx: add libesmtp optional dependency

libesmtp is an optional dependency (disabled by default) since version
0.10.0 and
https://github.com/apache/logging-log4cxx/commit/8a35b429c6b1bc73635d9b6db482523619199a90

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoconfigs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP
Yauheni Saldatsenka [Wed, 25 Aug 2021 18:18:56 +0000 (21:18 +0300)]
configs/stm32f469_disco_xip_defconfig: alternative defconfig for XIP

Update STM32F469-disco configuration files to operate with new kernel.

Result of make tinyconfig was taken as a starting point to fit kernel
into flash memory.
Current setup kernel + rootfs fits in 1.6MB on-chip flash memory

Fixes:
    - Move kernel to new flash bank due to growth of dtb size
    - Fix kernel start address in bootloader
    - Remove outdated path which doesn't affect normal operation mode

For better binary size optimization gcc LTO is turned on.

Signed-off-by: Yauheni Saldatsenka <eugentoo@gmail.com>
[Arnout:
 - squash 3 patches into 1;
 - remove unused dts file;
 - move linux/linux.config to linux-xip.config;
 - add a sentence to readme to say SD card is not needed.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/owfs: remove Python sysconfigdata fixup
Herve Codina [Tue, 17 Aug 2021 08:39:18 +0000 (10:39 +0200)]
package/owfs: remove Python sysconfigdata fixup

This fixup is done at pkg-generic level for all packages.
So, it is no more needed in owfs package.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>