buildroot.git
4 years agopackages/pkg-download.mk: fix file locking over NFS
Maxim Cournoyer [Thu, 4 Jun 2020 20:14:26 +0000 (16:14 -0400)]
packages/pkg-download.mk: fix file locking over NFS

BSD style locks such as implemented by flock are translated to POSIX
advisory file locks (implemented by the fcntl system call on Linux).  It
is not possible to lock a directory using POSIX advisory file locks.
Hence, the lock strategy used by Buildroot doesn't work when used over
NFS.

Using flock on a simple file works correctly though, so use a '.lock'
file inside the download directory instead. If the lockfile does not
exist, flock will create it (in a race-free fashion).

Tested using NFS v4.2 and Linux 5.4.43.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@savoirfairelinux.com>
[yann.morin.1998@free.fr:
  - slightly expand commit log about creation of the lockfile
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sdl2: remove sdl2-config.cmake
Romain Naour [Tue, 5 May 2020 18:43:02 +0000 (20:43 +0200)]
package/sdl2: remove sdl2-config.cmake

We are using autotools build system for sdl2, so the sdl2-config.cmake
include path are not resolved like for sdl2-config script [1].
Remove sdl2-config.cmake file and avoid unsafe include path if this
file is used by a cmake based package.

This trigger an issue with ogre 1.12.6 package that replaced
FindSDL2.cmake by sdl2-config.cmake [2].

Thanks to Pavel Rojtberg for the help [3].

[1] https://bugzilla.libsdl.org/show_bug.cgi?id=4597
[2] https://github.com/OGRECave/ogre/commit/6de6f9b4081a07c911932441700c54b72ec1ee1f
[3] https://github.com/OGRECave/ogre/issues/1568

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: bear the kernel options munging
Adam Duskett [Thu, 7 May 2020 23:14:53 +0000 (16:14 -0700)]
package/nftables: bear the kernel options munging

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: add support to download from a custom git tree
Jan Kiszka [Tue, 14 Jan 2020 20:55:21 +0000 (21:55 +0100)]
package/xenomai: add support to download from a custom git tree

Soem versions are tagged, but not tarballed, so we need to be able to
retrieve them from git.

Usually, we do not have a default value for the repository, but unlike
for the kernel or the various bootloaders, the most prominent repository
for Xeniomai is upstream's official one (for the reason above, amongst
others), so we use that as a default.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: add support to download a custom tarball
Yann E. MORIN [Tue, 14 Jan 2020 20:55:20 +0000 (21:55 +0100)]
package/xenomai: add support to download a custom tarball

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xenomai: move the version setting to Kconfig
Yann E. MORIN [Tue, 14 Jan 2020 20:55:19 +0000 (21:55 +0100)]
package/xenomai: move the version setting to Kconfig

The xenomai version is decided in Kconfig, but the default value is
set in the .mk. This is unlike the other packages that have a version
choice (like linux, uboot...).

Move the value into Config.in.

This paves the way to using other custom sources, like from a git tree.

Note however that any existing configuration will need to be adapted to
the new settings. Adding legacy handling is non-trivial, so manual
intervention will be required.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/qemu_*: bump kernel version to 5.4.42
Romain Naour [Thu, 21 May 2020 20:45:14 +0000 (22:45 +0200)]
configs/qemu_*: bump kernel version to 5.4.42

In order to allow testing gcc 10 using those defconfig, bump to kernel 5.4.42
since it include some patches fixing some issue introduced by gcc 10.

For example:
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=10cfaa7456d70696a89d423ce1cb0fd22967773a
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8f6a84167e8618333d84ea4143812e3e74ced7da

All defconfig using a specific kernel version (csky, risc32) are not
taken into account.

Build and runtime tested: https://gitlab.com/kubu93/buildroot/pipelines/148390943

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33
Romain Naour [Mon, 30 Dec 2019 13:36:40 +0000 (14:36 +0100)]
board/qemu/sh4-r2d: fix sh4 kernel bug with binutils 2.33

Remove the binutils patch reverting [1] that triggers a sh4 kernel bug
with binutils >= 2.33. Instead, add two kernel patches provided by
Alan Modra [2] that fix alignment of rodata.

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ebd2263ba9a9124d93bbc0ece63d7e0fae89b40e
[2] https://www.sourceware.org/ml/binutils/2019-12/msg00112.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on microblaze
Giulio Benetti [Wed, 24 Jun 2020 16:06:40 +0000 (18:06 +0200)]
package/libnss: fix build failure on microblaze

By mistake seed.o has been added to public library too, but this way its
dependencies are not taken into account(stubs.o), this way build fails
complaining on missing functions from stubs.o file. Let's fix it by
adding upstream patch:
https://hg.mozilla.org/projects/nss/rev/f46fca8ced7fca6aa6de60e3170b2a3b6b2df565

Fixes:
http://autobuild.buildroot.net/results/4cb/4cbf4c35549a3bfba06222ba509d0263f23a3a2e/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gcc: switch to gcc 9.x as the default
Romain Naour [Mon, 8 Jun 2020 22:13:47 +0000 (00:13 +0200)]
package/gcc: switch to gcc 9.x as the default

Even if gcc 8 is still maintained for some time (gcc 8.5 is pending),
switch to gcc 9.x since it has been released since 2019-05-03 and
gcc 10.x is available since 2020-05-07.

