buildroot.git
3 years agopackage/seatd: disable -Werror
Fabrice Fontaine [Sat, 12 Jun 2021 21:15:02 +0000 (23:15 +0200)]
package/seatd: disable -Werror

Disable -Werror to avoid the following build failure which is raised
since the addition of the package in commit
daae31149017cbf8b03634cfc56da132f7e1ad83

../seatd/seat.c: In function 'seat_activate_device':
../seatd/seat.c:374:48: error: unused parameter 'client' [-Werror=unused-parameter]
  374 | static int seat_activate_device(struct client *client, struct seat_device *seat_device) {
      |                                 ~~~~~~~~~~~~~~~^~~~~~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/python-flatbuffers: bump to version 2.0
Fabrice Fontaine [Sat, 12 Jun 2021 15:43:05 +0000 (17:43 +0200)]
package/python-flatbuffers: bump to version 2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/flatbuffers: bump to version 2.0.0
Fabrice Fontaine [Sat, 12 Jun 2021 15:43:04 +0000 (17:43 +0200)]
package/flatbuffers: bump to version 2.0.0

https://github.com/google/flatbuffers/releases/tag/v2.0.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/tiff: bump to version 4.3.0
Fabrice Fontaine [Sat, 12 Jun 2021 14:48:26 +0000 (16:48 +0200)]
package/tiff: bump to version 4.3.0

Update indentation in hash file (two spaces)

https://gitlab.com/libtiff/libtiff/-/blob/v4.3.0/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libbpf: add BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS
Fabrice Fontaine [Sat, 12 Jun 2021 14:17:14 +0000 (16:17 +0200)]
package/libbpf: add BR2_PACKAGE_LIBBPF_ARCH_SUPPORTS

libbpf does not support all architectures, for example ARM is not
supported resulting in the following build failure:

bpf.c:53:4: error: #error __NR_bpf not defined. libbpf does not support your arch.
 #  error __NR_bpf not defined. libbpf does not support your arch.
    ^

Fixes:
 - http://autobuild.buildroot.org/results/288d54100a2e736195a3a04a9e2e035d02ea5c16

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoboot/beaglev-secondboot: update to 2d200479 to add LICENSE file
Drew Fustini [Wed, 9 Jun 2021 06:38:37 +0000 (23:38 -0700)]
boot/beaglev-secondboot: update to 2d200479 to add LICENSE file

Update git commit ID to include recently added LICENSE file

Signed-off-by: Drew Fustini <drew@beagleboard.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoboot/beaglev-ddrinit: update to c0839f25 to add LICENSE file
Drew Fustini [Wed, 9 Jun 2021 06:38:35 +0000 (23:38 -0700)]
boot/beaglev-ddrinit: update to c0839f25 to add LICENSE file

Update git commit ID to include recently added LICENSE file

Signed-off-by: Drew Fustini <drew@beagleboard.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agobeaglev: update to new starfive linux and u-boot
Drew Fustini [Wed, 9 Jun 2021 06:38:33 +0000 (23:38 -0700)]
beaglev: update to new starfive linux and u-boot

Update the commit id for u-boot to include fixes from the starfive-tech
u-boot repository:

494e5ef7b807 jh7100: Enable full 2M L2 cache
4571f5a4e1e4 vic7100: enable cache ways (L2 cache)
abb06422a5cd Remove fdt_high and initrd_high for Starfive
93099a61c7b0 starfive: beaglev: Disable SIFIVE_CLINT and enable RISCV_TIMER
bfb5abac3d1f Revert "riscv: Enable the SiFive CLINT block driver in S-Mode(VIC7100 ONLY)"
7b70e1d44ba9 defconfig: enable cache_wayenable for better performance
7c585978616b configs: earlycon=sbi is deprecated

The commit abb06422a5cd ("Remove fdt_high and initrd_high for Starfive")
has removed the need for buildroot to patch the fdt_addr_r address.

Update linux from commit in the old 5.10 branch that Fedora image was
using to head of esmil_starlight branch [1] which is currently based
on 5.13-rc5 and represents the best kernel for this board [2]. This
commit was tagged as buildroot-20210609 because the branch gets rebased
regularly.

In addition, the updated kernel now has jh7100-beaglev-starlight.dtb so
buildroot no longer needs to copy the dtb from u-boot.

[1] https://github.com/starfive-tech/linux/tree/esmil_starlight
[2] https://github.com/starfive-tech/linux/issues/26

Signed-off-by: Drew Fustini <drew@beagleboard.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
[Arnout: add comment to refer to the tag in linux repo]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoRevert "package/pkg-python: invalidate precompiled _sysconfigdata*.pyc"
Yann E. MORIN [Thu, 8 Jul 2021 20:33:28 +0000 (22:33 +0200)]
Revert "package/pkg-python: invalidate precompiled _sysconfigdata*.pyc"

This causes build failure for the first host python package get built,
because the $(STAGING_DIR)/usr/lib/python* may not yet exist by tht
time, so find will whine and fail.

This was was alrady the case for the existing find call, a few lines
above, but that was ignored as find is a left-hand-side of a pipe, so
its return code was ignored.

Fixes:
    http://autobuild.buildroot.org/results/860a188bd270c59b1fee2f56f31e73689f0e4979/build-end.log

... where we can see the two find error messages, but only the second
one causes the breakage.

This reverts commit 836528f03eb89fdc64432f7a7470145ddf553b8c.

Reported-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Herve Codina <herve.codina@bootlin.com>
3 years agoConfig.in.legacy: create 2021.08
Fabrice Fontaine [Sun, 4 Jul 2021 20:51:12 +0000 (22:51 +0200)]
Config.in.legacy: create 2021.08

Commit 469c11c516959375f6caddde178adbdcdc5d9887 wrongly added a new
option to 2021.05 which has been released, move it to 2021.08

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pkg-python: invalidate precompiled _sysconfigdata*.pyc
Herve Codina [Tue, 6 Jul 2021 14:24:50 +0000 (16:24 +0200)]
package/pkg-python: invalidate precompiled _sysconfigdata*.pyc

For per-package directories, we fixup the _sysconfigdata*.py files, so
that they get proper path pointing to the current package's direcotry
structure.

However, the corresponding, pre-compiled blobs _sysconfigdata*.pyc were
left around, and thus are inconsistent with their source. They might
also be regenerated when a package would install a python module; this
regeneration would trigger the soon-to-be-introduced overwrite
detection.

This commit simply removes _sysconfigdata*.pyc files; they will anyway
be regenerated by the PYTHON{,3}_CREATE_PYC_FILES target finalize hooks.
This is an efficient way to guarantee the consistency between the source
and precompiled versions, and to not trigger the overwrite detection.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
[yann.morin.1998@free.frs: reword the commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/apache: move APACHE_FIXUP_APR_LIBTOOL to post-prepare hook
Herve Codina [Tue, 6 Jul 2021 14:24:49 +0000 (16:24 +0200)]
package/apache: move APACHE_FIXUP_APR_LIBTOOL to post-prepare hook

APACHE_FIXUP_APR_LIBTOOL 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>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/apr-util: use post-prepare hook
Herve Codina [Tue, 6 Jul 2021 14:24:48 +0000 (16:24 +0200)]
package/apr-util: use post-prepare hook

Original APR_UTIL_FIX_RULES_MK_LIBTOOL tweaked libtool and rules.mk.

libtool is provided by a dependency (apr). It needs to be tweaked
and, as an apr-util external file, this tweak is relevant in
<PKG>_POST_PREPARE_HOOKS.

rules.mk is generated by apr-util configure step and it is private
to apr-util. The modification performed needs to be kept in
<PKG>_POST_CONFIGURE_HOOKS.

This commit splits original APR_UTIL_FIX_RULES_MK_LIBTOOL and
attaches each part to the correct hook.

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>
3 years agopackage/pkg-generic: add post-prepare hooks
Herve Codina [Tue, 6 Jul 2021 14:24:47 +0000 (16:24 +0200)]
package/pkg-generic: add post-prepare hooks

Currently, when a package needs to modify files it inherits from its
dependencies, because they contain paths, we can only do that in a
pre- or post-configure hook.

However, whatever is done as part of those hooks, will be accounted
to the package itself, and thus will trigger file-overwrite detection.

So, we need a way to be able to actually modify files before we
start monitoring changes in those files.

We introduce a new set of hooks that an individual package can set,
or that a package infra can set, and that are called right before
we snapshot the state of target, and host (to which staging belongs),

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pkg-generic.mk: perform .la files fixup in per-package HOST_DIR
Herve Codina [Tue, 6 Jul 2021 14:24:46 +0000 (16:24 +0200)]
package/pkg-generic.mk: perform .la files fixup in per-package HOST_DIR

fixup-libtool-files was called on per-package STAGING_DIR.
Some host-xxxx packages have their .la files with directories
pointing outside their own per-package directory.

This commit, calling fixup-libtool-files on HOST_DIR, fixes this
issue.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pkg-generic.mk: Remove Info documents dir entry
Herve Codina [Tue, 6 Jul 2021 14:24:45 +0000 (16:24 +0200)]
package/pkg-generic.mk: Remove Info documents dir entry

Some packages (autotools for instance) install documentation
files using install-info. This program adds an entry in
the Info directory file (share/info/dir) and this causes
TARGET_DIR and/or HOST_DIR overwrite.

In order to avoid this overwrite this patch removes the Info
directory file right after any installation.

In order to be as generic as possible, this patch introduces
a new tooling to remove useless and conflicting files based
on the file and/or directory list <PKG>_DROP_FILES_OR_DIRS.
share/info/dir file is added for every packages in this list.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
[yann.morin.1998@free.fr:
  - don't expand when nothing to remove
  - do not add '/' between $(1) and % as files' paths are
    already absolute
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/e2fsprogs: fix fsck overwrite in HOST_DIR
Herve Codina [Tue, 6 Jul 2021 14:24:44 +0000 (16:24 +0200)]
package/e2fsprogs: fix fsck overwrite in HOST_DIR

host-e2fsprogs package overwrites the fsck program and some
manpages previously installed by host-util-linux package.

This patch simply disables fsck in host-e2fsprogs.

host-e2fsprogs is used to build final ext{2,3,4} images.
The missing host-e2fsprogs fsck tool (filesystem integrity check
tool) in HOST_DIR should not lead to issues.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoutils/scanpypi: search LICENSE.MD
Fabrice Fontaine [Sun, 4 Jul 2021 19:38:59 +0000 (21:38 +0200)]
utils/scanpypi: search LICENSE.MD

Some packages such as python-idna has a LICENSE.md file:
https://github.com/kjd/idna/blob/master/LICENSE.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoRevert "package/weston: disable -NDEBUG"
Yann E. MORIN [Sun, 4 Jul 2021 11:45:44 +0000 (13:45 +0200)]
Revert "package/weston: disable -NDEBUG"

Setting NDEBUG is no longer done by the infra.

This reverts commit 4d46a18555ad5c024b6d5fb28cf6f3cc0b2b0d5b.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoRevert "package/bitcoin: unset the NDEBUG flag"
Yann E. MORIN [Sun, 4 Jul 2021 11:43:28 +0000 (13:43 +0200)]
Revert "package/bitcoin: unset the NDEBUG flag"

Setting NDEBUG is no longer done by the infra.

This reverts commit f098aff4792a0e792bda4d7d1ec22a5af1381d83.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoRevert "core: enable 'NDEBUG' unless BR2_ENABLE_RUNTIME_DEBUG is set"
Yann E. MORIN [Sun, 4 Jul 2021 11:33:50 +0000 (13:33 +0200)]
Revert "core: enable 'NDEBUG' unless BR2_ENABLE_RUNTIME_DEBUG is set"

Enabling -DNEBUG, although correct on the paper, causes a lot of
packages to fail to build because they explicitly require not building
with NDEBUG; they use assert() to check actual runtime errors and expect
it to not be elidded away (sometimes with side effects in the arguments
passed to assert().

This reverts commit 5a8c50fe05afacc3cbe8e7347e238da9f242fab0, as
discussed on the list:
    http://lists.busybox.net/pipermail/buildroot/2021-July/313646.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/findutils: bump to version 4.8.0
Fabrice Fontaine [Sat, 3 Jul 2021 22:18:44 +0000 (00:18 +0200)]
package/findutils: bump to version 4.8.0

Update indentation in hash file (two spaces)

https://git.savannah.gnu.org/cgit/findutils.git/tree/NEWS?h=v4.8.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/blktrace: bump to version 1.3.0
Fabrice Fontaine [Sat, 3 Jul 2021 22:04:24 +0000 (00:04 +0200)]
package/blktrace: bump to version 1.3.0

- Use tar.bz2 tarball
- Update indentation in hash file (two spaces)
- Drop patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python3: bump version to 3.9.6
Adam Duskett [Sat, 3 Jul 2021 21:06:08 +0000 (14:06 -0700)]
package/python3: bump version to 3.9.6

Other changes:
  - Rename 0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch to
    0035-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch, as to not
    overlap with 0034-Add-an-option-to-disable-the-berkeleydb-module.patch

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoMakefile: document the <pkg>-reinstall target
Thomas Petazzoni [Sat, 3 Jul 2021 19:40:00 +0000 (21:40 +0200)]
Makefile: document the <pkg>-reinstall target

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libgpg-error: fix build issue following 1.42 bump
Thomas Petazzoni [Sat, 3 Jul 2021 21:47:29 +0000 (23:47 +0200)]
package/libgpg-error: fix build issue following 1.42 bump

The build failed with gazillions of:

"gpg-error.h:1211:2: error: stray '\' in program"

This is already fixed by upstream commit
33593864cd54143db594c4237bba41e14179061c, which we backport. It is
backported as patch 0001, and the existing 0001 renamed to 0002, as it
appears later in the libgpg-error Git history.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rpi-userland: bump version to 97bc818
Peter Seiderer [Sat, 3 Jul 2021 21:13:13 +0000 (23:13 +0200)]
package/rpi-userland: bump version to 97bc818

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rpi-firmware: bump version to 0e5a49e
Peter Seiderer [Sat, 3 Jul 2021 21:13:12 +0000 (23:13 +0200)]
package/rpi-firmware: bump version to 0e5a49e

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoconfigs/raspberrypi*: bump kernel version to 4afd064 (5.10.46)
Peter Seiderer [Sat, 3 Jul 2021 21:13:11 +0000 (23:13 +0200)]
configs/raspberrypi*: bump kernel version to 4afd064 (5.10.46)

Now based on 5.10.46 (from 5.10.36)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libtasn1: security bump to version 4.17.0
Fabrice Fontaine [Sun, 13 Jun 2021 21:00:13 +0000 (23:00 +0200)]
package/libtasn1: security bump to version 4.17.0

- Fix some clang issues due to illegal pointers, thanks to Stefan Weil.
- Fix memory leak caught by oss-fuzz, thanks to Dmitry Baryshkov.
- Fix bugs unveiled by Static Analysis, reported by Simo Sorce.

- LICENSE has been renamed to COPYING since
  https://gitlab.com/gnutls/libtasn1/-/commit/a72a8d1ef13436bf8916097f11c3fc90f07ba911

https://gitlab.com/gnutls/libtasn1/-/blob/v4.17.0/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-typing: bump to version 3.10.0.0
Fabrice Fontaine [Sun, 13 Jun 2021 19:06:42 +0000 (21:06 +0200)]
package/python-typing: bump to version 3.10.0.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/openocd: require wchar for the xds110 driver
Baruch Siach [Thu, 1 Jul 2021 14:54:07 +0000 (17:54 +0300)]
package/openocd: require wchar for the xds110 driver

The xds110 driver requires wchar, and is enabled by default. Make sure
to disable xds110 when wchar support is missing.

Fixes:
http://autobuild.buildroot.net/results/530bfe22ff509cf4ebfdf99a183312a1053f505f/
http://autobuild.buildroot.net/results/956538a0a6029137db19cce30dc340e2e30dd166/
http://autobuild.buildroot.net/results/ae7da2ce1389ece44a4ca65108fee02e318df7b3/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libressl: bump version to 3.3.3
Adam Duskett [Thu, 1 Jul 2021 17:14:54 +0000 (10:14 -0700)]
package/libressl: bump version to 3.3.3

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoconfigs/stm32mp157c_dk2: bump TF-A, Linux, U-Boot versions
Sergey Matyukevich [Thu, 1 Jul 2021 21:00:03 +0000 (00:00 +0300)]
configs/stm32mp157c_dk2: bump TF-A, Linux, U-Boot versions

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/slirp: security bump to version 4.6.1
Fabrice Fontaine [Thu, 1 Jul 2021 20:38:42 +0000 (22:38 +0200)]
package/slirp: security bump to version 4.6.1

mtod()-related buffer overflows (CVE-2021-3592 #44, CVE-2021-3593 #45,
CVE-2021-3594 #47, CVE-2021-3595 #46).

Drop patch (already in version)

https://gitlab.freedesktop.org/slirp/libslirp/-/blob/v4.6.1/CHANGELOG.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/gnupg2: bump to version 2.2.28
Fabrice Fontaine [Mon, 21 Jun 2021 05:47:47 +0000 (07:47 +0200)]
package/gnupg2: bump to version 2.2.28

https://dev.gnupg.org/T5153
https://dev.gnupg.org/T5234
https://dev.gnupg.org/T5482

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libassuan: bump to version 2.5.5
Fabrice Fontaine [Mon, 21 Jun 2021 05:47:46 +0000 (07:47 +0200)]
package/libassuan: bump to version 2.5.5

https://dev.gnupg.org/T5354

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libksba: bump to version 1.6.0
Fabrice Fontaine [Mon, 21 Jun 2021 05:47:45 +0000 (07:47 +0200)]
package/libksba: bump to version 1.6.0

Update hash of AUTHORS file (update in year:
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libksba.git;a=commitdiff;h=1015bea2f8a55b965dee29e17118bc73c2deca39)

https://dev.gnupg.org/T5479

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgcrypt: security bump to version 1.9.3
Fabrice Fontaine [Mon, 21 Jun 2021 05:47:44 +0000 (07:47 +0200)]
package/libgcrypt: security bump to version 1.9.3

Fix CVE-2021-33560: Libgcrypt before 1.8.8 and 1.9.x before 1.9.3
mishandles ElGamal encryption because it lacks exponent blinding to
address a side-channel attack against mpi_powm, and the window size is
not chosen appropriately. (There is also an interoperability problem
because the selection of the k integer value does not properly consider
the differences between basic ElGamal encryption and generalized ElGamal
encryption.) This, for example, affects use of ElGamal in OpenPGP.

https://dev.gnupg.org/T5305

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libgpg-error: bump to version 1.42
Fabrice Fontaine [Mon, 21 Jun 2021 05:47:43 +0000 (07:47 +0200)]
package/libgpg-error: bump to version 1.42

Drop patch (not needed since
https://dev.gnupg.org/rE1fb90a7da186ee2ee098a666f6f3a35bb1720e59)

https://dev.gnupg.org/T5194

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/intel-mediasdk: bump version to 21.2.2
Bernd Kuhls [Wed, 30 Jun 2021 15:24:58 +0000 (17:24 +0200)]
package/intel-mediasdk: bump version to 21.2.2

Removed dependency to X.org following changes in intel-mediadriver.
Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/intel-mediadriver: bump version to 21.2.3
Bernd Kuhls [Wed, 30 Jun 2021 15:24:57 +0000 (17:24 +0200)]
package/intel-mediadriver: bump version to 21.2.3

Rebased patch 0001 and removed another hardening flag.
Removed patch 0002 which was backported from upstream commit.
Renumbered and rebased patch 0003.
Reformatted hashes.

Reworked X11 support as it is an optional dependency:
https://github.com/intel/media-driver/pull/494

Release notes:
https://github.com/intel/media-driver/releases/tag/intel-media-21.2.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/intel-gmmlib: bump version to 21.2.1
Bernd Kuhls [Wed, 30 Jun 2021 15:24:56 +0000 (17:24 +0200)]
package/intel-gmmlib: bump version to 21.2.1

Added patch to remove hardening-related flags.

Updated license hash due to upstream commit
https://github.com/intel/gmmlib/commit/9253eb8b949515d2a5030f99163a35567fe81838

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/postgis: bump version to 3.1.2
Maxim Kochetkov [Wed, 23 Jun 2021 04:31:20 +0000 (07:31 +0300)]
package/postgis: bump version to 3.1.2

PostGIS 3.1.2
2021/05/21

 * Bug Fixes

  - #4871, TopoGeometry::geometry cast returns NULL for empty
           TopoGeometry objects (Sandro Santilli)
  - #4826, postgis_tiger_geocoder Better answers when no zip is provided
           (Regina Obe)
  - #4817, handle more complex compound coordinate dystems (Paul Ramsey)
  - #4842, Only do axis flips on CRS that have a "Lat" as the first column (Paul Ramsey)
  - Support recent Proj versions that have removed pj_get_release (Paul Ramsey)
  - #4835, Adjust tolerance for geodetic calculations (Paul Ramsey)
  - #4840, Improper conversion of negative geographic azimuth to positive (Paul Ramsey)
  - #4853, DBSCAN cluster not formed when recordset length equal to minPoints (Dan Baston)
  - #4863, Update bboxes after scale/affine coordinate changes (Paul Ramsey)
  - #4876, Fix raster issues related to PostgreSQL 14 tablefunc changes
           (Paul Ramsey, Regina Obe)
  - #4877, mingw64 PostGIS / PostgreSQL 14 compile (Regina Obe, Tom Lane)
  - #4838, Update to support Tiger 2020 (Regina Obe)
  - #4890, Change Proj cache lifetime to last as long as connection (Paul Ramsey)
  - #4845, Add Pg14 build support (Paul Ramsey)

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoconfigs/chromebook_elm: bump to Linux v5.10
Bilal Wasim [Wed, 23 Jun 2021 12:39:04 +0000 (13:39 +0100)]
configs/chromebook_elm: bump to Linux v5.10

Update the chromebook elm configuration to use v5.10 which is an LTS.

With v5.10, none of the patches previously needed to enable the display
are needed anymore. Deleting them and making minor updates to the linux
kernel configuration.

Signed-off-by: Bilal Wasim <bilal.wasim@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/openpgm: fix link for 32-bit x86
Baruch Siach [Fri, 25 Jun 2021 08:05:32 +0000 (11:05 +0300)]
package/openpgm: fix link for 32-bit x86

Add upstream patch fixing link with libpgm on build for x86 32-bit.

Fixes:
http://autobuild.buildroot.net/results/80254e61dc55bc07b16b3b66710946c71b9d53bb/
http://autobuild.buildroot.net/results/7bce71db86df8ba204153e0ab5022fb5ace9a6e5/
http://autobuild.buildroot.net/results/24a0aaff8f46953d015218a60da2c9856152eea3/

Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/tpm2-tools: security bump to version 4.3.2
Fabrice Fontaine [Mon, 21 Jun 2021 20:22:18 +0000 (22:22 +0200)]
package/tpm2-tools: security bump to version 4.3.2

- Fix CVE-2021-3565: A flaw was found in tpm2-tools in versions before
  5.1.1 and before 4.3.2. tpm2_import used a fixed AES key for the inner
  wrapper, potentially allowing a MITM attacker to unwrap the inner
  portion and reveal the key being imported. The highest threat from
  this vulnerability is to data confidentiality.
- LICENSE moved in doc directory since
  https://github.com/tpm2-software/tpm2-tools/commit/23aa5dca660f596b2ad89542d5100bd4ef0c871a
  and hash updated due to the following line added with
  https://github.com/tpm2-software/tpm2-tools/commit/305011b2a7d091740fa01dbfbd27a48a76f670f7
  Copyright 2019      Fraunhofer SIT sponsored by Infineon Technologies AG
- libuuid and wchar (for mbstate_t) are mandatory since version 4.2 and
  https://github.com/tpm2-software/tpm2-tools/commit/eca77c1419617a8e2d6d8008bac716878b0c27ca

https://github.com/tpm2-software/tpm2-tools/blob/4.3.2/doc/CHANGELOG.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libconfig: bump to version 1.7.3
Fabrice Fontaine [Mon, 21 Jun 2021 19:01:27 +0000 (21:01 +0200)]
package/libconfig: bump to version 1.7.3

- Drop patch (already in version)
- Use --disable-tests which is available since
  https://github.com/hyperrealm/libconfig/commit/7e2c1e6ac1f7c80a60c77bf1842edd112fe72188

https://github.com/hyperrealm/libconfig/releases/tag/v1.7.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/syslog-ng: bump to 3.32.1
Chris Packham [Mon, 21 Jun 2021 08:12:31 +0000 (20:12 +1200)]
package/syslog-ng: bump to 3.32.1

https://github.com/syslog-ng/syslog-ng/releases/tag/syslog-ng-3.32.1

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php: bump version to 8.0.7
Adam Duskett [Tue, 29 Jun 2021 16:50:54 +0000 (09:50 -0700)]
package/php: bump version to 8.0.7

Other changes:

  - Remove BR2_PACKAGE_PHP_EXT_JSON as the json extension is now an
    integral part of PHP and is no longer optional. Due to this, it is
    not added to Config.in.legacy.

  - Move BR2_PACKAGE_PHP_EXT_XMLRPC to Config.in.legacy as the extension has
    been removed. See https://wiki.php.net/rfc/unbundle_xmlprc for an
    explination.

  - Add a new patch that allows for opcache to cross-compile with PHP8.

  - Explicitly disable opcache-jit when opcache is enabled, as the JIT fails
    to cross-compile.

  - --enable-maintainer-zts is now --enable-zts

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-amqp: add add upstream php8 compatibility patches
Adam Duskett [Tue, 29 Jun 2021 16:50:53 +0000 (09:50 -0700)]
package/php-amqp: add add upstream php8 compatibility patches

These patches are necessary for compiling against php8. These patches also
retain the ability to compile against PHP7.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-geoip: add php8 build support
Adam Duskett [Tue, 29 Jun 2021 16:50:52 +0000 (09:50 -0700)]
package/php-geoip: add php8 build support

Add a patch that allows php-geoip to compile against php8.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-zmq: add upstream php8 compatibility patches
Adam Duskett [Tue, 29 Jun 2021 16:50:51 +0000 (09:50 -0700)]
package/php-zmq: add upstream php8 compatibility patches

These patches are necessary for compiling against php8. These patches also
retain the ability to compile against PHP7.2 and should be removed during the
next version bump.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-yaml: bump version to 2.2.1
Adam Duskett [Tue, 29 Jun 2021 16:50:50 +0000 (09:50 -0700)]
package/php-yaml: bump version to 2.2.1

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-xdebug: bump version to 3.0.4
Adam Duskett [Tue, 29 Jun 2021 16:50:49 +0000 (09:50 -0700)]
package/php-xdebug: bump version to 3.0.4

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-ssh2: bump version to 1.3.1
Adam Duskett [Tue, 29 Jun 2021 16:50:48 +0000 (09:50 -0700)]
package/php-ssh2: bump version to 1.3.1

Other changes:
  - Remove both upstream patches

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-memcached: bump version to 3.1.5
Adam Duskett [Tue, 29 Jun 2021 16:50:47 +0000 (09:50 -0700)]
package/php-memcached: bump version to 3.1.5

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-imagick: bump version to 3.5.0
Adam Duskett [Tue, 29 Jun 2021 16:50:46 +0000 (09:50 -0700)]
package/php-imagick: bump version to 3.5.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-gnupg: bump version to 1.5.0
Adam Duskett [Tue, 29 Jun 2021 16:50:45 +0000 (09:50 -0700)]
package/php-gnupg: bump version to 1.5.0

Other changes:
  - Change --with-gnupg=$(STAGING_DIR)/usr/include to
  --with-gnupg=$(STAGING_DIR)/usr as the make system appends /include to the
    gnupgp path now.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/php-amqp: bump version to 1.10.2
Adam Duskett [Tue, 29 Jun 2021 16:50:44 +0000 (09:50 -0700)]
package/php-amqp: bump version to 1.10.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoboot/grub2: workaround breakage with -O2, -O3 build
Andreas Hilse [Fri, 25 Jun 2021 11:42:51 +0000 (13:42 +0200)]
boot/grub2: workaround breakage with -O2, -O3 build

When grub2 (i386-pc) is built with -O2 or -O3 it is unable to boot
and the system will reboot in a loop.

Tony Battersby has bisected [0] the error down to this security bugfix:
boot/grub2/0132-kern-parser-Fix-a-stack-buffer-overflow.patch
There is also a bug report by Peter Seiderer about this [1].

As discussed on the mailing list [2], this patch introduces a workaround
in the grub2.mk overriding the global optimization settings with -Os
which results in a booting system.

References:
[0] https://savannah.gnu.org/bugs/?60458
[1] https://bugs.busybox.net/show_bug.cgi?id=13586
[2] http://lists.busybox.net/pipermail/buildroot/2021-May/311524.html

Signed-off-by: Andreas Hilse <andreas.hilse@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libselinux: fix build with gcc 4.8
Fabrice Fontaine [Thu, 10 Jun 2021 05:46:13 +0000 (07:46 +0200)]
package/libselinux: fix build with gcc 4.8

Fix build failure with gcc 4.8 which is raised since bump to version 3.2
in commit b7ff47516ea01436c53b4d1e2b7a5b595ef3ed80

Fixes:
 - http://autobuild.buildroot.org/results/37eb0952a763256fbf6ef3c668f6c95fbdf2dd35

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/uboot: fix uboot building host tools on x86 architecture
Kory Maincent [Wed, 30 Jun 2021 09:02:47 +0000 (11:02 +0200)]
boot/uboot: fix uboot building host tools on x86 architecture

The make all command run the tools/makefile on the process.
This makefile use "pkg-config" command to support static link.
The issue is the use of pkg-config configured for crosscompiling
to build binaries tools for host architecture.
To fix it, I add pkg-config environment variable to configure it for host.

Add a test to avoid future regress on the build of U-boot.

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
[yann.morin.1998@free.fr:
  - fix mixed space-TAB indentation
  - fix check-package
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/matio: Bump version to 1.5.21
Gwenhael Goavec-Merou [Wed, 30 Jun 2021 04:27:10 +0000 (06:27 +0200)]
package/matio: Bump version to 1.5.21

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/daemon: bump to version 0.8
Baruch Siach [Thu, 24 Jun 2021 11:39:40 +0000 (14:39 +0300)]
package/daemon: bump to version 0.8

Drop upstream patch.

Add another patch to fix build with musl.

Update COPYING hash because of date change.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/vlc: bump version to 3.0.16
Bernd Kuhls [Sun, 27 Jun 2021 06:19:35 +0000 (08:19 +0200)]
package/vlc: bump version to 3.0.16

Release notes:
https://www.videolan.org/vlc/releases/3.0.16.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/stellarium: bump version to 0.21.1
Bernd Kuhls [Sun, 27 Jun 2021 06:18:05 +0000 (08:18 +0200)]
package/stellarium: bump version to 0.21.1

Release notes:
http://stellarium.org/release/2021/06/24/stellarium-0.21.1.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/erofs-utils: bump version to 1.3
Gao Xiang [Fri, 25 Jun 2021 22:05:06 +0000 (06:05 +0800)]
package/erofs-utils: bump version to 1.3

- new upstream version (mainly add big pcluster support);
- add 0001-erofs-utils-manpage-only-install-erofsfuse.1-with-th.patch [1].

[1] https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/patch/?id=7ab34000c672adca90388a8fcb1f70a7d391d35c

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/opkg-utils: bump to version 0.4.5
Ryan Barnett [Thu, 24 Jun 2021 12:47:38 +0000 (07:47 -0500)]
package/opkg-utils: bump to version 0.4.5

Switch URL to HTTPS address for git repository.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/opkg: bump to version 0.4.5
Ryan Barnett [Thu, 24 Jun 2021 12:47:37 +0000 (07:47 -0500)]
package/opkg: bump to version 0.4.5

Along with version bump, update hash file to two space format and
switch to HTTPS URL.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/flac: enable building of libFLAC++
Jörg Krause [Mon, 28 Jun 2021 06:01:25 +0000 (06:01 +0000)]
package/flac: enable building of libFLAC++

Besides libFLAC, also build libFLAC++ when C++ support is enabled.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/portaudio: bump to version v190700_20210406
Jörg Krause [Mon, 28 Jun 2021 06:22:25 +0000 (06:22 +0000)]
package/portaudio: bump to version v190700_20210406

Note, that the download URL has changed for the new release.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[yann.morin.1998@free.fr: move 'v' out of _VERSION]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pdbg: Bump version to v3.3
Joel Stanley [Mon, 28 Jun 2021 07:16:30 +0000 (16:46 +0930)]
package/pdbg: Bump version to v3.3

Remove patches that now are upstream.

Upstream changes:
 - Implement p10 thread controls
 - Update p10 sbefifo chip-ops
 - For p10 switch default backend to sbefifo
 - Separate sbe api into new header libpdbg_sbe.h

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-cheetah: Bump version to 3.2.6
Gwenhael Goavec-Merou [Mon, 28 Jun 2021 09:54:45 +0000 (11:54 +0200)]
package/python-cheetah: Bump version to 3.2.6

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-remi: Bump version to 2021.3.2
Gwenhael Goavec-Merou [Mon, 28 Jun 2021 09:54:30 +0000 (11:54 +0200)]
package/python-remi: Bump version to 2021.3.2

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-markdown: Bump version to 3.3.4
Gwenhael Goavec-Merou [Mon, 28 Jun 2021 09:53:51 +0000 (11:53 +0200)]
package/python-markdown: Bump version to 3.3.4

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/kontron_pitx_imx8m: new defconfig
Heiko Thiery [Tue, 29 Jun 2021 10:06:31 +0000 (12:06 +0200)]
configs/kontron_pitx_imx8m: new defconfig

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: drop "exit $?" in post-image.sh]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/kontron_smarc_sal28: use kernel 5.13
Michael Walle [Mon, 28 Jun 2021 11:09:43 +0000 (13:09 +0200)]
configs/kontron_smarc_sal28: use kernel 5.13

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years ago{linux, linux-headers}: add version 5.13
Michael Walle [Mon, 28 Jun 2021 11:09:42 +0000 (13:09 +0200)]
{linux, linux-headers}: add version 5.13

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/fb-test-app: Move 'rosetta' prefix from VERSION to SITE
Andy Shevchenko [Mon, 28 Jun 2021 16:01:04 +0000 (19:01 +0300)]
package/fb-test-app: Move 'rosetta' prefix from VERSION to SITE

Move 'rosetta' prefix from VERSION to SITE to have version be
in a standard format.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/fb-test-app: Install fb-test-string
Andy Shevchenko [Thu, 17 Jun 2021 18:36:47 +0000 (21:36 +0300)]
package/fb-test-app: Install fb-test-string

fb-test-app suite provides a simple app to draw text on a given frame buffer.
Install it as well.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage: gcnano-binaries: bump version to 6.4.3
Kory Maincent [Mon, 28 Jun 2021 15:01:18 +0000 (17:01 +0200)]
package: gcnano-binaries: bump version to 6.4.3

Update to last version of gcnano-binaries compatible with kernel
from StMicroelectronics version 5.10

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopython: use system libffi for host-python
Erico Nunes [Mon, 21 Jun 2021 05:53:51 +0000 (22:53 -0700)]
python: use system libffi for host-python

python2 contains a bundled copy of libffi which is currently out of sync with
the latest libffi release. There is an option to use a system libffi, buildroot
already uses it for the target python2 build and for python3. In python3, the
bundled copy doesn't exist anymore and the system-provided libffi is required.

The bundled copy currently fails to build on aarch64 host due to a missing
definition of AARCH64_CALL_CONTEXT_SIZE. This define was removed from the
headers in recent libffi releases and the host compiler might be including the
system headers before the bundled headers.

To solve this and since buildroot already relies on system libffi for target
python2 and python3 anyway, switch host python2 to use system libffi.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Reviewed-by: Christian Stewart <christian@paral.in>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/tests: fix squashfs test
Yann E. MORIN [Sun, 27 Jun 2021 06:53:50 +0000 (08:53 +0200)]
support/tests: fix squashfs test

Commit 3cf2782906d5 (support/testing/infra/emulator.py: update pre-built
kernels) bumped the default kernels used by the testing infra.

However, the newer armv7 kernel (at least) no longer has support for
lz4-compressed squashfs filesystems.

This breaks the squashfs test:

    Filesystem uses "lz4" compression. This is not supported
    List of all partitions:
    1f00          131072 mtdblock0
     (driver?)
    1f01           32768 mtdblock1
     (driver?)
    b300            2048 mmcblk0
     driver: mmcblk
    No filesystem could mount root, tried:
     squashfs

    Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,0)

Updating the kernel again is a little bit cumbersome, while fixing the
actual test is relatively trivial, so this is what we do: we switch
over to lzo, which is supported by the new kernel:

    # zcat /proc/config.gz |grep SQUA
    CONFIG_SQUASHFS=y
    CONFIG_SQUASHFS_ZLIB=y
    # CONFIG_SQUASHFS_LZ4 is not set
    CONFIG_SQUASHFS_LZO=y
    # CONFIG_SQUASHFS_XZ is not set

While at it, also drop the superfluous line disabling gzip compression:
it is part of a choice, so enabling one (lzo here) forcibly disables the
others (of which gzip).

Fixes: 3cf2782906d5cc05a3966c25518d2ce01f11afc8
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/arm-trusted-firmware: fix coding-style
Yann E. MORIN [Sat, 26 Jun 2021 20:11:07 +0000 (22:11 +0200)]
boot/arm-trusted-firmware: fix coding-style

Fix coding style issue introduced in cf176128ec4a (boot/arm-trusted-firmware:
add SSP option)

Fixes: cf176128ec4ad60c29c8828cab1887f69edb9473
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests/fs/test_ext: add missing "format" option for Qemu
Thomas Petazzoni [Mon, 21 Jun 2021 20:25:46 +0000 (22:25 +0200)]
support/testing/tests/fs/test_ext: add missing "format" option for Qemu

Will avoid the following warning:

   WARNING: Image format was not specified for
   '/home/thomas/projets/outputs/TestExt3/images/rootfs.ext3' and
   probing guessed raw. Automatically detecting the format is
   dangerous for raw images, write operations on block 0 will be
   restricted. Specify the 'raw' format explicitly to remove the
   restrictions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests: fix tests to use infra.img_round_power2()
Thomas Petazzoni [Mon, 21 Jun 2021 20:25:45 +0000 (22:25 +0200)]
support/testing/tests: fix tests to use infra.img_round_power2()

All the tests that are using if=sd as a Qemu options are changed to
use infra.img_round_power2() instead of simply extending the size of
the image to the next MB boundary, which is not longer sufficient with
Qemu >= 5.1.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: drop now-useless imports]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/infra: add img_round_power2() function
Thomas Petazzoni [Mon, 21 Jun 2021 20:25:44 +0000 (22:25 +0200)]
support/testing/infra: add img_round_power2() function

Since Qemu 5.1, SD card images must have a size that are a power of
two. While some filesystem (such as ext2/3/4) allow to specify the
expected size of the filesystem, others such as SquashFS do not have
this capability.

We were already extending the size of such images to the next 1 MB
boundary using "truncate -s %1M", but that is no longer sufficient. So
instead, we introduce a helper function that extends the size of an
image to the next power of two.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - use f.trunctate() rather than subprocess.call([truncate,...])
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests/fs/test_ext: specify 16 MB as ext filesystem size
Thomas Petazzoni [Mon, 21 Jun 2021 20:25:43 +0000 (22:25 +0200)]
support/testing/tests/fs/test_ext: specify 16 MB as ext filesystem size

Since Qemu 5.1, the SD card size must be a power of two, so the
default size for ext2/3/4 filesystem images of 60 MB is not
suitable. Since 16 MB is used for the Ext4 test, let's use the same
value for the other tests as well (ext2, ext2r1, ext3). Without this
change, the ext2, ext2r1 and ext3 simply fail to run under Qemu >=
5.1.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing: use .assertRunOk() when possible
Thomas Petazzoni [Sat, 26 Jun 2021 13:32:38 +0000 (15:32 +0200)]
support/testing: use .assertRunOk() when possible

The BRTest() class implements an assertRunOk() method that does the
very common work of running a command inside the emulator, and
checking that it is successful.

This commit changes all locations where this .assertRunOk() method can
be used, instead of open-coding the same logic.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/orangepi-zero-plus2: bump BSP versions
Sergey Matyukevich [Fri, 25 Jun 2021 19:33:18 +0000 (22:33 +0300)]
configs/orangepi-zero-plus2: bump BSP versions

Bump U-Boot and Linux kernel versions. Updating U-Boot to 2021.04
requires the following two changes.

First, after switching to binman, u-boot.itb is no more generated for
64-bit sunxi boards. Combined u-boot-sunxi-with-spl.bin image should
be used instead. This image contains SPL, U-Boot, and FIT image,
where FIT image contains other binaries such as BL31 and SCP.

Second, new U-Boot enables support for System Control Processor (SCP)
firmware. SCP firmware is included by default into FIT image in the
combined u-boot-sunxi-with-spl.bin binary. When SCP is not available
or not needed, it should be explicitly disabled by pointing to an
empty file. Support for Allwinner SCP firmware is not yet available
neither in Buildroot nor in mainline kernel. So disable it for now
using custom U-Boot build options.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/orangepi_zero_plus2_defconfig: switch to mainline TF-A
Sergey Matyukevich [Fri, 25 Jun 2021 19:33:17 +0000 (22:33 +0300)]
configs/orangepi_zero_plus2_defconfig: switch to mainline TF-A

Switch to mainline TF-A that provides basic support for H5 and A64.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests/boot/test_atf: update U-Boot in TestATFAllwinner
Sergey Matyukevich [Fri, 25 Jun 2021 19:33:16 +0000 (22:33 +0300)]
support/testing/tests/boot/test_atf: update U-Boot in TestATFAllwinner

Bump U-Boot version in TestATFAllwinner. Updating U-Boot version to
2021.04 requires the following two changes.

First, after switching to binman, u-boot.itb is no more generated for
64-bit sunxi boards. Combined u-boot-sunxi-with-spl.bin image should
be used instead. This image contains SPL, U-Boot, and FIT image,
where FIT image contains other binaries such as BL31 and SCP.

Second, new U-Boot enables support for System Control Processor (SCP)
firmware. SCP firmware is included by default into FIT image in the
combined u-boot-sunxi-with-spl.bin binary. When SCP is not available
or not needed, it should be explicitly disabled by pointing to an
empty file. Support for Allwinner SCP firmware is not yet available
neither in Buildroot nor in mainline kernel. So disable it for now
using custom U-Boot build options.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing: switch TestATFAllwinner to mainline TF-A
Sergey Matyukevich [Fri, 25 Jun 2021 19:33:15 +0000 (22:33 +0300)]
support/testing: switch TestATFAllwinner to mainline TF-A

Switch to mainline TF-A that provides basic support for H5 and A64.

Note that Allwinner platform layer in TF-A does not provide support
for GCC stack protection, so make sure to disable this TF-A feature.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/arm-trusted-firmware: add SSP option
Sergey Matyukevich [Fri, 25 Jun 2021 19:33:14 +0000 (22:33 +0300)]
boot/arm-trusted-firmware: add SSP option

Buildroot sets appropriate ENABLE_STACK_PROTECTOR build flag value based
on the toolchain global BR2_SSP_* options, and all packages are built
with that setting.

However it might not be always convenient to automatically infer TF-A
stack protection from the toolchain features. For instance, secure
memory constraints may become an issue and all the extra TF-A features
need to be tuned or disabled in order to shrink TF-A firmware image.

Besides, for any value other than "none", TF-A platform specific hook
'plat_get_stack_protector_canary' must be implemented. However this hook
is not implemented by all the platforms supported by TF-A. For instance,
Allwinner currently does not provide such a hook.

Add an new option that a user can toggle to enable or disable SSP in
their ATF build. If enabled, the SSP level is automatically inherited
from the global setting.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
[yann.morin.1998@free.fr: simplify logic with a single boolean]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/zfs: bump version to 2.0.5
José Luis Salvador Rufo [Thu, 24 Jun 2021 09:56:35 +0000 (11:56 +0200)]
package/zfs: bump version to 2.0.5

As this version brings support for kernel up to 5.12, we update the
test cases to use the 5.12 kernel.

Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/modem-manager: bump version to 1.16.6
Michael Fischer [Thu, 24 Jun 2021 09:17:46 +0000 (11:17 +0200)]
package/modem-manager: bump version to 1.16.6

Signed-off-by: Michael Fischer <mf@go-sys.de>
Reviewed-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/libqmi: bump version to 1.28.6
Michael Fischer [Thu, 24 Jun 2021 09:12:48 +0000 (11:12 +0200)]
package/libqmi: bump version to 1.28.6

Signed-off-by: Michael Fischer <mf@go-sys.de>
Reviewed-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/busybox: bump version to 1.33.1
Michael Fischer [Thu, 24 Jun 2021 09:04:05 +0000 (11:04 +0200)]
package/busybox: bump version to 1.33.1

patch 0003: already applied upstream
patch 0004: already applied upstream

Signed-off-by: Michael Fischer <mf@go-sys.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/usbguard: fix build with libgcrypt
Fabrice Fontaine [Wed, 23 Jun 2021 16:59:24 +0000 (18:59 +0200)]
package/usbguard: fix build with libgcrypt

Building with libgcrypt fails since the addition of the package in
commit fbff7d7289cc95db991184f890f4ca1fcf8a101e:

checking for sparc64-buildroot-linux-gnu-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.

Fix this build failure by helping usbguard to find libgcrypt-config

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>