buildroot.git
4 years agopackage/python-greenlet: really enable for i386
James Hilliard [Tue, 7 Jul 2020 20:04:31 +0000 (14:04 -0600)]
package/python-greenlet: really enable for i386

Commit 30f1decec2c (package/python-greenlet: enable only on supported
architectures) mis-typed the architecture name fox 286-32: BR2_x86
doesn't exist in buildroot; it is BR2_i386.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - just do the s/x86/i386/ fix for easy backport
  - x86_64 split off to its own patch
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libevent: bump to version 2.1.12
Pierre-Jean Texier [Mon, 6 Jul 2020 18:29:45 +0000 (20:29 +0200)]
package/libevent: bump to version 2.1.12

See full changelog https://raw.githubusercontent.com/libevent/libevent/release-2.1.12-stable/ChangeLog

And update hash file formatting (2 spaces).

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[yann.morin.1998@free.fr: drop md5, add sha256]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions
Francois Perrad [Tue, 7 Jul 2020 05:35:52 +0000 (07:35 +0200)]
configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/luaposix: bump to version 35.0
Francois Perrad [Tue, 7 Jul 2020 08:06:44 +0000 (10:06 +0200)]
package/luaposix: bump to version 35.0

LICENSE diff:
- Copyright (C) 2006-2019 luaposix authors
+ Copyright (C) 2006-2020 luaposix authors

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[yann.morin.1998@free.fr: simplify help entry]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/angularjs: bump version to 1.8.0
Ignacy Gawędzki [Tue, 7 Jul 2020 09:33:57 +0000 (11:33 +0200)]
package/angularjs: bump version to 1.8.0

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/valijson: bump version to 0.3
Santosh Multhalli [Tue, 7 Jul 2020 13:06:54 +0000 (18:36 +0530)]
package/valijson: bump version to 0.3

Signed-off-by: Santosh Multhalli <santosh.multhalli@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosyslog-ng: version bump to 3.28.1
Chris Packham [Tue, 7 Jul 2020 09:46:11 +0000 (21:46 +1200)]
syslog-ng: version bump to 3.28.1

Signed-off-by: Chris Packham <judge.packham@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sunxi-mali-mainline-driver: bump version
Giulio Benetti [Tue, 7 Jul 2020 16:08:57 +0000 (18:08 +0200)]
package/sunxi-mali-mainline-driver: bump version

For 5.6 and 5.7 support.

git shortlog --invert-grep --grep=Travis --no-merges ec654ee9caeb0c4348caacd0cf5eb2730d1d70e2..
Jonathan Liu (2):
      mali: Fix build for 5.6
      mali: Fix build for 5.7

Maxime Ripard (3):
      Create travis.yml
      actions: Add feedparser to the host
      travis: Try to fix the push code

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: Update Mylene's email
Mylène Josserand [Tue, 7 Jul 2020 07:53:37 +0000 (09:53 +0200)]
DEVELOPERS: Update Mylene's email

Signed-off-by: Mylène Josserand <mylene.josserand@collabora.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/azure-iot-sdk-c: bump version to LTS_02_2020_Ref01
Sergio Prado [Sat, 4 Jul 2020 00:44:36 +0000 (21:44 -0300)]
package/azure-iot-sdk-c: bump version to LTS_02_2020_Ref01

Also:

- Add missing hash file.
- Add new libraries to the install target.
- Apply patch to fix build with musl (MR sent upstream in [1]).
- Since there is no maintainer for this package, I can help maintain it,
so add the package to the DEVELOPERS file.

[1] https://github.com/Azure/azure-c-shared-utility/pull/456

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/refpolicy: enable systemd support
Antoine Tenart [Fri, 3 Jul 2020 13:19:22 +0000 (15:19 +0200)]
package/refpolicy: enable systemd support

This patch enables systemd support in the refpolicy by turning on the
'SYSTEMD' policy build option when systemd is enabled in Buildroot. This
enables conditional rules in SELinux policy modules (by defining
'init_systemd'), to better support systemd.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/refpolicy: bump to 2.20200229
Antoine Tenart [Fri, 3 Jul 2020 13:17:49 +0000 (15:17 +0200)]
package/refpolicy: bump to 2.20200229

Changelog:
https://github.com/SELinuxProject/refpolicy/releases/tag/RELEASE_2_20200229

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/swig: bump version to 4.0.2
Yegor Yefremov [Fri, 3 Jul 2020 10:47:32 +0000 (12:47 +0200)]
package/swig: bump version to 4.0.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyparted: bump version to 3.11.6
Yegor Yefremov [Fri, 3 Jul 2020 07:00:57 +0000 (09:00 +0200)]
package/python-pyparted: bump version to 3.11.6

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/execline: bump version to 2.6.1.0
Sergio Prado [Fri, 3 Jul 2020 22:04:18 +0000 (19:04 -0300)]
package/execline: bump version to 2.6.1.0

