buildroot.git
4 years agopackage/qt5: fix check-package warnings
Pierre-Jean Texier [Fri, 3 Jul 2020 12:12:02 +0000 (14:12 +0200)]
package/qt5: fix check-package warnings

Fixes:

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

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gstreamer1/gst1-plugins-good: Enable GUDEV for V4L2 if available
Nicolas Dufresne [Mon, 8 Jun 2020 00:00:26 +0000 (21:00 -0300)]
package/gstreamer1/gst1-plugins-good: Enable GUDEV for V4L2 if available

Video4Linux2 plugins can udev for device probing and monitor.
This greatly improves load time and monitoring performance.

It also enables hotplug monitoring for cameras.

gstreamer is libglib2-based; libgudev is libnglib2-based. So they both
have the same basic dependencies as liblib2 has, and thus propagating
the dependencies of libgudev is not necessary (but might be confusing in
the future, even though such a change is highly unlikely...)

Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agocore/pkg-infra: Add per-package support in qmake infra
Andreas Naumann [Mon, 17 Feb 2020 21:23:41 +0000 (22:23 +0100)]
core/pkg-infra: Add per-package support in qmake infra

Qmake configured packages will, by default, use the absolute HostPrefix/Sysroot
pathes set during configuration/building of qt5base for their install
destinations.
For the per-package host/staging infrastructure, this causes non-qt5base
packages to litter the qt5base folders. In addition, buildroots target-install
step subsequently fails because the respective files are missing from the
per-package sysroot of the package itself.

Fortunately, qmake's built-in pathes can be overridden by placing a custom
qt.conf next to the qmake binary. This is already used to facilitate SDK
relocation. So for per-package path manipulation we can reuse that method, but
need to change the host/sysroot values according to each per-package
path.

Signed-off-by: Andreas Naumann <anaumann@ultratronik.de>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: drop useless 'rm -f' of generated file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: add new option for the Poco JWT component
Julien Olivain [Tue, 30 Jun 2020 17:34:35 +0000 (19:34 +0200)]
package/poco: add new option for the Poco JWT component

Poco 1.10.0 introduced a new JWT (JSON Web Tokens). See:
https://pocoproject.org/docs/Poco.JWT.Token.html

This patch add the option to build this component.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: enable build for riscv64
Julien Olivain [Tue, 30 Jun 2020 17:34:34 +0000 (19:34 +0200)]
package/poco: enable build for riscv64

riscv64 support was added upstream in commit:
https://github.com/pocoproject/poco/commit/26fa1b9e6bbe3a5d2d559d0e8bd5772a4e8fdfef
which is included in version >= 1.10.0.

Now, of the riscv architecture, only the 32-bit variant is not
supported, so change the arch restriction to that.

