buildroot.git
7 years agopackage/x11r7/xserver_xorg-server: security bump to version 1.19.4
Bernd Kuhls [Fri, 6 Oct 2017 05:22:59 +0000 (07:22 +0200)]
package/x11r7/xserver_xorg-server: security bump to version 1.19.4

Fixes CVE-2017-13721 & CVE-2017-13723:
https://lists.x.org/archives/xorg-announce/2017-October/002809.html

Added all hashes provided by upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/x11r7/xkeyboard-config: bump version to 2.22
Bernd Kuhls [Fri, 6 Oct 2017 05:21:37 +0000 (07:21 +0200)]
package/x11r7/xkeyboard-config: bump version to 2.22

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireguard: needs 3.10+ kernel
Peter Korsgaard [Tue, 3 Oct 2017 08:04:48 +0000 (10:04 +0200)]
wireguard: needs 3.10+ kernel

The dependency is actually only for the kernel module (and thus on the
runtime kernel version rather than kernel headers), but as we don't know the
runtime version in kconfig and the user space part doesn't make much sense
without the kernel module this will have to do.

[Peter: extend commit message, add comment to Config.in as suggested by
Arnout, fix off-by-one in comment text]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocryptsetup: add host variant
Peter Korsgaard [Thu, 5 Oct 2017 15:06:21 +0000 (17:06 +0200)]
cryptsetup: add host variant

E.G. for generating dm-verity hashes or dm-crypt data at build time in a
post-image script.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolvm2: add host variant
Peter Korsgaard [Thu, 5 Oct 2017 15:06:20 +0000 (17:06 +0200)]
lvm2: add host variant

This is only for the device-mapper library, so a user selectable
Config.in.host option isn't needed.

[Peter: add host-pkgconf dependency as pointed out by Arnout]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoshairport-sync: bump to version 3.1.3
Jörg Krause [Wed, 4 Oct 2017 08:24:36 +0000 (10:24 +0200)]
shairport-sync: bump to version 3.1.3

Fixes a runtime startup issue on SysV init systems:
```
# shairport-sync -d
Daemon returned 2 as return value.
```

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibcurl: security bump to version 7.56.0
Peter Korsgaard [Wed, 4 Oct 2017 07:35:17 +0000 (09:35 +0200)]
libcurl: security bump to version 7.56.0

Drop upstreamed patch.

Fixes CVE-2017-1000254 - FTP PWD response parser out of bounds read:

https://curl.haxx.se/docs/adv_20171004.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/iprutils: bump version to 2.4.15.1
Samuel Mendoza-Jonas [Wed, 4 Oct 2017 02:12:54 +0000 (13:12 +1100)]
package/iprutils: bump version to 2.4.15.1

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoqemu: change to .tar.xz format
Peter Korsgaard [Thu, 5 Oct 2017 20:36:46 +0000 (22:36 +0200)]
qemu: change to .tar.xz format

And use the official download location.

Suggested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoqemu: security bump to version 2.8.1.1
Peter Korsgaard [Wed, 4 Oct 2017 07:13:57 +0000 (09:13 +0200)]
qemu: security bump to version 2.8.1.1

Fixes the following security issues and adds a number of other bigfixes:

2.8.1: Changelog:
https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg06332.html

CVE-2017-2615 - display: cirrus: oob access while doing bitblt copy backward
mode

CVE-2017-2620 - display: cirrus: out-of-bounds access issue while in
cirrus_bitblt_cputovideo

CVE-2017-2630 - nbd: oob stack write in client routine drop_sync

2.8.1.1 Changelog:
https://lists.gnu.org/archive/html/qemu-devel/2017-04/msg03460.html

CVE-2017-7471 - 9p: virtfs allows guest to change filesystem attributes on
host

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenntpd: fix musl build with older kernel headers
Baruch Siach [Fri, 29 Sep 2017 09:13:23 +0000 (12:13 +0300)]
openntpd: fix musl build with older kernel headers

musl provides its own SYS_getrandom definition, but not GRND_NONBLOCK.
This breaks the build with kernel headers older than v3.17. Add a patch
adding a local definition of GRND_NONBLOCK to fix the build.

The getentropy_linux.c file is in upstream tarball, but not in its git
repository. It originates from OpenBSD. For this reason the patch is
against the tarball, but not git formatted.

Fixes:
http://autobuild.buildroot.net/results/623/6235ddc095bc1984439e7339d590b11581a3e257/
http://autobuild.buildroot.net/results/648/648e7c91edcf893fa780de9bb44c05f5f842a2e8/
http://autobuild.buildroot.net/results/7da/7da71263a6e9b780031f1f6185c760d11dfc994e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agovboot-utils: disable static futility
Alex Suykov [Tue, 3 Oct 2017 08:37:37 +0000 (11:37 +0300)]
vboot-utils: disable static futility

Possibly fixes
http://autobuild.buildroot.net/results/fbe/fbe7892539cc1bf18f89d18c6609a5aa747647d0/
http://autobuild.buildroot.net/results/4bc/4bc388618ff02dde26ae09db021434a936c8cc1b/
and similar errors.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/tor: fix openssl detection for static builds
Bernd Kuhls [Tue, 3 Oct 2017 17:30:44 +0000 (19:30 +0200)]
package/tor: fix openssl detection for static builds

Fixes
http://autobuild.buildroot.net/results/8e6/8e639ab8912e7d884fd8e6dbb1ca8b49451dd766/

