buildroot.git
5 years agoboot/at91bootstrap3: bump to version 3.8.12
Pierre-Jean Texier [Mon, 3 Jun 2019 18:59:38 +0000 (20:59 +0200)]
boot/at91bootstrap3: bump to version 3.8.12

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/Config.in.nds32: force syntax colouring to kconfig
Yann E. MORIN [Mon, 3 Jun 2019 19:19:51 +0000 (21:19 +0200)]
arch/Config.in.nds32: force syntax colouring to kconfig

It is too sad when an editor picks up the wrong syntax...

Like was done in e837837791 for all the other archs, force
syntax to kconfig for nds32 too.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Nylon Chen <nylon7@andestech.com>
Reviewed-by:Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: allow building as individual binaries
Markus Mayer [Fri, 7 Jun 2019 02:15:34 +0000 (19:15 -0700)]
package/coreutils: allow building as individual binaries

We add configuration option BR2_PACKAGE_COREUTILS_INDIVIDUAL_BINARIES
so that coreutils can be built and installed as individual binaries.
It can be used if the target file system doesn't support symlinks or
symlinks are undesirable.

The approach is modelled after Busybox's similarly named configuration
option.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: adjust to previous preparation commits.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: split COREUTILS_CLEANUP and use better names
Thomas Petazzoni [Thu, 20 Jun 2019 18:35:58 +0000 (20:35 +0200)]
package/coreutils: split COREUTILS_CLEANUP and use better names

The COREUTILS_CLEANUP macro naming is a bit weird. In addition, it
does two unrelated things, and the introduction of support for
building coreutils as individual binaries will require splitting it
up.

So let's do this split as a preparation commit, and use better names
for both resulting macros.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name
Thomas Petazzoni [Thu, 20 Jun 2019 18:34:21 +0000 (20:34 +0200)]
package/coreutils: rename COREUTILS_CLEANUP_BIN to a more sensible name

COREUTILS_CLEANUP_BIN doesn't mean much, what it really does is fixing
the location of binaries, so let's rename to a more sensible name.

This is done in preparation to the introduction of support for
building coreutils as individual binaries.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luasyslog: new package
Francois Perrad [Wed, 12 Jun 2019 19:09:28 +0000 (21:09 +0200)]
package/luasyslog: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cups: bump to version 2.2.11 and add gzip fix
Sam Bobroff [Tue, 18 Jun 2019 05:38:52 +0000 (15:38 +1000)]
package/cups: bump to version 2.2.11 and add gzip fix

This patch bumps cups to version 2.2.11 so that an upstream fix will
apply cleanly.

The upstream fix corrects a build failure when GZIP is set in the
build environment, as it is for buildroot's reproducible builds, as
shown below:

gzip: /bin/gzip.gz: Permission denied
gzip: /bin/gzip.gz: Permission denied
Makefile:114: recipe for target 'install-data' failed

The patch will be included upstream in version 2.2.12.

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

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/download/git: fix formatting of error message
John Keeping [Wed, 19 Jun 2019 15:05:26 +0000 (16:05 +0100)]
support/download/git: fix formatting of error message

'.' should be at the end of the sentence, not the beginning of a new
line.

Signed-off-by: John Keeping <john@metanate.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/haproxy: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:41 +0000 (23:03 +0200)]
package/haproxy: re-enable package on microblaze

With Microblaze ccc version < 8.x and optimization, the build fails
with;

  'internal compiler error: in do_output_reload, at reload1.c:7978'

This is due to gcc bug 90620:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620. To avoid this, the
haproxy package has a !BR2_microblaze dependency. However, this gcc
bug 90620 only triggers when optimization is enabled, so we can work
around the issue by passing -O0, which is what we do in other
Buildroot packages to work around similar Microblaze issues.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_90620, and
re-enables haproxy on Microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620
Giulio Benetti [Fri, 14 Jun 2019 21:03:40 +0000 (23:03 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_90620

GCC fails building the haproxy package for the Microblaze architecture:

  http://autobuild.buildroot.org/results/64706f96db793777de9d3ec63b0a47d776cf33fd/

The gcc bug was originally reported gpsd:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90620

This gcc bug no longer appeared with gcc 8.x but reappeared in gcc
9.x, so we introduce a config symbol so that packages can work it
around by disabling optimization.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashbench: remove old toolchain microblaze & sh2a workaround
Giulio Benetti [Fri, 14 Jun 2019 21:03:46 +0000 (23:03 +0200)]
package/flashbench: remove old toolchain microblaze & sh2a workaround

The old binary Microblaze and Sh2a toolchains were affected by Glibc
Bug 1228: https://sourceware.org/bugzilla/show_bug.cgi?id=1228 that
has been fixed in 2005, so let's remove actual work around:
'FLASHBENCH_CFLAGS += -std=gnu99' for both BR2_microblaze and BR2_sh2a
and remove local FLASHBENCH_CFLAGS in favour of TARGET_CFLAGS.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sqlite: work around build timeout on Microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:45 +0000 (23:03 +0200)]
package/sqlite: work around build timeout on Microblaze

With Microblaze Gcc version 4.9 build hangs due to a bug discovered
for Gcc 4.9 only. Since Gcc 4.9 is not maintaned anymore it doesn't
make sense to report this bug in Gcc bugzilla and use
BR2_TOOLCHAIN_HAS_GCC_BUG_. So let's check if we're building for
Microblaze with Gcc version < 5.x and work around the bug forcing the
use of -O0.

To reproduce this bug build with following defconfig:
'
BR2_microblazeel=y
BR2_ENABLE_DEBUG=y
BR2_OPTIMIZE_2=y
BR2_KERNEL_HEADERS_5_0=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y
BR2_GCC_ENABLE_LTO=y
BR2_PACKAGE_SQLITE=y
'

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tvheadend: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:43 +0000 (23:03 +0200)]
package/tvheadend: re-enable package on microblaze

