buildroot.git
4 years agopackage/mesa3d: disable v3d support for arm if neon is not supported
Peter Seiderer [Mon, 9 Mar 2020 12:34:32 +0000 (13:34 +0100)]
package/mesa3d: disable v3d support for arm if neon is not supported

The v3d driver for arm uses neon instructions unconditionally, so
depend on BR2_ARM_CPU_HAS_NEON.

Fixes:

  http://autobuild.buildroot.net/results/66c4df4ee84b73160dde5fe4437b5abdbd2b50d2

  [1050/1079] Compiling C object 'src/gallium/drivers/v3d/99241e4@@v3d_neon@sta/v3d_tiling.c.o'.
  {standard input}: Assembler messages:
  {standard input}:417: Error: selected processor does not support `vldm r6,{q0,q1,q2,q3}' in ARM mode
  {standard input}:418: Error: selected processor does not support `vst1.8 d0,[r4],r5' in ARM mode
  {standard input}:419: Error: selected processor does not support `vst1.8 d1,[r4],r5' in ARM mode
  {standard input}:420: Error: selected processor does not support `vst1.8 d2,[r4],r5' in ARM mode
  {standard input}:421: Error: selected processor does not support `vst1.8 d3,[r4],r5' in ARM mode
  {standard input}:422: Error: selected processor does not support `vst1.8 d4,[r4],r5' in ARM mode
  {standard input}:423: Error: selected processor does not support `vst1.8 d5,[r4],r5' in ARM mode
  {standard input}:424: Error: selected processor does not support `vst1.8 d6,[r4],r5' in ARM mode

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mesa3d: fix vc4 neon related compile failure
Peter Seiderer [Mon, 9 Mar 2020 12:34:31 +0000 (13:34 +0100)]
package/mesa3d: fix vc4 neon related compile failure

Add mesa3d patch to add a vc4 option to disable
the optional neon support and set it dependent
on BR2_ARM_CPU_HAS_NEON.

Fixes:

  http://autobuild.buildroot.net/results/6387b0a99e1a0922811919623d9a10b0943988df

  [1086/1254] Compiling C object 'src/gallium/drivers/vc4/691f666@@vc4_neon@sta/vc4_tiling_lt_neon.c.o'.
  {standard input}: Assembler messages:
  {standard input}:334: Error: selected processor does not support `vldm r4,{q0,q1,q2,q3}' in ARM mode
  {standard input}:335: Error: selected processor does not support `vst1.8 d0,[r3],r2' in ARM mode
  {standard input}:336: Error: selected processor does not support `vst1.8 d1,[r3],r2' in ARM mode
  {standard input}:337: Error: selected processor does not support `vst1.8 d2,[r3],r2' in ARM mode
  {standard input}:338: Error: selected processor does not support `vst1.8 d3,[r3],r2' in ARM mode
  {standard input}:339: Error: selected processor does not support `vst1.8 d4,[r3],r2' in ARM mode
  {standard input}:340: Error: selected processor does not support `vst1.8 d5,[r3],r2' in ARM mode
  {standard input}:341: Error: selected processor does not support `vst1.8 d6,[r3],r2' in ARM mode

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wine: bump to version 5.0
André Hentschel [Mon, 9 Mar 2020 21:31:49 +0000 (22:31 +0100)]
package/wine: bump to version 5.0

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/libxcb: bump version to 1.14
Bernd Kuhls [Mon, 9 Mar 2020 19:35:23 +0000 (20:35 +0100)]
package/x11r7/libxcb: bump version to 1.14

Follow upstream switch to xz tarball:
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/commit/78c492deaa7ae3aad0b0eeb4b126bb291cc637a7

Removed dependency to libpthread-stubs, not needed anymore due to
upstream commit:
https://gitlab.freedesktop.org/xorg/lib/libxcb/-/commit/8f7e4c4e9fc6ee6b5b5498a7d8af79150be0d26a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xcb-proto: bump version to 1.14
Bernd Kuhls [Mon, 9 Mar 2020 19:35:22 +0000 (20:35 +0100)]
package/x11r7/xcb-proto: bump version to 1.14

Follow upstream switch to xz tarball:
https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/6d846028718206769d6b70c96239b926e782b4aa

Removed XCB_PROTO_POST_INSTALL_STAGING_HOOKS, not needed anymore due
to upstream fix:
https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/bd7a481a3bee9283277badda95730f52185127bc

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xapp_xkbcomp: bump version to 1.4.3
Bernd Kuhls [Mon, 9 Mar 2020 19:35:21 +0000 (20:35 +0100)]
package/x11r7/xapp_xkbcomp: bump version to 1.4.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: bump 9.x series to version 9.3.0
Romain Naour [Sun, 15 Mar 2020 16:18:46 +0000 (17:18 +0100)]
package/gcc: bump 9.x series to version 9.3.0

Remove upstream patch [1]
Rebase and rename 0002-xtensa-fix-PR-target-91880.patch
and 0003-or1k-Fix-issue-with-set_got-clobbering-LR-r9.patch