We have been having toolchains in the autobuilders with gcc
9.x for a while, so the vast majority of the problems should have
already been solved.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-external/toolchain-external-custom: add gcc 10 version selection
Romain Naour [Mon, 8 Jun 2020 22:13:46 +0000 (00:13 +0200)]
toolchain/toolchain-external/toolchain-external-custom: add gcc 10 version selection

This patch allows to use custom external toolchains based on gcc 10.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoarch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10
Romain Naour [Mon, 8 Jun 2020 22:13:45 +0000 (00:13 +0200)]
arch/Config.in: add BR2_ARCH_NEEDS_GCC_AT_LEAST_10

This new symbol will be used by architectures introduced with gcc 10.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gcc: add support for gcc 10
Romain Naour [Mon, 8 Jun 2020 22:13:44 +0000 (00:13 +0200)]
package/gcc: add support for gcc 10

Keep the same patch as for gcc 9.x fixing a parallel build issue:
58ecbbc3ef18c43ae1c02a5c4bf30aa7ef2d8092.

Keep libzstd support disabled for now, it could be used in the future
for LTO bytecode compression.

https://gcc.gnu.org/gcc-10/changes.html
https://gcc.gnu.org/gcc-10/porting_to.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 blind option
Romain Naour [Mon, 8 Jun 2020 22:13:43 +0000 (00:13 +0200)]
toolchain/Config.in: add BR2_TOOLCHAIN_GCC_AT_LEAST_10 blind option

In order to add gcc 10 support for internal and external toolchain in
follow-up commits, introduce BR2_TOOLCHAIN_GCC_AT_LEAST_10 symbol.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gqrx: fix build with boost 1.73.0
Gwenhael Goavec-Merou [Wed, 24 Jun 2020 05:46:09 +0000 (07:46 +0200)]
package/gqrx: fix build with boost 1.73.0

With boost >= 1.73, placeholders must be qualified by using the full namespace.

Without the namespace, the build fails with:
gqrx-2.12.1/src/dsp/rds/parser_impl.cc: In constructor 'gr::rds::parser_impl::parser_impl(bool, bool)':
gqrx-2.12.1/src/dsp/rds/parser_impl.cc:42:72: error: '_1' was not declared in this scope
set_msg_handler(pmt::mp("in"), boost::bind(&parser_impl::parse, this, _1));

backport Pull Request https://github.com/csete/gqrx/pull/811

fix:
- http://autobuild.buildroot.net/results/73c490ba361dd6040720442bcbf332f1c3cc4882/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/json-c: bump version to 0.14
Christopher Pelloux [Sat, 6 Jun 2020 21:47:38 +0000 (21:47 +0000)]
package/json-c: bump version to 0.14

Notes:

- json-c now uses cmake instead of autoconf
- This version also brings support to the much welcomed feature for
  parsing uint64_t types

Signed-off-by: Christopher Pelloux <git@chp.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wpebackend-fdo: bump to version 1.6.1
Adrian Perez de Castro [Mon, 8 Jun 2020 09:04:42 +0000 (12:04 +0300)]
package/wpebackend-fdo: bump to version 1.6.1

This update brings in a few build fixes only. In particular the
one for EGL implementations which use oddball definitions of the
EGLNativeDisplayType type might be needed for some configurations.

Full release notes:

  https://wpewebkit.org/release/wpebackend-fdo-1.6.1.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/opensbi: bump to version 0.8
Mark Corbin [Wed, 24 Jun 2020 13:15:10 +0000 (14:15 +0100)]
boot/opensbi: bump to version 0.8

The OpenSBI platform 'qemu/virt' has been removed in v0.8. Builds for
the QEMU 'virt' machine can use the 'generic' platform instead.

Tested with qemu_riscv32_virt_defconfig and
qemu_riscv64_virt_defconfig using Buildroot host-qemu 5.0.0.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libcurl: security bump to version 7.71.0
Baruch Siach [Wed, 24 Jun 2020 18:09:20 +0000 (21:09 +0300)]
package/libcurl: security bump to version 7.71.0

CVE-2020-8177: curl overwrite local file with -J.

CVE-2020-8169: Partial password leak over DNS on HTTP redirect.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libnids: disable libnet only if not available
Guillaume W. Bres [Wed, 24 Jun 2020 12:17:42 +0000 (14:17 +0200)]
package/libnids: disable libnet only if not available

libnids can be built against an existing libnet lib,
take advantage of that.

Unfortunately, pkg-config is not available for libnet,
so configure --with-libnet is our only option at the
moment.

--with-libnet expects a build directory,
not an installation path like in our context.
We use --with-libnet=yes to skip tests that would fail.
In this situation, 'LIBNET' goes undefined, so we
need to define it ourselves.
This works because we make sure -lnet is installed
prior anything related to libnids.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr: slightly compact the code]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireguard-linux-compat: bump version to 1.0.20200623
Peter Korsgaard [Wed, 24 Jun 2020 06:41:44 +0000 (08:41 +0200)]
package/wireguard-linux-compat: bump version to 1.0.20200623

Includes a number of bugfixes and updates to build against newer stable
kernels.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireguard-tools: bump version to 1.0.20200513
Peter Korsgaard [Wed, 24 Jun 2020 05:55:24 +0000 (07:55 +0200)]
package/wireguard-tools: bump version to 1.0.20200513

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopru-software-support: bump to latest version 5.7.0
Ash Charles [Tue, 23 Jun 2020 00:25:15 +0000 (20:25 -0400)]
pru-software-support: bump to latest version 5.7.0