Package tvheadend has been disabled on microblaze with this commit:
https://git.buildroot.net/buildroot/commit/?id=e1a59357e4dfe8fe9c9119d4b2bc9e4ec36eb3d0
but commit log says that build failure is due to "some assertion
failure in binutils", that is true. But those assertion failures in
binutils are caused by package's Makefile itself that has been fixed by
previous patch. So re-enable package for microblaze.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tvheadend: fix PIE build failures
Giulio Benetti [Fri, 14 Jun 2019 21:03:42 +0000 (23:03 +0200)]
package/tvheadend: fix PIE build failures

Package tvheadend builds using '-pie' linker flag in any case. This
leads to linking failure if toolchain doesn't support 'pie'.

Add patch to fix tvheadend's Makefile bug where '-pie' flag is hardcoded
making it depend on '--disable-pie' as compiler's flags already are
treated.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/brotli: properly pass TARGET_CFLAGS in Microblaze workaround
Giulio Benetti [Fri, 14 Jun 2019 09:43:28 +0000 (11:43 +0200)]
package/brotli: properly pass TARGET_CFLAGS in Microblaze workaround

In commit 39dde1ffb6a7111c2fa2b340c940e4d3e685aa29 ("package/brotli:
work around gcc bug 68485"), a mistake was made: when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y, we're only passing -O0 as CFLAGS,
completely ignoring TARGET_CFLAGS, which is not good.

This commit fixes that by introducing a BROTLI_CFLAGS variable,
initially defined to TARGET_CFLAGS, and to which we add -O0 when
BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: run mdev in daemon mode
Titouan Christophe [Wed, 19 Jun 2019 16:42:57 +0000 (18:42 +0200)]
package/busybox: run mdev in daemon mode

- Enable the mdev daemon mode in Busybox default config
- Update the S10mdev init script to use the daemon mode

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: convert S10mdev to the canonical init script format
Titouan Christophe [Wed, 19 Jun 2019 16:42:56 +0000 (18:42 +0200)]
package/busybox: convert S10mdev to the canonical init script format

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: bump version to 1.31.0
Titouan Christophe [Wed, 19 Jun 2019 16:42:55 +0000 (18:42 +0200)]
package/busybox: bump version to 1.31.0

Remove 0003-libbb-mark-scripted_main-as-externally-visible.patch
as it was committed upstream in 3193cb56d6

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/psplash: add license file details
Pierre-Jean Texier [Wed, 19 Jun 2019 20:58:35 +0000 (22:58 +0200)]
package/psplash: add license file details

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libidn2: bump to version 2.2.0
Fabrice Fontaine [Wed, 19 Jun 2019 18:24:22 +0000 (20:24 +0200)]
package/libidn2: bump to version 2.2.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: drop wchar dependency on IDN option
Fabrice Fontaine [Wed, 19 Jun 2019 18:09:03 +0000 (20:09 +0200)]
package/dnsmasq: drop wchar dependency on IDN option

wchar dependency on IDN option has been added with commit
126a2e75f5948b30f842862906fca8ed99ffff26 because of libintl

However libintl dependency has been dropped with commit
bbcbed1829057121f9f9459f62f913626206e823 so remove unneeded wchar
dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv32_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:06 +0000 (09:54 -0700)]
configs/qemu_riscv32_virt: update to 5.1 kernel

Update the 32-bit defconfig to use the latest kernel. This requires a
patch to revert a ABI to ensure that the glibc port continues to work.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/qemu_riscv64_virt: update to 5.1 kernel
Alistair Francis [Wed, 19 Jun 2019 16:54:05 +0000 (09:54 -0700)]
configs/qemu_riscv64_virt: update to 5.1 kernel

Update the 64-bit defconfig to use the latest kernel.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gzip: bump to version 1.10
Fabrice Fontaine [Wed, 19 Jun 2019 21:37:42 +0000 (23:37 +0200)]
package/gzip: bump to version 1.10

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: fix legal-info
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:43 +0000 (22:05 +0200)]
package/haveged: fix legal-info

Add hash for COPYING file

Fixes:

$: make haveged-legal-info
 >>> haveged 1.9.4 Collecting legal info
 ERROR: No hash found for COPYING

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/haveged: bump to version 1.9.4
Pierre-Jean Texier [Wed, 19 Jun 2019 20:05:42 +0000 (22:05 +0200)]
package/haveged: bump to version 1.9.4

See https://github.com/jirka-h/haveged/releases/tag/1.9.4

Also change the site location, upstream release
mechanism has switched to using github.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfigs/mx51evk: Bump kernel version
Fabio Estevam [Wed, 19 Jun 2019 17:42:53 +0000 (14:42 -0300)]
configs/mx51evk: Bump kernel version

Bump the kernel version to 5.1.10.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/linux-headers: drop support for 5.x headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:33 +0000 (13:57 +0200)]
package/linux-headers: drop support for 5.x headers

The 5.0.x series is now EOL and vulnerable to the "TCP SACK PANIC" issue.
Drop support for it in linux-headers.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoamarula_vyasa_rk3288_defconfig: use same-as-kernel option for kernel headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:32 +0000 (13:57 +0200)]
amarula_vyasa_rk3288_defconfig: use same-as-kernel option for kernel headers

Instead of the to-be-removed 5.0 option.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoConfig.in.legacy: add legacy entry for 4.20.x headers
Peter Korsgaard [Tue, 18 Jun 2019 11:57:31 +0000 (13:57 +0200)]
Config.in.legacy: add legacy entry for 4.20.x headers

