buildroot.git
3 years agoconfigs/imx6sx-sdb: bump U-Boot and kernel versions
Fabio Estevam [Fri, 6 Aug 2021 00:30:13 +0000 (21:30 -0300)]
configs/imx6sx-sdb: bump U-Boot and kernel versions

Bump U-Boot to version 2021.07 and kernel to 5.10.55.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mpv: add staging install
Zeno Endemann [Fri, 13 Aug 2021 10:56:18 +0000 (12:56 +0200)]
package/mpv: add staging install

MPV is not only an application, but also a library, which should be avaliable in staging.

Signed-off-by: Zeno Endemann <zeno.endemann@mailbox.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kodi-inputstream-adaptive: bump version to 2.6.23-Matrix
Bernd Kuhls [Sat, 7 Aug 2021 10:16:01 +0000 (12:16 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.6.23-Matrix

Changelog of this bugfix release:
https://github.com/xbmc/inputstream.adaptive/blob/Matrix/inputstream.adaptive/addon.xml.in#L18

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libnss: bump to version 3.69
Giulio Benetti [Mon, 9 Aug 2021 15:22:30 +0000 (17:22 +0200)]
package/libnss: bump to version 3.69

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

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/policycoreutils: Install scripts folder
José Pekkarinen [Thu, 19 Aug 2021 07:57:58 +0000 (10:57 +0300)]
package/policycoreutils: Install scripts folder

This folder includes the fixfiles script that is used
by selinux autorelabel feature. Currently it installs
it under /usr/sbin.

Signed-off-by: José Pekkarinen <jose.pekkarinen@unikie.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/re2: bump version to 2021-08-01
Michael Nosthoff [Fri, 13 Aug 2021 18:23:28 +0000 (20:23 +0200)]
package/re2: bump version to 2021-08-01

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ripgrep: bump to version 13.0.0
Sam Voss [Sat, 14 Aug 2021 19:51:43 +0000 (14:51 -0500)]
package/ripgrep: bump to version 13.0.0

Also adds patch to make the jemalloc feature optional on musl, due to
toolchains not being supported by upstream project.

Signed-off-by: Sam Voss <sam.voss@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ipset: bump to version 7.15
Pierre-Jean Texier [Sat, 14 Aug 2021 19:08:18 +0000 (21:08 +0200)]
package/ipset: bump to version 7.15

This includes the following changes:

7.15
    - Kernel part changes
        - netfilter: ipset: Fix maximal range check in hash_ipportnet4_uadt() (Nathan Chancellor)

7.14
    - Userspace changes
        - Add missing function to libipset.map and bump library version (reported by Jan Engelhardt)
    - Kernel part changes
        - 64bit division isn't allowed on 32bit, replace it with shift

7.13
    - Userspace changes
        - When parsing protocols by number, do not check it in /etc/protocols.
        - Add missing hunk to patch "Allow specifying protocols by number"
    - Kernel part changes
        - Limit the maximal range of consecutive elements to add/delete fix

7.12
    - Userspace changes
        - Allow specifying protocols by number (Haw Loeung)
        - Fix example in ipset.8 manpage discovered by Pablo Neira Ayuso.
        - tests: add tests ipset to nftables (Pablo Neira Ayuso)
        - add ipset to nftables translation infrastructure (Pablo Neira Ayuso)
        - lib: Detach restore routine from parser (Pablo Neira Ayuso)
        - lib: split parser from command execution (Pablo Neira Ayuso)
        - Fix patch "Parse port before trying by service name"
    - Kernel part changes
        - Limit the maximal range of consecutive elements to add/delete (reported by Brad Spengler)
        - Backport "netfilter: use nfnetlink_unicast()"
        - Backport "netfilter: nfnetlink: consolidate callback type"
        - Backport "netfilter: nfnetlink: add struct nfnl_info and pass it to callbacks"
        - Backport "netfilter: add helper function to set up the nfnetlink header and use it"

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/spdlog: bump version to 1.9.2
Michael Nosthoff [Sat, 14 Aug 2021 11:50:30 +0000 (13:50 +0200)]
package/spdlog: bump version to 1.9.2

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/fmt: bump version to 8.0.1
Michael Nosthoff [Sat, 14 Aug 2021 11:50:29 +0000 (13:50 +0200)]
package/fmt: bump version to 8.0.1

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/go: bump to version 1.17
Christian Stewart [Mon, 16 Aug 2021 23:31:08 +0000 (16:31 -0700)]
package/go: bump to version 1.17

The latest Go release, version 1.17, arrives six months after Go 1.16.
Most of its changes are in the implementation of the toolchain,
runtime, and libraries.

https://golang.org/doc/go1.17

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libnss: enable parallel building
Giulio Benetti [Mon, 16 Aug 2021 17:45:53 +0000 (19:45 +0200)]
package/libnss: enable parallel building

Parallel Makefile building has been fixed with version 3.62 on commit
[1], so enable parallel building by substituting $(MAKE1) with $(MAKE)
in libnss.mk.

[1]: https://hg.mozilla.org/projects/nss/rev/a5c857139b37476ca10032504ea876b97e066424

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sdl2: bump version to 2.0.16
Michael Fischer [Mon, 16 Aug 2021 07:52:10 +0000 (09:52 +0200)]
package/sdl2: bump version to 2.0.16

Signed-off-by: Michael Fischer <mf@go-sys.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/usbutils: bump to version 014
Baruch Siach [Thu, 19 Aug 2021 15:37:13 +0000 (18:37 +0300)]
package/usbutils: bump to version 014

Drop autoreconf; tarball now ships the configure script.

Rename license files and update hashes. Added SPDX markers. No license
change.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xmrig: bump version to 6.14.1
Bernd Kuhls [Wed, 18 Aug 2021 17:49:41 +0000 (19:49 +0200)]
package/xmrig: bump version to 6.14.1

Changelog:
https://github.com/xmrig/xmrig/blob/master/CHANGELOG.md

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cage: bump to version 0.1.4
Adrian Perez de Castro [Wed, 11 Aug 2021 11:11:58 +0000 (14:11 +0300)]
package/cage: bump to version 0.1.4

Update Cage to version 0.1.4, which is a bug fix release that
supports using wlroots 0.14.x.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wlroots: bump to version 0.14.1
Adrian Perez de Castro [Wed, 11 Aug 2021 11:11:57 +0000 (14:11 +0300)]
package/wlroots: bump to version 0.14.1

Update to version 0.14.1, and adapt to upstream changes:

- seatd/libseat is now used unconditionally, the logind/elogind build
  options have been removed (which can be used through seatd, no
  functionality is lost).
- Now wlroots includes a software-based renderer (which uses pixman),
  and the OpenGL ES one is optional. For now it is left always enabled
  (as it was before) but this could be changed in the future.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wayland-protocols: bump to version 1.21
Adrian Perez de Castro [Wed, 11 Aug 2021 11:11:56 +0000 (14:11 +0300)]
package/wayland-protocols: bump to version 1.21

Update to version 1.21, which is required by newer wlroots releases.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/dav1d: bump version to 0.9.1
Bernd Kuhls [Fri, 13 Aug 2021 04:54:29 +0000 (06:54 +0200)]
package/dav1d: bump version to 0.9.1

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/{mesa3d, mesa3d-headers}: bump version to 21.1.7
Bernd Kuhls [Fri, 13 Aug 2021 04:38:44 +0000 (06:38 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 21.1.7

Release notes for this bugfix release:
https://lists.freedesktop.org/archives/mesa-announce/2021-August/000642.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/meson: bump to version 0.59.0
James Hilliard [Thu, 12 Aug 2021 21:43:20 +0000 (15:43 -0600)]
package/meson: bump to version 0.59.0

Rebase patches on 0.59.0.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sshguard: bump to version 2.4.2
Angelo Compagnucci [Thu, 12 Aug 2021 14:29:40 +0000 (16:29 +0200)]
package/sshguard: bump to version 2.4.2

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-web2py: bump to version v2.21.1
Angelo Compagnucci [Thu, 12 Aug 2021 14:18:01 +0000 (16:18 +0200)]
package/python-web2py: bump to version v2.21.1

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-pydal: bump to version v20200321.1
Angelo Compagnucci [Thu, 12 Aug 2021 14:18:00 +0000 (16:18 +0200)]
package/python-pydal: bump to version v20200321.1

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-pillow: bump to version 8.3.1
Angelo Compagnucci [Thu, 12 Aug 2021 13:41:28 +0000 (15:41 +0200)]
package/python-pillow: bump to version 8.3.1

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libbpf: bump to version 0.4.0
James Hilliard [Thu, 12 Aug 2021 08:22:10 +0000 (02:22 -0600)]
package/libbpf: bump to version 0.4.0

License name typo fixed upsteam.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-dbus-next: bump to version 0.2.3
James Hilliard [Thu, 12 Aug 2021 07:58:28 +0000 (01:58 -0600)]
package/python-dbus-next: bump to version 0.2.3

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xmrig: bump version to 6.14.0
Bernd Kuhls [Wed, 11 Aug 2021 20:42:49 +0000 (22:42 +0200)]
package/xmrig: bump version to 6.14.0

Changelog:
https://github.com/xmrig/xmrig/blob/master/CHANGELOG.md

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libinput: bump version to 1.18.1
Peter Seiderer [Wed, 11 Aug 2021 20:25:52 +0000 (22:25 +0200)]
package/libinput: bump version to 1.18.1

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2021-August/041934.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/tvheadend: always use host-python3
Bernd Kuhls [Wed, 11 Aug 2021 20:14:40 +0000 (22:14 +0200)]
package/tvheadend: always use host-python3

According to
https://elinux.org/Buildroot:Python2Packages#Python_in_the_build_system
tvheadend needs to be updated to follow
"We aim at removing dependencies on host-python(2) where possible"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-txaio: bump to version 21.2.1
James Hilliard [Sun, 8 Aug 2021 10:13:11 +0000 (04:13 -0600)]
package/python-txaio: bump to version 21.2.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/osm2pgsql: bump version 1.5.1
Maxim Kochetkov [Tue, 10 Aug 2021 12:18:49 +0000 (15:18 +0300)]
package/osm2pgsql: bump version 1.5.1

Release-notes: https://github.com/openstreetmap/osm2pgsql/releases/tag/1.5.1

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/cups-filters: bump to version 1.28.9
Angelo Compagnucci [Tue, 10 Aug 2021 13:47:53 +0000 (15:47 +0200)]
package/cups-filters: bump to version 1.28.9

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/apparmor: bump to version 3.0.3
Angelo Compagnucci [Mon, 9 Aug 2021 22:31:47 +0000 (00:31 +0200)]
package/apparmor: bump to version 3.0.3

This patch bumps apparmor and libapparmor to maintenance release 3.0.3

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgeos: bump version to 3.9.1
Maxim Kochetkov [Tue, 10 Aug 2021 10:24:40 +0000 (13:24 +0300)]
package/libgeos: bump version to 3.9.1

Remove upstream patch.
Add myself to DEVELOPERS

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/timescaledb: bump version to 2.4.0
Maxim Kochetkov [Tue, 10 Aug 2021 08:23:36 +0000 (11:23 +0300)]
package/timescaledb: bump version to 2.4.0

Release notes: https://github.com/timescale/timescaledb/releases/tag/2.4.0

Starting from 2.4.0 timescaledb runs TAP tests by default so disable it by
-DTAP_CHECKS=OFF.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/kmsxx: update to latest
Tomi Valkeinen [Fri, 6 Aug 2021 12:50:47 +0000 (15:50 +0300)]
package/kmsxx: update to latest

We can drop all the patches as they have been sorted out in upstream.

The wrapped fmt was dropped, so drop the corresponding option.

The option to use a system pybind11 was named differently upstream, as a
feature rather as a boolean. Adapt accordingly.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
[yann.morin.1998@free.fr: explain dropped/changed options]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kmsxx: remove erroneous use of static-libc option
Tomi Valkeinen [Fri, 6 Aug 2021 12:50:46 +0000 (15:50 +0300)]
package/kmsxx: remove erroneous use of static-libc option

Currently, for a static-only build, we pass -Dstatic-libc=true. The
reason for that was not recorded when the package was converted to
meson.

The -Dstatic-libc=true option, despite its name, is not about linking
statically against libc, but against libgcc and libstdc++.

In Buildroot, we forcibly pass -static when calling the compiler and
linker, so everything is already linked statically.

For a shared build, -Dstatic-libc=false has no effect at all.

Drop this option altogether, as it is not needed, and is confusing.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
[yann.morin.1998@free.fr: expand commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoutils/test-pkg: remove configurations that are skipped
Yann E. MORIN [Mon, 28 Jun 2021 20:15:13 +0000 (22:15 +0200)]
utils/test-pkg: remove configurations that are skipped

When the config fragment provided by the user is not usable with a
specific toolchain configuration, the resulting .config file was kept
around.

In a follow up commit, we'll need to know, from outside test-pkg, if a
specific configuration was indeed usable or not.

So, unless if the user actually requested to keep the build directories,
remove the .config file when it contains a configration that would be
skipped.

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: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agosupport/misc/gitlab-ci.yml.in: templatise the make command
Romain Naour [Mon, 28 Jun 2021 20:15:12 +0000 (22:15 +0200)]
support/misc/gitlab-ci.yml.in: templatise the make command

In a followup commit, the make command used to log and display the last
lines on error will be used in another job.
Factorize it by introducing .run_make template.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/zstd: Prefer dynamically linked tool
Norbert Lange [Wed, 4 Aug 2021 21:56:51 +0000 (23:56 +0200)]
package/zstd: Prefer dynamically linked tool

If the libzstd DSO is available, then link the tool
against it.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/zstd: rework build and install
Norbert Lange [Wed, 4 Aug 2021 21:56:50 +0000 (23:56 +0200)]
package/zstd: rework build and install

Create libzstd.pc in the build step instead of triggering a
lazy build during installation when it is missing.

Move PREFIX=/usr to ZSTD_OPTS. It is needed for building libzstd.pc
during the build step; for consistency, make sure it's available in all
steps.

Attach '-release' to the targets, since the default is to
build lib-release and zstd-release. Its only effect is to clear
DEBUGFLAGS (which are just warning flags).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[Arnout: add check-package disable]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libcap: fix build failure due to unessesary patch
Illia Bitkov [Thu, 5 Aug 2021 16:16:53 +0000 (18:16 +0200)]
package/libcap: fix build failure due to unessesary patch

Fix the following build failure which is raised since bump
to version 2.52 in commit 38b0759432070f7a57c0fab84d44a07caead6f06

Applying 0001-Permit-compilation-with-std-c89.patch using patch:
patching file Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Makefile.rej
patching file libcap/cap_test.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file libcap/cap_test.c.rej
patching file psx/psx.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file psx/psx.c.rej
patching file tests/exploit.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file tests/exploit.c.rej
patching file tests/libcap_launch_test.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tests/libcap_launch_test.c.rej
patching file tests/uns_test.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file tests/uns_test.c.rej

Problem is because patch was integrated into package repo

Fixes:
http://autobuild.buildroot.net/results/2f619b233e2cfb4d7eeb3cc178c849c74d11f2ca/
Signed-off-by: Illia Bitkov <illia.bitkov@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoMerge branch 'master' into next
Arnout Vandecappelle (Essensium/Mind) [Thu, 5 Aug 2021 19:48:03 +0000 (21:48 +0200)]
Merge branch 'master' into next

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pixman: fix build failure due to gcc bug 101737
Giulio Benetti [Tue, 3 Aug 2021 08:42:45 +0000 (10:42 +0200)]
package/pixman: fix build failure due to gcc bug 101737

The pixman package exhibits gcc bug 101737 when built for the SH4
architecture with optimization enabled, which causes a build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_101737=y.
Also let's add PIXMAN_CFLAGS and pass the Codesourcery work around CFLAGS
to it for consistency like we do for the rest of the packages.

Fixes:
http://autobuild.buildroot.net/results/b20/b20869bbb48edb1f0a847ea9e2e1a0462d6350be/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_101737
Giulio Benetti [Tue, 3 Aug 2021 08:42:44 +0000 (10:42 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_101737

pixman package fails to build for the SH4 architecture with optimization
enabled with gcc up to 11.1.0:
http://autobuild.buildroot.net/results/b20/b20869bbb48edb1f0a847ea9e2e1a0462d6350be/

It's been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101737

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pistache: fix build with gcc 11
Fabrice Fontaine [Thu, 5 Aug 2021 19:12:47 +0000 (21:12 +0200)]
package/pistache: fix build with gcc 11

Fix the following build failure with gcc 11:

In file included from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/async.h:10,
                 from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/client.h:9,
                 from /tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/client/client.cc:7:
/tmp/instance-3/output-1/build/pistache-f2f5a50fbfb5b8ef6cf1d3d2a9d442a8270e375d/src/../include/pistache/typeid.h:26:12: error: expected type-specifier before 'size_t'
   26 |   operator size_t() const { return reinterpret_cast<size_t>(id_); }
      |            ^~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/2443559df8c2357476e4cbdbebb08280cbb80a3b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoDEVELOPERS: add Giulio Benetti to libfuse3 package
Giulio Benetti [Thu, 5 Aug 2021 17:34:39 +0000 (19:34 +0200)]
DEVELOPERS: add Giulio Benetti to libfuse3 package

Add myself as libfuse3 package maintainer.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/x11r7/xlib_libxshmfence: disable on riscv32
Fabrice Fontaine [Thu, 5 Aug 2021 11:21:23 +0000 (13:21 +0200)]
package/x11r7/xlib_libxshmfence: disable on riscv32

xlib_libxshmfence unconditionally uses SYS_futex which raises the
following build failure on riscv32:

xshmfence_futex.h:58:17: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'?
   58 |  return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
      |                 ^~~~~~~~~
      |                 sys_futex

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mupdf: fix CVE-2021-37220
Fabrice Fontaine [Thu, 5 Aug 2021 09:22:26 +0000 (11:22 +0200)]
package/mupdf: fix CVE-2021-37220

MuPDF through 1.18.1 has an out-of-bounds write because the cached color
converter does not properly consider the maximum key size of a hash
table. This can, for example, be seen with crafted "mutool draw" input.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mupdf: renumber second patch
Fabrice Fontaine [Thu, 5 Aug 2021 09:22:25 +0000 (11:22 +0200)]
package/mupdf: renumber second patch

Fix mistake in second patch number added by commit
d7d23710facd789c8986de055e30792af2591f2c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qpdf: fix CVE-2021-36978
Fabrice Fontaine [Thu, 5 Aug 2021 09:09:20 +0000 (11:09 +0200)]
package/qpdf: fix CVE-2021-36978

QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer
overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and
Pl_AES_PDF::finish) when a certain downstream write fails.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/uhd: fix build with gcc 11
Fabrice Fontaine [Thu, 5 Aug 2021 08:59:55 +0000 (10:59 +0200)]
package/uhd: fix build with gcc 11

Fix the following build failure with gcc 11:

In file included from /tmp/instance-4/output-1/build/uhd-3.15.0.0/host/lib/usrp/dboard/e3xx/e3xx_ad9361_iface.hpp:14,
                 from /tmp/instance-4/output-1/build/uhd-3.15.0.0/host/lib/usrp/dboard/e3xx/e3xx_ad9361_iface.cpp:7:
/tmp/instance-4/output-1/build/uhd-3.15.0.0/host/lib/include/uhdlib/utils/rpc.hpp: In function 'bool {anonymous}::await_rpc_connected_state(std::shared_ptr<rpc::client>, std::chrono::milliseconds)':
/tmp/instance-4/output-1/build/uhd-3.15.0.0/host/lib/include/uhdlib/utils/rpc.hpp:28:27: error: 'sleep_for' is not a member of 'std::this_thread'
   28 |         std::this_thread::sleep_for(std::chrono::milliseconds(1));
      |                           ^~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/1591ff7fabb09e4eb79f3aa293fbb228c255c45b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/network-manager: needs gcc >= 4.9
Fabrice Fontaine [Thu, 5 Aug 2021 08:33:25 +0000 (10:33 +0200)]
package/network-manager: needs gcc >= 4.9

network-manager needs gcc >= 4.9 since bump to version 1.32.2 in commit
360d1aad84449c6a1993d8c7e469dc0cd35339a2 to avoid the following build
failure:

src/libnm-core-impl/nm-setting-bond.c: At top level:
src/libnm-core-impl/nm-setting-bond.c:149:5: error: array initialized from non-constant array expression
     NM_MAKE_STRV("stable", "bandwidth", "count");
     ^

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoboot/optee-os: use dedicated 3.13.0 patch directory
Clément Léger [Wed, 4 Aug 2021 10:33:53 +0000 (12:33 +0200)]
boot/optee-os: use dedicated 3.13.0 patch directory

Existing patch is for 3.13.0 optee version but is located at the root
of optee-os folder, leading to error when applying it on more recent
version. Move it to a dedicated 3.13.0 folder.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libebml: fix build with gcc 11
Fabrice Fontaine [Thu, 5 Aug 2021 08:01:07 +0000 (10:01 +0200)]
package/libebml: fix build with gcc 11

Fix the following build failure with gcc 11:

/tmp/instance-0/output-1/build/libebml-1.4.2/src/EbmlString.cpp: In member function 'virtual filepos_t libebml::EbmlString::ReadData(libebml::IOCallback&, libebml::ScopeMode)':
/tmp/instance-0/output-1/build/libebml-1.4.2/src/EbmlString.cpp:147:41: error: 'numeric_limits' is not a member of 'std'
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                         ^~~~~~~~~~~~~~
/tmp/instance-0/output-1/build/libebml-1.4.2/src/EbmlString.cpp:147:67: error: expected primary-expression before '>' token
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                                                   ^
/tmp/instance-0/output-1/build/libebml-1.4.2/src/EbmlString.cpp:147:70: error: '::max' has not been declared; did you mean 'std::max'?
  147 |     auto Buffer = (GetSize() + 1 < std::numeric_limits<std::size_t>::max()) ? new (std::nothrow) char[GetSize() + 1] : nullptr;
      |                                                                      ^~~
      |                                                                      std::max

Fixes:
 - http://autobuild.buildroot.org/results/3a28507127eae47994ca62e2b656da32bd2fb1f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/usbguard: needs at least a crypto backend
Fabrice Fontaine [Wed, 4 Aug 2021 10:07:36 +0000 (12:07 +0200)]
package/usbguard: needs at least a crypto backend

Since its addition in commit fbff7d7289cc95db991184f890f4ca1fcf8a101e,
usbguard needs a crypto backend otherwise the build will fail on:

checking for sodium... no
checking for libcrypto... no
checking for powerpc-buildroot-linux-uclibc-libgcrypt-config... no
checking for libgcrypt-config... no
checking for LIBGCRYPT - version >= 1.5.0... no
configure: error: The selected crypto backend library is not available.

So select sodium as the default crypto backend as this is the default
choice in configure.ac.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/luaossl: requires DES support in openssl
Fabrice Fontaine [Wed, 4 Aug 2021 09:51:29 +0000 (11:51 +0200)]
package/luaossl: requires DES support in openssl

Enable DES in openssl to fix build failure raised since commit
a83d41867c8d69a77d5cd0a665aa216af5340359

Fixes:
 - http://autobuild.buildroot.org/results/3e043f992f81ba1e7ad7a2c64d73425e074301a2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/php: drop mcrypt
Fabrice Fontaine [Mon, 2 Aug 2021 21:04:02 +0000 (23:04 +0200)]
package/php: drop mcrypt

mcrypt has been dropped from php since version 7.2.0 and
https://github.com/php/php-src/commit/5a17f632d4c7d936385485a0cb187172f33eb97a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/openlayers: bump to version 6.6.1
Thomas Claveirole [Mon, 2 Aug 2021 09:51:42 +0000 (11:51 +0200)]
package/openlayers: bump to version 6.6.1

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/shairport-sync: fix static build with libsndfile
Fabrice Fontaine [Wed, 4 Aug 2021 20:59:56 +0000 (22:59 +0200)]
package/shairport-sync: fix static build with libsndfile

Fix the following static build failure with libsndfile raise since
commit dbc6e9e9f385995eb10bbfb0bb08e7674100ce66:

/tmp/instance-3/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-3/output-1/host/bin/../xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate':
flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString'

Fixes:
 - http://autobuild.buildroot.org/results/92ed30a6855ca11800b779718822bcba4a69c9a3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/shairport-sync: use --without-foo options
Fabrice Fontaine [Wed, 4 Aug 2021 20:59:55 +0000 (22:59 +0200)]
package/shairport-sync: use --without-foo options

Use --without-foo options to disable unused features, as they have been
fixed since version 3.3.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/shairport-sync: bump to version 3.3.8
Fabrice Fontaine [Wed, 4 Aug 2021 20:59:54 +0000 (22:59 +0200)]
package/shairport-sync: bump to version 3.3.8

Version 3.3.8 brings many bug fixes and enhancements and is recommended
for all users.

https://github.com/mikebrady/shairport-sync/releases/tag/3.3.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libuwsc: fix build with gcc 11
Fabrice Fontaine [Wed, 4 Aug 2021 09:45:05 +0000 (11:45 +0200)]
package/libuwsc: fix build with gcc 11

Fix the following build failure with gcc 11:

/tmp/instance-1/output-1/build/libuwsc-3.3.5/src/lua/uwsc_lua.c: In function 'uwsc_lua_on':
/tmp/instance-1/output-1/build/libuwsc-3.3.5/src/lua/uwsc_lua.c:177:5: error: this 'else' clause does not guard... [-Werror=misleading-indentation]
  177 |     else
      |     ^~~~
/tmp/instance-1/output-1/build/libuwsc-3.3.5/src/lua/uwsc_lua.c:180:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
  180 |         return 0;
      |         ^~~~~~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/sox: fix static build with libsndfile
Fabrice Fontaine [Wed, 4 Aug 2021 09:08:13 +0000 (11:08 +0200)]
package/sox: fix static build with libsndfile

Fix the following static build failure with libsndfile raised since
commit dbc6e9e9f385995eb10bbfb0bb08e7674100ce66:

configure:14720: checking for sf_open_virtual in -lsndfile
configure:14745: /tmp/instance-1/output-1/host/bin/xtensa-buildroot-linux-uclibc-gcc -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -mlongcalls -mauto-litpools -Os -g0  -static -Wall -Wmissing-prototypes -Wstrict-prototypes  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static -Wl,--as-needed conftest.c -lsndfile    >&5
conftest.c:73:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   73 | char sf_open_virtual ();
      | ^~~~
conftest.c:75:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
   75 | main ()
      | ^~~~
/tmp/instance-1/output-1/host/lib/gcc/xtensa-buildroot-linux-uclibc/10.3.0/../../../../xtensa-buildroot-linux-uclibc/bin/ld: /tmp/instance-1/output-1/host/xtensa-buildroot-linux-uclibc/sysroot/usr/lib/libsndfile.a(libsndfile_la-flac.o): in function `flac_byterate':
flac.c:(.text+0xfc): undefined reference to `FLAC__StreamDecoderErrorStatusString'

Fixes:
 - http://autobuild.buildroot.org/results/4bc58ed68b29642876bb02710d0cd4f31540de86

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/openzwave: fix example build
Fabrice Fontaine [Wed, 4 Aug 2021 08:31:37 +0000 (10:31 +0200)]
package/openzwave: fix example build

-std=c++11 has been wrongly removed from CFLAGS since commit
c5ca521e232eae31276e7a12d17f0cf9d9c0108f resulting in the following
build failure:

In file included from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Driver.h:38:0,
                 from /home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Manager.h:39,
                 from Main.cpp:37:
/home/buildroot/autobuild/run/instance-1/output-1/build/openzwave-62444b0f979c337d2091d77d89cf63c2ae9775cf/cpp/src/Node.h:566:32: error: 'std::shared_ptr' has not been declared
    void SetProductDetails(std::shared_ptr<Internal::ProductDescriptor> product);
                                ^

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/system-config-printer: add host desktop-file-utils dependency
James Hilliard [Tue, 3 Aug 2021 23:21:10 +0000 (17:21 -0600)]
package/system-config-printer: add host desktop-file-utils dependency

Fixes:
 - http://autobuild.buildroot.net/results/33f/33f00aa38d55e5d3acb7171428a7ef23532afa94

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/desktop-file-utils: new package
James Hilliard [Tue, 3 Aug 2021 23:21:09 +0000 (17:21 -0600)]
package/desktop-file-utils: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libfuse3: fix build failure on Microblaze due to wrong symver attribute detection
Giulio Benetti [Tue, 3 Aug 2021 22:41:06 +0000 (00:41 +0200)]
package/libfuse3: fix build failure on Microblaze due to wrong symver attribute detection

Add a patch to fix symver wrong detection. As explained into the patch
pending upstream[1] __has attribute() gives false positive when an
attribute is not supported[2] and this leads to assuming symver attribute
is present but it's not. This consequentely leads to build failure. I.e.
Microblaze doesn't really support it since it doesn't include elfos.h in
config.gcc that determines symver to be available.

[1]: https://github.com/libfuse/libfuse/pull/620
[2]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766

Fixes:
http://autobuild.buildroot.net/results/d6c/d6cfaf2aafaeda3c12d127f6a2d2e175b25e654f

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/syslog-ng: fix static build
Fabrice Fontaine [Tue, 3 Aug 2021 21:19:56 +0000 (23:19 +0200)]
package/syslog-ng: fix static build

Fix static build failure raised since bump to version 3.33.1 in commit
a9e405b07976815a5b7202a5fe50c8797e754178

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/php: opcache needs dynamic library
Fabrice Fontaine [Tue, 3 Aug 2021 17:06:02 +0000 (19:06 +0200)]
package/php: opcache needs dynamic library

opcache needs dynamic library since version 8.0.0 and
https://github.com/php/php-src/commit/9a06876072b9ccb023d4a14426ccb587f10882f3
otherwise the build will fail on:

/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: /tmp/instance-4/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libc.a(__uClibc_main.os): in function `__uClibc_fini':
__uClibc_main.c:(.text+0x15c): undefined reference to `__fini_array_start'
/tmp/instance-4/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/9.3.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: __uClibc_main.c:(.text+0x160): undefined reference to `__fini_array_end'

Fixes:
 - http://autobuild.buildroot.org/results/526d2e3108ff2506482d1665bcc3ed083961430f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/cegui: disable OpenGLES renderer
Bartosz Bilas [Tue, 3 Aug 2021 14:36:54 +0000 (16:36 +0200)]
package/cegui: disable OpenGLES renderer

Support of OpenGLES generates tons of autobuilders failures
so let's disable it till upstream finds a solution for that.

Fixes:
 http://autobuild.buildroot.net/results/41d/41d10c09472fbb8481a72c4f8bed789bb15bb3c2//
 http://autobuild.buildroot.net/results/9a8/9a8122b4d3d0aa9d71cdf8d21359411b130741f8//
 http://autobuild.buildroot.net/results/7e5/7e5dd79b48abde09bf4633b196579da5561f9fa1//

and many more...

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pdbg: Fix alignment error on autobuilder
Joel Stanley [Tue, 3 Aug 2021 08:16:15 +0000 (17:46 +0930)]
package/pdbg: Fix alignment error on autobuilder

The autobuilder fails when building for sh because of an alignment issue
in assembly that includes an external data file.

Fixes:
 http://autobuild.buildroot.net/results/457b88c4ba85edb42b3a36cce48bf90712f590bf/

This fix has been submitted upstream.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/azure-iot-sdk-c: fix build with gcc 11
Fabrice Fontaine [Tue, 3 Aug 2021 14:23:47 +0000 (16:23 +0200)]
package/azure-iot-sdk-c: fix build with gcc 11

Fix the following build failure with gcc 11:

/tmp/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/src/hmac.c:211:43: error: argument 2 of type 'uint8_t *' {aka 'unsigned char *'} declared as a pointer [-Werror=array-parameter=]
  211 | int hmacResult(HMACContext *ctx, uint8_t *digest)
      |                                  ~~~~~~~~~^~~~~~
In file included from /tmp/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/src/hmac.c:13:
/tmp/instance-7/output-1/build/azure-iot-sdk-c-LTS_01_2021_Ref01/c-utility/inc/azure_c_shared_utility/sha.h:252:42: note: previously declared as an array 'uint8_t[64]' {aka 'unsigned char[64]'}
  252 | int hmacResult(HMACContext *ctx, uint8_t digest[USHAMaxHashSize]);
      |                                  ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/11a6eebd0deea679683a93a5c8355d00acdfe51e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libuhttpd: fix build with wolfssl
Fabrice Fontaine [Wed, 4 Aug 2021 20:23:54 +0000 (22:23 +0200)]
package/libuhttpd: fix build with wolfssl

Fix the following build failure with wolfssl raised since bump to
version 3.12.1 in commit 4d85defa7103aadc74223868fb83ed0bed144f4d:

/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c: In function 'ssl_context_new':
/tmp/instance-4/output-1/build/libuhttpd-3.12.1/src/ssl/openssl.c:174:33: error: 'tls13_ciphersuites' undeclared (first use in this function)
  174 |     SSL_CTX_set_ciphersuites(c, tls13_ciphersuites);
      |                                 ^~~~~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/25db1e999950bbee069ba7364a228184a6a77808

Note: we have a reference to a pull request on the 'ssl' repository,
because it is a git submodule of libuhttpd.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: explain the reference to ssl/pull/1]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-rsa: new package
Raphaël Mélotte [Fri, 7 Feb 2020 14:16:28 +0000 (15:16 +0100)]
package/python-rsa: new package

Python-RSA is a pure-Python RSA implementation.

Signed-off-by: Raphaël Mélotte <raphael.melotte@essensium.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/vuejs: bump version to 3.1.5
Thomas Claveirole [Mon, 2 Aug 2021 14:20:56 +0000 (16:20 +0200)]
package/vuejs: bump version to 3.1.5

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libodb-mysql: fix build with gcc 11
Fabrice Fontaine [Tue, 3 Aug 2021 13:50:41 +0000 (15:50 +0200)]
package/libodb-mysql: fix build with gcc 11

Fixes:
http://autobuild.buildroot.net/results/8f0/8f0e3b604ff9809e3b415036b8d99521db33c4db
http://autobuild.buildroot.net/results/d03/d038b79e719c37a93d635c6b61443033094d8716

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/paho-mqtt-cpp: bump version to 1.2.0
Lang Daniel [Tue, 3 Aug 2021 06:29:06 +0000 (06:29 +0000)]
package/paho-mqtt-cpp: bump version to 1.2.0

"This release brings in some missing MQTT v5 features, support for
websocket headers and proxies, ALPN protocol lists, adds the builder
pattern for options, and fixes a number of bugs in both the C++ library
and the underlying C lib."

https://github.com/eclipse/paho.mqtt.cpp/releases/tag/v1.2.0

This also makes the patch obsolete, since these changes have been merged upstream.

Signed-off-by: Daniel Lang <d.lang@abatec.at>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python3: add patch to fix highly parallel builds
Thomas Petazzoni [Mon, 2 Aug 2021 21:10:39 +0000 (23:10 +0200)]
package/python3: add patch to fix highly parallel builds

Highly parallel host-python3 builds sometimes fail with:

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/tmp/instance-3/output-1/host/lib/python3.9/threading.py", line 973, in _bootstrap_inner
    self.run()
  File "/tmp/instance-3/output-1/host/lib/python3.9/concurrent/futures/process.py", line 317, in run
    result_item, is_broken, cause = self.wait_result_broken_or_wakeup()
  File "/tmp/instance-3/output-1/host/lib/python3.9/concurrent/futures/process.py", line 376, in wait_result_broken_or_wakeup
    worker_sentinels = [p.sentinel for p in self.processes.values()]
  File "/tmp/instance-3/output-1/host/lib/python3.9/concurrent/futures/process.py", line 376, in <listcomp>
    worker_sentinels = [p.sentinel for p in self.processes.values()]
RuntimeError: dictionary changed size during iteration

During the compile_all.py step of host-python3. This issue is reported
upstream at https://bugs.python.org/issue43498, and while not yet
fixed upstream, a PR was proposed with a possible fix for it. Seems
the PR seems reasonable, let's give it a chance and see if it improves
the situation.

Hopefully Fixes:

  http://autobuild.buildroot.net/results/ae6c4ab292589a4e4442dfb0a1286349a9bf4d29/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/grpc: bump version to 1.39.0
Michael Nosthoff [Wed, 4 Aug 2021 11:45:37 +0000 (13:45 +0200)]
package/grpc: bump version to 1.39.0

 * drop CMakeLists.txt patch applied upstream.
 * Update patch for wrap_memcpy.cc to match changed target file.
 * update patch numbering.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sysdig: fix C++ comment
Fabrice Fontaine [Tue, 3 Aug 2021 16:44:42 +0000 (18:44 +0200)]
package/sysdig: fix C++ comment

Replace libjson by jsoncpp for C++ dependency which was wrongly added
by commit 74fc60a267341879ca71f8eaa64a80f5b5aaf78b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gensio: bump to version 2.2.8
James Hilliard [Tue, 3 Aug 2021 10:06:43 +0000 (04:06 -0600)]
package/gensio: bump to version 2.2.8

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libmdbx: bump version to 0.10.2
Leonid Yuriev [Mon, 2 Aug 2021 21:04:24 +0000 (00:04 +0300)]
package/libmdbx: bump version to 0.10.2

Release notes: https://github.com/erthink/libmdbx/releases/tag/v0.10.2

Signed-off-by: Leonid Yuriev <leo@yuriev.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/e2fsprogs: bump to version 1.46.3
Francois Perrad [Mon, 2 Aug 2021 19:45:16 +0000 (21:45 +0200)]
package/e2fsprogs: bump to version 1.46.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libcap: bump to version 2.52
Francois Perrad [Mon, 2 Aug 2021 18:06:16 +0000 (20:06 +0200)]
package/libcap: bump to version 2.52

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pulseaudio: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:38:22 +0000 (12:38 +0200)]
package/pulseaudio: add SELinux module

Support for pulseaudio is added by the apps/pulseaudio module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wine: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:32:32 +0000 (12:32 +0200)]
package/wine: add SELinux module

Support for wine is added by the apps/wine module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/xscreensaver: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:30:24 +0000 (12:30 +0200)]
package/xscreensaver: add SELinux module

Support for xscreensaver is added by the apps/xscreensaver module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sigrok-cli: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:27:55 +0000 (12:27 +0200)]
package/sigrok-cli: add SELinux module

Support for sigrok-cli is added by the apss/sigrok module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/screen: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:25:40 +0000 (12:25 +0200)]
package/screen: add SELinux module

Support for screen is added by the apps/screen module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wireshark: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:22:21 +0000 (12:22 +0200)]
package/wireshark: add SELinux module

Support for wireshark is added by the apps/wireshark module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rpm: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:17:50 +0000 (12:17 +0200)]
package/rpm: add SELinux module

Support for rpm is added by the admin/rpm module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/usbguard: add SELinux module
Fabrice Fontaine [Wed, 4 Aug 2021 10:10:57 +0000 (12:10 +0200)]
package/usbguard: add SELinux module

Support for usbguard is added by the admin/usbguard module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/x11r7/xserver_xorg-server: add SELinux module
Fabrice Fontaine [Tue, 3 Aug 2021 22:07:02 +0000 (00:07 +0200)]
package/x11r7/xserver_xorg-server: add SELinux module

Support for xserver_xorg-server is added by the services/xserver module
in the SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/pcsc-lite: add SELinux module
Fabrice Fontaine [Tue, 3 Aug 2021 21:52:55 +0000 (23:52 +0200)]
package/pcsc-lite: add SELinux module

Support for pcsc-lite is added by the services/pcscd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/hostapd: add SELinux module
Fabrice Fontaine [Tue, 3 Aug 2021 21:33:20 +0000 (23:33 +0200)]
package/hostapd: add SELinux module

Support for hostapd is added by the services/hostapd module in the
SELinux refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/netsnmp: add SELinux module
Fabrice Fontaine [Tue, 3 Aug 2021 21:12:10 +0000 (23:12 +0200)]
package/netsnmp: add SELinux module

Support for netsnmp is added by the services/snmp module in the SELinux
refpolicy.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/zstd: observe Buildroot optimisation flags
Norbert Lange [Thu, 17 Jun 2021 09:14:54 +0000 (11:14 +0200)]
package/zstd: observe Buildroot optimisation flags

Use Buildroot's setting for optimization, zstd's build system
overrides CFLAGS (adds -O3), but MOREFLAGS can override again.
Quick tests show that using -O2 (like buildroot)
is actually a little faster than -O3 on x86_64 Atoms.

Disable the legacy format, these are just needed for
decompressing files created with pre-release version.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/zstd: fix dynamic build without threads
Fabrice Fontaine [Thu, 1 Jul 2021 19:29:59 +0000 (21:29 +0200)]
package/zstd: fix dynamic build without threads

Dynamic build without threads is broken since bump to version 1.5.0 in
commit aad8bbf58842dd62a4911d2c671ad9598e26b459

Indeed, dynamic library is built with threads support since
https://github.com/facebook/zstd/commit/91465e23b2710de031a762874cafb417f8b7556e

To fix this build failure, add -nomt if needed however libzstd-nomt is a
"special target that builds a library in single-thread mode _and_
without zstdmt_compress.c". For an unknown reason, this target fails to
build and don't create any symlinks so replace libzstd-{mt,nomt} by
lib-{mt,nomt} even if this will have the side effect of building a
shared and a static version of the library.

Move the existing HAVE_THREAD setting in the same condition.

While at it, also replace "libzstd.a libzstd" by "lib"

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Arnout: move HAVE_THREAD in the same condition]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>