/home/test/autobuild/run/instance-1/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(c_zlib.o):
In function `zlib_stateful_expand_block':
c_zlib.c:(.text+0x54): undefined reference to `inflate'
/home/test/autobuild/run/instance-1/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(c_zlib.o):
In function `zlib_stateful_compress_block':
c_zlib.c:(.text+0xd4): undefined reference to `deflate'

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoHOST_DIR/lib: symlink respectively to lib32/64
Matt Weber [Wed, 4 Oct 2017 21:33:19 +0000 (16:33 -0500)]
HOST_DIR/lib: symlink respectively to lib32/64

Discovered the issue on a RHEL7.4 machine where
the cmake build dynamically selected HOST_DIR/lib64
as the installation path for the lzo2 library.

Fixes failures like the following:
host-mtd
http://autobuild.buildroot.net/results/d31/d31581d2e60f35cf70312683df99c768e2ea8516/

host-squashfs
http://autobuild.buildroot.net/results/d9c/d9c95231ac774ed71580754a15ebb3b121764310/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolinux: bump default to version 4.13.5
Bernd Kuhls [Thu, 5 Oct 2017 17:30:07 +0000 (19:30 +0200)]
linux: bump default to version 4.13.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agolinux-headers: bump 4.{4, 9, 13}.x series
Bernd Kuhls [Thu, 5 Oct 2017 17:30:06 +0000 (19:30 +0200)]
linux-headers: bump 4.{4, 9, 13}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoqemu: drop obsolete "--disable-uuid" configuration parameter
Carlos Santos [Thu, 28 Sep 2017 17:55:04 +0000 (14:55 -0300)]
qemu: drop obsolete "--disable-uuid" configuration parameter

./configure: --disable-uuid is obsolete, UUID support is always built

Change-Id: I9e278418d19e15bbbd3ea233658cd62f75e3385c
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/turbolua: Fix build with gcc7
Marcin Niestroj [Tue, 26 Sep 2017 13:37:16 +0000 (15:37 +0200)]
package/turbolua: Fix build with gcc7

gcc7 has -Wimplicit-fallthrough enabled by default. Together with
-Werror in turbolua makefile it gives -Werror=implicit-fallthrough=
build error.

Add upstreamable patch [1], which fixes typo in FALLTHROUGH comment,
so it makes the fallthrough explicit for gcc.

[1] https://github.com/kernelsauce/turbo/pull/323

Fixes:
http://autobuild.buildroot.net/results/6f107b62f105508044185576b071323e5d73dd83
http://autobuild.buildroot.net/results/d303929960c667a21181d0bbdab64ba8a8d56a4f

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-basexx: new package
Francois Perrad [Sun, 24 Sep 2017 16:18:58 +0000 (18:18 +0200)]
lua-basexx: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-compat53: new package
Francois Perrad [Sun, 24 Sep 2017 16:18:57 +0000 (18:18 +0200)]
lua-compat53: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-cqueues: new package
Francois Perrad [Sun, 24 Sep 2017 16:18:56 +0000 (18:18 +0200)]
lua-cqueues: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolua-fifo: new package
Francois Perrad [Sun, 24 Sep 2017 16:18:55 +0000 (18:18 +0200)]
lua-fifo: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt: Allow enabling of QtWebKit with GCC 6+
Evgeniy Didin [Fri, 22 Sep 2017 12:50:03 +0000 (15:50 +0300)]
qt: Allow enabling of QtWebKit with GCC 6+

Building Qt with QtWebKit on configuration step there is
a check which disables QtWebKit build with GCC 6+.
Back in the day nobody thought about building Qt with GCC
version greater than 5.x. And now with modern GCCs like
6.x and 7.x this assumption gets in the way.

Given in Buildroot today we don't have GCC older than 4.9
it should be safe to remove now meaningless check completely
by adding patch to qt.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowireguard: bump version to 0.0.20171001
Peter Korsgaard [Mon, 2 Oct 2017 21:06:26 +0000 (23:06 +0200)]
wireguard: bump version to 0.0.20171001

And add a hash for the license file while we're at it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/bridge-utils: fix headers path
Yann E. MORIN [Mon, 2 Oct 2017 21:40:09 +0000 (23:40 +0200)]
package/bridge-utils: fix headers path

Currently, bridge-utils wants to grap the headers from the linux-headers
package, so we point it directly there, as has been the case since we
first added bridge-utils in 2003 (c8eea31d3f), and then further refined
in 2005 (178a317d26) which is the first moment we pointed to the linux-
headers directory.

However, ther are two things wrong with that.

First, the headers are not directly in $(LINUX_HEADERS_DIR). Instead,
they are in a sub-directory thereof. So, we could not have found them
the way we are doing now.

Second, this definitely does not work when using an external toolchain,
because there is not linux-headers package enabled then.

Yet, against all odds, bridge-utils has valiantly deflected all rocks
thrown its way, day-in day-out building without any issue in every
autobuilders it's been confronted with. Good boy, good boy. :-)

And indeed, it turns out that the required headers are easily found from
within the sysroot of the toolchain. Wonders! :-)

But there's still a gotcha: the default search path is still a hard
coded path pointing to the installed kernel source tree on the host.

So, we still have to pass this option, but we can simply point to the
sysroot.

[Peter: point to sysroot instead of non-existing directory]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/netsniff-ng: add missing header
Romain Naour [Mon, 2 Oct 2017 20:52:59 +0000 (22:52 +0200)]
package/netsniff-ng: add missing header

