buildroot.git
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>
4 years agosupport/scripts/pkg-stats: fix flake8 E117 warning
Thomas Petazzoni [Tue, 24 Mar 2020 13:26:31 +0000 (14:26 +0100)]
support/scripts/pkg-stats: fix flake8 E117 warning

Fixes:

  support/scripts/pkg-stats:146:17: E117 over-indented

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

Fixes:

  support/scripts/pkg-stats:57:1: E302 expected 2 blank lines, found 1

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

flake8 complains with:

pkg-stats:38:1: E402 module level import not at top of file

This is due to sys.path.append() being before the import from
getdeveloperlib, but we really need this sys.path.append() to be
before, so let's ignore this flake8 warning.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libostree: bump to version 2020.3
Marcus Folkesson [Mon, 23 Mar 2020 13:28:09 +0000 (14:28 +0100)]
package/libostree: bump to version 2020.3

Upstream only ever made a dot-relase once, and it is not even available
as a tag, and it is not even listed as a separate release on their
github release page. We can assume that dot-release is not in upstream
habits. Drop the VERSION_MAJOR variable, just use VERSION.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[yann.morin.1998@free.fr:
  - drop VERSION_MAJOR
  - two spaces in hash file
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sdl2: bump version to 2.0.12
Michael Fischer [Mon, 23 Mar 2020 14:41:19 +0000 (15:41 +0100)]
package/sdl2: bump version to 2.0.12

patch 0001: already applied upstream
patch 0002: already applied upstream
Adjust license hash as the copyright year was changed

Signed-off-by: Michael Fischer <mf@go-sys.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/domoticz: fix build with cmake < 3.16
Fabrice Fontaine [Mon, 23 Mar 2020 17:42:21 +0000 (18:42 +0100)]
package/domoticz: fix build with cmake < 3.16

Disable precompiled header because it needs cmake >= 3.16 since version
2020.1 and
https://github.com/domoticz/domoticz/commit/2430e5c85624139dd15a74267d6e50992e394509

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - first assignment to CONF_OPTS, so use '=', not '+='
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libostree: enable introspection
Yann E. MORIN [Sun, 22 Mar 2020 09:28:54 +0000 (10:28 +0100)]
package/libostree: enable introspection

libostree build fails when introspection is enabled:

    ./.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', [...] ]' returned non-zero exit status 1.

This is because the build system for libostree hard-codes CC=gcc when
calling the GOI scanner, which obviously causes build failures when in
cross-compilation.

In d264351cfcca (package/libostree: disable introspection), we just
papered over the problem by forcibly disabling introspection altogether.

Turns out the fix is realatively simple: we can just override the
INTROSPECTION_SCANNER_ENV variable when calling make, which will revert
to the behaviour we expect: to use the cross-compiler in the GOI scanner
wrapper.

Thanks to Adam for pointing out at INTROSPECTION_SCANNER_ENV in the
first place. :-)

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-mediasdk: bump version to 19.4.0
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:24 +0000 (15:28 +0100)]
package/intel-mediasdk: bump version to 19.4.0

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-mediadriver: bump version to 19.4.0r
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:23 +0000 (15:28 +0100)]
package/intel-mediadriver: bump version to 19.4.0r

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-gmmlib: bump version to 19.4.1
Louis-Paul CORDIER [Fri, 14 Feb 2020 14:28:22 +0000 (15:28 +0100)]
package/intel-gmmlib: bump version to 19.4.1

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pigz: add host package support
Louis-Paul Cordier [Tue, 10 Mar 2020 09:58:16 +0000 (10:58 +0100)]
package/pigz: add host package support

Signed-off-by: Louis-Paul Cordier <lpdev@cordier.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-meson.mk: add FOO_MESON_EXTRA_PROPERTIES
John Keeping [Wed, 11 Mar 2020 11:22:55 +0000 (11:22 +0000)]
package/pkg-meson.mk: add FOO_MESON_EXTRA_PROPERTIES

With autoconf packages, we often specify ac_cv_func_... cached values to
avoid runtime checks during configure.  With meson the equivalent is
setting properties in cross-compilation.conf which we cannot do in
Buildroot at the moment.

For example, libglib2 used to set ac_cv_func_printf_unix98 and
ac_cv_func_vsnprintf_c99 so that the system printf could be used, but
with the conversion to meson these checks fail and the gnulib fallback
is used.

Add infrastructure in the same way as FOO_MESON_EXTRA_BINARIES to allow
per-package modification to the cross-compilation properties.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
[yann.morin.1998@free.fr: do a single substitution as in a1e3c7b693]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libevdev: fix static compile
Peter Seiderer [Tue, 10 Mar 2020 08:45:40 +0000 (09:45 +0100)]
package/libevdev: fix static compile