Commit b3bba8e4254 (package/linux-headers: drop support 4.20 headers)
removed the option for 4.20.x kernel headers, but forgot to add a legacy
option.  Add that now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.1.x series
Peter Korsgaard [Tue, 18 Jun 2019 11:57:30 +0000 (13:57 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.1.x series

Includes fixes for the "TCP SACK PANIC" vulnerability:

https://access.redhat.com/security/vulnerabilities/tcpsack

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage: remove non-conventional prefix/suffix from github-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:08 +0000 (08:42 +0200)]
package: remove non-conventional prefix/suffix from github-fetched packages

On Github, a large number of projects name their tag
<some-prefix>-0.3-<some-suffix> (i.e release-3.0, poco-0.1-release,
etc.). In fact majority of the cased adressed in this commit concerns
prefixes.

In most packages, we encode those prefix/suffix in the <pkg>_VERSION
variable.

The problem with this approach is that when used in conjunction with
release-monitoring.org, it doesn't work very well, because
release-monitoring.org has the concept of "version prefix/suffix" and
using that they drop the prefix/suffix to really get the version. For
example on https://release-monitoring.org/project/5418/ the latest
release of "poco" is "1.8.1", not "poco-1.8.1-release".

Therefore, a number of packages in Buildroot have a version that
doesn't match with release-monitoring.org.

Since really the version number of 1.8.1, is makes sense to update our
packages to drop these prefixes/suffixes.

This commit addreses the case of github-fetched packages with
non-conventional prefixes/suffixes.

Note that these changes modify the name of the files stored in DL_DIR,
which means that this will force a re-download of those package source
code for all users, and requires a change to their .hash file.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage: remove 'v' prefix from github-fetched packages
Victor Huesca [Wed, 12 Jun 2019 06:42:06 +0000 (08:42 +0200)]
package: remove 'v' prefix from github-fetched packages

On Github, a large number of projects name their tag vXYZ (i.e v3.0,
v0.1, etc.). In some packages we do:

 <pkg>_VERSION = v0.3
 <pkg>_SITE = $(call github foo,bar,$(<pkg>_VERSION))

And in some other packages we do:

 <pkg>_VERSION = 0.3
 <pkg>_SITE = $(call github foo,bar,v$(<pkg>_VERSION))

I.e in one case we consider the version to be v0.3, in the other case
we consider 0.3 to be the version.

The problem with v0.3 is that when used in conjunction with
release-monitoring.org, it doesn't work very well, because
release-monitoring.org has the concept of "version prefix" and using
that they drop the "v" prefix for the version.

Therefore, a number of packages in Buildroot have a version that
doesn't match with release-monitoring.org because Buildroot has 'v0.3'
and release-monitoring.org has '0.3'.

Since really the version number of 0.3, is makes sense to update our
packages to drop this 'v'.

This commit only addresses the (common) case of github packages where
the prefix is simply 'v'. Other cases will be handled by separate
commits. Also, there are a few cases that couldn't be handled
mechanically that aren't covered by this commit.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
[Arnout: don't change flatbuffers, json-for-modern-cpp, libpagekite,
 python-scapy3k, softether]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/lua-cqueues: fix build failure due to gcc bug 68485
Giulio Benetti [Fri, 14 Jun 2019 21:03:36 +0000 (23:03 +0200)]
package/lua-cqueues: fix build failure due to gcc bug 68485

The lua-cqueues package exhibits gcc bug 68485 when built for the
Microblaze architecture with optimization enabled, which causes a
build failure.

As done for other packages in Buildroot work around this gcc bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:

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

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option
Giulio Benetti [Fri, 14 Jun 2019 21:03:35 +0000 (23:03 +0200)]
package/libspatialindex: use BR2_TOOLCHAIN_HAS_BUG_68485 option

For consistency with the rest of packages let's use the common
BR2_TOOLCHAIN_HAS_BUG_68485 option instead of !BR2_microblaze
condition with the comment on top of it.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flann: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:34 +0000 (23:03 +0200)]
package/flann: re-enable package on microblaze

With Microblaze gcc version <= 9.x, the build of flannel fails due to
gcc bug 68485: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485.

To avoid this, the flann package has a !BR2_microblaze
dependency. However, gcc bug 68485 only triggers when optimization is
enabled, so we can work around the issue by passing -O0, which is what
we do in other Buildroot packages to work around this bug.

So, this commit passes -O0 when BR2_TOOLCHAIN_HAS_GCC_BUG_68485, and
re-enables flann on Microblaze.

Note that the comment was talking about gcc bug 69401, but this gcc
bug is a duplicate of 68485. Since all Buildroot packages now use the
reference to gcc bug 68485 and the option is named
BR2_TOOLCHAIN_HAS_GCC_BUG_68485, we use this naming as well for flann.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gpsd: use BR2_TOOLCHAIN_HAS_GCC_BUG_68485 option
Giulio Benetti [Fri, 14 Jun 2019 21:03:33 +0000 (23:03 +0200)]
package/gpsd: use BR2_TOOLCHAIN_HAS_GCC_BUG_68485 option

The workaround for gcc's ICE works ok, but it's used if
BR2_microblaze=y with a local comment. Let's use
BR2_TOOLCHAIN_HAS_GCC_BUG_68485 instead to avoid repeating ICE bug
comment for every package affected by it.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kmsxx: work around gcc bug 85180
Giulio Benetti [Fri, 14 Jun 2019 21:03:32 +0000 (23:03 +0200)]
package/kmsxx: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building kmsxx with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0.

Fixes:
http://autobuild.buildroot.net/results/360/360f19645e76314048c75424bb4b64da91742f47/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/snort: work around gcc bug 85180
Giulio Benetti [Fri, 14 Jun 2019 21:03:29 +0000 (23:03 +0200)]
package/snort: work around gcc bug 85180

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. The bug
shows up when building snort with optimization but not when building
with -O0. To work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_85180=y we
force using -O0.

