buildroot.git
4 years agopackage/boost: bump to version 1.72.0
Fabrice Fontaine [Sun, 15 Dec 2019 10:19:02 +0000 (11:19 +0100)]
package/boost: bump to version 1.72.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: remove check against GCC_AT_LEAST_4_8
Giulio Benetti [Mon, 16 Dec 2019 16:14:15 +0000 (17:14 +0100)]
package/libnss: remove check against GCC_AT_LEAST_4_8

NSS_ENABLE_WERROR=0 is already added by default to LIBNSS_BUILD_VARS
previously, so let's remove this check and set.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gstreamer1/gst1-plugins-bad: wayland plugin needs libdrm
Peter Seiderer [Tue, 17 Dec 2019 19:15:01 +0000 (20:15 +0100)]
package/gstreamer1/gst1-plugins-bad: wayland plugin needs libdrm

Fixes:
  http://autobuild.buildroot.net/results/e06fbed25fc8369c2ff1f3d89b8800766e365ea3
  http://autobuild.buildroot.net/results/252d2d247339ee6f89ae2b813d33518d612dd9b3

  Run-time dependency wayland-client found: YES 1.17.0
  Run-time dependency libdrm found: NO (tried pkgconfig)
  gst-libs/gst/wayland/meson.build:3:0: ERROR: Dependency "libdrm" not found, tried pkgconfig

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cereal: new package
Thomas De Schampheleire [Mon, 23 Dec 2019 15:10:59 +0000 (16:10 +0100)]
package/cereal: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/boost: boost-thread needs a toolchain without bug 64735
Fabrice Fontaine [Sun, 22 Dec 2019 22:33:53 +0000 (23:33 +0100)]
package/boost: boost-thread needs a toolchain without bug 64735

boost-thread needs std::current_exception since version 1.71.0 and
https://github.com/boostorg/exception/commit/386f5507cb8ec99c03ca535bea4f8bd61e0de910

std::current_exception depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 as a
result, gnuradio fails to build on:

[ 12%] Building CXX object gnuradio-runtime/lib/pmt/CMakeFiles/gnuradio-pmt.dir/pmt_pool.cc.o
In file included from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/detail/exception_ptr.hpp:15:0,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception_ptr.hpp:9,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/exceptional_ptr.hpp:10,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread/future.hpp:34,
                 from /home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/thread.hpp:24,
                 from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/include/pmt/pmt_pool.h:27,
                 from /home/test/autobuild/run/instance-2/output-1/build/gnuradio-3.7.13.5/gnuradio-runtime/lib/pmt/pmt.cc:31:
/home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp: In function 'std::string boost::current_exception_diagnostic_information(bool)':
/home/test/autobuild/run/instance-2/output-1/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/boost/exception/diagnostic_information.hpp:49:26: error: 'current_exception' is not a member of 'std'
         else if (auto* p=std::current_exception().__cxa_exception_type())
                          ^
So add this dependency on boost-thread, boost-log and gnuradio (the only
reverse dependencies of boost-thread that does not already depends on
!BR2_TOOLCHAIN_HAS_GCC_BUG_64735)

Finally, add this dependency on gqrx as it is a reverse dependency of
gnuradio

Fixes:
 - http://autobuild.buildroot.org/results/c384205cf50929c320d90b620f2390837721d9f9
 - http://autobuild.buildroot.org/results/47440354b336b943b74b72fa303b079dc962bfd0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoarch/arc: explicitly set "max-page-size" for GNU LD
Alexey Brodkin [Tue, 24 Dec 2019 14:10:32 +0000 (17:10 +0300)]
arch/arc: explicitly set "max-page-size" for GNU LD

Back in the day we relied on a default value that used to be 8KiB
and it worked perfectly fine for ARC's default 8KiB page as well as
4 KiB ones, but not for 16 KiB, see [1] for more details.

So that we fixed by setting "max-page-size" if 16KiB pages are in use by
commit d024d369b82d2 ("arch/arc: Accommodate 16 KiB MMU pages").

But as Yann very rightfully mentioned here [2] we should be setting this
thing explicitly for all page sizes because:
 1. Defaults might change unexpectedly
 2. Explicitly set stuff is better understood
 3. We act similarly to all settings but not only addressing some corner cases

[1] https://git.buildroot.org/buildroot/commit/?id=d024d369b82d2d3d9d4d75489c19e9488202bca0
[2] https://patchwork.ozlabs.org/patch/1212544/#2330647

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dante: fix configure error
Fabrice Fontaine [Tue, 24 Dec 2019 15:07:09 +0000 (16:07 +0100)]
package/dante: fix configure error

Fixes:
 - http://autobuild.buildroot.org/results/9be8a0d5af85370ecb52bcd315aa73cacbc95abc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/librsvg: add libcroco to Requires.private
Fabrice Fontaine [Tue, 24 Dec 2019 16:02:43 +0000 (17:02 +0100)]
package/librsvg: add libcroco to Requires.private

This will fix a static build failure with imagemagick

Fixes:
 - http://autobuild.buildroot.org/results/42f4b4881569779162d3efe4628b934f965913b9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: fix build on uclibc
