buildroot.git
6 years agolibarchive: add hash for license file
Fabrice Fontaine [Sun, 29 Apr 2018 09:51:31 +0000 (11:51 +0200)]
libarchive: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibasplib: add hash for license file
Fabrice Fontaine [Sun, 29 Apr 2018 10:16:16 +0000 (12:16 +0200)]
libasplib: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-daemonize: fix check-package warnings
Thomas Petazzoni [Sun, 29 Apr 2018 08:00:16 +0000 (10:00 +0200)]
python-daemonize: fix check-package warnings

Fixes:

package/python-daemonize/Config.in:2: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-daemonize/Config.in:3: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-daemonize/Config.in:4: should be indented with one tab (http://nightly.buildroot.org/#_config_files)
package/python-daemonize/Config.in:5: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
package/python-daemonize/Config.in:6: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.4.x series
Bernd Kuhls [Sun, 29 Apr 2018 07:17:22 +0000 (09:17 +0200)]
linux-headers: bump 4.4.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: Fix typo for chipmunk package
Bernd Kuhls [Sun, 29 Apr 2018 07:11:46 +0000 (09:11 +0200)]
DEVELOPERS: Fix typo for chipmunk package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.0.2
Bernd Kuhls [Sun, 29 Apr 2018 07:10:38 +0000 (09:10 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.0.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: set $USER in rust tests
Eric Le Bihan [Sat, 28 Apr 2018 22:14:13 +0000 (00:14 +0200)]
support/testing: set $USER in rust tests

When the run-time tests to build rust and rust-bin packages are run via Docker,
the $USER environment variable is not set, which makes cargo fail when
initializing the test project.

So add it to make cargo happy.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcsv: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 22:00:31 +0000 (00:00 +0200)]
libcsv: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-watchdog: add missing runtime dependency
Yegor Yefremov [Fri, 16 Feb 2018 13:32:01 +0000 (14:32 +0100)]
python-watchdog: add missing runtime dependency

Script watchmedo requires python-setuptools.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-watchdog: add support for uClibc
Yegor Yefremov [Fri, 16 Feb 2018 13:32:00 +0000 (14:32 +0100)]
python-watchdog: add support for uClibc

This patch fixes uClibc detection.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovte: new package
Stefan Fröberg [Tue, 16 Jan 2018 23:15:58 +0000 (01:15 +0200)]
vte: new package

The VTE package contains a termcap file implementation for
terminal emulators.

Signed-off-by: Stefan Fröberg <stefan.froberg@petroprogram.com>
[Thomas: fix encoding of license name.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: concentrate on uClibc
Waldemar Brodkorb [Sat, 28 Apr 2018 20:35:12 +0000 (22:35 +0200)]
DEVELOPERS: concentrate on uClibc

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouclibc: update to 1.0.30
Waldemar Brodkorb [Sat, 28 Apr 2018 20:33:14 +0000 (22:33 +0200)]
uclibc: update to 1.0.30

Patches are upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcrossguid: bump to version 0.2.2
Fabrice Fontaine [Sat, 28 Apr 2018 20:00:43 +0000 (22:00 +0200)]
libcrossguid: bump to version 0.2.2

- Add hash for license file

- guid.cpp and guid.h have been renamed Guid.cpp and Guid.hpp (they
  will be renamed back to guid.cpp and guid.hpp in next release)

- Continue to use package-generic infrastructure as cmake doesn't work
  properly with this version. Commit such as
  https://github.com/graeme-hill/crossguid/commit/974def4e0ad62b8fea17d6dee7c4f9b0d65eaa2c
  is needed. Migration on cmake should be done in next package
  release.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcroco: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 19:03:27 +0000 (21:03 +0200)]
libcroco: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibconfuse: bump to version 3.2.1
Fabrice Fontaine [Sat, 28 Apr 2018 18:57:14 +0000 (20:57 +0200)]
libconfuse: bump to version 3.2.1

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibconfig: bump to version 1.7.2
Fabrice Fontaine [Sat, 28 Apr 2018 17:33:05 +0000 (19:33 +0200)]
libconfig: bump to version 1.7.2

- Update site to github
 - Add hash for license file
 - Add patch to disable documentation (sent upstream:
https://github.com/hyperrealm/libconfig/pull/116)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: add amdgpu firmware blobs
David Barbion [Fri, 27 Apr 2018 11:51:43 +0000 (13:51 +0200)]
linux-firmware: add amdgpu firmware blobs

Add support for Volcanic Islands (VI), Sea Islands (CI) and Southern
Islands (SI) cards.

This firmware files will be needed if linux kernel is compiled with
amdgpu enabled.

Signed-off-by: David Barbion <davidb@230ruedubac.fr>
[Thomas: add hash for LICENSE.amdgpu]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcgicc: add hash of license files
Fabrice Fontaine [Sat, 28 Apr 2018 14:23:22 +0000 (16:23 +0200)]
libcgicc: add hash of license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: enable cdio-paranoia support
Fabrice Fontaine [Sat, 28 Apr 2018 16:51:36 +0000 (18:51 +0200)]
mpd: enable cdio-paranoia support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcli: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 14:35:19 +0000 (16:35 +0200)]
libcli: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcdaudio: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 14:29:41 +0000 (16:29 +0200)]
libcdaudio: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboinc: replace systemd script
Fabrice Fontaine [Sat, 28 Apr 2018 14:24:17 +0000 (16:24 +0200)]
boinc: replace systemd script

Remove buildroot systemd script to use the script embedded by boinc
since version 7.9.1.
Set BOINC_USERS to be able to use this script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobluez-alsa: new package
Jörg Krause [Fri, 6 Apr 2018 08:19:24 +0000 (10:19 +0200)]
bluez-alsa: new package

bluez-alsa is a Bluetooth Audio ALSA Backend.

Note that we are using the latest commit from git master branch
instead of the latest version tag v1.2.0 which is almost a year old
and is 64 commits behind master.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas:
 - simplify the comments in the "depends on"
 - move the Config.in comment below the hcitop option to let
   menuconfig properly indent the hcitop option under bluez-alsa]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: add mms support
