buildroot.git
4 years agopackage/domoticz: fix build with python 3.9
Fabrice Fontaine [Mon, 9 Nov 2020 22:30:06 +0000 (23:30 +0100)]
package/domoticz: fix build with python 3.9

Fixes:
 - http://autobuild.buildroot.org/results/994c95b2e3635c30e4a575fcf707eaa57b89e198

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: explicitly enable _GNU_SOURCE for festival/glibc...
Peter Korsgaard [Tue, 10 Nov 2020 08:50:14 +0000 (09:50 +0100)]
package/gstreamer1/gst1-plugins-bad: explicitly enable _GNU_SOURCE for festival/glibc 2.18

festival fails to built with glibc 2.18 due to fopen and the h_addr field in
struct hostent:

../gst/festival/gstfestival.c: In function 'gst_festival_chain':
../gst/festival/gstfestival.c:273:3: warning: implicit declaration of function 'fdopen' [-Wimplicit-function-declaration]
   fd = fdopen (f, "wb");
   ^
../gst/festival/gstfestival.c:273:6: warning: assignment makes pointer from integer without a cast [enabled by default]
   fd = fdopen (f, "wb");
      ^
../gst/festival/gstfestival.c: In function 'festival_socket_open':
../gst/festival/gstfestival.c:367:45: error: 'struct hostent' has no member named 'h_addr'
     memmove (&serv_addr.sin_addr, serverhost->h_addr, serverhost->h_length);
                                             ^

Both of which are hidden behind _GNU_SOURCE in glibc 2.18, so enable that to
fix this build issue.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: explicitly enable C99 for dvbsubenc/gcc 4.8
Peter Korsgaard [Tue, 10 Nov 2020 08:46:00 +0000 (09:46 +0100)]
package/gstreamer1/gst1-plugins-bad: explicitly enable C99 for dvbsubenc/gcc 4.8

dvbsubenc fails to build with gcc 4.8 due to restrict keyword and for
loop declarations:

../gst/dvbsubenc/libimagequant/blur.c:10:46: error: expected ';', ',' or ')' before 'src'
 transposing_1d_blur (unsigned char *restrict src, unsigned char *restrict dst,
                                              ^
../gst/dvbsubenc/libimagequant/blur.c: In function 'liq_min3':
../gst/dvbsubenc/libimagequant/blur.c:101:5: error: 'for' loop initial declarations are only allowed in C99 mode
     for (unsigned int i = 0; i < width - 1; i++) {
     ^
../gst/dvbsubenc/libimagequant/blur.c:101:5: note: use option -std=c99 or -std=gnu99 to compile your code

Fixes:
 - http://autobuild.buildroot.org/results/183e876d63340b5c204f47a4653cbfebb0523277

Both of which are C99 features, so explicitly enable C99 support to fix
that.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolinux: bump CIP RT kernel to version 4.19.152-cip37-rt16
Angelo Compagnucci [Mon, 9 Nov 2020 21:33:04 +0000 (22:33 +0100)]
linux: bump CIP RT kernel to version 4.19.152-cip37-rt16

This patch bumps Linux CIP RT to version 4.19.152-cip37-rt16

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolinux: bump CIP kernel to version 4.19.152-cip37
Angelo Compagnucci [Mon, 9 Nov 2020 21:33:03 +0000 (22:33 +0100)]
linux: bump CIP kernel to version 4.19.152-cip37

This patch bumps Linux CIP to version 4.19.152-cip37

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 8, 9}.x series
Peter Korsgaard [Mon, 9 Nov 2020 20:56:08 +0000 (21:56 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 8, 9}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/bitcoin: security bump to version 0.20.1
Fabrice Fontaine [Mon, 9 Nov 2020 20:40:40 +0000 (21:40 +0100)]
package/bitcoin: security bump to version 0.20.1

- openssl is not a dependency since version 0.20.0 and
  https://github.com/bitcoin/bitcoin/commit/8983ee3e6dd8ab658bd2caf97c326cc53ea50818
- boost chrono is not needed since version 0.20.0 and
  https://github.com/bitcoin/bitcoin/commit/bd37f2bc26158f85ef1ab73b9ca1fc0da8ea562a
- Update hash of COPYING (update in year:
  https://github.com/bitcoin/bitcoin/commit/8dc9aa90c3c7990dd5b491937ddc0e39bc929d1c)
- Update indentation in hash file (two spaces)
- Tag as a security bump as having an up to date bitcoin is important:
  https://patchwork.ozlabs.org/project/buildroot/patch/20200202085526.35742-1-james.hilliard1@gmail.com

https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.20.1.md
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.20.0.md
https://github.com/bitcoin/bitcoin/blob/master/doc/release-notes/release-notes-0.19.1.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libiqrf: add license file
Fabrice Fontaine [Sat, 7 Nov 2020 14:03:03 +0000 (15:03 +0100)]
package/libiqrf: add license file

Add license file and, while at it, update indentation to two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoRevert "linux: bump CIP kernel to version 4.19.152-cip37"
Peter Korsgaard [Mon, 9 Nov 2020 20:54:10 +0000 (21:54 +0100)]
Revert "linux: bump CIP kernel to version 4.19.152-cip37"

This reverts commit b737c6b3513901f736299d842a872bf78073983d.  This was not
supposed to be committed, as the patch did not update linux.hash.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-m2crypto: fix build on arm and mips
Fabrice Fontaine [Sun, 8 Nov 2020 17:28:22 +0000 (18:28 +0100)]
package/python-m2crypto: fix build on arm and mips

Fix build failure on arm and mips (perhaps also other)

Fixes:
 - http://autobuild.buildroot.org/results/7f63e6a2d8681cc3408f344556afd5dd16eb7368
 - http://autobuild.buildroot.org/results/d115a082418321e7dc4715c635f94b30b3cad387

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoboard/qemu/ppc-mpc8544ds: apply Debian patch fixing wrong mcpu
Romain Naour [Sun, 8 Nov 2020 17:15:00 +0000 (18:15 +0100)]
board/qemu/ppc-mpc8544ds: apply Debian patch fixing wrong mcpu

When building the linux kernel for PPC_85xx cpus with GCC 8, the build fail with:

  powerpc-e500v2-linux-gnuspe-gcc: error: unrecognized argument in option '-mcpu=powerpc'
  powerpc-e500v2-linux-gnuspe-gcc: note: valid arguments to '-mcpu=' are: 8540 8548 native

"GCC started treating "PowerPC" and "PowerPC SPE" as two different architectures and
that's the reason for the reduced -mcpu list." [1]

As suggested in the crosstool-ng issue [1], apply the Debian patch to avoid
-mcpu=powerpc or -mcpu=powerpc64.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/830981654

[1] https://github.com/crosstool-ng/crosstool-ng/issues/1152
[2] https://salsa.debian.org/kernel-team/linux/-/blob/buster/debian/patches/bugfix/powerpc/powerpc-fix-mcpu-options-for-spe-only-compiler.patch

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoDEVELOPERS: remove myself for wf111
Antoine Tenart [Mon, 9 Nov 2020 16:51:25 +0000 (17:51 +0100)]
DEVELOPERS: remove myself for wf111

I haven't looked at that package and touched it for 6 years now, and
clearly others have taken care of it when looking at the Git history.

Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoDEVELOPERS: update Antoine Tenart's email address
Antoine Tenart [Mon, 9 Nov 2020 16:51:24 +0000 (17:51 +0100)]
DEVELOPERS: update Antoine Tenart's email address

Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/glmark2: fix wayland build
Fabrice Fontaine [Sun, 8 Nov 2020 23:09:32 +0000 (00:09 +0100)]
package/glmark2: fix wayland build

wayland-protocols is needed since
https://github.com/glmark2/glmark2/commit/58763e2c13db39ad7c1a994c261146154e4f0afa

Fixes:
 - http://autobuild.buildroot.org/results/6106f07602c014897331daac3de01ac4a74e2016
 - http://autobuild.buildroot.org/results/b8d43fad291022cbc6e43988fe6bec14f594591a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agosupport/testing: TestInitSystemSystemdRwIfupdown test expect a RW rootfs
Romain Naour [Sun, 8 Nov 2020 23:00:09 +0000 (00:00 +0100)]
support/testing: TestInitSystemSystemdRwIfupdown test expect a RW rootfs

When running the TestInitSystemSystemdRwIfupdown test, the rootfs must
be in read-write mode. The commit log [1] introducing systemd tests say
so:

"basic systemd, read-write, network w/ ifupdown"

With systemd 246.5, the service systemd-update-done return an error code
when it can't write on the filesystem (/etc)

[1] 117835d5fcd508f301d62dd08ee658c1982c7fa7
[2] https://github.com/systemd/systemd/commit/8019995e9af9c6d7b5985198cedccd24eda3e26e

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/830981813

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolinux: fix linux CIP description typo
Angelo Compagnucci [Sun, 8 Nov 2020 21:33:13 +0000 (22:33 +0100)]
linux: fix linux CIP description typo

Version is 4.19 and not 4.4.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolinux: bump CIP kernel to version 4.19.152-cip37
Angelo Compagnucci [Sun, 8 Nov 2020 21:29:40 +0000 (22:29 +0100)]
linux: bump CIP kernel to version 4.19.152-cip37

This patch bumps Linux CIP to version 4.19.152-cip37

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/go: bump to 1.15.4
Christian Stewart [Mon, 9 Nov 2020 09:09:12 +0000 (01:09 -0800)]
package/go: bump to 1.15.4

Bugfix release. From the release notes:

go1.15.4 (released 2020/11/05) includes fixes to cgo, the compiler, linker,
runtime, and the compress/flate, net/http, reflect, and time packages.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/stress-ng: disable libbsd on static build
Baruch Siach [Mon, 9 Nov 2020 16:18:08 +0000 (18:18 +0200)]
package/stress-ng: disable libbsd on static build

Static link with libbsd fails because of multiple definition of the
strlcpy symbol. uClibc optionally provides these symbols.

Add make options that disable all libbsd tests when linking statically.

Fixes:
http://autobuild.buildroot.net/results/2c77271b33c9d0e9a39cced2eda6d0df0d6b8124/
http://autobuild.buildroot.net/results/2f98c5d9ca907dd62b30bedfe4e52b014bb3e8d1/
http://autobuild.buildroot.net/results/51c4c065b93a6d11f6b4583f80f932481518905a/

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/elf2flt: add support for binutils >= 2.34
Romain Naour [Sat, 7 Nov 2020 22:55:35 +0000 (23:55 +0100)]
package/elf2flt: add support for binutils >= 2.34

Various bfd section macros and functions like bfd_section_size() have been
modified starting with binutils >= 2.34.
Add a patch to handle this API change.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/xen: disable go tools
Fabrice Fontaine [Sat, 7 Nov 2020 17:43:37 +0000 (18:43 +0100)]
package/xen: disable go tools

go tools are enabled by default since version 4.14.0 and
https://github.com/xen-project/xen/commit/1e13ea98bbb8369d065af4666c45c26dab5240d5

Disable them to avoid the following build failure on arm or aarch64
(when host-go is built before xen):

aarch64-none-linux-gnu-gcc: error: unrecognized command line option '-m64'

Fixes:
 - http://autobuild.buildroot.org/results/08948e4c4a88fbf09cae524949e5b656882a6e9a
 - http://autobuild.buildroot.org/results/d966585c931ca4a4ae6a854a21e07eec4c277a02

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/bitcoin: drop boost program-options
Fabrice Fontaine [Sat, 7 Nov 2020 17:05:59 +0000 (18:05 +0100)]
package/bitcoin: drop boost program-options

boost program-options is not needed since version 0.17.0 and
https://github.com/bitcoin/bitcoin/commit/f447a0a7079619f0d650084df192781cca9fd826

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.2.2
Bernd Kuhls [Sat, 7 Nov 2020 16:42:43 +0000 (17:42 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 20.2.2

Release notes of this bugfix release::
https://lists.freedesktop.org/archives/mesa-announce/2020-November/000604.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/tinyproxy: add hash for license file
Bernd Kuhls [Sat, 7 Nov 2020 16:38:44 +0000 (17:38 +0100)]
package/tinyproxy: add hash for license file

Add hash for license file and update indentation (two spaces).

Fixes:
http://autobuild.buildroot.net/results/b07/b07052de34ca24d5c62f6facec2ced5e092d26e2/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/guile: renumber patch
Fabrice Fontaine [Sat, 7 Nov 2020 16:45:47 +0000 (17:45 +0100)]
package/guile: renumber patch

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/guile: disable jit on ARM with gcc < 5
Fabrice Fontaine [Sat, 7 Nov 2020 16:01:22 +0000 (17:01 +0100)]
package/guile: disable jit on ARM with gcc < 5

jit is enabled by default since version 3.0.0 on x86-64, i686, ARMv7 and
AArch64 targets however it raises the following build failure on ARM
with gcc 4.8:

jit.c:232:1: error: initializer element is not constant
 static const jit_gpr_t THREAD = JIT_V0;
 ^

This build failure was also reported with ARM on gcc 4.9:
https://www.mail-archive.com/guile-user@gnu.org/msg11497.html

So just disable jit with ARM and gcc < 5

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/fbtft: add license file
Fabrice Fontaine [Sat, 7 Nov 2020 14:06:26 +0000 (15:06 +0100)]
package/fbtft: add license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libexif: add security fix for CVE-2020-0452
Bernd Kuhls [Sun, 8 Nov 2020 17:11:42 +0000 (18:11 +0100)]
package/libexif: add security fix for CVE-2020-0452

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libexif: add security fix for CVE-2020-0198
Bernd Kuhls [Sun, 8 Nov 2020 17:11:41 +0000 (18:11 +0100)]
package/libexif: add security fix for CVE-2020-0198

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/davfs2: fix indent
Fabrice Fontaine [Sat, 7 Nov 2020 15:55:40 +0000 (16:55 +0100)]
package/davfs2: fix indent

Fix the following check-package warning added by commit
a2b98a6add92e38dbcd4ca9fda25454a38c719e3:

package/davfs2/davfs2.mk:22: expected indent with tabs

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/cryptsetup: break circular dependency
Fabrice Fontaine [Fri, 6 Nov 2020 18:02:54 +0000 (19:02 +0100)]
package/cryptsetup: break circular dependency

Build fails because of the following circular dependency:

cryptsetup -> util-linux -> udev -> systemd -> cryptsetup

which results in the following build failure:

checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... no
checking for uuid/uuid.h... no
configure: error: You need the uuid library.

To break it, apply the same ugly workaround that was applied for
libglib2 until a better solution is found:
https://patchwork.ozlabs.org/project/buildroot/patch/20201101150619.1709959-1-fontaine.fabrice@gmail.com/

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/davfs2: add davfs2 user and group
Sven Klomp [Thu, 5 Nov 2020 13:11:49 +0000 (14:11 +0100)]
package/davfs2: add davfs2 user and group

mount.davfs expects the availability of the user and group davfs2.

Signed-off-by: Sven Klomp <mail@klomp.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lzlib: add license file
Fabrice Fontaine [Fri, 6 Nov 2020 21:49:36 +0000 (22:49 +0100)]
package/lzlib: add license file

Add lzlib.c as the license file and, while at it, update indentation to
two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/darkhttpd: add license file
Fabrice Fontaine [Fri, 6 Nov 2020 17:52:49 +0000 (18:52 +0100)]
package/darkhttpd: add license file

Add license file and, while at it, update indentation to two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6udoo: select host-openssl for the Linux kernel build
Fabio Estevam [Fri, 6 Nov 2020 13:36:34 +0000 (10:36 -0300)]
configs/mx6udoo: select host-openssl for the Linux kernel build

Select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y to fix the following
build error:

scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>

Fixes:
 https://gitlab.com/buildroot.org/buildroot/-/jobs/831421064

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6sx_udoo_neo: select host-openssl for the Linux kernel build
Fabio Estevam [Fri, 6 Nov 2020 13:36:33 +0000 (10:36 -0300)]
configs/mx6sx_udoo_neo: select host-openssl for the Linux kernel build

Select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y to fix the following
build error:

scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
 #include <openssl/bio.h>

Fixes:
 https://gitlab.com/buildroot.org/buildroot/-/jobs/831421063

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freetype: security bump version to 2.10.4
Bernd Kuhls [Fri, 6 Nov 2020 21:49:32 +0000 (22:49 +0100)]
package/freetype: security bump version to 2.10.4

Fixes CVE-2020-15999, https://www.freetype.org/index.html#news

"This is an emergency release, fixing a severe vulnerability in embedded
 PNG bitmap handling [...].

 All users should update immediately."

Removed md5 hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ghostscript: fix build with freetype >= 2.10.3
Bernd Kuhls [Fri, 6 Nov 2020 21:49:31 +0000 (22:49 +0100)]
package/ghostscript: fix build with freetype >= 2.10.3

This patch is needed to fix the build with freetype >= 2.10.3.

https://www.freetype.org/index.html#news
"A warning for distribution maintainers: Version 2.10.3 and later may
 break the build of ghostscript, due to ghostscript's use of a with-
 drawn macro that wasn't intended for external usage."

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kmscube: add license file
Fabrice Fontaine [Fri, 6 Nov 2020 21:44:03 +0000 (22:44 +0100)]
package/kmscube: add license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/rock_pi_n8: use Python 3.x for U-Boot build
Marcin Niestroj [Fri, 6 Nov 2020 18:27:01 +0000 (19:27 +0100)]
configs/rock_pi_n8: use Python 3.x for U-Boot build

New U-Boot versions (such as 2020.07 being used) need Python 3.x for
pylibfdt.

Fixes:
 - https://gitlab.com/buildroot.org/buildroot/-/jobs/831421210

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/orangepi_pc: use Python 3.x for U-Boot build
Marcin Niestroj [Fri, 6 Nov 2020 18:27:00 +0000 (19:27 +0100)]
configs/orangepi_pc: use Python 3.x for U-Boot build

New U-Boot versions (such as 2020.07 being used) need Python 3.x for
pylibfdt.

Fixes:
 - https://gitlab.com/buildroot.org/buildroot/-/jobs/831421100

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/orangepi_zero_plus: use Python 3.x for U-Boot build
Marcin Niestroj [Fri, 6 Nov 2020 18:26:59 +0000 (19:26 +0100)]
configs/orangepi_zero_plus: use Python 3.x for U-Boot build

New U-Boot versions (such as 2020.10 being used) need Python 3.x for
pylibfdt.

Fixes:
 - https://gitlab.com/buildroot.org/buildroot/-/jobs/831421115

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoRevert "Makefile: exclude BR2_DL_DIR from savedefconfig"
Yann E. MORIN [Fri, 6 Nov 2020 18:26:41 +0000 (19:26 +0100)]
Revert "Makefile: exclude BR2_DL_DIR from savedefconfig"

Although BR2_DL_DIR is indeed a site-local setting, which does not
actually define the target system, we've had it in the tree for a
long time now, and people have been depending on it for a variety
of use-cases.

Furthermore, BR2_DL_DIR is far from the only such site-local setting,
BR2_CCACHE_DIR springs to mind, and in the less-obvious category, we
can also find BR2_JLEVEL, but also BR2_WGET, BR2_SVN, BR2_GIT et al.
as they may be tweaked to set the timeout, number of retries or so on
to work around stupid proxies. But of course, the most local site-local
setting is probably BR2_PACKAGE_OVERRIDE_FILE, with its default value
being explicitly just 'local.mk'.

Ideally, we would like to have a clear separation between the
configuration that actually defines the target system on one hand,
and the site-local settings that drive and control how the build is
performed, on the other hand. This is by far a much bigger endeavour
than just dropping BR2_DL_DIR from the saved defconfig.

This reverts commit 36edacce9c2c3b90f9bb11a5d2208e8edf7bbe63 (adapted
to keep the fix from 1a7873ec986c817fdd22cc2d9096d9482fee4381).

Closes: #13291
Note: thanks to Thomas; some phrasing above was borrowed from a
discussion with him.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Lance Fredrickson <lancethepants@gmail.com>
Cc: Sven Oliver Moll <buildroot@svol.li>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Adam Duskett <aduskett@gmail.com>
4 years agopackage/libsigrokdecode: fix build with python 3.9
Fabrice Fontaine [Thu, 5 Nov 2020 17:46:23 +0000 (18:46 +0100)]
package/libsigrokdecode: fix build with python 3.9

This will fix the following build failure with python 3.9 and
sigrok-cli:

/srv/storage/autobuild/run/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/mips64el-buildroot-linux-uclibc/5.5.0/../../../../mips64el-buildroot-linux-uclibc/bin/ld: /srv/storage/autobuild/run/instance-1/output-1/host/bin/../mips64el-buildroot-linux-uclibc/sysroot/usr/lib/libsigrokdecode.so: undefined reference to `PyList_Insert'

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/openntpd: fix build with gcc 10
Fabrice Fontaine [Thu, 5 Nov 2020 17:18:50 +0000 (18:18 +0100)]
package/openntpd: fix build with gcc 10

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agosupport/testing/tests: fix flake8 warnings
Thomas Petazzoni [Thu, 5 Nov 2020 16:47:35 +0000 (17:47 +0100)]
support/testing/tests: fix flake8 warnings

Fixes the following flake8 warnings:

support/testing/tests/core/test_selinux.py:21:1: E302 expected 2 blank lines, found 1
support/testing/tests/core/test_selinux.py:38:1: E302 expected 2 blank lines, found 1
support/testing/tests/core/test_selinux.py:51:1: E302 expected 2 blank lines, found 1
support/testing/tests/core/test_selinux.py:62:1: E302 expected 2 blank lines, found 1
support/testing/tests/core/test_selinux.py:65:14: E127 continuation line over-indented for visual indent
support/testing/tests/init/test_systemd_selinux.py:53:1: E302 expected 2 blank lines, found 1
support/testing/tests/init/test_systemd_selinux.py:64:1: E302 expected 2 blank lines, found 1

Interestingly, the "continuation line over-indented for visual indent"
shows up only once, while the same pattern is there at multiple places
in the file. We fix all places with that over-indentation pattern.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/jsoncpp: security bump version to 1.9.4
Bernd Kuhls [Thu, 5 Nov 2020 19:02:06 +0000 (20:02 +0100)]
package/jsoncpp: security bump version to 1.9.4

Release notes of this "Security and build system fixes" release:
https://github.com/open-source-parsers/jsoncpp/releases/tag/1.9.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/modem-manager: fix build without xsltproc
Fabrice Fontaine [Thu, 5 Nov 2020 07:47:39 +0000 (08:47 +0100)]
package/modem-manager: fix build without xsltproc

Commit 8efb52c1a17210dc79cfb61f56a71ffb760ccbe9 added a libxslt
dependency presumably to manage
https://github.com/freedesktop/ModemManager/commit/bbd39a457ce2949dd167f9c2e01eecf6a9e14716

However, this is wrong and build will fail on:

checking for xsltproc... no
configure: error: Please install xsltproc before configuring.

xsltproc is used to generate ModemManager-names.h since, at least,
version 0.7.990 and
https://github.com/freedesktop/ModemManager/commit/365b906a3e1bda05af10f92451a6b6ae60f8b879
However, this file is already available in the official tarball so drop
this unneeded dependency and set ac_cv_prog_XSLTPROC_CHECK to yes

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/oniguruma: security bump to version 6.9.6
Fabrice Fontaine [Thu, 5 Nov 2020 06:36:04 +0000 (07:36 +0100)]
package/oniguruma: security bump to version 6.9.6

Drop patch (already in version)

Fixed many problems found by OSS-Fuzz
Fixed many problems found by Coverity

https://github.com/kkos/oniguruma/releases/tag/v6.9.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.11-rc1
Peter Korsgaard [Wed, 4 Nov 2020 22:29:24 +0000 (23:29 +0100)]
Update for 2020.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoCHANGES: Update for 2020.11-rc1
Peter Korsgaard [Wed, 4 Nov 2020 22:22:03 +0000 (23:22 +0100)]
CHANGES: Update for 2020.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/feh: bump to version 3.5
Petr Vorel [Wed, 4 Nov 2020 18:14:00 +0000 (19:14 +0100)]
package/feh: bump to version 3.5

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/asterisk: disable spandsp
Fabrice Fontaine [Wed, 4 Nov 2020 17:34:01 +0000 (18:34 +0100)]
package/asterisk: disable spandsp

asterisk fails to build with spandsp since commit 36c983bfa543de89a
(package/spandsp: bump version to 3.0.0), so disable it.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/modem-manager: bump to version 1.14.6
Petr Vorel [Wed, 4 Nov 2020 17:08:20 +0000 (18:08 +0100)]
package/modem-manager: bump to version 1.14.6

NOTE: this version requires mbim: >= 1.24.0, qmi: >= 1.26.0.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-remi: downgrade to 2020.8.6 and move to pypi
Gwenhael Goavec-Merou [Wed, 4 Nov 2020 14:13:03 +0000 (15:13 +0100)]
package/python-remi: downgrade to 2020.8.6 and move to pypi

Since
https://github.com/dddomodossola/remi/commit/481ee7ca3df55be127db35560978a36997a2c088

remi use setuptools-scm to obtain version, but .git directory is dropped when
the archive is fetched. The result is a build failure like:

Traceback (most recent call last):
  File "setup.py", line 22, in <module>
    include_package_data=True,
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/tmp/instance-0/output-1/host/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 448, in __init__
    k: v for k, v in attrs.items()
  File "/tmp/instance-0/output-1/host/lib/python2.7/distutils/dist.py", line 287, in __init__
    self.finalize_options()
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 740, in finalize_options
    ep.load()(self)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools/dist.py", line 747, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/integration.py", line 17, in version_keyword
    dist.metadata.version = _get_version(config)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 147, in _get_version
    parsed_version = _do_parse(config)
  File "/tmp/instance-0/output-1/host/lib/python2.7/site-packages/setuptools_scm/__init__.py", line 118, in _do_parse
    "use git+https://github.com/user/proj.git#egg=proj" % config.absolute_root
LookupError: setuptools-scm was unable to detect version for u'/tmp/instance-0/output-1/build/python-remi-2020.10.30'.

Make sure you're either building from a fully intact git repository or PyPI tarballs. Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

For example, if you're using pip, instead of https://github.com/user/proj/archive/master.zip use git+https://github.com/user/proj.git#egg=proj
make: *** [package/pkg-generic.mk:250: /tmp/instance-0/output-1/build/python-remi-2020.10.30/.stamp_built] Error 1
make: Leaving directory '/tmp/instance-0/buildroot'

Fix:
- http://autobuild.buildroot.net/results/3a6/3a62359d0e183d45e50e999fc2c58f7805bda142/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[Peter: drop _LICENSE_FILES, tarball does not include LICENSE file]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: fix typo
Fabrice Fontaine [Wed, 4 Nov 2020 07:39:40 +0000 (08:39 +0100)]
package/gstreamer1/gst1-plugins-bad: fix typo

dvdsub{enc,overlay} -> dvbsub{enc,overlay}

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/collectd: fix grpc dependency
Fabrice Fontaine [Wed, 4 Nov 2020 06:36:37 +0000 (07:36 +0100)]
package/collectd: fix grpc dependency

Commit e98610f039b88a5d164b19343d5ecef2d1c01f6d forgot to propagate
libabseil-cpp dependencies to BR2_PACKAGE_COLLECTD_GRPC

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/grpc: add host gcc >= 4.9 comment
Fabrice Fontaine [Wed, 4 Nov 2020 06:36:36 +0000 (07:36 +0100)]
package/grpc: add host gcc >= 4.9 comment

Commit e98610f039b88a5d164b19343d5ecef2d1c01f6d forgot to update comment

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libinput: bump version to 1.16.3
Peter Seiderer [Tue, 3 Nov 2020 22:54:10 +0000 (23:54 +0100)]
package/libinput: bump version to 1.16.3

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2020-November/041644.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoboard: add Orangepi Zero Plus support
Marcin Niestroj [Thu, 29 Oct 2020 19:53:31 +0000 (20:53 +0100)]
board: add Orangepi Zero Plus support

Add initial support for Orangepi Zero Plus board:
- U-Boot 2020.10
- Linux 5.7.19
- Default packages from buildroot

This patch is based on Orangepi Zero Plus2 board support, so genimage
configuration and description is copy pasted. One difference is that
newer Linux and U-Boot are selected. Another difference is Ethernet
support (Plus) instead of WiFi (Plus2).

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}
Fabrice Fontaine [Sun, 1 Nov 2020 11:12:44 +0000 (12:12 +0100)]
package/opencv3: fix OPENCV3_CLEAN_INSTALL_{DOC, CMAKE}

opencv3 does not install anything in $(TARGET_DIR)/usr/share/OpenCV/doc
so drop OPENCV3_CLEAN_INSTALL_DOC

However it installs its licence files in
$(TARGET_DIR)/usr/share/licenses/opencv3 so add
OPENCV3_CLEAN_INSTALL_LICENSE

Moreover, the cmake hook does not catch all cmake files and missed the
valgrind files so update OPENCV3_CLEAN_INSTALL_CMAKE and add
OPENCV3_CLEAN_INSTALL_VALGRIND to delete those files:
OpenCVConfig.cmake  OpenCVConfig-version.cmake  OpenCVModules.cmake  OpenCVModules-release.cmake  valgrind_3rdparty.supp  valgrind.supp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoRevert "keepalived: needs headers >= 3.4"
Vadym Kochan [Sun, 1 Nov 2020 23:48:10 +0000 (01:48 +0200)]
Revert "keepalived: needs headers >= 3.4"

This reverts commit d01b0bbad04b97a5e8e1dd3ac3c1026555f793fb.

Original commit  made restriction for Linux headers < 3.4 which was
related to keepalived version 1.3.5, but it compiles fine now at least
with a toolchain based on 3.2 headers and keepalived 2.0.15 together
with ipset enabled.

Probably it was fixed by this commit:

    https://github.com/acassen/keepalived/commit/5a7f895bb795269f79e6353c6269dfbc0b782281

Signed-off-by: Vadym Kochan <vadym.kochan@plvision.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rt-tests: fix build issue for unsupported architectures
Heiko Thiery [Tue, 3 Nov 2020 22:04:54 +0000 (23:04 +0100)]
package/rt-tests: fix build issue for unsupported architectures

Release v1.9 introduced the oslat tool that only builds for supported
architectures (i386, x86_64, PPC64) and leads to a build failure for the
whole suite. An upstream patch changes this build error to a runtime warning.

Fixes:
  - http://autobuild.buildroot.net/results/72322cf7239a91211b0be74c01b55873340763f8

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openvpn: add mbedtls support
Fabrice Fontaine [Thu, 29 Oct 2020 17:35:56 +0000 (18:35 +0100)]
package/openvpn: add mbedtls support

mbedtls (former polarssl) support was dropped with commit
3380da69c5ab490e5c51dca0c4389b0da91743d0

Put it back as openvpn supports mbedtls 2.x since version 2.4.0 and
https://github.com/OpenVPN/openvpn/commit/86d8cd6860dfc74cb1a040ff8fe03140ebe7f930

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/imlib2: fix md5 and sha1
Fabrice Fontaine [Tue, 3 Nov 2020 22:13:03 +0000 (23:13 +0100)]
package/imlib2: fix md5 and sha1

Commit 23a79ddb45ed150cc36ddd3e16a0b5543b0342ad updated md5 and sha1 for
imlib2_loaders-1.6.1.tar.bz2 instead of imlib2-1.6.1.tar.bz2

Fix this mistake and, while at it, update indentation to two spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/busybox: update licensing info
Yann E. MORIN [Tue, 27 Oct 2020 15:12:29 +0000 (16:12 +0100)]
package/busybox: update licensing info

Busybox is mainly licensed under the GPL-2.0, but the bzip2 part is a
modified copy of the bzip2/libbzip2 project, which comes with its own
license.

Update the licensing information accordingly.

Add the hash for the new license file, and fixup indentation (2 spaces).

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/alsa-utils: bump version to 1.2.4
Bernd Kuhls [Tue, 3 Nov 2020 21:32:21 +0000 (22:32 +0100)]
package/alsa-utils: bump version to 1.2.4

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/alsa-lib: bump version to 1.2.4
Bernd Kuhls [Tue, 3 Nov 2020 21:32:20 +0000 (22:32 +0100)]
package/alsa-lib: bump version to 1.2.4

Rebased patch 0001, added patch 0002 to fix compile error with uClibc.

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.3.2_v1.2.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoimlib2: Bump to version 1.6.1
Petr Vorel [Sun, 1 Nov 2020 18:01:54 +0000 (19:01 +0100)]
imlib2: Bump to version 1.6.1

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/freescale-imx/firmware-imx: custom padding
Tibault Damman [Tue, 15 Sep 2020 13:04:14 +0000 (15:04 +0200)]
package/freescale-imx/firmware-imx: custom padding

Some derivatives (such as Variscite imx8mm) expect the (LP)DDR4
training data to be padded to a different length.

eg: https://github.com/varigit/uboot-imx/commit/5f8d814f

This patch makes the padding length configurable.

Signed-off-by: Tibault Damman <tibault.damman@basalte.be>
Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/pc/genimage-efi.cfg: align the rootfs to start at 16MB offset from start of...
Florian La Roche [Thu, 22 Oct 2020 10:15:12 +0000 (12:15 +0200)]
board/pc/genimage-efi.cfg: align the rootfs to start at 16MB offset from start of the image

For grub-efi we can align the rootfs to start at exactly 16MB from the
beginning of the disk.  This can be done by reducing the vfat partition to
be 32 KB smaller than its 16MB size, just like the offset of the vfat
partition.

Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com>
[Peter: drop redundant offset/size settings, add comment]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/environment-setup: add cmake alias
Angelo Compagnucci [Tue, 28 Apr 2020 14:46:00 +0000 (16:46 +0200)]
package/environment-setup: add cmake alias

In order to simplify the usage of a buildroot toolchain within
the buildroot shell, a "cmake" alias is provided to call cmake
with the correct toolchain file and options.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/environment-setup: add configure alias
Angelo Compagnucci [Tue, 28 Apr 2020 14:45:59 +0000 (16:45 +0200)]
package/environment-setup: add configure alias

In order to simplify the usage of a buildroot toolchain within
the buildroot shell, a "configure" alias is provided to call
./configure with the correct flags.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/environment-setup: new package
Angelo Compagnucci [Tue, 27 Oct 2020 14:01:40 +0000 (09:01 -0500)]
package/environment-setup: new package

Install an helper script to setup a build environment based on
Buildroot. It's useful when a developer wants to use a Buildroot
generated SDK to build an external project.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Tested-by: Michael Trimarchi <michael@amarulasolutions.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Maury Anderson <maury.anderson@collins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosystemd: sort SYSTEMD_CONF_OPTS
Arnout Vandecappelle (Essensium/Mind) [Tue, 3 Nov 2020 21:09:38 +0000 (22:09 +0100)]
systemd: sort SYSTEMD_CONF_OPTS

The meson options were in some semi-sorted order with no logic in it.
Sort them alphabetically instead.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agosystemd: clear telinit path
Arnout Vandecappelle (Essensium/Mind) [Tue, 3 Nov 2020 21:06:02 +0000 (22:06 +0100)]
systemd: clear telinit path

Since we don't enable sysv any support, it makes no sense to set the
path to telinit either.

The path we were setting was anyway wrong: we set a path into
TARGET_DIR, but this path is only used at runtime, on the target, where
TARGET_DIR doesn't exist (it should have been /usr/sbin/telinit).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agopackage/systemd: add missing path options
Norbert Lange [Fri, 10 Jul 2020 23:41:48 +0000 (01:41 +0200)]
package/systemd: add missing path options

If paths are not set, then meson will search the host system for the
binaries (or the target, where those binaries are not yet installed).
So add the missing paths.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agopackage/libcap: bump version to 2.45
Heiko Thiery [Tue, 3 Nov 2020 07:22:49 +0000 (08:22 +0100)]
package/libcap: bump version to 2.45

This libcap release is now able to build on environments w/o thread support.

- add PTHREADS make arg to allow building without thread support
- add SHARED make arg (replace of DYNAMIC)
- remove patch that function is now in upstream (SHARED)

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

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
CC: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: Fix libs building on ARC700 with atomics
Alexey Brodkin [Wed, 21 Oct 2020 06:59:23 +0000 (09:59 +0300)]
package/gcc: Fix libs building on ARC700 with atomics

As we many times by now discussed that - some ARC cores might
not have atomic instructions implemented. Namely that's ARC700
w/o explicitly added atomics during design creation/configuration.

Because of that when GCC gets configured for ARC700, i.e. via
"--with-cpu=arc700" atomic ops are assumed disabled.

Usually it's not a problem as we add "-matomics" in the wraper for
building all packages if targets CPU has atomis (BR2_ARC_ATOMIC_EXT).

But when bulding target's binaries which are essential parts of
the GCC itself we don't use the wrapper. Instead xgcc is being used.
That way we lose that important part of system's configuration about
atomics and:
 1. Atomic ops won't be used where otherwise they could have been used.
 2. Some configuration checks might end-up thinking there're no atomics

In particular (2) leads to pretty obscure failure on bulding of some
packages which use C++, for example:

log4cplus: http://autobuild.buildroot.net/results/a7732fdb2ba526a114d9fb759814236c5332f8d7
------------------------>8--------------------
./.libs/liblog4cplus.so: undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_notify_all(unsigned int*)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

bitcoin: http://autobuild.buildroot.net/results/f73/f73d4c77e5fd6223abdbc83e344addcfc93227b8
------------------------>8--------------------
(.text+0x110c): undefined reference to `std::__atomic_futex_unsigned_base::_M_futex_wait_until(unsigned int*, unsigned int, bool, std::chrono::duration<long long, std::ratio<1ll, 1ll> >, std::chrono::duration<long long, std::ratio<1ll, 1000000000ll> >)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

apcupsd: http://autobuild.buildroot.net/results/7a2/7a2cc7a4ac2237c185817f75e55e05d144efd100
------------------------>8--------------------
/tmp/instance-0/output-1/host/lib/gcc/arc-buildroot-linux-uclibc/9.3.1/../../../../arc-buildroot-linux-uclibc/bin/ld: eh_throw.cc:(.text._ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception+0x24): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)'
collect2: error: ld returned 1 exit status
------------------------>8--------------------

...and many more.

Interesting enough that was not seen earlier because "-matomic"
used to be added in TARGET_{C|CXX}FLAGS via TARGET_ABI,
but later "-matomic" was moved to ARCH_TOOLCHAIN_WRAPPER_OPTS, see
https://git.buildroot.org/buildroot/commit/?id=c568b4f37fa6d7f51e6d14d33d7eb75dfe26d7bf
and since then we started to see that new breakage which we now
attempt to fix right where it hapens on GCC configuration.

In contrast ARC HS family has atomic ops enabled by default thus
we never spotted that kind of problem for it.

More datails with analysis of what really happens under the hodd and
how do error messages above are related to libs of GCC configuration could
be found here: http://lists.busybox.net/pipermail/buildroot/2020-October/293614.html

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@gmail.com>
[Peter: simplify conditional]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/optee-client: fix build with gcc 4.8
Fabrice Fontaine [Tue, 3 Nov 2020 17:30:43 +0000 (18:30 +0100)]
package/optee-client: fix build with gcc 4.8

Fix the following build failure with optee-client 3.11.0 and gcc 4.8:

/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c: In function 'ck_create_object':
/home/giuliobenetti/autobuild/run/instance-2/output-1/build/optee-client-3.11.0/libckteec/src/pkcs11_processing.c:22:9: error: missing initializer for field 'buffer' of 'struct serializer' [-Werror=missing-field-initializers]
  struct serializer obj = { };
         ^

Build failure is raised since version 3.10.0 and
https://github.com/OP-TEE/optee_client/commit/c3279f424348bdd3378d236fd038fdd7bc76e10a
https://github.com/OP-TEE/optee_client/commit/e88c264ba358941d2166b18eeac448e617ffa887
https://github.com/OP-TEE/optee_client/commit/85a7ea7861339356b39c73926f2b5cb9added45b

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-remi: bump version to 2020.10.30
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 14:00:00 +0000 (15:00 +0100)]
package/python-remi: bump version to 2020.10.30

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgit2: bump version to 1.1.0
Nicolas Cavallari [Tue, 3 Nov 2020 11:29:20 +0000 (12:29 +0100)]
package/libgit2: bump version to 1.1.0

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libgpiod: bump version to 1.4.5
Michael Nosthoff [Mon, 2 Nov 2020 10:27:53 +0000 (11:27 +0100)]
package/libgpiod: bump version to 1.4.5

* add a comment about the kernel header dependencies when bumping
versions
* set url to kernel.org as github is unmaintained and outdated
* use two spaces in hash-file

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/re2: bump version to 2020-11-01
Michael Nosthoff [Tue, 3 Nov 2020 08:17:21 +0000 (09:17 +0100)]
package/re2: bump version to 2020-11-01

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gr-osmosdr: bump to version 0.2.2
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 14:22:41 +0000 (15:22 +0100)]
package/gr-osmosdr: bump to version 0.2.2

Drop patch now applied.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wireshark: bump to version 3.4.0
Fabrice Fontaine [Mon, 2 Nov 2020 19:57:37 +0000 (20:57 +0100)]
package/wireshark: bump to version 3.4.0

- c-ares is mandatory since
  https://github.com/wireshark/wireshark/commit/451a241e50bd34ba097bd09a5f9f673170779aaf
- Disable ilibc which is available and enabled by default since
  https://github.com/wireshark/wireshark/commit/12a13a69264fdef4281e4b13c8c7d92a272cc99e
- LTO can be enabled since
  https://github.com/wireshark/wireshark/commit/e6b5bd09766a1320c5540f78eb0e4ba03ce8f108
- opus is an optional dependency since
  https://github.com/wireshark/wireshark/commit/6136c719da4ec9b96c01adb4b0fd7f01af171688

https://www.wireshark.org/docs/relnotes/wireshark-3.4.0.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/pcre2: fix build on mips r6
Fabrice Fontaine [Tue, 3 Nov 2020 17:13:28 +0000 (18:13 +0100)]
package/pcre2: fix build on mips r6

Fix build of pcre2 10.35 on mips r6:
https://bugs.exim.org/show_bug.cgi?id=2667

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/grpc: bump version to 1.33.2
Michael Nosthoff [Tue, 3 Nov 2020 08:05:39 +0000 (09:05 +0100)]
package/grpc: bump version to 1.33.2

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/open-lldp: bump to version 1.1
Fabrice Fontaine [Mon, 2 Nov 2020 20:25:11 +0000 (21:25 +0100)]
package/open-lldp: bump to version 1.1

- Drop first patch (not needed since
  https://github.com/intel/openlldp/commit/7ae79b0dff53a23fa0a964f77b9e3bb387a293c4)
- Drop second patch (not needed since
  https://github.com/intel/openlldp/commit/dc35fb92dade6ac88a0b96c3395fd77eb94eaf58)
- Drop other patches (already in version)
- systemd is an optional dependency since
  https://github.com/intel/openlldp/commit/5a0add7b097e0b35b96a477d56c3bb076c475b03

https://github.com/intel/openlldp/releases/tag/v1.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/zeromq: add libbsd optional dependency
Fabrice Fontaine [Mon, 2 Nov 2020 21:53:00 +0000 (22:53 +0100)]
package/zeromq: add libbsd optional dependency

libbsd is an optional dependency which is enabled by default since
version 4.3.3 and
https://github.com/zeromq/libzmq/commit/068385c951c0608edec6264d55ba9c4c923acccc

Fixes:
 - http://autobuild.buildroot.org/results/51220b1b82774e8f6f6ed8593c58d2e3c31a1531

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libqmi: bump to version 1.26.6
Petr Vorel [Mon, 2 Nov 2020 18:09:27 +0000 (19:09 +0100)]
package/libqmi: bump to version 1.26.6

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/gqrx: bump version to 2.13.2
Gwenhael Goavec-Merou [Mon, 2 Nov 2020 16:04:53 +0000 (17:04 +0100)]
package/gqrx: bump version to 2.13.2

Drop patch now applied.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agotoolchain: update ARC tools to arc-2020.09-release
Evgeniy Didin [Mon, 2 Nov 2020 14:50:54 +0000 (17:50 +0300)]
toolchain: update ARC tools to arc-2020.09-release

This commit bumps ARC toolchain to arc-2020.09-release.

ARC GNU tools of version arc-2020.09-release bring some quite significant
changes like:
* Binutils 2.34.50 with additional ARC patches
* GCC 10.0.2 with additional ARC patches
* GDB 10.0.50 with additional ARC patches

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/collectd: add comment about ssl support in rabbitmq-c
Fabrice Fontaine [Tue, 3 Nov 2020 17:17:35 +0000 (18:17 +0100)]
package/collectd: add comment about ssl support in rabbitmq-c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dropbear: bump to version 2020.81
Baruch Siach [Tue, 3 Nov 2020 16:41:29 +0000 (18:41 +0200)]
package/dropbear: bump to version 2020.81

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/mesa3d-headers: fix legal-info
Fabrice Fontaine [Tue, 3 Nov 2020 17:16:29 +0000 (18:16 +0100)]
package/mesa3d-headers: fix legal-info

Commit 9d874c9051cf46ef29b763ad8db0b638f3761605 forgot to update
MESA3D_HEADERS_LICENSE_FILES

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/azure-iot-sdk-c: needs wchar
Fabrice Fontaine [Sun, 1 Nov 2020 16:57:38 +0000 (17:57 +0100)]
package/azure-iot-sdk-c: needs wchar

wchar is needed since version LTS_07_2020_Ref01 which bumped internal
umock with
https://github.com/Azure/azure-iot-sdk-c/commit/8a27860452ec7345bce84d6690b0e8d167b7560a

Indeed umock unconditionally depends on wchar since
https://github.com/Azure/umock-c/commit/6b8e0160defb23ec4fde159ba6389cf61e352a0b

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libass: security bump to version 0.15
Fabrice Fontaine [Thu, 29 Oct 2020 13:24:29 +0000 (14:24 +0100)]
package/libass: security bump to version 0.15

- harfbuzz is mandatory since
  https://github.com/libass/libass/commit/f3e2c97e1818598afb0b1c7010003ffe4823ff21
- Fix CVE-2020-26682 (In libass 0.14.0, the `ass_outline_construct`'s
  call to `outline_stroke` causes a signed integer overflow.) through
  https://github.com/libass/libass/commit/676f9dc5b52ef406c5527bdadbcb947f11392929
  which does not apply cleanly over version 0.14.
  It should be noted that version 0.15 also fixes other integer
  overflows (which have no CVE assigned)
- Update indentation in hash file (two spaces)

https://github.com/libass/libass/releases/tag/0.15.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wireshark: add zstd optional dependency
Fabrice Fontaine [Sun, 1 Nov 2020 12:05:58 +0000 (13:05 +0100)]
package/wireshark: add zstd optional dependency

zstd is available since version 3.1.1 and is enabled by default:
https://github.com/wireshark/wireshark/commit/ad94c4d459d243c0cbbb9b222d5f7cdf8189ab86

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglib2: fix util-linux-libs dependency
Fabrice Fontaine [Sun, 1 Nov 2020 12:15:36 +0000 (13:15 +0100)]
package/libglib2: fix util-linux-libs dependency

Commit 2acaa86ce630f616b12aa92493e0269421c5bc97 replaced util-linux by
util-linux-libs but this raises the following build failure:

Makefile:585: *** util-linux-libs is in the dependency chain of libglib2 that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in.  Stop.

To fix this build failure, use util-linux or util-linux-libs depending
on BR2_PACKAGE_UTIL_LINUX_LIBS

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

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