Fabrice Fontaine [Tue, 24 Dec 2019 15:09:18 +0000 (16:09 +0100)]
package/apitrace: fix build on uclibc

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-daemon: select python-lockfile
Adam Duskett [Mon, 25 Nov 2019 19:38:50 +0000 (11:38 -0800)]
package/python-daemon: select python-lockfile

python-lockfile is needed for runtime. Without it, importing python-daemon
results in an import error.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-lockfile: new package
Adam Duskett [Mon, 25 Nov 2019 19:38:49 +0000 (11:38 -0800)]
package/python-lockfile: new package

The lockfile package exports a LockFile class which provides a
simple API for locking files. Unlike the Windows
msvcrt.locking function, the fcntl.lockf and flock functions,
and the deprecated posixfile module, the API is identical
across both Unix (including Linux and Mac) and Windows
platforms.

The lock mechanism relies on the atomic nature of the link
(on Unix) and mkdir (on Windows) system calls. An
implementation based on SQLite is also provided, more as a
demonstration of the possibilities it provides than as
production-quality code.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pbr: new package
Adam Duskett [Mon, 25 Nov 2019 19:38:48 +0000 (11:38 -0800)]
package/python-pbr: new package

PBR is a library that injects some useful and sensible default
behaviors into a setuptools run.

Signed-off-by: Adam Duskett <aduskett@greenlots.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ntp: override host shell check
James Byrne [Tue, 26 Nov 2019 11:33:01 +0000 (11:33 +0000)]
package/ntp: override host shell check

Add a patch from the upstream AutoGen package that allows POSIX_SHELL
to be taken from the environment, then define that to be '/bin/sh'.

Since we are cross-compiling, the original behaviour of detecting the
host shell is not useful as we cannot assume that the target uses the
same shell, and it can prevent builds being reproducible because a
different host environment will result in a different target binary.

Signed-off-by: James Byrne <james.byrne@origamienergy.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfcgi: bump to version 2.4.2
Louis Rannou [Tue, 26 Nov 2019 21:42:01 +0000 (22:42 +0100)]
package/libfcgi: bump to version 2.4.2