Fixes:
http://autobuild.buildroot.net/results/d24/d2412710f6cfbfc069e7858e507e28555baafa3e/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/bullet: re-enable package when gcc bug 85180 is present
Giulio Benetti [Fri, 14 Jun 2019 21:03:26 +0000 (23:03 +0200)]
package/bullet: re-enable package when gcc bug 85180 is present

With Microblaze Gcc version < 8.x the build hangs due to gcc bug
85180: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85180. This
package has been excluded from building on Microblaze due to this.

To be consistent with how we deal with this issue in other packages,
we re-enable the package and instead work around the issue by building
with -O0, since gcc bug 85180 manifests itself only when optimization
is enabled.

To achieve this pass -O0 in CMAKE_CXX_FLAGS and remove 'depends on
!BR2_microblaze' and its comment if not available from Config.in.

Note that the comment was talking about gcc bug 68476, but this gcc
bug is a duplicate of 85180. Since all Buildroot packages now use the
reference to gcc bug 85180 and the option is named
BR2_TOOLCHAIN_HAS_GCC_BUG_85180, we use this naming as well for
bullet.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stress-ng: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:25 +0000 (23:03 +0200)]
package/stress-ng: re-enable package on microblaze

Package stress-ng has a dependency to keyutils, but keyutils has been
re-enabled with previous patch. Re-enable package by removing 'depends
on !BR_microblaze' from stress-ng Config.in.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ecryptfs-utils: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:21 +0000 (23:03 +0200)]
package/ecryptfs-utils: re-enable package on microblaze

ecryptfs-utils was not available on Microblaze due to its dependency
on keyutils, which itself was not available on Microblaze due to build
issues. However, now that keyutils has been re-enabled on Microblaze,
we can also re-enable ecryptfs-utils on this architecture.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/solidrun_clearfog_gt_8k: new defconfig
Baruch Siach [Sun, 16 Jun 2019 08:18:47 +0000 (11:18 +0300)]
configs/solidrun_clearfog_gt_8k: new defconfig

Add support for the SolidRun Armada 8040 based Clearfog GT-8K. This
board has the same processor as the Macchiatobin, so we can reuse the
Macchiatobin U-Boot and image definitions.

The kernel fragment enables drivers that are necessary to make
networking ports work (SFP, Ethernet port, and Ethernet switch).

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dnsmasq: bump version to 2.80
Jan Willem Janssen [Tue, 18 Jun 2019 05:24:15 +0000 (07:24 +0200)]
package/dnsmasq: bump version to 2.80

Also automatically enable UBus support when UBus itself is enabled.

Signed-off-by: Jan Willem Janssen <j.w.janssen@lxtreme.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: bump ARC tools to arc-2019.03 release
Evgeniy Didin [Wed, 19 Jun 2019 09:25:32 +0000 (12:25 +0300)]
toolchain: bump ARC tools to arc-2019.03 release

This commit finally bumps ARC tools to the most recent arc-2019.03 release version.

ARC GNU tools of version arc-2019.03 bring some quite significant changes like:
 * Binutils v2.32.51.20190308 with additional ARC patches
 * GCC 8.3.1 with additional ARC patches
 * glibc 2.29 with additional ARC patches

More information on this release could be found here:
 https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2019.03-release

Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/localedef: compile against glibc-2.29
Samuel Mendoza-Jonas [Wed, 19 Jun 2019 02:07:07 +0000 (12:07 +1000)]
package/localedef: compile against glibc-2.29

In glibc 2.27 the following change occurred:
"Statically compiled applications attempting to load locales compiled
for the GNU C Library version 2.27 will fail and fall back to the
builtin C/POSIX locale."

This impacts us since upstream buildroot uses a localdef built against
an older eglibc release, as reported at [0].

This is a combination of my patch to move to glibc and Peter Seiderer's
patch to avoid building all of glibc just for localedef.

 [0] https://bugs.busybox.net/show_bug.cgi?id=11096

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
[localedef build & fixups:]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: share the tarball with the glibc package]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/logrotate: fix legal-info
Pierre-Jean Texier [Tue, 18 Jun 2019 19:08:42 +0000 (21:08 +0200)]
package/logrotate: fix legal-info

Add hash for COPYING file

Fixes:

$: make logrotate-legal-info
 >>> logrotate 3.15.0 Collecting legal info
 ERROR: No hash found for COPYING

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/logrotate: bump to version 3.15.0
Pierre-Jean Texier [Tue, 18 Jun 2019 19:08:41 +0000 (21:08 +0200)]
package/logrotate: bump to version 3.15.0

See https://github.com/logrotate/logrotate/releases/tag/3.15.0

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/kmod: bump version to 26
James Hilliard [Tue, 18 Jun 2019 18:15:24 +0000 (12:15 -0600)]
package/kmod: bump version to 26

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flatbuffers: fix musl build
Fabrice Fontaine [Tue, 18 Jun 2019 16:36:20 +0000 (18:36 +0200)]
package/flatbuffers: fix musl build

Retrieve upstream patch that check availability of strtoull_l before
using it

Fixes:
 - http://autobuild.buildroot.org/results/18f9eecae551c2db6544c7432f23e541bae0d8b9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/keyutils: re-enable package on microblaze
Giulio Benetti [Fri, 14 Jun 2019 21:03:20 +0000 (23:03 +0200)]
package/keyutils: re-enable package on microblaze

keyutils has a !BR2_microblaze introduced by commit:
https://git.buildroot.net/buildroot/commit/?id=20e0926f4469a3486629cfd6fa7f449f2b659aa8
that points 2 possible build failures:
- "warning: dereferencing type-punned pointer will break strict-aliasing
  rules" treated as an error. But this warning is not treated as an
  error anymore since -Werror flag is not used after last version bumps
