buildroot.git
5 years agopackage/gnuchess: bump to version 6.2.5
Fabrice Fontaine [Thu, 10 Jan 2019 17:59:55 +0000 (18:59 +0100)]
package/gnuchess: bump to version 6.2.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/shim: new package
Peter Korsgaard [Fri, 11 Jan 2019 10:01:11 +0000 (11:01 +0100)]
boot/shim: new package

This commit adds a package for 'shim', an EFI bootloader for secure
boot chain loading.

While gnu-efi supports 32bit ARM, this is currently broken in shim.

Patches to fix this have been submitted upstream but are not included
here for now.

https://github.com/rhboot/shim/pull/162

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Thomas: use BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS, add separate depends
on to exclude ARM32 build.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnu-efi: introduce BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS option
Thomas Petazzoni [Sat, 12 Jan 2019 16:32:58 +0000 (17:32 +0100)]
package/gnu-efi: introduce BR2_PACKAGE_GNU_EFI_ARCH_SUPPORTS option

This will be used in packages that depend on gnu-efi, and we take this
opportunity to propagate this dependency where it was missing in
gummiboot and syslinux. In practice, it was not a problem because
gummiboot and syslinux are only available on i386 and x86-64, which is
a subset of the architectures supported by gnu-efi.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnu-efi: bump version to 3.0.9
Peter Korsgaard [Fri, 11 Jan 2019 10:01:10 +0000 (11:01 +0100)]
package/gnu-efi: bump version to 3.0.9

Adds support for StrnCat, needed by shim.

Also add a hash for the license file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnu-efi: get rid of patch
Peter Korsgaard [Fri, 11 Jan 2019 10:01:09 +0000 (11:01 +0100)]
package/gnu-efi: get rid of patch

Pass TARGET_CONFIGURE_OPTS in the environment instead of on the make command
line, so 'CFLAGS +=' does the right thing in the Makefile without patching.

TARGET_CONFIGURE_OPTS includes TARGET_MAKE_ENV, so drop that.

This does require us to pass CROSS_COMPILE to ensure the native tools are
not used though.

Add a GNU_EFI_MAKE_OPTS and use in both the build and install steps, instead
of repeating the various arguments.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/barebox: change download site to https
Peter Seiderer [Fri, 11 Jan 2019 21:52:35 +0000 (22:52 +0100)]
boot/barebox: change download site to https

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/barebox: bump version to 2018.12.0
Peter Seiderer [Fri, 11 Jan 2019 21:52:34 +0000 (22:52 +0100)]
boot/barebox: bump version to 2018.12.0

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/azure-iot-sdk-c: remove dummy value of CMAKE_SYSTEM_VERSION
Arnout Vandecappelle (Essensium/Mind) [Thu, 10 Jan 2019 23:05:29 +0000 (00:05 +0100)]
package/azure-iot-sdk-c: remove dummy value of CMAKE_SYSTEM_VERSION

Now CMAKE_SYSTEM_VERSION is properly set in toolchainfile.cmake, it is
no longer necessary to set a dummy value in azure-iot-sdk-c.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Nikita Sobolev <Nikita.Sobolev@synopsys.com>
Cc: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-cmake: add CMAKE_SYSTEM_VERSION to toolchainfile.cmake
Arnout Vandecappelle (Essensium/Mind) [Thu, 10 Jan 2019 23:05:28 +0000 (00:05 +0100)]
package/pkg-cmake: add CMAKE_SYSTEM_VERSION to toolchainfile.cmake

Quoting the CMake documentation:

  When the CMAKE_SYSTEM_NAME variable is set explicitly to enable cross
  compiling then the value of CMAKE_SYSTEM_VERSION must also be set
  explicitly to specify the target system version.

Thus, we should also set CMAKE_SYSTEM_VERSION in toolchainfile.cmake. It
is supposed to be set to the value of `uname -r` on the target. We don't
have that exact value available (unless we build the kernel), but the
value of BR2_TOOLCHAIN_HEADERS_AT_LEAST contains the (minimum) version
of the kernel it will run on, so it should be OK for all practical
purposes.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/readline: bump to version 8.0
Fabrice Fontaine [Fri, 11 Jan 2019 21:50:20 +0000 (22:50 +0100)]
package/readline: bump to version 8.0

- Remove first patch (already in version) and so remove
  READLINE_AUTOCONF as configure.ac is not patched anymore
- Use the new --disable-install-examples option and remove
  READLINE_PURGE_EXAMPLES
- Remove READLINE_INSTALL_PC_FILE as readline.pc is installed since:
  http://git.savannah.gnu.org/cgit/readline.git/commit/Makefile.in?id=8e6ccd0373d77b86ed37a9a7d232ccfea3d6670c
- Remove READLINE_INSTALL_FIXUPS_SHARED (libraries are installed with
  correct rights)
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libsquish: re-enable for BR2_STATIC_LIBS configuration
Thomas Petazzoni [Sat, 12 Jan 2019 14:34:32 +0000 (15:34 +0100)]
package/libsquish: re-enable for BR2_STATIC_LIBS configuration

Since the bump to version 1.15, libsquish can conditionally
build/install its shared library, which makes it possible to re-enable
this package for BR2_STATIC_LIBS configurations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libsquish: really install shared library
Romain Naour [Sat, 12 Jan 2019 12:10:24 +0000 (13:10 +0100)]
package/libsquish: really install shared library

While testing the new supertuxkart 0.10-beta1 version, the build
failed due to missing libsquash shared library.

Indeed, by default (see config file) the shared library is not build
and all symlinks created by LIBSQUISH_INSTALL_{STAGING,TARGET}_CMDS
are curently broken.

To fix that, add USE_SHARED=1 to LIBSQUISH_MAKE_ENV.

Also add a patch to allow reinstall the package.

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>
5 years agopackage/libsquish: add license file hash
Romain Naour [Sat, 12 Jan 2019 12:10:23 +0000 (13:10 +0100)]
package/libsquish: add license file hash

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>
5 years agopackage/php-amqp: bump to version 1.9.4
Fabrice Fontaine [Fri, 11 Jan 2019 15:02:55 +0000 (16:02 +0100)]
package/php-amqp: bump to version 1.9.4

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/php-yaml: bump to version 2.0.4
Fabrice Fontaine [Fri, 11 Jan 2019 14:36:18 +0000 (15:36 +0100)]
package/php-yaml: bump to version 2.0.4