FCGI is abandonned (https://repo.or.cz/fcgi2.git). Replace it by a maintained
fork (https://github.com/FastCGI-Archives/fcgi2).

Patchs status:
0001-eof.patch -> fixed by commit 122e55cc354dd4a78849aed8d36c61ed9edeaeb2
0002-link-against-libfcgi-la.patch -> included in commit 2a575066bcbdadfc161d46ef816a45f6edf9d529
0004-make-autoreconfable.patch -> fixed in commits 854643b36e87cf1262da2eb82b3f10b56185131b and ad30485fa12be4415d57422702ee4f64a09b7bea
0006-fix-CVE-2012-6687.patch -> applied in commit 5c15a7bb5260bc83715090c9fd386d704c139671

Signed-off-by: Louis Rannou <louis.rannou@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ecryptfs-utils: add optional dependency on linux-pam
Yi Zheng [Wed, 27 Nov 2019 04:23:48 +0000 (12:23 +0800)]
package/ecryptfs-utils: add optional dependency on linux-pam

If linux-pam is enabled, we want to build pam_ecryptfs.so and install
it into /lib/security/.

Signed-off-by: Yi Zheng <goodmenzy@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libfcgi: update the upstream URL in Config.in
Mark Corbin [Thu, 28 Nov 2019 12:06:26 +0000 (12:06 +0000)]
package/libfcgi: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mali-t76x: update the upstream URL in Config.in
Mark Corbin [Thu, 28 Nov 2019 15:08:44 +0000 (15:08 +0000)]
package/mali-t76x: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. Removing
the text from the beginning of the URL line addresses the 'Missing'
URL status in the package stats web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: add option for Qualcomm AR3012 USB Bluetooth firmware
Nicolas Cavallari [Fri, 29 Nov 2019 16:31:44 +0000 (17:31 +0100)]
package/linux-firmware: add option for Qualcomm AR3012 USB Bluetooth firmware

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-firmware: add option for Qualcomm AR3011 Bluetooth firmware
Nicolas Cavallari [Fri, 29 Nov 2019 16:31:44 +0000 (17:31 +0100)]
package/linux-firmware: add option for Qualcomm AR3011 Bluetooth firmware

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[Thomas: split from the AR3011/AR3012 commit]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{protobuf,python-protobuf}: bump to version 3.11.0
Adam Duskett [Thu, 28 Nov 2019 23:01:57 +0000 (15:01 -0800)]
package/{protobuf,python-protobuf}: bump to version 3.11.0

Tested with test-pkg, all tests passed:
            br-arm-full [1/6]: OK
 br-arm-cortex-a9-glibc [2/6]: OK
  br-arm-cortex-m4-full [3/6]: SKIPPED
         br-x86-64-musl [4/6]: OK
     br-arm-full-static [5/6]: SKIPPED
           sourcery-arm [6/6]: OK

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: bump version to 2019.12.0
Bartosz Bilas [Tue, 24 Dec 2019 13:29:13 +0000 (14:29 +0100)]
boot/barebox: bump version to 2019.12.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/common/imx: use nodtb variant in uboot images for 8M
Julien Olivain [Tue, 17 Dec 2019 20:37:12 +0000 (21:37 +0100)]
board/freescale/common/imx: use nodtb variant in uboot images for 8M

In board/freescale/common/imx/imx8-bootloader-prepare.sh, when
invoking mkimage_fit_atf.sh, the U-Boot DTB is passed as parameter, to
be included in the FIT image. This parameter usually comes from
BR2_ROOTFS_POST_SCRIPT_ARGS config option. The variable
BL33=u-boot.bin set in the invocation uses the u-boot image which is
including its embedded DTB. This means the U-Boot DTB is included
twice.

The upstream script mkimage_fit_atf.sh plus its Buildroot patch are
meant to use by default the nodtb variant and use the DTB in a
separate image. See [1] and [2].

The U-Boot default DTB which will be included in u-boot.bin image is
selected with U-Boot CONFIG_DEFAULT_DEVICE_TREE, or DEVICE_TREE
variable when invoking "make". If one of those option is not aligned
to the BR2_ROOTFS_POST_SCRIPT_ARGS config option, it's possible the
two included U-Boot DTBs are different. If such case happens, the
built-in DTB is always used, regardless of the other one, selected
with BR2_ROOTFS_POST_SCRIPT_ARGS.

For example, this case happens for TechNexion Pico Pi i.MX8M and
i.MX8MMini. Since the U-Boot defconfig assumes the nodtb version will
be used, it does not set the default DTB. The u-boot.bin will include
the fsl-imx8mm-evk instead. Including the wrong board DTB breaks the
USB and UMS commands (and possibly others). Since those boards does
not have SD card slots, a recovery serial download is needed at every
update.

This patch make sure that only the separate U-Boot DTB will be
included in the FIT image by using the nodtb variant.

[1] https://source.codeaurora.org/external/imx/imx-mkimage/tree/iMX8M/mkimage_fit_atf.sh?h=rel_imx_4.14.98_2.0.0_ga#n35
[2] https://git.busybox.net/buildroot/tree/package/imx-mkimage/0001-add-support-for-overriding-bl32-and-bl33-not-only-bl.patch?h=2019.11#n42

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tio: new package
Sergio Prado [Sun, 22 Dec 2019 22:12:03 +0000 (19:12 -0300)]
package/tio: new package

"tio" is a simple TTY terminal application which features a
straightforward commandline interface to easily connect to
TTY devices for basic input/output.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas:
 - license is GPL-2.0+ (noticed by Baruch)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cctz: new package
Gilles Talis [Sun, 22 Dec 2019 13:23:14 +0000 (14:23 +0100)]
package/cctz: new package

CCTZ is a C++ library for translating between absolute
and civil times using the rules of a time zone.

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fluidsynth: alsa support needs rawmidi and seq
Fabrice Fontaine [Tue, 24 Dec 2019 10:06:37 +0000 (11:06 +0100)]
package/fluidsynth: alsa support needs rawmidi and seq

Fixes:
 - http://autobuild.buildroot.org/results/8c8149a7cf87f24271fa6af8a6c81d2dfe241bbe
 - http://autobuild.buildroot.org/results/d7b05205b0bb45d927b5bb462e06fd8c345ebc42

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dante: bump to version 1.4.2
Fabrice Fontaine [Tue, 24 Dec 2019 09:47:01 +0000 (10:47 +0100)]
package/dante: bump to version 1.4.2

- Add hash for license file
- Drop second patch (not needed anymore as the sed expression s/-g//g
  has been replaced by s/-g //g)
- This bump fixes the build failure with latest libminiupnpc

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: needs dynamic library
Fabrice Fontaine [Tue, 24 Dec 2019 09:32:12 +0000 (10:32 +0100)]
package/apitrace: needs dynamic library

apitrace uses dlfcn.h in lib/os/os_backtrace.cpp if _Unwind_Backtrace
symbol is found in unwind.h. dlfcn.h is also used in 9 other source
files

Fixes:
 - http://autobuild.buildroot.org/results/4d60477cc46e4071dd3da21abfe7082e0d12cee2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/log4cplus: bump to version 2.0.5
Fabrice Fontaine [Tue, 24 Dec 2019 09:25:14 +0000 (10:25 +0100)]
package/log4cplus: bump to version 2.0.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lapack: bump to version 3.9.0
Benjamin Kamath [Tue, 24 Dec 2019 08:55:31 +0000 (00:55 -0800)]
package/lapack: bump to version 3.9.0

Most recent release hosted on Github instead of previous location

Signed-off-by: Benjamin Kamath <kamath.ben@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quota: add autoreconf
Fabrice Fontaine [Tue, 24 Dec 2019 08:06:25 +0000 (09:06 +0100)]
package/quota: add autoreconf

Commit feef4b733c4e5a6ee89d1554d29786304be7a720 added a patch on
configure.ac but forgot to set QUOTA_AUTORECONF=YES

Fixes:
 - http://autobuild.buildroot.org/results/15f2dbfbafc91719ad1f5209811300ddaa5cec91

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lftp: bump to version 4.9.0
Fabrice Fontaine [Mon, 23 Dec 2019 22:31:07 +0000 (23:31 +0100)]
package/lftp: bump to version 4.9.0

Drop second patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libffi: fix build failure on power7 and older
Fabrice Fontaine [Mon, 23 Dec 2019 21:36:10 +0000 (22:36 +0100)]
package/libffi: fix build failure on power7 and older

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: remove patch
Giulio Benetti [Thu, 12 Dec 2019 14:01:18 +0000 (15:01 +0100)]
package/libnss: remove patch

Remove uClibc fix patch since its change has been upstreamed despite the
comment contained in patch.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on powerpc without <sys/auxv.h>
Giulio Benetti [Tue, 10 Dec 2019 12:13:22 +0000 (13:13 +0100)]
package/libnss: fix build failure on powerpc without <sys/auxv.h>

Add patch to fix build failure on PowerPc without <sys/auxv.h>. The patch
inserts #if statements to include or note <sys/auxv.h> prior it exists.

Fixes:
http://autobuild.buildroot.net/results/8bf95bd8a0aec8c53889308ab1e00d0a94f53d57/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: fix build failure on RHEL 7
Giulio Benetti [Thu, 12 Dec 2019 14:01:17 +0000 (15:01 +0100)]
package/libnss: fix build failure on RHEL 7

-DLINUX flag was passed to OS_CFLAGS instead of DEFINES, but OS_CFLAGS
is only used when cross-compiling, not when native building.

Add patch to fix build failure on RHEL 7 host by substituting OS_CFLAGS
with DEFINES.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/atmel: fix at91bootstrap custom tarball call function
Eugen Hristev [Mon, 16 Dec 2019 15:06:34 +0000 (15:06 +0000)]
configs/atmel: fix at91bootstrap custom tarball call function

The function was wrong, missing '$', and we also fix the filename,
which was prefixed at91bootstrap and not at91bootstrap3 as it should
have been.

Fixes: 806409533202 ("configs/atmel: use tarballs to fetch U-Boot and at91bootstrap")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/at91bootstrap3: implement custom tarball download
Eugen Hristev [Mon, 16 Dec 2019 15:06:34 +0000 (15:06 +0000)]
boot/at91bootstrap3: implement custom tarball download

Implement possibility to download AT91Bootstrap from a custom tarball
URL.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libffi: fix build failure with powerpc7
Fabrice Fontaine [Sun, 24 Nov 2019 09:03:05 +0000 (10:03 +0100)]
package/libffi: fix build failure with powerpc7

Fixes:
 - http://autobuild.buildroot.org/results/5c9dd8fb3b6a128882b6250f197c80232d8a3b53

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openblas: bump to version 0.3.7
Fabrice Fontaine [Sun, 22 Dec 2019 22:34:43 +0000 (23:34 +0100)]
package/openblas: bump to version 0.3.7

Remove both patches (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/twolame: libsndfile is optional
Fabrice Fontaine [Sun, 22 Dec 2019 22:37:21 +0000 (23:37 +0100)]
package/twolame: libsndfile is optional

libsndfile is optional not mandatory since version 0.4.0 and
https://github.com/njh/twolame/commit/fe2770bffb9da10b7a26c82a340c81299ff82c76

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/twolame: bump to version 0.4.0
Fabrice Fontaine [Sun, 22 Dec 2019 22:37:20 +0000 (23:37 +0100)]
package/twolame: bump to version 0.4.0

- Drop patch (already in version)
- Update hash of license file (trailing whitespace removed:
  https://github.com/njh/twolame/commit/2cdcd064aa340b30209d8a0e86cef5a22394b4d5)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: remove trailing space in samba4.mk
Titouan Christophe [Mon, 23 Dec 2019 10:48:01 +0000 (11:48 +0100)]
package/samba4: remove trailing space in samba4.mk

This fixes the following warning from `make check-package`:
    package/samba4/samba4.mk:34: line contains trailing whitespace

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tpm2-tss: fix build without C++
Carlos Santos [Mon, 23 Dec 2019 11:13:21 +0000 (08:13 -0300)]
package/tpm2-tss: fix build without C++

C++ is required only for the fuzzing tests but AC_PROG_CXX is included
by configure.ac even when fuzzing is not enabled (which we don't do on
Buildroot).

The patch applied upstream had issues and was reverted[1]. Use a local
patch to solve the problem temporaryly.

Fixes:
    http://autobuild.buildroot.net/results/13f5e37b47b255da4158bec34e5459136f7e60d4
    http://autobuild.buildroot.net/results/1c26db2509c79e00c0de1165945277eaa57b149f
    http://autobuild.buildroot.net/results/b7b6b7b7aca79e847b442cbd2305427d91fe5d70
    http://autobuild.buildroot.net/results/1cd5a82a0e799aa5027e2e2c03b246332cc3a15d
    http://autobuild.buildroot.net/results/d7ec878907f714377c83e9a496e97cbf9382d787
    http://autobuild.buildroot.net/results/1c7f0c1b3ce4871cd87bd6059b1f0a6dc4e74a9c
    http://autobuild.buildroot.net/results/196b81d580325607c8da90beeb79e1f6b8ab8b47
    http://autobuild.buildroot.net/results/f90f7b4ac710b56686635f8ae27059c11b963e47

1. https://github.com/tpm2-software/tpm2-tss/commit/60c26e4c4faba6ba12469485653e17092b510840

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/imx6-sabresd: Remove unneeded CONFIG_VIDEO_CODA fragment
Fabio Estevam [Mon, 23 Dec 2019 12:22:53 +0000 (09:22 -0300)]
board/freescale/imx6-sabresd: Remove unneeded CONFIG_VIDEO_CODA fragment

Since kernel commit a5a56f07c272 ("ARM: imx_v6_v7_defconfig: Select the
coda driver as module") the VPU coda driver is selected as module, so it can
be safely removed from linux_qt5.fragment.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale/imx6-sabresd: Fix the Qt5 display names
Fabio Estevam [Mon, 23 Dec 2019 12:22:52 +0000 (09:22 -0300)]
board/freescale/imx6-sabresd: Fix the Qt5 display names

The correct syntax that Qt5 understands for display names is
"HDMI1" and "LVDS1", so fix it accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 19.11.1
James Hilliard [Mon, 23 Dec 2019 15:14:31 +0000 (08:14 -0700)]
package/python-autobahn: bump to version 19.11.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtomcrypt: add security patch for CVE-2019-17362
Thomas De Schampheleire [Mon, 23 Dec 2019 15:03:37 +0000 (16:03 +0100)]
package/libtomcrypt: add security patch for CVE-2019-17362

CVE-2019-17362:
"The der_decode_utf8_string function (in der_decode_utf8_string.c) does not
properly detect certain invalid UTF-8 sequences.  This allows
context-dependent attackers to cause a denial of service (out-of-bounds read
and crash) or read information from other memory locations via carefully
crafted DER-encoded data."

Details:
https://github.com/libtom/libtomcrypt/issues/507
https://nvd.nist.gov/vuln/detail/CVE-2019-17362

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycares: bump to version 3.1.0
James Hilliard [Mon, 23 Dec 2019 15:01:17 +0000 (08:01 -0700)]
package/python-pycares: bump to version 3.1.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: fix build without python3
Fabrice Fontaine [Sun, 15 Dec 2019 17:36:29 +0000 (18:36 +0100)]
package/samba4: fix build without python3

python3 is mandatory since version 4.11 and
https://gitlab.com/samba-team/samba/commit/63d20d7822ead1626f7cb41fdbae6c9300893314

The only way to build samba4 without python3 is to disable python
bindings through --disable-python option

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: fix build with uclibc
Fabrice Fontaine [Sun, 15 Dec 2019 17:34:31 +0000 (18:34 +0100)]
package/samba4: fix build with uclibc

Fixes:
 - autobuild.buildroot.org/results/9507739b3d5d51024ee9c60b74c2f85d5004e7e2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cython: bump version to 0.29.14
Adam Duskett [Sun, 8 Dec 2019 20:19:23 +0000 (12:19 -0800)]
package/python-cython: bump version to 0.29.14

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fluidsynth: new package
Julien Olivain [Mon, 9 Dec 2019 20:03:24 +0000 (21:03 +0100)]
package/fluidsynth: new package

FluidSynth is a real-time software synthesizer based on the SoundFont
2 specifications and has reached widespread distribution. FluidSynth
itself does not have a graphical user interface, but due to its
powerful API several applications utilize it and it has even found its
way onto embedded systems and is used in some mobile apps.

http://www.fluidsynth.org/

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM
Fabrice Fontaine [Sun, 22 Dec 2019 13:18:17 +0000 (14:18 +0100)]
package/alsa-lib: add BR2_PACKAGE_ALSA_LIB_UCM

ucm needs mixer since version 1.2.1 and
https://github.com/alsa-project/alsa-lib/commit/5c88b183718ce3df11bc4753c76d95f3e9de6c7e

So add a BR2_PACKAGE_ALSA_LIB_UCM option that selects
BR2_PACKAGE_ALSA_LIB_MIXER and selects this new option in
BR2_PACKAGE_ALSA_UTILS_ALSAUCM to avoid a build failure

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysdig: reorder selects alphabetically
Fabrice Fontaine [Sun, 22 Dec 2019 16:40:39 +0000 (17:40 +0100)]
package/sysdig: reorder selects alphabetically

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/raspi-gpio: bump to revision 4edfde1
Pierre-Jean Texier [Sun, 22 Dec 2019 21:13:12 +0000 (22:13 +0100)]
package/raspi-gpio: bump to revision 4edfde1

This includes the following changes:

4edfde1 Update raw output to show pull registers on 2711

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dpkt: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:56:39 +0000 (12:56 +0000)]
package/python-dpkt: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crc16: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:51:05 +0000 (12:51 +0000)]
package/python-crc16: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-coherence: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:44:59 +0000 (12:44 +0000)]
package/python-coherence: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pimd: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 12:25:06 +0000 (12:25 +0000)]
package/pimd: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-sys-cpu: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 12:17:53 +0000 (12:17 +0000)]
package/perl-sys-cpu: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: add optional gnutls dependency
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:29 +0000 (11:49 +0100)]
package/qpdf: add optional gnutls dependency