Add patch to enable meson static library build (use meson
library() instead of shared_library()).

Fixes:

  - http://autobuild.buildroot.net/results/b920ef5a250e7d23223352367ded50bf32bb5688

  .../host/bin/arm-linux-gcc  -o libevdev.so.2.3.0 'evdev@sha/libevdev_libevdev-uinput.c.o' 'evdev@sha/libevdev_libevdev.c.o' 'evdev@sha/libevdev_libevdev-names.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libevdev.so.2 -Wl,--end-group -Wl,-elf2flt -static -Wl,--version-script,.../build/libevdev-1.9.0/libevdev/libevdev.sym
  ld (ld-elf2flt): -shared used without passing a shared library ID

  - http://autobuild.buildroot.net/results/dc52a705c7490b722380af7b00ff7c6e172450cf

  .../host/bin/x86_64-linux-gcc  -o libevdev.so.2.3.0 'evdev@sha/libevdev_libevdev-uinput.c.o' 'evdev@sha/libevdev_libevdev.c.o' 'evdev@sha/libevdev_libevdev-names.c.o' -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libevdev.so.2 -Wl,--end-group -static -Wl,--version-script,.../build/libevdev-1.9.0/libevdev/libevdev.sym
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/crtbeginT.o: relocation R_X86_64_32 against hidden symbol `__TMC_END__' can not be used when making a shared object
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/crtend.o: relocation R_X86_64_32 against `.ctors' can not be used when making a shared object; recompile with -fPIC
  .../host/opt/ext-toolchain/bin/../lib/gcc/x86_64-buildroot-linux-uclibc/8.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: final link failed: nonrepresentable section on output

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: fix aarch64 uclibc-ng compile
Peter Seiderer [Mon, 9 Mar 2020 14:50:38 +0000 (15:50 +0100)]
package/php: fix aarch64 uclibc-ng compile

The aarch64 compile uses the sys/auxv.h header which is not
provided by ulcibc-ng. Add configure.ac patch to check for
the header before using it in ext/standard/crc32.c.

Fixes:

  https://bugs.busybox.net/show_bug.cgi?id=12626

  build/php-7.4.3/ext/standard/crc32.c:26:12: schwerwiegender Fehler: sys/auxv.h: Datei oder Verzeichnis nicht gefunden

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: rename Realtek rtw88 option
Yann E. MORIN [Sun, 22 Mar 2020 21:24:42 +0000 (22:24 +0100)]
package/linux-firmware: rename Realtek rtw88 option

The newly introduced option does not follow the naming scheme of other
Realtek firmwares, in part because the model is not named rtl-something,
but rtw-something.

Rename the option to match the VENDOR_DEVICE scheme. We do not add a
legacy entry for this: we've had no release and it was pushed minutes
ago...

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: remove stray or1k-musl-5.4.0-20170218 patches
Romain Naour [Sun, 22 Mar 2020 21:15:39 +0000 (22:15 +0100)]
package/gcc: remove stray or1k-musl-5.4.0-20170218 patches

gcc or1k-musl-5.4.0-20170218 was removed in commit
f424b8afa22f767dc46cde915efc9a01c86f12c8 but the patch directory was
forgotten.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: Add an option for Realtek rtw88 firmwares
Clément Péron [Sun, 22 Mar 2020 18:14:16 +0000 (19:14 +0100)]
package/linux-firmware: Add an option for Realtek rtw88 firmwares

Linux-firmware repo have dedicated firmware images supported
by Realtek's wireless driver rtw88.

Add an option to install them.

Signed-off-by: Clément Péron <peron.clem@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: fix musl related compile failures
Peter Seiderer [Sun, 22 Mar 2020 12:15:20 +0000 (13:15 +0100)]
package/mesa3d: fix musl related compile failures

Fixes:

  http://autobuild.buildroot.net/results/1881daae69992e30a9c1fff1f639d57f82e6ee19

  ../src/gallium/drivers/vc4/vc4_bufmgr.c:110:57: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t' {aka 'long long int'} [-Werror=format=]

  ../src/gallium/drivers/panfrost/pan_bo.h:93:9: error: unknown type name ‘time_t’

  ../src/gallium/drivers/v3d/v3d_bufmgr.c:83:57: error: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘time_t’ {aka ‘long long int’} [-Werror=format=]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/domoticz: bump to version 2020.1