Tested using gitlab with Qemu runtime testing series [2] [3].

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=2e1e7ad18e121663082525a872f0d6fb32db4535
[2] https://gitlab.com/kubu93/buildroot/pipelines/125828238
[3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088

See:
https://gcc.gnu.org/pipermail/gcc-announce/2020/000161.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: bump 8.x series to version 8.4.0
Romain Naour [Mon, 9 Mar 2020 23:50:30 +0000 (00:50 +0100)]
package/gcc: bump 8.x series to version 8.4.0

Remove upstream patch [1].
Rebase and rename 0002-xtensa-fix-PR-target-91880.patch

Tested using gitlab w/ Qemu runtime testing series [2] [3].

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=fba5d9b4c0f4488281efbeef56c100bb52e55165
[2] https://gitlab.com/kubu93/buildroot/pipelines/124684030
[3] http://patchwork.ozlabs.org/project/buildroot/list/?series=159088

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/: change python-gobject to use prebuilt kernel
Adam Duskett [Mon, 16 Mar 2020 15:34:59 +0000 (08:34 -0700)]
support/testing/: change python-gobject to use prebuilt kernel

Currently, we build a complete AArch64 system, including a kernel. This
can take quite some time.

Switch to an armv7 system, which allows us to use one a prebuilt kernel,
thus significantly reducing the test time.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - use a standalone config; don't inherit from TestPythonPackageBase
  - use the default external toolchain (ARM, not Linaro)
  - rewrite commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/testing: add gst1-python test case
Adam Duskett [Sun, 15 Mar 2020 20:10:33 +0000 (13:10 -0700)]
support/testing: add gst1-python test case

This test case runs a simple pipeline for 100 frames to ensure that
gst1-python works properly.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-python: new package
Adam Duskett [Sun, 15 Mar 2020 20:10:32 +0000 (13:10 -0700)]
package/gstreamer1/gst1-python: new package

GStreamer Python binding overrides.

This package also includes a simple upstream patch that fixes building against
python-3.8.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - fix libpython-dir as noticed by Adam
  - rewrap a comment
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-rtsp-server: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:31 +0000 (13:10 -0700)]
package/gstreamer1/gst1-rtsp-server: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-bad: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:30 +0000 (13:10 -0700)]
package/gstreamer1/gst1-plugins-bad: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-base: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:29 +0000 (13:10 -0700)]
package/gstreamer1/gst1-plugins-base: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gstreamer1: add introspection support
Adam Duskett [Sun, 15 Mar 2020 20:10:28 +0000 (13:10 -0700)]
package/gstreamer1/gstreamer1: add introspection support

If gobject-introspection is selected, explicitly set -Dintrospection=enabled in
the configure options and add a dependency for gobject-introspection.

This feature requires an upstream patch that allows introspection support even
when cross-compiling.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp-av: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:58 +0000 (10:24 -0700)]
package/gupnp-av: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gupnp: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:56 +0000 (10:24 -0700)]
package/gupnp: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --enable-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gssdp: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:55 +0000 (10:24 -0700)]
package/gssdp: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set -Dintrospection=true in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libsoup: add optional dependency for gobject-introspection
Adam Duskett [Sun, 15 Mar 2020 17:24:54 +0000 (10:24 -0700)]
package/libsoup: add optional dependency for gobject-introspection

If gobject-introspection is selected, explicitly set --with-introspection in
the configure options and add a dependency for gobject-introspection.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iwd: bump version to 1.5
Peter Seiderer [Sun, 22 Mar 2020 09:39:43 +0000 (10:39 +0100)]
package/iwd: bump version to 1.5

Fixes incompatibility because of recent version bump to ell-0.28 ([1]):

  http://autobuild.buildroot.net/results/32899d7e1f7d5abc528e5627f8f66ae5c9733342
  http://autobuild.buildroot.net/results/a0a4387e5319d792658f6d82a63fb17a06848d10
  http://autobuild.buildroot.net/results/7d02c966518e44d798b83ac36b9083a8041b09ec
  http://autobuild.buildroot.net/results/f7b27ab243e6b35445d9cb28e4747514fa7d98d6
  http://autobuild.buildroot.net/results/f5d71af640812a58374374e178cb7ff225e69c19

    CC       src/main.o
  src/main.c: In function 'request_name_callback':
  src/main.c:167:7: error: too few arguments to function 'l_dbus_object_manager_enable'
    if (!l_dbus_object_manager_enable(dbus))
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
  In file included from /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/ell.h:55,
                   from src/main.c:32:
  /nvmedata/autobuild/instance-4/output-1/host/powerpc-buildroot-linux-uclibc/sysroot/usr/include/ell/dbus.h:245:6: note: declared here
   bool l_dbus_object_manager_enable(struct l_dbus *dbus, const char *root);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

[1] https://git.buildroot.net/buildroot/commit/?id=faa592179d9fe46b97289bde5a1b0f0da6052b06

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/civetweb: bump to version 1.12
Fabrice Fontaine [Sat, 21 Mar 2020 16:20:29 +0000 (17:20 +0100)]
package/civetweb: bump to version 1.12