gnutls is an optional dependency since version 9.1.0 and
https://github.com/qpdf/qpdf/commit/88bedb41fe82df312d62e364a5a216b62fc8807c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qpdf: bump to version 9.1.0
Fabrice Fontaine [Sun, 22 Dec 2019 10:49:28 +0000 (11:49 +0100)]
package/qpdf: bump to version 9.1.0

- Add host-pkgconf dependency as it is used since version 9.0.0 and
  https://github.com/qpdf/qpdf/commit/12400475283f5081ea55f52a764e43f14032f6ba
- C++11 is mandatory since version 9.1.0 and
  https://github.com/qpdf/qpdf/commit/653ce3550d18a07194a4c3bb9b4a3d260ed842cd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wolfssl: bump to version 4.3.0
Sergio Prado [Sun, 22 Dec 2019 10:18:07 +0000 (07:18 -0300)]
package/wolfssl: bump to version 4.3.0

Remove patch already applied upstream (refactored on commit c06efb6c1fda0)

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: add option to install save/restore utils
David Owens [Mon, 16 Dec 2019 22:08:32 +0000 (16:08 -0600)]
package/ebtables: add option to install save/restore utils

This patch adds an option to include the tools on target that allow
the saving and restoring of ebtables. The upstream save utility is
replaced in this commit as it depended on perl which is not always
possible on an embedded system. The commit used to replace this
script seems to note it as a common approach across a few distros.