This bump fix build with php 7.3.0
Also add hash for license file

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/php-memcached: bump to version 3.1.3
Fabrice Fontaine [Fri, 11 Jan 2019 14:35:26 +0000 (15:35 +0100)]
package/php-memcached: bump to version 3.1.3

This bump fix build with php 7.3.0
Also add hash for license files

Fixes:
 - http://autobuild.buildroot.org/results/57ce77fc1b99a72019dcfe8fe5d55aba315b9e79

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/swupdate: disable lua in static build
Fabrice Fontaine [Fri, 11 Jan 2019 14:33:12 +0000 (15:33 +0100)]
package/swupdate: disable lua in static build

Since version 2018.11 and
https://github.com/sbabic/swupdate/commit/624904cc18003fae413011563dac83a333f10509,
bindings for LUA is a shared library so disable lua if BR2_STATIC_LIBS
is set

Fixes:
 - http://autobuild.buildroot.org/results/55767e58c211656558af7916a4e0975089a2785b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/syslog-ng: bump to version 3.19.1
Carlos Santos [Fri, 11 Jan 2019 13:03:07 +0000 (11:03 -0200)]
package/syslog-ng: bump to version 3.19.1

Brings lots improvements and bug fixes, especially bug #1720[1], which
causes problems on some of our (DATACOM) products.

1. https://github.com/balabit/syslog-ng/issues/1720

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/php: fix building pcre extension
Adam Duskett [Fri, 28 Dec 2018 16:56:34 +0000 (11:56 -0500)]
package/php: fix building pcre extension

The configure option "--with-pcre-regex=$(STAGING_DIR)/usr" is broken.
PHP will  prepend $(STAGING_DIR)/usr to the paths, which will cause a
failure because it won't be able to find pcre, and will then fallback to
searching for pcre2, which won't be installed.

Removing "=$(STAGING_DIR)/usr" from --with-pcre-regex fixes the issue.

Fixes:
  http://autobuild.buildroot.net/results/586/586f56e8fcf2d2bbbd3bdf69b1c3befff7ce8bbf
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Tested-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libcpprestsdk: remove use of align_union
Adam Duskett [Tue, 8 Jan 2019 16:40:16 +0000 (11:40 -0500)]
package/libcpprestsdk: remove use of align_union

Taken from upstream commit 65267c6e83e7e29ed3bdddde13d2c4bbb10e1bff

Fixes:

  http://autobuild.buildroot.net/results/9085cbcc417aec1aeee7a317a32a0c4e5d7bb6d9

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnuchess: license is GPL-3.0+, not GPL-2.0+
Fabrice Fontaine [Thu, 10 Jan 2019 17:59:53 +0000 (18:59 +0100)]
package/gnuchess: license is GPL-3.0+, not GPL-2.0+

gnuchess is licensed under GPL-3.0+ not GPL-2.0+, also add hash for
license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/config-fragments: add RISC-V 32-bit to autobuild configs
Mark Corbin [Sun, 21 Oct 2018 19:12:03 +0000 (20:12 +0100)]
support/config-fragments: add RISC-V 32-bit to autobuild configs

Add a minimal RISC-V 32-bit autobuild configuration for the
internal toolchain with glibc.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopatchelf: update _SITE to new location
Arnout Vandecappelle (Essensium/Mind) [Thu, 10 Jan 2019 12:31:46 +0000 (13:31 +0100)]
patchelf: update _SITE to new location

releases.nixos.org gives some weird XML pages. The upstream location is
nixos.org/releases.

This side uses HSTS, so switch to https to avoid a needless redirect.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lighttpd: adjust hash comment after 1.4.52 bump
Peter Korsgaard [Thu, 10 Jan 2019 10:06:43 +0000 (11:06 +0100)]
package/lighttpd: adjust hash comment after 1.4.52 bump

Commit ec69d3820f (package/lighttpd: bump to version 1.4.52) bumped the
lighttpd version but forgot to adjust the upstream hash comment.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lighttpd: bump to version 1.4.52
Peter Korsgaard [Wed, 9 Jan 2019 21:30:54 +0000 (22:30 +0100)]
package/lighttpd: bump to version 1.4.52

Fixes location header parsing regression introduced in 1.4.51:
https://redmine.lighttpd.net/issues/2918

Fixes header setting regression introduced in 1.4.51:
https://redmine.lighttpd.net/issues/2919

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/xenomai: drop consecutive empty lines
Peter Korsgaard [Thu, 10 Jan 2019 07:33:19 +0000 (08:33 +0100)]
package/xenomai: drop consecutive empty lines

Commit 4219c58c (xenomai: remove unnecessary autoreconf) introduced a
check-package warning:

1 warnings generated
package/xenomai/xenomai.mk:27: consecutive empty lines

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

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years ago{linux, linux-headers}: bump 4.{9, 14, 19, 20}.x series
Peter Korsgaard [Wed, 9 Jan 2019 21:38:59 +0000 (22:38 +0100)]
{linux, linux-headers}: bump 4.{9, 14, 19, 20}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: add Thomas De Schampheleire for xenomai
Thomas De Schampheleire [Tue, 8 Jan 2019 20:38:54 +0000 (21:38 +0100)]
DEVELOPERS: add Thomas De Schampheleire for xenomai

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoxenomai: remove unnecessary autoreconf
Thomas De Schampheleire [Tue, 8 Jan 2019 20:38:53 +0000 (21:38 +0100)]
xenomai: remove unnecessary autoreconf

As xenomai release tarballs ship with a configure script, there is only a
need for autoreconfiguring when patches are applied.

The last patch was removed with git commit
de993bc23aab100e16026cb4cabebed48b9e1989 but the AUTORECONF line remained.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/valijson: bump to version 0.1
Thomas Petazzoni [Tue, 1 Jan 2019 17:33:24 +0000 (18:33 +0100)]
package/valijson: bump to version 0.1

