buildroot.git
6 years agosystemd: bump to 236, convert to meson
Adam Duskett [Mon, 1 Jan 2018 13:09:44 +0000 (08:09 -0500)]
systemd: bump to 236, convert to meson

systemd is no longer an autotools package, as such, it has now been converted
over to meson.

Even though systemd234 has meson support, it is broken with gcc7, as such
the revision bump and conversion to meson must be in a single patch.

Changes include:
  - Change systemd from an autotools package to a generic package
  - Changing all the options from --enable/disable to -Doption=true/false
  - Remove --without-python (no longer an option)
  - Remove all of the ac_cv_path_ variables, and move them into CONF_OPTS
    with the prefix -Doption-path=/path.
  - Add sha256sum's for the license files.
  - Remove 0002-build-check-for-ln-relative.patch and add
    0002-install-dont-use-ln-relative.patch in its place, the old patch relied on autotools and is no longer relevant.
  - Add 0004-add-false-option-for-tests.patch. With the conversion to meson,
    systemd no longer has the option to disable unit tests from being built.
    This patch re-adds the functionality. This prevents 381 files from being
    built, and prevents gcrypt from becoming a dependency.

Signed-off-by: Adam Duskett <Adamduskett@outlook.com>
Tested-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: gitlab-ci https://gitlab.com/ymorin/buildroot-ci/pipelines/15857672/builds
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoopen-lldp: new package
Laurent Charpentier [Tue, 16 Jan 2018 15:01:52 +0000 (16:01 +0100)]
open-lldp: new package

The lldpad package comes with utilities to manage an LLDP interface with
support for reading and configuring TLVs. TLVs and interfaces are individual
controlled allowing flexible configuration for TX only, RX only, or TX/RX
modes per TLV.

http://open-lldp.org/

Signed-off-by: Laurent Charpentier <laurent_pubs@yahoo.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-txaio: bump to version 2.8.2
Yegor Yefremov [Thu, 11 Jan 2018 09:25:18 +0000 (10:25 +0100)]
python-txaio: bump to version 2.8.2

Add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-autobahn: bump to version 17.10.1
Yegor Yefremov [Thu, 11 Jan 2018 09:25:17 +0000 (10:25 +0100)]
python-autobahn: bump to version 17.10.1

Add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-setuptools: bump to version v38.4.0
Yegor Yefremov [Thu, 11 Jan 2018 09:25:16 +0000 (10:25 +0100)]
python-setuptools: bump to version v38.4.0

Add licence checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibsemanage: add patch to make the build process more standard
Marcus Folkesson [Tue, 16 Jan 2018 08:22:33 +0000 (09:22 +0100)]
libsemanage: add patch to make the build process more standard

Patch the Makefiles to make PREFIX and DESTDIR follow standard
semantics to get rid of DESTDIR during compile time in
libsemanage.mk and generate proper pkg-config files.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibsepol: add patch to make the build process more standard
Marcus Folkesson [Tue, 16 Jan 2018 08:22:18 +0000 (09:22 +0100)]
libsepol: add patch to make the build process more standard

Patch the Makefiles to make PREFIX and DESTDIR follow standard
semantics to get rid of DESTDIR during compile time in
libsepol.mk and generate proper pkg-config files.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibselinux: add patch to make the build process more standard
Marcus Folkesson [Tue, 16 Jan 2018 08:21:53 +0000 (09:21 +0100)]
libselinux: add patch to make the build process more standard

Patch the Makefiles to make PREFIX and DESTDIR follow standard
semantics to get rid of DESTDIR during compile time in
libselinux.mk and generate proper pkg-config files.

Fixes:
 http://autobuild.buildroot.net/results/74d27370c7623e89e401203a485193340e992e7c/

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolua-utf8: new package
Francois Perrad [Sun, 14 Jan 2018 17:25:12 +0000 (18:25 +0100)]
lua-utf8: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibpqxx: apply upstream compilation fix
James Knight [Mon, 15 Jan 2018 20:54:37 +0000 (15:54 -0500)]
libpqxx: apply upstream compilation fix

Apply an upstream patch which addresses a compilation issue with respect
to an undefined 'timeval' structure. This issue exists in at least v6.0.
It is expected that this patch can be removed when libpqxx provides a
new releases (either v6.0.1 or v6.1).

Fixes:
http://autobuild.buildroot.net/results/48b015650ede4e55e199538072c7228cccf64422

Signed-off-by: James Knight <james.knight@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoconfigs/freescale_imx28evk: Bump U-Boot and kernel versions
Fabio Estevam [Tue, 16 Jan 2018 16:52:29 +0000 (14:52 -0200)]
configs/freescale_imx28evk: Bump U-Boot and kernel versions

Bump U-Boot to 2017.11 and kernel to 4.14.13 versions.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoboost: fix build with domoticz
Fabrice Fontaine [Tue, 16 Jan 2018 18:29:00 +0000 (19:29 +0100)]
boost: fix build with domoticz

Fix domoticz build with boost 1.66 and g++5

Patch fetch from one of the answer of
 https://github.com/domoticz/domoticz/issues/2034:
 workaround suggested to the boost developers

Fixes:
 - http://autobuild.buildroot.net/results/dec57c19e9aa2e367e23de2232c1d22a2f226a32

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopicocom: bump to version 3.0
Baruch Siach [Tue, 16 Jan 2018 13:17:56 +0000 (15:17 +0200)]
picocom: bump to version 3.0

Drop LDFLAGS forcing. Makefile now uses appends to environment LDFLAGS.

Add license hash.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibostree: bump to version 2018.1
Marcus Folkesson [Tue, 16 Jan 2018 08:23:12 +0000 (09:23 +0100)]
libostree: bump to version 2018.1