Signed-off-by: David Owens <david.owens@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: use a foreach make loop instead of a for shell loop
Thomas Petazzoni [Sun, 22 Dec 2019 20:17:36 +0000 (21:17 +0100)]
package/ebtables: use a foreach make loop instead of a for shell loop

make loops are more commonly used in Buildroot, are shorter, and have
built-in error handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ebtables: drop useless EBTABLES_SUBDIR variable
Thomas Petazzoni [Sun, 22 Dec 2019 20:15:33 +0000 (21:15 +0100)]
package/ebtables: drop useless EBTABLES_SUBDIR variable

This variable is never defined, so it is empty. Using it makes the
code needlessly more complicated than it needs to be, so let's drop
it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libglib2: bump version to 2.62.4
Adam Duskett [Sun, 22 Dec 2019 19:45:12 +0000 (11:45 -0800)]
package/libglib2: bump version to 2.62.4

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoarch/arc: Accommodate 16 KiB MMU pages
Alexey Brodkin [Wed, 18 Dec 2019 15:55:55 +0000 (18:55 +0300)]
arch/arc: Accommodate 16 KiB MMU pages

ARC processors are known for its configurability and one of those
configurable things is MMU page size which might be set to any
power of two from 4 KiB to 16 MiB, though in the Linux kernel we
only support 4, 8 and 16 KiB due to practical considerations.