- Drop patch (already in version)
- Drop -fPIC (not needed since
  https://github.com/civetweb/civetweb/commit/9518b502470d8be2d092266085056d6be4214b54)
- Update hash of license file (update in year and LuaXML):
  https://github.com/civetweb/civetweb/commit/e14dff167a790d3de39087d820f45bcb07f26a4f
  https://github.com/civetweb/civetweb/commit/6d87359d6c4db5b209a3a521701427b62c1c7a5d
- Update indentation of 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/xapian: bump to version 1.4.15
Gilles Talis [Sun, 22 Mar 2020 06:17:10 +0000 (07:17 +0100)]
package/xapian: bump to version 1.4.15

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/restclient-cpp: bump to version 0.5.2
Gilles Talis [Sun, 22 Mar 2020 06:17:09 +0000 (07:17 +0100)]
package/restclient-cpp: bump to version 0.5.2

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/perl: fix README hash
Fabrice Fontaine [Sat, 21 Mar 2020 20:16:22 +0000 (21:16 +0100)]
package/perl: fix README hash

Commit d5c7c9dabb94d64855b8c0383e77d01b890f85c3 forgot to update README
hash (year, github issue tracker):
https://github.com/Perl/perl5/commit/9802995490251df92faf7a0dd5c7114ad8146bd3
https://github.com/Perl/perl5/commit/b9e2183386fadc0979b46e024365ceab56a369aa

Also update indentation (two spaces)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libostree: disable introspection
Fabrice Fontaine [Fri, 20 Mar 2020 17:29:48 +0000 (18:29 +0100)]
package/libostree: disable introspection

Build fails if gobject-introspection is built before libostree:

./.libs/libostree-1.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
src/libostree/ostree-repo-deprecated.h:28: Warning: OSTree: symbol='G_GNUC_DEPRECATED_FOR': Skipping foreign symbol from namespace Gio
linking of temporary binary failed: Command '['/bin/bash', './libtool', '--mode=link', '--tag=CC', '--silent', 'gcc', '-o', '/home/buildroot/autobuild/instance-2/output-1/build/libostree-2019.6/tmp-introspectvtkql2xj/OSTree-1.0', '-export-dynamic', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-Os', '/home/buildroot/autobuild/instance-2/output-1/build/libostree-2019.6/tmp-introspectvtkql2xj/OSTree-1.0.o', '-L.', 'libostree-1.la', '-L/home/buildroot/autobuild/instance-2/output-1/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0']' returned non-zero exit status 1.
/home/buildroot/autobuild/instance-2/output-1/host/bin/../aarch64-buildroot-linux-gnu/sysroot/usr/lib/../share/gobject-introspection-1.0/Makefile.introspection:155: recipe for target 'OSTree-1.0.gir' failed

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x11r7/xkeyboard-config: needs a host python3
Fabrice Fontaine [Sat, 21 Mar 2020 09:55:33 +0000 (10:55 +0100)]
package/x11r7/xkeyboard-config: needs a host python3

A host python3 is needed to run map-variants.py since version 2.29 and
https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/commit/57c745a9a373b4c9d272d00ff4f16dbcc6d3c48b

The script (with a backported patch) does not have stringent requirements
on python, so we may use a system python3 if present.

Fixes:
 - http://autobuild.buildroot.org/results/7c3cdecc2feed62d7e0bad0e790a8bacaaa34cb7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux: Allow modprobe for out-of-tre modules
Carlos Santos [Fri, 20 Mar 2020 23:35:44 +0000 (20:35 -0300)]
linux: Allow modprobe for out-of-tre modules

When a package installs a kernel module, it is currently not possible to
have it loaded with modprobe or when the kernel requests an alias for
it, as the module is not listed in /lib/modules/<kernel-version>/modules.dep
and the associated files.

So, we need to run depmod after all packages are installed, to register
any such out-of-tree module.

This means we should be able to let go of calling depmod at the time the
kernel is installed, but if we pass an invalid command, the kernel
whines:

      DEPMOD  5.4.27
    ./scripts/depmod.sh: 46: /dev/null: Permission denied
    make[2]: *** [Makefile:1326: _modinst_post] Error 126

This is because the kernel does not directly call to depmod, but uses a
wrapper that is not happy if depmod is not depmod.

Since the call to depmod does not cost much, we just keep it.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
[yann.morin.1998@free.fr:
  - keep calling depmod when installing kernel
  - expand commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/screen: add linux-pam optional dependency
Fabrice Fontaine [Sat, 21 Mar 2020 17:45:46 +0000 (18:45 +0100)]
package/screen: add linux-pam optional dependency

linux-pam is an optional dependency for more than 5 years:
https://git.savannah.gnu.org/cgit/screen.git/commit/src/configure.ac?h=screen-v4&id=a8dc1fb5b47ee52c79884fc5270805a3a39cda4a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/imx-sc-firmware: fix hashes for license files
Julien Olivain [Sat, 21 Mar 2020 16:50:55 +0000 (17:50 +0100)]
package/freescale-imx/imx-sc-firmware: fix hashes for license files

Commit f85c4a41701472a005ae17e67910290e08383b6f updated package
version but did not updated hashes for EULA and COPYING license files.
The patch fixes "make legal-info" for imx-sc-firmware package.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/firmware-imx: fix hashes for license files
Julien Olivain [Sat, 21 Mar 2020 16:50:54 +0000 (17:50 +0100)]
package/freescale-imx/firmware-imx: fix hashes for license files

Commit 8cc27a292e3433a0993b0e28573fa876a87b0a7a updated package
version but did not updated hashes for EULA and COPYING license files.
The patch fixes "make legal-info" for firmware-imx package. Also
adopt new spacing convention in .hash files (two spaces).

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dav1d: needs dynamic library
Fabrice Fontaine [Sat, 21 Mar 2020 16:33:16 +0000 (17:33 +0100)]
package/dav1d: needs dynamic library

dav1d needs dynamic library since version 0.6.0 and
https://github.com/videolan/dav1d/commit/6b611d36acab8ce1afdd528599322bb6b2d28727

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boinc: drop comment about server having no versioning
Fabrice Fontaine [Sat, 21 Mar 2020 10:08:20 +0000 (11:08 +0100)]
package/boinc: drop comment about server having no versioning

The package only ever builds the client; it builds neither the server
nor the manager.

Drop the comment altogether.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: drop the comment altogether]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/localedef: add missing dependeny on host-gawk
Romain Naour [Tue, 17 Mar 2020 22:02:04 +0000 (23:02 +0100)]
package/localedef: add missing dependeny on host-gawk

While reviewing the patch [1], we noticed that host-gawk dependency
was missing. It may trigger an issue if gawk is missing on the host
since it's a "critical tool" [2].

Indeed, localedef package is actually glibc sources that check gawk
host binary.

host-gawk is listed in glibc package dependency [3], so add it to
localedef too.