Like for nfs-utils and strongswan, add stdint.h header for
UINT16_MAX definition

Reported-by: Ross <grunpferd@netscape.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonfs-utils: add missing include of stdint.h
Matt Weber [Mon, 2 Oct 2017 15:38:09 +0000 (10:38 -0500)]
nfs-utils: add missing include of stdint.h

The Glibc bump to 2.26 exposed this missing header when building with the
following combination using an i386 internal toolchain:

gcc5.4.0
bin2.28.1
linux4.1.43

Logfile snippet:

2017-10-02T00:08:11 ^
2017-10-02T00:08:12 rpc.c: In function ‘nsm_recv_getport’:
2017-10-02T00:08:12 rpc.c:469:13: error: ‘UINT16_MAX’ undeclared (first use in this function)

Upstream: https://bugzilla.linux-nfs.org/show_bug.cgi?id=312

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agostrongswan: add missing include of stdint.h
Matt Weber [Mon, 2 Oct 2017 15:31:07 +0000 (10:31 -0500)]
strongswan: add missing include of stdint.h

Recent releases of glibc don't include the full stdint.h
header in some network headers included by utils.h.
Upstream is targetting a 5.6.1 release of the fix.

Ustream: https://wiki.strongswan.org/issues/2425

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodump1090: fix librtlsdr package name typo
Peter Korsgaard [Tue, 3 Oct 2017 12:22:30 +0000 (14:22 +0200)]
dump1090: fix librtlsdr package name typo

Fixes:
http://autobuild.buildroot.net/results/720/720a4b23a47aa6677bde4418f21e6b073a72ea51/
http://autobuild.buildroot.net/results/14e/14edf051d113a6ec54b61738748764adeac7ba9d/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/icu: remove xlocale.h header include
Romain Naour [Mon, 2 Oct 2017 20:52:58 +0000 (22:52 +0200)]
package/icu: remove xlocale.h header include

Remove xlocale.h header include since it's removed from glibc 2.26.