And the most used setting is 8 KiB thus GNU LD assumes maximum
page size is 8 KiB by default and while this works for smaller
pages (it's OK to align segments by larger value it will be still
peoperly aligned) this breaks execution of user-space apps on HW
with larger pages because Elf sections might very well span across
allocated pages and thus make executable broken.

Simplest example:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c
$ arc-linux-readelf --segments a.out

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x2000 <-- See
  LOAD           0x001f24 0x00013f24 0x00013f24 0x000f0 0x0010c RW  0x2000
------------------------------------>8-----------------------------------

Fortunately we may override default page size settings with "max-page-size"
linker option this way:
------------------------------------>8-----------------------------------
$ arc-linux-gcc test.c -Wl,-z,max-page-size=16384
$ arc-linux-readelf --segments a.out
Elf file type is EXEC (Executable file)
Entry point 0x102c4
There are 8 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
...
  LOAD           0x000000 0x00010000 0x00010000 0x003e8 0x003e8 R E 0x4000 <-- See
  LOAD           0x001f24 0x00015f24 0x00015f24 0x000f0 0x0010c RW  0x4000
------------------------------------>8-----------------------------------

Which we implement with that change.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: fix comment: s/8196/8192/]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agolinux: Set MMU page size for ARC processors
Alexey Brodkin [Tue, 17 Dec 2019 13:15:28 +0000 (16:15 +0300)]
linux: Set MMU page size for ARC processors

ARC processors have configurable size of MMU page. This configuration
happens during ASIC design and couldn't be changed in final silicone
not to mention runtime changes.

Given PAGE_SIZE macro is used a lot throughout the Linux kernel sources
we just hardcode a required value during the kernel configuration.

We used to support different MMU page sizes for ARC in Buildroot for
quite some time now but so far we only tweaked uClibc on the matter.
That left us with the kernel configured with whatever was in used defconfig.

In most of real cases that's OK because typically we're building firmware
for a particular ASIC which is supposed to have a unique kernel defconfig.
But if we're dealing with FPGA-based boards or even simlators like
Synopsys DesignWare nSIM or QEMU it's possible to have dfferent MMU page
size configured in that target mostly for the sake of testing.

And so we're trying to solve 2 problems here:
 1. Make sure both user-space (via libc settings) and the Linux kernel
    are "on the same page", i.e. expect to use the same MMU page size.
 2. Simplify process of testing different page sizes.
    As now we first need to set page size in Buildroot and then in the
    kernel via "make linux-configure" or via Kconfig fragment.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[yann.morin.1998@free.fr: simplify the conditions]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch_data: bump to version 20191128
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:46 +0000 (12:06 +0100)]
package/usb_modeswitch_data: bump to version 20191128

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add the md5 from upstream]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/usb_modeswitch: bump to version 2.6.0
Fabrice Fontaine [Sun, 22 Dec 2019 11:06:44 +0000 (12:06 +0100)]
package/usb_modeswitch: bump to version 2.6.0