Remove patch since it is in mainline.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: install missing firmware files for rtlwifi
Romain Reignier [Sun, 7 Jan 2018 23:20:14 +0000 (00:20 +0100)]
linux-firmware: install missing firmware files for rtlwifi

All the rtlwifi firmware files were not installed, so added the
missing ones.

Signed-off-by: Romain Reignier <rom.reignier@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/glibc: remove the default value of the $(PKG)_SOURCE variable
Jerzy Grzegorek [Thu, 11 Jan 2018 22:28:44 +0000 (23:28 +0100)]
package/glibc: remove the default value of the $(PKG)_SOURCE variable

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/linux-firmware: install older versions for gcgb4 firmware
Yann E. MORIN [Mon, 15 Jan 2018 20:43:36 +0000 (21:43 +0100)]
package/linux-firmware: install older versions for gcgb4 firmware

Supposedly, older kernels could require that an older firmware be used,
so leave to the user the opportunity to choose the one they require.

Simplify the pattern as suggested by Peter. Thanks!

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/lib{va, va-intel-driver, va-utils}: bump version to 2.0.0
Bernd Kuhls [Mon, 18 Dec 2017 20:56:09 +0000 (21:56 +0100)]
package/lib{va, va-intel-driver, va-utils}: bump version to 2.0.0

EGL API support was removed upstream:
https://github.com/01org/libva/commit/fc277b8f5eb92a94b4a9112eba591f87072786ce#diff-67e997bcfdac55191033d57a16d1408a

GLX support now depends on X11:
https://github.com/01org/libva/commit/b9a72b9d8ca14e159a67c368d966ed6276f49bc9#diff-67e997bcfdac55191033d57a16d1408aR247

Added license hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/tvheadend: bump version
Bernd Kuhls [Mon, 18 Dec 2017 20:56:08 +0000 (21:56 +0100)]
package/tvheadend: bump version

This version adds support for libva 2.0, added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/mpv: fix build with libva 2.0
Bernd Kuhls [Mon, 18 Dec 2017 20:56:06 +0000 (21:56 +0100)]
package/mpv: fix build with libva 2.0

[Peter: rename to 0004-libva20.patch]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoutils/checkpackagelib: add function to check of the default package source variable
Jerzy Grzegorek [Sat, 13 Jan 2018 21:39:43 +0000 (22:39 +0100)]
utils/checkpackagelib: add function to check of the default package source variable

Signed-off-by: Jerzy Grzegorek <jerzy.m.grzegorek@gmail.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolttng-libust: bump version to 2.10.1
Philippe Proulx [Mon, 15 Jan 2018 21:55:38 +0000 (16:55 -0500)]
lttng-libust: bump version to 2.10.1

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoqt5: enable jscore/qt5declarative support for aarch64
Peter Seiderer [Mon, 15 Jan 2018 21:34:51 +0000 (22:34 +0100)]
qt5: enable jscore/qt5declarative support for aarch64

Fixes [1] (as suggested by JD Conley <jd.conley@gmail.com>).

[1] https://bugs.busybox.net/show_bug.cgi?id=10541

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibcpprestsdk: new package
Adam Duskett [Sun, 14 Jan 2018 19:56:44 +0000 (14:56 -0500)]
libcpprestsdk: new package

The C++ REST SDK is a Microsoft project for cloud-based client-server
communication in native code using a modern asynchronous C++ API design.
This project aims to help C++ developers connect to and interact with
services.

This package is licensed under the MIT package and depends on BOOST
and OpenSSL/LibreSSL.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoflatbuffers: new package
Fabrice Fontaine [Mon, 18 Dec 2017 21:10:39 +0000 (22:10 +0100)]
flatbuffers: new package

FlatBuffers is an efficient cross platform serialization
library for C++, C#, C, Go, Java, JavaScript, PHP, and
Python. It was originally created at Google for game
development and other performance-critical applications.

http://google.github.io/flatbuffers/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoscanpypi: add support for licence files checksums
Yegor Yefremov [Mon, 15 Jan 2018 10:04:50 +0000 (11:04 +0100)]
scanpypi: add support for licence files checksums

Store the list of detected licence files in the main object and
automatically add their sha256 checksums when creating *.hash file.

Bonus: fix wrong indentation.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoe2fsprogs: fix build for big-endian targets
Baruch Siach [Sat, 13 Jan 2018 18:34:14 +0000 (20:34 +0200)]
e2fsprogs: fix build for big-endian targets

Add upstream patch fixing two issues with big-endian target build.

Fixes:
http://autobuild.buildroot.net/results/33f/33f54b271843f926c94b8261b0d7e708987da407/
http://autobuild.buildroot.net/results/0f0/0f01192b03049f2042d318b3a2589ecc19d1cdd7/
http://autobuild.buildroot.net/results/4d2/4d2c5457a9c9a31d86409ca78fbc6d776fba6248/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoaoetools: new package
Sergio Prado [Mon, 15 Jan 2018 09:08:51 +0000 (07:08 -0200)]
aoetools: new package

The aoetools are programs for users of the ATA over Ethernet (AoE)
network storage protocol, a simple protocol for using storage over an
ethernet LAN.

Tested on Beaglebone Black.

Build tested with test-pkg.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
[Thomas:
 - fix check-package warnings
 - use SPDX license code, GPL-2.0
 - use github helper
 - pass TARGET_CONFIGURE_OPTS instead of just CC]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotests: add test for post-fakeroot script
Yann E. MORIN [Sun, 14 Jan 2018 14:16:58 +0000 (15:16 +0100)]
tests: add test for post-fakeroot script

Currently, only post-build and post-image scripts were tested, each with
their own test-script.

The two test-scripts only differ in the name of the log file they
create, and it is based on the name of the script, so it is easy to
share the script.