Reported-by: Ross <grunpferd@netscape.net>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/php: bump version to 7.1.10
Bernd Kuhls [Tue, 3 Oct 2017 08:30:06 +0000 (10:30 +0200)]
package/php: bump version to 7.1.10

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/{mesa3d, mesa3d-headers}: bump version to 17.2.2
Bernd Kuhls [Tue, 3 Oct 2017 08:27:18 +0000 (10:27 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 17.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agox11r7: xdriver_xf86-input-tslib: add the hash for the COPYING license file
Martin Kepplinger [Tue, 3 Oct 2017 06:21:03 +0000 (08:21 +0200)]
x11r7: xdriver_xf86-input-tslib: add the hash for the COPYING license file

The COPYING file is part of the xf86-input-tslib project's source tree.
Let's include the hash for it's current version.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agowireguard: add new package
Aurélien Chabot [Wed, 6 Sep 2017 20:30:06 +0000 (21:30 +0100)]
wireguard: add new package

[Peter: Fix help text, drop suboptions, drop patches, fix dependencies,
 handle optional bash dependency, use kernel-module infrastructure,
 enable needed kernel options]
Signed-off-by: Aurélien Chabot <aurelien@chabot.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojsoncpp: bump to version 1.8.3
Jörg Krause [Mon, 2 Oct 2017 19:14:57 +0000 (21:14 +0200)]
jsoncpp: bump to version 1.8.3

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarc/bfin: remove 60x cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:20 +0000 (11:22 +0200)]
arc/bfin: remove 60x cores

Those cores are not supported in upstream gcc, not even in master.

The only toolchain that supported those core was the 2014R1 ADI
rebuilt toolchain, but we removed it in 311bc13 (toolchain: kill
ADI Blackfin toolchain) because there was too many issues with it.
ADI has not released any newer toolchain since then.

There is little hope for those cores now, so remove them.

Support for those cores has been useless and unusable for a while
without nobody noticing, therefore we intentionally skip adding
Config.in.legacy. This would require keeping code in
arch/Config.in.bfin since the options being removed are inside a
choice...endchoice block.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: explain why we don't add the options to Config.in.legacy.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/bfin: internal backend not suitable for some cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:19 +0000 (11:22 +0200)]
arch/bfin: internal backend not suitable for some cores

Some cores are not supported by upstream gcc.

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/mips: internal backend not suitable for some cores
Yann E. MORIN [Sun, 3 Sep 2017 09:22:18 +0000 (11:22 +0200)]
arch/mips: internal backend not suitable for some cores

Some cores are not supported by upstream gcc.

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch/csky: internal backend not suitable
Yann E. MORIN [Sun, 3 Sep 2017 09:22:17 +0000 (11:22 +0200)]
arch/csky: internal backend not suitable

Upstream gcc does not have support for C-Sky, and we do not have a
vendor tree for it either (yet?).

Use the newly-introduced symbol to state so, rather than have the
exclusion in the toolchain choice.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarch: add option to disable internal toolchain backend
Yann E. MORIN [Sun, 3 Sep 2017 09:22:16 +0000 (11:22 +0200)]
arch: add option to disable internal toolchain backend

Some architectures or specific cores do not have support in upstream
gcc. Currently, they are individually listed as exclusions in the
toolchain choice.

This poses a maintainance burden, as the knowledge about what gcc
version supports what architecture is split across many places: the
toolchain choice, the gcc version choice, the external toolchains.

As a first step, add a blind option that architectures or individual
cores may select to indicate they lack support in our internal backend.

Actual use of the option will come in followup patches.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotslib: add the hash for the COPYING license file
Martin Kepplinger [Mon, 2 Oct 2017 13:12:16 +0000 (15:12 +0200)]
tslib: add the hash for the COPYING license file

Since tslib's COPYING file in part of the source tree, we can easily
include it's hash for the given version here.

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomonit: bump to version 5.24.0
Jörg Krause [Mon, 2 Oct 2017 18:51:09 +0000 (20:51 +0200)]
monit: bump to version 5.24.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodnsmasq: simplify build configuration
Baruch Siach [Mon, 2 Oct 2017 17:38:26 +0000 (20:38 +0300)]
dnsmasq: simplify build configuration

Drop direct sed'ing of config.h for HAVE_CONNTRACK, HAVE_LUASCRIPT, and
HAVE_DBUS. Use MAKE_OPTS COPTS parameters instead, like we do already
for all other options.

Rename DNSMASQ_ENABLE_LUA to DNSMASQ_TWEAK_LIBLUA since it now does only
that.

Merge two conntrack and three dbus conditional sections.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodnsmasq: security bump to version 2.78
Baruch Siach [Mon, 2 Oct 2017 17:38:25 +0000 (20:38 +0300)]
dnsmasq: security bump to version 2.78

Supported Lua version is now 5.2.

Add licenses hash.

Fixes a number of security issues:

CVE-2017-13704 - Crash when DNS query exceeded 512 bytes (a regression
in 2.77, so technically not fixed by this bump)

CVE-2017-14491 - Heap overflow in DNS code

CVE-2017-14492 - Heap overflow in IPv6 router advertisement code

CVE-2017-14493 - Stack overflow in DHCPv6 code

CVE-2017-14494 - Information leak in DHCPv6

CVE-2017-14496 - Invalid boundary checks allows a malicious DNS queries
to trigger DoS

CVE-2017-14495 - Out-of-memory Dos vulnerability

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoConfig.in: rename xbmc -> kodi
Bernd Kuhls [Sun, 1 Oct 2017 19:04:30 +0000 (21:04 +0200)]
Config.in: rename xbmc -> kodi

This is a left-over of the xbmc->kodi rename patch
https://git.buildroot.net/buildroot/commit/package/kodi?id=3578459748d80cd469729319543b199380a4370f

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosdl2: Bump version to 2.0.6
Olivier Schonken [Sun, 1 Oct 2017 18:46:00 +0000 (20:46 +0200)]
sdl2: Bump version to 2.0.6

Bump version and remove patches that were merged upstream

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/raspberrypi*: bump kernel version
Peter Korsgaard [Sat, 30 Sep 2017 08:55:46 +0000 (10:55 +0200)]
configs/raspberrypi*: bump kernel version

Now based on 4.9.52 (from 4.9.36).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/urg: fix extraction commands
Yann E. MORIN [Sun, 1 Oct 2017 15:21:30 +0000 (17:21 +0200)]
package/urg: fix extraction commands

Currently, the extraction commands entirely remove the urg directory,
which means the downloaded stamp will get removed, and thus a subsequent
build would try to re-download it.

It turns out that the directory extracted by urg is already correctly
named, so we just need to extract out of the build directory. This
highly simplifies the command.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobananapro: bump Linux to version 4.13.4
Jörg Krause [Sun, 1 Oct 2017 13:42:42 +0000 (15:42 +0200)]
bananapro: bump Linux to version 4.13.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agobananapro: bump U-Boot to version 2017.09
Jörg Krause [Sun, 1 Oct 2017 13:42:41 +0000 (15:42 +0200)]
bananapro: bump U-Boot to version 2017.09

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/weston: fix build on musl
Yann E. MORIN [Sun, 1 Oct 2017 12:32:16 +0000 (14:32 +0200)]
package/weston: fix build on musl

As usual, musl is more conservative than the alternatives, wrt to
headers that are internally included.

Fixes:
    http://autobuild.buildroot.org/results/a7a/a7a6b17dff09a45a35185a0e02704523b815dd57/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodump1090: new package
Peter Korsgaard [Sat, 30 Sep 2017 20:07:43 +0000 (22:07 +0200)]
dump1090: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gdb: bump to version 8.0.1
Romain Naour [Sat, 30 Sep 2017 16:56:03 +0000 (18:56 +0200)]
package/gdb: bump to version 8.0.1

https://sourceware.org/ml/gdb-announce/2017/msg00004.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/binutils: bump to 2.29.1
Romain Naour [Sat, 30 Sep 2017 16:56:02 +0000 (18:56 +0200)]
package/binutils: bump to 2.29.1

There is a problem between the git tag and the archive release content,
they are not in sync [1].

The version used to generate the archive allow us to remove the xtensa
patches.

Otherwise, see the announce [2].

[1] https://sourceware.org/ml/binutils/2017-09/msg00337.html
[2] https://sourceware.org/ml/binutils/2017-09/msg00311.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/nodejs: bump version to 8.6.0
Martin Bark [Sat, 30 Sep 2017 12:45:09 +0000 (13:45 +0100)]
package/nodejs: bump version to 8.6.0

See https://nodejs.org/en/blog/release/v8.6.0/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs: nexbox_a95x_defconfig: bump to kernel 4.13.4
Peter Korsgaard [Fri, 29 Sep 2017 20:34:29 +0000 (22:34 +0200)]
configs: nexbox_a95x_defconfig: bump to kernel 4.13.4

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/supertuxkart: needs freetype
Bernd Kuhls [Fri, 29 Sep 2017 19:01:40 +0000 (21:01 +0200)]
package/supertuxkart: needs freetype

https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L231

Build would fail without this patch using this defconfig:

BR2_x86_64=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_SUPERTUXKART=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_XORG7=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Acked-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: add hash for license file
Peter Korsgaard [Sat, 30 Sep 2017 06:59:07 +0000 (08:59 +0200)]
zsh: add hash for license file

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: bump to version 5.4.2
Baruch Siach [Thu, 28 Sep 2017 20:43:53 +0000 (23:43 +0300)]
zsh: bump to version 5.4.2

Upstream does not provide a .tar.xz archive for this release. Revert to
.tar.gz.

Cc: Phil Eichinger <phil.eichinger@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agozsh: disable NIS support
Baruch Siach [Thu, 28 Sep 2017 20:43:52 +0000 (23:43 +0300)]
zsh: disable NIS support

The configure test for NIS and NIS+ looks for the ypcat and nisls host
utilities, respectively. This is not compatible with cross compilation.
Disable both unconditionally.

Fixes:
http://autobuild.buildroot.net/results/54c/54c9c5dff3df0a43573b03896cb0629fcae08478/
http://autobuild.buildroot.net/results/c8e/c8e30a1eb6e77ae76292b6a01bede5abb2b1b7b7/

Cc: Phil Eichinger <phil.eichinger@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoRevert "package/kodi-inputstream-rtmp: bump version to 1.0.6"
Bernd Kuhls [Fri, 29 Sep 2017 14:47:49 +0000 (16:47 +0200)]
Revert "package/kodi-inputstream-rtmp: bump version to 1.0.6"

This reverts commit eec04a7b7dc32749f9c1f5e0ac1087230c542f28.

The original commit bumped the package to a version which is at runtime
incompatible with Kodi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/opencore-amr: fix license, add license hash
Bernd Kuhls [Thu, 28 Sep 2017 21:00:46 +0000 (23:00 +0200)]
package/opencore-amr: fix license, add license hash

Fixes
http://autobuild.buildroot.net/results/656/65667eb8fa1d447251b707e8a201d811cdaf7590/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoejabberd: Replace $(HOST_DIR) to /usr in ERL path
Johan Oudinet [Mon, 25 Sep 2017 16:34:31 +0000 (18:34 +0200)]
ejabberd: Replace $(HOST_DIR) to /usr in ERL path

Previously, it was working by luck. Buildroot has fixed its definition
of HOST_DIR and pkg-autotools.mk uses the classical /usr prefix. So,
fix this sed expression to correctly replace $(HOST_DIR) by /usr in ERL
path.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoiproute2: fix static build with uClibc
Baruch Siach [Thu, 28 Sep 2017 18:16:40 +0000 (21:16 +0300)]
iproute2: fix static build with uClibc

Version 4.13 added a local definition of strlcpy(). This clashes with
the uClibc provided one when linking statically. Add a patch that
detects libc provided strlcpy(), and avoids the multiple definition.

Fixes:
http://autobuild.buildroot.net/results/f34/f34684dcdb47938a3da8b00c8b29000cc23b4e3d/
http://autobuild.buildroot.net/results/a01/a01c5775945f5ffe75451722b676fc93333a0f14/
http://autobuild.buildroot.net/results/0ee/0eeab1a0ca943f9a035a0d458ddf9cc210bc87f4/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/openobex: disable doc build
Bernd Kuhls [Tue, 26 Sep 2017 17:20:40 +0000 (19:20 +0200)]
package/openobex: disable doc build

Openobex would need the host variant of xmlint (provided by host-
libxml2) to build the documentation.
To avoid this dependency we disable the build of the documentation.

Fixes
http://autobuild.buildroot.net/results/668/668ffb15f8c4faf0f4c462488dbb70b61386d465/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoevemu: bump version to 2.7.0
Peter Seiderer [Wed, 27 Sep 2017 20:35:27 +0000 (22:35 +0200)]
evemu: bump version to 2.7.0

See [1] for details.

[1] https://lists.freedesktop.org/archives/input-tools/2017-September/001416.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump linux to 4.13.3
Peter Korsgaard [Wed, 27 Sep 2017 19:49:07 +0000 (21:49 +0200)]
orangepi_pc: bump linux to 4.13.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_pc: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:06 +0000 (21:51 +0200)]
orangepi_pc: bump u-boot to 2017.09

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoorangepi_zero: bump u-boot to 2017.09
Peter Korsgaard [Wed, 27 Sep 2017 19:51:05 +0000 (21:51 +0200)]
orangepi_zero: bump u-boot to 2017.09

