buildroot.git
4 years agopackage/libmbim: bump version to 1.24.2
Petr Vorel [Fri, 31 Jul 2020 23:19:30 +0000 (01:19 +0200)]
package/libmbim: bump version to 1.24.2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/waffle: bump version to 1.6.1
Bernd Kuhls [Mon, 3 Aug 2020 06:10:27 +0000 (08:10 +0200)]
package/waffle: bump version to 1.6.1

Release notes for v1.6.1:
https://lists.freedesktop.org/archives/mesa-announce/2020-March/000575.html

Removed patch 0001 which was applied upstream.

Switched _SITE to gitlab according to release notes for v1.6.0:
https://lists.freedesktop.org/archives/mesa-announce/2019-June/000520.html

Added -Dwaffle_has_nacl=OFF to CONF_OPTS to disable nacl support, this
avoids adding a dependency to C++:
https://gitlab.freedesktop.org/mesa/waffle/-/commit/6ca943584e593aec2bd4f9c66d91859e63e02d61#9a2aa4db38d3115ed60da621e012c0efc0172aae_27_26

Added support for mesa3d surfaceless egl:
https://gitlab.freedesktop.org/mesa/waffle/commit/7318f22c4761035c03e99420edf3e92f07e06c9c

Added support for bash-completion:
https://gitlab.freedesktop.org/mesa/waffle/-/blob/maint-1.6/CMakeLists.txt#L189

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-cryptography: bump to version 3.0
James Hilliard [Sat, 1 Aug 2020 21:35:32 +0000 (15:35 -0600)]
package/python-cryptography: bump to version 3.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-cbor2: bump to version 5.1.2
James Hilliard [Sat, 1 Aug 2020 21:30:15 +0000 (15:30 -0600)]
package/python-cbor2: bump to version 5.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-pycryptodomex: bump to version 3.9.8
James Hilliard [Sat, 1 Aug 2020 20:10:27 +0000 (14:10 -0600)]
package/python-pycryptodomex: bump to version 3.9.8

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-yarl: bump to version 1.5.1
James Hilliard [Sat, 1 Aug 2020 20:00:55 +0000 (14:00 -0600)]
package/python-yarl: bump to version 1.5.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/sysdig: Fix check-package
Stephane Viau [Mon, 3 Aug 2020 07:31:14 +0000 (09:31 +0200)]
package/sysdig: Fix check-package

This patch fixes a couple of 'check-package' errors:

package/sysdig/sysdig.mk:23: remove trailing backslash
package/sysdig/sysdig.mk:25: consecutive empty lines

Signed-off-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/grub2: Backport Boothole securify fixes
Stefan Sørensen [Mon, 3 Aug 2020 08:00:25 +0000 (10:00 +0200)]
boot/grub2: Backport Boothole securify fixes

Details: https://lists.gnu.org/archive/html/grub-devel/2020-07/msg00034.html

Fixes the following security issues:

 * CVE-2020-10713
   A flaw was found in grub2, prior to version 2.06. An attacker may
   use the GRUB 2 flaw to hijack and tamper the GRUB verification
   process. This flaw also allows the bypass of Secure Boot
   protections. In order to load an untrusted or modified kernel, an
   attacker would first need to establish access to the system such as
   gaining physical access, obtain the ability to alter a pxe-boot
   network, or have remote access to a networked system with root
   access. With this access, an attacker could then craft a string to
   cause a buffer overflow by injecting a malicious payload that leads
   to arbitrary code execution within GRUB. The highest threat from
   this vulnerability is to data confidentiality and integrity as well
   as system availability.

 * CVE-2020-14308
   In grub2 versions before 2.06 the grub memory allocator doesn't
   check for possible arithmetic overflows on the requested allocation
   size. This leads the function to return invalid memory allocations
   which can be further used to cause possible integrity,
   confidentiality and availability impacts during the boot process.

 * CVE-2020-14309
   There's an issue with grub2 in all versions before 2.06 when
   handling squashfs filesystems containing a symbolic link with name
   length of UINT32 bytes in size. The name size leads to an
   arithmetic overflow leading to a zero-size allocation further
   causing a heap-based buffer overflow with attacker controlled data.

 * CVE-2020-14310
   An integer overflow in read_section_from_string may lead to a heap
   based buffer overflow.

 * CVE-2020-14311
   An integer overflow in grub_ext2_read_link may lead to a heap-based
   buffer overflow.

 * CVE-2020-15706
   GRUB2 contains a race condition in grub_script_function_create()
   leading to a use-after-free vulnerability which can be triggered by
   redefining a function whilst the same function is already
   executing, leading to arbitrary code execution and secure boot
   restriction bypass

 * CVE-2020-15707
   Integer overflows were discovered in the functions grub_cmd_initrd
   and grub_initrd_init in the efilinux component of GRUB2, as shipped
   in Debian, Red Hat, and Ubuntu (the functionality is not included
   in GRUB2 upstream), leading to a heap-based buffer overflow. These
   could be triggered by an extremely large number of arguments to the
   initrd command on 32-bit architectures, or a crafted filesystem
   with very large files on any architecture. An attacker could use
   this to execute arbitrary code and bypass UEFI Secure Boot
   restrictions. This issue affects GRUB2 version 2.04 and prior
   versions.

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/rauc: bump version to 1.4
Yair Ben-Avraham [Sun, 2 Aug 2020 19:21:41 +0000 (19:21 +0000)]
package/rauc: bump version to 1.4

Signed-off-by: Yair Ben Avraham <yairba@protonmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/x11r7/xlib_libX11: security bump version to 1.6.10
Bernd Kuhls [Sun, 2 Aug 2020 07:34:13 +0000 (09:34 +0200)]
package/x11r7/xlib_libX11: security bump version to 1.6.10

Fixes CVE-2020-14344:
https://lists.x.org/archives/xorg-announce/2020-July/003050.html