Fabrice Fontaine [Sat, 7 Apr 2018 11:52:30 +0000 (13:52 +0200)]
mpd: add mms support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agochipmunk: new package
Francois Perrad [Wed, 11 Apr 2018 10:01:46 +0000 (12:01 +0200)]
chipmunk: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: use BUILD_SHARED, BUILD_STATIC and INSTALL_STATIC options.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/bash-completion: new package
Jeremy Rosen [Tue, 24 Apr 2018 09:28:22 +0000 (11:28 +0200)]
package/bash-completion: new package

Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
[Thomas: transfer the explanation from the commit log into the
Config.in help text, after rewording it.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodropbear: unbundle libtomath & libtomcrypt
Francois Perrad [Wed, 28 Mar 2018 08:38:27 +0000 (10:38 +0200)]
dropbear: unbundle libtomath & libtomcrypt

DROPBEAR_SMALL_CODE could be only honored with bundled libtomcrypt

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodropbear: fix build with non-SSP capable toolchain
Thomas Petazzoni [Sat, 28 Apr 2018 15:31:43 +0000 (17:31 +0200)]
dropbear: fix build with non-SSP capable toolchain

By default, Dropbear's configure script enables hardening
flags. Unfortunately, the check for SSP only uses AC_COMPILE_IFELSE(),
and therefore doesn't properly test for the availability of libssp,
visible only at link time.

In addition, Buildroot passes its own hardening flags, depending on
various global options. So, we simply disable hardening flags in
Dropbear.

This fixes a build failure with non-SSP capable toolchains happening
since the bump to 2018.76.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodropbear: bump to version 2018.76
Francois Perrad [Wed, 28 Mar 2018 08:38:26 +0000 (10:38 +0200)]
dropbear: bump to version 2018.76

with this new version:
  - "configure --enable-static" should now be used instead of
    "make STATIC=1"
  - any customised options should be put in localoptions.h

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mesa3d: add Radeon SI support
Michał Kalbarczyk [Fri, 27 Apr 2018 13:49:15 +0000 (15:49 +0200)]
package/mesa3d: add Radeon SI support

Signed-off-by: Michał Kalbarczyk <fazibear@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcec: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 13:16:11 +0000 (15:16 +0200)]
libcec: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcddb: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 13:12:08 +0000 (15:12 +0200)]
libcddb: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcgroup: add hash for license file
Fabrice Fontaine [Sat, 28 Apr 2018 12:59:09 +0000 (14:59 +0200)]
libcgroup: add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcgicc: bump to version 3.2.19
Fabrice Fontaine [Sat, 28 Apr 2018 12:43:15 +0000 (14:43 +0200)]
libcgicc: bump to version 3.2.19

Use tar.gz archive (tar.bz2 is not available since 3.2.17)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcgi: add license file (with its hash)
Fabrice Fontaine [Sat, 28 Apr 2018 12:26:27 +0000 (14:26 +0200)]
libcgi: add license file (with its hash)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboinc: bump to version 7.10.1
Fabrice Fontaine [Sat, 28 Apr 2018 12:02:50 +0000 (14:02 +0200)]
boinc: bump to version 7.10.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: disable qemu user emulation on MIPS64 for host variant
Adam Duskett [Sun, 1 Apr 2018 16:36:36 +0000 (18:36 +0200)]
qemu: disable qemu user emulation on MIPS64 for host variant

According to target/mips/TODO in the Qemu sources:

MIPS64
------
- Userland emulation (both n32 and n64) not functional.

And indeed, trying to run a mips64n32 binary under qemu user emulation
results in:

Invalid ELF image for this architecture

So we move the BR2_mips64(el) dependency from
BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to
BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS, so that only the system
emulation is available on mips64, and not the user-mode emulation.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: introduce BR2_PACKAGE_HOST_QEMU_{SYSTEM, USER}_ARCH_SUPPORTS
Thomas Petazzoni [Sun, 1 Apr 2018 16:36:35 +0000 (18:36 +0200)]
qemu: introduce BR2_PACKAGE_HOST_QEMU_{SYSTEM, USER}_ARCH_SUPPORTS

Not all architectures are supported by both the system emulation and
user-mode emulation in Qemu, so a single
BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS doesn't work very well.