- glibc does not export the resolver symbols resulting in linking
  failure. But glibc used was version 2.3.6 that is not used anymore
  since. It's been released in 2005.

So re-enable package for Microblaze by removing 'depends on
!BR2_microblaze' from keyutils Config.in

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:32 +0000 (13:55 +0200)]
toolchain-external: update Arm AArch64-BE toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

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

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm AArch64 toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:31 +0000 (13:55 +0200)]
toolchain-external: update Arm AArch64 toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

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

Tested with qemu_aarch64_virt_defconfig.

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain-external: update Arm ARM toolchain 8.3-2019.03
Romain Naour [Wed, 5 Jun 2019 11:55:30 +0000 (13:55 +0200)]
toolchain-external: update Arm ARM toolchain 8.3-2019.03

Update to gcc 8.3, gdb 8.2, binutils 2.32. Revert to linux kernel
headers 4.19 instead of 5.1-rc1 [1].

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

Tested with qemu_arm_vexpress_defconfig.

[1] https://bugs.linaro.org/show_bug.cgi?id=4297

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/iputils: fix IPUTILS_PERMISSIONS
Thomas Petazzoni [Mon, 17 Jun 2019 17:17:47 +0000 (19:17 +0200)]
package/iputils: fix IPUTILS_PERMISSIONS

The IPUTILS_PERMISSIONS variable was wrong, because iputils installs
its programs in /usr/bin, not in /bin. It probably was only tested
with the merged /usr option enabled.

This commit fixes IPUTILS_PERMISSIONS, taking into account the change
done in 6e18892733 "package/iputils: move binaries to the location also
used by Busybox":

 - arping is moved by the post-install target hook to /usr/sbin

 - clockdiff is installed by iputils in /usr/bin

 - ping is moved by the post-install target hook to /bin, which makes
   the previously incorrect path in IPUTILS_PERMISSIONS now correct

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: move binaries to the location also used by Busybox
Thomas Petazzoni [Mon, 17 Jun 2019 17:17:46 +0000 (19:17 +0200)]
package/iputils: move binaries to the location also used by Busybox

iputils installs several programs that are also implemented as applets
in Busybox. Two of these (arping and tftpd) are installed by iputils
in /bin, while Busybox installs them in /usr/sbin, causing both to be
present if both iputils and busybox are enabled.

This commit moves the binaries installed by iputils to /usr/sbin, so
that only these are installed (Busybox will be installed later thanks
to its optional dependency on iputils, but it will not override the
tools installed by iputils).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/systemd: add option to enable systemd-journal-remote
Yi Zheng [Thu, 13 Jun 2019 03:05:27 +0000 (11:05 +0800)]
package/systemd: add option to enable systemd-journal-remote

systemd-journal-remote was added in systemd v211, so add a new option
to enable or disable it.

Signed-off-by: Yi Zheng <goodmenzy@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libglib2: remove bindir prefix from gio-2.0.pc
Fabrice Fontaine [Thu, 13 Jun 2019 19:17:55 +0000 (21:17 +0200)]
package/libglib2: remove bindir prefix from gio-2.0.pc

Apply LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE to gio-2.0.pc so
${bindir} prefix is also removed for gbus-codegen otherwise build of
packages using this binary will fail if gbus-codegen is not installed on
host

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/freescale_imx8mmevk: new defconfig
Gilles Talis [Fri, 14 Jun 2019 18:26:46 +0000 (20:26 +0200)]
configs/freescale_imx8mmevk: new defconfig

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mongoose: bump to version 6.15
Pierre-Jean Texier [Sat, 15 Jun 2019 22:54:04 +0000 (00:54 +0200)]
package/mongoose: bump to version 6.15

See https://github.com/cesanta/mongoose/releases/tag/6.15

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python3: add upstream security fix for CVE-2019-10160
Peter Korsgaard [Sun, 16 Jun 2019 21:17:11 +0000 (23:17 +0200)]
package/python3: add upstream security fix for CVE-2019-10160

Fixes CVE-2019-10160: urlsplit does not handle NFKC normalization (2nd fix)

While the fix for CVE-2019-9936 is included in 3.7.3, the followup
regression fixes unfortunatly aren't.

https://bugs.python.org/issue36742

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python: add upstream security fix for CVE-2019-9636
Peter Korsgaard [Sun, 16 Jun 2019 21:17:10 +0000 (23:17 +0200)]
package/python: add upstream security fix for CVE-2019-9636

Fixes CVE-2019-9636: urlsplit does not handle NFKC normalization

https://bugs.python.org/issue36216

The fix unfortunately introduced regressions, so also apply the followup
fixes.

https://bugs.python.org/issue36742

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python: add upstream security fix for CVE-2019-9948
Peter Korsgaard [Sun, 16 Jun 2019 21:17:09 +0000 (23:17 +0200)]
package/python: add upstream security fix for CVE-2019-9948

Fixes CVE-2019-9948: Unnecessary URL scheme exists to allow file:// reading
file in urllib.

https://bugs.python.org/issue35907

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wireguard: bump version to 0.0.20190601
Peter Korsgaard [Sun, 16 Jun 2019 21:48:20 +0000 (23:48 +0200)]
package/wireguard: bump version to 0.0.20190601

For details of the changes, see the announcement:
https://lists.zx2c4.com/pipermail/wireguard/2019-June/004196.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/bananapro: bump Linux to 5.1.1
Bartosz Bilas [Mon, 17 Jun 2019 17:01:27 +0000 (19:01 +0200)]
configs/bananapro: bump Linux to 5.1.1

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gdb: disable for nds32
Nylon Chen [Mon, 17 Jun 2019 02:44:45 +0000 (10:44 +0800)]
package/gdb: disable for nds32

There is no support for nds32 in gdb.

Fixes:
  http://autobuild.buildroot.net/results/1a40b1ac5f06c856c2e30dbbb4e485022c438c72