Removed md5 & sha1 hashes, upstream does not provide them anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-cython: bump to version 0.29.21
James Hilliard [Sat, 1 Aug 2020 22:24:53 +0000 (16:24 -0600)]
package/python-cython: bump to version 0.29.21

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-pynacl: bump to version 1.4.0
James Hilliard [Sat, 1 Aug 2020 22:14:13 +0000 (16:14 -0600)]
package/python-pynacl: bump to version 1.4.0

We need to backport a commit to fix a build failure cased by a spurious
wheel dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-six: bump to version 1.15.0
James Hilliard [Sat, 1 Aug 2020 21:55:03 +0000 (15:55 -0600)]
package/python-six: bump to version 1.15.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-txaio: bump to verison 20.4.1
James Hilliard [Sat, 1 Aug 2020 21:51:08 +0000 (15:51 -0600)]
package/python-txaio: bump to verison 20.4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{protobuf, python-protobuf}: bump to version 3.12.4
James Hilliard [Sat, 1 Aug 2020 21:45:49 +0000 (15:45 -0600)]
package/{protobuf, python-protobuf}: bump to version 3.12.4

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: xvmc needs x11
Bernd Kuhls [Sun, 2 Aug 2020 12:10:37 +0000 (14:10 +0200)]
package/mesa3d: xvmc needs x11

This is a follow-up patch to

https://git.buildroot.net/buildroot/commit/package/mesa3d?id=e79ee3b0f91aa3eb1b20d86701a195e3bd9a26d3

to make sure that MESA3D_PLATFORMS contains x11 needed by xvmc:
https://cgit.freedesktop.org/mesa/mesa/tree/meson.build?h=20.1#n510

Fixes
http://autobuild.buildroot.net/results/dae/dae41e30d2ac69b768ec0a5b795a2e559c35bcd3/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoRevert "package/pkg-generic.mk: create directories upfront in the configure step"
Yann E. MORIN [Sat, 1 Aug 2020 11:44:16 +0000 (13:44 +0200)]
Revert "package/pkg-generic.mk: create directories upfront in the configure step"

This _partially_ reverts commit 2dbb0660fb4d89f8eac86fcff08e9b3d0a705917.

Indeed, before 2dbb0660fb, the per-package ../host/ directory was
explicitly created right before it was populated. With 2dbb0660fb, it
is now created only at the beginning of the configure step.

However, some packages may have download or extract host dependencies,
and when we are trying to rsync them, the destination .../host/
directory does not yet exist at the download or extract steps, thus the
build fails. E.g., with wget which needs host-lzip if the system does
not have it yet:

    rsync -a --link-dest=/home/ymorin/dev/buildroot/O/per-package/host-lzip/host/ /home/ymorin/dev/buildroot/O/per-package/host-lzip/host/ /home/ymorin/dev/buildroot/O/per-package/wget/host
    rsync: mkdir "/home/ymorin/dev/buildroot/O/per-package/wget/host" failed: No such file or directory (2)
    rsync error: error in file IO (code 11) at main.c(682) [Receiver=3.1.3]
    make[1]: *** [package/pkg-generic.mk:170: /home/ymorin/dev/buildroot/O/build/wget-1.20.3/.stamp_extracted] Error 11

Kudos to Raphael for pin-pointing the culprit commit.

Fixes:
    http://autobuild.buildroot.org/results/4c8/4c895c7ac0a635d38f5015b5df0393581ad7b508/
    and a slew of similar failures

Notes:
An alternative solution would be to move the creation of the directories
from the configure step to the download step *and* to the rsync step,
but this is not so nice in the end... Let's just ensure they are created
where needed: at the configure step, and when populating them.

Reported-by: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zbar: bump to version 0.23.1
Fabrice Fontaine [Tue, 28 Jul 2020 10:19:09 +0000 (12:19 +0200)]
package/zbar: bump to version 0.23.1

- Add new NLS dependency as well as a patch to fix a build failure
  without it
- Drop host-gettext (not needed since autoreconf was dropped with
  8729c4ef881b02ff85b7645b0ad309d6ae44fccf)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agosupport/testing: drop explicit docker kernel options from docker test
Peter Korsgaard [Mon, 27 Jul 2020 22:21:58 +0000 (00:21 +0200)]
support/testing: drop explicit docker kernel options from docker test

Since commit 0390777bfaff6c6 (package/docker-engine: needs some kernel
options), docker-engine now automatically ensures the needed kernel options
are enabled, so drop the explicit options from the kernel config.

23:19:27 TestDockerCompose                        Starting
23:19:28 TestDockerCompose                        Building
00:14:41 TestDockerCompose                        Building done
00:15:30 TestDockerCompose                        Cleaning up
.
----------------------------------------------------------------------
Ran 1 test in 3362.784s

OK

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agosupport/testing: drop explicit CGROUPFS_MOUNT from docker test
Peter Korsgaard [Mon, 27 Jul 2020 22:21:57 +0000 (00:21 +0200)]
support/testing: drop explicit CGROUPFS_MOUNT from docker test

Since commit 4f8229653 (package/docker-engine: needs more runtime
dependencies), docker-engine now automatically pulls in cgroupfs-mount, so
drop the explicit handling of it in TestDockerCompose.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/feh: bump version to 3.4.1
Petr Vorel [Thu, 30 Jul 2020 04:25:09 +0000 (06:25 +0200)]
package/feh: bump version to 3.4.1

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/webkitgtk: security bump to version 2.28.4
Adrian Perez de Castro [Wed, 29 Jul 2020 15:40:20 +0000 (18:40 +0300)]
package/webkitgtk: security bump to version 2.28.4

This is a minor release which provides fixes for CVE-2020-9862,
CVE-2020-9893, CVE-2020-9894, CVE-2020-9895, CVE-2020-9915, and
CVE-2020-9925.

Full release notes can be found at:

  https://webkitgtk.org/2020/07/28/webkitgtk2.28.4-released.html

A detailed security advisory can be found at:

  https://webkitgtk.org/security/WSA-2020-0007.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wpewebkit: security bump to version 2.28.4
Adrian Perez de Castro [Wed, 29 Jul 2020 14:22:52 +0000 (17:22 +0300)]
package/wpewebkit: security bump to version 2.28.4

