buildroot.git
4 years ago{linux, linux-headers}: add version 5.5
Jagan Teki [Mon, 10 Feb 2020 16:21:02 +0000 (17:21 +0100)]
{linux, linux-headers}: add version 5.5

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - bump to 5.5.13
  - rebase on top of master
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix CVE-2019-12795
Fabrice Fontaine [Sun, 29 Mar 2020 16:02:46 +0000 (18:02 +0200)]
package/gvfs: fix CVE-2019-12795

daemon/gvfsdaemon.c in gvfsd from GNOME gvfs before 1.38.3, 1.40.x
before 1.40.2, and 1.41.x before 1.41.3 opened a private D-Bus server
socket without configuring an authorization rule. A local attacker could
connect to this server socket and issue D-Bus method calls. (Note that
the server socket only accepts a single connection, so the attacker
would have to discover the server and connect to the socket before its
owner does.)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix CVE-2019-12449
Fabrice Fontaine [Sun, 29 Mar 2020 16:02:45 +0000 (18:02 +0200)]
package/gvfs: fix CVE-2019-12449

An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2.
daemon/gvfsbackendadmin.c mishandles a file's user and group ownership
during move (and copy with G_FILE_COPY_ALL_METADATA) operations from
admin:// to file:// URIs, because root privileges are unavailable.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix CVE-2019-12447
Fabrice Fontaine [Sun, 29 Mar 2020 16:02:44 +0000 (18:02 +0200)]
package/gvfs: fix CVE-2019-12447

An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2.
daemon/gvfsbackendadmin.c mishandles file ownership because setfsuid is
not used.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix CVE-2019-12448
Fabrice Fontaine [Sun, 29 Mar 2020 16:02:43 +0000 (18:02 +0200)]
package/gvfs: fix CVE-2019-12448

An issue was discovered in GNOME gvfs 1.29.4 through 1.41.2.
daemon/gvfsbackendadmin.c has race conditions because the admin backend
doesn't implement query_info_on_read/write.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gvfs: fix CVE-2019-3827
Fabrice Fontaine [Sun, 29 Mar 2020 16:02:42 +0000 (18:02 +0200)]
package/gvfs: fix CVE-2019-3827

An incorrect permission check in the admin backend in gvfs before
version 1.39.4 was found that allows reading and modify arbitrary files
by privileged users without asking for password when no authentication
agent is running. This vulnerability can be exploited by malicious
programs running under privileges of users belonging to the wheel group
to further escalate its privileges by modifying system files without
user's knowledge. Successful exploitation requires uncommon system
configuration.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vala: also wrap vapigen
Adam Duskett [Fri, 27 Mar 2020 18:29:55 +0000 (11:29 -0700)]
package/vala: also wrap vapigen

when compiling gobject-introspection .gir files, some packages use vapigen to
generate a vala-api compatible .gir file. These packages tend to call vapigen
directly instead of vala or valac.

Without the wrapper, building the .gir files fail. In the case of for example,
gupnp-dlna throws the following error:
"error: Package `Gst-1.0' not found in specified Vala API directories or
GObject-Introspection GIR directories."

Installing the vala wrapper for vapigen fixes the above issue.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vala: fix wrapper
Adam Duskett [Fri, 27 Mar 2020 18:29:54 +0000 (11:29 -0700)]
package/vala: fix wrapper

Add double quotes around the $@ variable to prevent word splitting.

Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: s/globbing/word splitting/]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/hiredis: install alloc.h
Fabrice Fontaine [Sun, 29 Mar 2020 08:36:50 +0000 (10:36 +0200)]
package/hiredis: install alloc.h

This will fix build of collectd, proftpd ... with latest hiredis

Fixes:
 - http://autobuild.buildroot.org/results/f5afe60defd63461a5fc06b26bd4759fb5f56a8f
 - http://autobuild.buildroot.org/results/45e980c85d170827d3a41e7443cf1088b2d59ead

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/nitrogen8mm: Add new defconfig
Gary Bisson [Fri, 27 Mar 2020 17:12:03 +0000 (18:12 +0100)]
configs/nitrogen8mm: Add new defconfig

NXP i.MX8MMini based SBC with 2GB of LPDDR4 and 8GB eMMC.

More details on the platform here:
https://boundarydevices.com/product/nitrogen8m-mini

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/boundarydevices: update readme.txt
Gary Bisson [Fri, 27 Mar 2020 17:12:02 +0000 (18:12 +0100)]
board/boundarydevices: update readme.txt

- update outdated website URL
- add missing Nitrogen8M configuration
- reword procedure to make it clear it works for all storages

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/boundarydevices/common/post-image.sh: use genimage.sh
Gary Bisson [Fri, 27 Mar 2020 17:12:01 +0000 (18:12 +0100)]
board/boundarydevices/common/post-image.sh: use genimage.sh

- To avoid code duplication and to benefit from support script
improvements like empty target dir.
- Note that currently genimage.sh can't be set in defconfig directly for
i.MX8 targets as the POST_SCRIPT_ARGS is used by
imx8-bootloader-prepare.sh

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-audiodecoder-timidity: bump version to 2.0.5-Leia
Bernd Kuhls [Fri, 27 Mar 2020 19:04:40 +0000 (20:04 +0100)]
package/kodi-audiodecoder-timidity: bump version to 2.0.5-Leia