Update to the latest version of the PRU software support [1].

There are minor changes to the license file mostly dates and versions --
notably pulling in several Linux kernel 5.4 header files in place of the
4.19 versions.  As there is no longer a dependency on the kernel types.h
  header, there's no longer a GPL-2.0 licensed component.

Also drop the useless comment that just repeats the URL.

[1] https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package

Signed-off-by: Ash Charles <ashcharles@gmail.com>
[yann.morin.1998@free.fr: drop the URL-as-comment]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nginx: fix typo in stream split clients
Fabrice Fontaine [Tue, 23 Jun 2020 21:27:26 +0000 (23:27 +0200)]
package/nginx: fix typo in stream split clients

Commit 3e6b35900f4f4aed4fd11e0187a36a7f374271aa forgot to add a 's' to
ngx_stream_split_client_module

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/upmpdcli: bump to version 1.4.12
Fabrice Fontaine [Tue, 23 Jun 2020 20:31:26 +0000 (22:31 +0200)]
package/upmpdcli: bump to version 1.4.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libupnpp: bump to version 0.19.2
Fabrice Fontaine [Tue, 23 Jun 2020 20:31:25 +0000 (22:31 +0200)]
package/libupnpp: bump to version 0.19.2

Starting from this version libupnp has been replaced with libnpupnp

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libnpupnp: new package
Fabrice Fontaine [Tue, 23 Jun 2020 20:31:24 +0000 (22:31 +0200)]
package/libnpupnp: new package