This is a minor release which provides fixes for CVE-2020-9862,
CVE-2020-9893, CVE-2020-9894, CVE-2020-9895, CVE-2020-9915, and
CVE-2020-9925.

Full release notes can be found at:

  https://wpewebkit.org/release/wpewebkit-2.28.4.html

A detailed security advisory can be found at:

  https://wpewebkit.org/security/WSA-2020-0007.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/kodi: bump version to 18.8-Leia
Bernd Kuhls [Tue, 28 Jul 2020 20:40:50 +0000 (22:40 +0200)]
package/kodi: bump version to 18.8-Leia

Removed patch which was applied upstream:
https://github.com/xbmc/xbmc/commit/920cc74da069216d19f724ecf5246cf997861bc6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dbus: disable systemd for host build
John Keeping [Tue, 28 Jul 2020 10:45:19 +0000 (11:45 +0100)]
package/dbus: disable systemd for host build

This fixes an issue if host-dbus happens to be rebuilt after systemd, in
which case it autodetects systemd support but then ignored the prefix
when installing unit files.  That means that is tries to write to the
host system's /usr/lib/ which fails.

There is no reason to build and install systemd support in the host
build, so disable it explicitly.

Signed-off-by: John Keeping <john@metanate.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/easydbus: bump to version 0.1.0
Fabrice Fontaine [Tue, 28 Jul 2020 10:07:07 +0000 (12:07 +0200)]
package/easydbus: bump to version 0.1.0

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/iprutils: bump to version 2.4.18.1
Fabrice Fontaine [Tue, 28 Jul 2020 08:52:33 +0000 (10:52 +0200)]
package/iprutils: bump to version 2.4.18.1

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 7}.x series
Peter Korsgaard [Tue, 28 Jul 2020 07:17:08 +0000 (09:17 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 7}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/linux-headers: drop support for 5.6.x headers
Peter Korsgaard [Tue, 28 Jul 2020 07:17:07 +0000 (09:17 +0200)]
package/linux-headers: drop support for 5.6.x headers

The 5.6.x series is now EOL so remove the option and add legacy
handling for it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/linux-headers: drop support for 5.5.x headers
Peter Korsgaard [Tue, 28 Jul 2020 07:17:06 +0000 (09:17 +0200)]
package/linux-headers: drop support for 5.5.x headers

The 5.5.x series is now EOL so remove the option and add legacy
handling for it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libcurl: fix build against gnutls with proxy disabled
Baruch Siach [Tue, 28 Jul 2020 18:33:29 +0000 (21:33 +0300)]
package/libcurl: fix build against gnutls with proxy disabled

Add upstream patch (#4) fixing build with gnutls when
BR2_PACKAGE_LIBCURL_PROXY_SUPPORT is disabled.

Patch #4 depends on #3 to apply so add this one as well.

Fixes:
http://autobuild.buildroot.net/results/31d7204869ff71319ea055688c919a646bfb200b/
http://autobuild.buildroot.net/results/f8d2fb919475cdff4a36ad93071048ee09193b98/
http://autobuild.buildroot.net/results/2f07a0ac1240a6040a3509d2ebf06906a31fd172/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lz4: simplify build/install logic
Peter Korsgaard [Mon, 27 Jul 2020 16:20:07 +0000 (18:20 +0200)]
package/lz4: simplify build/install logic

No functional change.

Rather than tracking both build targets and sub directory to run 'make
install' from, use a make loop for the staging/target install logic, similar
to how we are doing it to for the build step and directly use the Makefile
in the sub directory rather than the helper lib/lz4 targets in the top level
Makefile.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/luaposix: select bit32 based on lua ABI version 5.1
James Hilliard [Mon, 25 May 2020 00:48:41 +0000 (18:48 -0600)]
package/luaposix: select bit32 based on lua ABI version 5.1

Since the bit32 module is needed by all lua ABI 5.1 providers we can
select based on the lua ABI version instead of both lua 5.1 and luajit.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/solarus: depend on lua ABI version 5.1
James Hilliard [Mon, 25 May 2020 00:48:40 +0000 (18:48 -0600)]
package/solarus: depend on lua ABI version 5.1

Since solarus is compatible with lua interpreters that provide the
version 5.1 ABI we should depend on that instead of unconditionally
selecting luajit.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: depend on luainterpreter for lua support
James Hilliard [Mon, 25 May 2020 00:48:39 +0000 (18:48 -0600)]
package/collectd: depend on luainterpreter for lua support

Since collectd lua support is compatible with any luainterpreter
implementation we should depend on BR2_PACKAGE_HAS_LUAINTERPRETER
instead of unconditionally selecting BR2_PACKAGE_LUA.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr: use luainterpreter as dependency]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sysdig: depend on lua ABI version 5.1
James Hilliard [Mon, 25 May 2020 00:48:38 +0000 (18:48 -0600)]
package/sysdig: depend on lua ABI version 5.1

Since sysdig is compatible with lua interpreters that provide the
version 5.1 ABI we should depend on that instead of unconditionally
selecting luajit.

Use luainterpreter as the dependency, now that either lua or luajit
can be used.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - reorder dependencies in Config.in: package deps go after toolchain
    deps
  - keep the toolchain deps together in the comment
  - switch to using luainterpreter as a build dependency
  - split the now-long _DEPENDENCIES list
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/luainterpreter: gather the ABI version string defaults
Yann E. MORIN [Mon, 27 Jul 2020 15:33:47 +0000 (17:33 +0200)]
package/luainterpreter: gather the ABI version string defaults

Now that we have booleans to represent the Lua ABI version, and that
every Lua providers do select those, there is no longer any reason
for them to also handle the ABI version string anymore.

Move the defaults into the common luainterpreter.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
4 years agopackage/luainterpreter: add abi version options
James Hilliard [Mon, 25 May 2020 00:48:37 +0000 (18:48 -0600)]
package/luainterpreter: add abi version options

Since a number of packages depend on specific ABI version that are
provided by lua and luajit packages we should have a kconfig variable
that those packages can depend on.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/prosody: don't depend on !lua 5.3
James Hilliard [Mon, 25 May 2020 00:48:44 +0000 (18:48 -0600)]
package/prosody: don't depend on !lua 5.3

The current version of prosody is compatible with Lua 5.3.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/minetest: depend on LuaJIT
James Hilliard [Mon, 25 May 2020 00:48:42 +0000 (18:48 -0600)]
package/minetest: depend on LuaJIT

Luajit is a provider for luainterpreter. We can't select providers of
virtual packages; we can only depend on them.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - a lua interpreter is needed, so don't drop the dependency
  - make it a "depends on" rather than a "select"
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/efl: depend on LuaJIT
James Hilliard [Mon, 25 May 2020 00:48:43 +0000 (18:48 -0600)]
package/efl: depend on LuaJIT

Luajit is a provider for luainterpreter. We can't select providers of
virtual packages; we can only depend on them.

Note also that it is not very clear whether the host and target variants
of EFL need to be built with the same lua interpreter. Today, this is
guaranteed as we inly use luajit in both cases. But there were issues
with lua 5.1 in the past, so stick to only using luajit.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - depend on luajit, not "any" luainterpreter
  - which keeps the host and target variants built with the same
    interpreter
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: bump version to 245.7
Adam Duskett [Mon, 27 Jul 2020 18:12:52 +0000 (11:12 -0700)]
package/systemd: bump version to 245.7

Also drop upstream patch

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/stm32mp157c_dk2: Bump Kernel and U-Boot
Pierre-Jean Texier [Mon, 27 Jul 2020 15:19:37 +0000 (17:19 +0200)]
configs/stm32mp157c_dk2: Bump Kernel and U-Boot

Bump kernel to version 5.7.10 and U-Boot to 2020.07

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/stm32mp157a_dk1: Bump Kernel and U-Boot
Pierre-Jean Texier [Mon, 27 Jul 2020 15:19:36 +0000 (17:19 +0200)]
configs/stm32mp157a_dk1: Bump Kernel and U-Boot

Bump kernel to version 5.7.10 and U-Boot to 2020.07

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/freescale-imx/firmware-imx: refactor DDR firmware preparation
Thomas Petazzoni [Sat, 11 Jul 2020 21:42:38 +0000 (23:42 +0200)]
package/freescale-imx/firmware-imx: refactor DDR firmware preparation

The logic doing the padding and concatenation of DDR firmware was
duplicated between the DDR4 and LPDDR4 cases. This commit refactors
this logic into a single function FIRMWARE_IMX_PREPARE_DDR_FW.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Stephane Viau <stephane.viau@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/janus-gateway: bump version to 0.10.3
Adam Duskett [Mon, 27 Jul 2020 17:53:48 +0000 (10:53 -0700)]
package/janus-gateway: bump version to 0.10.3

Also remove upstream patch.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoMakefile: properly account for custom tags in BR2_VERSION_FULL
Thomas Petazzoni [Mon, 20 Jul 2020 11:59:57 +0000 (13:59 +0200)]
Makefile: properly account for custom tags in BR2_VERSION_FULL

BR2_VERSION_FULL is currently defined as follows:

  BR2_VERSION_FULL := $(BR2_VERSION)$(shell $(TOPDIR)/support/scripts/setlocalversion)

This BR2_VERSION_FULL value then gets used as the "VERSION" variable
in the /etc/os-release file.

The logic of "setlocalversion" is that if it is exactly on a tag, it
returns nothing.

If it is on a tag + a number of commits, then it returns only
-XYZ-gABC where XYZ is the number of commits since the last tag, and
ABC the git commit hash (these are extracted from git describe).

This output then gets concatenated to BR2_VERSION which gives
something like 2020.05 or 2020.05-00123-g5bc6a.

The issue is that when you're on a tag specific to your project, which
is not a Buildroot YYYY.MM tag, then the output of setlocalversion is
empty, and all you get as VERSION in os-release is $(BR2_VERSION)
which is not really nice. Worse, if you have another non-official
Buildroot tag between the last official Buildroot tag/version and
where you are, you will get $(BR2_VERSION)-XYZ-gABC, but XYZ will not
correspond to the number of commits since BR2_VERSION, but since the
last tag that "git describe" as found, which is clearly incorrect.

Here is an example: you're on master, "make print-version" (which
displays BR2_VERSION_FULL) will show:

$ make print-version
2020.08-git-00758-gc351877a6e

So far so good. Now, you create a tag say 5 commits "before" master,
and show BR2_VERSION_FULL again:

$ git tag -a -m "dummy tag" dummy-tag HEAD~5
$ make print-version
2020.08-git-00005-gc351877a6e

This makes you believe you are 5 commits above 2020.08, which is
absolutely wrong.

So this commit simplifies the logic of setlocalversion to simply
return what "git describe" provides, and not prepend $(BR2_VERSION) in
the main Makefile. Since official Buildroot tags match official
Buildroot version names, you get the same output when you're on an
official Buildroot tag, or some commits above a Buildroot tag. An in
other cases, you get a sensible output. The logic is also adjusted for
the Mercurial case.

In the above situation, with this commit applied, we get:

$ make print-version
dummy-tag-6-g6258cdddeb

(6 commits instead of 5 as we have this very commit applied, but at
least it's 6 commits on top of the dummy-tag)

Finally, if you're not using a version control system, setlocalversion
was already returning nothing, so in this case, the Makefile simply
sets BR2_VERSION_FULL to BR2_VERSION to preserve this behavior.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agogitlab-ci: check all defconfigs on every push
Romain Naour [Mon, 27 Jul 2020 15:51:27 +0000 (17:51 +0200)]
gitlab-ci: check all defconfigs on every push

The defconfig check has been introduced by the previous
patch before the building each defconfig but those builds
are done every week or more.

Checking if a defconfig is valid can be done on every
push in the repository since it take few seconds.

This would allow to detect as soon as possible a problem
in a defconfig and eventually avoid breaking the build
while build testing all defconfig.

Introduce a new job template ".defconfig_check" in
gitlab-ci.yml.in and modify the generate-gitlab-ci-yml
to create a job for each defconfig to run the test.

Although, we could have used only one job to do all
tests, using one job per defconfig allow to identify
easily in gitlab which defconfig is falling.

Tested:
https://gitlab.com/kubu93/buildroot/pipelines/138331069
https://gitlab.com/kubu93/buildroot/pipelines/171223758

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogitlab-ci: check generated config files
Romain Naour [Mon, 27 Jul 2020 15:51:26 +0000 (17:51 +0200)]
gitlab-ci: check generated config files

Use the script added by the previous patch to check
generated config files.

Tested on gitlab:
https://gitlab.com/kubu93/buildroot/pipelines/137597966

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts: add check-dotconfig.py
Romain Naour [Mon, 27 Jul 2020 15:51:25 +0000 (17:51 +0200)]
support/scripts: add check-dotconfig.py

For the same reason as for 50b747f212be2c9c0f7cf10c674ed488d042715c,
we need to check if the generated configuration file (.config)
contains all symbols present in the defconfig file.

If not there is an issue with the defconfig.

This script will be used in .gitlab-ci.yml.

Inspired by is_toolchain_usable() function from genrandconfig:
https://git.busybox.net/buildroot/tree/utils/genrandconfig?h=2020.02#n164

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr:
  - strip defconfig lines when reading them
  - use a generator to read the defconfig lines
  - no need to strip() again when building the missing list
  - testing the list directly, not its len()
  - simply sys.exit(1) in the error condition
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/rock_pi_n10_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON
Romain Naour [Mon, 27 Jul 2020 15:51:24 +0000 (17:51 +0200)]
configs/rock_pi_n10_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON

BR2_TARGET_UBOOT_NEEDS_PYTHON3 is already selected for
this defconfig, BR2_TARGET_UBOOT_NEEDS_PYTHON and
BR2_TARGET_UBOOT_NEEDS_PYTHON3 can't be selected at the
same time.

Reported by check-dotconfig.py.

Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/657885314

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/rock_pi_4_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON
Romain Naour [Mon, 27 Jul 2020 15:51:23 +0000 (17:51 +0200)]
configs/rock_pi_4_defconfig: remove BR2_TARGET_UBOOT_NEEDS_PYTHON

BR2_TARGET_UBOOT_NEEDS_PYTHON3 is already selected for
this defconfig, BR2_TARGET_UBOOT_NEEDS_PYTHON and
BR2_TARGET_UBOOT_NEEDS_PYTHON3 can't be selected at the
same time.

Reported by check-dotconfig.py.

Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/657885313

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/imx6ullevk_defconfig: remove typo
Romain Naour [Mon, 27 Jul 2020 15:51:22 +0000 (17:51 +0200)]
configs/imx6ullevk_defconfig: remove typo

Reported by check-dotconfig.py.

Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/657885169

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/config-fragments: use external riscv64 musl toolchain
Mark Corbin [Sun, 10 May 2020 15:43:47 +0000 (16:43 +0100)]
support/config-fragments: use external riscv64 musl toolchain

Move to an external RISC-V 64 bit musl toolchain to ease the load
on the autobuilders.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/config-fragments: add RISC-V 64-bit uclibc autobuild config
Mark Corbin [Sun, 10 May 2020 15:43:46 +0000 (16:43 +0100)]
support/config-fragments: add RISC-V 64-bit uclibc autobuild config

Add a RISC-V 64-bit autobuild configuration for the internal
toolchain with uclibc.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-buildroot: enable uclibc for riscv64
Mark Corbin [Sun, 10 May 2020 15:43:45 +0000 (16:43 +0100)]
toolchain/toolchain-buildroot: enable uclibc for riscv64

We can enable uclibc for RISC-V 64 bit now that it has been
bumped from v1.0.32 to v1.0.34.

Uclibc has had basic support for RISC-V 64 bit since v1.0.31, but
shared library and TLS/NPTL support has only been available since
v1.0.33.

This update has been tested using qemu_riscv64_virt_defconfig and
the Buildroot host QEMU.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: needs kernel options
Francois Perrad [Sun, 21 Jun 2020 07:59:58 +0000 (09:59 +0200)]
package/systemd: needs kernel options

according to https://wiki.gentoo.org/wiki/Systemd#Kernel

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Peter: drop optional CGROUP_BPF / BPF_SYSCALL, unused POSIX_MQUEUE and
 DEVTMPFS which is already taken care of by linux.mk]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/docker-engine: needs some kernel options
