buildroot.git
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>
6 years agouclibc: backport upstream patch adding fcntl definitions on OpenRISC
Thomas Petazzoni [Fri, 20 Apr 2018 09:55:22 +0000 (11:55 +0200)]
uclibc: backport upstream patch adding fcntl definitions on OpenRISC

A number of fcntl.h definitions were missing on OpenRISC in uClibc-ng,
causing build failures such as:

gfile.c: In function 'splice_stream_with_progress':
gfile.c:3017:35: error: 'F_SETPIPE_SZ' undeclared (first use in this function)
   buffer_size = fcntl (buffer[1], F_SETPIPE_SZ, 1024 * 1024);

This comit backports a patch that was merged in upstream uClibc-ng,
which addresses this problem.

Fixes:

  http://autobuild.buildroot.net/results/182ebbba6c7466b07e965e5120d919cbcf5e9da6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/config-fragments/autobuild: update all Buildroot pre-built toolchains
Thomas Petazzoni [Thu, 19 Apr 2018 20:26:54 +0000 (22:26 +0200)]
support/config-fragments/autobuild: update all Buildroot pre-built toolchains

This commit updates all the pre-built Buildroot toolchains, which have
all been rebuilt with Buildroot as of commit 046c5e2. The initial
motivation for this update is that an upcoming bump of procps-ng uses
fopencookie(), which has only been introduced in musl 1.1.19, which
itself started being used in Buildroot after the 2018.02 release.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.0.1
Bernd Kuhls [Sat, 21 Apr 2018 09:19:43 +0000 (11:19 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.0.1

Removed patch 0002, upstream committed a different fix:
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=cbee1bfb34274668a05995b9d4c78ddec9e5ea4c
https://cgit.freedesktop.org/mesa/mesa/commit/?h=18.1&id=5a75019ad0270a974788a9b8648ba98ff4203768

Renumbered patch 0003 -> 0002.

Tested using test-pkg (removed skipped toolchains from log):

                armv5-ctng-linux-gnueabi [ 1/46]: OK
              armv7-ctng-linux-gnueabihf [ 2/46]: OK
                        br-aarch64-glibc [ 3/46]: OK
                           br-arcle-hs38 [ 4/46]: OK
                  br-arm-cortex-a9-glibc [ 6/46]: OK
                   br-arm-cortex-a9-musl [ 7/46]: OK
                             br-arm-full [ 9/46]: OK
                   br-i386-pentium4-full [12/46]: OK
                br-i386-pentium-mmx-musl [13/46]: OK

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.9.x series
Bernd Kuhls [Sat, 21 Apr 2018 08:49:58 +0000 (10:49 +0200)]
linux-headers: bump 4.9.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibuv: bump to version 1.20.1
Asaf Kahlon [Fri, 20 Apr 2018 14:16:50 +0000 (17:16 +0300)]
libuv: bump to version 1.20.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{14, 15, 16}.x series
Fabio Estevam [Fri, 20 Apr 2018 11:53:48 +0000 (08:53 -0300)]
linux-headers: bump 4.{14, 15, 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.3
Fabio Estevam [Fri, 20 Apr 2018 11:53:47 +0000 (08:53 -0300)]
linux: bump default to version 4.16.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobootstrap: bump to version 4.1.0
Yegor Yefremov [Fri, 20 Apr 2018 11:30:04 +0000 (13:30 +0200)]
bootstrap: bump to version 4.1.0

Also install bootstrap.min.css.map as it is referenced from
bootstrap.min.css.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tk: new package
Romain Naour [Fri, 20 Apr 2018 08:29:01 +0000 (10:29 +0200)]
package/tk: new package

Use the same version as tcl package.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tcllib: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:29:00 +0000 (10:29 +0200)]
package/tcllib: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tcl: update license to SPDX format
Romain Naour [Fri, 20 Apr 2018 08:28:59 +0000 (10:28 +0200)]
package/tcl: update license to SPDX format

While at it add the license file hash.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: fix transform regexp for older tar versions
Yann E. MORIN [Fri, 20 Apr 2018 07:36:32 +0000 (09:36 +0200)]
download/git: fix transform regexp for older tar versions

Older versions of tar (e.g. 1.27.1) incorrectly interpret the escaping
of the regexp separator, and generate broken tarballs.

For example, given the following transform expression:
    --transform="s/^\.\//squashfs-e38956b92f738518c29734399629e7cdb33072d3\//"

the resulting paths in the generated tarball would be:
    squashfs-e38956b92f738518c29734399629e7cdb33072d3\/

i.e. a directory which last character is indeed a '\'.

We fix that by using a separator which is very unlikely to occur in a
filename.

Fixes:
    http://autobuild.buildroot.org/results/742/7427f34e5c9f6d043b0fe6ad2c66cc0f31d2b24f/

and probably a slew of others as well...

Take this opportunity to fix indentation on the following line
(leading spaces, not TABs).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: improve static only build support
Baruch Siach [Fri, 20 Apr 2018 04:52:46 +0000 (07:52 +0300)]
lz4: improve static only build support

The current method of supporting static only build, removal of all lines
that match the SHARED regex from lib/Makefile, is crude and fragile.
Instead, patch lib/Makefile to allow disable of shared libraries.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpcd: fix legal info
Baruch Siach [Fri, 20 Apr 2018 05:23:35 +0000 (08:23 +0300)]
dhcpcd: fix legal info

The latest version bump to 7.0.3 moved dhcpcd.c to under src/. Since the
tarball now has a LICENSE file, use that instead.

While at it, add a hash for that file.

Fixes:
http://autobuild.buildroot.net/results/f57/f5790e0a82a3b814d828d18eb71a3f6c422bb2b8/
http://autobuild.buildroot.net/results/6b9/6b930827913f9b4d2602d5777f4243ba7b295ca7/
http://autobuild.buildroot.net/results/603/603eda004a502f613e9b92cea4fb8cc9e4068255/

Cc: John Stile <johns@msli.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: fix host build with glibc older than 2.17
Baruch Siach [Fri, 20 Apr 2018 04:17:20 +0000 (07:17 +0300)]
lz4: fix host build with glibc older than 2.17

glibc before 2.17 require the -lrt linker option for clock_gettime(). We
do not support pre 2.17 glibc for the target anymore, but there are
still host platforms with these versions. Add upstream patch to skip use
of clock_gettime() with older glibc versions.

Should fix:
http://autobuild.buildroot.net/results/bc5/bc5d6447ab16a61d9dcf56723106f0b107826ef4/
http://autobuild.buildroot.net/results/7dd/7dd47bef902845a0f7803f1a6c702ec154855858/
http://autobuild.buildroot.net/results/952/9523dbc767dc325befabeb9240c4009e78779c7d/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: needs NPTL
Baruch Siach [Tue, 17 Apr 2018 11:54:44 +0000 (14:54 +0300)]
zeromq: needs NPTL

The recent zeromq version bump to 4.2.5 added a call to
pthread_condattr_setclock() which is only provided by the NPTL
implementation of pthreads. Add this dependency to zeromq and all
reverse dependencies recursively.

Fixes:
http://autobuild.buildroot.net/results/2d0/2d070074097270a1e6973bc19e2bded2a7023c49/
http://autobuild.buildroot.net/results/1ce/1ce6d6f0f6390f552954a09f7dc753e0baa86675/
http://autobuild.buildroot.net/results/97c/97c5b9f3bc2c94f8476e884b9a3163bbf2dad8d4/

Cc: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoprosody: add dependency on shared libraries
Danomi Manchego [Wed, 18 Apr 2018 09:03:39 +0000 (05:03 -0400)]
prosody: add dependency on shared libraries

The prosody package uses several Lua packages that require shared libraries.
Therefore, prosody must require shared libraries too.

Fixes: http://autobuild.buildroot.net/results/b126bce0bbd111f021ed5be7c8773fef2a8f8579
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: remove Philipp Claves' entry
Baruch Siach [Tue, 17 Apr 2018 09:44:04 +0000 (12:44 +0300)]
DEVELOPERS: remove Philipp Claves' entry

The email address of Philipp Claves bounces.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libcec: disable build infos
Romain Naour [Wed, 18 Apr 2018 21:13:30 +0000 (23:13 +0200)]
package/libcec: disable build infos

Build infos can break the build due to missing terminating " character.

Fixes:
http://autobuild.buildroot.net/results/3b1/3b1182783fc958dfed96c6b1c097993662fc7308

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogrub2: force -fno-stack-protector in CPPFLAGS
Tarek El-Sherbiny [Thu, 19 Apr 2018 08:36:59 +0000 (09:36 +0100)]
grub2: force -fno-stack-protector in CPPFLAGS

In commit 2a27294e9ade6130a12ced9a1f152c51431a870e ("grub2: force
-fno-stack-protector in CFLAGS"), a fix was made to the grub2 package
to make it build properly even when SSP support is enabled.

However, commit 20a4583ebf7fe97ea22a1ea11621dd44a8114ca5 ("security
hardening: add RELFO, FORTIFY options") reworked how SSP options are
passed, and they are now passed in CPPFLAGS instead of CFLAGS, making
the fix introduced by 2a27294e9ade6130a12ced9a1f152c51431a870e no
longer operating.

This commit will force no-stack-protector in CPPFLAGS instead of
CFLAGS.

Fixes bug #10961.

Signed-off-by: Tarek El-Sherbiny <tarek_el-sherbiny@waters.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add test for syslog-ng
Ricardo Martincoski [Thu, 19 Apr 2018 19:14:18 +0000 (16:14 -0300)]
support/testing: add test for syslog-ng

Check:
 - the daemon is started;
 - a message is collected;
 - the daemon does not issue a warning message on startup.

When the .conf file version does not match the package version a warning
message shows up on serial on every boot. This message is generated by
syslog-ng before it is running, so it is not logged to
/var/log/messages. So in order to test the message is generated, restart
the server. It makes the message appears on /var/log/messages (since the
server is already running) where its existence can be easily tested
using grep.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosyslog-ng: bump version header in conf file to 3.10
Ricardo Martincoski [Thu, 19 Apr 2018 19:14:17 +0000 (16:14 -0300)]
syslog-ng: bump version header in conf file to 3.10

Remove a runtime warning message about configuration file being too old.

Do the same as commit 3dad25466d "syslog-ng: Bump version header in conf
file to 3.9". Package version of syslog-ng is 3.10.1, so bump version
number in syslog-ng.conf to 3.10.

Also add a comment to avoid the same warning message reappears when the
package is bumped.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Cc: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: be sure we do fetch something
Yann E. MORIN [Thu, 19 Apr 2018 20:51:28 +0000 (22:51 +0200)]
download/git: be sure we do fetch something

The different versions of git will behave in different ways when
fetching remote references, as summarised by the table below:

              |     ancient git         | new git
--------------------------------------------------------------------
git fetch     | fetch all refs but tags | fetches all refs but tags
git fetch -t  | fetches only tags       | fetch all refs and tags

(git-fetch may still fetch tags, but only if reachable from a branch)

So, to cover all the bases, we do a simple fetch, to be sure we have
branches, followed by the existing fetch -t, to get extra tags.

Fixes:
    http://autobuild.buildroot.net/results/0a2/0a238a7f55ea56c33b639ad03ed5796143426889/build-end.log

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain-external-custom: allow specifying relative path to binaries
Calin Crisan [Sun, 25 Mar 2018 10:18:55 +0000 (13:18 +0300)]
toolchain-external-custom: allow specifying relative path to binaries

There are cases where a downloaded toolchain doesn't have its binaries
placed directly in a "bin" subfolder (where BuildRoot currently looks
for them).

A common example is the official Raspberry Pi Toolchain
(https://github.com/raspberrypi/tools), which has its binaries in
"arm-bcm2708/arm-linux-gnueabihf/bin".

This commit introduces BR2_TOOLCHAIN_EXTERNAL_REL_BIN_PATH that defaults
to "bin" and can be changed as needed.

Signed-off-by: Calin Crisan <ccrisan@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: rework a bit how TOOLCHAIN_EXTERNAL_REL_BIN_PATH is defined.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolz4: bump to version 1.8.1.2
Baruch Siach [Thu, 19 Apr 2018 09:46:35 +0000 (12:46 +0300)]
lz4: bump to version 1.8.1.2

Use lib and lz4 make targets to avoid build of the manual generator, and
the examples. Both of them use the target compiler to build host tools.

Add license files hashes.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomulticat: bump to version 2.2
Baruch Siach [Thu, 19 Apr 2018 05:28:37 +0000 (08:28 +0300)]
multicat: bump to version 2.2

Drop upstream patches.

Add upstream patch fixing build with musl libc.

Add license file hash.

Set LDLIBS to TARGET_LDFLAGS for TARGET_LDFLAGS to be added to the link
commands. Makefile does not use the LDFLAGS environment variable. This
fixes static linking.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodhcpc: bump to version 7.0.3
Yegor Yefremov [Thu, 19 Apr 2018 05:57:37 +0000 (07:57 +0200)]
dhcpc: bump to version 7.0.3

Use sha256 checksum from *.distinfo.asc file.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotslib: update to 1.16
Martin Kepplinger [Thu, 19 Apr 2018 13:43:05 +0000 (15:43 +0200)]
tslib: update to 1.16

For those who wonder what happend, as usual, there's a changelog summary:
https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we have a sane repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:21 +0000 (18:48 +0200)]
download/git: ensure we have a sane repository

There are cases where a repository might be broken, e.g. when a previous
operation was killed or otherwise failed unexpectedly.

We fix that by always initialising the repository, as suggested by
Ricardo. git-init is safe on an otherwise-healthy repository:

    Running git init in an existing repository is safe. It will not
    overwrite things that are already there. [...]

Using git-init will just ensure that we have the strictly required files
to form a sane tree. Any blob that is still missing would get fetched
later on.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodownload/git: ensure we always work in the expected repository
Yann E. MORIN [Tue, 17 Apr 2018 16:48:20 +0000 (18:48 +0200)]
download/git: ensure we always work in the expected repository

git always look directories up until it finds a repository. In case
the git cache is broken, it may no longer be identified as a repository,
and git will look higher in the directories until it finds one.

In the default conditions, this would be Buildroot's own git tree
(because DL_DIR is a subdir of Buildroot), but in some situations may
very well be any repository the user has Buildroot in, like a
br2-external tree...

So, we force git to use our git cache and never look elsewhere, as
Suggested by Ricardo.

Use GIT_DIR, as it has been there for ages now, while --git-dir was
only introduced later (even if most distros ship an later version),
as suggested by Arnout.

Also fix the one call to git that was not using the wrapper.

Reported-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopixiewps: add missing dependency on threads
Guillaume W. Bres [Wed, 18 Apr 2018 14:33:53 +0000 (16:33 +0200)]
pixiewps: add missing dependency on threads

Fixes:

  http://autobuild.buildroot.net/results/0c8d0eeb693ac29739845f489caffc2f9fa3b262/

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscanpypi: add support for the new PyPI infrastructure
Yegor Yefremov [Wed, 18 Apr 2018 09:55:42 +0000 (11:55 +0200)]
scanpypi: add support for the new PyPI infrastructure

https://pypi.python.org URL has been changed to https://pypi.org.

Package's JSON object now contains sha256 checksum, so use it
instead of locally computed one. Change comments in the hash
file accordingly.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wmctrl: x-includes and x-libraries must be set for cross-compiling
Romain Naour [Tue, 17 Apr 2018 18:22:08 +0000 (20:22 +0200)]
package/wmctrl: x-includes and x-libraries must be set for cross-compiling

set x-includes and x-libraries configure option for cross-compiling.
wmctrl can use poisoned paths if these options are not passed to
configure script.

Fixes:
http://autobuild.buildroot.net/results/7e5/7e5cba8a5650a00e10d1a5528f38cb2bf772aee1

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: fix check-package warning
Thomas Petazzoni [Wed, 18 Apr 2018 08:58:06 +0000 (10:58 +0200)]
nmap: fix check-package warning

Fixes:

package/nmap/nmap.mk:88: expected indent with tabs
93 lines processed
1 warnings generated

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-xlrd: fix check-package warnings on Config.in.host
Thomas Petazzoni [Tue, 17 Apr 2018 12:57:05 +0000 (14:57 +0200)]
package/python-xlrd: fix check-package warnings on Config.in.host

Fixes:

package/python-xlrd/Config.in.host:4: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoConfig.in: fix check-package warning
Thomas Petazzoni [Tue, 17 Apr 2018 12:54:45 +0000 (14:54 +0200)]
Config.in: fix check-package warning

Fixes:

Config.in:203: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
Config.in:204: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomariadb: bump version to 10.1.32
Ryan Coe [Mon, 16 Apr 2018 18:40:00 +0000 (11:40 -0700)]
mariadb: bump version to 10.1.32

Release notes: https://mariadb.com/kb/en/mariadb-10132-release-notes/
Changelog: https://mariadb.com/kb/en/mariadb-10132-changelog/

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/wayland: Bump version to 1.15.0
Alexey Brodkin [Mon, 16 Apr 2018 16:58:30 +0000 (19:58 +0300)]
package/wayland: Bump version to 1.15.0

All hashes provided by upstream.

Updated Yann's patch:
 - Took v2 from https://patchwork.freedesktop.org/patch/143038/
 - Rebased on top of v1.15

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/weston: Bump version to 4.0.0
Alexey Brodkin [Mon, 16 Apr 2018 16:25:26 +0000 (19:25 +0300)]
package/weston: Bump version to 4.0.0

Added all hashes provided by upstream.

Yann's patch was integrated in upstream, see:
https://cgit.freedesktop.org/wayland/weston/commit/?id=fa41bdfbc

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovalgrind: bump version to 3.13.0
Peter Seiderer [Mon, 16 Apr 2018 16:09:00 +0000 (18:09 +0200)]
valgrind: bump version to 3.13.0

- update site
- add license hash
- remove 0004-Fixes-for-musl-libc.patch (applied upstream, see [1]) and
  corresponding autoreconf option

[1] https://sourceware.org/git/?p=valgrind.git;a=commit;h=f8f1e9cb434cc97ce16586437407a6ac7e6a74a7

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agousb_modeswitch: set CXX to false when C++ is missing
Baruch Siach [Tue, 17 Apr 2018 04:00:28 +0000 (07:00 +0300)]
usb_modeswitch: set CXX to false when C++ is missing

Similar to the openocd fix in commit 5966e2dc54 (package/openocd: fix
fallout after no-C++ fixups) the jimctl that is bundled with
usb_modeswitch also wants to find a binary. This broke with commit
4cd1ab158 (core: alternate solution to disable C++). Revert to 'false'
instead of 'no' here as well.

Fixes:
http://autobuild.buildroot.net/results/b4d/b4d4e925763cb6558af915f9781afe07fc557ebc/
http://autobuild.buildroot.net/results/61b/61b9dc2148df2e8fd0b30e62aedbfd30bb755e19/
http://autobuild.buildroot.net/results/468/468a7e6b049f159fbb4e79d3a12b53ca890f6933/

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl: bump to version 5.26.2
Francois Perrad [Tue, 17 Apr 2018 03:25:57 +0000 (05:25 +0200)]
perl: bump to version 5.26.2

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5: qt5websockets: install missing qml modules
Manfred Schlaegl [Wed, 11 Apr 2018 12:40:37 +0000 (14:40 +0200)]
qt5: qt5websockets: install missing qml modules

QML modules for QtWebSockets are located in /usr/qml/QtWebSockets since
Qt 5.5.

/usr/qml/Qt/WebSockets still exists for compatibility reasons, but
it contains only a qmldir file which points to ../../QtWebSockets/.

see also: http://doc.qt.io/qt-5.6/qtwebsockets-qmlmodule.html

Signed-off-by: Manfred Schlaegl <manfred.schlaegl@ginzinger.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt53d: install missing QML modules, plugins and examples
Romain Reignier [Mon, 16 Apr 2018 00:30:43 +0000 (02:30 +0200)]
qt53d: install missing QML modules, plugins and examples

Some files were missing on the first build of qt53d but added later:
- by qt5base for the plugins because it copies the whole /usr/lib/qt/plugins
  directory
- by qt5declarative for the QML modules because it copies the whole
  /usr/qml directory

Also, the qt53d examples were not installed if
BR2_PACKAGE_QT5BASE_EXAMPLES was set.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomicropython: bump version to v1.9.3
Blomme, Maarten [Mon, 16 Apr 2018 13:28:47 +0000 (13:28 +0000)]
micropython: bump version to v1.9.3

(With correct formatting now)

The build step now requires building mpy-cross first.

Signed-off-by: Blomme, Maarten <Maarten.Blomme@flir.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolegacy: remove options made legacy 5 years ago
Yann E. MORIN [Mon, 16 Apr 2018 14:11:16 +0000 (16:11 +0200)]
legacy: remove options made legacy 5 years ago

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/swupdate: default website have a new API
Julien Corjon [Mon, 16 Apr 2018 13:20:35 +0000 (15:20 +0200)]
package/swupdate: default website have a new API

2018.03 introduce a new website with Websocket asynchronous
communication[1]

[1] https://github.com/sbabic/swupdate/blob/master/doc/source/mongoose.rst

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS
Thomas Petazzoni [Sun, 15 Apr 2018 20:22:45 +0000 (22:22 +0200)]
linux-firmware: support paths with subdirs in LINUX_FIRMWARE_DIRS

Following commit cdb7876f63a253254b86637aaac8b255a426b60a
("linux-firmware: add Qualcomm video accelerator and GPU firmware
options"), LINUX_FIRMWARE_DIRS can now contain entries with subdirs,
such as "qcom/venus-1.8". Such entries are currently not supported by
the logic in LINUX_FIRMWARE_INSTALL_DIRS.

Indeed the current logic consists in:

 - Removing the destination directory
 - Copying to the destination directory

Unfortunately, the last step fails if a component of the path leading
to the destination directory does not exist. To overcome this, we
simply add the appropriate mkdir before the copy.

Fixes:

  http://autobuild.buildroot.net/results/54cbca90742faf486e59d95b95a0b0494e47b385/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoalsa-lib: update license file hash
Baruch Siach [Mon, 16 Apr 2018 06:26:26 +0000 (09:26 +0300)]
alsa-lib: update license file hash

FSF address update.

Fixes:
http://autobuild.buildroot.net/results/1b9/1b9ec9cc0f22a58ad37f21be1b6eb4cc064b6dbc/
http://autobuild.buildroot.net/results/d32/d32ae8b67c1aade7225c42a4685dc62fdaa0b0e3/
http://autobuild.buildroot.net/results/d9b/d9b8e918fa4a1f7a9470473f82bb21b3dce1acc4/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoupmpdcli: don't test if the binary exists in the init script
Carlos Santos [Mon, 16 Apr 2018 02:29:44 +0000 (23:29 -0300)]
upmpdcli: don't test if the binary exists in the init script

The test doesn't make sense. It just exits without any error if the
binary doesn't exist, which is silly.

Replace the DAEMON variable, which was used only once, by the full path
of the binary file.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>