This allows us to easily re-use it for testing post-fakeroot scripts.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agofs: pass EXTRA_ENV to post-fakeroot script
Yann E. MORIN [Sun, 14 Jan 2018 14:16:57 +0000 (15:16 +0100)]
fs: pass EXTRA_ENV to post-fakeroot script

Like we do for post-build and post-image scripts, pass EXTRA_ENV to
post-fakeroot script.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/kconfig: ppply upstream nconfig ncurses/ncursesw fix
Guillermo A. Amaral [Sun, 14 Jan 2018 17:28:07 +0000 (09:28 -0800)]
support/kconfig: ppply upstream nconfig ncurses/ncursesw fix

Buildroot's "make nconfig" command stopped working a while ago on
Gentoo systems. Running the command would result in a crash.

The issue is caused by lxdialog's cflags which are also used to build
nconfig; It would detect *ncursesw* and turn on WIDECHAR support --
but the Makefile would still link to plain *ncurses* while building
nconfig (which was built without WIDECHAR support).

This would cause a crash after using *wattrset* on a WINDOW instance.
WIDECHAR *wattrset* would try to set the _color member in the WINDOW
struct which does not exist in the NON-WIDECHAR ncurses instance. It
would end up clobbering data outside the struct (usually _line entries).

An upstream patch fixes the issue, so we're applying it to Buildroot's
kconfig.

Signed-off-by: Guillermo A. Amaral <g@maral.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/python-mwclient: bump version to 0.8.7
Bernd Kuhls [Sun, 14 Jan 2018 18:18:27 +0000 (19:18 +0100)]
package/python-mwclient: bump version to 0.8.7

Removed patch applied upstream:
https://github.com/mwclient/mwclient/commit/60d4b933184172b98e4b31b79b4420c35571bbea

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agowolfssl: fix build on ARMV8
Sergio Prado [Mon, 15 Jan 2018 14:48:10 +0000 (12:48 -0200)]
wolfssl: fix build on ARMV8

Build on ARMV8 fails when hardware acceleration is enabled:

/tmp/ccmGP5RI.s: Assembler messages:
/tmp/ccmGP5RI.s:532: Error: invalid addressing mode at operand 2 -- `ld1 {v0.2d},[x0,256]'
/tmp/ccmGP5RI.s:568: Error: invalid addressing mode at operand 2 -- `st1 {v0.2d},[x0,256]'
/tmp/ccmGP5RI.s:581: Error: invalid addressing mode at operand 2 -- `ld1 {v0.2d},[x0,256]'
/tmp/ccmGP5RI.s:621: Error: invalid addressing mode at operand 2 -- `st1 {v0.2d},[x0,256]'

So let's disable ARMv8 hardware acceleration for now.

Fixes:
http://autobuild.buildroot.net/results/6080648394d09a0d382087831ee6f063c7638be9

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoaugeas: bump to version 1.9.0
Jörg Krause [Sun, 14 Jan 2018 16:34:12 +0000 (17:34 +0100)]
augeas: bump to version 1.9.0

Add two patches from upstream to fix a build issue when building an
example. Ideally, the examples should not be build at all. However,
upstream disliked the idea of adding configure options like
`--disable-examples` [1]. So we'll make do with the patches and force a
autoreconf.

Additionaly, the signature was checked and a hash for the license file
is added.

[1] https://github.com/hercules-team/augeas/issues/535

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoarmbian-firmware: fail build for missing file
Ricardo Martincoski [Sun, 14 Jan 2018 23:41:21 +0000 (21:41 -0200)]
armbian-firmware: fail build for missing file

When a file is listed to be installed but is missing from the package
source currently the first tar command exits with error code but it is
ignored and the build succeeds.
This issue by itself is minor because those listed files that are
present in the package source get installed to the target.
But the code is currently error prone, e.g. to a typo in the file list.

Fix this by first creating a tarball in the build directory and then
installing it, instead of using a pipe between the two tar invocations.
Also use && between the commands, so the first command that exits with
error code fails the build.
Since the two tar invocations remain in use, the desired behavior
remains the same:
 - list of files can contain *;
 - list of files can contain file inside path, and the path is then
   replicated in the target;
 - symlinks are not followed but are installed.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Sergey Matyukevich <geomatsi@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: fix install for Chelsio T[45]
Ricardo Martincoski [Sun, 14 Jan 2018 23:41:20 +0000 (21:41 -0200)]
linux-firmware: fix install for Chelsio T[45]

It's broken for the last 3 version bumps, since
1c9846ecc9 "linux-firmware: Bump to the latest version"

Fix it by updating the name of the file to install.
Do not use * since it would install also old versions that would take
1MB extra space in the target.

A comment to remember to update the file name when bumping the package
is not needed because a previous patch in the series makes the build
to fail for missing file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: fail build for missing file
Ricardo Martincoski [Sun, 14 Jan 2018 23:41:19 +0000 (21:41 -0200)]
linux-firmware: fail build for missing file

When a file is listed to be installed but is missing from the package
source currently the first tar command exits with error code but it is
ignored and the build succeeds.
This issue by itself is minor because those listed files that are
present in the package source get installed to the target.
But the code is currently error prone, e.g. to a typo in the file list.

Fix this by first creating a tarball in the build directory and then
installing it, instead of using a pipe between the two tar invocations.
Also use && between the commands, so the first command that exits with
error code fails the build.
Since the two tar invocations remain in use, the desired behavior
remains the same:
 - list of files can contain *;
 - list of files can contain file inside path, and the path is then
   replicated in the target;
 - symlinks are not followed but are installed.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoxen: bump to version 4.9.1
Peter Korsgaard [Sun, 14 Jan 2018 22:47:11 +0000 (23:47 +0100)]
xen: bump to version 4.9.1