Signed-off-by: Nylon Chen <nylon7@andestech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libsocketcan: add license file details
Pierre-Jean Texier [Sun, 16 Jun 2019 14:05:40 +0000 (16:05 +0200)]
package/libsocketcan: add license file details

Add LICENSE file

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libsocketcan: bump to version 0.0.11
Pierre-Jean Texier [Sun, 16 Jun 2019 14:05:39 +0000 (16:05 +0200)]
package/libsocketcan: bump to version 0.0.11

This includes the following changes:

0ff01ae v0.0.11
b217774 Add configure switch for error logging
15af38a Add compile option to disable error logging
9679a3f Add interface to retrieve link statistics
6f13cef Get link information only from specified interface
f5392c3 Fix parse_rtattr() does not completely initialize
4ea9ec7 Update can_set_ctrlmode() documentation
5938ac7 Update CAN netlink header
0c91940 GNUmakefile: include LICENSE file in tarball
4608afb configure: back to trunk

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/waylandpp: bump version
Bernd Kuhls [Sun, 16 Jun 2019 20:16:21 +0000 (22:16 +0200)]
package/waylandpp: bump version

Removed patch applied upstream:
https://github.com/NilsBrause/waylandpp/commit/242c2c9a188b1a972978fc05dbe70d102bc7c4e1

Bundled pugixml was removed:
https://github.com/NilsBrause/waylandpp/commit/433ce65b681c27d54e1e6b9a602f1c8291aabd54

Use host-pugixml instead and bump to HEAD to include a patch which
fixes a linking error:
https://github.com/NilsBrause/waylandpp/commit/41063c3e1de245bb7ea0c940e7400bd876bee25e

Updated license hash due to upstream commit:
https://github.com/NilsBrause/waylandpp/commit/f255d61ffd982614c0659be1742383dab06710a2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pugixml: enable host build
Bernd Kuhls [Sun, 16 Jun 2019 20:16:19 +0000 (22:16 +0200)]
package/pugixml: enable host build

Needed for host-waylandpp >= 0.2.5
https://github.com/NilsBrause/waylandpp/commit/433ce65b681c27d54e1e6b9a602f1c8291aabd54

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flatbuffers: enable host build
Bernd Kuhls [Sun, 16 Jun 2019 20:23:37 +0000 (22:23 +0200)]
package/flatbuffers: enable host build