The v0.1 tag is the first (and only) tag of the project, and has been
done after commit 424b706f990a9eb96dfc19cc8e54f2cd6ce5e186 that we
currently use as a valijson version.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/grpc: fix build on non-NPTL systems
Thomas Petazzoni [Mon, 31 Dec 2018 16:11:23 +0000 (17:11 +0100)]
package/grpc: fix build on non-NPTL systems

uClibc-ng in non-NPTL configurations doesn't implement
pthread_setname_np(). Unfortunately grpc assumes that as soon as
__GLIBC__ is defined, pthread_setname_np() is available. It is
particularly sad, because grpc build system uses CMake, so it is
trivial to do such a check.

This commit adds a patch that does just this: check for the
availability of pthread_setname_np(), and use it only if
available. The patch has been submitted upstream.

Fixes:

  http://autobuild.buildroot.org/results/47991306abbcd80fb8e6baad0bd7490fa74f696c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/strace: fix build for mips
Baruch Siach [Tue, 8 Jan 2019 18:08:08 +0000 (20:08 +0200)]
package/strace: fix build for mips

Upstream changes in mips specific code of the last release broke build
for that target. Add a patch that restores build.

Fixes:
http://autobuild.buildroot.net/results/858/8585e75df6462b6d07476a81982e88ec81655c8b/
http://autobuild.buildroot.net/results/b2f/b2f24976ddda1adc9b9ba3d9bfb7167721814f78/
http://autobuild.buildroot.net/results/031/0313245fe555e0c0890c3f475bf6586db23535ed/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/strace: fix build for no-MMU targets
Baruch Siach [Tue, 8 Jan 2019 16:47:03 +0000 (18:47 +0200)]
package/strace: fix build for no-MMU targets

The latest strace version bump added a call to fork() which breaks build
for no-MMU. Add a patch that removes the unneeded fork() call on no-MMU.

Fixes:
http://autobuild.buildroot.net/results/4a0/4a0e2872b27be93f73137c7550eae1c1f479c160/
http://autobuild.buildroot.net/results/747/74711084a54dfc17ad0d4d1e5faabf6d8a605dca/

Cc: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotcpreplay: security bump to version 4.3.1
Baruch Siach [Tue, 8 Jan 2019 16:13:58 +0000 (18:13 +0200)]
tcpreplay: security bump to version 4.3.1