Drop 0003-tools-libxc-xc_dom_arm-add-missing-variable-initiali.patch as that
is now upstream:

https://xenbits.xenproject.org/gitweb/?p=xen.git;a=commit;h=88bfbf90e35f1213f9967a97dee0b2039f9998a4

Drop security patches as 4.9.1 includes up to xsa-245.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/openblocks_a6_defconfig: bump linux kernel to 4.14.13
Peter Korsgaard [Sun, 14 Jan 2018 22:02:56 +0000 (23:02 +0100)]
configs/openblocks_a6_defconfig: bump linux kernel to 4.14.13

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/sheevaplug_defconfig: bump linux kernel to 4.14.13
Peter Korsgaard [Sun, 14 Jan 2018 21:53:55 +0000 (22:53 +0100)]
configs/sheevaplug_defconfig: bump linux kernel to 4.14.13

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-xlib: fix check-package warning
Joseph Kogut [Sun, 14 Jan 2018 21:16:57 +0000 (13:16 -0800)]
python-xlib: fix check-package warning

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agominnowboard-max: defconfigs: use silvermont x86 variant
Peter Korsgaard [Sun, 14 Jan 2018 21:01:15 +0000 (22:01 +0100)]
minnowboard-max: defconfigs: use silvermont x86 variant

As that is the CPU core in the E38xx Atoms used on the Minnowboard max.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agominnowboard-max: defconfigs: bump kernel to 4.14.13
Peter Korsgaard [Sun, 14 Jan 2018 21:01:14 +0000 (22:01 +0100)]
minnowboard-max: defconfigs: bump kernel to 4.14.13

Use CONFIG_UNWINDER_FRAME_POINTER as CONFIG_UNWINDER_ORC needs libelf.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodomoticz: fix build with boost 1.66
Fabrice Fontaine [Sun, 14 Jan 2018 19:59:44 +0000 (20:59 +0100)]
domoticz: fix build with boost 1.66

Patch fetch from one of the answer of
 https://github.com/domoticz/domoticz/issues/2034
(issue still opened, no official PR sent upstream)

Boost asio changed its API:
 - http://www.boost.org/doc/libs/1_66_0/doc/html/boost_asio/net_ts.html

Fixes:
 - http://autobuild.buildroot.net/results/5f02c8fc84889748f283ee1cb76248bb0880215a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoswupdate: remove empty line
Jörg Krause [Sun, 14 Jan 2018 17:53:06 +0000 (18:53 +0100)]
swupdate: remove empty line

Reported by Yann E. Morin running:

```
    $ ./utils/check-package package/swupdate/swupdate.mk
    package/swupdate/swupdate.mk:42: consecutive empty lines
    140 lines processed
    1 warnings generated
```

Reported-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agokvm-unit-tests: test for rdseed/rdrand
Matt Weber [Sat, 13 Jan 2018 02:21:11 +0000 (20:21 -0600)]
kvm-unit-tests: test for rdseed/rdrand

The build fails when the host binutils isn't at least 2.23
(2.22.x introduced RDSEED).

The host toolchain is used for x86_64 target builds where
we need to do a 32bit build. Most other buildroot builds
are using a much newer binutils unless it's a external
older toolchain.

Fixes:
http://autobuild.buildroot.net/results/c39/c3987a3cbd2960b0ff50f872636bdfd8d1a9c820/

Upstream:
https://marc.info/?l=kvm&m=151580743523259&w=2

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/waylandpp: bump version to 0.2.1
Bernd Kuhls [Sat, 13 Jan 2018 08:16:28 +0000 (09:16 +0100)]
package/waylandpp: bump version to 0.2.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/bash: add /bin/bash to /etc/shells
Romain Naour [Sat, 13 Jan 2018 16:05:27 +0000 (17:05 +0100)]
package/bash: add /bin/bash to /etc/shells

When bash is selected, /bin/bash is not added to /etc/shells
(see man shells). So, login tools like dropbear reject the ssh
connexions for users using bash as shell in /etc/passwd.

buildroot authpriv.warn dropbear[853]: User 'kubu' has invalid shell, rejected

Reported-by: Jeremy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/linux-firmware: fix incorrect line-continuation
Yann E. MORIN [Sat, 13 Jan 2018 22:24:29 +0000 (23:24 +0100)]
package/linux-firmware: fix incorrect line-continuation

Partially fixes:
    https://gitlab.com/buildroot.org/buildroot/-/jobs/47806089

And add myself to the list of devloppers for it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosupport/dockerfile: add directives to run as non-root
Yann E. MORIN [Sat, 6 Jan 2018 15:28:33 +0000 (16:28 +0100)]
support/dockerfile: add directives to run as non-root

Currently, our jobs on the gitlab-ci infra are running as root, which is
problematic for two reasons:

  - this is not the usual way Buildroot is built;
  - it may miss issues where running as non-root is problematic.

So, complement our Dockerfile with directives to add a new user and run
everything as that user, as demonstrated by this build job:
    https://gitlab.com/ymorin/buildroot-ci/-/jobs/46929562

Additional, enforce an UTF-8 locale while running.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agompd: bump to version 0.20.15
Jörg Krause [Tue, 9 Jan 2018 08:39:49 +0000 (09:39 +0100)]
mpd: bump to version 0.20.15

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agouboot-tools: bump to version 2018.01
Jörg Krause [Tue, 9 Jan 2018 08:58:31 +0000 (09:58 +0100)]
uboot-tools: bump to version 2018.01

Drop patch 0004-uboot-tools-disable-pylibfdt.patch. The issue addressed by
this patch has been fixed in upstream commit
15b97f5c5e6d88e0560c6928f3acd01c999a494d.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agouboot: bump to version 2018.01
Jörg Krause [Tue, 9 Jan 2018 08:58:30 +0000 (09:58 +0100)]
uboot: bump to version 2018.01

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoboard/ci20: create a SD card image
Johannes Schmitz [Tue, 9 Jan 2018 16:08:28 +0000 (17:08 +0100)]
board/ci20: create a SD card image