npupnp (new pupnp or not pupnp ?) is an UPnP library derived from the
venerable pupnp (https://github.com/pupnp/pupnp), based on its 1.6.x
branch (around 1.6.25).

https://www.lesbonscomptes.com/upmpdcli/libnpupnp.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nginx: add stream split clients option
Fabrice Fontaine [Tue, 23 Jun 2020 20:35:26 +0000 (22:35 +0200)]
package/nginx: add stream split clients option

stream split clients module has been added in version 1.11.3 with
https://github.com/nginx/nginx/commit/6c2b086d0e10cab769f9321998dcb631796ec49b
and is enabled by default, add an option to be able to disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/irrlicht: add patch to fix libraries linking
Bartosz Bilas [Tue, 23 Jun 2020 18:20:08 +0000 (20:20 +0200)]
package/irrlicht: add patch to fix libraries linking

This patch fix the irrlicht makefile which contains the paths
that point to the host system libraries that are not used and
are not available in Buildroot what's unsafe for cross-compilation.
In addition it fixes linking to the X11 libraries and the following errors:

/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `XSetSelectionOwner'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `glXGetProcAddress'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `glXMakeCurrent'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `XF86VidModeSetViewPort'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `XF86VidModeSwitchToMode'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `glClearDepth'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `XGetVisualInfo'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `XGrabKeyboard'
/home/bartekk/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-gnueabihf/9.2.0/../../../../arm-buildroot-linux-gnueabihf/bin/ld: /home/bartekk/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/libIrrlicht.so: undefined reference to `glMatrixMode'

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gdb: fix gdb python support with python 3.8
Romain Naour [Tue, 23 Jun 2020 13:16:49 +0000 (15:16 +0200)]
package/gdb: fix gdb python support with python 3.8

CPython 3.8 has added a new Syntax Warning that print
a waring at runtime while unsing gdb python support.

$ gdb -ex "python import os"
/usr/share/gdb/python/gdb/command/prompt.py:48: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':
/usr/share/gdb/python/gdb/command/prompt.py:60: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.value is not '':

Backport an upstream patch for this:
https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=b6484282f85bf7f11451b2441599c241d302ad9d

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libnids: use libglib2 is available
Guillaume W. Bres [Tue, 23 Jun 2020 18:35:49 +0000 (20:35 +0200)]
package/libnids: use libglib2 is available

libnids can make use of libglib2 for multi-threading support, so use
that when available.

The configure.in script is flawed: passing either --enable-libglib or
--disabel-libglib will both disable support for libglib. Only when
neither is passed will the autodetection test be executed, at which
point (hopefully) libglib2 will be enabled if found.

So, unlike our usual practice, we can;t explcitly enable it; we can only
explicitly disable it, and rely on autodetection to enable it.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[yann.morin.1998@free.fr:
  - add missing dependency on libglib2
  - expand commit log to explain why we don't --enable-libglib
  - add a simmilar blurb in the .mk
  - fix condition, use positive logic since we have an else-clause
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: fix build on uclibc
Fabrice Fontaine [Tue, 23 Jun 2020 16:18:35 +0000 (18:18 +0200)]
package/dropbear: fix build on uclibc

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libxmlrpc: bump to version 1.51.06
Fabrice Fontaine [Tue, 23 Jun 2020 16:31:43 +0000 (18:31 +0200)]
package/libxmlrpc: bump to version 1.51.06

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libxmlrpc: fix check-package warnings
Yann E. MORIN [Mon, 22 Jun 2020 20:51:08 +0000 (22:51 +0200)]
package/libxmlrpc: fix check-package warnings

Assignment in conditional blocks must use append-assignment.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apitrace: fix microblaze build failure
Giulio Benetti [Wed, 10 Jun 2020 16:16:01 +0000 (18:16 +0200)]
package/apitrace: fix microblaze build failure

Apitrace is affected by Gcc Bug 68485 that has already been worked
around, but after version bumping, CMakeLists.txt adds -O2 to
CMAKE_C_FLAGS_RELWITHDEBINFO that is in order appended to
CMAKE_C_FLAGS, making -O0 end appending to fail. To prevent this we
need to avoid CMAKE_C_FLAGS_RELWITHDEBINFO to be appended to
CMAKE_C_FLAGS, so let's do the same as flare-engine package that set
CMAKE_BUILD_TYPE to a fake build type called "buildroot", this way -O2
won't be appended after -O0 and work around restart to work as
expected.

Fixes:
http://autobuild.buildroot.net/results/2e3/2e31abd7b115d4c29117ca82007fd4f87f853ff7/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/firmware-imx: bump version to 8.6
Sébastien Szymanski [Mon, 15 Jun 2020 13:06:33 +0000 (15:06 +0200)]
package/freescale-imx/firmware-imx: bump version to 8.6

This package needed to be updated to be aligned with NXP BSP
5.4.3_1.0.0. It only updates the i.MX8 VPU firmware files.

The license files have changed due to:
- update to LA_OPT_NXP_Software_License v10 December 2019
- addition of Crank, EmSA and TARA Systems restrictions

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas: extend commit log according to details provided by Gary
Bisson]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ccache: bump to version 3.7.10
Asaf Kahlon [Mon, 22 Jun 2020 19:54:56 +0000 (22:54 +0300)]
package/ccache: bump to version 3.7.10

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: add stream geoip support
Fabrice Fontaine [Mon, 22 Jun 2020 19:31:14 +0000 (21:31 +0200)]
package/nginx: add stream geoip support

stream geoip module has been added in version 1.11.3 with
https://github.com/nginx/nginx/commit/4cf0e2848372b7566f49a9cb4b8dcf9dbad43597

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: add stream geo option
Fabrice Fontaine [Mon, 22 Jun 2020 19:31:13 +0000 (21:31 +0200)]
package/nginx: add stream geo option

stream geo module has been added in version 1.11.3 with
https://github.com/nginx/nginx/commit/bb790f5d30025b634673fcb9939ded5b0c60301f
and is enabled by default, add an option to be able to disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: add stream return option
Fabrice Fontaine [Mon, 22 Jun 2020 19:31:12 +0000 (21:31 +0200)]
package/nginx: add stream return option

stream return module has been added in version 1.11.2 with
https://github.com/nginx/nginx/commit/a7c6f8c1d7cb817bf84b639ee0933f9ffed05275
and is enabled by default, add an option to be able to disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: add stream map option
Fabrice Fontaine [Mon, 22 Jun 2020 19:31:11 +0000 (21:31 +0200)]
package/nginx: add stream map option

stream map module has been added in version 1.11.3 with
https://github.com/nginx/nginx/commit/05db6ddfa1ca120c1c348cc750acded2a01b090a
and is enabled by default, add an option to be able to disable it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gptfdisk: fix build with ncurses
Fabrice Fontaine [Mon, 22 Jun 2020 19:28:28 +0000 (21:28 +0200)]
package/gptfdisk: fix build with ncurses

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-wrapper.c: extend the list of unsafe paths
Yann E. MORIN [Sun, 21 Jun 2020 20:31:58 +0000 (22:31 +0200)]
toolchain/toolchain-wrapper.c: extend the list of unsafe paths

On some legacy systems, the X11 headers and libs are in /usr/X11R66/include
and /usr/X11R66/lib, and of course, some packages are trying to be smart
and use those paths (even when they do not exist).

Add those to the list of unsafe paths to check in the toolchain wrapper.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnids: new package
Guillaume W. Bres [Mon, 22 Jun 2020 10:53:59 +0000 (12:53 +0200)]
package/libnids: new package

Libnids is a C based networking library, part of networking intrusion
detection tools.  It can watch network traffic & provide informations.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
[Thomas:
 - only needs libpcap as a mandatory dependency
 - add patch to fix libpcap detection
 - pass install_root= at installation time
 - drop glibc dependency, it builds fine with uclibc]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dash: drop patch
Fabrice Fontaine [Mon, 22 Jun 2020 18:52:06 +0000 (20:52 +0200)]
package/dash: drop patch

Patch is not needed since version 0.5.11 and
https://git.kernel.org/pub/scm/utils/dash/dash.git/commit/?id=9000b48966335b0b3d7a3ec1ec8c15b045d59e9d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fuse-overlayfs: fix build with musl
Asaf Kahlon [Mon, 22 Jun 2020 17:59:55 +0000 (20:59 +0300)]
package/fuse-overlayfs: fix build with musl

Fixes:
http://autobuild.buildroot.net/results/57d/57d6f6bcbf3c0f8761c924f8a69c71dee05dd6c3//

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/haveged: bump to version 1.9.12
Pierre-Jean Texier [Mon, 22 Jun 2020 17:55:13 +0000 (19:55 +0200)]
package/haveged: bump to version 1.9.12

This includes the following changes:

9adede5 Bumped version to 1.9.12
7487642 Merge pull request #40 from PrinterFranklin/fix_memory_leak
cbef34b fix a memory leak in havege_destroy
02674ae Updated ChangeLog
1ce2092 Update README.md
b77e7db Create README.md
f5bd6fa Updated version to v1.9.11
68b1d84 Merge branch 'master' of https://github.com/jirka-h/haveged
fb12bb3 updated fedora.spec
b162c91 Merge pull request #35 from eworm-de/private-tmp
b839803 Merge pull request #34 from Chocobo1/gh_action
4a0a008 Replace @SBIN_DIR@ in haveged.service file with actual path
c216a6f Moved haveged.spec to fedora.spec
2098470 fix ordering cycle with private tmp
7cd68e1 Add GitHub Actions continuous integration script
ebe97f0 Fixed time format

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nginx: add support for slice module
Fabrice Fontaine [Sun, 21 Jun 2020 21:42:27 +0000 (23:42 +0200)]
package/nginx: add support for slice module

slice module is available since version 1.9.8 and
https://github.com/nginx/nginx/commit/8ba626ccd71cbd704c7c69928d1d6fe58fd0445f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-screensaver-matrixtrails: bump version to 2.2.3
Bernd Kuhls [Sun, 21 Jun 2020 14:51:30 +0000 (16:51 +0200)]
package/kodi-screensaver-matrixtrails: bump version to 2.2.3

Removed patch which was applied upstream.

Updated license hash due to copyright year update:
https://github.com/xbmc/screensaver.matrixtrails/commit/c2fdf919cfa04de45ad213da7645ea435547266d

Removed "v" from _SITE due to changes to github release names.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dropbear: bump to version 2020.79
Francois Perrad [Mon, 22 Jun 2020 07:39:33 +0000 (09:39 +0200)]
package/dropbear: bump to version 2020.79

CBC ciphers, 3DES and hmac-sha1-96 are now disabled by default.

LICENSE: curve25519-donna under BSD-3c was replaced by curve25519.c under
Public domain

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/libxmlrpc: add openssl optional dependency
Fabrice Fontaine [Mon, 22 Jun 2020 05:47:08 +0000 (07:47 +0200)]
package/libxmlrpc: add openssl optional dependency

Without this patch, openssl_abyss is enabled if openssl is built before
libxmlrpc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolegacy: drop options removed more than 5 years ago now
Yann E. MORIN [Sun, 21 Jun 2020 12:03:52 +0000 (14:03 +0200)]
legacy: drop options removed more than 5 years ago now

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/dav1d: bump version to 0.7.1
Bernd Kuhls [Sun, 21 Jun 2020 21:31:42 +0000 (23:31 +0200)]
package/dav1d: bump version to 0.7.1

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gnutls: security bump to 3.6.14
Stefan Sørensen [Thu, 11 Jun 2020 05:31:51 +0000 (07:31 +0200)]
package/gnutls: security bump to 3.6.14

Fixes the following security issue:

 * CVE-2020-13777: It was found that GnuTLS 3.6.4 introduced a
   regression in the TLS protocol implementation. This caused the TLS
   server to not securely construct a session ticket encryption key
   considering the application supplied secret, allowing a MitM
   attacker to bypass authentication in TLS 1.3 and recover previous
   conversations in TLS 1.2

Release announcement:
 https://lists.gnupg.org/pipermail/gnutls-help/2020-June/004648.html

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gptfdisk: bump to version 1.0.5
Fabrice Fontaine [Sun, 21 Jun 2020 21:20:38 +0000 (23:20 +0200)]
package/gptfdisk: bump to version 1.0.5

- Drop patch (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/beaglebone_qt5_defconfig: bump U-Boot to 2020.04
Heiko Thiery [Sun, 21 Jun 2020 14:14:54 +0000 (16:14 +0200)]
configs/beaglebone_qt5_defconfig: bump U-Boot to 2020.04

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/beaglebone_defconfig: bump U-Boot to 2020.04
Heiko Thiery [Sun, 21 Jun 2020 14:14:52 +0000 (16:14 +0200)]
configs/beaglebone_defconfig: bump U-Boot to 2020.04

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dash: bump to version 0.5.11
Fabrice Fontaine [Sun, 21 Jun 2020 19:54:14 +0000 (21:54 +0200)]
package/dash: bump to version 0.5.11

Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/keepalived: bump to version 2.1.2
Fabrice Fontaine [Sun, 21 Jun 2020 19:14:11 +0000 (21:14 +0200)]
package/keepalived: bump to version 2.1.2

- Drop patch (already in version) and so autoreconf
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropwatch: bump to version 1.5.3
Fabrice Fontaine [Sun, 21 Jun 2020 19:03:05 +0000 (21:03 +0200)]
package/dropwatch: bump to version 1.5.3

- Drop patch (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cryptsetup: bump to version 2.3.3
Fabrice Fontaine [Sun, 21 Jun 2020 18:56:24 +0000 (20:56 +0200)]
package/cryptsetup: bump to version 2.3.3

- Update indentation in hash file (two spaces)
- Send patch upstream

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nginx: add http geoip support
Fabrice Fontaine [Sun, 21 Jun 2020 17:12:22 +0000 (19:12 +0200)]
package/nginx: add http geoip support

http geoip module is available since version 0.8.6 and
https://github.com/nginx/nginx/commit/bc10147b9f36f1a61b96ceec016bf4d4d12e128f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gpsd: drop patch
Fabrice Fontaine [Sun, 21 Jun 2020 20:41:32 +0000 (22:41 +0200)]
package/gpsd: drop patch

This patch is not needed since version 3.19 and
https://gitlab.com/gpsd/gpsd/-/commit/e3ec42e08a08af377499551d0528fc6ddf74cc12

So drop this patch and set CCFLAGS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: s/GPS_CFLAGS/GPSD_CFLAGS/ ]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/udpcast: bump to version 20200328
Fabrice Fontaine [Sun, 21 Jun 2020 19:41:36 +0000 (21:41 +0200)]
package/udpcast: bump to version 20200328

Drop patch (not needed anymore) as console.h has been updated with:
 #if HAVE_SYS_SELECT_H
 #include <sys/select.h>
 #endif

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-validators: bump version to 0.15.0
Peter Korsgaard [Sun, 21 Jun 2020 19:48:42 +0000 (21:48 +0200)]
package/python-validators: bump version to 0.15.0

Upstream dropped python 2.x support, so add a dependency on python3:
https://github.com/kvesteri/validators/commit/f8608f45378bd465072176772887c685d1d7c300

And adjust the .hash spacing for the new agreements.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-validators: fix license
Peter Korsgaard [Sun, 21 Jun 2020 19:48:41 +0000 (21:48 +0200)]
package/python-validators: fix license

The LICENSE file is MIT, not BSD.  The confusion comes from the license info
in setup.py, which stated BSD until (post-0.14.2):

https://github.com/kvesteri/validators/commit/669129a3d3eb106e1b2d82bd9911faebb3287db6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/intel-microcode: security bump to version 20200616
Peter Korsgaard [Sun, 21 Jun 2020 20:18:48 +0000 (22:18 +0200)]
package/intel-microcode: security bump to version 20200616

Contains mitigations for the Special Register Buffer Data Sampling
(CVE-2020-0543), Vector Register Sampling (CVE-2020-0548) and L1D
Eviction Sampling (CVE-2020-0549) hardware vulnerabilities.

For more details, see the advisories:
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00320.html
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00329.html

Adjust the license hash for a change of copyright year:
-Copyright (c) 2018-2019 Intel Corporation.
+Copyright (c) 2018-2020 Intel Corporation.

And adjust the .hash file to use two spaces.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libplatform: bump version
Bernd Kuhls [Sun, 21 Jun 2020 10:37:44 +0000 (12:37 +0200)]
package/libplatform: bump version

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ffmpeg: bump version to 4.3
Bernd Kuhls [Sat, 20 Jun 2020 21:34:01 +0000 (23:34 +0200)]
package/ffmpeg: bump version to 4.3

Add a patch to fix build without ssse3.

Update the license hash due to various changes since August 2019 [0]:

  - some files were relicensed from GPL-2.0+ to LGPL-2.1+; no impact on
    the licensing information;

  - clarification about the licensing when linked with external
    libraries, which now requires passing --enable-version3; Buildroot
    is not concerned, because it passes --disable-version3;

  - various clarification about applicable licensing terms.

[0] http://git.videolan.org/?p=ffmpeg.git;a=history;f=LICENSE.md;h=613070e1b631a919a74c862f2a75a0f249a631ff;hb=8e12af29d1a3f95c9e952d78354e3c8b1c0431a8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr:
  - fix the SoB order in the patch
  - clarify the impact of the licensing changes
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mediastreamer: fix comment
Bernd Kuhls [Sat, 20 Jun 2020 20:57:03 +0000 (22:57 +0200)]
package/mediastreamer: fix comment

Fix inversed logic, comment should be shown for static-only toolchains.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.1.1
Bernd Kuhls [Thu, 11 Jun 2020 06:05:38 +0000 (08:05 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.1.1

Removed patches applied upstream:

- 0005-vc4_bufmgr-fix-time_t-printf.patch
  https://cgit.freedesktop.org/mesa/mesa/commit/?h=20.1&id=ad81207d00623cb2156ca0ecab39d0bcad5b28c9
- 0006-pan_bo.h-add-time.h-include-for-time_t.patch
  https://cgit.freedesktop.org/mesa/mesa/commit/?h=20.1&id=eedeee0094841c863e2f6ddd8bc2212d011e0e2f
- 0007-v3d_bufmgr-fix-time_t-printf.patch
  https://cgit.freedesktop.org/mesa/mesa/commit/?h=20.1&id=9f67806f141986c1d8310c5e0f1b2493434118d9

Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/nginx: remove ipv6 option
Fabrice Fontaine [Thu, 11 Jun 2020 06:25:05 +0000 (08:25 +0200)]
package/nginx: remove ipv6 option

Remove --with-ipv6 as this option does nothing since version 1.11.5 and
https://github.com/nginx/nginx/commit/2c84f7af2c97a55bf138a5fcedeb164733dc9bea

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mtools: select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
Fabrice Fontaine [Thu, 11 Jun 2020 06:28:26 +0000 (08:28 +0200)]
package/mtools: select BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY

Fixes:
 - https://bugs.buildroot.org/show_bug.cgi?id=12986

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-redis: bump to version 3.5.3
Grzegorz Blach [Wed, 10 Jun 2020 23:34:51 +0000 (01:34 +0200)]
package/python-redis: bump to version 3.5.3

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-ifaddr: bump to version 0.1.7
Grzegorz Blach [Wed, 10 Jun 2020 23:34:50 +0000 (01:34 +0200)]
package/python-ifaddr: bump to version 0.1.7

There is now a LICENSE.txt file, so let's use it as the license file
instead of setup.py. It does contain the MIT license text, as
expected.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cannelloni: bump to version 1.0.0
Fabrice Fontaine [Sun, 14 Jun 2020 21:20:10 +0000 (23:20 +0200)]
package/cannelloni: bump to version 1.0.0

- Drop patch (already in version)
- Add -std=c++11 to fix the build with gcc 4.8 as it has been removed by
  upstream since version 1.0.0 and
  https://github.com/mguentner/cannelloni/commit/2558902f0b2c2750ce99d05ac3cfe149c391482b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fuse-overlayfs: new package
Christian Stewart [Fri, 19 Jun 2020 18:04:31 +0000 (11:04 -0700)]
package/fuse-overlayfs: new package

FUSE-overlayfs is an implementation of overlay+shiftfs in FUSE, intended to be
used as the backing filesystem for rootless containers.

Reference: http://github.com/containers/fuse-overlayfs

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3
Peter Seiderer [Mon, 15 Jun 2020 18:59:11 +0000 (20:59 +0200)]
package/rtl8821au: add two patches fixing compile/runtime for kernels >= 5.3

Add two patches from upstream merge request ([1] to fix compile
and runtime failures in case of linux kernel >= 5.3.

[1] https://github.com/abperiasamy/rtl8812AU_8821AU_linux/pull/316

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-cpp: drop dynamic library dependency
Fabrice Fontaine [Sat, 20 Jun 2020 20:29:34 +0000 (22:29 +0200)]
package/paho-mqtt-cpp: drop dynamic library dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5: add optional CUPS support
Michael Trimarchi [Fri, 19 Jun 2020 14:57:19 +0000 (16:57 +0200)]
package/qt5: add optional CUPS support

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/janus-gateway: fix build of audiobridge without libogg
Fabrice Fontaine [Sat, 20 Jun 2020 14:35:01 +0000 (16:35 +0200)]
package/janus-gateway: fix build of audiobridge without libogg

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/janus-gateway: fix libogg dependency
Fabrice Fontaine [Sat, 20 Jun 2020 14:35:00 +0000 (16:35 +0200)]
package/janus-gateway: fix libogg dependency

libogg is not only used for voicemail plugin, it is an optional
dependency of:
- audiobridge plugin since version 0.9.3 and
  https://github.com/meetecho/janus-gateway/commit/53761d07c5456424d368c708fda2757e6606a4bf
- streaming plugin since version 0.9.3 and
  https://github.com/meetecho/janus-gateway/commit/d9aa1cec84c662f2f7fda025ee023f6dec927bdc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gerbera: fix static build with libmatroska
Fabrice Fontaine [Sat, 20 Jun 2020 16:04:37 +0000 (18:04 +0200)]
package/gerbera: fix static build with libmatroska

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: bump version to 1.2.3.1
Bernd Kuhls [Sat, 20 Jun 2020 18:17:26 +0000 (20:17 +0200)]
package/alsa-lib: bump version to 1.2.3.1

Removed patch which was committed upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iproute2: fix build with uclibc
Fabrice Fontaine [Thu, 18 Jun 2020 20:53:42 +0000 (22:53 +0200)]
package/iproute2: fix build with uclibc

Fixes:
 - http://autobuild.buildroot.org/results/08024dd20b174f2e22e641d200f6abd8bd2a9552

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-c: drop dynamic library dependency
Fabrice Fontaine [Thu, 18 Jun 2020 20:38:56 +0000 (22:38 +0200)]
package/paho-mqtt-c: drop dynamic library dependency

paho-mqtt-c can be built statically since version 1.3.3 and
https://github.com/eclipse/paho.mqtt.c/commit/f1459fac2532658a04962ae0ab67b5c3dc92ad75

See https://github.com/eclipse/paho.mqtt.c/issues/848

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: fix build with boost 1.73.0
Gwenhael Goavec-Merou [Fri, 19 Jun 2020 04:41:20 +0000 (06:41 +0200)]
package/gnuradio: fix build with boost 1.73.0

Since commit:
194997a3c86eba25dd0e93fd86038881cf010fe0 "package/boost: bump version to 1.73.0"
gnuradio fail to build with error like:

autobuild/instance-2/output-1/build/gnuradio-3.8.1.0/gnuradio-runtime/lib/block.cc: In constructor 'gr::block::block(const string&, gr::io_signature::sptr, gr::io_signature::sptr)':
autobuild/instance-2/output-1/build/gnuradio-3.8.1.0/gnuradio-runtime/lib/block.cc:64:78: error: '_1' was not declared in this scope
     set_msg_handler(d_system_port, boost::bind(&block::system_handler, this, _1));

This is due to a missing namespace.

backport Pull Request https://github.com/gnuradio/gnuradio/pull/3566

Fix:
- http://autobuild.buildroot.net/results/234f5f472bb4618b8e7375ba7025d759fa60dc0e/
- http://autobuild.buildroot.net/results/fa695835d7499fcf2aed505df60541fb821dad8d/
- http://autobuild.buildroot.net/results/f999fb4a31597a26b0e80cdf008d528b997f12e9/
- http://autobuild.buildroot.net/results/54571b286b9ee9d940f80ebe7c23f7c1f15cacc2/
- http://autobuild.buildroot.net/results/91dbee7fc4cbccf82b58ebe74f9e09960fd8a48c/
- http://autobuild.buildroot.net/results/7139ef951d0c2f4d3f6d5a68f673adceda5f1dd6/
- http://autobuild.buildroot.net/results/f7aa8b06ffb11072456b550250ba3ef8f0e18dcc/
- http://autobuild.buildroot.net/results/8677cefcd63c091a040e6ebc3eb54c04ff493371/
- http://autobuild.buildroot.net/results/cf6e222252263fea6da9a5c9b3ca7841d7bf7102/
- http://autobuild.buildroot.net/results/eea8055999e8336ff3f8b25db60d066a52a5dacf/
- http://autobuild.buildroot.net/results/55e5a75f82a4e241a36caebb0f1b9cd7560da78e/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.53.1
Giulio Benetti [Fri, 19 Jun 2020 00:01:47 +0000 (02:01 +0200)]
package/libnss: bump version to 3.53.1

Bump version to 3.53.1 and add a patch from upstream[1] to fix build
failure.

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

[1]:
https://hg.mozilla.org/projects/nss/rev/e955ece90b050e9da67528f09648945156d2bcea

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libopenssl: fix target architecture for MIPS64n32
Thomas De Schampheleire [Fri, 19 Jun 2020 06:50:33 +0000 (08:50 +0200)]
package/libopenssl: fix target architecture for MIPS64n32

Commit 1ebb35ee5fb7bd5e6278a84ac2c18aa0a38056fb changed the libopenssl
target architecture to 'linux-generic64' for 64-bit archs based on
BR2_ARCH_IS_64. However, MIPS64n32 has BR2_ARCH_IS_64 set, but is a 32-bit
ABI. On such board, libopenssl needs to be configured with linux-generic32
to function properly.

One symptom of this problem is that ssh-keygen hangs on key generation,
waiting for more random bits. See [1] for the discussion with openssl
upstream.

Thanks to Ronny Meeus for investigating the issue and kudos to the openssl
community for their responsive and helpful interaction!

Reported-by: Ronny Meeus <ronny.meeus@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
[1] https://mta.openssl.org/pipermail/openssl-users/2020-June/012565.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/stress-ng: bump to version 0.11.14
Baruch Siach [Fri, 19 Jun 2020 08:37:45 +0000 (11:37 +0300)]
package/stress-ng: bump to version 0.11.14

Enable build for musl libc. glibc specific code is now behind __GNUC__.
Add a patch to fix collision with kernel defined struct sysinfo.

Drop attr dependency. Not used anymore.

Make keyutils an optional dependency. Detected at config time.

Enable static build now that keyutils is not a mandatory dependency.

Format hash file with two spaces delimiters.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iwd: fix build with uclibc
Fabrice Fontaine [Sat, 20 Jun 2020 13:23:05 +0000 (15:23 +0200)]
package/iwd: fix build with uclibc

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lbcamera: don't override _CONF_OPTS, but append
Yann E. MORIN [Sat, 20 Jun 2020 06:56:20 +0000 (08:56 +0200)]
package/lbcamera: don't override _CONF_OPTS, but append

Commit 99cc53f3f4 (package/libcamera: add v4l2 compatibility layer
option) incorrectly added the v4l2 option, which makes it so that
the previous options are overrdien.

Fix that by using an append-assignment.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mutt: bump to version 1.14.4
Fabrice Fontaine [Fri, 19 Jun 2020 22:11:50 +0000 (00:11 +0200)]
package/mutt: bump to version 1.14.4

- Drop patches (already in version) and so autoreconf
- Update indentation in hash file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mutt: fix CVE-2020-14093
Fabrice Fontaine [Fri, 19 Jun 2020 22:11:49 +0000 (00:11 +0200)]
package/mutt: fix CVE-2020-14093

Mutt before 1.14.3 allows an IMAP fcc/postpone man-in-the-middle attack
via a PREAUTH response.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/circus: bump to version 0.16.1
Fabrice Fontaine [Fri, 19 Jun 2020 21:55:42 +0000 (23:55 +0200)]
package/circus: bump to version 0.16.1

- Drop patch (already in version)
- Update indentation in 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/libinput: bump version to 1.15.6
Peter Seiderer [Fri, 19 Jun 2020 19:30:19 +0000 (21:30 +0200)]
package/libinput: bump version to 1.15.6

For details see [1].

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iwd: bump version to 1.8
Peter Seiderer [Fri, 19 Jun 2020 18:36:29 +0000 (20:36 +0200)]
package/iwd: bump version to 1.8

- removed 0001-frame-xchg.c-fix-build-with-glibc-2.24.patch
  (upstream applied [1])

[1] https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=c352714e61809fc486470cc9a4ad3e3e84811b80

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ell: bump version to 0.32
Peter Seiderer [Fri, 19 Jun 2020 18:36:28 +0000 (20:36 +0200)]
package/ell: bump version to 0.32

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qwt: bump version to 6.1.5
Gwenhael Goavec-Merou [Thu, 11 Jun 2020 09:03:40 +0000 (11:03 +0200)]
package/qwt: bump version to 6.1.5

Fix:
- http://autobuild.buildroot.net/results/27ac3c09048744189236bd67aa643163d0d01ad5/
- http://autobuild.buildroot.net/results/9693ad79e4c23c9c0324df02a4d57c662b82fbce/
- http://autobuild.buildroot.net/results/e8aafa2a1a5fa4e207d2e8bb8c9570789a8ccaa7/

Respect hash rules

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/pkg-stats: remove debug cruft
Thomas Petazzoni [Thu, 18 Jun 2020 21:30:52 +0000 (23:30 +0200)]
support/scripts/pkg-stats: remove debug cruft

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