Cc: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoDEVELOPERS: Update imx6-sabresd config entry
Fabio Estevam [Wed, 27 Sep 2017 10:28:08 +0000 (07:28 -0300)]
DEVELOPERS: Update imx6-sabresd config entry

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed,so update the entry accordingly.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years ago.gitlab-ci.yml: Update imx6-sabresd defconfig entries
Fabio Estevam [Wed, 27 Sep 2017 10:28:07 +0000 (07:28 -0300)]
.gitlab-ci.yml: Update imx6-sabresd defconfig entries

After the conversion to SPL the imx6sabresd defconfig targets have
been renamed, so update their entries accordingly.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoperl: bump to version 5.26.1
Francois Perrad [Wed, 27 Sep 2017 08:32:50 +0000 (10:32 +0200)]
perl: bump to version 5.26.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/mx25pdk: Bump U-Boot and kernel versions
Fabio Estevam [Thu, 28 Sep 2017 12:44:59 +0000 (09:44 -0300)]
configs/mx25pdk: Bump U-Boot and kernel versions

Bump to U-Boot 2017.09 and kernel to 4.13.3.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libmad: don't install .pc in target
Yann E. MORIN [Thu, 28 Sep 2017 18:06:21 +0000 (20:06 +0200)]
package/libmad: don't install .pc in target