[1] af90a104c06542a1bf5545eaf9b9c7beb7176e80
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=configure.ac;h=49b900c1ed68fa4dd1dadca809ceb6e8b237a89c;hb=9ea3686266dca3f004ba874745a4087a89682617#l1021
[3] https://git.buildroot.net/buildroot/tree/package/glibc/glibc.mk?h=2020.02#n38

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bluez5_utils: enable support for external ell
Jörg Krause [Mon, 16 Mar 2020 16:52:53 +0000 (17:52 +0100)]
package/bluez5_utils: enable support for external ell

Bluez5' support for the mesh profile needs ell, the Embedded Linux
Library, at least version 0.28.

Although Bluez5 bundles an internal copy of ell version 0.28, we prefer
building with external libraries.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ell: bump to version 0.28
Jörg Krause [Mon, 16 Mar 2020 16:52:52 +0000 (17:52 +0100)]
package/ell: bump to version 0.28

Changes since version 0.24:

0.28:
  Fix issue with NULL check of D-Bus proxy for method calls.
  Add support for emitting D-Bus property changes on demand.
  Add support for reporting file attribute changes.

0.27:
  Fix issue with data overflow and multiple PEMs.
  Fix issue with handling DHCP lease expiration.

0.26:
  Fix issue with memory leak and TLS certificates.
  Fix issue with buffer size and TLS PRF handling.
  Add support for D-Bus non-root ObjectManager.

0.25:
  Fix issue with stopping DHCP client and owner notification.
  Fix issue with time calculation overflow and DHCP.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bluez5_utils: add mesh support
Jörg Krause [Mon, 16 Mar 2020 16:52:51 +0000 (17:52 +0100)]
package/bluez5_utils: add mesh support

Mesh support was already added in version 5.47.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54
Jörg Krause [Mon, 16 Mar 2020 16:52:50 +0000 (17:52 +0100)]
package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.54

Changes since version 5.52:

5.54:
  Fix issue with HOGP to accept data only from bonded devices.
  Fix issue with A2DP sessions being connected at the same time.
  Fix issue with class UUID matches before connecting profile.
  Add support for handling MTU auto-tuning option for AVDTP.
  Add support for new policy for Just-Works repairing.
  Add support for Enhanced ATT bearer (EATT).

5.53:
  Fix issue with handling unregistration for advertisment.
  Fix issue with A2DP and handling recovering process.
  Fix issue with udpating input device information.
  Add support for loading blocked keys.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/config-fragments: update Buildroot toolchains to 2020.02
Thomas Petazzoni [Sat, 21 Mar 2020 14:15:30 +0000 (15:15 +0100)]
support/config-fragments: update Buildroot toolchains to 2020.02

This commit updates all our toolchain configuration fragments for
pre-built Buildroot toolchains to use toolchains built with Buildroot
2020.02.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/civetweb: add zlib optional dependency
Fabrice Fontaine [Tue, 17 Mar 2020 21:14:57 +0000 (22:14 +0100)]
package/civetweb: add zlib optional dependency

zlib is an optional dependency since version 1.11 and
https://github.com/civetweb/civetweb/commit/6b8b15935378f71323ff95f907fa0d33841deac0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rcw: add missing host-python dependency
Laurent Hartanerot [Thu, 19 Mar 2020 09:30:57 +0000 (10:30 +0100)]
package/rcw: add missing host-python dependency

The rcw tool that compiles RCW sources file need host-python

Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libinput: bump version to 1.15.4
Peter Seiderer [Wed, 18 Mar 2020 20:40:18 +0000 (21:40 +0100)]
package/libinput: bump version to 1.15.4