- Drop first patch (not needed anymore) and all jimtcl related
  workarounds as embedded jimtcl has been removed
- Parallel build issue has been fixed
- Update hash of COPYING as this file has been updated to reflect that
  dispatcher.c is under BSD-2-Clause

Full ChangeLog: http://www.draisberghof.de/usb_modeswitch/ChangeLog

Upstream provides an md5 of the tarball, so we add it (even though
that's a weak hash).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - meld with the license fix patch
  - simplify license list
  - add md5 from upstream
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openocd: use host-jimtcl for host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:37 +0000 (15:02 +0100)]
package/openocd: use host-jimtcl for host variant

This will fix a build failure raised by commit
06aa2995350922197c6db0a46e39ac5c37d5a49e which dropped patch on embedded
jimtcl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/jimtcl: add host variant
Fabrice Fontaine [Sun, 22 Dec 2019 14:02:36 +0000 (15:02 +0100)]
package/jimtcl: add host variant

host-jimtcl is needed for host-openocd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - call hook to update config.{guess,sub}
  - reformat the build commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openipmi: install to staging dir
Alexey Lukyanchuk [Mon, 16 Dec 2019 09:38:03 +0000 (12:38 +0300)]
package/openipmi: install to staging dir

Needed for packages which depend on openipmi.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-sc-firmware: bump to version 1.2.1
Julien Olivain [Wed, 18 Dec 2019 13:04:29 +0000 (14:04 +0100)]
package/freescale-imx/imx-sc-firmware: bump to version 1.2.1

This version is aligned with i.MX NXP BSP components version
rel_imx_4.14.98_2.0.0_ga

This patch also add the hash file.

Signed-off-by: Julien Olivain <juju@cotds.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 13:03:44 +0000 (13:03 +0000)]
package/syslog-ng: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(Err)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/spidev_test: update the upstream URL in Config.in
Mark Corbin [Wed, 18 Dec 2019 12:16:34 +0000 (12:16 +0000)]
package/spidev_test: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(404)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setserial: add an upstream URL to Config.in
Mark Corbin [Wed, 18 Dec 2019 11:39:38 +0000 (11:39 +0000)]
package/setserial: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rpcbind: add an upstream URL to Config.in
Mark Corbin [Wed, 18 Dec 2019 11:23:44 +0000 (11:23 +0000)]
package/rpcbind: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpam-nfc: new package
Louis Aussedat [Sun, 22 Dec 2019 12:05:00 +0000 (13:05 +0100)]
package/libpam-nfc: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/open2300: add hash file
Heiko Thiery [Sun, 22 Dec 2019 08:37:08 +0000 (09:37 +0100)]
package/open2300: add hash file

Add sha245 hashes for the source taball and the license file.

Note: the upstream subversion tree for open2300 is off-line (and the
package is no longer maintained), so the tarball is retrieved from
sources.buildroot.org, which makes it a stable (reproducible) tarball,
when our svn backend is in fact not stable.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr:
  - add the comment in the .hash file
  - update the commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qt5/qt5virtualkeyboard: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 14:10:58 +0000 (14:10 +0000)]
package/qt5/qt5virtualkeyboard: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt-webkit-kiosk: add an upstream URL to Config.in
Mark Corbin [Tue, 17 Dec 2019 13:57:37 +0000 (13:57 +0000)]
package/qt-webkit-kiosk: add an upstream URL to Config.in

Add an upstream URL to the help text in Config.in. This
addresses the 'Missing' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pypcap: update the upstream URL in Config.in
Mark Corbin [Tue, 17 Dec 2019 13:51:21 +0000 (13:51 +0000)]
package/python-pypcap: update the upstream URL in Config.in

Update the upstream URL in the help text in Config.in. This
addresses the 'Invalid(405)' URL status in the package stats
web page output.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnfc: drop leftover comment
Yann E. MORIN [Sun, 22 Dec 2019 13:03:59 +0000 (14:03 +0100)]
package/libnfc: drop leftover comment

In commit 1a49188a694 (package/libnfc: add sub-options to enable
individual drivers), the dependency on threads was moved down to
the individual drivers that need it, and libnfc as a whole lost
that dependency.

However, the global comment was not removed. Do so now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/freescale-imx/firmware-imx: fix the ahab-container name
Fabio Estevam [Tue, 17 Dec 2019 18:18:54 +0000 (15:18 -0300)]
package/freescale-imx/firmware-imx: fix the ahab-container name

After the firmware-imx bump to version 8.1.1 the following
error is observed when building freescale_imx8qxpmek_defconfig:

>> firmware-imx 8.1.1 Installing to images directory
cp /home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img
/home/fabio/buildroot/output/images/ahab-container.img
cp: cannot stat
'/home/fabio/buildroot/output/build/firmware-imx-8.1.1/firmware/seco/ahab-container.img':
No such file or directory

In the firmware-imx-8.1.1 (and newer) the i.MX8QXP container image was
renamed to mx8qx-ahab-container.img, so fix it accordingly.

Fixes: 3ec818769d51 ("package/freescale-imx/firmware-imx: bump version to 8.1.1")
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zip: fix musl compile
Peter Seiderer [Tue, 17 Dec 2019 22:11:34 +0000 (23:11 +0100)]
package/zip: fix musl compile