Therefore, this commit introduces the
BR2_PACKAGE_HOST_QEMU_{SYSTEM,USER}_ARCH_SUPPORTS hidden options. We
keep the BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS option for the (numerous)
architectures supported by both system emulation and user-mode
emulation.

The 'select' logic to make sure that at least either system emulation
or user-mode emulation is selected is reworked, and done carefully to
avoid recursive Kconfig dependencies.

For now BR2_PACKAGE_HOST_QEMU_SYSTEM_ARCH_SUPPORTS and
BR2_PACKAGE_HOST_QEMU_USER_ARCH_SUPPORTS are the same, but they will
become different in a follow-up commit.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: rewrite BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to be more readable
Thomas Petazzoni [Sun, 1 Apr 2018 16:36:34 +0000 (18:36 +0200)]
qemu: rewrite BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to be more readable

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-tools: perf: add option to build TUI
John Keeping [Mon, 2 Apr 2018 14:02:49 +0000 (15:02 +0100)]
linux-tools: perf: add option to build TUI

Since Linux 3.10, perf's NO_NEWT configuration option simply sets
NO_SLANG=1 and there is no dependency on libnewt.

We already handle NO_SLANG correctly based on whether or not
BR2_PACKAGE_SLANG is selected, so all we accomplish by setting NO_NEWT=1
is disabling perf's TUI when all of the dependencies are available.

To simplify all of this, introduce a new config option to enable the
perf TUI which depends on slang and add a check to prevent building the
TUI on versions which are too old.  The check for NO_SLANG is equivalent
to checking if NO_NEWT is required as NO_SLANG was added in the same
commit that removed the libnewt dependency and deprecated NO_NEWT
(6692c262df4f, "perf tools: Remove dependency on libnewt", 2013-03-28).