Signed-off-by: Julien Olivain <juju@cotds.org>
[yann.morin.1998@free.fr: reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: bump to version 1.10.1
Julien Olivain [Tue, 30 Jun 2020 17:34:33 +0000 (19:34 +0200)]
package/poco: bump to version 1.10.1

Poco >= 1.10.0 requires a C++14 compiler. GCC needs to be at least 5.0.
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG#L31

Since GCC 5.0 does not enable it by default, "-std=c++14" needs to be
added in cflags.

See poco 1.10.1 changelog:
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG

Poco 1.10.0 introduced a new JWT (JSON Web Tokens) component. It is
currently unconditionally disabled to prevent build failure (as it
re-enable Poco Crypto, which needs OpenSSL).

Package patches are rebased on poco version 1.10.1.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/poco: add BR2_PACKAGE_POCO_ARCH_SUPPORTS
Julien Olivain [Tue, 30 Jun 2020 17:34:32 +0000 (19:34 +0200)]
package/poco: add BR2_PACKAGE_POCO_ARCH_SUPPORTS

Commit 0737f48c5f (package/poco: disable build for riscv) did not
propagate the new dependency on BR2_riscv to the comment.

Introduce BR2_PACKAGE_POCO_ARCH_SUPPORTS to solve this issue.

Signed-off-by: Julien Olivain <juju@cotds.org>
[yann.morin.1998@free.fr:
  - reword the commit log
  - use separate 'depend on !arch'
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cups-filters: bump to version 1.27.5
Angelo Compagnucci [Wed, 24 Jun 2020 20:43:42 +0000 (22:43 +0200)]
package/cups-filters: bump to version 1.27.5

This patch bumps cups-filters to version 1.27.5.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cups-filters: improve cups-browsed init integration
Angelo Compagnucci [Wed, 24 Jun 2020 20:43:41 +0000 (22:43 +0200)]
package/cups-filters: improve cups-browsed init integration

cups-browsed service is compiled and installed by the package,
but the corresponding services file were not installed for
systemv and systemd.

Specifying --without-rcdir allows to not install the init script
provided with cups-filters, and we provide our own,
Buildroot-compatible init script.

For systemd, we install the upstream-provided service file.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: remove version 2.31.1
Romain Naour [Thu, 25 Jun 2020 12:13:02 +0000 (14:13 +0200)]
package/binutils: remove version 2.31.1

Now that binutils 2.34 has been introduced, and we have moved to
2.33.1 as the default version, it is time to drop support for binutils
2.31.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: switch to use 2.33.1 as the default version
Romain Naour [Thu, 25 Jun 2020 12:13:01 +0000 (14:13 +0200)]
package/binutils: switch to use 2.33.1 as the default version

Now that binutils 2.34 has been released, it is time to move to
binutils 2.33.1 as the default binutils version, instead of 2.32.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: add version 2.34
Romain Naour [Thu, 25 Jun 2020 12:13:00 +0000 (14:13 +0200)]
package/binutils: add version 2.34

Rebase existing patches.

Keep BR2_BINFMT_FLAT disabled for binutils 2.34 since elf2flt issue
is not fixed [1] [2].

[1] https://github.com/uclinux-dev/elf2flt/pull/16
[2] https://github.com/uclinux-dev/elf2flt/issues/12

See announce:
https://lists.gnu.org/archive/html/info-gnu/2020-02/msg00000.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/glibc: disable Werror for gcc 10 build
Romain Naour [Sun, 28 Jun 2020 20:16:12 +0000 (22:16 +0200)]
package/glibc: disable Werror for gcc 10 build

Currently glibc 2.30 is build by default with Werror enabled but it
has only been tested with compiler version available at the time of
the release [1] (gcc 6.2 up to gcc 9.2.1). It's recommended to use
those version with glibc 2.30.

For the same reason why we remove Werror in packages's compiler
flags. Building with Werror is not bulletproof when we start
using a newer compiler that introduce new warnings.
This is the case here with gcc 10, as reported by Yegor Yefremov
[2].

Fixing compiler warnings would require backporting many patches [3]
not even backported by Glibc maintainers to the 2.30 stable
branch. Instead, disable Werror by using --disable-werror.
Most (if not all) gcc 10 warnings will be fixed with Glibc 2.31.

[1] https://sourceware.org/git/?p=glibc.git;a=blob;f=INSTALL;h=62e78725f57080a1cb638cccd28ca3c2ffc5a22c#l466
[2] http://lists.busybox.net/pipermail/buildroot/2020-June/285715.html
[3] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=cba932a5a9e91cffd7f4172d7e91f9b2efb1f84b
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=de18a7061c9bdff73d66502c55d6a3ea671fc6d9
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=49348beafe9ba150c9bd48595b3f372299bddbb0
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=70c6e15654928c603c6d24bd01cf62e7a8e2ce9b
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c7bf5ceab6ec776ac7350d3b0190776bf532ac54
    https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=e1d559f337de2c8ab68a6749dfe873477c883807

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cryptsetup: needs iconv
Fabrice Fontaine [Sun, 28 Jun 2020 20:48:08 +0000 (22:48 +0200)]
package/cryptsetup: needs iconv

iconv is a mantadory dependency since version 2.3.0 and
https://github.com/mbroz/cryptsetup/commit/62c872eb4942ec37a18a37ea7cca1749757ddbb6

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/xvisor: bump to version 0.3.0
Fabrice Fontaine [Sun, 28 Jun 2020 21:04:50 +0000 (23:04 +0200)]
package/xvisor: bump to version 0.3.0

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

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

There was a missing space between the append-assignment operator, and
the appended list of licenses.

Even though inconsequential technically speaking, we always use spaces
around operators elsewhere in the code.

So be it here too.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/unrar: bump version to 5.9.3
Bernd Kuhls [Sun, 28 Jun 2020 08:51:49 +0000 (10:51 +0200)]
package/unrar: bump version to 5.9.3

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ncmpc: bump to version 0.38
Jörg Krause [Mon, 29 Jun 2020 05:58:27 +0000 (07:58 +0200)]
package/ncmpc: bump to version 0.38

Also fix formatting of hash file using two spaces as separator.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mpd: bump to version 0.21.24
Jörg Krause [Mon, 29 Jun 2020 05:56:43 +0000 (07:56 +0200)]
package/mpd: bump to version 0.21.24

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: bump to version 2020.80
Francois Perrad [Mon, 29 Jun 2020 07:16:56 +0000 (09:16 +0200)]
package/dropbear: bump to version 2020.80

remove merged patches.

LICENSE diff:
- Copyright (c) 2002-2015 Matt Johnston
+ Copyright (c) 2002-2020 Matt Johnston
- LibTomCrypt and LibTomMath are written by Tom St Denis, and are Public Domain.
+ LibTomCrypt and LibTomMath are written by Tom St Denis and others, see
+ libtomcrypt/LICENSE and libtommath/LICENSE.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: fix license infos
Francois Perrad [Mon, 29 Jun 2020 07:16:55 +0000 (09:16 +0200)]
package/dropbear: fix license infos

this package allows to use optionally bundled libraries (which is exceptional in BR).
so, license infos must be conditional.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/gr-osmosdr: fix build with boost 1.7.3
Gwenhael Goavec-Merou [Mon, 29 Jun 2020 14:11:28 +0000 (16:11 +0200)]
package/gr-osmosdr: fix build with boost 1.7.3

boost/detail/endian.hpp has been marked as deprecated since boost 1.69.0.
This file and boost/predef/detail/endian_compat.h are no more available.

This patch suppress this header in some file, where not needed and move
to correct header and new constants. It's retrocompatible for at least all boost release > 1.69.0

[Upstream status: http://lists.osmocom.org/pipermail/osmocom-sdr/2020-June/002080.html]

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/libressl: bump version to 3.1.3
Adam Duskett [Mon, 29 Jun 2020 19:01:08 +0000 (12:01 -0700)]
package/libressl: bump version to 3.1.3

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-py: bump to version 1.9.0
Asaf Kahlon [Mon, 29 Jun 2020 17:27:11 +0000 (20:27 +0300)]
package/python-py: bump to version 1.9.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fuse-overlayfs: bump to version 1.1.2
Asaf Kahlon [Mon, 29 Jun 2020 17:27:10 +0000 (20:27 +0300)]
package/fuse-overlayfs: bump to version 1.1.2

Removed patch (already in version).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agofs/cpio: generate reproducible archives
Yurii Monakov [Mon, 29 Jun 2020 12:37:01 +0000 (15:37 +0300)]
fs/cpio: generate reproducible archives

The output of 'find' depends on the directory entries, and is not
ordered. As a consequence, the cpio archive is not reproducible.

Fix that by sorting the output of find. Use the 'C' locale to enforce
reproducibility that does not depend on the locale.

The command line is now pretty long, so we wrap it.

Signed-off-by: Yurii Monakov <monakov.y@gmail.com>
[yann.morin.1998@free.fr:
  - use LC_ALL=C when sorting
  - wrap long line
  - reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agouboot: zynqmp: Support loading a PMU config
Brandon Maier [Fri, 26 Jun 2020 15:59:56 +0000 (10:59 -0500)]
uboot: zynqmp: Support loading a PMU config

Before now, U-Boot SPL could only load the Platform Management Unit
(PMU) by patching the board-specific pm_cfg_obj.c file into the generic
PMU firmware, but that then requires generating a new PMU firmware for
every board configuration. To fix that, Luca Ceresoli added support to
U-Boot to load the pm_cfg_obj[1].

Like the PMU firmware, we need a way to pass the PMU cfg to U-Boot
during build. U-Boot only accepts the binary format of the cfg, so we
must convert the source file with the tool provided with U-Boot.

[1] https://lucaceresoli.net/zynqmp-uboot-spl-pmufw-cfg-load/

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agotoolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH
John Keeping [Fri, 26 Jun 2020 15:49:27 +0000 (16:49 +0100)]
toolchain/toolchain-wrapper: let recent GCC handle SOURCE_DATE_EPOCH

When using precompiled headers, changing any macros defined on the
command line will invalidate the precompiled header.  With
toolchain-wrapper adding __DATE__ and __TIME__, any commits to Buildroot
will invalidate incremental builds regardless of whether the precompiled
header actually uses those values (affecting _OVERRIDE_SRCDIR).

GCC-7 and later support SOURCE_DATE_EPOCH and use it to define __DATE__
and __TIME__ internally, avoiding any impact on precompiled headers.

Disable the custom handling in toolchain-wrapper if GCC is version 7 or
newer.

Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-{libust, tools}: use proper systemd rundir
Norbert Lange [Fri, 26 Jun 2020 22:06:02 +0000 (00:06 +0200)]
package/lttng-{libust, tools}: use proper systemd rundir

Set the rundir to /run/lttng, if systemd is the init system.
/var/run is "legacy" in systemd's view.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-tools: bump version to 2.12.1
Norbert Lange [Fri, 26 Jun 2020 22:06:01 +0000 (00:06 +0200)]
package/lttng-tools: bump version to 2.12.1

Also update hash file formatting (2 spaces).

License files got moved into a subfolder,
use those new paths.

Also the package is (L)GPL only, so remove the
"or higher".

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lttng-libust: bump version to 2.12.0
Norbert Lange [Fri, 26 Jun 2020 22:06:00 +0000 (00:06 +0200)]
package/lttng-libust: bump version to 2.12.0

Also update hash file formatting (2 spaces).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/liburcu: bump version to 0.12.1
Norbert Lange [Fri, 26 Jun 2020 22:05:59 +0000 (00:05 +0200)]
package/liburcu: bump version to 0.12.1

Also update hash file formatting (2 spaces).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mraa: fix toolchain requirements
Pieterjan Camerlynck [Sat, 27 Jun 2020 14:00:38 +0000 (16:00 +0200)]
package/mraa: fix toolchain requirements

New version of mraa has some extra toolchain requirements, added
dependency on !BR2_STATIC_LIBS and BR2_INSTALL_LIBSTDCPP

Fixes:
- http://autobuild.buildroot.net/results/f2829a0aff5bd6f73a837c813f20de5df33c7606
- http://autobuild.buildroot.net/results/b4434724ac810b35913a5e49b43e27e0418b5b9c
- http://autobuild.buildroot.net/results/6c7f19ea9757b483c3c7fe35d72ce9f9304f5919
- http://autobuild.buildroot.net/results/1c2bbeda09a695af2e53b0f72a116e6abef94b23
- http://autobuild.buildroot.net/results/7ea000298a4806040d9ec6140097eb3036440ee9

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpi-firmware: fix startup file names
Stéphane Veyret [Fri, 26 Jun 2020 10:41:16 +0000 (12:41 +0200)]
package/rpi-firmware: fix startup file names

When booting, a Raspberry Pi will load the appropriate start files,
depending on the provided configuration. For example, if the config.txt
file contains ’gpu_mem=16’ the board will automatically load the
cut-down startup files (start_cd.elf and fixup_cd.dat on non-Rpi4).

Unfortunately, even when the appropriate version is selected in the
configuration menu, if the rpi-firmware makefile takes the good files,
it renames them to non-qualified, i.e. start.elf and fixup.dat. But as
these are not the files searched by the Raspberry Pi, the board will not
start.

This patch will set the names of the files to load as constant in the
config.txt file. This guarantees that the rpi firmware blobs do not take
any other corner-case decision based on any other as-yet unknown
conditions.

This eases the maintenance, as only the names of the source files
matter; the destination filenames are constants, and so are the
filenames in config.txt.

Fixes: #13026
Signed-off-by: Stéphane Veyret <sveyret@gmail.com>
[yann.morin.1998@free.fr:
  - very minor fix in commit title
  - drop the non-conditional macro and move its content into
    RPI_FIRMWARE_INSTALL_IMAGES_CMDS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.1.2
Bernd Kuhls [Thu, 25 Jun 2020 05:03:42 +0000 (07:03 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.1.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/smstools3: bump to version 3.1.21
Fabrice Fontaine [Thu, 25 Jun 2020 20:57:28 +0000 (22:57 +0200)]
package/smstools3: bump to version 3.1.21

- Update patch
- Add link to upstream hashes
- Update hash of doc/license.html (web link update)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dropbear: restore full BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO behaviour
Francois Perrad [Thu, 25 Jun 2020 07:58:41 +0000 (09:58 +0200)]
package/dropbear: restore full BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO behaviour

now, BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO works like with version 2019.78
and as described in Config.in

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Acked-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stellarium: bump version to 0.20.2
Bernd Kuhls [Thu, 25 Jun 2020 18:48:51 +0000 (20:48 +0200)]
package/stellarium: bump version to 0.20.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fwup: bump to v1.8.0
Frank Hunleth [Thu, 25 Jun 2020 15:15:33 +0000 (11:15 -0400)]
package/fwup: bump to v1.8.0

The libsodium dependency is no longer needed so this patch also drops
that requirement from host and target builds.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.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/libconfuse: bump version to 3.3
Frank Hunleth [Thu, 25 Jun 2020 13:36:36 +0000 (09:36 -0400)]
package/libconfuse: bump version to 3.3

This fixes a possible loop-forever bug.

Release notes:
https://github.com/martinh/libconfuse/releases/tag/v3.3

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wireless-regdb: bump version to 2020.04.29
Peter Seiderer [Thu, 25 Jun 2020 19:49:55 +0000 (21:49 +0200)]
package/wireless-regdb: bump version to 2020.04.29

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
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>