Fabrice Fontaine [Sun, 22 Mar 2020 16:21:23 +0000 (17:21 +0100)]
package/domoticz: bump to version 2020.1

- Remove first patch (not needed anymore)
- Update second patch
- Remove third to fifth patches (already in version)
- Add a mandatory jsoncpp dependency instead of using builtin jsoncpp:
  https://github.com/domoticz/domoticz/commit/301fcfbd80e254282bbb4664c53f5f70467ae827
- 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/avahi: fix build without C++
Fabrice Fontaine [Tue, 10 Mar 2020 20:13:05 +0000 (21:13 +0100)]
package/avahi: fix build without C++

Commit 02bd5eb59ff113203ea60ffee68bfdbacc4c9245 wrongly removed
avahi_cv_sys_cxx_works=yes as a result, build fails without C++

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rcw : bump to LSDK-19.09
Laurent Hartanerot [Sun, 22 Mar 2020 16:24:44 +0000 (17:24 +0100)]
package/rcw : bump to LSDK-19.09

The new rcw.py script is python3-only, but we can use either the
system-provided python3, or the one we build with host-python3 if
the system does not have it already.

It turns out, also, that rcw.py is using #!/usr/bin/env python3,
so it will easily find it from $PATH, so we export it in the
environment.

Signed-off-by: Laurent Hartanerot <laurent.hartanerot@atos.net>
[yann.morin.1998@free.fr:
  - set the proper PATH in the envioronment
  - do not explicitly call python3, defer to /usr/bin/env in the script
  - add an accompagnying comment
  - rewrite commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bearssl: needs -fPIC
Fabrice Fontaine [Tue, 10 Mar 2020 19:45:46 +0000 (20:45 +0100)]
package/bearssl: needs -fPIC

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: add optional SSL support
Thomas Petazzoni [Sun, 22 Mar 2020 20:42:49 +0000 (21:42 +0100)]
package/rtty: add optional SSL support

This commit adds optional dependencies on mbedtls, openssl or wolfssl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: new package
Jianhui Zhao [Tue, 10 Mar 2020 15:06:06 +0000 (23:06 +0800)]
package/rtty: new package

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
[Thomas:
 - add entry in DEVELOPERS file
 - add -DRTTY_SSL_SUPPORT=OFF to explicitly disable SSL support
 - fix license file name in the hash file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/busybox: fix build with glibc 2.31
Carlos Santos [Sun, 22 Mar 2020 17:13:01 +0000 (14:13 -0300)]
package/busybox: fix build with glibc 2.31

Busybox 1.31.1 fails to build with glibc 2.31 due to the removal of
stime() from glibc. Pull a patch already applied upstream to fix the
problem.

The patch was rebased on version 1.31.1 to minimize the change, since
the original one depended on a previous commit which is not worthwhile
to pick.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN. <yann.morin.1998@free.fr>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/busybox: fix build with musl 1.2.0
Carlos Santos [Sun, 22 Mar 2020 17:13:00 +0000 (14:13 -0300)]
package/busybox: fix build with musl 1.2.0

Busybox 1.31.1 fails to build with musl 1.2.0 due to the direct use of
__NR_clock_gettime. Pull four patches already applied upstream to fix
the problem.

The patches were rebased to version 1.31.1 to minimize the change, since
the original ones depended on a previous commit which is not worthwhile
to pick.

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

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN. <yann.morin.1998@free.fr>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/collectd: keep postgresql_default.conf when needed
Pascal de Bruijn [Wed, 11 Mar 2020 14:13:11 +0000 (15:13 +0100)]
package/collectd: keep postgresql_default.conf when needed

$(TARGET_DIR)/usr/share/collectd/postgresql_default.conf
should not be removed when postgresql support is enabled,
as that module tries to load that file by default.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/collectd: make network crypto support discoverable
Pascal de Bruijn [Wed, 11 Mar 2020 13:35:04 +0000 (14:35 +0100)]
package/collectd: make network crypto support discoverable

before it was completely non-obvious how to get crypto support
in collectd's network module

this introduces a collectd config option which makes sure
gcrypt is built, and can't be accidentally unselected
resulting in an accidental non-crypto build of collectd

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tslib: fix build with headers >= 4.16
Fabrice Fontaine [Wed, 11 Mar 2020 20:17:49 +0000 (21:17 +0100)]
package/tslib: fix build with headers >= 4.16

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: mention openssl crypto backend in description
Baruch Siach [Sun, 22 Mar 2020 14:39:33 +0000 (16:39 +0200)]
package/uacme: mention openssl crypto backend in description

uacme supports OpenSSL as crypto backend since version 1.0.8.

Cc: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>