Signed-off-by: John Keeping <john@metanate.com>
[Thomas: add missing BR2_USE_MMU dependency, coming from the slang
package. Noticed by Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoabootimg: new package
Julien BOIBESSOT [Wed, 4 Apr 2018 12:54:09 +0000 (14:54 +0200)]
abootimg: new package

This tool might be useful on Android devices modded with Buildroot. Indeed
it allows to modify Android Boot Image partition directly from running
rootfs and so let the user free to keep Android stuff on his device
(mainly bootloader) while testing/using Buildroot kernel/rootfs.

For example, one can modify kernel cmdline on Boot Image partition and
tell Android bootloader to launch kernel with a given rootfs fitted with BR
instead of Android's one.

Build-tested with ./utils/test-pkg -p abootimg -c config.abootimg -a
with config.abootimg containing:
BR2_USE_MMU=y
BR2_PACKAGE_ABOOTIMG=y
BR2_PACKAGE_UTIL_LINUX=y
BR2_PACKAGE_UTIL_LINUX_LIBBLKID=y

                armv5-ctng-linux-gnueabi [ 1/47]: OK
              armv7-ctng-linux-gnueabihf [ 2/47]: OK
                        br-aarch64-glibc [ 3/47]: OK
                           br-arcle-hs38 [ 4/47]: OK
                            br-arm-basic [ 5/47]: OK
                  br-arm-cortex-a9-glibc [ 6/47]: OK
                   br-arm-cortex-a9-musl [ 7/47]: OK
                   br-arm-cortex-m4-full [ 8/47]: SKIPPED
                             br-arm-full [ 9/47]: OK
                    br-arm-full-nothread [10/47]: OK
                      br-arm-full-static [11/47]: OK
                            br-bfin-full [12/47]: SKIPPED
                   br-i386-pentium4-full [13/47]: OK
                br-i386-pentium-mmx-musl [14/47]: OK
                       br-m68k-5208-full [15/47]: SKIPPED
                      br-m68k-68040-full [16/47]: OK
                    br-microblazeel-full [17/47]: OK
                 br-mips32r6-el-hf-glibc [18/47]: OK
                      br-mips64-n64-full [19/47]: OK
                 br-mips64r6-el-hf-glibc [20/47]: OK
                      br-mipsel-o32-full [21/47]: OK
                          br-nios2-glibc [22/47]: OK
                      br-openrisc-uclibc [23/47]: OK
               br-powerpc-603e-basic-cpp [24/47]: OK
             br-powerpc64le-power8-glibc [25/47]: OK
               br-powerpc64-power7-glibc [26/47]: OK
                  br-powerpc-e500mc-full [27/47]: OK
                             br-sh4-full [28/47]: OK
                        br-sparc64-glibc [29/47]: OK
                         br-sparc-uclibc [30/47]: OK
                    br-x86-64-core2-full [31/47]: OK
                          br-x86-64-musl [32/47]: OK
                          br-xtensa-full [33/47]: OK
                     i686-ctng-linux-gnu [34/47]: OK
                          linaro-aarch64 [35/47]: OK
                              linaro-arm [36/47]: OK
             mips64el-ctng_n32-linux-gnu [37/47]: OK
             mips64el-ctng_n64-linux-gnu [38/47]: OK
        powerpc-ctng_e500v2-linux-gnuspe [39/47]: OK
                     sourcery-arm-armv4t [40/47]: OK
                            sourcery-arm [41/47]: OK
                     sourcery-arm-thumb2 [42/47]: OK
                         sourcery-mips64 [43/47]: OK
                           sourcery-mips [44/47]: OK
                          sourcery-nios2 [45/47]: OK
                         sourcery-x86-64 [46/47]: OK
           x86_64-ctng_locales-linux-gnu [47/47]: OK
47 builds, 3 skipped, 0 build failed, 0 legal-info failed

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
[Thomas: fix license.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/clang: new package
Valentin Korenblit [Wed, 11 Apr 2018 16:14:49 +0000 (18:14 +0200)]
package/clang: new package

This patch provides Clang tools and libraries for the host and
libclang for the target.

host-clang is needed to build libclc, which is provided in a follow-up
patch.

We need libclang for the target because it is used by most of OpenCL
implementations.

A later patch in this series will enable Clover, the OpenCL
implementation part of Mesa3D, which requires libclang.

clang-tblgen must be copied to HOST_DIR as it is not installed by
default but is needed for cross-compilation:
http://lists.llvm.org/pipermail/cfe-dev/2015-June/043318.html

Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
[Thomas:
 - Add Config.in comment about BR2_TOOLCHAIN_HAS_GCC_BUG_64735
 - Minor reformatting/rewrapping of comments in .mk file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: bump version to 4.8.1
Bernd Kuhls [Sat, 28 Apr 2018 10:11:47 +0000 (12:11 +0200)]
package/samba4: bump version to 4.8.1

Release notes: https://www.samba.org/samba/history/samba-4.8.1.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/php: security bump to version 7.2.5
Bernd Kuhls [Sat, 28 Apr 2018 09:57:35 +0000 (11:57 +0200)]
package/php: security bump to version 7.2.5

Changelog: http://www.php.net/ChangeLog-7.php#7.2.5

This release fixes several security-related bugs for which no CVE id's
are assigned at the time of writing:

https://bugs.php.net/bug.php?id=76129
https://bugs.php.net/bug.php?id=76130
https://bugs.php.net/bug.php?id=76248
https://bugs.php.net/bug.php?id=76249

Removed patch 0007, applied upstream:
https://github.com/php/php-src/commit/2842aa2a078eb1cad55540b61e7edf111395150d

Re-numbered patch 0009 -> 0007.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/freeswitch-mod-bcg729: bump version to v1.0.4
Bernd Kuhls [Sat, 28 Apr 2018 09:54:40 +0000 (11:54 +0200)]
package/freeswitch-mod-bcg729: bump version to v1.0.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-subprocess32: new package
Asaf Kahlon [Sat, 28 Apr 2018 08:11:50 +0000 (11:11 +0300)]
python-subprocess32: new package

A backport of the Python 3 subprocess module for use on Python 2.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebsite: footer.html: really use version 1.7.1 of clipboard.js
Peter Korsgaard [Sat, 28 Apr 2018 08:44:09 +0000 (10:44 +0200)]
website: footer.html: really use version 1.7.1 of clipboard.js

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: add favicon.png
Peter Korsgaard [Fri, 27 Apr 2018 19:45:39 +0000 (21:45 +0200)]
docs/website: add favicon.png

The website advertises a favicon in PNG format, but we don't actually
provide one. From docs/website/header.html:

<link rel="shortcut icon" href="images/favicon.png">

So add one. Generated by:

convert -geometry 32x32!  docs/website/images/logo_small.png \
  docs/website/favicon.png

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebsite: footer.html: use 1.7.1 release of clipboard.js
Peter Korsgaard [Fri, 27 Apr 2018 19:50:16 +0000 (21:50 +0200)]
website: footer.html: use 1.7.1 release of clipboard.js

The clipboard javascript code causes an error:

Uncaught TypeError: Illegal constructor
    at buildroot.js:58

Which is caused by a recent change in upstream clipboard.js:

https://github.com/zenorocha/clipboard.js/releases/tag/v2.0.0

Changes constructor from new Clipboard() to new ClipboardJS()

The issue was that we were using the master version of clipboard.js instead
of a specific release.  Fix it by using the 1.7.1 version (latest release
before the constructor change) instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-visitor: new package
Adam Duskett [Tue, 6 Feb 2018 13:25:05 +0000 (08:25 -0500)]
python-visitor: new package

A tiny library to facilitate visitor implementation in Python

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-daemonize: new package
Lionel Flandrin [Wed, 11 Apr 2018 16:37:12 +0000 (18:37 +0200)]
python-daemonize: new package

Library to enable your code run as a daemon process on Unix-like
systems.

Signed-off-by: Lionel Flandrin <lionel@svkt.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: don't remove support files if python chosen
Jonas Zaddach [Tue, 10 Apr 2018 19:37:22 +0000 (12:37 -0700)]
package/gdb: don't remove support files if python chosen

If one wants to use GDB with python support on the target, you need the support
files installed by GDB. These get usually deleted to save some space, so I just
wrapped the Makefile code deleting them in a conditional block depending on if
python support is active or not.

Signed-off-by: Jonas Zaddach <jzaddach@cisco.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - use positive logic "if python is disabled"
 - put the comment inside the condition, as suggested by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts: drop xorg-release script
Thomas Petazzoni [Wed, 25 Apr 2018 19:24:02 +0000 (21:24 +0200)]
support/scripts: drop xorg-release script

This script causes a large number of flake8 warnings, is rarely used
(but even never used), and is going to be replaced at some point by
the improved pkg-stats that will give details about the upstream
version available for all packages, not just X.org packages.

Therefore, let's drop the xorg-release script in order to silence all
those flake8 warnings:

support/scripts/xorg-release:36:1: E302 expected 2 blank lines, found 1
support/scripts/xorg-release:58:27: E201 whitespace after '{'
support/scripts/xorg-release:58:44: E203 whitespace before ':'
support/scripts/xorg-release:58:54: E202 whitespace before '}'
support/scripts/xorg-release:63:1: E305 expected 2 blank lines after class or function definition, found 1
support/scripts/xorg-release:64:15: E261 at least two spaces before inline comment
support/scripts/xorg-release:67:32: E261 at least two spaces before inline comment
support/scripts/xorg-release:86:1: E302 expected 2 blank lines, found 1
support/scripts/xorg-release:95:1: E302 expected 2 blank lines, found 1
support/scripts/xorg-release:107:1: E302 expected 2 blank lines, found 1
support/scripts/xorg-release:115:20: W601 .has_key() is deprecated, use 'in'
support/scripts/xorg-release:123:34: E201 whitespace after '{'
support/scripts/xorg-release:124:46: E203 whitespace before ':'
support/scripts/xorg-release:124:50: E202 whitespace before '}'
support/scripts/xorg-release:127:1: E302 expected 2 blank lines, found 1
support/scripts/xorg-release:141:15: W601 .has_key() is deprecated, use 'in'
support/scripts/xorg-release:146:21: W601 .has_key() is deprecated, use 'in'
support/scripts/xorg-release:176:1: E305 expected 2 blank lines after class or function definition, found 1
support/scripts/xorg-release:180:1: W391 blank line at end of file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibsigrokdecode: bump version to 0.5.1
Peter Korsgaard [Fri, 27 Apr 2018 16:52:15 +0000 (18:52 +0200)]
libsigrokdecode: bump version to 0.5.1

And add a license hash.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/flann: fix build with cmake >= 3.11
Romain Naour [Wed, 25 Apr 2018 21:17:49 +0000 (23:17 +0200)]
package/flann: fix build with cmake >= 3.11

CMake < 3.11 doesn't support add_library() without any source file
(i.e add_library(foo SHARED)). But flann CMake use a trick that use
an empty string "" as source list (i.e add_library(foo SHARED "")).
This look like a bug in CMake < 3.11.

With CMake >= 3.11, the new behaviour of add_library() break the
existing flann CMake code.

>From CMake Changelog [1]:
"add_library() and add_executable() commands can now be called without
 any sources and will not complain as long as sources are added later
 via the target_sources() command."

Note: flann CMake code doesn't use target_sources() since no source file
are provided intentionally since the flann shared library is created by
linking with the flann_cpp_s static library with this line:

target_link_libraries(flann_cpp -Wl,-whole-archive flann_cpp_s -Wl,-no-whole-archive)

If you try to use "add_library(flann_cpp SHARED ${CPP_SOURCES})" (as it should
be normally done), the link fail due to already defined symbol.

They are building the shared version using the static library "to speedup the
build time" [3]

This issue is already reported upstream [2] with a proposed solution.

Fixes:
http://autobuild.buildroot.net/results/b2f/b2febfaf8c44ce477b3e4a5b9b976fd25e8d7454

[1] https://cmake.org/cmake/help/v3.11/release/3.11.html
[2] https://github.com/mariusmuja/flann/issues/369
[3] https://github.com/mariusmuja/flann/commit/0fd62b43be2fbb0b8d791ee36290791224dc030c

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Davide Viti <zinosat@tiscali.it>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovde2: add hashes for license files
Adam Duskett [Fri, 27 Apr 2018 14:34:48 +0000 (10:34 -0400)]
vde2: add hashes for license files

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprocps-ng: fix build for sparc
Baruch Siach [Fri, 27 Apr 2018 04:40:33 +0000 (07:40 +0300)]
procps-ng: fix build for sparc

Add a patch taken from upstream bug report to fix wrong signal undefined
in sparc.

Fixes:
http://autobuild.buildroot.net/results/b02/b02bd2e4032287d3c5c58255d621ef785c5d1380/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprocps-ng: fix build without wide character support
Baruch Siach [Fri, 27 Apr 2018 04:40:32 +0000 (07:40 +0300)]
procps-ng: fix build without wide character support

Define OFF_XTRAWIDE to disable use of wchar API when the toolchain does
not support that.

Fixes:
http://autobuild.buildroot.net/results/b96/b96d29d64f455726a53a7adcfd3edd546346201c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump version to 1.20.2
Asaf Kahlon [Fri, 27 Apr 2018 04:49:05 +0000 (07:49 +0300)]
libuv: bump version to 1.20.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/znc: bump version to 1.6.6
Bernd Kuhls [Thu, 26 Apr 2018 18:35:34 +0000 (20:35 +0200)]
package/znc: bump version to 1.6.6

Added license hash, switched _UPSTREAM to an upstream directory which
also contains older release tarballs.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.16.5
Fabio Estevam [Thu, 26 Apr 2018 18:39:09 +0000 (15:39 -0300)]
linux: bump default to version 4.16.5

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{14, 16}.x series
Fabio Estevam [Thu, 26 Apr 2018 18:39:10 +0000 (15:39 -0300)]
linux-headers: bump 4.{14, 16}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump to version 0.0.20180420
Jason A. Donenfeld [Mon, 23 Apr 2018 21:28:28 +0000 (23:28 +0200)]
wireguard: bump to version 0.0.20180420

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosquashfs: add zstd support
Peter Seiderer [Mon, 16 Apr 2018 19:39:53 +0000 (21:39 +0200)]
squashfs: add zstd support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozstd: add libzstd support
Peter Seiderer [Mon, 16 Apr 2018 19:39:52 +0000 (21:39 +0200)]
zstd: add libzstd support

Add patch to split libzstd install target into pc, static, shared and
includes target. Call only the needed ones for the buildroot
staging/target install steps (respect the static/shared
configuration).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: as suggested by Yann E. Morin, refactor the build/install
commands to use only one invocation, with intermediate ZSTD_BUILD_LIBS
and ZSTD_INSTALL_LIBS variables, defined depending on whether
static/shared/static+shared is selected.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/squashfs: add zstd support
Peter Seiderer [Mon, 16 Apr 2018 19:39:51 +0000 (21:39 +0200)]
fs/squashfs: add zstd support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquashfs: add host zstd support
Peter Seiderer [Mon, 16 Apr 2018 19:39:50 +0000 (21:39 +0200)]
squashfs: add host zstd support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozstd: add host libzstd support
Peter Seiderer [Mon, 16 Apr 2018 19:39:49 +0000 (21:39 +0200)]
zstd: add host libzstd support

For the host only the libzstd library is built (no need for host-lz4
host-xz host-zlib dependencies because they affect only the cmdline
tool).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: use '-C $(@D)/lib' instead of '-C $(@D) lib' at build time,
to be consistent with what is done at install time, as suggested by
Yann E. Morin.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquashfs: add license hash
Peter Seiderer [Mon, 16 Apr 2018 19:39:48 +0000 (21:39 +0200)]
squashfs: add license hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetcat-openbsd: bump to version 1.190
Baruch Siach [Tue, 17 Apr 2018 10:52:52 +0000 (13:52 +0300)]
netcat-openbsd: bump to version 1.190

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoopenblas: fix build with musl libc
Baruch Siach [Tue, 17 Apr 2018 15:56:56 +0000 (18:56 +0300)]
openblas: fix build with musl libc

Add upstream patches to avoid use of __GLIBC_PREREQ when this macro is
not defined.

Fixes:
http://autobuild.buildroot.net/results/f13/f13d93372449c9bf1b3c79ed056b8d820470ae89/
http://autobuild.buildroot.net/results/e1c/e1cdcdfe15b4af523c7db71952ac25163733ffb1/
http://autobuild.buildroot.net/results/778/77821a4a37171080fc7ee917862e77babeb06b88/

Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoprocps-ng: bump to version 3.3.14
Baruch Siach [Tue, 17 Apr 2018 19:58:16 +0000 (22:58 +0300)]
procps-ng: bump to version 3.3.14

Drop upstream patches.

Add secure SHA256 hash.

Add license files hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpg-error: bump to version 1.29
Baruch Siach [Tue, 17 Apr 2018 09:37:13 +0000 (12:37 +0300)]
libgpg-error: bump to version 1.29

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agognupg2: security bump to version 2.2.6
Baruch Siach [Tue, 17 Apr 2018 09:37:12 +0000 (12:37 +0300)]
gnupg2: security bump to version 2.2.6

Fixes CVE-2018-9234: Unenforced configuration allows for apparently
valid certifications actually signed by signing subkeys.

Remove --disable-doc from configure options. We pass this options to all
autotools packages.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpgme: fix run-time compatibility with gnupg2 2.2.6
Baruch Siach [Tue, 17 Apr 2018 09:37:11 +0000 (12:37 +0300)]
libgpgme: fix run-time compatibility with gnupg2 2.2.6

Add upstream patch fixing gpgme_op_verify regression with gnupg2 2.2.6.

https://lists.gnupg.org/pipermail/gnupg-users/2018-April/060230.html

Cc: Philipp Claves <claves@budelmann-elektronik.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoreaver: fix static link build issue
Guillaume W. Bres [Sun, 22 Apr 2018 15:51:59 +0000 (17:51 +0200)]
reaver: fix static link build issue

When libpcap itself is linked against other libraries, reaver fails to
build as it doesn't link with libpcap dependencies. This patch fixes
that by using the pcap-config program.

Fixes:

  http://autobuild.buildroot.net/results/899fd633288d5cd5aa221413cded857e4f743194/

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoudftools: add patch to fix build on musl
Thomas Petazzoni [Sun, 22 Apr 2018 13:26:00 +0000 (15:26 +0200)]
udftools: add patch to fix build on musl

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/rauc: Version bump to 0.4
Jim Brennan [Mon, 23 Apr 2018 18:52:54 +0000 (18:52 +0000)]
package/rauc: Version bump to 0.4

Version 0.4 supports bootloader updates to eMMC boot partitions.

Signed-off-by: Jim Brennan <jbrennan@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/uboot: default to kconfig buildsystem for latest version
Yann E. MORIN [Tue, 24 Apr 2018 16:34:10 +0000 (18:34 +0200)]
boot/uboot: default to kconfig buildsystem for latest version

By default, the builsystem for uboot defaults to 'legacy', while the
default version is very well capable of using the 'kconfig' buildsystem
instead.

Having the 'legacy' buildsystem be the default in that case makes it
quite inconvenient for users: they would expect to be able to use e.g.
uboot-menuconfig et al. with the default uboot version.

Switch to using 'kconfig' when we use the latest version. Keep the
'legacy' as default for everything else.

Also, invert the 'legacy' and 'kconfig' entries in the choice: it is
nicer to have the recent and future-proof entry first.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: fix Marvell ATF source code
Thomas Petazzoni [Mon, 23 Apr 2018 19:59:54 +0000 (21:59 +0200)]
support/testing: fix Marvell ATF source code

The version of the ARM Trusted Firmware from Marvell was a Git branch,
not a Git commit, leading to unreproducible results. So let's use a
Git commit instead, which is the latest available from the branch that
was previously used.

More specifically, this branch has recently seen a fix that is needed
for ATF to build properly with recent gcc versions:

  https://github.com/MarvellEmbeddedProcessors/atf-marvell/commit/c96ec59f8b819123a06e1839ab5578030cf263b0

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_macchiatobin_*: use a Git commit for ATF
Thomas Petazzoni [Mon, 23 Apr 2018 19:59:53 +0000 (21:59 +0200)]
configs/solidrun_macchiatobin_*: use a Git commit for ATF

The version of the ARM Trusted Firmware from Marvell was a Git branch,
not a Git commit, leading to unreproducible results. So let's use a
Git commit instead, which is the latest available from the branch that
was previously used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: fix ATF Vexpress test case
Thomas Petazzoni [Mon, 23 Apr 2018 20:14:56 +0000 (22:14 +0200)]
support/testing: fix ATF Vexpress test case

This test case currently fails to build with:

./build/juno/release/bl1/context_mgmt.o: In function `cm_prepare_el3_exit':
context_mgmt.c:(.text.cm_prepare_el3_exit+0x54): undefined reference to `cm_set_next_context'
context_mgmt.c:(.text.cm_prepare_el3_exit+0x54): relocation truncated to fit: R_AARCH64_JUMP26 against undefined symbol `cm_set_next_context'

This issue has been fixed upstream in commit
10c252c14b7f446c0b49ef1aafbd5d37804577dd, available since v1.3. So
while we bump, let's bump to the latest version of ATF, v1.5.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 16}.x series
Fabio Estevam [Tue, 24 Apr 2018 10:38:58 +0000 (07:38 -0300)]
linux-headers: bump 4.{4, 9, 14, 16}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.16.4
Fabio Estevam [Tue, 24 Apr 2018 10:38:57 +0000 (07:38 -0300)]
linux: bump default to version 4.16.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/warp7: Bump kernel and U-Boot versions
Fabio Estevam [Mon, 23 Apr 2018 20:32:44 +0000 (17:32 -0300)]
configs/warp7: Bump kernel and U-Boot versions

Bump kernel to version 4.16.3 and U-Boot to 2018.03.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts/check-uniq-files: remove csv module import
Thomas Petazzoni [Wed, 25 Apr 2018 19:19:22 +0000 (21:19 +0200)]
support/scripts/check-uniq-files: remove csv module import

Since commit 5563a1c6a48716debe2983869ddb757318094dce
("support/check-uniq-files: support weird locales and filenames"), the
'csv' Python module is no longer used by the check-uniq-files.

Due to this, flake8 complains with:

support/scripts/check-uniq-files:4:1: F401 'csv' imported but unused

Fix this by dropping the useless csv import.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agombedtls: security bump to version 2.7.2
Baruch Siach [Tue, 24 Apr 2018 11:48:22 +0000 (14:48 +0300)]
mbedtls: security bump to version 2.7.2

The release announcement mentions these security fixes:

  Defend against Bellcore glitch attacks by verifying the results of RSA
  private key operations.

  Fix implementation of the truncated HMAC extension. The previous
  implementation allowed an offline 2^80 brute force attack on the HMAC
  key of a single, uninterrupted connection (with no resumption of the
  session).

  Reject CRLs containing unsupported critical extensions.

  Fix a buffer overread in ssl_parse_server_key_exchange() that could
  cause a crash on invalid input. (CVE-2018-9988)

  Fix a buffer overread in ssl_parse_server_psk_hint() that could cause
  a crash on invalid input. (CVE-2018-9989)

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: disable static library on shared only
Baruch Siach [Tue, 24 Apr 2018 11:14:43 +0000 (14:14 +0300)]
lz4: disable static library on shared only

Don't build the static library when BR2_SHARED_LIBS=y, to reduce build
time.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomodem-manager: support a defaults file in the init script
Carlos Santos [Sat, 21 Apr 2018 13:00:10 +0000 (10:00 -0300)]
modem-manager: support a defaults file in the init script

Sometimes it is useful to pass some parameters to ModemManager when it
starts (e.g. --log-level). Allow the user add a file with such flags in
a MODEMMANAGER_ARGS variable. This is simpler than overriding the whole
startup script (e.g. by means of a rootfs overlay).

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: don't build library and tools in parallel
Baruch Siach [Sat, 21 Apr 2018 20:58:52 +0000 (23:58 +0300)]
lz4: don't build library and tools in parallel

Since commit e93fec6673e (lz4: bump to version 1.8.1.2) we use two make
targets, 'lib' and 'lz4'. Both targets depend on the static library.
When these targets run in parallel the two make instances that build the
static library race against each other. Split these targets to ensure
build order.

Should fix:
http://autobuild.buildroot.net/results/a8d/a8d956ff420f6a265c5c00b33646dbbc24ce2d48/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs: add openssl for kernel where necessary
Vincent Stehlé [Sun, 22 Apr 2018 14:38:24 +0000 (16:38 +0200)]
configs: add openssl for kernel where necessary

Add host-openssl to those configs, which need it for the Linux kernel build.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agostrace: fix build for m68k
Baruch Siach [Sun, 22 Apr 2018 18:51:14 +0000 (21:51 +0300)]
strace: fix build for m68k

Add upstream patch fixing build for m68k target.

Fixes:
http://autobuild.buildroot.net/results/bef/befdcb3f87c0490cd623520403b9467ec7359950/
http://autobuild.buildroot.net/results/ddb/ddb7616991468bc45d85aa1b56bec2cb5eb897c4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/unixodbc: bump version to 2.3.6
Bernd Kuhls [Sun, 22 Apr 2018 12:02:38 +0000 (14:02 +0200)]
package/unixodbc: bump version to 2.3.6

Added license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ccid: bump version to 1.4.29
Bernd Kuhls [Sun, 22 Apr 2018 11:55:18 +0000 (13:55 +0200)]
package/ccid: bump version to 1.4.29

Upstream moved to https://ccid.apdu.fr/ according to
http://pcsclite.alioth.debian.org/ccid.html, updated _SITE and
Config.in.

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pcsc-lite: bump version to 1.8.23
Bernd Kuhls [Sun, 22 Apr 2018 11:55:17 +0000 (13:55 +0200)]
package/pcsc-lite: bump version to 1.8.23

Upstream moved to https://muscle.apdu.fr/ according to
http://pcsclite.alioth.debian.org/, updated _SITE and Config.in.

Added license hash.

Added optional systemd support available since upstream commit
https://github.com/LudovicRousseau/PCSC/commit/30e10951f81b9480e788965f89d0d4d0aee909c0#diff-67e997bcfdac55191033d57a16d1408a

We need to add systemd support in this patch because omitting it will
cause an error during configure:

checking for LIBSYSTEMD... no
configure: error: install libsystemd-dev or use --disable-libsystemd

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update ARC pre-built toolchain
Thomas Petazzoni [Sun, 22 Apr 2018 10:26:02 +0000 (12:26 +0200)]
support/config-fragments/autobuild: update ARC pre-built toolchain

The toolchain has been rebuilt to fix the RPATH of the binutils programs.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update OpenRISC pre-built toolchain
Thomas Petazzoni [Sun, 22 Apr 2018 10:26:48 +0000 (12:26 +0200)]
support/config-fragments/autobuild: update OpenRISC pre-built toolchain

The toolchain has been rebuilt after commit
7fb6fe883a6ee360aa861fdae93d7441f9f5d52d, which adds more fcntl()
definitions in uClibc for OpenRISC.

Fixes:

  http://autobuild.buildroot.net/results/664e7ee968e46b7ac0054ce4d5d4f9a82201550e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobluez5_utils: add patch to fix readline issue
Thomas Petazzoni [Fri, 20 Apr 2018 14:07:13 +0000 (16:07 +0200)]
bluez5_utils: add patch to fix readline issue

Since bluez5_utils 5.49, some code using readline was compiled even if
readline was not available. After this issue was reported upstream, a
patch was proposed by an upstream developer to address the issue. This
commit integrates this patch (under review upstream), which fixes the
problem.

Fixes:

  http://autobuild.buildroot.net/results/3e266a79acab8b8eb33360f7afbc1cd6db46f7cb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolxc: fix offsetof() related musl build issue
Thomas Petazzoni [Fri, 20 Apr 2018 10:31:55 +0000 (12:31 +0200)]
lxc: fix offsetof() related musl build issue

This commit adds a patch that fixes a build issue with musl due to the
fact that offsetof() is used without including <stddef.h>.

Fixes:

  http://autobuild.buildroot.net/results/3c6e34cbcd43aba4dd2b18687bd89fc369c9dab7/

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