Upstream CHANGELOG entry for 4.3.0 lists these fixes:

    - CVE-2018-18408 use-after-free in post_args (#489)
    - CVE-2018-18407 heap-buffer-overflow csum_replace4 (#488)
    - CVE-2018-17974 heap-buffer-overflow dlt_en10mb_encode (#486)
    - CVE-2018-17580 heap-buffer-overflow fast_edit_packet (#485)
    - CVE-2018-17582 heap-buffer-overflow in get_next_packet (#484)
    - CVE-2018-13112 heap-buffer-overflow in get_l2len (#477 dup #408)

Drop tr_cv_libpcap_version and ac_cv_have_bpf; unused in current
configure script.

Make configure script use pcap-config to list library dependencies.
Unfortunately, pcap-config is not entirely correct, so we still need to
set the LIBS variable for static linking.

Use the smaller tar.xz archive.

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopython-pytz: bump to version 2018.9
Asaf Kahlon [Mon, 7 Jan 2019 19:16:53 +0000 (21:16 +0200)]
python-pytz: bump to version 2018.9

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agolibinput: bump version to 1.12.5
Peter Seiderer [Mon, 7 Jan 2019 18:12:43 +0000 (19:12 +0100)]
libinput: bump version to 1.12.5

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2019-January/039804.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agox11vnc: update to 0.9.16
Martin Kepplinger [Mon, 7 Jan 2019 11:32:27 +0000 (12:32 +0100)]
x11vnc: update to 0.9.16

Update x11vnc from 0.9.15 to 0.9.16. For the changes, see
https://github.com/LibVNC/x11vnc/compare/0.9.15...0.9.16

Signed-off-by: Martin Kepplinger <martink@posteo.de>
[Peter: add hash for COPYING]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoefibootmgr: drop unneeded include path workaround
Peter Korsgaard [Mon, 7 Jan 2019 08:57:02 +0000 (09:57 +0100)]
efibootmgr: drop unneeded include path workaround

The hard coded -I/usr/include/efivar has been dropped from the Makefile in
commit 000eb0020c02 (Set pkg-config binary as variable) which is part of
v13, so drop the unneeded (misnamed) EFIBOOTMSR_PATCH_HEADER_PATH workaround.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/liburiparser: security bump to version 0.9.1
Carlos Santos [Sun, 6 Jan 2019 23:41:31 +0000 (21:41 -0200)]
package/liburiparser: security bump to version 0.9.1

Fixes an out-of-bounds read, the parsing of some a malformed URIs and a
function that reported 1 more byte than actually needed for IPv4 address
URIs. For additional datails, see

    https://github.com/uriparser/uriparser/blob/uriparser-0.9.1/ChangeLog

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoMakefile, manual, website: Bump copyright year
Peter Korsgaard [Sun, 6 Jan 2019 20:30:34 +0000 (21:30 +0100)]
Makefile, manual, website: Bump copyright year

Happy 2019!

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoexempi: fix comment entry quote
Peter Korsgaard [Sun, 6 Jan 2019 20:25:06 +0000 (21:25 +0100)]
exempi: fix comment entry quote

Fixes the following warning:
package/exempi/Config.in:14:warning: multi-line strings not supported

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoexempi: add dependency on threads
Ilya Averyanov [Sat, 5 Jan 2019 22:47:27 +0000 (01:47 +0300)]
exempi: add dependency on threads

Fixes:
http://autobuild.buildroot.net/results/96b/96bf4f0ddd88233b9604056d83bb3d7ea97d2046/
http://autobuild.buildroot.net/results/d92/d92c8eb3004165033c22cc98b153cf547a352fd7/

Signed-off-by: Ilya Averyanov <averyanovin@gmail.com>
[Peter: add autobuilder references]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agorpi-userland: bump version to 7cbfbd38d9
Peter Seiderer [Sat, 5 Jan 2019 19:50:58 +0000 (20:50 +0100)]
rpi-userland: bump version to 7cbfbd38d9

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agorpi-firmware: bump version to fbad6408c4
Peter Seiderer [Sat, 5 Jan 2019 19:50:57 +0000 (20:50 +0100)]
rpi-firmware: bump version to fbad6408c4

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/raspberrypi*: bump kernel version to 4c5aec7827
Peter Seiderer [Sat, 5 Jan 2019 19:50:56 +0000 (20:50 +0100)]
configs/raspberrypi*: bump kernel version to 4c5aec7827

Now based on 4.14.91 (from 4.14.74).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ed: bump to version 1.15
Baruch Siach [Sun, 6 Jan 2019 17:57:36 +0000 (19:57 +0200)]
package/ed: bump to version 1.15

Drop ED_CONF_OPTS; unused since commit 2a37b625e2 ("ed: Convert to
generic package infrastructure").

Add license file hash.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/solarus: update license.txt file hash and remove license_gpl.txt hash.
Romain Naour [Wed, 2 Jan 2019 23:10:25 +0000 (00:10 +0100)]
package/solarus: update license.txt file hash and remove license_gpl.txt hash.

The license.txt file has been updated with Solarus Free Resource Pack URL.

Before version 1.6.0, the archive was downloaded from github and license_gpl.txt
file which is present in the git repository.
Since version 1.6.0, the archive is downloaded from [1] but the license_gpl.txt
file is missing.

This has been reported upstream [2].

[1] http://www.solarus-games.org
[2] https://gitlab.com/solarus-games/solarus/issues/1328

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/php_zmq: fix build with php 7.3.0
Frank Hunleth [Fri, 4 Jan 2019 04:47:16 +0000 (23:47 -0500)]
package/php_zmq: fix build with php 7.3.0

This includes an patch that fixes the following error:

```
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_context_get':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:238:20: error: lvalue required as left operand of assignment
   GC_REFCOUNT(&le) = 1;
                    ^
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c: In function 'php_zmq_socket_store':
/home/buildroot/build/instance-0/output/build/php-zmq-1.1.3/zmq.c:538:19: error: lvalue required as left operand of assignment
  GC_REFCOUNT(&le) = 1;
```

The patch was created from the PR at:

https://github.com/mkoppanen/php-zmq/pull/195

Upstream has not merged the PR. Fixes:

http://autobuild.buildroot.org/results/3f2/3f258fbc7352c3d7205bc6402145be1102d69683

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/irqbalance: bump to version 1.5.0
Florian La Roche [Fri, 4 Jan 2019 10:53:41 +0000 (11:53 +0100)]
package/irqbalance: bump to version 1.5.0

>From the upstream changelog:

New Features in irqbalance 1.5.0
* file based socket ipc mechanism
* support for multiple policy scripts
* add some sandboxing support
* enhanced debug output
* Imroved irq type determination for ARM
Bugs fixed:
* Fixed xen event interrupt detection
* Fix node parsing in sysfs
* Covscan fixes
* Fix use on systems without a pci bus
* Various other cleanups

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agostrace: bump to version 4.26
Nicolas Cavallari [Fri, 4 Jan 2019 15:46:27 +0000 (16:46 +0100)]
strace: bump to version 4.26

The licence changed from BSD to LGPL 2.1 or later, update this
accordingly.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/qemu_riscv32_virt: new defconfig
Mark Corbin [Sun, 21 Oct 2018 19:12:02 +0000 (20:12 +0100)]
configs/qemu_riscv32_virt: new defconfig

Add RISC-V 32-bit defconfig for QEMU virt machine.

Tested with QEMU 2.12.1

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: regenerate .gitlab-ci.yml, update DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch: add support for RISC-V 32-bit (riscv32) architecture
Mark Corbin [Sun, 21 Oct 2018 19:12:01 +0000 (20:12 +0100)]
arch: add support for RISC-V 32-bit (riscv32) architecture

This enables a riscv32 system to be built with a Buildroot generated
toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).

This requires a custom version of glibc 2.26 from the riscv-glibc
repository. Note that there are no tags in this repository, so the
glibc version just consists of the 40 character commit id string.

Thanks to Fabrice Bellard for pointing me towards the 32-bit glibc
repository and for providing the necessary patch to get it to build.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-django: security bump to version 2.1.5
Asaf Kahlon [Fri, 4 Jan 2019 14:11:08 +0000 (16:11 +0200)]
package/python-django: security bump to version 2.1.5

Fixes CVE-2019-3498: Content spoofing possibility in the default 404 page

For more details, see the announcement:
https://www.djangoproject.com/weblog/2019/jan/04/security-releases/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Peter: mention that bump fixes security issues]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoutils/get-developers: really make it callable from elsewhere than the toplevel directory
Peter Korsgaard [Thu, 3 Jan 2019 10:56:56 +0000 (11:56 +0100)]
utils/get-developers: really make it callable from elsewhere than the toplevel directory

Commit 62d5558f76a (utils/get-developers: make it callable from elsewhere
than the toplevel directory) tried to fix this by passing in the toplevel
directory when the DEVELOPERS file is parsed.

Unfortunately this is not enough, as E.G.  also the paths listed in the
patches are relative to the toplevel directory, causing it to not match the
entries in the DEVELOPERS file.

In concept this can be fixed by also passing the toplevel directory to the
Developers class, but the simplest solution is just to chdir to the toplevel
Buildroot directory before calling any of the getdeveloperlib functions.

This does require us to finish parsing command line arguments (which opens
the provided patch files) to not get into trouble with relative paths to
patches before chdir'ing / initializing getdeveloperlib.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoRevert "utils/get-developers: make it callable from elsewhere than the toplevel direc...
Peter Korsgaard [Thu, 3 Jan 2019 10:56:55 +0000 (11:56 +0100)]
Revert "utils/get-developers: make it callable from elsewhere than the toplevel directory"

This reverts commit 62d5558f76a790d1c1b3a1834f1736dc86b6e34f.

This actually does not work, as patches contain paths relative to the
toplevel directory as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain-external: update Arm AArch64 toolchain 8.2-2018.11
Romain Naour [Wed, 2 Jan 2019 22:14:07 +0000 (23:14 +0100)]
toolchain-external: update Arm AArch64 toolchain 8.2-2018.11

>From [1]:
* All GCC 8.2 features. For details on GCC 8 release series.
* Linaro specific pre-processor macros to ensure that this is a
  continuation from the Linaro releases.
* Spectre v1 mitigation backport from upstream FSF trunk include the
  revisions. This is an initial backport of those mitigations in
  the GNU toolchain and should be regarded as support for prototyping
  and early access only. Moreover, while the backports include support
  for the other architectures, they are included for completeness and
  all issues regarding these patches must be taken up upstream in the
  https://gcc.gnu.org/bugzilla by reproducing the same with upstream
  FSF trunk.
  Arm is interested in feedback regarding these workarounds for
  Spectre v1.
  A description of the mitigation has been published on LWN.net.

See "Release Note":
[1] https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain-external: update Arm AArch64-BE toolchain 8.2-2018.11
Romain Naour [Wed, 2 Jan 2019 22:14:06 +0000 (23:14 +0100)]
toolchain-external: update Arm AArch64-BE toolchain 8.2-2018.11

>From [1]:
* All GCC 8.2 features. For details on GCC 8 release series.
* Linaro specific pre-processor macros to ensure that this is a
  continuation from the Linaro releases.
* Spectre v1 mitigation backport from upstream FSF trunk include the
  revisions. This is an initial backport of those mitigations in
  the GNU toolchain and should be regarded as support for prototyping
  and early access only. Moreover, while the backports include support
  for the other architectures, they are included for completeness and
  all issues regarding these patches must be taken up upstream in the
  https://gcc.gnu.org/bugzilla by reproducing the same with upstream
  FSF trunk.
  Arm is interested in feedback regarding these workarounds for
  Spectre v1.
  A description of the mitigation has been published on LWN.net.

See "Release Note":
[1] https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain-external: update Arm ARM toolchain 8.2-2018.11
Romain Naour [Wed, 2 Jan 2019 22:14:05 +0000 (23:14 +0100)]
toolchain-external: update Arm ARM toolchain 8.2-2018.11

>From [1]:
* All GCC 8.2 features. For details on GCC 8 release series.
* Linaro specific pre-processor macros to ensure that this is a
  continuation from the Linaro releases.
* Spectre v1 mitigation backport from upstream FSF trunk include the
  revisions. This is an initial backport of those mitigations in
  the GNU toolchain and should be regarded as support for prototyping
  and early access only. Moreover, while the backports include support
  for the other architectures, they are included for completeness and
  all issues regarding these patches must be taken up upstream in the
  https://gcc.gnu.org/bugzilla by reproducing the same with upstream
  FSF trunk.
  Arm is interested in feedback regarding these workarounds for
  Spectre v1.
  A description of the mitigation has been published on LWN.net.

See "Release Note":
[1] https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopython-lxml: bump to version 4.2.6
Asaf Kahlon [Fri, 4 Jan 2019 07:00:50 +0000 (09:00 +0200)]
python-lxml: bump to version 4.2.6

Update site to files.pythonhosted.org.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nodejs: bump version to v8.15.0
Peter Korsgaard [Thu, 3 Jan 2019 14:44:22 +0000 (15:44 +0100)]
package/nodejs: bump version to v8.15.0

Fixes regressions introduced by the v8.14.0 security release.  From the
announcement:

The 8.14.0 security release introduced some unexpected breakages on the 8.x
release line.  This is a special release to fix a regression in the HTTP
binary upgrade response body and add a missing CLI flag to adjust the max
header size of the http parser.

https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V8.md#8.15.0

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libhttpparser: bump version to v2.9.0
Peter Korsgaard [Thu, 3 Jan 2019 14:44:21 +0000 (15:44 +0100)]
package/libhttpparser: bump version to v2.9.0

Needed by nodejs v8.15.0+

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/enlightenment: bump to version 0.22.4
Romain Naour [Thu, 3 Jan 2019 18:21:49 +0000 (19:21 +0100)]
package/enlightenment: bump to version 0.22.4

See:
https://www.enlightenment.org/news/e0.22.4_release

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/bananapro: bump Linux and U-Boot version
Jörg Krause [Thu, 3 Jan 2019 20:08:15 +0000 (21:08 +0100)]
configs/bananapro: bump Linux and U-Boot version

Bump Linux to version 4.14.91 and U-Boot to version 2018.11.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/terminology: bump to version 1.3.2
Romain Naour [Wed, 2 Jan 2019 23:10:26 +0000 (00:10 +0100)]
package/terminology: bump to version 1.3.2

See:
https://sourceforge.net/p/enlightenment/mailman/message/36497308/

This version contain a fix [1] for newer meson (0.49.0) [2]:

[1] https://git.enlightenment.org/apps/terminology.git/commit/?id=80e36857a28bb2a0b0fdd58b0cd86b110a180efc
[2] https://github.com/mesonbuild/meson/issues/3600

This affect terminology build system since data/themes/meson.build
use "in" which is now a reserved keyword.

Fixes:
http://autobuild.buildroot.net/results/6e4/6e445e8f0c973fad58937824452aac9b593b3e8d/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/efivar: bump version to 35
Peter Korsgaard [Thu, 3 Jan 2019 09:58:41 +0000 (10:58 +0100)]
package/efivar: bump version to 35

Fixes:
http://autobuild.buildroot.net/results/545/545013d3977b3eddd27ca0fc21cc1248f3bb0dbb/
http://autobuild.buildroot.net/results/695/6952b99eb0b0e85b2f5408accdca2b4dd17d14c0/

Includes a workaround for -Werror=stringop-overflow= erroring out on strncpy
on some toolchains:

https://github.com/rhboot/efivar/commit/7461d47cddf1cb27b1aeb646e1cdc9f7ecc6219a

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/clearfog: update U-Boot and kernel
Baruch Siach [Wed, 2 Jan 2019 10:28:10 +0000 (12:28 +0200)]
configs/clearfog: update U-Boot and kernel

Bump U-Boot and kernel to their latest releases.

Remove the documented limitations. Recent kernels added support for the
SOM SPI flash, and the carrier SFP port.

Mention the 'dd' command in the warning text. No script is involved.

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions
Peter Korsgaard [Wed, 2 Jan 2019 13:52:45 +0000 (14:52 +0100)]
package/linux-headers: drop obsolete 3.2.x / 4.{1, 16, 18}.x versions

According to https://www.kernel.org/category/releases.html, these kernel
versions are no longer supported, so drop them now that we have added 4.20.x

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/manual: fix typo get-developer (-> get-developers)
Thomas De Schampheleire [Thu, 3 Jan 2019 20:47:47 +0000 (21:47 +0100)]
docs/manual: fix typo get-developer (-> get-developers)

The script is utils/get-developers but the manual refers to get-developer in
several places.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/glibc: bump version for more post-2.28 fixes
Mark Corbin [Thu, 3 Jan 2019 20:09:11 +0000 (20:09 +0000)]
package/glibc: bump version for more post-2.28 fixes

This update includes two specific fixes that have been backported
to the glibc 2.28 release branch from the glibc master branch:

1) UAPI header file asm/syscalls.h has been merged into the UAPI
asm/unistd.h header file for the RISC-V architecture in the
4.20 kernel. This causes the glibc 2.28 build to break.

2) sysdeps/ieee754/soft-fp: ignore maybe-uninitialized with -O
[BZ #19444]. The current patch for this issue can now be dropped
from Buildroot.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/download: fix scp downloads
Thomas De Schampheleire [Thu, 3 Jan 2019 20:40:16 +0000 (21:40 +0100)]
support/download: fix scp downloads

scp download is broken, because scp is called without filename argument and
only the server is specified. The call is:
    scp <server> <outputfile>

but should be:
    scp <server>/<filename> <outputfile>

Instead of assuming '-u' lists a full URL including filename (which it is
not), align with the wget helper where -u is the server URL and -f gives the
filename.

With this commit, an scp download can work if FOO_SITE_METHOD is explicitly
set to 'scp' and the server does not have a scheme prefix 'scp://'.
The next commit will handle the case where a scheme prefix is present.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: s/URL/URI/, as noticed by Yann.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkgconf: fix behavior of pkg-config --version
Thomas Petazzoni [Wed, 2 Jan 2019 17:36:38 +0000 (18:36 +0100)]
package/pkgconf: fix behavior of pkg-config --version

For some odd reason, the new pkg-config 1.5.3 changed the behavior of
"pkg-config --version": as soon as another argument than "--version"
is passed, the code assumes the user wanted to run "--modversion"
instead.

Sadly, this breaks badly with our pkg-config wrapper that
unconditionally passes --static to pkg-config when
BR2_STATIC_LIBS=y. When ffmpeg calls "pkg-config --version" to test if
pkg-config is available and functional, it's actually "pkg-config
--static --version" that gets executed. pkg-config assumes that the
user wanted to use --modversion and bails out with an error.

This causes a build failure of ffmpeg in BR2_STATIC_LIBS=y
configuration.

This misbehavior of pkg-config has been reported upstream at
https://git.dereferenced.org/pkgconf/pkgconf/issues/19, but until it
gets fixed, we work around the issue by reverting the commit that does
the "hey let's assume you're using --modversion if --version is passed
with more than one argument".

Fixes:

  http://autobuild.buildroot.net/results/ed82a95e1866ea2caadbb3433b2a255b2cf621d2/
  (and plenty of other ffmpeg + BR2_STATIC_LIBS=y build failures)

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>
5 years agoutils/test-pkg: force checking dependencies
Adam Duskett [Wed, 2 Jan 2019 15:49:20 +0000 (10:49 -0500)]
utils/test-pkg: force checking dependencies

Currently, if a user runs "make" while specifying a specific package
(IE: make -p foo),  the Makefile logic skips checking to see if all the
dependencies are selected in the specified packages config file. This behavior
is useful to test simple packages which do not have "complex" dependencies.

However; if a developer uses test-pkg -p ${package_name} to check their package,
the package may pass all the checks, but would have otherwise failed with a
simple "make" because the developer may have failed to add a select line in
packages config file, even if there is a new dependency in the packages
Makefile.

Pass the environment variable "BR_FORCE_CHECK_DEPENDENCIES"  to the Makefile in
the test-pkg script,  and check it's value in the Makefile. If the value is
"YES" force checking for dependency issues.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linux-headers: bump 4.{4, 9, 14, 19}.x series
Peter Korsgaard [Tue, 1 Jan 2019 22:06:12 +0000 (23:06 +0100)]
package/linux-headers: bump 4.{4, 9, 14, 19}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/wireguard: bump version to 0.0.20181218
Peter Korsgaard [Tue, 1 Jan 2019 21:49:42 +0000 (22:49 +0100)]
package/wireguard: bump version to 0.0.20181218

For details of the changes, see the announcement:
https://lists.zx2c4.com/pipermail/wireguard/2018-December/003687.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lua-msgpack-native: adjust Config.in comment
Thomas Petazzoni [Mon, 31 Dec 2018 16:50:02 +0000 (17:50 +0100)]
package/lua-msgpack-native: adjust Config.in comment

The Config.in comment of lua-msgpack-native only indicates that it
needs Lua 5.1, while the package can actually build with LuaJIT. This
commit adjusts the comment to match the reality.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/lua*: drop redundant dependencies on BR2_PACKAGE_HAS_LUAINTERPRETER
Thomas Petazzoni [Mon, 31 Dec 2018 16:50:01 +0000 (17:50 +0100)]
package/lua*: drop redundant dependencies on BR2_PACKAGE_HAS_LUAINTERPRETER

All the packages modified by this commit have their Config.in included
by package/Config.in inside a BR2_PACKAGE_HAS_LUAINTERPRETER &&
!BR2_STATIC_LIBS condition. Therefore, duplicating the
BR2_PACKAGE_HAS_LUAINTERPRETER condition in each of their Config.in
file is redundant and unnecessary. This commit drops such redundant
"depends on" statements.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain/toolchain-external-custom: support Linux 4.20 kernel headers
Thomas Petazzoni [Mon, 31 Dec 2018 17:52:34 +0000 (18:52 +0100)]
toolchain/toolchain-external-custom: support Linux 4.20 kernel headers

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agolinux: add support for Linux 4.20
Thomas Petazzoni [Mon, 31 Dec 2018 17:52:33 +0000 (18:52 +0100)]
linux: add support for Linux 4.20

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: add support for Linux 4.20 kernel headers
Thomas Petazzoni [Mon, 31 Dec 2018 17:52:32 +0000 (18:52 +0100)]
package/linux-headers: add support for Linux 4.20 kernel headers

We need to update linux/linux.hash as part of this commit, because
package/linux-headers/linux-headers.hash is a symlink to
linux/linux.hash.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain: add necessary options to support 4.20 kernel headers
Thomas Petazzoni [Mon, 31 Dec 2018 17:52:31 +0000 (18:52 +0100)]
toolchain: add necessary options to support 4.20 kernel headers

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agolua-curl: bump to version 0.3.9
Francois Perrad [Tue, 1 Jan 2019 15:21:21 +0000 (16:21 +0100)]
lua-curl: bump to version 0.3.9

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/opus-tools: bump to version 0.2
Thomas Petazzoni [Tue, 1 Jan 2019 14:37:02 +0000 (15:37 +0100)]
package/opus-tools: bump to version 0.2

In this release the Opus decoder opusdec has been converted to use the
opusfile library, and the Opus encoder opusenc has been converted to
use the libopusenc library. These libraries make it easy to robustly
read and write Ogg Opus audio files, and enable some new features.

Due to this, opus-tools now needs to depend on opusfile and
libopusenc. We take this opportunity to reorder alphabetically the
dependencies in Config.in and .mk files.

The license file hash has changed for two reasons:

 - The xiph.org URL was changed from http:// to https://
 - White-space changes

There are no other changes, and no change that affect the licensing
conditions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/opusfile: bump to version 0.11
Thomas Petazzoni [Tue, 1 Jan 2019 14:37:01 +0000 (15:37 +0100)]
package/opusfile: bump to version 0.11

Changes since the v0.10 release:

- Fix two potential integer overflows. (These were not
  security-critical unless the compiler took the opportunity provided
  by the undefined behavior to format your hard drive.)
- Allow JPEGs in METADATA_BLOCK_PICTURE tags to include EXIF data.
- A few warning fixes for gcc 8.
- Make opus_tags_copy return OP_EFAULT on failure instead of returning
  success.
- Various integration and testing environment improvements.

This release is backward-compatible with the previous release. We
recommend all users upgrade.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libopusenc: bump to version 0.2.1
Thomas Petazzoni [Tue, 1 Jan 2019 14:37:00 +0000 (15:37 +0100)]
package/libopusenc: bump to version 0.2.1

This release fixes two minor bugs:

- a gapless bug in the LPC filtering
- a crash on destroy when using the pull API

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/opus: bump to version 1.3
Thomas Petazzoni [Tue, 1 Jan 2019 14:36:59 +0000 (15:36 +0100)]
package/opus: bump to version 1.3

This Opus 1.3 major release again brings quality improvements, new
features, and bug fixes. Changes since 1.2.x include:

- Improvements to the VAD and speech/music classification using an RNN
- Support for ambisonics coding using channel mapping families 2 and 3
- Improvements to stereo speech coding at low bitrate
- Using wideband encoding down to 9 kb/s
- Making it possible to use SILK down to bitrates around 5 kb/s
- Minor quality improvement on tones
- Enabling the spec fixes in RFC 8251 by default
- Security/hardening improvements

Notable bug fixes include:

- Fixes to the CELT PLC
- Bandwidth detection fixes

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libssh: bump to version 0.8.6
Baruch Siach [Tue, 1 Jan 2019 19:07:20 +0000 (21:07 +0200)]
package/libssh: bump to version 0.8.6

Update license file hash; last paragraph text formatting change.

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nano: bump to version 3.2
Thomas Petazzoni [Tue, 1 Jan 2019 14:51:39 +0000 (15:51 +0100)]
package/nano: bump to version 3.2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/meson: bump to version 0.49.0
James Hilliard [Sun, 30 Dec 2018 06:41:35 +0000 (14:41 +0800)]
package/meson: bump to version 0.49.0

This version requires host-python3-setuptools, because meson no longer
falls back to distutils for its installation if setuptools cannot be
found: setuptools *must* be available.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-python: use --single-version-externally-managed for host setuptools
Thomas Petazzoni [Fri, 28 Dec 2018 17:01:31 +0000 (18:01 +0100)]
package/pkg-python: use --single-version-externally-managed for host setuptools

Currently, host Python packages that use setuptools are installed as
Python Eggs, i.e they are installed in
$(HOST_DIR)/lib/python2.7/site-packages/Something-<version>.egg. Once
installed, each Python Egg is registered to a file called
$(HOST_DIR)/lib/python2.7/site-packages/easy-install.pth. This file is
read by the Python interpreter so that the installation location of
each Egg is added to the Python path, and can be found by the Python
interpreter.

However, the fact that the installation of different Python modules
need to update a common file is clearly not compatible with
per-package directories and top-level parallel build.

To fix this, we avoid using Python Eggs using the same
--single-version-externally-managed option that we use for target
modules. This option is normally meant for distributions packaging
Python modules, and can therefore only be used if either --record (to
record the list of files being installed) or --root is
passed. --root=/ works fine and was suggested by
https://stackoverflow.com/questions/6301003/stopping-setup-py-from-installing-as-egg/33791008#33791008.

With this change, host Python modules installed by setuptools are now
installed in the "regular" way, i.e directly in
$(HOST_DIR)/lib/python2.7/site-packages/mako for host-python-mako.

This makes the installation of host Python modules more similar to the
one of target modules, and makes it compatible with per-package
directory support and top-level parallel build.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-python: use host-python3-setuptools when needed
Thomas Petazzoni [Fri, 28 Dec 2018 17:01:30 +0000 (18:01 +0100)]
package/pkg-python: use host-python3-setuptools when needed

When a package uses "setuptools" as its <pkg>_SETUP_TYPE, we currently
add a dependency on host-python-setuptools. This means that:

 (1) When BR2_PACKAGE_PYTHON=y, the default host Python version is
     Python 2.x, and host-python-setuptools is installed for
     host-python.

 (2) When BR2_PACKAGE_PYTHON3=y, the default host Python version is
     Python 3.x, and host-python-setuptools is installed for
     host-python3.

 (3) When no target Python interpreter is selected, the default host
     Python version is Python 2.x, and host-python-setuptools is
     installed for host-python.

Situations (1) and (3) are problematic for host Python packages that
need Python 3.x. Such packages use <pkg>_NEEDS_HOST_PYTHON = python3,
but if they use setuptools as their setup type, they will not find
setuptools installed for host-python3 in situations (1) and (3)
described above.

We currently have a single package that sets <pkg>_NEEDS_HOST_PYTHON =
python3: host-meson. host-meson generally works because if setuptools
is not found, it falls back to distutils, which is part of the
standard Python library. However, if there is a setuptools version
installed system-wide, it may be picked up, but may not necessarily be
the same version as Buildroot setuptools, potentially causing
problems.

This commit makes the necessary change to the python-package
infrastructure to fix this behavior, by identifying the following
cases:

 - When a host Python package says <pkg>_NEEDS_HOST_PYTHON = python3,
   then we know it wants setuptools installed for host-python3, so we
   use host-python3-setuptools.

 - When a host Python package says <pkg>_NEEDS_HOST_PYTHON = python2,
   then we known it wants setuptools installed for host-python, so we
   use host-python-setuptools.

 - When BR2_PACKAGE_PYTHON3=y, and we have a target package, or a host
   package with no NEEDS_HOST_PYTHON option, then we want setuptools
   installed for host-python3, so we use host-python3-setuptools.

 - When BR2_PACKAGE_PYTHON=y or no target interpreter is enabled at
   all, and we have a target package, or a host package with no
   NEEDS_HOST_PYTHON option, then we want setuptools for host-python,
   so we use host-python-setuptools.

To make this happen, we use host-python3-setuptools introduced in a
previous commit, but we also change host-python-setuptools to force
its installation for host-python. The latter is needed if you build
with BR2_PACKAGE_PYTHON3=y but want to install a Python-based package
that has NEEDS_HOST_PYTHON=python2.

There is one single package that needs be adjusted following this:
lirc-tools, because it is not using the python-package
infrastructure. It directly depends on host-python-setuptools, which
no longer works because host-python-setuptools now only installs for
Python 2.x, while lirc-tools Python binding only supports Python
3.x. Switching to host-python3-setuptools solves this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python3-setuptools: new package
Thomas Petazzoni [Fri, 28 Dec 2018 17:01:29 +0000 (18:01 +0100)]
package/python3-setuptools: new package

This new package allows to install the host version of setuptools for
python3, regardless of what the default Python version is. It will be
used by the python-package infrastructure to make sure that host
Python packages that need python3 and setuptools have setuptools
installed for Python 3.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: replace duplicated patch by a symlink to the same patch in
package/python-setuptools/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/collectd: Fix build issue with SENSORS_API_VERSION >= 0x500
Vadim Kochan [Tue, 1 Jan 2019 09:59:54 +0000 (11:59 +0200)]
package/collectd: Fix build issue with SENSORS_API_VERSION >= 0x500

Current collectd version 5.7.1 fails to compile because there is a
check which breaks the compilation if lm_sensors API >= 0x500, but in
the mainline codebase this check was removed in commit:

  https://github.com/collectd/collectd/commit/069796bd76dd1ab0089a64f7c9c2a3c9f1475414

So add backported patch based on this commit.

Fixes:

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

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luarocks: fix generation of license file list in Buildroot addon
Francois Perrad [Tue, 1 Jan 2019 07:21:20 +0000 (08:21 +0100)]
package/luarocks: fix generation of license file list in Buildroot addon

check-package requires an hardtab instead of 4 spaces.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/json-for-modern-cpp: relax dependency on cmake version
Yann E. MORIN [Mon, 31 Dec 2018 18:53:44 +0000 (19:53 +0100)]
package/json-for-modern-cpp: relax dependency on cmake version

Currently, json-for-modern-cpp requires cmake to be at least cmake-3.8,
but our dependencies only check for cmake-3.1.

It turns out that json-for-modern-cpp is over strict, and could very
well do with just cmake-3.1

Fixes:
    http://autobuild.buildroot.org/results/1f8/1f893d8bc7df3bfefd31df69aba918e2121cfaf7/

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pyasn1-modules: bump to version 0.2.3
Asaf Kahlon [Mon, 31 Dec 2018 18:28:09 +0000 (20:28 +0200)]
package/python-pyasn1-modules: bump to version 0.2.3

License change - 2019 year bump.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboard/pc: ensure grub.cfg is copied to target filesystem
Grégoire Delattre [Thu, 11 Oct 2018 22:24:45 +0000 (00:24 +0200)]
board/pc: ensure grub.cfg is copied to target filesystem

Before this commit, the grub configuration file was copied to the
TARGET_DIR in a post-image hook, after the filesystem has been
generated. It was kinda working because the board/pc's grub
configuration and the default one are the same and the later was
copied during the build process of the grub2 package.

This commit ensures the custom board/pc grub configuration is copied at
the right time.

Signed-off-by: Grégoire Delattre <gregoire.delattre@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lua*: fix indentation of license file lists
Thomas Petazzoni [Mon, 31 Dec 2018 16:59:52 +0000 (17:59 +0100)]
package/lua*: fix indentation of license file lists

The Luarocks addon does not properly indent with a tab, let's fix that
manually for the time being, to avoid check-package complaints.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-luarocks: add per package upgrade target
Francois Perrad [Wed, 19 Dec 2018 08:17:07 +0000 (09:17 +0100)]
package/pkg-luarocks: add per package upgrade target

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lua*: regeneration of hash files
Francois Perrad [Wed, 19 Dec 2018 08:17:06 +0000 (09:17 +0100)]
package/lua*: regeneration of hash files

This commit aligns the .hash files of Lua packages so that they match
with the output of the recently added Buildroot addon for Luarocks.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lua*: regeneration of Config.in
Francois Perrad [Wed, 19 Dec 2018 08:17:05 +0000 (09:17 +0100)]
package/lua*: regeneration of Config.in

This commit aligns the Config.in files of Lua packages so that they
match with the output of the recently added Buildroot addon for
Luarocks.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>