Add a genimage.cfg to create a working sdcard.img for the ci20
hardware.  We also need a uboot-env.txt to create the partition for
the uboot environment.

Update the board/ci20/readme.txt with the related information. Remove
the tftp netboot description from the readme as it is already to
complicated for a basic bootable example.

Signed-off-by: Johannes Schmitz <johannes.schmitz1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoboost: bump to version 1.66.0
Jörg Krause [Tue, 9 Jan 2018 22:46:01 +0000 (23:46 +0100)]
boost: bump to version 1.66.0

Drop the metaparse module as it is header only library now. No need for
legacy handling as the module is available unconditionally in Boost.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/ti-cgt-pru: bump to 2.2.1
Romain Naour [Tue, 9 Jan 2018 20:13:06 +0000 (21:13 +0100)]
package/ti-cgt-pru: bump to 2.2.1

See: http://www.ti.com/tool/download/PRU-CGT-2-2

The ti-cgt-pru v2.1.x installer are affected by a bug with recent
distribution (Fedora 27 and Ubuntu 17.10) using kernel 4.13 or 4.14
with a glibc 2.26.
The installer is stuck in a futex(wait) system call.

While at it, add license hash.

Fixes:
http://autobuild.buildroot.net/results/68f/68f60ad38d9b6eae83b5d233966616a25d8c9391

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Ash Charles <ash.charles@savoirfairelinux.com>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosupport/config-fragments: br-powerpc-internal-full: remove old option
Romain Naour [Tue, 9 Jan 2018 22:54:07 +0000 (23:54 +0100)]
support/config-fragments: br-powerpc-internal-full: remove old option

BR2_TOOLCHAIN_BUILDROOT_INET_IPV6 has been removed with the commit [1].

Since this option is still in br-powerpc-internal-full config-fragment,
the powerpc configuration is droped by autobuild-run script:

WARN: toolchain can't be used
      Missing: BR2_TOOLCHAIN_BUILDROOT_INET_IPV6=y
[Sat, 06 Jan 2018 03:03:43] WARN: failed to generate configuration

[1] 4bcacfd2c05f45171c011d4af7731c6f848819a4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoscanpypi: get license names from SPDX database
Yegor Yefremov [Wed, 10 Jan 2018 08:45:52 +0000 (09:45 +0100)]
scanpypi: get license names from SPDX database

Use spdx_lookup package to compare packages' license file texts
with SPDX database.

This feature is optional.

Bonus: fix wrong indentation.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoimx-gpu-viv: fix compiling issues with EGL_API_FB
Gary Bisson [Thu, 11 Jan 2018 18:07:02 +0000 (19:07 +0100)]
imx-gpu-viv: fix compiling issues with EGL_API_FB

Just like the previous commit did:
c9ecdd2b96 gpu-viv-bin-mx6q: fix compiling issues with EGL_API_FB

Difference is that in latest package, eglvivante.h is included after
a EGL_API_FB check in eglplatform.h, giving the following error:
/.../sysroot/usr/include/EGL/eglplatform.h:146:10:
 fatal error: X11/Xlib.h: No such file or directory
 #include <X11/Xlib.h>

Also, this patch introduce IMX_GPU_VIV_FIXUP_PKGCONFIG which fixes
the pkgconfig files (for some reason default egl.pc file isn't the
same as the one for fb target).

Finally, this patch removes references to libVIVANTE which is now
replaced by libVDK.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: fix build against the musl C library
Sergio Prado [Tue, 9 Jan 2018 23:53:37 +0000 (21:53 -0200)]
daq: fix build against the musl C library

Musl doesn't have <sys/unistd.h>, so let's change to <unistd.h>.

Fixes:
http://autobuild.buildroot.net/results/054f6581f67338b28af4dc2203b285ae1055581c
http://autobuild.buildroot.net/results/99ec5d70b2ecf3a17fd5b5461d3e6b8ec0d22bfa

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoswupdate: bump to version 2017.11
Jörg Krause [Wed, 10 Jan 2018 22:28:16 +0000 (23:28 +0100)]
swupdate: bump to version 2017.11

Remove upstream patch 0001-Fix-SHA256-hash-verification.patch.

Re-enable support for Lua 5.1 and LuaJIT, which was removed in version 2017.09
because of compatibility issues [1]. Meanwhile, the issues have been resolved
upstream [2].

Note, that `CONFIG_HANDLER_IN_LUA` is now supported by Lua 5.1/LuaJIT, too.

Add a fixup command `SWUPDATE_SET_LUA_VERSION` to set the correct base name for
the Lua/LuaJIT pkg-config file used by the swupdates config option `LUAPKG`.

Fix a small type in the help text:
  'in my mind' -> 'in mind'.

Regenerated the .config script by doing:

```
make swupdate-menuconfig
make swupdate-update-config
```
.. and removing the paths for the build options manually.

[1] http://patchwork.ozlabs.org/patch/795958/
[2] https://github.com/sbabic/swupdate/commit/7b49b8dc59acc0591fe9823f1739ba7422eb30c7

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agosystem: only expose getty options for busybox and sysvinit
Thomas Petazzoni [Wed, 10 Jan 2018 22:14:02 +0000 (23:14 +0100)]
system: only expose getty options for busybox and sysvinit

Only busybox and sysvinit handle the BR2_TARGET_GENERIC_GETTY_TERM and
BR2_TARGET_GENERIC_GETTY_OPTIONS options; the other init systems do
not.