Francois Perrad [Sun, 21 Jun 2020 07:59:56 +0000 (09:59 +0200)]
package/docker-engine: needs some kernel options

according to https://wiki.gentoo.org/wiki/Docker#Kernel /
docker-engine/contrib/check-config.sh.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Peter: synchronize with contrib/check-config.sh, only enforce DM options if
 device mapper driver is enabled]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/lz4: don't install programs by default
Thomas Petazzoni [Mon, 27 Jul 2020 15:22:07 +0000 (17:22 +0200)]
package/lz4: don't install programs by default

Commit 2acb27e298c54935f890111fc5897a11350b913b ("package/lz4: make
program installation optional") make the installation of the lz4
programs optional. To preserve backward compatibility, this commit
added a "default y" to the BR2_PACKAGE_LZ4_PROGS.

While Buildroot definitely tries to preserve backward compatibility in
general, in this case, the backward compatibility would mean that
everbody would by default install those 220 KB of program, which are
most likely not needed for the majority of use cases. Installaing them
by default kind of breaks the Buildroot principle of minimalism.

In this specific case, it is believed that the principle of minimalism
wins over the principle of backward compatibility.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cegui: fix indentation
Thomas Petazzoni [Mon, 27 Jul 2020 15:19:46 +0000 (17:19 +0200)]
package/cegui: fix indentation

No functional changes, only whitespace changes.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cegui: fix selecting the default OpenGL renderer
Bartosz Bilas [Tue, 23 Jun 2020 19:19:07 +0000 (21:19 +0200)]
package/cegui: fix selecting the default OpenGL renderer

According to the cegui requirements select explicitly the default
OpenGL renderer based on available dependencies.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lz4: make program installation optional
Ed Spiridonov [Sat, 23 May 2020 17:34:25 +0000 (20:34 +0300)]
package/lz4: make program installation optional

Often lz4 is used as a library, and not as a standalone program.
Excluding lz4 binary will save some space in this case. Indeed, the
lz4 program is always statically linked against its library, which
makes it duplicate the whole library size:

$ ls -l usr/lib/liblz4.so.1.9.2 usr/bin/lz4
-rwxr-xr-x 1 thomas thomas 226724 27 juil. 16:33 usr/bin/lz4
-rwxr-xr-x 1 thomas thomas 156996 27 juil. 16:33 usr/lib/liblz4.so.1.9.2

Since lz4 is now primarily a library, it's moved to the "Libraries"
section.

Of course, installation of programs defaults to "yes" to preserve
backward compatibility.

Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-matplotlib: add QT5 support
Gwenhael Goavec-Merou [Mon, 27 Jul 2020 13:00:22 +0000 (15:00 +0200)]
package/python-matplotlib: add QT5 support

python-matplotlib may be used in qt5 application. This patch add option to
enable qt5. Since this backend is automatically enabled when pyqt5 is detected,
list dependencies is simply an updated (no enable/disable options).

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/python-networkx: install for host-python3
Thomas Petazzoni [Thu, 23 Jul 2020 19:46:00 +0000 (21:46 +0200)]
package/python-networkx: install for host-python3

This Python module only works for Python 3: the target variant has a
"depends on BR2_PACKAGE_PYTHON3".

However today in Buildroot, when no target python is selected, or when
BR2_PACKAGE_PYTHON=y, all host python modules are installed for
host-python, i.e Python 2. But this module won't install in Python 2,
so let's force its host variant to be installed with Python 3 on the
host. Of course, for that to work, its dependency must also be built
for host-python3, so we change it to the newly introduced
host-python3-decorator package.

Fixes:

  http://autobuild.buildroot.net/results/46a89bd6cd0d0b896b28010db287068309e7a43c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python3-decorator: new package
Thomas Petazzoni [Thu, 23 Jul 2020 19:45:59 +0000 (21:45 +0200)]
package/python3-decorator: new package

The host-python-networkx package needs to be built for the
host-python3, even when the target Python is not necessarily Python
3.x. Since it depends on host-python-decorator, we need a Python 3
variant of it, which this patch introduces.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rocksdb: bump to version 6.10.1
Fabrice Fontaine [Sat, 30 May 2020 09:28:49 +0000 (11:28 +0200)]
package/rocksdb: bump to version 6.10.1

- Update indentation of hash file (two spaces)
- Remove first patch (already in version)
- Add link to upstream PR in second patch
- Add upstream patch to fix build on powerpc (patch does not apply
  cleanly on current version)
- Update hash of README.md, slack forum added with
  https://github.com/facebook/rocksdb/commit/cf342464caf8155ab60f7a48e39a8d6ae3138a7a

Fixes:
 - http://autobuild.buildroot.org/results/242db7139ce5dd6ece4a1eb50a1aa47c841a41b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-rpi-ws281x: bump to version 4.2.4
Grzegorz Blach [Wed, 10 Jun 2020 23:34:52 +0000 (01:34 +0200)]
package/python-rpi-ws281x: bump to version 4.2.4

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{glibc, localedef}: bump to version 2.31
Romain Naour [Mon, 27 Jul 2020 09:29:49 +0000 (11:29 +0200)]
package/{glibc, localedef}: bump to version 2.31

For glibc 2.31.x:

  - Update LICENSES file hash due to url change:
    "Prefer https to http for gnu.org and fsf.org URLs"

  - riscv64 does not build with kernel headers < 5.0, but upstream
    has not yet comitted a single fix, neither in master nor in the
    maintenance branch:
       https://sourceware.org/ml/libc-alpha/2020-02/msg00018.html

For localedef 2.31.x:

  - Remove upstream patch for localedef:
    0003-localedef-Use-initializer-for-flexible-array-member-.patch

Note that this version bump required some patches applied on
several packages (already applied):
    [Busybox] 13f2d688a24f47446af236829bd6ca194d5aea5b
    [openssh] bad75bca315dbd2c69f8a9cb02fa9f27636e3d48
    [gcc] disable libsanitizer with gcc 7.5

See:
https://sourceware.org/legacy-ml/libc-announce/2020/msg00001.html

Tested by toolchain builder:
https://gitlab.com/kubu93/toolchains-builder/pipelines/129551000

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: disable libsanitizer with gcc 7.5 and glibc 2.31 toolchain
Romain Naour [Mon, 27 Jul 2020 09:29:48 +0000 (11:29 +0200)]
package/gcc: disable libsanitizer with gcc 7.5 and glibc 2.31 toolchain

libsanitizer in gcc 7.x fails to build with glibc 2.31. Fixing it would
require backporting an upstream commit:

    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=4abc46b51af5751d657764d0c44b8a4aeed06302

However, the backport is not trivial, as there are a lot of conflicts.

Disable libsanitizer since the gcc 7.5 branch is now closed
(unmaintained) and it's not a trivial merge.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/c-periphery: bump to v2.2.2
Ryan Barnett [Fri, 24 Jul 2020 11:56:04 +0000 (06:56 -0500)]
package/c-periphery: bump to v2.2.2

c-periphery now supports building on older kernels before 4.8 as there
are now checks for the new kernel cdev gpio interface.

Also updated hash file to two space format.

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wine: bump version to 5.12
Heiko Thiery [Mon, 13 Jul 2020 20:27:58 +0000 (22:27 +0200)]
package/wine: bump version to 5.12

Also update hash file formatting (2 spaces).

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setools: add comment about Python 3.x dependency
Fabrice Fontaine [Thu, 16 Jul 2020 21:02:25 +0000 (23:02 +0200)]
package/setools: add comment about Python 3.x dependency

Commit 09b94b1e8f94d1f49f7a2349b4c8cbfecefa73da forgot to add the
usual comment that python3 dependency is due to python-networkx.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nodejs: use system-icu for host-nodejs
James Hilliard [Mon, 27 Jul 2020 11:51:55 +0000 (05:51 -0600)]
package/nodejs: use system-icu for host-nodejs

The nodejs configure.py file orders zlib headers before the bundled ICU
headers. The zlib headers happen to be located in the system include
directory, next to some system ICU headers (not bundled). If these are
built before nodejs is, nodejs will get confused and try to use the
system ICU headers instead of the bundled ones.

Fix this by always using host-icu.

Set CXXFLAGS to -DU_DISABLE_RENAMING=1 when building with
system-icu since host-icu is built with --disable-renaming.

Fixes:
 - http://autobuild.buildroot.net/results/1ef947553ec762dba6a6202b1cfc84ceed75dbb2/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - keep alphabetical order in _DEPENDENCIES
  - don't introduce HOST_NODEJS_CONF_OPTS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogitlab: generate the gitlab-ci configuration before each build
Romain Naour [Sat, 25 Jul 2020 21:35:58 +0000 (23:35 +0200)]
gitlab: generate the gitlab-ci configuration before each build

Since Gitlab 12.9, Gitlab allow to trigger child pipeline with generated configuration file.
See: https://gitlab.com/gitlab-org/gitlab/-/issues/35632

This allow us to stop updating the .gitlab-ci.yml file when a
new defconfig is added to Buildroot.

Remove check-gitlab-ci.yml job since it is now uneeded.
Remove .gitlab-ci.yml make target.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
[ann.morin.1998@free.fr: manual: no longer needed to update at all]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rust: drop reference to HOST_RUST_JEMALLOC_CONF
Thomas Petazzoni [Mon, 27 Jul 2020 09:01:34 +0000 (11:01 +0200)]
package/rust: drop reference to HOST_RUST_JEMALLOC_CONF

This variable is no longer used since
4e3be3ae9d4c9f1b0c035eee0c923a724f9a9316 ("package/rust: bump version
to 1.33.0")

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo-bin: remove and use cargo-bin from rust-bin package
Patrick Havelange [Fri, 7 Feb 2020 18:08:29 +0000 (19:08 +0100)]
package/cargo-bin: remove and use cargo-bin from rust-bin package

Rust upstream distributes tarballs with separate rust and cargo
binaries, but also tarballs with everything together. The latter
contains a bit more than what we need, so the download is slightly
larger than separate cargo-bin and rust-bin. But it simplifies our life
if we do the same in rust-bin as in rust (i.e. get both rust and cargo).

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: bump to 1.40
Patrick Havelange [Fri, 7 Feb 2020 18:08:28 +0000 (19:08 +0100)]
package/rust: bump to 1.40

- remove of the llvm workaround patch as it is integrated in this
  newer version.
- bump cargo-bin to 0.41 (corresponds to rust 1.40) and update
  licenses hashes.
- bump rust-bin to 1.40.

Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/manual: cargo packages depend on host-rustc
Eric Le Bihan [Fri, 7 Feb 2020 18:08:27 +0000 (19:08 +0100)]
docs/manual: cargo packages depend on host-rustc

As Cargo is either installed by host-rust or host-rust-bin, the
Cargo-based packages should depend on host-rustc.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
[Arnout: also select HOST_RUSTC in Config.in]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo: drop package
Eric Le Bihan [Fri, 7 Feb 2020 18:08:26 +0000 (19:08 +0100)]
package/cargo: drop package

As no package depends on the standalone cargo package, it can be
dropped.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ripgrep: depends on host-rustc
Eric Le Bihan [Fri, 7 Feb 2020 18:08:25 +0000 (19:08 +0100)]
package/ripgrep: depends on host-rustc

As all providers of rustc also install cargo, there is no need to depend
on the standalone cargo package anymore. Instead add host-rustc to the
dependency list.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: drop dependency on host-cargo-bin
Eric Le Bihan [Fri, 7 Feb 2020 18:08:24 +0000 (19:08 +0100)]
package/rust: drop dependency on host-cargo-bin

As host-rust depends on host-rust-bin, which depends on host-cargo-bin,
remove unneeded dependency.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust-bin: host variant depends on host-cargo-bin
Eric Le Bihan [Fri, 7 Feb 2020 18:08:23 +0000 (19:08 +0100)]
package/rust-bin: host variant depends on host-cargo-bin

Ensure installation of pre-built cargo binary by adding it to the
dependency list of the host variant of the pre-built Rust compiler.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cargo-bin: install if rust-bin selected
Eric Le Bihan [Fri, 7 Feb 2020 18:08:22 +0000 (19:08 +0100)]
package/cargo-bin: install if rust-bin selected

If host-rust-bin, the pre-built Rust compiler, is selected as a rustc
provider, then also install the pre-built cargo binary to be coherent.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
[Arnout: don't install cargo config, alread moved]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: David Pierret <david.pierret@smile.fr>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: build and install cargo
Eric Le Bihan [Fri, 7 Feb 2020 18:08:21 +0000 (19:08 +0100)]
package/rust: build and install cargo

Cargo source code is not provided anymore as a separate tarball but is
now built along with the Rust compiler. So update rust host variant to
build Cargo.

For now, all this will be overwritten again by the host-cargo package,
but this package will be removed in later commits.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com>
Tested-by: Sam Voss <sam.voss@rockwellcollins.com>
[Arnout: merge all install commands in HOST_RUST_INSTALL_CMDS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rustc: install cargo config as toolchain post-install hook
Arnout Vandecappelle (Essensium/Mind) [Fri, 7 Feb 2020 18:08:20 +0000 (19:08 +0100)]
package/rustc: install cargo config as toolchain post-install hook

The cargo config file is much like the cmake and meson configuration
files, something that tells the cargo build system how the
cross-toolchain is configured.

It is currently installed by the cargo package, but this package is
about to be removed as cargo is now built as part of rust
itself. Therefore, install the cargo config file as a toolchain
post-install hook, just like we do for cmake and meson.

However, we don't have a pkg-cargo infrastructure (yet) so we can't
put it there. Therefore, put it in the rustc package - any cargo
package will need rustc.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: David Pierret <david.pierret@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.55
Giulio Benetti [Sun, 26 Jul 2020 00:53:33 +0000 (02:53 +0200)]
package/libnss: bump version to 3.55

Bump version to 3.55. Unfortunately local patch is still pending
upstream and not applied and I've just asked why:
https://bugzilla.mozilla.org/show_bug.cgi?id=1642174

This version requires NSPR 4.27.

Release Notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.55_release_notes

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 agopackage/libnspr: bump version to 4.27
Giulio Benetti [Sun, 26 Jul 2020 00:53:32 +0000 (02:53 +0200)]
package/libnspr: bump version to 4.27

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 agopackage/docker-engine: needs more runtime dependencies
Francois Perrad [Sun, 21 Jun 2020 07:59:57 +0000 (09:59 +0200)]
package/docker-engine: needs more runtime dependencies

fix error:
failed to start daemon: Devices cgroup isn't mounted

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/mbpfan: new package
Christian Stewart [Mon, 18 May 2020 03:48:58 +0000 (20:48 -0700)]
package/mbpfan: new package

Adding mbpfan, a fan control daemon for MacBook laptops.

Signed-off-by: Christian Stewart <christian@paral.in>
[Peter: add hash file, drop Debian init script, drop systemd symlinks, add
 DEVELOPERS entry]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/vlc: fix missing headers when compiling with Qt 5.15
Bernd Kuhls [Mon, 27 Jul 2020 06:51:36 +0000 (08:51 +0200)]
package/vlc: fix missing headers when compiling with Qt 5.15

Fixes
http://autobuild.buildroot.net/results/832/832226c43549befda7e8c86a52354e7d6adc0a98/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tpm2-tools: bump version to 4.1.2
Peter Korsgaard [Mon, 25 May 2020 21:48:53 +0000 (23:48 +0200)]
package/tpm2-tools: bump version to 4.1.2

Bugfix release with a single fix:

- Fix missing handle maps for ESY3 handle breaks. See #1994

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/tpm2-abrmd: bump version to 2.3.2
Peter Korsgaard [Mon, 25 May 2020 21:48:52 +0000 (23:48 +0200)]
package/tpm2-abrmd: bump version to 2.3.2

Fixes various initialization / systemd issues. From the changelog:

- Provide meaningful exit codes on initialization failures.
- Prevent systemd from starting the daemon before udev changes ownership of
  the TPM device node.
- Prevent systemd from starting the daemon if there is no TPM device node.
- Prevent systemd from restarting the daemon if it fails.
- Add SELinux policy to allow daemon to resolve names.
- Add SELinux policy boolean (disabled by default) to allow daemon to
  connect to all unreserved ports.

Also adjust .hash file white space to match new agreements.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libwebsockets: add fsmount support
Adam Duskett [Sun, 26 Jul 2020 02:29:01 +0000 (19:29 -0700)]
package/libwebsockets: add fsmount support

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: add libglib2 support
Adam Duskett [Sun, 26 Jul 2020 02:29:00 +0000 (19:29 -0700)]
package/libwebsockets: add libglib2 support

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: bump version to 4.0.20
Adam Duskett [Sun, 26 Jul 2020 02:28:59 +0000 (19:28 -0700)]
package/libwebsockets: bump version to 4.0.20

Other changes:
  - Remove upstream patch.
  - Change license type to MIT.
  - Update license shasum due to the above change.
  - Upstrem agained optional support for libglib2 and fsmount, we
    disable those so far

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: forcibly disable new features]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: add support for extensions
Adam Duskett [Sun, 26 Jul 2020 02:28:58 +0000 (19:28 -0700)]
package/libwebsockets: add support for extensions

libwebsockets currently depends on zlib, however, as of commit
13ba5bbc633ea962d46d9f2bfb2e87c9f7e83b62 (from 2013!) zlib is not actually a
requirement if extensions are not enabled.

By default, libwebsockets sets the "LWS_WITHOUT_EXTENSIONS" option to "ON,"
which removes the need for zlib as a dependency. Because of this default
setting, there are two options:

1) Remove the dependency on zlib, create a new option under Config.in to allow
a user to enable extensions, add zlib as a dependency, and set
LWS_WITHOUT_EXTENSIONS to "OFF" if that option is selected.

2) Keep the dependency and explicitly set LWS_WITHOUT_EXTENSIONS to "OFF."

Below are the size differences in bytes:
  - Without zlib and extensions: 44636
  - With zlib and without extensions: 44720
  - With zlib and with extensions: 44732

Considering the size difference between all 3 is an incredible 96 bytes, and
the difference between what we have now, and enabling extensions is an
insurmountable 12 bytes, it is safe to keep the dependency on zlib and always
enable extensions.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/powerpc-utils: bump to version 1.3.7
Fabrice Fontaine [Sun, 26 Jul 2020 09:36:09 +0000 (11:36 +0200)]
package/powerpc-utils: bump to version 1.3.7

Update indentation in hash file (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/librtas: bump to version 2.0.2
Fabrice Fontaine [Sun, 26 Jul 2020 09:36:08 +0000 (11:36 +0200)]
package/librtas: bump to version 2.0.2

Update indentation in hash file (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/snmppp: fix SNMPv3 with gcc <= 5
Fabrice Fontaine [Sun, 26 Jul 2020 21:29:06 +0000 (23:29 +0200)]
package/snmppp: fix SNMPv3 with gcc <= 5

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freeswitch: fix build error
Bernd Kuhls [Sun, 26 Jul 2020 13:30:23 +0000 (15:30 +0200)]
package/freeswitch: fix build error

Freeswitch has been tested agains tan older version of libcheck, 0.12.0
or earlier, while Buildroot has 0.15.1. With 0.13.0, the API of libcheck
has changed, and Freeswitch does not account for this.

Fixes
http://autobuild.buildroot.net/results/5db/5dbce5860f57c1457962aa295857689f49a60bc6/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: expand commit log with the root cause]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>