Switched license file to LICENSE.md.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/localedef: fix gcc-10.0.1 compile
Peter Seiderer [Sat, 28 Mar 2020 22:07:49 +0000 (23:07 +0100)]
package/localedef: fix gcc-10.0.1 compile

Fixes build woth gcc-10, by backporting an upstream patch:

  programs/ld-ctype.c:855:18: error: array subscript 0 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
    855 |  replace[0].bytes[0] = '?';
        |  ~~~~~~~~~~~~~~~~^~~

Fixes: #12711
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr: slight reword in commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi: remove dependency to udev for libcec support
Bernd Kuhls [Sat, 28 Mar 2020 21:48:29 +0000 (22:48 +0100)]
package/kodi: remove dependency to udev for libcec support

libcec added sysfs scanning support:

On Linux, dynamic device discovery is currently implemented via libudev,
which may not be available on more minimal systems. Thus, we implement a
new device discovery that directly uses sysfs to scan through available
USB devices for supported ones without any additional dependencies.

https://github.com/Pulse-Eight/libcec/commit/70d71cb16fa7c334373f3ba0148b89eafc04f73f

Previously Kodi needed udev to find the Pulse-Eight CEC adapter.
Run-time tested using Kodi 18.6-Leia.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcec: bump version
Bernd Kuhls [Sat, 28 Mar 2020 21:48:28 +0000 (22:48 +0100)]
package/libcec: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openzwave: bump to 62444b0f979c337d2091d77d89cf63c2ae9775cf
Fabrice Fontaine [Sat, 28 Mar 2020 17:44:04 +0000 (18:44 +0100)]
package/openzwave: bump to 62444b0f979c337d2091d77d89cf63c2ae9775cf

- Remove patches (already in version)
- Current license files have been moved to licenses since
  https://github.com/OpenZWave/open-zwave/commit/e5f22ed4aee753d7cbf20dc12859ec2c5bb2e974
- Add new LICENSE file, available since
  https://github.com/OpenZWave/open-zwave/commit/6e03f5fda0726cc449a902320dedf5838ea557d2
- Update indentation of hash file (two spaces)
- This bump is necessary to fix build with latest domoticz. Indeed, even
  if this is a wrong practice, domoticz has a local copy of openzwave
  headers which are now desynchronized from the openzwave source files

Fixes:
 - http://autobuild.buildroot.org/results/193b8dd97c927805679d874dce6e27c685ce1f28

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysstat: bump to version 12.2.1
Fabrice Fontaine [Sat, 28 Mar 2020 18:28:48 +0000 (19:28 +0100)]
package/sysstat: bump to version 12.2.1

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/package/sample_gst1_python.py: fix flake8 errors
Adam Duskett [Sat, 28 Mar 2020 21:26:50 +0000 (14:26 -0700)]
support/testing/tests/package/sample_gst1_python.py: fix flake8 errors

The older version of flake8 on the autobuilders does not support typehints.
As such, flake8 throws the following error when scanning sample_gst1_python:
E999 SyntaxError: invalid syntax

Remove the typehinting from on_message to fix this issue.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rocksdb: fix build without dlfcn.h
Fabrice Fontaine [Sat, 28 Mar 2020 15:58:29 +0000 (16:58 +0100)]
package/rocksdb: fix build without dlfcn.h

Fixes:
 - http://autobuild.buildroot.org/results/04c5afff034d8d71d11b95c998e3156292852de6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rocksdb: fix build on m68k_cf
Fabrice Fontaine [Sat, 28 Mar 2020 15:58:28 +0000 (16:58 +0100)]
package/rocksdb: fix build on m68k_cf

Fixes:
 - http://autobuild.buildroot.org/results/04c5afff034d8d71d11b95c998e3156292852de6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rng-tools: bump to version 6.10
Fabrice Fontaine [Fri, 27 Mar 2020 21:46:28 +0000 (22:46 +0100)]
package/rng-tools: bump to version 6.10

- libgcrypt is not an optional dependency and openssl is mandatory since
  https://github.com/nhorman/rng-tools/commit/699a404c290eaa08ed5dd37204d951ef6ee23578
- librtlsdr is an optional dependency since
  https://github.com/nhorman/rng-tools/commit/865277d591e20b7e21873433fb2a280c66d98c87

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: define _REENTRANT for OpenRISC when -pthread is passed
Bernd Kuhls [Fri, 27 Mar 2020 21:23:05 +0000 (22:23 +0100)]
package/gcc: define _REENTRANT for OpenRISC when -pthread is passed

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libmicrohttpd: remove dependency on threads
Bernd Kuhls [Fri, 27 Mar 2020 18:50:45 +0000 (19:50 +0100)]
package/libmicrohttpd: remove dependency on threads

Upstream added support for non-threaded builds:
https://git.gnunet.org/libmicrohttpd.git/commit/configure.ac?id=0eefd20ba370509d93fb7b0220e6d1c5739efac5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/roc_rk3399_pc: new defconfig
Suniel Mahesh [Sat, 28 Mar 2020 05:04:31 +0000 (10:34 +0530)]
configs/roc_rk3399_pc: new defconfig

This initial support includes:
Linux 5.4
U-Boot 2020.01
Arm Trusted Firmware v2.2
Buildroot default packages.

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/arm-trusted-firmware: add optional host-arm-gnu-a-toolchain dependency
Suniel Mahesh [Sat, 28 Mar 2020 05:04:30 +0000 (10:34 +0530)]
boot/arm-trusted-firmware: add optional host-arm-gnu-a-toolchain dependency