For musl toolchain timezone.c needs time.h include.

Fixes:
  http://autobuild.buildroot.net/results/77346a2cdb9eeef661527fb9566019f3cd1b82c9

  In file included from util.c:28:
  timezone.c: In function 'mktime':
  timezone.c:644:18: error: dereferencing pointer to incomplete type 'struct tm'
       save_isdst = tm->tm_isdst;

  timezone.c:661:11: warning: implicit declaration of function 'localtime'; did you mean 'dostime'? [-Wimplicit-function-declaration]
       ltm = localtime(&then);

  timezone.c:661:9: warning: assignment to 'struct tm *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
       ltm = localtime(&then);

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dropbear: group post-extract hooks with their call site
Thomas De Schampheleire [Fri, 20 Dec 2019 16:05:10 +0000 (17:05 +0100)]
package/dropbear: group post-extract hooks with their call site

The organization of dropbear.mk was no longer very clear: for some
post-extract blocks, the block was separated from the place where it was
enabled, but for others they were grouped.

Regroup all blocks with their call site and inside the condition, if
present.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openocd: selects jimtcl
Fabrice Fontaine [Sun, 22 Dec 2019 10:29:08 +0000 (11:29 +0100)]
package/openocd: selects jimtcl

Selects jimtcl instead of using the bundled one and drop first patch as
it is not needed anymore

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rygel: drop autoreconf
Fabrice Fontaine [Sun, 22 Dec 2019 10:33:42 +0000 (11:33 +0100)]
package/rygel: drop autoreconf

autoreconf is not needed since bump to version 0.36.2 in commit
76f86c409d016851d4d63216ada969e6cd81dd56

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mfoc: new package
Louis Aussedat [Fri, 20 Dec 2019 18:14:56 +0000 (19:14 +0100)]
package/mfoc: new package

Signed-off-by: Louis Aussedat <aussedat.louis@gmail.com>
[yann.morin.1998@free.fr: fix leading spaces in Config.in]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosdl2: add patch to fix busy-loop in C library
Paul Cercueil [Fri, 20 Dec 2019 16:04:38 +0000 (17:04 +0100)]
sdl2: add patch to fix busy-loop in C library

For some obscure reason, the order in which the libdrm/libgbm libraries
are loaded matters.

Without this fix, the first call to check_modesetting() will work and
load then unload all symbols properly, but the second call to this
function will lock up as soon as dlopen() is called on libdrm.

Swapping the order in which the libdrm and libgbm libraries are loaded
is enough to fix (or work around?) this issue.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
[yann.morin.1998@free.fr: add upstream commit URL]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apitrace: needs MMU
Fabrice Fontaine [Tue, 17 Dec 2019 20:12:02 +0000 (21:12 +0100)]
package/apitrace: needs MMU

apitrace uses its own version of gtest which needs fork() since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2

Moreover, apitrace also uses fork in ./lib/os/os_posix.cpp

Fixes:
 - http://autobuild.buildroot.org/results/1165ed62d9ae3dbdc13590c39bb55edd9a444567

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apitrace: needs threads
Fabrice Fontaine [Tue, 17 Dec 2019 20:12:01 +0000 (21:12 +0100)]
package/apitrace: needs threads

apitrace uses its own version of gtest which depends on threads since
version 8.0 and
https://github.com/apitrace/apitrace/commit/85cf7c8b86129699246574dfeec846e88a3f88a2

Moreover, apitrace also uses std::thread in lib/os/os_thread.hpp

Fixes:
 - http://autobuild.buildroot.org/results/03c4939fdfb7366c1835df946c4e869cd2b87b9f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtelnet: new package
Thomas De Schampheleire [Fri, 20 Dec 2019 13:44:36 +0000 (14:44 +0100)]
package/libtelnet: new package

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/snort: bump to version 2.9.15
Sergio Prado [Sun, 22 Dec 2019 09:33:01 +0000 (06:33 -0300)]
package/snort: bump to version 2.9.15

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/snort: fix error when building on a Fedora host machine
Sergio Prado [Sun, 22 Dec 2019 09:17:07 +0000 (06:17 -0300)]
package/snort: fix error when building on a Fedora host machine

Remove a logic from configure script that adds unsafe header/library path when
cross-compiling on a Fedora host machine.

Fixes:
http://autobuild.buildroot.net/results/47a367c2c5cbf13079b0e60ad7ebe3dbd05756d4
http://autobuild.buildroot.net/results/837e43b085ac30fb8545c67352403ceb7de59976
http://autobuild.buildroot.net/results/a69df3959b45620f811c18744aa661caa479aef4
many more...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-math-prime-util: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:44 +0000 (21:18 +0100)]
package/perl-math-prime-util: new package

Standard generated with utils/scancpan.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-math-bigint: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:43 +0000 (21:18 +0100)]
package/perl-math-bigint: new package

Standard generated with utils/scancpan.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl-crypt-openssl-aes: new package
Thomas De Schampheleire [Wed, 18 Dec 2019 20:18:42 +0000 (21:18 +0100)]
package/perl-crypt-openssl-aes: new package

Standard generated with utils/scancpan, manually updating _LICENSE and
adding openssl dependency.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>