So, protect those options behind appropriate dependencies on busybox
or sysvinit.

Fixes #10301.

Reported-by: Michael Heinemann <posted@heine.so>
Suggested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolinux-firmware: add support for intel iwlwifi 9xxx
Peter Seiderer [Wed, 10 Jan 2018 21:38:59 +0000 (22:38 +0100)]
linux-firmware: add support for intel iwlwifi 9xxx

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: bump version to 65b1c68
Peter Seiderer [Wed, 10 Jan 2018 21:38:58 +0000 (22:38 +0100)]
linux-firmware: bump version to 65b1c68

Changes since last version (17e6288):

  02d857e linux-firmware: DMC firmware for skylake v1.27
  00a92a3 nfp: update firmware for Agilio CX SmartNICs
  c752e24 nfp: change firmware directory layout
  b39260f nfp: add firmware for tc-flower
  89c6211 linux-firmware: intel: Add Cannonlake audio firmware
  71a4800 amdgpu: update vega10 vce firmware
  30946b9 amdgpu: add firmware for Raven
  73d13b5 linux-firmware: Add firmware file for Intel Bluetooth 9560
  041aff8 linux-firmware: Add firmware file for Intel Bluetooth 9260
  c113d33 linux-firmware: Update firmware file for Intel Bluetooth 8265
  a42f895 linux-firmware: Update firmware patch for Intel Bluetooth 8260
  5d98692 Merge branch 'cnl' of git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/firmware
  e4252cf Revert commits a42f895c113d33041aff873d13b5
  db9964e linux-firmware: Add firmware file for Intel Bluetooth 9560
  97339b3 linux-firmware: Add firmware file for Intel Bluetooth 9260
  9a843a1 linux-firmware: Update firmware file for Intel Bluetooth 8265
  fdee922 linux-firmware: Update firmware patch for Intel Bluetooth 8260
  bc2164d Merge commit 'b39260f04b9b0a9da8a337098f73cbca7c4e9b2d' of https://github.com/Netronome/linux-firmware
  7f93c9d brcm: add CYW4373 firmwares and Cypress license file
  2451bb2 linux-firmware: liquidio: add v1.7.0 vswitch firmware
  2567e09 nvidia: add GP108 signed firmware
  4a77cab linux-firmware: DMC firmware for cannonlake v1.07
  2eefafb rtlwifi: rtl8723de: Add firmware for new driver/device
  8650396 wl127x/wl128x: update firmwares
  65b1c68 wl18xx: update firmware file 8.9.0.0.76

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomcookie: correct wrong memset argument
Peter Korsgaard [Wed, 10 Jan 2018 22:03:03 +0000 (23:03 +0100)]
mcookie: correct wrong memset argument

Fixes #10216

Building mcookie generates a warning about possible wrong arguments to
memset:

mcookie.c:207:26: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression
  as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
     memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */

ctx is a pointer to a structure, so the code should use the size of the
structure and not the size of the pointer when it tries to clear the
structure, similar to how it got fixed upstream back in 2009:

https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/commit/lib/md5.c?id=6596057175c6ed342dc20e85eae8a42eb29b629f

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolz4: install programs as well as libraries
Thomas Petazzoni [Wed, 10 Jan 2018 22:40:52 +0000 (23:40 +0100)]
lz4: install programs as well as libraries

Prior to commit 8ad38a4fc2007df4bee9a941aed46c8771b6a84c
("package/lz4: bump version to r131"), the lz4 package was installing
both libraries and programs, but this commit changed the behavior to
only install libraries.

The contributor might have been confused by the fact that the build
command was "$(MAKE) ... -C $(@D) liblz4", suggesting that only the
library was built. But since the install command was "$(MAKE) ... -C
$(@D) install", the programs were effectively built as part of the
install step, and installed as well.

Since it makes sense for lz4 to also installs its programs, this
commit adjusts the package accordingly.

It is worth mentioning that using the "all" target during the build
step is important. Indeed, otherwise the programs/Makefile has a
"default" target that doesn't build everything (especially the lz4c
program) and it end up being built as part of the install step, due to
how the makefile dependencies are handled in the lz4 project. To make
sure that everything gets built during the build step, we explicitly
use the "all" target.

Fixes bug #9996

Reported-by: Jamin Collins <jamin.collins@gmail.com>
Initial-analysis-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocjson: bump to version 1.7.1
Fabrice Fontaine [Fri, 12 Jan 2018 18:21:29 +0000 (19:21 +0100)]
cjson: bump to version 1.7.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoboinc: bump to version 7.8.5
Fabrice Fontaine [Fri, 12 Jan 2018 18:20:58 +0000 (19:20 +0100)]
boinc: bump to version 7.8.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibsodium: bump to version 1.0.16
Baruch Siach [Fri, 12 Jan 2018 10:58:00 +0000 (12:58 +0200)]
libsodium: bump to version 1.0.16

Add pgp signature reference.

Cc: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognupg2: bump to version 2.2.4
Baruch Siach [Fri, 12 Jan 2018 10:39:18 +0000 (12:39 +0200)]
gnupg2: bump to version 2.2.4

Add license hash.

Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibgcrypt: bump to version 1.8.2
Baruch Siach [Fri, 12 Jan 2018 10:39:17 +0000 (12:39 +0200)]
libgcrypt: bump to version 1.8.2

Add license hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoe2fsprogs: bump to version 1.43.8
Baruch Siach [Fri, 12 Jan 2018 10:14:32 +0000 (12:14 +0200)]
e2fsprogs: bump to version 1.43.8

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotslib: update to 1.15
Martin Kepplinger [Thu, 11 Jan 2018 14:46:51 +0000 (15:46 +0100)]
tslib: update to 1.15

As usual, https://github.com/kergoth/tslib/releases has the changelog
summary.