We explicitly remove pkg-config files from target in the target-finalize
step, and our pkg-config looks for .pc files from staging, not target.

So, explicitly installing the .pc in target is useless.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoengicam: imx6qdl_icore: Bump to latest Linux and uboot releases
Jagan Teki [Wed, 13 Sep 2017 11:42:06 +0000 (17:12 +0530)]
engicam: imx6qdl_icore: Bump to latest Linux and uboot releases

- Linux: 4.13
- Uboot: 2017.07

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoflex: Fix segfault of stage1flex when host has glibc 2.26 or newer
Adrian Perez de Castro [Wed, 13 Sep 2017 14:35:24 +0000 (17:35 +0300)]
flex: Fix segfault of stage1flex when host has glibc 2.26 or newer

When the host uses glibc 2.26 or newer, Flex will try to use the
newly-introduced reallocarray() function, but as it would not define
_GNU_SOURCE a segmentation fault would occur later on due to the
compiler assumming that the function is implicitly defined.

This issue manifests itself due to a crash of "stage1flex" during the
Flex bootstrap:

  ./stage1flex   -o stage1scan.c ./scan.l
  make[2]: *** [Makefile:1725: stage1scan.c] Segmentation fault (core dumped)

This imports the patch from the upstream Git repository, and adds flags
in the .mk file to rebuild the Autotools scripts and support files. Due
to the latter, the patch to disable the documentation is changed so it
modifies the .am file instead.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[Arnout:
 - Add Adrian's Sob and upstream ref to new patch;
 - Keep patch 1 as patch 1;
 - Keep Vicente as author of path 1;
 - Add reason for autoreconf in a comment.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: bump to 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:06 +0000 (23:24 +0200)]
package/glibc: bump to 2.26

Drop upstream patch:

0001-sh-Fix-building-with-gcc5-6.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=d40dbe722f004f999b589de776f7e57e564dda01

0002-CVE-2017-1000366-Ignore-LD_LIBRARY_PATH-for-AT_SECUR.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=f6110a8fee2ca36f8e2d2abecf3cba9fa7b8ea7d

0003-ld.so-Reject-overly-long-LD_PRELOAD-path-elements.patch
https://sourceware.org/git/?p=glibc.git;a=commit;h=6d0ba622891bed9d8394eef1935add53003b12e8

0004-ld.so-Reject-overly-long-LD_AUDIT-path-elements.patch

https://sourceware.org/git/?p=glibc.git;a=commit;h=81b82fb966ffbd94353f793ad17116c6088dedd9

0005-fix-binutils-2-29-build.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=388b4f1a02f3a801965028bbfcd48d905638b797

0006-i686-Add-missing-IS_IN-libc-guards-to-vectorized-strcspn.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=69052a3a95da37169a08f9e59b2cc1808312753c

0006-sh4-trap.patch
https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff_plain;h=db3d848e154b00071f4a5e729d5884efad410109

But 2.26 version introduced quite a few regressions on x86, x86_64 and
powerpc64le when float128 support was added. All these issues are now
fixed in the glibc 2.26 stable branch.

Backport patches from glibc 2.26 stable branch related to bug 21930.
Take all patches listed in this bug report in order to have all fix
for this issue [1] [2].

Fixes gnuradio build:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp: In function ‘std::size_t boost::hash_detail::float_hash_value(T)’:
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘float’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: expected primary-expression before ‘long’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: found ‘:’ in nested-name-specifier, expected ‘::’
             switch (fpclassify(v))
                     ^