Some ATF configurations, require a pre-built bare metal toolchain to
build some platforms which host cortex-m series core, for instance
rockchip rk3399 has a cortex-m0 core. Without a pre-built bare metal
toolchain, the build fails:

make[3]: arm-none-eabi-gcc: Command not found

To solve this, this commit implements a
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN
option. Platforms which have such requirement should enable this
config option.

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/arm-gnu-a-toolchain: new package
Suniel Mahesh [Sat, 28 Mar 2020 05:04:29 +0000 (10:34 +0530)]
package/arm-gnu-a-toolchain: new package

A number of AArch64 platforms need to build some bits of ARM32 code,
for example in TF-A (ARM Trusted Firmware) or other
firmware/bootloader.

This package allows to get a pre-built cross-compilation toolchain to
build bare-metal ARM32 code.

https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com>
[Thomas:
 - drop empty LICENSE_FILES
 - use VERSION variable in SITE variable
 - simplify symlink creation
 - drop visible Config.in.host option]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/manual: small typo fixes and cleanup
Merlin Büge [Sat, 28 Mar 2020 14:41:38 +0000 (15:41 +0100)]
docs/manual: small typo fixes and cleanup

Fix a few punctuation mistakes. The removed link is redundant, see the
previous sentence.

Signed-off-by: Merlin Büge <merlin.buege@tuhh.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rocksdb: fix bzip2 option
Fabrice Fontaine [Sat, 28 Mar 2020 13:23:26 +0000 (14:23 +0100)]
package/rocksdb: fix bzip2 option

Commit 95bf830e2ae6b5548c17fd3ce6ac1a8d2aa0c8b6 forgot to replace
ROCKSDB_CONF_OPTS by ROCKSDB_MAKE_OPTS for BR2_PACKAGE_BZIP2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lz4: annotate CVE-2014-4715
Fabrice Fontaine [Sat, 28 Mar 2020 09:51:38 +0000 (10:51 +0100)]
package/lz4: annotate CVE-2014-4715

CVE-2014-4715 is misclassified (by our CVE tracker) as affecting
version 1.9.2, while in fact this issue has been fixed since lz4-r130:
https://github.com/lz4/lz4/commit/140e6e72ddb6fc5f7cd28ce0c8ec3812ef4a9c08

See https://github.com/lz4/lz4/issues/818

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libical: fix CVE-2016-9584
Fabrice Fontaine [Sat, 28 Mar 2020 09:36:47 +0000 (10:36 +0100)]
package/libical: fix CVE-2016-9584

libical allows remote attackers to cause a denial of service
(use-after-free) and possibly read heap memory via a crafted ics file.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pure-ftpd: fix CVE-2020-9274
Fabrice Fontaine [Sat, 28 Mar 2020 09:00:42 +0000 (10:00 +0100)]
package/pure-ftpd: fix CVE-2020-9274

An issue was discovered in Pure-FTPd 1.0.49. An uninitialized pointer
vulnerability has been detected in the diraliases linked list. When the
*lookup_alias(const char alias) or print_aliases(void) function is
called, they fail to correctly detect the end of the linked list and try
to access a non-existent list member. This is related to init_aliases in
diraliases.c.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/hiredis: security bump to version 0.14.1
Fabrice Fontaine [Sat, 28 Mar 2020 08:52:30 +0000 (09:52 +0100)]
package/hiredis: security bump to version 0.14.1

- Fix CVE-2020-7105: async.c and dict.c in libhiredis.a in hiredis
  through 0.14.0 allow a NULL pointer dereference because malloc return
  values are unchecked.
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/erofs-utils: add patch to resolve PAGE_SIZE redefinition
Gao Xiang [Thu, 26 Mar 2020 02:12:15 +0000 (10:12 +0800)]
package/erofs-utils: add patch to resolve PAGE_SIZE redefinition

This patch resolves PAGE_SIZE redefinition reported by autobuilders,
with toolchains using musl, on x86 (32- or 64-bit) platforms.