This release includes a new plugin "invert" that is being built by
default; so we add that to the list of statically compiled in plugins
for static builds.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobusybox: don't remove S01logging when CONFIG_SYSLOGD is disabled
Thomas Petazzoni [Wed, 10 Jan 2018 22:03:59 +0000 (23:03 +0100)]
busybox: don't remove S01logging when CONFIG_SYSLOGD is disabled

The current busybox.mk explicitly removes S01logging if CONFIG_SYSLOGD
is disabled in the Busybox configuration. However:

 - This causes the removal of the S01logging script potentially
   installed by another package (currently syslog-ng, rsyslog and
   sysklogd can all install a S01logging script).

 - We generally don't try to clean-up stuff that we may have installed
   in a previous make invocation and that is no longer needed
   following a configuration change.

Fixes bug #10176

Reported-by: Karl Krach <mail@kkrach.de>
Fix-provided-by: Karl Krach <mail@kkrach.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/kmsxx: don't install static libraries when BR2_SHARED_STATIC_LIBS=y
Thomas Petazzoni [Wed, 10 Jan 2018 21:19:14 +0000 (22:19 +0100)]
package/kmsxx: don't install static libraries when BR2_SHARED_STATIC_LIBS=y

The kmsxx build system can only build either shared libraries *or*
static libraries, not both. Therefore, the build currently fails when
BR2_SHARED_STATIC_LIBS=y because we try to install the static
libraries, that haven't been built.

We fix this by not installing the static libraries when
BR2_SHARED_STATIC_LIBS=y, making BR2_SHARED_STATIC_LIBS=y essentially
the same as BR2_SHARED_LIBS=y for this package.

Fixes bug #10331.

Reported-by: Frederic MATHIEU <frederic.mathieu@dualis.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoxfsprogs: fix upstream submission link
Thomas Petazzoni [Wed, 10 Jan 2018 20:00:28 +0000 (21:00 +0100)]
xfsprogs: fix upstream submission link

The oss.sgi.com mailing list archives are no longer available, point
to spinics.net instead.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/avahi: fix typo in avahi_tmpfiles.conf
Thomas Petazzoni [Wed, 10 Jan 2018 19:53:58 +0000 (20:53 +0100)]
package/avahi: fix typo in avahi_tmpfiles.conf

There is an obvious typo in avahi_tmpfiles.conf: avahi-autoipd is
badly spelled.

Fixes bug #10641.

Reported-by: Michael Heinemann <posted@heine.so>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopackage/intel-microcode: security bump to version 20180108
Bernd Kuhls [Tue, 9 Jan 2018 18:55:56 +0000 (19:55 +0100)]
package/intel-microcode: security bump to version 20180108

Quoting releasenote:

"Intel Processor Microcode Package for Linux
20180108 Release

-- Updates upon 20171117 release --
IVT C0          (06-3e-04:ed) 428->42a
SKL-U/Y D0      (06-4e-03:c0) ba->c2
BDW-U/Y E/F     (06-3d-04:c0) 25->28
HSW-ULT Cx/Dx   (06-45-01:72) 20->21
Crystalwell Cx  (06-46-01:32) 17->18
BDW-H E/G       (06-47-01:22) 17->1b
HSX-EX E0       (06-3f-04:80) 0f->10
SKL-H/S R0      (06-5e-03:36) ba->c2
HSW Cx/Dx       (06-3c-03:32) 22->23
HSX C0          (06-3f-02:6f) 3a->3b
BDX-DE V0/V1    (06-56-02:10) 0f->14
BDX-DE V2       (06-56-03:10) 700000d->7000011
KBL-U/Y H0      (06-8e-09:c0) 62->80
KBL Y0 / CFL D0 (06-8e-0a:c0) 70->80
KBL-H/S B0      (06-9e-09:2a) 5e->80
CFL U0          (06-9e-0a:22) 70->80
CFL B0          (06-9e-0b:02) 72->80
SKX H0          (06-55-04:b7) 2000035->200003c
GLK B0          (06-7a-01:01) 1e->22"

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.3.2
Bernd Kuhls [Tue, 9 Jan 2018 21:25:33 +0000 (22:25 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 17.3.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions
Francois Perrad [Wed, 10 Jan 2018 14:14:45 +0000 (15:14 +0100)]
configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebkitgtk: security bump to version 2.18.5
Adrian Perez de Castro [Wed, 10 Jan 2018 13:57:07 +0000 (15:57 +0200)]
webkitgtk: security bump to version 2.18.5

This is a maintenance release of the current stable WebKitGTK+ version,
which contains mitigations for CVE-2017-5753 and CVE-2017-5715, the
vulnerabilities known as the "Spectre" attack. It also contains a fix
which allows building the reference documentation with newer gtk-doc
versions.

Release notes can be found in the announcement:

  https://webkitgtk.org/2018/01/10/webkitgtk2.18.5-released.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Wed, 10 Jan 2018 12:02:33 +0000 (10:02 -0200)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.14.13
Fabio Estevam [Wed, 10 Jan 2018 12:02:32 +0000 (10:02 -0200)]
linux: bump default to version 4.14.13

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: bump ARC prebuild toolchain to arc-2017.09
Evgeniy Didin [Mon, 18 Dec 2017 10:36:21 +0000 (13:36 +0300)]
toolchain: bump ARC prebuild toolchain to arc-2017.09

There might be subtle differences between uClibc configuration
compared to Buildroot's one.

Native RPC now is disabled because uClinc-ng has removed it.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: arc-buildroot@synopsys.com
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopython-networkmanager: remove default <pkg>_SOURCE variable
Thomas Petazzoni [Tue, 9 Jan 2018 08:47:43 +0000 (09:47 +0100)]
python-networkmanager: remove default <pkg>_SOURCE variable

<pkg>-<pkg-version>.tar.gz is the default value, so there's no need to
explicitly specify it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodaq: remove default <pkg>_SOURCE variable
Thomas Petazzoni [Tue, 9 Jan 2018 08:46:47 +0000 (09:46 +0100)]
daq: remove default <pkg>_SOURCE variable

<pkg>-<pkg-version>.tar.gz is the default value, so there's no need to
explicitly specify it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/tar: add option for lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:55 +0000 (21:16 +0200)]
fs/tar: add option for lz4 compression

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/ext2: add option for lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:54 +0000 (21:16 +0200)]
fs/ext2: add option for lz4 compression

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/cpio: add option for lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:53 +0000 (21:16 +0200)]
fs/cpio: add option for lz4 compression

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agofs/common.mk: support lz4 compression
Peter Korsgaard [Fri, 13 Oct 2017 19:16:52 +0000 (21:16 +0200)]
fs/common.mk: support lz4 compression