Also change the hash file to separate the fields by two spaces and
change the hash of the license (copyright year changed from 2019 to
2020).

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx7dsabresd: bump BSP components to 5.4.24_2.1.0
Julien Olivain [Fri, 3 Jul 2020 16:57:44 +0000 (18:57 +0200)]
configs/freescale_imx7dsabresd: bump BSP components to 5.4.24_2.1.0

Tested-by: Julien Olivain <julien.olivain@oss.nxp.com>
[Julien: tested on i.MX7D Sabre Rev D1]
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx6*: bump BSP components to 5.4.24_2.1.0
Julien Olivain [Fri, 3 Jul 2020 16:57:43 +0000 (18:57 +0200)]
configs/freescale_imx6*: bump BSP components to 5.4.24_2.1.0

And rebase uboot patch.

Tested-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
[Maeva: Tested on i.MX6Quad SabreAuto CPU1]
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/adwaita-icon-theme: bump version to 3.37.2
Sergio Prado [Sun, 5 Jul 2020 09:43:06 +0000 (06:43 -0300)]
package/adwaita-icon-theme: bump version to 3.37.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lshw: bump version to 02.19.2
Sergio Prado [Sat, 4 Jul 2020 23:50:45 +0000 (20:50 -0300)]
package/lshw: bump version to 02.19.2

Remove patch 0001 (changes already upstream) and rework patches 0002 and
0003 (merge request sent upstream [1])

[1] https://github.com/lyonel/lshw/pull/56

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: enable parallel building
Giulio Benetti [Sat, 4 Jul 2020 22:18:26 +0000 (00:18 +0200)]
package/libnss: enable parallel building

Enable parallel building by substituting $(MAKE1) with $(MAKE) in
libnss.mk. Parallel Makefile building has been added after version 3.53
so now it's time to enable it in Buildroot to save building time.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/arm_foundationv8: use BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG
Masahiro Yamada [Sat, 4 Jul 2020 14:09:09 +0000 (23:09 +0900)]
configs/arm_foundationv8: use BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG

Commit 53ced1f6d3da ("linux: allow the selection of the architecture's
default configuration") allows us to specify the Linux defconfig
cleanly.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libyaml: bump version to 0.2.5
Sergio Prado [Sat, 4 Jul 2020 09:48:40 +0000 (06:48 -0300)]
package/libyaml: bump version to 0.2.5

Also:
- License file renamed LICENSE -> License
- Change license hash because copyright year changed 2019 -> 2020
- Separate the fields in the hash file by two spaces

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-nextpvr: bump version to 3.3.21-Leia
Bernd Kuhls [Sat, 4 Jul 2020 08:01:00 +0000 (10:01 +0200)]
package/kodi-pvr-nextpvr: bump version to 3.3.21-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libmicrohttpd: security bump version to 0.9.71
Bernd Kuhls [Sun, 5 Jul 2020 10:12:17 +0000 (12:12 +0200)]
package/libmicrohttpd: security bump version to 0.9.71

Removed patch which was applied upstream, reformatted hashes.

Release notes:
https://lists.gnu.org/archive/html/libmicrohttpd/2020-06/msg00013.html

"This release fixes a potential buffer overflow and is thus considered a
security release. Please upgrade as soon as possible."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/upmpdcli: fix build with libmicrohttpd 0.9.71
Bernd Kuhls [Sun, 5 Jul 2020 10:12:16 +0000 (12:12 +0200)]
package/upmpdcli: fix build with libmicrohttpd 0.9.71

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libhttpserver: fix build with libmicrohttpd 0.9.71
Bernd Kuhls [Sun, 5 Jul 2020 10:12:15 +0000 (12:12 +0200)]
package/libhttpserver: fix build with libmicrohttpd 0.9.71

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libhttpserver: bump version to 0.18.1
Bernd Kuhls [Sun, 5 Jul 2020 10:12:13 +0000 (12:12 +0200)]
package/libhttpserver: bump version to 0.18.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi: fix build with libmicrohttpd 0.9.71
Bernd Kuhls [Sun, 5 Jul 2020 10:12:14 +0000 (12:12 +0200)]
package/kodi: fix build with libmicrohttpd 0.9.71

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: fix build with libmicrohttpd 0.9.71
Bernd Kuhls [Sun, 5 Jul 2020 11:15:13 +0000 (13:15 +0200)]
package/systemd: fix build with libmicrohttpd 0.9.71

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/live555: bump version to 2020.06.25
Sergio Prado [Sat, 4 Jul 2020 10:24:43 +0000 (07:24 -0300)]
package/live555: bump version to 2020.06.25

By default, the linux and linux-with-shared-libraries configurations
depend on OpenSSL, but with some trickery we can drop this dependency
like the linux-no-openssl configuration does.

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lm-sensors: bump version to 3-6-0
Sergio Prado [Sat, 4 Jul 2020 10:42:48 +0000 (07:42 -0300)]
package/lm-sensors: bump version to 3-6-0

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/exempi: bump version to 2.5.2
Sergio Prado [Thu, 2 Jul 2020 23:39:33 +0000 (20:39 -0300)]
package/exempi: bump version to 2.5.2

Also change the hash file to separate the fields by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libcurl: bump to version 7.71.1
Baruch Siach [Fri, 3 Jul 2020 04:12:34 +0000 (07:12 +0300)]
package/libcurl: bump to version 7.71.1

This release fixes build with BR2_PACKAGE_LIBCURL_PROXY_SUPPORT disabled
and mbedtls enabled.

Add reference to upstream tarball signature.

Fixes:
http://autobuild.buildroot.net/results/f32b6ab927560839cacaa1b9e6b64ced92b9ffe3/
http://autobuild.buildroot.net/results/566f0db496f6d1feefd9d3e6b6955a2539670735/
http://autobuild.buildroot.net/results/19de1111318aea863118c9b0b44dc282f011918f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qt5: fix check-package warnings
Pierre-Jean Texier [Fri, 3 Jul 2020 12:12:02 +0000 (14:12 +0200)]
package/qt5: fix check-package warnings

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/622129163

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-good: Enable GUDEV for V4L2 if available
Nicolas Dufresne [Mon, 8 Jun 2020 00:00:26 +0000 (21:00 -0300)]
package/gstreamer1/gst1-plugins-good: Enable GUDEV for V4L2 if available

Video4Linux2 plugins can udev for device probing and monitor.
This greatly improves load time and monitoring performance.

It also enables hotplug monitoring for cameras.

gstreamer is libglib2-based; libgudev is libnglib2-based. So they both
have the same basic dependencies as liblib2 has, and thus propagating
the dependencies of libgudev is not necessary (but might be confusing in
the future, even though such a change is highly unlikely...)

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agocore/pkg-infra: Add per-package support in qmake infra
Andreas Naumann [Mon, 17 Feb 2020 21:23:41 +0000 (22:23 +0100)]
core/pkg-infra: Add per-package support in qmake infra

Qmake configured packages will, by default, use the absolute HostPrefix/Sysroot
pathes set during configuration/building of qt5base for their install
destinations.
For the per-package host/staging infrastructure, this causes non-qt5base
packages to litter the qt5base folders. In addition, buildroots target-install
step subsequently fails because the respective files are missing from the
per-package sysroot of the package itself.

Fortunately, qmake's built-in pathes can be overridden by placing a custom
qt.conf next to the qmake binary. This is already used to facilitate SDK
relocation. So for per-package path manipulation we can reuse that method, but
need to change the host/sysroot values according to each per-package
path.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: drop useless 'rm -f' of generated file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: add new option for the Poco JWT component
Julien Olivain [Tue, 30 Jun 2020 17:34:35 +0000 (19:34 +0200)]
package/poco: add new option for the Poco JWT component

Poco 1.10.0 introduced a new JWT (JSON Web Tokens). See:
https://pocoproject.org/docs/Poco.JWT.Token.html

This patch add the option to build this component.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: enable build for riscv64
Julien Olivain [Tue, 30 Jun 2020 17:34:34 +0000 (19:34 +0200)]
package/poco: enable build for riscv64

riscv64 support was added upstream in commit:
https://github.com/pocoproject/poco/commit/26fa1b9e6bbe3a5d2d559d0e8bd5772a4e8fdfef
which is included in version >= 1.10.0.

Now, of the riscv architecture, only the 32-bit variant is not
supported, so change the arch restriction to that.

Signed-off-by: Julien Olivain <juju@cotds.org>
[yann.morin.1998@free.fr: reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: bump to version 1.10.1
Julien Olivain [Tue, 30 Jun 2020 17:34:33 +0000 (19:34 +0200)]
package/poco: bump to version 1.10.1

Poco >= 1.10.0 requires a C++14 compiler. GCC needs to be at least 5.0.
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG#L31

Since GCC 5.0 does not enable it by default, "-std=c++14" needs to be
added in cflags.

See poco 1.10.1 changelog:
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG

Poco 1.10.0 introduced a new JWT (JSON Web Tokens) component. It is
currently unconditionally disabled to prevent build failure (as it
re-enable Poco Crypto, which needs OpenSSL).

Package patches are rebased on poco version 1.10.1.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: add BR2_PACKAGE_POCO_ARCH_SUPPORTS
Julien Olivain [Tue, 30 Jun 2020 17:34:32 +0000 (19:34 +0200)]
package/poco: add BR2_PACKAGE_POCO_ARCH_SUPPORTS

Commit 0737f48c5f (package/poco: disable build for riscv) did not
propagate the new dependency on BR2_riscv to the comment.

Introduce BR2_PACKAGE_POCO_ARCH_SUPPORTS to solve this issue.

Signed-off-by: Julien Olivain <juju@cotds.org>
[yann.morin.1998@free.fr:
  - reword the commit log
  - use separate 'depend on !arch'
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cups-filters: bump to version 1.27.5
Angelo Compagnucci [Wed, 24 Jun 2020 20:43:42 +0000 (22:43 +0200)]
package/cups-filters: bump to version 1.27.5

This patch bumps cups-filters to version 1.27.5.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cups-filters: improve cups-browsed init integration
Angelo Compagnucci [Wed, 24 Jun 2020 20:43:41 +0000 (22:43 +0200)]
package/cups-filters: improve cups-browsed init integration

cups-browsed service is compiled and installed by the package,
but the corresponding services file were not installed for
systemv and systemd.

Specifying --without-rcdir allows to not install the init script
provided with cups-filters, and we provide our own,
Buildroot-compatible init script.

For systemd, we install the upstream-provided service file.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: remove version 2.31.1
Romain Naour [Thu, 25 Jun 2020 12:13:02 +0000 (14:13 +0200)]
package/binutils: remove version 2.31.1

Now that binutils 2.34 has been introduced, and we have moved to
2.33.1 as the default version, it is time to drop support for binutils
2.31.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: switch to use 2.33.1 as the default version
Romain Naour [Thu, 25 Jun 2020 12:13:01 +0000 (14:13 +0200)]
package/binutils: switch to use 2.33.1 as the default version

Now that binutils 2.34 has been released, it is time to move to
binutils 2.33.1 as the default binutils version, instead of 2.32.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: add version 2.34
Romain Naour [Thu, 25 Jun 2020 12:13:00 +0000 (14:13 +0200)]
package/binutils: add version 2.34

Rebase existing patches.

Keep BR2_BINFMT_FLAT disabled for binutils 2.34 since elf2flt issue
is not fixed [1] [2].

[1] https://github.com/uclinux-dev/elf2flt/pull/16
[2] https://github.com/uclinux-dev/elf2flt/issues/12

See announce:
https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00000.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/glibc: disable Werror for gcc 10 build
Romain Naour [Sun, 28 Jun 2020 20:16:12 +0000 (22:16 +0200)]
package/glibc: disable Werror for gcc 10 build

Currently glibc 2.30 is build by default with Werror enabled but it
has only been tested with compiler version available at the time of
the release [1] (gcc 6.2 up to gcc 9.2.1). It's recommended to use
those version with glibc 2.30.

For the same reason why we remove Werror in packages's compiler
flags. Building with Werror is not bulletproof when we start
using a newer compiler that introduce new warnings.
This is the case here with gcc 10, as reported by Yegor Yefremov
[2].

Fixing compiler warnings would require backporting many patches [3]
not even backported by Glibc maintainers to the 2.30 stable
branch. Instead, disable Werror by using --disable-werror.
Most (if not all) gcc 10 warnings will be fixed with Glibc 2.31.

[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=INSTALL;h=62e78725f57080a1cb638cccd28ca3c2ffc5a22c#l466
[2] http://lists.busybox.net/pipermail/buildroot/2020-June/285715.html
[3] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=cba932a5a9e91cffd7f4172d7e91f9b2efb1f84b
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=de18a7061c9bdff73d66502c55d6a3ea671fc6d9
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=49348beafe9ba150c9bd48595b3f372299bddbb0
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=70c6e15654928c603c6d24bd01cf62e7a8e2ce9b
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c7bf5ceab6ec776ac7350d3b0190776bf532ac54
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e1d559f337de2c8ab68a6749dfe873477c883807

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cryptsetup: needs iconv
Fabrice Fontaine [Sun, 28 Jun 2020 20:48:08 +0000 (22:48 +0200)]
package/cryptsetup: needs iconv

iconv is a mantadory dependency since version 2.3.0 and
https://github.com/mbroz/cryptsetup/commit/62c872eb4942ec37a18a37ea7cca1749757ddbb6

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xvisor: bump to version 0.3.0
Fabrice Fontaine [Sun, 28 Jun 2020 21:04:50 +0000 (23:04 +0200)]
package/xvisor: bump to version 0.3.0

- Drop patch (already in version)
- Update indentation in hash file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: fix typo
Yann E. MORIN [Mon, 29 Jun 2020 20:13:00 +0000 (22:13 +0200)]
package/dropbear: fix typo

There was a missing space between the append-assignment operator, and
the appended list of licenses.

Even though inconsequential technically speaking, we always use spaces
around operators elsewhere in the code.

So be it here too.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/unrar: bump version to 5.9.3
Bernd Kuhls [Sun, 28 Jun 2020 08:51:49 +0000 (10:51 +0200)]
package/unrar: bump version to 5.9.3

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ncmpc: bump to version 0.38
Jörg Krause [Mon, 29 Jun 2020 05:58:27 +0000 (07:58 +0200)]
package/ncmpc: bump to version 0.38

Also fix formatting of hash file using two spaces as separator.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mpd: bump to version 0.21.24
Jörg Krause [Mon, 29 Jun 2020 05:56:43 +0000 (07:56 +0200)]
package/mpd: bump to version 0.21.24

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: bump to version 2020.80
Francois Perrad [Mon, 29 Jun 2020 07:16:56 +0000 (09:16 +0200)]
package/dropbear: bump to version 2020.80

remove merged patches.

LICENSE diff:
- Copyright (c) 2002-2015 Matt Johnston
+ Copyright (c) 2002-2020 Matt Johnston
- LibTomCrypt and LibTomMath are written by Tom St Denis, and are Public Domain.
+ LibTomCrypt and LibTomMath are written by Tom St Denis and others, see
+ libtomcrypt/LICENSE and libtommath/LICENSE.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: fix license infos
Francois Perrad [Mon, 29 Jun 2020 07:16:55 +0000 (09:16 +0200)]
package/dropbear: fix license infos

this package allows to use optionally bundled libraries (which is exceptional in BR).
so, license infos must be conditional.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gr-osmosdr: fix build with boost 1.7.3
Gwenhael Goavec-Merou [Mon, 29 Jun 2020 14:11:28 +0000 (16:11 +0200)]
package/gr-osmosdr: fix build with boost 1.7.3

boost/detail/endian.hpp has been marked as deprecated since boost 1.69.0.
This file and boost/predef/detail/endian_compat.h are no more available.

This patch suppress this header in some file, where not needed and move
to correct header and new constants. It's retrocompatible for at least all boost release > 1.69.0

[Upstream status: http://lists.osmocom.org/pipermail/osmocom-sdr/2020-June/002080.html]

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libressl: bump version to 3.1.3
Adam Duskett [Mon, 29 Jun 2020 19:01:08 +0000 (12:01 -0700)]
package/libressl: bump version to 3.1.3

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-py: bump to version 1.9.0
Asaf Kahlon [Mon, 29 Jun 2020 17:27:11 +0000 (20:27 +0300)]
package/python-py: bump to version 1.9.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fuse-overlayfs: bump to version 1.1.2
Asaf Kahlon [Mon, 29 Jun 2020 17:27:10 +0000 (20:27 +0300)]
package/fuse-overlayfs: bump to version 1.1.2

Removed patch (already in version).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agofs/cpio: generate reproducible archives
Yurii Monakov [Mon, 29 Jun 2020 12:37:01 +0000 (15:37 +0300)]
fs/cpio: generate reproducible archives

The output of 'find' depends on the directory entries, and is not
ordered. As a consequence, the cpio archive is not reproducible.

Fix that by sorting the output of find. Use the 'C' locale to enforce
reproducibility that does not depend on the locale.

The command line is now pretty long, so we wrap it.

Signed-off-by: Yurii Monakov <monakov.y@gmail.com>
[yann.morin.1998@free.fr:
  - use LC_ALL=C when sorting
  - wrap long line
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agouboot: zynqmp: Support loading a PMU config
Brandon Maier [Fri, 26 Jun 2020 15:59:56 +0000 (10:59 -0500)]
uboot: zynqmp: Support loading a PMU config

Before now, U-Boot SPL could only load the Platform Management Unit
(PMU) by patching the board-specific pm_cfg_obj.c file into the generic
PMU firmware, but that then requires generating a new PMU firmware for
every board configuration. To fix that, Luca Ceresoli added support to
U-Boot to load the pm_cfg_obj[1].

Like the PMU firmware, we need a way to pass the PMU cfg to U-Boot
during build. U-Boot only accepts the binary format of the cfg, so we
must convert the source file with the tool provided with U-Boot.

[1] https://lucaceresoli.net/zynqmp-uboot-spl-pmufw-cfg-load/

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agotoolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH
John Keeping [Fri, 26 Jun 2020 15:49:27 +0000 (16:49 +0100)]
toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH

When using precompiled headers, changing any macros defined on the
command line will invalidate the precompiled header.  With
toolchain-wrapper adding __DATE__ and __TIME__, any commits to Buildroot
will invalidate incremental builds regardless of whether the precompiled
header actually uses those values (affecting _OVERRIDE_SRCDIR).

GCC-7 and later support SOURCE_DATE_EPOCH and use it to define __DATE__
and __TIME__ internally, avoiding any impact on precompiled headers.

Disable the custom handling in toolchain-wrapper if GCC is version 7 or
newer.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-{libust, tools}: use proper systemd rundir
Norbert Lange [Fri, 26 Jun 2020 22:06:02 +0000 (00:06 +0200)]
package/lttng-{libust, tools}: use proper systemd rundir

Set the rundir to /run/lttng, if systemd is the init system.
/var/run is "legacy" in systemd's view.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-tools: bump version to 2.12.1
Norbert Lange [Fri, 26 Jun 2020 22:06:01 +0000 (00:06 +0200)]
package/lttng-tools: bump version to 2.12.1

Also update hash file formatting (2 spaces).

License files got moved into a subfolder,
use those new paths.

Also the package is (L)GPL only, so remove the
"or higher".

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-libust: bump version to 2.12.0
Norbert Lange [Fri, 26 Jun 2020 22:06:00 +0000 (00:06 +0200)]
package/lttng-libust: bump version to 2.12.0

Also update hash file formatting (2 spaces).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/liburcu: bump version to 0.12.1
Norbert Lange [Fri, 26 Jun 2020 22:05:59 +0000 (00:05 +0200)]
package/liburcu: bump version to 0.12.1

Also update hash file formatting (2 spaces).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mraa: fix toolchain requirements
Pieterjan Camerlynck [Sat, 27 Jun 2020 14:00:38 +0000 (16:00 +0200)]
package/mraa: fix toolchain requirements

New version of mraa has some extra toolchain requirements, added
dependency on !BR2_STATIC_LIBS and BR2_INSTALL_LIBSTDCPP

Fixes:
- http://autobuild.buildroot.net/results/f2829a0aff5bd6f73a837c813f20de5df33c7606
- http://autobuild.buildroot.net/results/b4434724ac810b35913a5e49b43e27e0418b5b9c
- http://autobuild.buildroot.net/results/6c7f19ea9757b483c3c7fe35d72ce9f9304f5919
- http://autobuild.buildroot.net/results/1c2bbeda09a695af2e53b0f72a116e6abef94b23
- http://autobuild.buildroot.net/results/7ea000298a4806040d9ec6140097eb3036440ee9

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpi-firmware: fix startup file names
Stéphane Veyret [Fri, 26 Jun 2020 10:41:16 +0000 (12:41 +0200)]
package/rpi-firmware: fix startup file names

When booting, a Raspberry Pi will load the appropriate start files,
depending on the provided configuration. For example, if the config.txt
file contains ’gpu_mem=16’ the board will automatically load the
cut-down startup files (start_cd.elf and fixup_cd.dat on non-Rpi4).

Unfortunately, even when the appropriate version is selected in the
configuration menu, if the rpi-firmware makefile takes the good files,
it renames them to non-qualified, i.e. start.elf and fixup.dat. But as
these are not the files searched by the Raspberry Pi, the board will not
start.

This patch will set the names of the files to load as constant in the
config.txt file. This guarantees that the rpi firmware blobs do not take
any other corner-case decision based on any other as-yet unknown
conditions.

This eases the maintenance, as only the names of the source files
matter; the destination filenames are constants, and so are the
filenames in config.txt.

Fixes: #13026
Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
[yann.morin.1998@free.fr:
  - very minor fix in commit title
  - drop the non-conditional macro and move its content into
    RPI_FIRMWARE_INSTALL_IMAGES_CMDS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.1.2
Bernd Kuhls [Thu, 25 Jun 2020 05:03:42 +0000 (07:03 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.1.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/smstools3: bump to version 3.1.21
Fabrice Fontaine [Thu, 25 Jun 2020 20:57:28 +0000 (22:57 +0200)]
package/smstools3: bump to version 3.1.21

- Update patch
- Add link to upstream hashes
- Update hash of doc/license.html (web link update)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: restore full BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO behaviour
Francois Perrad [Thu, 25 Jun 2020 07:58:41 +0000 (09:58 +0200)]
package/dropbear: restore full BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO behaviour

now, BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO works like with version 2019.78
and as described in Config.in

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stellarium: bump version to 0.20.2
Bernd Kuhls [Thu, 25 Jun 2020 18:48:51 +0000 (20:48 +0200)]
package/stellarium: bump version to 0.20.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fwup: bump to v1.8.0
Frank Hunleth [Thu, 25 Jun 2020 15:15:33 +0000 (11:15 -0400)]
package/fwup: bump to v1.8.0

The libsodium dependency is no longer needed so this patch also drops
that requirement from host and target builds.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libconfuse: bump version to 3.3
Frank Hunleth [Thu, 25 Jun 2020 13:36:36 +0000 (09:36 -0400)]
package/libconfuse: bump version to 3.3

This fixes a possible loop-forever bug.

Release notes:
https://github.com/martinh/libconfuse/releases/tag/v3.3

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireless-regdb: bump version to 2020.04.29
Peter Seiderer [Thu, 25 Jun 2020 19:49:55 +0000 (21:49 +0200)]
package/wireless-regdb: bump version to 2020.04.29

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackages/pkg-download.mk: fix file locking over NFS
Maxim Cournoyer [Thu, 4 Jun 2020 20:14:26 +0000 (16:14 -0400)]
packages/pkg-download.mk: fix file locking over NFS

BSD style locks such as implemented by flock are translated to POSIX
advisory file locks (implemented by the fcntl system call on Linux).  It
is not possible to lock a directory using POSIX advisory file locks.
Hence, the lock strategy used by Buildroot doesn't work when used over
NFS.

Using flock on a simple file works correctly though, so use a '.lock'
file inside the download directory instead. If the lockfile does not
exist, flock will create it (in a race-free fashion).

Tested using NFS v4.2 and Linux 5.4.43.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
[yann.morin.1998@free.fr:
  - slightly expand commit log about creation of the lockfile
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sdl2: remove sdl2-config.cmake
Romain Naour [Tue, 5 May 2020 18:43:02 +0000 (20:43 +0200)]
package/sdl2: remove sdl2-config.cmake

We are using autotools build system for sdl2, so the sdl2-config.cmake
include path are not resolved like for sdl2-config script [1].
Remove sdl2-config.cmake file and avoid unsafe include path if this
file is used by a cmake based package.

This trigger an issue with ogre 1.12.6 package that replaced
FindSDL2.cmake by sdl2-config.cmake [2].

Thanks to Pavel Rojtberg for the help [3].

[1] https://bugzilla.libsdl.org/show_bug.cgi?id=4597
[2] https://github.com/OGRECave/ogre/commit/6de6f9b4081a07c911932441700c54b72ec1ee1f
[3] https://github.com/OGRECave/ogre/issues/1568

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: bear the kernel options munging
Adam Duskett [Thu, 7 May 2020 23:14:53 +0000 (16:14 -0700)]
package/nftables: bear the kernel options munging

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: add support to download from a custom git tree
Jan Kiszka [Tue, 14 Jan 2020 20:55:21 +0000 (21:55 +0100)]
package/xenomai: add support to download from a custom git tree

Soem versions are tagged, but not tarballed, so we need to be able to
retrieve them from git.

Usually, we do not have a default value for the repository, but unlike
for the kernel or the various bootloaders, the most prominent repository
for Xeniomai is upstream's official one (for the reason above, amongst
others), so we use that as a default.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: add support to download a custom tarball
Yann E. MORIN [Tue, 14 Jan 2020 20:55:20 +0000 (21:55 +0100)]
package/xenomai: add support to download a custom tarball

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: move the version setting to Kconfig
Yann E. MORIN [Tue, 14 Jan 2020 20:55:19 +0000 (21:55 +0100)]
package/xenomai: move the version setting to Kconfig

The xenomai version is decided in Kconfig, but the default value is
set in the .mk. This is unlike the other packages that have a version
choice (like linux, uboot...).

Move the value into Config.in.

This paves the way to using other custom sources, like from a git tree.

Note however that any existing configuration will need to be adapted to
the new settings. Adding legacy handling is non-trivial, so manual
intervention will be required.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/qemu_*: bump kernel version to 5.4.42
Romain Naour [Thu, 21 May 2020 20:45:14 +0000 (22:45 +0200)]
configs/qemu_*: bump kernel version to 5.4.42

In order to allow testing gcc 10 using those defconfig, bump to kernel 5.4.42
since it include some patches fixing some issue introduced by gcc 10.

For example:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=10cfaa7456d70696a89d423ce1cb0fd22967773a
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8f6a84167e8618333d84ea4143812e3e74ced7da

All defconfig using a specific kernel version (csky, risc32) are not
taken into account.

Build and runtime tested: https://gitlab.com/kubu93/buildroot/pipelines/148390943

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33
Romain Naour [Mon, 30 Dec 2019 13:36:40 +0000 (14:36 +0100)]
board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33

Remove the binutils patch reverting [1] that triggers a sh4 kernel bug
with binutils >= 2.33. Instead, add two kernel patches provided by
Alan Modra [2] that fix alignment of rodata.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebd2263ba9a9124d93bbc0ece63d7e0fae89b40e
[2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on microblaze
Giulio Benetti [Wed, 24 Jun 2020 16:06:40 +0000 (18:06 +0200)]
package/libnss: fix build failure on microblaze

By mistake seed.o has been added to public library too, but this way its
dependencies are not taken into account(stubs.o), this way build fails
complaining on missing functions from stubs.o file. Let's fix it by
adding upstream patch:
https://hg.mozilla.org/projects/nss/rev/f46fca8ced7fca6aa6de60e3170b2a3b6b2df565

Fixes:
http://autobuild.buildroot.net/results/4cb/4cbf4c35549a3bfba06222ba509d0263f23a3a2e/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: switch to gcc 9.x as the default
Romain Naour [Mon, 8 Jun 2020 22:13:47 +0000 (00:13 +0200)]
package/gcc: switch to gcc 9.x as the default

Even if gcc 8 is still maintained for some time (gcc 8.5 is pending),
switch to gcc 9.x since it has been released since 2019-05-03 and
gcc 10.x is available since 2020-05-07.

We have been having toolchains in the autobuilders with gcc
9.x for a while, so the vast majority of the problems should have
already been solved.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-external/toolchain-external-custom: add gcc 10 version selection
Romain Naour [Mon, 8 Jun 2020 22:13:46 +0000 (00:13 +0200)]
toolchain/toolchain-external/toolchain-external-custom: add gcc 10 version selection

This patch allows to use custom external toolchains based on gcc 10.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoarch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10
Romain Naour [Mon, 8 Jun 2020 22:13:45 +0000 (00:13 +0200)]
arch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10

This new symbol will be used by architectures introduced with gcc 10.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: add support for gcc 10
Romain Naour [Mon, 8 Jun 2020 22:13:44 +0000 (00:13 +0200)]
package/gcc: add support for gcc 10

Keep the same patch as for gcc 9.x fixing a parallel build issue:
58ecbbc3ef18c43ae1c02a5c4bf30aa7ef2d8092.

Keep libzstd support disabled for now, it could be used in the future
for LTO bytecode compression.

https://gcc.gnu.org/gcc-10/changes.html
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 blind option
Romain Naour [Mon, 8 Jun 2020 22:13:43 +0000 (00:13 +0200)]
toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 blind option

In order to add gcc 10 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_10 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gqrx: fix build with boost 1.73.0
Gwenhael Goavec-Merou [Wed, 24 Jun 2020 05:46:09 +0000 (07:46 +0200)]
package/gqrx: fix build with boost 1.73.0

With boost >= 1.73, placeholders must be qualified by using the full namespace.

Without the namespace, the build fails with:
gqrx-2.12.1/src/dsp/rds/parser_impl.cc: In constructor 'gr::rds::parser_impl::parser_impl(bool, bool)':
gqrx-2.12.1/src/dsp/rds/parser_impl.cc:42:72: error: '_1' was not declared in this scope
set_msg_handler(pmt::mp("in"), boost::bind(&parser_impl::parse, this, _1));

backport Pull Request https://github.com/csete/gqrx/pull/811

fix:
- http://autobuild.buildroot.net/results/73c490ba361dd6040720442bcbf332f1c3cc4882/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/json-c: bump version to 0.14
Christopher Pelloux [Sat, 6 Jun 2020 21:47:38 +0000 (21:47 +0000)]
package/json-c: bump version to 0.14

Notes:

- json-c now uses cmake instead of autoconf
- This version also brings support to the much welcomed feature for
  parsing uint64_t types

Signed-off-by: Christopher Pelloux <git@chp.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wpebackend-fdo: bump to version 1.6.1
Adrian Perez de Castro [Mon, 8 Jun 2020 09:04:42 +0000 (12:04 +0300)]
package/wpebackend-fdo: bump to version 1.6.1

This update brings in a few build fixes only. In particular the
one for EGL implementations which use oddball definitions of the
EGLNativeDisplayType type might be needed for some configurations.

Full release notes:

  https://wpewebkit.org/release/wpebackend-fdo-1.6.1.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/opensbi: bump to version 0.8
Mark Corbin [Wed, 24 Jun 2020 13:15:10 +0000 (14:15 +0100)]
boot/opensbi: bump to version 0.8

The OpenSBI platform 'qemu/virt' has been removed in v0.8. Builds for
the QEMU 'virt' machine can use the 'generic' platform instead.

Tested with qemu_riscv32_virt_defconfig and
qemu_riscv64_virt_defconfig using Buildroot host-qemu 5.0.0.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libcurl: security bump to version 7.71.0
Baruch Siach [Wed, 24 Jun 2020 18:09:20 +0000 (21:09 +0300)]
package/libcurl: security bump to version 7.71.0

CVE-2020-8177: curl overwrite local file with -J.

CVE-2020-8169: Partial password leak over DNS on HTTP redirect.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libnids: disable libnet only if not available
Guillaume W. Bres [Wed, 24 Jun 2020 12:17:42 +0000 (14:17 +0200)]
package/libnids: disable libnet only if not available

libnids can be built against an existing libnet lib,
take advantage of that.

Unfortunately, pkg-config is not available for libnet,
so configure --with-libnet is our only option at the
moment.

--with-libnet expects a build directory,
not an installation path like in our context.
We use --with-libnet=yes to skip tests that would fail.
In this situation, 'LIBNET' goes undefined, so we
need to define it ourselves.
This works because we make sure -lnet is installed
prior anything related to libnids.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr: slightly compact the code]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireguard-linux-compat: bump version to 1.0.20200623
Peter Korsgaard [Wed, 24 Jun 2020 06:41:44 +0000 (08:41 +0200)]
package/wireguard-linux-compat: bump version to 1.0.20200623

Includes a number of bugfixes and updates to build against newer stable
kernels.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireguard-tools: bump version to 1.0.20200513
Peter Korsgaard [Wed, 24 Jun 2020 05:55:24 +0000 (07:55 +0200)]
package/wireguard-tools: bump version to 1.0.20200513

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopru-software-support: bump to latest version 5.7.0
Ash Charles [Tue, 23 Jun 2020 00:25:15 +0000 (20:25 -0400)]
pru-software-support: bump to latest version 5.7.0

Update to the latest version of the PRU software support [1].

There are minor changes to the license file mostly dates and versions --
notably pulling in several Linux kernel 5.4 header files in place of the
4.19 versions.  As there is no longer a dependency on the kernel types.h
  header, there's no longer a GPL-2.0 licensed component.

Also drop the useless comment that just repeats the URL.

[1] https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package

Signed-off-by: Ash Charles <ashcharles@gmail.com>
[yann.morin.1998@free.fr: drop the URL-as-comment]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nginx: fix typo in stream split clients
Fabrice Fontaine [Tue, 23 Jun 2020 21:27:26 +0000 (23:27 +0200)]
package/nginx: fix typo in stream split clients

Commit 3e6b35900f4f4aed4fd11e0187a36a7f374271aa forgot to add a 's' to
ngx_stream_split_client_module

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/upmpdcli: bump to version 1.4.12
Fabrice Fontaine [Tue, 23 Jun 2020 20:31:26 +0000 (22:31 +0200)]
package/upmpdcli: bump to version 1.4.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libupnpp: bump to version 0.19.2
Fabrice Fontaine [Tue, 23 Jun 2020 20:31:25 +0000 (22:31 +0200)]
package/libupnpp: bump to version 0.19.2

Starting from this version libupnp has been replaced with libnpupnp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>