For details see [1].

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl: bump to version 5.30.2
Francois Perrad [Sat, 21 Mar 2020 13:02:40 +0000 (14:02 +0100)]
package/perl: bump to version 5.30.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x series
Peter Korsgaard [Sat, 21 Mar 2020 14:30:53 +0000 (15:30 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx8q{m, xp}mek: bump BSP components to 4.19.35_1.1.0
Maeva Manuel [Fri, 20 Mar 2020 16:31:58 +0000 (17:31 +0100)]
configs/freescale_imx8q{m, xp}mek: bump BSP components to 4.19.35_1.1.0

The package imx-seco has been added in the defconfigs.

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/imx-mkimage: bump to version rel_imx_4.19.35_1.1.0
Maeva Manuel [Fri, 20 Mar 2020 16:31:57 +0000 (17:31 +0100)]
package/imx-mkimage: bump to version rel_imx_4.19.35_1.1.0

This package needed to be updated to be aligned with NXP BSP
4.19.35_1.1.0
The package patches have also been rebased on top of rel_imx_4.19.35_1.1.0

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-sc-firmware: bump to version 1.2.7.1
Maeva Manuel [Fri, 20 Mar 2020 16:31:56 +0000 (17:31 +0100)]
package/freescale-imx/imx-sc-firmware: bump to version 1.2.7.1

This package needed to be updated to be aligned with NXP BSP
4.19.35_1.1.0

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/firmware-imx: bump version to 8.5
Maeva Manuel [Fri, 20 Mar 2020 16:31:55 +0000 (17:31 +0100)]
package/freescale-imx/firmware-imx: bump version to 8.5

This package needed to be updated to be aligned with NXP
BSP 4.19.35_1.1.0

This newer 8.5 version no longer include ahab-container images.
Those images are now in a separate imx-seco package.

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-seco: new package
Maeva Manuel [Fri, 20 Mar 2020 16:31:54 +0000 (17:31 +0100)]
package/freescale-imx/imx-seco: new package

This package is needed with Freescale i.MX8/i.MX8X defconfigs
version equal to 4.19.35_1.0.0
It is also subject to multi-version support.

The package version aligned with NXP BSP 4.19.35_1.1.0 is 2.3.1

Signed-off-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
Reviewed-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/check-kernel-headers.sh: do not print error for loose checks
Thomas Petazzoni [Sat, 21 Mar 2020 13:52:19 +0000 (14:52 +0100)]
support/scripts/check-kernel-headers.sh: do not print error for loose checks

The C program inside check-kernel-headers.sh has two checking mode: a
strict and a loose one.

In strict mode, we want the kernel headers version declared by the
user to match exactly the one of the toolchain.

In loose mode, we want the kernel headers version of the toolchain to
be greater than or equal to the one declared by the user: this is used
when we have a toolchain that has newer headers than the latest
version known by Buildroot.

However, in loose mode, we continue to show the "Incorrect kernel
headers version" message, even though we then return a zero error
code. This is very confusing: you see an error displayed on the
terminal, but the build goes on.

We fix that by first doing the loose check first, and returning 0 if
it succeeds. And then we move on with the strict check where we want
the version to be identical.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-*: mass update of license files
Bernd Kuhls [Sat, 21 Mar 2020 09:35:02 +0000 (10:35 +0100)]
package/kodi-*: mass update of license files

Switch _LICENSE_FILES to debian/copyright instead of using a source
code file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-rsxs: switch license to GPL-2.0+
Bernd Kuhls [Sat, 21 Mar 2020 09:35:01 +0000 (10:35 +0100)]
package/kodi-screensaver-rsxs: switch license to GPL-2.0+

Upstream commit
https://github.com/xbmc/screensavers.rsxs/commit/dbb88536964dc0ca4144016eb12f7307b60cb1fa

removed lib/rsxs-1.0 which was licensed as GPL-3.0.

During the latest version bump
https://git.buildroot.net/buildroot/commit/package/kodi-screensaver-rsxs?id=e68bcc985fbb17e50cfa2944807090b6cd57c871

KODI_SCREENSAVER_RSXS_LICENSE_FILES = lib/rsxs-1.0/COPYING

was removed but the corresponding license change was forgotton.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-asterwave: add license information
Bernd Kuhls [Sat, 21 Mar 2020 09:35:00 +0000 (10:35 +0100)]
package/kodi-screensaver-asterwave: add license information

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-external: fix call to check_kernel_headers_version
Thomas Petazzoni [Sat, 21 Mar 2020 13:52:18 +0000 (14:52 +0100)]
toolchain/toolchain-external: fix call to check_kernel_headers_version

The external toolchain configure step calls the
check_kernel_headers_version make function to compare the kernel
headers version declared in the configuration with the actual kernel
headers of the toolchain.

This function takes 4 arguments, but due to a missing comma what
should be the first two arguments are both passed into the first
argument. Due to this, when check_kernel_headers_version does:

if ! support/scripts/check-kernel-headers.sh $(1) $(2) $(3) \
$(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \

Then:

  $(1) contains "$(BUILD_DIR) $$(call toolchain_find_sysroot,$$(TOOLCHAIN_EXTERNAL_CC))"
  $(2) contains "$$(call qstrip,$$(BR2_TOOLCHAIN_HEADERS_AT_LEAST))"
  $(3) contains "$$(if $$(BR2_TOOLCHAIN_EXTERNAL_CUSTOM),loose,strict))"

So from the point of view of check-kernel-headers.sh, it already has
four arguments, and therefore the additional argument passed by:

   $(if $(BR2_TOOLCHAIN_HEADERS_LATEST),$(4),strict); \

is ignored, defeating the $(BR2_TOOLCHAIN_HEADERS_LATEST) test.

The practical consequence is that a toolchain that has 5.4 kernel
headers but declared as using 5.3 kernel headers does not abort the
build, because the check is considered "loose" while it should be
"strict".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/stmicroelectronics/stm32f4xx: move post-build script into common directory
Bartosz Bilas [Sat, 21 Mar 2020 13:32:22 +0000 (14:32 +0100)]
board/stmicroelectronics/stm32f4xx: move post-build script into common directory

Let's clean up "boards/stmicroelectronics" directory a bit
to have everything in particular directories.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157c_dk2: bump U-Boot to 2020.01
Bartosz Bilas [Sat, 21 Mar 2020 13:32:21 +0000 (14:32 +0100)]
configs/stm32mp157c_dk2: bump U-Boot to 2020.01

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157c_dk2: bump Linux to 5.4.26
Bartosz Bilas [Sat, 21 Mar 2020 13:32:20 +0000 (14:32 +0100)]
configs/stm32mp157c_dk2: bump Linux to 5.4.26

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157a_dk1: new defconfig
Bartosz Bilas [Sat, 21 Mar 2020 13:32:19 +0000 (14:32 +0100)]
configs/stm32mp157a_dk1: new defconfig

The board support package includes the following components:
 - U-Boot 2020.01
 - Linux 5.4.26
 - Buildroot default packages

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157: use common genimage config file for stm32mp157 boards
Bartosz Bilas [Sat, 21 Mar 2020 13:32:18 +0000 (14:32 +0100)]
configs/stm32mp157: use common genimage config file for stm32mp157 boards

It will be useful for the upcoming introducing stm32mp157a dk2 board.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/stm32mp157c-dk2/genimage.cfg: drop hardcoded rootfs partition size
Bartosz Bilas [Sat, 21 Mar 2020 13:32:17 +0000 (14:32 +0100)]
board/stm32mp157c-dk2/genimage.cfg: drop hardcoded rootfs partition size

Let genimage to match the size of the rootfs image instead.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: bump version to 2020.03.0
Bartosz Bilas [Thu, 19 Mar 2020 12:52:31 +0000 (13:52 +0100)]
boot/barebox: bump version to 2020.03.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-cheetah: bump to version 3.2.4
Yegor Yefremov [Thu, 19 Mar 2020 10:53:34 +0000 (11:53 +0100)]
package/python-cheetah: bump to version 3.2.4

The original python-cheetah project was abandoned and a new
fork was created as a drop-in replacement. Though the name of the
fork is Cheetah3, we do not rename the package name to avoid
dependency renaming.

The new fork supports both Python2 and Python3.

python-markdown is now an optional dependency.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agogitlab-ci: regenerate after new tests were added
Yann E. MORIN [Sat, 21 Mar 2020 12:17:13 +0000 (13:17 +0100)]
gitlab-ci: regenerate after new tests were added

The recent perl-crypt-ssleay, perl-lwp-protocol-https, and
perl-html-parser packages aditions came with associated new
runtime tests, which is good, but forgot to regenerate the
gitlab-ci.yml file with the updated list of tests.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lua-lyaml: new package
Francois Perrad [Wed, 11 Mar 2020 07:09:31 +0000 (08:09 +0100)]
package/lua-lyaml: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/moarvm: bump to version 2020.02.1
Francois Perrad [Wed, 11 Mar 2020 10:36:01 +0000 (11:36 +0100)]
package/moarvm: bump to version 2020.02.1

since version 2020.02, moarvm depends on libtommath 1.2.0

the patch is useless since the bump of the embedded dyncall:
https://github.com/MoarVM/dyncall/commit/4b85baf44b9cf079d55cf74d26dc749659151e11

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtommath: bump to version 1.2.0
Francois Perrad [Wed, 11 Mar 2020 10:36:00 +0000 (11:36 +0100)]
package/libtommath: bump to version 1.2.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/chiliboard: bump U-Boot to 2020.01
Marcin Niestroj [Fri, 20 Mar 2020 15:35:05 +0000 (16:35 +0100)]
board/chiliboard: bump U-Boot to 2020.01

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/chiliboard: bump Linux to 5.4.26
Marcin Niestroj [Fri, 20 Mar 2020 15:35:04 +0000 (16:35 +0100)]
board/chiliboard: bump Linux to 5.4.26

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/chiliboard: drop custom post-image script
Marcin Niestroj [Fri, 20 Mar 2020 15:35:03 +0000 (16:35 +0100)]
board/chiliboard: drop custom post-image script

Instead use generic genimage.sh script.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/liteboard: bump U-Boot to 2020.01
Marcin Niestroj [Fri, 20 Mar 2020 15:45:38 +0000 (16:45 +0100)]
board/liteboard: bump U-Boot to 2020.01

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/liteboard: drop custom post-image script
Marcin Niestroj [Fri, 20 Mar 2020 15:45:37 +0000 (16:45 +0100)]
board/liteboard: drop custom post-image script

Instead use generic genimage.sh script.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: assemble package file lists before calling post-build scripts
Thomas De Schampheleire [Wed, 18 Mar 2020 15:58:13 +0000 (16:58 +0100)]
Makefile: assemble package file lists before calling post-build scripts

Post-build scripts may want to do something based on the list of files
installed by a package. However, since commit
0e2be4db8ab01d479177a3a187c22525752195ae the final packages-file-lists.txt
file is only created _after_ the post-build scripts.

Move the assembly of the file lists upwards, before the post-build scripts.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: fix package file list if FOO_SUBDIR is set
Thomas De Schampheleire [Wed, 18 Mar 2020 15:58:12 +0000 (16:58 +0100)]
Makefile: fix package file list if FOO_SUBDIR is set

If a package sets a FOO_SUBDIR (meaning its sources are not under
output/build/foo-123 but under output/build/foo-123/$(FOO_SUBDIR)), the
.files-list.txt file were also created under FOO_SUBDIR, due to which the
logic in the Makefile would not find it.

Change the instrumentation steps so that the file list is directly under the
package dir, ignoring the subdir.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: don't hang the build if there are no file lists
Thomas Petazzoni [Wed, 18 Mar 2020 15:58:11 +0000 (16:58 +0100)]
Makefile: don't hang the build if there are no file lists

In very limited configurations, it is possible to have a case where no
.files-list-staging.txt files are created. In this case:

    cat $(sort $(wildcard $(BUILD_DIR)/*/.files-list-staging.txt)) > \
        $(BUILD_DIR)/packages-file-list-staging.txt

becomes:

    cat > \
        $(BUILD_DIR)/packages-file-list-staging.txt

which of course makes the build hang.. forever.

So we fix this by checking the list is not empty. To keep the code
readable, we introduce an intermediate variable to store the list of
these files.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[yann.morin.1998@free.fr: always create the file, even if empty]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/radvd: drop dependency on flex runtime library
Alexander Mukhin [Fri, 20 Mar 2020 10:07:20 +0000 (13:07 +0300)]
package/radvd: drop dependency on flex runtime library

Radvd has its own main(), and does not use yywrap() from libfl.so,
because scanner.l module contains noyywrap option. So, none of the
functions exported by libfl.so are used, and there's no need to have
the flex runtime on target.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/samba4: bump version to 4.11.7
Bernd Kuhls [Fri, 20 Mar 2020 07:11:48 +0000 (08:11 +0100)]
package/samba4: bump version to 4.11.7

Release notes: https://www.samba.org/samba/history/samba-4.11.7.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/x11r7/xkeyboard-config: bump version to 2.29
Bernd Kuhls [Fri, 20 Mar 2020 06:56:52 +0000 (07:56 +0100)]
package/x11r7/xkeyboard-config: bump version to 2.29

Switch _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.0.2
Bernd Kuhls [Thu, 19 Mar 2020 06:53:05 +0000 (07:53 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 20.0.2

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x264: bump version to 20191217-2245
Bernd Kuhls [Fri, 20 Mar 2020 06:50:19 +0000 (07:50 +0100)]
package/x264: bump version to 20191217-2245

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/php: security bump version to 7.4.4
Bernd Kuhls [Fri, 20 Mar 2020 06:36:52 +0000 (07:36 +0100)]
package/php: security bump version to 7.4.4

Changelog: https://www.php.net/ChangeLog-7.php#7.4.4

Fixes CVE-2020-7064, CVE-2020-7065 & CVE-2020-7066.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/ytree: bump version to 2.02
Bernd Kuhls [Wed, 18 Mar 2020 21:39:13 +0000 (22:39 +0100)]
package/ytree: bump version to 2.02

Changelog: https://www.han.de/~werner/ytree.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two space in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x265: bump version to 3.3
Bernd Kuhls [Wed, 18 Mar 2020 21:33:33 +0000 (22:33 +0100)]
package/x265: bump version to 3.3

Release notes:
https://mailman.videolan.org/pipermail/x265-devel/2020-February/012880.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dav1d: bump version to 0.6.0
Bernd Kuhls [Wed, 18 Mar 2020 21:28:14 +0000 (22:28 +0100)]
package/dav1d: bump version to 0.6.0

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash files]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boinc: bump version to 7.16.5
Bernd Kuhls [Wed, 18 Mar 2020 21:23:43 +0000 (22:23 +0100)]
package/boinc: bump version to 7.16.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tor: security bump version to 0.4.2.7
Bernd Kuhls [Wed, 18 Mar 2020 21:21:30 +0000 (22:21 +0100)]
package/tor: security bump version to 0.4.2.7

Release notes: https://blog.torproject.org/new-releases-03510-0419-0427

Fixes CVE-2020-10592 & CVE-2020-10593.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash files]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/barebox-aux: exclude git downloads from hash check
Yann E. MORIN [Thu, 19 Mar 2020 21:56:57 +0000 (22:56 +0100)]
boot/barebox-aux: exclude git downloads from hash check

When barebox, and thus barebox-aux, are downloaded from a git tree, then
barebox-aux download fails because a hash check is attempted on the
downloaded archive:

    Could not fetch special ref 'v2020.03.0'; assuming it is not special.
    ERROR: No hash found for barebox-aux-v2020.03.0.tar.gz

This is because we only exclude from the check the archive of the bare
barebox:

    BR_NO_CHECK_HASH_FOR += $(BAREBOX_SOURCE)

However, the default name of an archive is based on the package name,
which for barebox-aux is not 'barebox'.

Since barebox-aux really uses the exact same source as the bare barebox,
it should also share the archive name.

This has two direct consequences and advantages:

  - the hash check is completely avoided for the barebox-aux archive;

  - the barebox-aux archive is not downloaded as it is already
    downloaded for barebox.

Reported-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/barebox-aux: store downloads in same dir as bare barebox
Yann E. MORIN [Thu, 19 Mar 2020 21:49:00 +0000 (22:49 +0100)]
boot/barebox-aux: store downloads in same dir as bare barebox

barebox and barebox-aux are really the same package, from the same URL
and the same version. They deserve being stored in the same directory.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/syslog-ng: Update has for COPYING
Chris Packham [Thu, 19 Mar 2020 08:12:28 +0000 (21:12 +1300)]
package/syslog-ng: Update has for COPYING

The COPYING file in syslog-ng is not the usual GPL text. Rather, it
defines what parts of the source is licensed under what licenses; it
also contains an FAQ that is supposed to clarify how the licenses should
be interpreted for various purposes, as well as the license for a
specific subset of the soruce tree.

In 3.26.1, this file was modified according to the new or removed parts
of the source tree, but we missed that when bumping in commit afc0277137
(package/syslog-ng: Bump version to 2.26.1)

Update the hash accordingly.

Fixes:
 - http://autobuild.buildroot.net/results/4e0768a5aae0f77e1382108b1ca06d0ad78f4da4
 - http://autobuild.buildroot.net/results/7430550dfce0bcb1bc5c9361033e26651883685a
 - http://autobuild.buildroot.net/results/56afedff96d17ab4800845d7777dd151cb431acf
 - http://autobuild.buildroot.net/results/2cac7eeaeabf8d77724ff283d3cb9026e778635c
 - http://autobuild.buildroot.net/results/a8189eab2a14cc5d04d90d8f1fa058b86889cc21

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libcurl: bump version to 7.69.1
Bernd Kuhls [Fri, 20 Mar 2020 06:44:51 +0000 (07:44 +0100)]
package/libcurl: bump version to 7.69.1

Changelog: https://curl.haxx.se/changes.html

Removed polarssl configure options, upstream removed polarssl support:
https://curl.haxx.se/bug/?i=4825

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tinyproxy: use the release tarball, not a git clone
Alexander Mukhin [Thu, 19 Mar 2020 14:04:44 +0000 (17:04 +0300)]
package/tinyproxy: use the release tarball, not a git clone

Upstream ships distribution tarballs with pre-built manpages and
necessary fixes, so that the build doesn't break if asciidoc is not
available.

Signed-off-by: Alexander Mukhin <alexander.i.mukhin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agofs/erofs: add support for creating EROFS rootfs image
Gao Xiang [Mon, 16 Mar 2020 01:58:38 +0000 (09:58 +0800)]
fs/erofs: add support for creating EROFS rootfs image

This patch makes possible to create rootfs image using
EROFS filesystem.

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
[yann.morin.1998@free.fr:
  - simplify help text of filesystem entry
  - drop the compression choice, keep the single boolean
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux-tools: perf: Add dependencies for binutils and openssl
Robert Hancock [Mon, 2 Mar 2020 22:49:34 +0000 (16:49 -0600)]
linux-tools: perf: Add dependencies for binutils and openssl

perf auto-detects and uses the libbfd (from binutils) and openssl
libraries if they are detected and happen to be built before perf is,
but if they're not, or if per-package directories are enabled, it won't
detect these libraries. Explicitly add dependencies on these packages if
they are enabled, and disable the feature if not, so that the behavior
is deterministic.

Signed-off-by: Robert Hancock <hancock@sedsystems.ca>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/erofs-utils: new package
Gao Xiang [Mon, 16 Mar 2020 01:58:37 +0000 (09:58 +0800)]
package/erofs-utils: new package

This patch adds EROFS userspace tool erofs-utils to buildroot,
which can be used to generate EROFS images.

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
[yann.morin.1998@free.fr:
  - add explicit --enable-lz4
  - explain why autoreconf
  - add DEVELOPPER entry
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/linphone: fix powerpc build
Fabrice Fontaine [Sun, 15 Mar 2020 19:25:29 +0000 (20:25 +0100)]
package/linphone: fix powerpc build

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/polkit: fix build with NLS
Fabrice Fontaine [Tue, 17 Mar 2020 21:03:53 +0000 (22:03 +0100)]
package/polkit: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/258b734e14f8f31355eba1ddb734213bc3f29591

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/redis: bump to v5.0.8
Titouan Christophe [Mon, 16 Mar 2020 10:31:34 +0000 (11:31 +0100)]
package/redis: bump to v5.0.8

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/vim: bump to v8.2.0
Joao Marcos Costa [Mon, 16 Mar 2020 09:44:16 +0000 (10:44 +0100)]
package/vim: bump to v8.2.0

Update from version 8.1.1929 to 8.2.0, which is the latest stable
version. The license file ('README.txt') has only one modification,
concerning Vim's version, as it is shown by the following diff:

   --- vim-8.1.1929/README.txt 2019-08-25 23:08:17.000000000 +0200
   +++ vim-8.2.0000/README.txt 2019-12-12 14:18:35.000000000 +0100
   @@ -1,4 +1,4 @@
   -README.txt for version 8.1 of Vim: Vi IMproved.
   +README.txt for version 8.2 of Vim: Vi IMproved.

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/llvm: remove outdated variables disabling bindings
Joseph Kogut [Mon, 16 Mar 2020 20:01:06 +0000 (13:01 -0700)]
package/llvm: remove outdated variables disabling bindings

LLVM no longer disables unsupported bindings by overriding OCAMLFIND and
GO_EXECUTABLE, so remove them.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/llvm: specify LLVM_ENABLE_BINDINGS=OFF
Joseph Kogut [Mon, 16 Mar 2020 20:01:05 +0000 (13:01 -0700)]
package/llvm: specify LLVM_ENABLE_BINDINGS=OFF

LLVM builds bindings for other languages such as Go and OCaml when the
appropriate dependencies can be found. We currently don't support
building these bindings in Buildroot, as they're currently unused by any
package.

Building these bindings was originally disabled by overriding the
dependencies with values indicating that they were not found.

Newer versions of LLVM no longer disable the OCaml bindings when overriding
OCAMLFIND. Consequently, the build process attempts to install the bindings
to the default location on the host of /usr/lib/ocaml/llvm, causing a
permissions error and build failure.

Additionally, LLVM has since added the variable LLVM_ENABLE_BINDINGS to
control whether bindings are enabled, so we override that to disable the
bindings.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agofs/initramfs: fix show-info
Yann E. MORIN [Mon, 16 Mar 2020 21:55:36 +0000 (22:55 +0100)]
fs/initramfs: fix show-info

The initramfs is not a reall filesystem, so it does not use the
$(rootfs) infrastructure.

As a consequence, the usual rootfs-related variables are not set,
especially the name, type, and dependencies of the (non-)filesystem.

Yet, it is present in the list of rootfs to build, and thus we end
up including it in the output of show-info. But the missing variables
yield an incorrect json:

    "": {
        "type": "",
        "virtual": false,
        "version": "",
        "licenses": "",
        "dl_dir": "",
        "install_target": ,
        "install_staging": ,
        "install_images": ,
        "downloads": [ ],
        "dependencies": [ ],
        "reverse_dependencies": [ ]
    },

First, the object key is empty; second, the install_target,
install_staging, and install_images values are empty, which is not
valid (if they were null, that be OK though). Third, this is clearly
the layout of a 'package' entry, not that of a 'rootfs' entry.

An option to fix that would be to actually make use of the rootfs
infra. However, that would mean doing a lot of work for nothing
(there is actually nothing to do, yet the infra would still do a lot
of preparatory and clean up work).

The alternative is pretty simple: declare and set the variables as if
it were a real filesystem, so that show-info can filter it to the
proper layout and can spit out appropriate content (even if fake).

The third option would be to teach show-info (and its internal
implementation, the macro json-info) to ignore specific cases, like
no-name items, or replace empty values with null, or whatnots. This
again would be quite a lot of work for a single occurence.

So we go for the simple faked variables.

We add linux as a dependency, so that the graph-depends also properly
represent the dependency chain, which ends up with something liKe:

              ALL
               |
               v
        rootfs-initramfs
         |            |
         v            v
       linux     rootfs-cpio

which is pretty fitting in the end.

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ccache: bump to version 3.7.8
Asaf Kahlon [Tue, 17 Mar 2020 19:04:03 +0000 (21:04 +0200)]
package/ccache: bump to version 3.7.8

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>