Host version of flatc compiler is needed for Kodi 18.x:
https://github.com/xbmc/xbmc/blob/master/cmake/modules/FindFlatBuffers.cmake#L51

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flatbuffers: bump version to v1.11.0
Bernd Kuhls [Sun, 16 Jun 2019 20:23:36 +0000 (22:23 +0200)]
package/flatbuffers: bump version to v1.11.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{0, 1}.x series
Peter Korsgaard [Mon, 17 Jun 2019 07:23:17 +0000 (09:23 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{0, 1}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/meson: bump to version 0.51.0
James Hilliard [Mon, 17 Jun 2019 15:17:20 +0000 (09:17 -0600)]
package/meson: bump to version 0.51.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dbus: security bump to version 1.12.16
Peter Korsgaard [Wed, 12 Jun 2019 21:40:30 +0000 (23:40 +0200)]
package/dbus: security bump to version 1.12.16

Fixes the following security issues:

- CVE-2019-12749: Do not attempt to carry out DBUS_COOKIE_SHA1
  authentication for identities that differ from the user running the
  DBusServer.  Previously, a local attacker could manipulate symbolic links
  in their own home directory to bypass authentication and connect to a
  DBusServer with elevated privileges.  The standard system and session
  dbus-daemons in their default configuration were immune to this attack
  because they did not allow DBUS_COOKIE_SHA1, but third-party users of
  DBusServer such as Upstart could be vulnerable.  Thanks to Joe Vennix of
  Apple Information Security.

  For details, see the advisory:
  https://www.openwall.com/lists/oss-security/2019/06/11/2

Also contains a number of other smaller fixes, including fixes for memory
leaks.  For details, see NEWS:

https://gitlab.freedesktop.org/dbus/dbus/blob/dbus-1.12/NEWS

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/openblas: Handle new westmere target architecture
Esben Haabendal [Tue, 11 Jun 2019 08:44:10 +0000 (10:44 +0200)]
package/openblas: Handle new westmere target architecture

Nehalem, the predecessor to westmere, is best match for westmere
architecture in current openblas.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoarch: Add support for Westmere targets
Esben Haabendal [Tue, 11 Jun 2019 08:44:09 +0000 (10:44 +0200)]
arch: Add support for Westmere targets

The westmere line of x86_64 targets lies between nehalem (corei7) and
sandybridge (corei7-avx).  Allowing use of -march=westmere enables use of
AES instruction set on these targets.

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mariadb: security bump to version 10.3.15
Ryan Coe [Mon, 10 Jun 2019 23:30:25 +0000 (16:30 -0700)]
package/mariadb: security bump to version 10.3.15

The licensing text in README.md has changed slightly. The reference to
COPYING.LESSER has been removed. The file itself has been gone for awhile
now. COPYING.thirdparty has also been renamed to THIRDPARTY.

Release notes:
https://mariadb.com/kb/en/library/mariadb-10315-release-notes/

Changelog:
https://mariadb.com/kb/en/mariadb-10315-changelog/

Fixes the following security vulnerabilities:

CVE-2019-2614 - Vulnerability in the MySQL Server component of Oracle MySQL
(subcomponent: Server: Replication). Supported versions that are affected
are 5.6.43 and prior, 5.7.25 and prior and 8.0.15 and prior. Difficult to
exploit vulnerability allows high privileged attacker with network access
via multiple protocols to compromise MySQL Server. Successful attacks of
this vulnerability can result in unauthorized ability to cause a hang or
frequently repeatable crash (complete DOS) of MySQL Server.

CVE-2019-2627 - Vulnerability in the MySQL Server component of Oracle MySQL
(subcomponent: Server: Security: Privileges). Supported versions that are
affected are 5.6.43 and prior, 5.7.25 and prior and 8.0.15 and prior.
Easily exploitable vulnerability allows high privileged attacker with
network access via multiple protocols to compromise MySQL Server.
Successful attacks of this vulnerability can result in unauthorized ability
to cause a hang or frequently repeatable crash (complete DOS) of MySQL
Server.

CVE-2019-2628 - Vulnerability in the MySQL Server component of Oracle MySQL
(subcomponent: InnoDB). Supported versions that are affected are 5.7.25 and
prior and 8.0.15 and prior. Easily exploitable vulnerability allows high
privileged attacker with network access via multiple protocols to
compromise MySQL Server. Successful attacks of this vulnerability can
result in unauthorized ability to cause a hang or frequently repeatable
crash (complete DOS) of MySQL Server.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freeswitch: add optional support for libopenh264
Bernd Kuhls [Tue, 11 Jun 2019 05:16:55 +0000 (07:16 +0200)]
package/freeswitch: add optional support for libopenh264

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freeswitch: bump version to 1.8.6
Bernd Kuhls [Tue, 11 Jun 2019 05:16:54 +0000 (07:16 +0200)]
package/freeswitch: bump version to 1.8.6

Updated license hash after upstream commit
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/a1f3b4862e7fd44a37862ae84c0e79f89c9bc0d8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/git: fix build with curl
Fabrice Fontaine [Tue, 11 Jun 2019 17:05:21 +0000 (19:05 +0200)]
package/git: fix build with curl

curl-config path can be set through ac_cv_prog_CURL_CONFIG and not
ac_cv_prog_curl_config

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rauc: add license file details
Pierre-Jean Texier [Tue, 11 Jun 2019 17:33:58 +0000 (19:33 +0200)]
package/rauc: add license file details

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/rauc: bump to version 1.1
Pierre-Jean Texier [Tue, 11 Jun 2019 17:33:57 +0000 (19:33 +0200)]
package/rauc: bump to version 1.1

See: https://github.com/rauc/rauc/releases/tag/v1.1

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-psutil: bump to version 5.6.3
Asaf Kahlon [Tue, 11 Jun 2019 17:24:16 +0000 (20:24 +0300)]
package/python-psutil: bump to version 5.6.3

License update: change phrasing for Github to recognize
it's BSD-3-Clause.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-paramiko: bump to version 2.5.0
Asaf Kahlon [Tue, 11 Jun 2019 17:24:15 +0000 (20:24 +0300)]
package/python-paramiko: bump to version 2.5.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-lxml: bump to version 4.3.4
Asaf Kahlon [Tue, 11 Jun 2019 17:24:14 +0000 (20:24 +0300)]
package/python-lxml: bump to version 4.3.4

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vlc: bump version to 3.0.7
Bernd Kuhls [Fri, 7 Jun 2019 19:09:35 +0000 (21:09 +0200)]
package/vlc: bump version to 3.0.7

Removed patch 0010, applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libglib2: bump to version 2.60.3
Adam Duskett [Tue, 28 May 2019 19:48:11 +0000 (15:48 -0400)]
package/libglib2: bump to version 2.60.3

Changes include:
  - Change the package type to meson, as autoconf is no longer supported.

  - Add 0002-add-option-to-build-tests.patch
      Upstream won't build tests when cross-compiling. However; this means still
      building the tests during a host build. Building the tests causes build
      failures on older distributions such as CentOS 6 and Debian 7 because of
      the command `objcopy --add-symbol` is used when building the test
      "test_resources2," which is not available with the older version of
      objcopy provided by the distributions.

  - Add 0003-remove-cpp-requirement.patch:
     C++ is not needed when just compiling. The inclusion of C++ in meson.build
     is to ensure libglib doesn't accidentally use C++ reserved keywords in
     public headers. Because tests aren't being compiled, there is no need for
     C++ as a requirement.
     (https://gitlab.gnome.org/GNOME/glib/issues/1748)

  - Add 0004-Add-Wno-format-nonliteral-to-compiler-arguments.patch:
    This prevents a false error when compiling against older gcc versions.
    (https://gitlab.gnome.org/GNOME/glib/issues/1744)

  - Remove 0004-Do-not-hardcode-python-path-into-various-tools.patch:
      The switch to meson makes this obsolete.

  - Remove LIBGLIB2_AUTORECONF = YES from libglib2.mk:
      Now that libglib2 is a meson package, there is no need for AUTORECONF.

  - Remove LIBGLIB2_INSTALL_STAGING_OPTS from libglib2.mk:
      Meson resolves these correctly.

  - Add LIBGLIB2_REMOVE_BINDIR_PREFIX_FROM_PC_FILE in libglib2.mk:
      Newer versions of libglib2 prefix glib-genmarshal, gobject-query, and
      glib-mkenums with ${bindir}. Unfortunately, this will resolve to the host
      systems /bin/ directory, which will cause compilation issues if the host
      does not have these programs. By removing the ${bindir}/ prefix, these
      programs are resolved in PATH instead.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mdadm: bump to version 4.1
Fabrice Fontaine [Mon, 10 Jun 2019 22:16:35 +0000 (00:16 +0200)]
package/mdadm: bump to version 4.1

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mdadm: fix patch number
Fabrice Fontaine [Mon, 10 Jun 2019 22:16:34 +0000 (00:16 +0200)]
package/mdadm: fix patch number

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/git: bump to version 2.22.0
Vadim Kochan [Mon, 10 Jun 2019 15:57:55 +0000 (18:57 +0300)]
package/git: bump to version 2.22.0

Remove patch with NLS fix because it is was added into latest version.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/poppler: needs wchar
Fabrice Fontaine [Mon, 10 Jun 2019 21:57:33 +0000 (23:57 +0200)]
package/poppler: needs wchar

Fixes:
 - http://autobuild.buildroot.org/results/2c8695b75c3241359e739d88726430cbfe47a5bd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gerbera: add upstream patch to fix find_program with taglib-config
Jörg Krause [Mon, 10 Jun 2019 21:20:23 +0000 (23:20 +0200)]
package/gerbera: add upstream patch to fix find_program with taglib-config

Add an from from upstream to fix linking Gerbera with taglib. The patch
fixes the following issue:

When cross-compiling CMakes `find_program()` will search for binaries on the
host. This is typically correct, e.g. when search for compilers or shells.

When cross-compiling, searching for `taglib-config` using `find_program` should
not find the binary on the host, instead it should find the binary in the sysroot
directory, as the host `taglib-config` will output the wrong host paths
and libs, whereas the sysroot `taglib-config` will output the correct sysroot
paths and libs.

Therefore, use the `CMAKE_FIND_ROOT_PATH_MODE_PROGRAM` variable when
cross-compiling. This variable controls whether the `CMAKE_FIND_ROOT_PATH`
and `CMAKE_SYSROOT` are used by find_program().

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/taglib: add upstream patch to fix taglib-config
Jörg Krause [Mon, 10 Jun 2019 21:20:22 +0000 (23:20 +0200)]
package/taglib: add upstream patch to fix taglib-config

The current taglib-config program does not work when cross-compiling as it only
returns paths to the host, which breaks building programs which link against
taglib.

For example gerbera uses `taglib-config` and it fails with:

```
[..]
-- Found TagLib: -L/usr/lib -ltag
[..]
arm-linux-gnueabihf-g++: ERROR: unsafe header/library path used in cross-compilation: '-L/usr/lib'
```

Before the patch the output of `taglib-config` is:
```
$ ./output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/taglib-config --libs
-L/usr/lib -ltag
```

Add a patch from upstream which fixes taglib-config.

After applying the fix, the pkg-config file is correct:
```
$ ./output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/bin/taglib-config --libs
-L/home/joerg/Development/git/buildroot/output/host/arm-buildroot-linux-gnueabihf/sysroot/usr/lib -ltag
```

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/swupdate: bump to version 2019.04
Pierre-Jean Texier [Mon, 10 Jun 2019 19:55:36 +0000 (21:55 +0200)]
package/swupdate: bump to version 2019.04

New features in this release:
 - Improved documentation
 - delta updates based on rdiff library
 - support for libubootenv
 - dry-run option
 - CA certificates for signed images
 - Fix security leak in parser

This commit also:
 - introduce BR2_PACKAGE_LIBRSYNC for 'rdiff' Handler. No HAVE_* is
   needed, it just declares the functions locally and links with
   -lrsync.
 - introduce BR2_PACKAGE_LIBUBOOTENV
 - drop upstreamed patch
 - backport upstream patches (important fix)
 - regenerate the default swupdate.config. Now CONFIG_GUNZIP is always
   enabled because gunzip is provided by the default busybox config.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Arnout: don't mention ZLIB in help text for libubootenv, since it is
 select'ed by libubootenv.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoconfigs/imx7dpico: Add Wifi support
Joris Offouga [Mon, 10 Jun 2019 19:41:44 +0000 (21:41 +0200)]
configs/imx7dpico: Add Wifi support

imx7dpico has a BCM4339 Wifi chip. Add Wifi support by default
to allow a better customer experience.

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoconfigs/imx7dpico: Bump Linux and U-Boot
Joris Offouga [Mon, 10 Jun 2019 19:41:43 +0000 (21:41 +0200)]
configs/imx7dpico: Bump Linux and U-Boot

Bump Linux to 5.1 and U-Boot to version 2019.01.

U-Boot patch is no longer needed, applied upstream.

U-Boot defconfig name for this board has changed to pico-pi-imx7d.

U-Boot now supports distrobootcmd for this board, so add the appropriate
extlinux.conf and use SPL+u-boot.img instead of u-boot.imx. Note that
the common freescale post-image script handles things appropriately
based on the selected options in .config.

dosfstools and mtools are no longer needed to build the image.

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
[Arnout: remove BR2_PACKAGE_HOST_DOSFSTOOLS and BR2_PACKAGE_HOST_MTOOLS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoboards/freescale/common: Introduce genimage.cfg.template_no_boot_part_spl
Joris Offouga [Mon, 10 Jun 2019 19:41:42 +0000 (21:41 +0200)]
boards/freescale/common: Introduce genimage.cfg.template_no_boot_part_spl

Modern U-Boot assumes a layout where the first partition is an ext2 and
the kernel and dtb can be found in /boot. In other words, a layout
without boot partition.

Add a genimage.cfg template for the freescale defconfigs with such a
layout.

For now, only the layout with SPL+u-boot.img is added. It's unlikely that
the u-boot.imx approach will be used.

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/weston: drop unneeded first patch
Fabrice Fontaine [Mon, 10 Jun 2019 18:21:59 +0000 (20:21 +0200)]
package/weston: drop unneeded first patch

Patch is not needed since
https://gitlab.freedesktop.org/wayland/weston/commit/32838c93a509dbeda717e58279683c63a34a2e07

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/pkg-golang: do not set static linking for host target
Mirza Krak [Mon, 10 Jun 2019 15:40:07 +0000 (17:40 +0200)]
package/pkg-golang: do not set static linking for host target

The current logic will set the "-static" flag when building go
host packages if BR2_STATIC_LIBS is set, this will not work as
there is no support to link host packages statically.

Fix this by applying this logic only for target builds.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>