Fixes:
  - http://autobuild.buildroot.net/results/340b98caa45bafd43f109002be9da59ba7f6d971
  - http://autobuild.buildroot.net/results/42cd24535ab38cb9b416b730a034a1dbe3293bf5
  - http://autobuild.buildroot.net/results/260cdb3203e9141e674f38a2acd127d10320f8fa

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
[yann.morin.1998@free.fr:
  - update commit log with details about conditions
  - add two autobuilder references
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogitlab-ci: regenerate to accomodate for a removed test
Yann E. MORIN [Sat, 28 Mar 2020 08:21:08 +0000 (09:21 +0100)]
gitlab-ci: regenerate to accomodate for a removed test

Commit a570f63dd4b (Revert "package/perl-crypt-ssleay: new package")
forgot to deregister the associated test from the gitlab-ci list.

Remove it now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/testing: fix test_gst1_python
Adam Duskett [Tue, 24 Mar 2020 17:38:53 +0000 (10:38 -0700)]
support/testing: fix test_gst1_python

The config is missing the following packages:
  - BR2_PACKAGE_GST1_PLUGINS_BASE
    This is needed for the videotestsrc plugin which provides
    videotestsrc.

  - BR2_PACKAGE_GST1_PLUGINS_BAD
    This is needed for the debugutils plugin which provides
    fakevideosink.

  - BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEOTESTSRC
    videotestsrcplugin used by the example pipeline.

  - BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DEBUGUTILS
    fakevideosink plugin used by the example pipeline.

The sample was also amended to fix:
  - no call to main.

  - using autovideosink instead of fakevideosink. Using Fakevideoskink
    is preferred because its primary purpose is for debugging and sample
    pipelines. Autovideosink does not work because there is no video
    output device.

  - No function on_message. Without this function, the script fails
    because of the missing function.

  - The script sets the pipeline to Gst.State.EOS instead of
    Gst.State.NULL which results in a failed pipeline state. When the
    state is set to NULL, gstreamer automatically calls EOS. Manually
    setting the pipeline state to EOS results in the following error:

        Trying to dispose element sink, but it is in PLAYING instead of
        the NULL state. You need to explicitly set elements to the NULL
        state before dropping the final reference, to allow them to
        clean up. A refcounting bug may also cause this problem in the
        application or some element.

In addition, the default timeout is set too low and would result in a
test failure, this has been changed to 200 seconds.

These issues are now properly fixed, and the sample script passes.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - meld the two patches together
  - add the print() in the on_demand callback
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-python: fix libpython-dir path
Adam Duskett [Tue, 24 Mar 2020 17:38:52 +0000 (10:38 -0700)]
package/gstreamer1/gst1-python: fix libpython-dir path

Due to the CONF_ENV options set in the gst1-python.mk file, libpython-dir
must be set manually or else the error:
"Python dynamic library path could not be determined" occurs.

Previously the libpython-dir option was set to
$(HOST_DIR)/lib/python$(PYTHON3_VERSION_MAJOR), however, this breaks the
resulting .so because the above full path is baked into the resulting .so.
which results in the error:

Couldn't g_module_open libpython. Reason:
/full/path/to/host/lib/python3.8/libpython3.8.so: cannot open shared object
file: No such file or directory

To fix this error, set the libpython-dir to /usr/lib.
Because we provide PYTHONPATH=$(PYTHON3_PATH) in the GST1_PYTHON_CONF_ENV,
the logic in the meson file uses the above python3 provided by the PYTHONPATH
variable to determine /usr/lib/ has the proper
python$(PYTHON3_VERSION_MAJOR).so file.

Because Buildroot provides the appropriate paths, the meson file finds
the correct .so file and the resulting compiled library has the appropriate
path of /usr/lib/python3.$(PYTHON3_VERSION_MAJOR).so

This change has been tested on the following distributions:
  - Debian 9 and 10
  - Debian 9 without python3 installed on the host.
  - Centos7
  - Fedora 31

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libeXosip2: fix build without threads
Fabrice Fontaine [Wed, 25 Mar 2020 07:36:48 +0000 (08:36 +0100)]
package/libeXosip2: fix build without threads

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-twisted: bump to version 20.3.0
James Hilliard [Thu, 26 Mar 2020 23:26:23 +0000 (17:26 -0600)]
package/python-twisted: bump to version 20.3.0

Update in the copyright year of the license file:

-Copyright (c) 2001-2019
+Copyright (c) 2001-2020

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{protobuf, python-protobuf}: bump to version 3.11.4
James Hilliard [Thu, 26 Mar 2020 23:16:56 +0000 (17:16 -0600)]
package/{protobuf, python-protobuf}: bump to version 3.11.4

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-setuptools-scm: bump to version 3.5.0
James Hilliard [Thu, 26 Mar 2020 23:08:41 +0000 (17:08 -0600)]
package/python-setuptools-scm: bump to version 3.5.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyasn1-modules: bump to version 0.2.8
James Hilliard [Thu, 26 Mar 2020 22:58:48 +0000 (16:58 -0600)]
package/python-pyasn1-modules: bump to version 0.2.8

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crossbar: bump to version 20.2.1
James Hilliard [Thu, 26 Mar 2020 22:54:53 +0000 (16:54 -0600)]
package/python-crossbar: bump to version 20.2.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-automat: bump to version 20.2.0
James Hilliard [Thu, 26 Mar 2020 22:38:58 +0000 (16:38 -0600)]
package/python-automat: bump to version 20.2.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-enum34: bump to version 1.1.10
James Hilliard [Thu, 26 Mar 2020 22:20:18 +0000 (16:20 -0600)]
package/python-enum34: bump to version 1.1.10

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-idna: bump to version 2.9
James Hilliard [Thu, 26 Mar 2020 22:06:31 +0000 (16:06 -0600)]
package/python-idna: bump to version 2.9

The license file hash has changed, due to the following changes:

 - A line "License: bsd-3-clause" is being added

 - The copyright year is updated to "Copyright (c) 2013-2020, Kim
   Davies. All rights reserved."

 - Details about portions of the codec and unit tests code being under
   the PSF license are removed.

 - Details about the unit tests including Unicode License Agreement
   code are removed.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi: remove dependency on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
Bernd Kuhls [Tue, 24 Mar 2020 21:44:15 +0000 (22:44 +0100)]
package/kodi: remove dependency on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS

Upstream does not require libgcrypt & libgpg-error anymore:
https://github.com/xbmc/xbmc/commit/0c6e8e0d975d4045004dc2fe90218d61395cdcb5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sdl2: fix kmsdrm build without EGL
Fabrice Fontaine [Tue, 24 Mar 2020 22:22:41 +0000 (23:22 +0100)]
package/sdl2: fix kmsdrm build without EGL

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx8{mm,mq}evk: bump BSP components to 4.19.35_1.1.0
Laurent GAUTHIER [Thu, 26 Mar 2020 14:05:00 +0000 (15:05 +0100)]
configs/freescale_imx8{mm,mq}evk: bump BSP components to 4.19.35_1.1.0

Disabled creation of u-boot.imx image as it fails, and is not required.
Final boot image is created from uboot binary and firmwares in post image
script board/freescale/common/imx/imx8-bootloader-prepare.sh

With the bump of the kernel to 4.19, the kernel configuration now needs
host-openssl to build.

Tested-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Laurent GAUTHIER <laurent.gauthier_1@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx6{dl,q,sx}*: bump BSP components to 4.19.35_1.1.0
Julien Olivain [Thu, 26 Mar 2020 13:23:20 +0000 (14:23 +0100)]
configs/freescale_imx6{dl,q,sx}*: bump BSP components to 4.19.35_1.1.0

Also:
- drop uboot patch accepted upstream in v2018.05 in
  commit f916757300c15aa1a3f0ccc98e7abb8a84c97da0
- Add kernel dependency on host-openssl needed for v4.19.
- Rebased uboot patch

Tested-by: Maeva Manuel <maeva.manuel@oss.nxp.com>
(Tested on i.MX6Quad SabreAuto)
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyasn1: bump to version 0.4.8
James Hilliard [Thu, 26 Mar 2020 21:44:38 +0000 (15:44 -0600)]
package/python-pyasn1: bump to version 0.4.8

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sdbusplus: needs C++17
Fabrice Fontaine [Thu, 26 Mar 2020 20:38:20 +0000 (21:38 +0100)]
package/sdbusplus: needs C++17

sdbusplus needs C++17 since
https://github.com/openbmc/sdbusplus/commit/ca46b9d2e958d1e4b392265f656f782899c2de1d

This is not needed for host-sdbusplus as libsdbusplus is disabled on
host through --disable-libsdbusplus

Fixes:
 - http://autobuild.buildroot.org/results/65a4652e5b419f03ace109c4b3738e9b997cdabe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: John Faith <jfaith@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtommath: fix build with latest moarvm on ARM
Fabrice Fontaine [Thu, 26 Mar 2020 21:03:43 +0000 (22:03 +0100)]
package/libtommath: fix build with latest moarvm on ARM

Add an upstream to enable mp_set_double on more architectures to fix the
following build failure on moarvm with some ARM architectures:

linking moar
./libmoar.so: undefined reference to `mp_set_double'

Fixes:
 - http://autobuild.buildroot.org/results/59d6b651498f3523d4a990eddc03c7d5043425ff

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycryptodomex: bump to version 3.9.6
James Hilliard [Mon, 10 Feb 2020 03:45:11 +0000 (20:45 -0700)]
package/python-pycryptodomex: bump to version 3.9.6

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libite: bump version to 2.2.0
Ryan Coe [Thu, 26 Mar 2020 00:43:00 +0000 (17:43 -0700)]
package/libite: bump version to 2.2.0

The hash for LICENSE also changed. The following text was removed:

Note: Much of the code in libite (-lite) is written by Claudio Matsuoka
      for Finit and released under the MIT/X11 license.  Joachim Nilsson
      later improved on the Finit code base and included pieces of
      software released under the ISC and BSD licenses.  See each
      respective file for license details.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/inadyn: bump version to 2.7
Ryan Coe [Thu, 26 Mar 2020 00:42:59 +0000 (17:42 -0700)]
package/inadyn: bump version to 2.7

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: update patch that fixes --with-net-snmp
Thomas De Schampheleire [Wed, 25 Mar 2020 09:38:26 +0000 (10:38 +0100)]
package/syslog-ng: update patch that fixes --with-net-snmp

The final solution accepted upstream differs from the local patch applied
earlier in Buildroot (commit 4ff6e5239240a4e1bdf73c41d6e9bff9473ec62c).

Update the local code accordingly.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoRevert "package/perl-crypt-ssleay: new package"
Thomas De Schampheleire [Wed, 25 Mar 2020 09:45:59 +0000 (10:45 +0100)]
Revert "package/perl-crypt-ssleay: new package"

This reverts commit 25033cfb8612c6d0f45c89806f7e0669ffbf0e8a.

This perl package is deprecated and gives following recommendations while
building:

    *** THIS IS NOT AN ERROR, JUST A MESSAGE FOR YOUR INFORMATION ***

        Do you really need Crypt::SSLeay?

        Starting with version 6.02 of LWP, https support was unbundled into
        LWP::Protocol::https. This module specifies as one of its prerequisites
        IO::Socket::SSL which is automatically used by LWP::UserAgent unless
        this preference is overridden separately. IO::Socket::SSL is a more
        complete implementation, and, crucially, it allows hostname
        verification. Crypt::SSLeay does not support this. At this point,
        Crypt::SSLeay is maintained to support existing software that already
        depends on it.

        However, it is possible that your software does not really depend on
        Crypt::SSLeay, only on the ability of LWP::UserAgent class to
        communicate with sites over SSL/TLS.

        If are using version LWP 6.02 or later, and therefore have installed
        LWP::Protocol::https and its dependencies, and do not explicitly use
        Net::SSL before loading LWP::UserAgent, or override the default socket
        class, you are probably using IO::Socket::SSL and do not really need
        Crypt::SSLeay.

        Before installing Crypt::SSLeay, you may want to try specifying a
        dependency on LWP::Protocol::https.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx6ullevk: kernel build needs host-openssl
Julien Olivain [Wed, 25 Mar 2020 09:50:05 +0000 (10:50 +0100)]
configs/freescale_imx6ullevk: kernel build needs host-openssl

With the kernel to 4.19, the kernel configuration needs host-openssl
to build.

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

Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx7dsabresd: kernel build needs host-openssl
Julien Olivain [Wed, 25 Mar 2020 09:50:04 +0000 (10:50 +0100)]
configs/freescale_imx7dsabresd: kernel build needs host-openssl

With the recent bump of the kernel to 4.19, the kernel configuration
now needs host-openssl to build.

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

Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyyaml: bump to version 5.3.1
James Hilliard [Thu, 26 Mar 2020 10:04:04 +0000 (04:04 -0600)]
package/python-pyyaml: bump to version 5.3.1

The hash of the license file changed due to the following diff:

-Copyright (c) 2017-2019 Ingy döt Net
+Copyright (c) 2017-2020 Ingy döt Net

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-txaio: bump to version 20.3.1
James Hilliard [Thu, 26 Mar 2020 09:53:35 +0000 (03:53 -0600)]
package/python-txaio: bump to version 20.3.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 20.3.1
James Hilliard [Thu, 26 Mar 2020 09:49:40 +0000 (03:49 -0600)]
package/python-autobahn: bump to version 20.3.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cchardet: bump to version 2.1.6
James Hilliard [Thu, 26 Mar 2020 08:30:04 +0000 (02:30 -0600)]
package/python-cchardet: bump to version 2.1.6

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-aioconsole: bump to version 0.1.16
James Hilliard [Thu, 26 Mar 2020 07:59:47 +0000 (01:59 -0600)]
package/python-aioconsole: bump to version 0.1.16

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/boundarydevices: update boot scripts
Gary Bisson [Thu, 26 Mar 2020 14:44:35 +0000 (15:44 +0100)]
board/boundarydevices: update boot scripts

- Add support for 8MMini and 8MNano
- Upgrade script now resets by default

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump u-boot to 2018.07
Gary Bisson [Thu, 26 Mar 2020 14:44:34 +0000 (15:44 +0100)]
configs/nitrogen*: bump u-boot to 2018.07

Changelog summary:
- Various fixes all over
- Updated LPDDR4 timings for i.MX8M
- Support of UUU recovery tool
- Added support for i.MX8MMini, i.MX8MNano

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/connman: add option to enable wireguard support
James Hilliard [Sun, 8 Mar 2020 07:07:41 +0000 (00:07 -0700)]
package/connman: add option to enable wireguard support

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/connman: add missing libmnl dependency for nftables
James Hilliard [Sun, 8 Mar 2020 20:53:01 +0000 (14:53 -0600)]
package/connman: add missing libmnl dependency for nftables

Building with nftables support requires libmnl.

Fixes:
  - http://autobuild.buildroot.org/results/4afdacc0357eb3b86594757dd89623b6e5a5e362/
  - http://autobuild.buildroot.org/results/89e6f92dee4a93185891c48b5d7f7b5b0345b67e/
  - http://autobuild.buildroot.org/results/dd8a68827ca70838c59d82780cb3eadf6b9764c2/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr: add autobuild referecnes]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/busybox: fix target-finalize hook
Carlos Santos [Wed, 25 Mar 2020 00:30:53 +0000 (21:30 -0300)]
package/busybox: fix target-finalize hook

It was searching for CONFIG_ASH=y and CONFIG_HUSH=y at $(@D)/.config,
which does not contain the package build path at the target-finalize
step. Use $(BUSYBOX_DIR), instead.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: run depmod only if modules are enabled
Carlos Santos [Wed, 25 Mar 2020 00:21:54 +0000 (21:21 -0300)]
linux: run depmod only if modules are enabled

If the kernel configuration CONFIG_MODULES disabled, there's no
/lib/modules/<version> directory, causing this:

depmod: ERROR: could not open directory [...]/target/lib/modules/4.19.8: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
Makefile:745: recipe for target 'target-finalize' failed

Fixes:

https://gitlab.com/buildroot.org/buildroot/-/jobs/483712831
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712817
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712814
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712796
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712729
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712727
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712698
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712691
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712660
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712573
https://gitlab.com/buildroot.org/buildroot/-/jobs/483712574

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157a_dk1: fix typo in U-Boot version
Thomas Petazzoni [Wed, 25 Mar 2020 06:27:31 +0000 (07:27 +0100)]
configs/stm32mp157a_dk1: fix typo in U-Boot version

There is no 2020.1 U-Boot version, it is named 2020.01.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: needs MMU
Thomas Petazzoni [Tue, 24 Mar 2020 21:39:49 +0000 (22:39 +0100)]
package/rtty: needs MMU

rtty uses fork(), so add a depends on BR2_USE_MMU

Fixes:

  http://autobuild.buildroot.net/results/ebd483ee87046396db39f966e34f93c3d1123202/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing: add netdata test
Marcin Niestroj [Fri, 20 Mar 2020 15:25:17 +0000 (16:25 +0100)]
support/testing: add netdata test

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/netdata: new package
Marcin Niestroj [Fri, 20 Mar 2020 15:25:16 +0000 (16:25 +0100)]
package/netdata: new package

Always use the --disable-dbengine configuration option, because we do
not support libjudy dependency that is required otherwise.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: remove version 5.5.5
Romain Naour [Sun, 22 Mar 2020 21:15:40 +0000 (22:15 +0100)]
package/gcc: remove version 5.5.5

gcc 9.2 is around, gcc 8.4 is the default version, so drop
5.5 in order to reduce the gcc choice.

GCC 5.5 was disabled for Glibc based toolchain since Glibc
2.30 needs GCC 6.2 or later.

See:
https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-flask: fix runtime python modules dependencies
Peter Seiderer [Sun, 22 Mar 2020 21:39:25 +0000 (22:39 +0100)]
package/python-flask: fix runtime python modules dependencies

- add python setuptools runtime dependency, fixes:
  ModuleNotFoundError: No module named 'pkg_resources'

- add python libxml2 runtime dependency, fixes:
  ModuleNotFoundError: No module named 'xml'

- add python ssl runtime dependency, fixes:
  AttributeError: 'NoneType' object has no attribute 'SSLContext'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-jinja2: fix runtime python modules dependencies
Peter Seiderer [Sun, 22 Mar 2020 21:39:24 +0000 (22:39 +0100)]
package/python-jinja2: fix runtime python modules dependencies

- add python unicodedata runtime dependency, fixes:
  File "usr/lib/python3.8/site-packages/jinja2/lexer.py", line 46, in <module>
  ModuleNotFoundError: No module named 'unicodedata'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sdl2: fix build with directfb
Fabrice Fontaine [Tue, 24 Mar 2020 19:21:21 +0000 (20:21 +0100)]
package/sdl2: fix build with directfb

Fixes:
 - http://autobuild.buildroot.org/results/83ccefee68c2800c0544e6f40fa8bc8ee6b67b77

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/erofs-utils: fix autobuild on arm platform
Gao Xiang [Tue, 24 Mar 2020 15:19:42 +0000 (23:19 +0800)]
package/erofs-utils: fix autobuild on arm platform

Add a patch to avoid uint type, which resolves buildroot
arm autobuild error.
http://autobuild.buildroot.net/results/842a3c6416416d7badf4db9f38e3b231093a786a

Signed-off-by: Gao Xiang <hsiangkao@aol.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tslib: fix build with headers < 4.16
Fabrice Fontaine [Mon, 23 Mar 2020 07:48:28 +0000 (08:48 +0100)]
package/tslib: fix build with headers < 4.16

Commit fedaa28079489b308f77d80a0cac8698d776df23 fixed build with
headers >= 4.16 but as a side effect, build with headers < 4.16 is now
failing so add an upstream patch

Fixes:
 - http://autobuild.buildroot.org/results/594cd1a0d9e6286eca62b575fd1ba2d3a5e01234

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx6ullevk: new defconfig
Fabrice Goucem [Mon, 23 Mar 2020 21:01:22 +0000 (22:01 +0100)]
configs/freescale_imx6ullevk: new defconfig

Add basic support for NXP's i.MX6 ULL EVK board:

https://www.nxp.com/design/development-boards/i.mx-evaluation-and-development-boards/evaluation-kit-for-the-i.mx-6ull-and-6ulz-applications-processor:MCIMX6ULL-EVK

Signed-off-by: Fabrice Goucem <fabrice.goucem@oss.nxp.com>
Signed-off-by: Fabrice Goucem <fabrice.goucem@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-filelock: new package
Jared Bents [Mon, 23 Mar 2020 15:45:39 +0000 (10:45 -0500)]
package/python-filelock: new package

This package contains a single module, which implements
a platform independent file lock in Python, which provides
a simple way of inter-process communication.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pysftp: new package
Jared Bents [Mon, 23 Mar 2020 15:40:09 +0000 (10:40 -0500)]
package/python-pysftp: new package

A simple interface to SFTP. The module offers high level
abstractions and task based routines to handle your SFTP
needs.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mediastreamer: resample needs speex and speexdsp
Fabrice Fontaine [Mon, 23 Mar 2020 18:01:21 +0000 (19:01 +0100)]
package/mediastreamer: resample needs speex and speexdsp

resample needs speex and speexdsp as spotted by Thomas Petazzoni during
review of https://patchwork.ozlabs.org/patch/1252391/

Fixes:
 - http://autobuild.buildroot.org/results/32d06517a5470f71d9b7dc99139f6c3071e7d77d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mediastreamer: portaudio needs speexdsp
Fabrice Fontaine [Mon, 23 Mar 2020 18:01:20 +0000 (19:01 +0100)]
package/mediastreamer: portaudio needs speexdsp

Commit 8f5562ed7c227f29dbfa6897f54dccda0dfbf656 wrongly removed speexdsp
dependency from portaudio

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/evemu: fix build with kernels >= 4.16
Fabrice Fontaine [Tue, 24 Mar 2020 19:12:12 +0000 (20:12 +0100)]
package/evemu: fix build with kernels >= 4.16

Fixes:
 - http://autobuild.buildroot.org/results/487dd5056ec0a977d55b23417d5db2664dcc91fa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{openjdk, openjdk-bin}: bump version to 14+36
Adam Duskett [Tue, 24 Mar 2020 18:34:55 +0000 (11:34 -0700)]
package/{openjdk, openjdk-bin}: bump version to 14+36

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quagga: install quagga to staging
Graham Rhodes [Tue, 24 Mar 2020 17:53:26 +0000 (12:53 -0500)]
package/quagga: install quagga to staging

quagga installs libraries that provide interfaces to manage network routing
that can be used by other applications.

Signed-off-by: Graham Rhodes <graham.rhodes@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx7dsabresd: bump BSP components to 4.19.35_1.1.0
Julien Olivain [Tue, 24 Mar 2020 17:40:15 +0000 (18:40 +0100)]
configs/freescale_imx7dsabresd: bump BSP components to 4.19.35_1.1.0

Also dropped uboot patch accepted upstream in v2018.05 in
commit f916757300c15aa1a3f0ccc98e7abb8a84c97da0

Tested-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Julien Olivain <julien.olivain@oss.nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx8qxpmek: kernel build needs host-openssl
Thomas Petazzoni [Tue, 24 Mar 2020 20:21:48 +0000 (21:21 +0100)]
configs/freescale_imx8qxpmek: kernel build needs host-openssl

With the recent bump of the kernel to 4.19, the kernel configuration
now needs host-openssl to build.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/freescale_imx8qmmek: kernel build needs host-openssl
Thomas Petazzoni [Tue, 24 Mar 2020 20:20:10 +0000 (21:20 +0100)]
configs/freescale_imx8qmmek: kernel build needs host-openssl

With the recent bump of the kernel to 4.19, the kernel configuration
now needs host-openssl to build.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-mediadriver: drop empty line at end of hash file
Thomas Petazzoni [Tue, 24 Mar 2020 15:27:02 +0000 (16:27 +0100)]
package/intel-mediadriver: drop empty line at end of hash file

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/package/test_python_gobject.py: fix flake8 warning
Thomas Petazzoni [Tue, 24 Mar 2020 14:53:35 +0000 (15:53 +0100)]
support/testing/tests/package/test_python_gobject.py: fix flake8 warning

Fixes:

   support/testing/tests/package/test_python_gobject.py:4:1: E302 expected 2 blank lines, found 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/package/test_gst1_python.py: fix flake8 warning
Thomas Petazzoni [Tue, 24 Mar 2020 14:52:52 +0000 (15:52 +0100)]
support/testing/tests/package/test_gst1_python.py: fix flake8 warning

Fixes:

  support/testing/tests/package/test_gst1_python.py:29:1: W391 blank line at end of file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/package/sample_python_gobject.py: fix flake8 warnings
Thomas Petazzoni [Tue, 24 Mar 2020 14:47:25 +0000 (15:47 +0100)]
support/testing/tests/package/sample_python_gobject.py: fix flake8 warnings

Fixes:

  support/testing/tests/package/sample_python_gobject.py:5:1: E302 expected 2 blank lines, found 1
  support/testing/tests/package/sample_python_gobject.py:8:7: E111 indentation is not a multiple of four
  support/testing/tests/package/sample_python_gobject.py:11:1: E305 expected 2 blank lines after class or function definition, found 1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/package/sample_gst1_python.py: fix flake8 warnings
Thomas Petazzoni [Tue, 24 Mar 2020 14:45:42 +0000 (15:45 +0100)]
support/testing/tests/package/sample_gst1_python.py: fix flake8 warnings

Fixes the following flake8 warnings:

  support/testing/tests/package/sample_gst1_python.py:5:1: F401 'time' imported but unused
  support/testing/tests/package/sample_gst1_python.py:7:1: E402 module level import not at top of file
  support/testing/tests/package/sample_gst1_python.py:21:12: W292 no newline at end of file

For the E402 warning, we add a "noqa" marker, as we really want the
gi.require_version() to be before.

There is still one remaining warning to be fixed:

  support/testing/tests/package/sample_gst1_python.py:18:28: F821 undefined name 'on_message'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/testing/tests/init/init_openrc: fix flake8 F401 warning
Thomas Petazzoni [Tue, 24 Mar 2020 14:28:21 +0000 (15:28 +0100)]
support/testing/tests/init/init_openrc: fix flake8 F401 warning

Fixes:

support/testing/tests/init/test_openrc.py:1:1: F401 'infra.basetest' imported but unused

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/pkg-stats: fix flake8 E722 warning
Thomas Petazzoni [Tue, 24 Mar 2020 13:54:35 +0000 (14:54 +0100)]
support/scripts/pkg-stats: fix flake8 E722 warning

flake8 complains with:

  support/scripts/pkg-stats:339:13: E722 do not use bare 'except'

Due to the construct:

  try:
     something
  except:
     print("some message")
     raise

Which is in fact OK because the exception is re-raised. This issue is
discussed at https://github.com/PyCQA/pycodestyle/issues/703, and the
general agreement is that these "bare except" are OK, and should be
ignored from flake8 using a noqa statement.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/pkg-stats: fix flake8 E501 warning
Thomas Petazzoni [Tue, 24 Mar 2020 13:28:05 +0000 (14:28 +0100)]
support/scripts/pkg-stats: fix flake8 E501 warning

Fixes:

support/scripts/pkg-stats:281:133: E501 line too long (139 > 132 characters)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>