[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Float128’ is not a class or namespace
             switch (fpclassify(v))
                     ^

[...]/sysroot/usr/include/boost/functional/hash/detail/hash_float.hpp:210:21: error: ‘_Generic’ was not declared in this scope
             switch (fpclassify(v))
                     ^

Also backport fix for glibc bug 22146.
Without this patch some C++ applications (jsoncpp, mesa3d and kodi) fail
to build due to an issue while building the toolchain.

A test in the libstdc++ configure script fail when -Os and float128 are
used.

See the bug report for details [3].

[1] https://sourceware.org/ml/libc-alpha/2017-08/msg00586.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=21930
[3] https://sourceware.org/bugzilla/show_bug.cgi?id=22146

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/flex: disable reallocarray
Romain Naour [Sat, 23 Sep 2017 21:24:05 +0000 (23:24 +0200)]
package/flex: disable reallocarray

This doesn't compile with glibc 2.26 where reallocarray() as been introduced.

It's a nasty issue, when reallocarray() is available for the target, flex will
build a small tool called stage1flex for the host (using _FOR_BUILD) but with
the config.h generated for the target.

When the host doesn't have a glibc >= 2.26, reallocarray() is never defined
while building stage1flex:

misc.c:147:8: warning : implicit declaration of function « reallocarray »
[-Wimplicit-function-declaration]
  mem = reallocarray(NULL, (size_t) size, element_size);
        ^~~~~~~~~~~~
misc.c:147:6: warning : assignment makes pointer from integer without a cast
[-Wint-conversion]
  mem = reallocarray(NULL, (size_t) size, element_size);
      ^

Disable reallocarray for now, reallocarray() support may be
enabled in a followup patch.

Fixes:
stage1flex-misc.o: In function `allocate_array':
misc.c:(.text+0x38f): undefined reference to `reallocarray'
stage1flex-misc.o: In function `reallocate_array':
misc.c:(.text+0xc8a): undefined reference to `reallocarray'
collect2: error: ld returned 1 exit status

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/diffutils: disable getopt_long replacement with glibc
Romain Naour [Sat, 23 Sep 2017 21:24:04 +0000 (23:24 +0200)]
package/diffutils: disable getopt_long replacement with glibc

Since glibc >= 2.26, don't try to use getopt_long replacement bundled
with diffutils. It will conflict with the one from glibc.
The getopt copy bundled in glibc has been updated with the one from gnulib.

After a lot of warnings...
Fixes:
xstrtol-error.c: In function 'xstrtol_error':
xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
     option = long_options[opt_idx].name;
                          ^
xstrtol-error.c:84:26: error: dereferencing pointer to incomplete type 'const struct rpl_option'

[...]

xstrtol-error.c:92:1: error: conflicting types for 'xstrtol_fatal'
 xstrtol_fatal (enum strtol_error err,
 ^~~~~~~~~~~~~
In file included from xstrtol-error.c:20:0:
xstrtol.h:69:16: note: previous declaration of 'xstrtol_fatal' was here
 _Noreturn void xstrtol_fatal (enum strtol_error,
                ^~~~~~~~~~~~~

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains
Romain Naour [Sat, 23 Sep 2017 21:24:03 +0000 (23:24 +0200)]
package/gcc: enable float128 on powerpc64le with glibc >= 2.26 toolchains

float128 is now required on powerpc64le with glibc >= 2.26 toolchains.

Fixes:
running configure fragment for sysdeps/gnu
running configure fragment for sysdeps/powerpc/powerpc64le
checking if [...]powerpc64le-buildroot-linux-gnu-gcc supports binary128 floating point type... no
checking if the target machine is at least POWER8... yes
configure: error: ***  binary128 floating point type (GCC >= 6.2) is required on powerpc64le.

In order to prepare the glibc bump to this version, we enable
binary128 floating point in gcc. This require at least gcc >= 6.2.

Disable gcc 4.x and 5.x for internal toolchain.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/glibc: needs kernel headers >= 3.10 on powerpc64le
Romain Naour [Sat, 23 Sep 2017 21:24:02 +0000 (23:24 +0200)]
package/glibc: needs kernel headers >= 3.10 on powerpc64le

Since glibc 2.26, kernel headers >= 3.10 are needed on powerpc64le [1].
In order to prepare the glibc bump to this version, we don't allow to
build a Buildroot toolchain with kernel headers older than 3.10.

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:01 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:241:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;

../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc: In function ‘int __sanitizer::TracerThread(void*)’:
../../../../libsanitizer/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc:276:22: error: aggregate ‘sigaltstack handler_stack’ has incomplete type and cannot be defined
   struct sigaltstack handler_stack;
                      ^~~~~~~~~~~~~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=72edc2c02f8b4768ad660f46a1c7e2400c0a8e06

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agopackage/gcc: fix build issue with glibc 2.26
Romain Naour [Sat, 23 Sep 2017 21:24:00 +0000 (23:24 +0200)]
package/gcc: fix build issue with glibc 2.26

In file included from ../../../libgcc/unwind-dw2.c:403:0:
./md-unwind-support.h: In function « aarch64_fallback_frame_state »:
./md-unwind-support.h:58:21: error: field « uc »  has incomplete type
     struct ucontext uc;
                     ^~

The fix is already included in gcc 7.2 release [1]. We have to backport it to
all older gcc release since it's not included in any stable release yet.

[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=14c2f22a1877f6b60a2f7c2f83ffb032759456a6

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoutils/config: new script to manipulate .config files on the command line
Marcus Folkesson [Tue, 26 Sep 2017 21:15:02 +0000 (23:15 +0200)]
utils/config: new script to manipulate .config files on the command line

Default prefix is set to `BR2_` but may be overidden by setting
BR2_PREFIX.

Example usage:

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --enable GNUPG

Check state of config option `BR2_PACKAGE_GNUPG`:
./utils/config --package --state GNUPG
y

Enable `BR2_PACKAGE_GNUPG`:
./utils/config --package --disable GNUPG

Set `BR2_TARGET_GENERIC_ISSUE` to "Welcome":
./utils/config --set-str  TARGET_GENERIC_ISSUE "Welcome"

Copied from the Linux kernel (4.13-rc6) source code and adapted to
Buildroot.
Thanks to Andi Kleen who is the original author of this script.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
[Arnout: merge the two tr invications]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/raspberrypi3_qt5we: set gpu-mem to 200
Gaël PORTAY [Sat, 23 Sep 2017 23:30:07 +0000 (19:30 -0400)]
configs/raspberrypi3_qt5we: set gpu-mem to 200

Qt WebEngine requires more GPU memory than initial setup.

This fixes crashes such as this one.

#0 0x0000742c63de <unknown>
#1 0x0000742d0c38 <unknown>
#2 0x0000749d7bde <unknown>
#3 0x0000749e3c70 <unknown>
#4 0x00007530227c <unknown>
#5 0x000075302480 <unknown>
#6 0x0000752fb1e4 <unknown>
#7 0x00007430f878 <unknown>
#8 0x0000742d5fee <unknown>
#9 0x0000742d6f44 <unknown>
#10 0x0000742d721e <unknown>
#11 0x0000742d7ad6 <unknown>
#12 0x0000742d57b2 <unknown>
#13 0x0000742e74f6 <unknown>
#14 0x0000742f6a74 <unknown>
#15 0x0000742f41dc <unknown>

Received signal 6
#0 0x0000742c63de <unknown>
#1 0x0000742c66a0 <unknown>
#2 0x0000725b5d10 <unknown>
[end of stack trace]
qml: Render process exited with code 256 (abnormal exit)

Reported-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoraspberrypi: post-image.sh add new gpu_mem option
Gaël PORTAY [Sat, 23 Sep 2017 23:30:06 +0000 (19:30 -0400)]
raspberrypi: post-image.sh add new gpu_mem option

The amount of GPU memory can be set using the new option --gpu_mem_XXX
(where XXX is the total amount of memory available on the board).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoboard/raspberrypi/post-image.sh: add multi arg support
Erik Stromdahl [Sat, 15 Jul 2017 12:50:29 +0000 (14:50 +0200)]
board/raspberrypi/post-image.sh: add multi arg support

Add possibility to supply multiple arguments to
post-image.sh

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
[Arnout: indent esac, suggested by Gaël PORTAY]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
7 years agoconfigs/mx6sx_udoo_neo: bump Kernel and U-Boot versions
Breno Lima [Wed, 27 Sep 2017 12:57:12 +0000 (09:57 -0300)]
configs/mx6sx_udoo_neo: bump Kernel and U-Boot versions

Bump U-Boot to 2017.09 and kernel to 4.13.3 versions.

Signed-off-by: Breno Lima <breno.lima@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/git: security bump to version 2.13.6
Bernd Kuhls [Wed, 27 Sep 2017 17:14:31 +0000 (19:14 +0200)]
package/git: security bump to version 2.13.6

Release notes:
https://public-inbox.org/git/xmqqy3p29ekj.fsf@gitster.mtv.corp.google.com/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openvpn: security bump to version 2.4.4
Bernd Kuhls [Wed, 27 Sep 2017 17:05:00 +0000 (19:05 +0200)]
package/openvpn: security bump to version 2.4.4

Fixes CVE-2017-12166:
https://community.openvpn.net/openvpn/wiki/CVE-2017-12166

Changelog:
https://community.openvpn.net/openvpn/wiki/ChangesInOpenvpn24
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/librsync: fix build without C++ support
Bernd Kuhls [Tue, 26 Sep 2017 17:10:50 +0000 (19:10 +0200)]
package/librsync: fix build without C++ support

Fixes:

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:12 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:11 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotoolchain-external: bump version of Linaro ARM toolchain to 2017.08
Romain Naour [Mon, 25 Sep 2017 20:08:10 +0000 (22:08 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 2017.08

GDB has been updated to 8.0 version in the release.

https://releases.linaro.org/components/toolchain/binaries/6.4-2017.08

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoopenntpd: fix build with musl
Baruch Siach [Tue, 26 Sep 2017 12:37:35 +0000 (15:37 +0300)]
openntpd: fix build with musl

The recent version bump added a local sys/cdefs.h header that overrides
the internal libc provided one. But since musl does not use this header,
the __dead definition in this file is missing. Add a patch that moves
the __dead definition to sys/types.h.

Update the autoreconf reason comment. Current openntpd ships libtool
version 2.4.2 that Buildroot can safely patch.

Fixes:
http://autobuild.buildroot.net/results/2b1/2b14b7012b93f0f2bfaf9e61435dd8826217d481/
http://autobuild.buildroot.net/results/7b0/7b08c987ce200deefa21ba85a9361d818be6b206/
http://autobuild.buildroot.net/results/230/2304c4de26bd6217b79aa035be340a3c81497cbd/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mono: bump to version 5.2.0.224
Angelo Compagnucci [Tue, 26 Sep 2017 13:59:09 +0000 (15:59 +0200)]
package/mono: bump to version 5.2.0.224

This patch bumps mono to version 5.2.0.224 and the required monolite
dependency to 1050200001.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoedid-decode: bump to latest version
Baruch Siach [Tue, 26 Sep 2017 15:46:13 +0000 (18:46 +0300)]
edid-decode: bump to latest version

This version brings bug fixes and improvements.

http://www.spinics.net/lists/linux-media/msg122284.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodash: bump to version 0.5.9.1
Carlos Santos [Wed, 27 Sep 2017 16:41:53 +0000 (13:41 -0300)]
dash: bump to version 0.5.9.1

Use the maintainer's repository, update the package description, based
on the official one, and drop an obsolete patch.

Change-Id: I2170aa4c1cc57de2a25ef04e89a216b254f2a859
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.13.4
Bernd Kuhls [Wed, 27 Sep 2017 16:27:36 +0000 (18:27 +0200)]
linux: bump default to version 4.13.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 13}.x series
Bernd Kuhls [Wed, 27 Sep 2017 16:27:35 +0000 (18:27 +0200)]
linux-headers: bump 4.{4, 9, 13}.x series

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>