Similar to the other compressors.  Notice that we use the -l (legacy format)
for Linux kernel initrd compatibility.

Lz4 decompression is supported by the Linux kernel since 3.11.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agodependencies: correct dependencies for top-level parallel build
Arnout Vandecappelle (Essensium/Mind) [Sun, 22 Oct 2017 14:17:52 +0000 (16:17 +0200)]
dependencies: correct dependencies for top-level parallel build

Commit 4932c8a7cc94277b3d53cecd935f725b91cfa9fe introduced the
core-dependencies target to make sure that the dependencies.sh script
runs before we attempt to compile any host tool, so that the absence of
a compiler is properly detected. However, this relied on the
left-to-right evaluation of dependencies. This will no longer be true
when we enable top-level parallel build.

Fix this by letting DEPENDENCIES_HOST_PREREQ depend on
core-dependencies.

Note that it is not possible to remove the
dependencies <- core-dependencies. Indeed, it is possible that
DEPENDENCIES_HOST_PREREQ is completely empty, and in that case we still
need to check core-dependencies.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocore-dependencies: remove unneeded HOSTCC
Arnout Vandecappelle (Essensium/Mind) [Sun, 22 Oct 2017 14:17:51 +0000 (16:17 +0200)]
core-dependencies: remove unneeded HOSTCC

dependencies.sh uses HOSTCC_NOCCACHE directly, and this variable is
exported from the top-level Makefile, so there is no need to pass
HOSTCC to it. HOSTCC is not used at all in dependencies.sh.

Thus, we also no longer need to apply the HOSTCC override for
core-dependencies. The core-depencies rule doesn't use HOSTCC or
HOSTCXX.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agocups-filters: new package
Olivier Schonken [Mon, 23 Oct 2017 13:26:11 +0000 (15:26 +0200)]
cups-filters: new package

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - add missing select BR2_PACKAGE_JPEG
 - use jpeg instead of libjpeg
 - sort selects alphabetically
 - fix Config.in comment dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibjpeg: add pkg-config file for libjpeg
Olivier Schonken [Mon, 23 Oct 2017 13:17:43 +0000 (15:17 +0200)]
libjpeg: add pkg-config file for libjpeg

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas: change to automatically set the version in the generated .pc file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoCHANGES: update after removal of source-check
Thomas Petazzoni [Mon, 8 Jan 2018 20:26:55 +0000 (21:26 +0100)]
CHANGES: update after removal of source-check

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agopkg-{download, generic}: remove source-check
Maxime Hadjinlian [Wed, 25 Oct 2017 20:09:51 +0000 (22:09 +0200)]
pkg-{download, generic}: remove source-check

This feature is not used by anyone in the core developpers and makes a
drastic simplification of the pkg-download infrastructure harder.

The future patch will move much of what's in the current pkg-download.mk
file into the dl-wrapper which is a shell script.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agolibopenssl: do not leak the compiler path (reproducible builds)
Peter Seiderer [Fri, 27 Oct 2017 19:24:23 +0000 (21:24 +0200)]
libopenssl: do not leak the compiler path (reproducible builds)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agorygel: fix UI build
Fabrice Fontaine [Mon, 8 Jan 2018 18:10:42 +0000 (19:10 +0100)]
rygel: fix UI build

Add a patch to avoid failing on a configure error if UI example can't be
built if libgtk3 is available but not gst1-plugins-base (gstreamer-video
is only needed for UI example, not for rygel UI)

Fixes:
 - http://autobuild.buildroot.net/results/6c659aadfc418c0a27a93284eb34d75e2b0dc169

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agotcf-agent: disable package for powerpc64
Norbert Lange [Mon, 8 Jan 2018 13:40:45 +0000 (14:40 +0100)]
tcf-agent: disable package for powerpc64

Fails to build, disable powerpc64 until upstream fixed it

Fixes:
  http://autobuild.buildroot.net/results/5088f6efd44ce9b081c2c7825a7005a9cb60799d

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
6 years agoasterisk: security bump to version 14.7.5
Peter Korsgaard [Mon, 8 Jan 2018 10:08:15 +0000 (11:08 +0100)]
asterisk: security bump to version 14.7.5

Fixes the following security issues:

* AST-2017-014: Crash in PJSIP resource when missing a contact header A
  select set of SIP messages create a dialog in Asterisk.  Those SIP
  messages must contain a contact header.  For those messages, if the header
  was not present and using the PJSIP channel driver, it would cause
  Asterisk to crash.  The severity of this vulnerability is somewhat
  mitigated if authentication is enabled.  If authentication is enabled a
  user would have to first be authorized before reaching the crash point.

For more details, see the announcement:
https://www.asterisk.org/downloads/asterisk-news/asterisk-13185-1475-1515-and-1318-cert2-now-available-security

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>