buildroot.git
8 years agoglib-networking: bump to version 2.48.2
Gustavo Zacarias [Mon, 9 May 2016 20:34:53 +0000 (17:34 -0300)]
glib-networking: bump to version 2.48.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/clamav: bump version to 0.99.2
Bernd Kuhls [Mon, 9 May 2016 16:48:38 +0000 (18:48 +0200)]
package/clamav: bump version to 0.99.2

Changed upstream URL to project site clamav.net, the tarball for the
new version is not available on sourceforge.net anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 11.2.2
Bernd Kuhls [Mon, 9 May 2016 16:46:53 +0000 (18:46 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 11.2.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogvfs: bump to version 1.28.2
Gustavo Zacarias [Mon, 9 May 2016 16:44:42 +0000 (13:44 -0300)]
gvfs: bump to version 1.28.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglib2: remove gdbus-codegen from target
Gustavo Zacarias [Sun, 8 May 2016 14:37:09 +0000 (11:37 -0300)]
libglib2: remove gdbus-codegen from target

It requires python and it's normally used at build time, hence since we
don't support toolchain in the target it really doesn't make much sense.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegacy: i386 is legacy, inform the user
Yann E. MORIN [Sun, 8 May 2016 15:41:49 +0000 (17:41 +0200)]
legacy: i386 is legacy, inform the user

When we dropped support for i386, we added the corresponding opiton to
the legacy menu, but forgot to select BR2_LEGACY.

Fix that.

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>
8 years agopackage/freeswitch: Fix added license
Bernd Kuhls [Sat, 23 Apr 2016 20:59:49 +0000 (22:59 +0200)]
package/freeswitch: Fix added license

Noted by Thomas:
http://lists.busybox.net/pipermail/buildroot/2016-April/158864.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add comma to separate the licenses.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomc: bump version to 4.8.17
Vicente Olivert Riera [Mon, 9 May 2016 09:04:41 +0000 (10:04 +0100)]
mc: bump version to 4.8.17

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolvm2: bump version to 2.02.153
Vicente Olivert Riera [Mon, 9 May 2016 09:04:40 +0000 (10:04 +0100)]
lvm2: bump version to 2.02.153

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: warpboard: Use the final U-boot release version
Fabio Estevam [Sun, 8 May 2016 13:37:27 +0000 (10:37 -0300)]
configs: warpboard: Use the final U-boot release version

We should better use the final U-boot version rather than the release
candidate one.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboards/raspberrypi0: new board
Yann E. MORIN [Sun, 8 May 2016 13:50:02 +0000 (15:50 +0200)]
boards/raspberrypi0: new board

Add support for the rpi-0, which is basically a rpi (model A+) in a
smaller form-factor.

This one does not have an ethernet port, so we just remove it from the
configuration (or we could use the existing rasbperrypi_defconfig and
suffer from a longer boot time because of the waiting for eth0).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rpi-firmware: bump version for rpi0
Yann E. MORIN [Sun, 8 May 2016 13:50:01 +0000 (15:50 +0200)]
package/rpi-firmware: bump version for rpi0

Although the current version of rpi-firmware we use is working just fine
on the rpi-zero, the latest firmware provides a DTB overlay to use the
USB OTG device in either host or slave modes.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofs/common: fix typo in comments
Brian 'redbeard' Harrington [Sun, 8 May 2016 03:27:48 +0000 (20:27 -0700)]
fs/common: fix typo in comments

Fixed comment typos as to improve clarity.

Signed-off-by: Brian 'redbeard' Harrington <redbeard@coreos.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/kodi: optimise for RPi2"
Yann E. MORIN [Sun, 8 May 2016 07:44:42 +0000 (09:44 +0200)]
Revert "package/kodi: optimise for RPi2"

Optimised support for the RPi-2 was only introduced in Krypton, the next
release of Kodi. Jarvis, the current release, does not have this
support.

This reverts commit ef37472b20894c99cad758397f3cd6b90f933df1.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: security bump to version 3.5.18
Gustavo Zacarias [Sun, 8 May 2016 13:14:28 +0000 (10:14 -0300)]
squid: security bump to version 3.5.18

Fixes:
CVE-2016-4553 - Cache Poisoning issue in HTTP Request handling
CVE-2016-4554 - Header Smuggling issue in HTTP Request processing
CVE-2016-4555 - Multiple Denial of Service issues in ESI Response
processing (client_side_request.cc)
CVE-2016-4556 - Multiple Denial of Service issues in ESI Response
processing (Esi.cc)

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/freeswitch: bump version to 1.6.8
Bernd Kuhls [Sat, 7 May 2016 12:39:16 +0000 (14:39 +0200)]
package/freeswitch: bump version to 1.6.8

Removed patches applied upstream:
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/eadb3f890f6e7ba3b3ca23c6feb144fb35d304ce
https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits/b024c752fb2e9789fdbaf769be9998f62bb5c483

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: fix registration of hook for Sourcery Aarch64 toolchain
Thomas Petazzoni [Sun, 8 May 2016 13:05:14 +0000 (15:05 +0200)]
toolchain-external: fix registration of hook for Sourcery Aarch64 toolchain

As noticed by Romain Naour, commit
4d39ca1c2ab19766abf0430abe9b65ba0e16602b ("toolchain-external: fix
installation for CodeSourcery AArch64 toolchain") has a small bug where
a post-install hook doing fixups in TARGET_DIR was registered as a
staging installation hook while it should have been registered as a
target installation hook. This commit fixes this inconsistency.

Reported-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/imx6ulevk: Use ext4 as filesystem type
Fabio Estevam [Sat, 7 May 2016 14:32:18 +0000 (11:32 -0300)]
configs/imx6ulevk: Use ext4 as filesystem type

Extend the filesystem type to ext4.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: bump version to 1.6.2
Christian Stewart [Fri, 6 May 2016 16:23:32 +0000 (12:23 -0400)]
package/go: bump version to 1.6.2

Golang has significant improvements to support for multiarch in later
versions. This bump is required to make many go programs functional
under arm64, for example.

Signed-off-by: Christian Stewart <christian@paral.in>
Acked-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobluez5_utils: start systemd service on boot
Mike Williams [Fri, 6 May 2016 18:30:19 +0000 (14:30 -0400)]
bluez5_utils: start systemd service on boot

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobluez5_utils: bump to version 5.39
Mike Williams [Fri, 6 May 2016 18:30:18 +0000 (14:30 -0400)]
bluez5_utils: bump to version 5.39

Drop upstreamed patch

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimagemagick: bump to version 6.9.3-10
Jerzy Grzegorek [Sat, 7 May 2016 07:57:48 +0000 (09:57 +0200)]
imagemagick: bump to version 6.9.3-10

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotaskd: add patch to fix musl build issue
Jörg Krause [Fri, 6 May 2016 23:25:03 +0000 (01:25 +0200)]
taskd: add patch to fix musl build issue

taskd checks for `get_current_dir_name` but forgets to add a `cmakedefine`
in cmake.h.in, so `HAVE_GET_CURRENT_DIR_NAME` is always undefined.

CMake detects correctly that the musl C library defines `get_current_dir_name`.
However, as `HAVE_GET_CURRENT_DIR_NAME` is not set, the block of code evaluated
cannot be compiled as musl does not define `PATH_MAX`.

Reported upstream:
https://bug.tasktools.org/browse/TD-120

Fixes:
http://autobuild.buildroot.net/results/121/121aa15235e06c80d65428626da5a2da9d11c9ba/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswupdate: bump to version 2016.04
Jörg Krause [Mon, 2 May 2016 11:16:55 +0000 (13:16 +0200)]
swupdate: bump to version 2016.04

Also:
 * Update the .config file
 * Update the help text:
    - Lua support is not restricted to Lua 5.2
    - U-Boot supports needs now BR2_PACKAGE_UBOOT_TOOLS additionally
 * Remove comment about bundled lsqlite3, it has been removed.
 * Remove upstream patches:
    - "Kbuild: Fix link error for CONFIG_UBOUT and missing libz" [1]
    - "Kbuild: Link with GCC instead of LD" [2]
 * Add patch from upstream:
    - "Fix build without MTD support" [3]
 * Add optional dependency for libarchive
 * Add optional dependency for uboot-tools

[1] https://github.com/sbabic/swupdate/commit/5a5ef5909f5da5b2070d58ffaee924bb8e6a51e1
[2] https://github.com/sbabic/swupdate/commit/f26577423eb65728fcd10f78f9978dd07d51dcb9
[3] https://github.com/sbabic/swupdate/commit/69c0e66994f01ce1bf2299fbce86aee7a1baa37b

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: add host-pkgconf in the dependency when Lua is enabled, as it
is used to find Lua.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: add patch to fix linking with libubootenv
Jörg Krause [Mon, 2 May 2016 11:16:54 +0000 (13:16 +0200)]
uboot-tools: add patch to fix linking with libubootenv

Backport a patch from upstream [1] to fix linking with libubootenv:
fw_env.c:(.text+0x94): undefined reference to `common_args'

[1] http://git.denx.de/?p=u-boot.git;a=commit;h=43cb65b7a00e4759427a6e4b8a02039e43dab5a5

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: install libubootenv to staging
Jörg Krause [Mon, 2 May 2016 11:16:53 +0000 (13:16 +0200)]
uboot-tools: install libubootenv to staging

libubootenv is required by swupdate.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: do the installation directly in <pkg>_INSTALL_STAGING_CMDS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxserver_xorg-server: use -O2 build optimization level
Gustavo Zacarias [Fri, 6 May 2016 00:08:27 +0000 (21:08 -0300)]
xserver_xorg-server: use -O2 build optimization level

The xorg server is somewhat sensitive to certain gcc versions combined
with -Os, particularly for ARM and MIPS, typically in the form of the
following symptom/error:

(EE) Segmentation fault at address 0x0
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting

Force -O2 to work around this problem - for a target rootfs that uses
X11 the tradeoff is minimal since a sample/test image for qemu vexpress
with X11 + xinit + xterm + twm + xclock + gtk2 with demos is 60+ MB.

And it's less complicated than trying to find all of the bad
combinations.

Fixes bug #8436.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: add comment in .mk file, add reference to bug.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobarebox: add an option to embed environment image
Yegor Yefremov [Fri, 6 May 2016 05:46:04 +0000 (07:46 +0200)]
barebox: add an option to embed environment image

Barebox provides an option to embed a custom environment image into
barebox binary. This image will be used, when the environment found in
the environment sector is invalid. Both embedded and external images
can be used together, so having both options at the same time is
justified.

This patch sets barebox Kconfig option CONFIG_DEFAULT_ENVIRONMENT_PATH
to user specified path. This way one can use such BR's variables like
BR2_EXTERNAL, TOPDIR etc. to provide paths to custom environment
folders.

Cc: Pieter Smith <pieter@boesman.nl>
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomacchanger: add patch to fix musl build
Jörg Krause [Fri, 6 May 2016 07:45:13 +0000 (09:45 +0200)]
macchanger: add patch to fix musl build

Add a patch to fix a build error with the musl C library.

caddr_t is defined in <sys/types.h>. This header file must be included to fix
build with the musl C library:

netinfo.c: In function 'mc_net_info_get_permanent_mac':
netinfo.c:116:28: error: 'caddr_t' undeclared (first use in this function)
  req.ifr_data = (caddr_t)epa;

The project looks dead, the last commit dates Jan 1, 2014. So the fix is not
sent upstream.

Fixes:
http://autobuild.buildroot.net/results/796/7966ad4f994d893918368891107f660295164f07/
http://autobuild.buildroot.net/results/177/177db3c7cbb59e4388c6742e987f92df53a23fc3/
.. and many more

Replaces:
http://patchwork.ozlabs.org/patch/572195/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomacchanger: bump to version 1.7.0
Jörg Krause [Fri, 6 May 2016 07:45:12 +0000 (09:45 +0200)]
macchanger: bump to version 1.7.0

Switch to github repository to fetch latest version, which also added the
missing license file.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-cffi: bump to version 1.6.0
Yegor Yefremov [Fri, 6 May 2016 08:35:46 +0000 (10:35 +0200)]
python-cffi: bump to version 1.6.0

Change download location.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-twisted: bump to version 16.1.1
Yegor Yefremov [Fri, 6 May 2016 08:32:44 +0000 (10:32 +0200)]
python-twisted: bump to version 16.1.1

Add upstream md5 checksum.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add a readme for Armadeus boards
Julien BOIBESSOT [Fri, 15 Apr 2016 12:59:57 +0000 (14:59 +0200)]
board: add a readme for Armadeus boards

Common readme.txt for all supported Armadeus boards.

Signed-off-by: Julien BOIBESSOT <julien.boibessot@armadeus.com>
[Thomas: minor tweaks in the readme.txt]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agompv: jack/sdl/sdl2 require 64-bit sync intrinsics
Gustavo Zacarias [Thu, 28 Apr 2016 13:20:18 +0000 (10:20 -0300)]
mpv: jack/sdl/sdl2 require 64-bit sync intrinsics

Fixes:
http://autobuild.buildroot.net/results/578/578beb2f3b34fc83109e79d8db7de7219dd8340e/
http://autobuild.buildroot.net/results/21c/21ce67041792d29082f5bba76299da19dd1856eb/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-singledispatch: add missing runtime dependency
Yegor Yefremov [Wed, 4 May 2016 08:44:43 +0000 (10:44 +0200)]
python-singledispatch: add missing runtime dependency

setup.py mentions python-six as required.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: add debug logging support
Martin Bark [Tue, 3 May 2016 09:36:57 +0000 (10:36 +0100)]
package/nginx: add debug logging support

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: add thread pool support
Martin Bark [Tue, 3 May 2016 09:36:56 +0000 (10:36 +0100)]
package/nginx: add thread pool support

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: add support for stream proxy modules
Martin Bark [Tue, 3 May 2016 09:36:55 +0000 (10:36 +0100)]
package/nginx: add support for stream proxy modules

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: bump version to 1.10.0
Martin Bark [Tue, 3 May 2016 09:36:54 +0000 (10:36 +0100)]
package/nginx: bump version to 1.10.0

The ngx_http_spdy_module has been superseded by the ngx_http_v2_module
so BR2_PACKAGE_NGINX_HTTP_SPDY_MODULE has changed to
BR2_PACKAGE_NGINX_HTTP_V2_MODULE

Signed-off-by: Martin Bark <martin@barkynet.com>
[Thomas: rewrap Config.in.legacy help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix error is nginx.service
Martin Bark [Tue, 3 May 2016 09:36:53 +0000 (10:36 +0100)]
package/nginx: fix error is nginx.service

When using systemd nginx fails to start with the error

    /usr/bin/mkdir: invalid option -- 't'

This is due to a missing space before the semicolon in nginx.service.
For systemd to handle multiple commands in ExecStartPre it requires the
semicolon to be a separate word or the use of multiple ExecStartPre.

This commit splits the multiple commands into two ExecStartPre lines
which fixes the error and improves readability.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix mail modules not building
Martin Bark [Tue, 3 May 2016 09:36:52 +0000 (10:36 +0100)]
package/nginx: fix mail modules not building

Add the missing --with-mail configure option

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: bump defaut to version 4.5.3
Gustavo Zacarias [Thu, 5 May 2016 18:47:19 +0000 (15:47 -0300)]
linux: bump defaut to version 4.5.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.14.x and 4.{4, 5}.x series
Gustavo Zacarias [Thu, 5 May 2016 18:47:18 +0000 (15:47 -0300)]
linux-headers: bump 3.14.x and 4.{4, 5}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/freescale_mpc8315erdb: bump to kernel 4.5.3
Gustavo Zacarias [Thu, 5 May 2016 15:30:30 +0000 (12:30 -0300)]
configs/freescale_mpc8315erdb: bump to kernel 4.5.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/freescale_p1010rdb_pa: lock down binutils version
Gustavo Zacarias [Thu, 5 May 2016 15:30:29 +0000 (12:30 -0300)]
configs/freescale_p1010rdb_pa: lock down binutils version

The used U-Boot version (2014.01) isn't too happy with newer (>= 2.25)
binutils versions, so keep it locked down until the config is updated
for a newer version.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/freescale_mpc8315erdb: lock down binutils version
Gustavo Zacarias [Thu, 5 May 2016 15:30:28 +0000 (12:30 -0300)]
configs/freescale_mpc8315erdb: lock down binutils version

The used U-Boot version (2014.04) isn't too happy with newer (>= 2.25)
binutils versions, so keep it locked down until the config is updated
for a newer version.
U-Boot 2016.03 in fact does work for mpc8315erdb - however it doesn't
yet support SPL which is necessary for NAND boot and would be a massive
defconfig revamp switching to NOR.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ca-certificates: depend on host-python or host-python3
Martin Bark [Wed, 4 May 2016 14:17:54 +0000 (15:17 +0100)]
package/ca-certificates: depend on host-python or host-python3

The ca-certificates build process runs a Python script that needs at
least Python 2.7. While Buildroot requires Python as a hard dependency
on the build system, we don't require Python >= 2.7.

So in order to ensure that a Python >= 2.7 is installed, this commit
makes the ca-certificates package depend either on host-python or
host-python3.

Fixes:

 http://autobuild.buildroot.net/results/a2a4fed293c836b9cf63ff2aaa463b0704dec07e/
 http://autobuild.buildroot.net/results/bbed4afa8e30382b8892062f31ba64cbb0ea14e4/
 http://autobuild.buildroot.net/results/1af5562be3c0d233cea81834a898f7ac6ae48271/

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: rewrite commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: bump to the latest version
Gustavo Zacarias [Thu, 5 May 2016 11:30:57 +0000 (08:30 -0300)]
configs/qemu: bump to the latest version

Results table:

Defconfig               Kernel          Qemu        Network Status
------------------------------------------------------------------
aarch64_virt            4.5.3           2.5.0         YES     OK
arm_versatile           4.5.3           2.5.0         YES     OK
arm_vexpress            4.5.3           2.5.0         YES     OK
m68k_mcf5208            4.5.3           2.5.0         NO      SO-SO (3)
m68k_q800               4.5.3           q800-v2.4.0   NO (4)  OK
microblazebe            4.5.3           2.5.0         YES     OK
microblazeel            4.5.3           2.5.0         YES     OK
mips64el_malta          4.5.3           2.5.0         YES     OK
mips64_malta            4.5.3           2.5.0         YES     OK
mipsel_malta            4.5.3           2.5.0         YES     OK
mips_malta              4.5.3           2.5.0         YES     OK
ppc_g3beige             4.5.3           2.5.0         YES     OK
ppc_mpc8544ds           4.5.3           2.5.0         YES     OK
ppc_virtex_ml507        4.5.3           2.5.0         NO      OK
ppc64_pseries           4.5.3           2.5.0         YES     OK
sh4                     4.5.3           2.5.0         YES     OK
sh4eb                   4.5.3           2.5.0         NO (1)  OK
sparc_ss10              4.5.3           2.5.0         YES     OK
sparc64_sun4u           4.5.3           2.5.0         YES     OK
sparc_sun4u             4.5.3           2.5.0         YES     OK
x86                     4.5.3           2.5.0         YES     OK
x86_64                  4.5.3           2.5.0         YES     OK
xtensa_lx60             4.4.9           2.5.0         YES (2) OK
xtensa_lx60_nommu       4.4.9           2.5.0         YES (2) OK

(1) - Probably an endian issue with 8139 emulation/driver
(2) - xtensa ethernet broken in 4.5
(3) - It boots, you can login, but apps exit/crash often
(4) - There's a network interface, but enabling it in qemu fails

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/qemu: use zImage for sh4/sh4eb samples
Gustavo Zacarias [Thu, 5 May 2016 11:30:56 +0000 (08:30 -0300)]
configs/qemu: use zImage for sh4/sh4eb samples

The default for ARM was changed to zImage in 5c67cb1d, however the
sh4/sh4eb sample configs were updated to switch to uImage in error,
hence end up building uImage which doesn't work with Qemu.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: fix commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot: ensure u-boot-dtb.img gets built if enabled
Peter Korsgaard [Mon, 2 May 2016 21:26:52 +0000 (23:26 +0200)]
uboot: ensure u-boot-dtb.img gets built if enabled

u-boot-dtb.img only gets built by default (all target) if
CONFIG_OF_SEPARATE _AND_ CONFIG_SPL_FRAMEWORK are enabled.

Certain SoCs (E.G. Action Semi S500) use a proprietary first level
bootloader instead of u-boot SPL, but still use u-boot-dtb.img as the first
level bootloader parses the uImage header for size/loadaddr.

Ensure u-boot-dtb.img gets built if enabled by explicitly listing it as a
u-boot make target (next to all) to support such setups.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-bad: add rtmp support
Gustavo Zacarias [Tue, 3 May 2016 19:56:51 +0000 (16:56 -0300)]
gst1-plugins-bad: add rtmp support

As pointed by sonnex on the mailing list.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-bad: remove rtp plugin option
Gustavo Zacarias [Tue, 3 May 2016 19:44:15 +0000 (16:44 -0300)]
gst1-plugins-bad: remove rtp plugin option

The plugin was moved from -bad to -good so remove the option.
Support in -good was added via 301e8ffb.
Add legacy entry to notify users of this, however we can't automatically
select the good variant since good might be disabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogst1-plugins-bad: remove mpg123 plugin option
Gustavo Zacarias [Tue, 3 May 2016 19:44:14 +0000 (16:44 -0300)]
gst1-plugins-bad: remove mpg123 plugin option

The plugin was moved from -bad to -ugly so remove the option.
Support in -ugly was added via 30cde9a3.
Add legacy entry to notify users of this, however we can't automatically
select the ugly variant since ugly might be disabled.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocore/pkg-kconfig: Use olddefconfig when available
Romain Izard [Mon, 2 May 2016 08:36:39 +0000 (10:36 +0200)]
core/pkg-kconfig: Use olddefconfig when available

Using 'yes "" | make oldconfig' to regenerate a .config file from an
existing defconfig does not work reliably in all cases. Specifically, it
does not work well with tristate choice entries.

The correct way to do it is to use 'make olddefconfig', but this target
is not supported in projects that use an old version of kconfig. As
most projects do not use tristate entries, there is no need for them to
upgrade.

'oldnoconfig' is an alias for 'olddefconfig', but it also is the only
name for this target between Linux versions 2.6.36 and 3.6.

Check which targets are supported by the current project, and use the
appropriate method to regenerate the .config file.

Signed-off-by: Romain Izard <romain.izard.pro@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotiff: update homepage link
Baruch Siach [Tue, 3 May 2016 12:00:15 +0000 (15:00 +0300)]
tiff: update homepage link

The current linked website is not up to date, since the libtiff.org domain was
apparently hijacked years ago. See
http://www.asmail.be/msg0055472296.html. Correct this.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowireless-regdb: bump to version 2016.05.02
Gustavo Zacarias [Tue, 3 May 2016 19:49:13 +0000 (16:49 -0300)]
wireless-regdb: bump to version 2016.05.02

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobind: security bump to version 9.10.4
Gustavo Zacarias [Tue, 3 May 2016 15:42:04 +0000 (12:42 -0300)]
bind: security bump to version 9.10.4

Fixes:
CVE-2016-2088 - Duplicate EDNS COOKIE options in a response could
trigger an assertion failure.

Drop libressl support patch since it's upstream now.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agovlc: bump version to 2.2.3
Vicente Olivert Riera [Tue, 3 May 2016 13:08:42 +0000 (14:08 +0100)]
vlc: bump version to 2.2.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomutt: bump version to 1.6.1
Vicente Olivert Riera [Tue, 3 May 2016 13:08:41 +0000 (14:08 +0100)]
mutt: bump version to 1.6.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolvm2: bump version to 2.02.152
Vicente Olivert Riera [Tue, 3 May 2016 13:08:40 +0000 (14:08 +0100)]
lvm2: bump version to 2.02.152

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogit: bump version to 2.8.2
Vicente Olivert Riera [Tue, 3 May 2016 13:08:39 +0000 (14:08 +0100)]
git: bump version to 2.8.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenssl: security bump to version 1.0.2h
Gustavo Zacarias [Tue, 3 May 2016 14:39:33 +0000 (11:39 -0300)]
openssl: security bump to version 1.0.2h

Fixes:
CVE-2016-2105 - Fix EVP_EncodeUpdate overflow
CVE-2016-2106 - Fix EVP_EncryptUpdate overflow
CVE-2016-2107 - Prevent padding oracle in AES-NI CBC MAC check
CVE-2016-2109 - Prevent ASN.1 BIO excessive memory allocation
CVE-2016-2176 - EBCDIC overread

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowpa_supplicant: add security fixes
Baruch Siach [Tue, 3 May 2016 06:40:19 +0000 (09:40 +0300)]
wpa_supplicant: add security fixes

Add upstream patching fixing CVE-2016-2447: psk configuration parameter update
allowing arbitrary data to be written.

See http://w1.fi/security/2016-1/psk-parameter-config-update.txt for details.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agohostapd: add security fix
Baruch Siach [Tue, 3 May 2016 06:40:18 +0000 (09:40 +0300)]
hostapd: add security fix

Add upstream patch fixing CVE-2016-2447: psk configuration parameter update
allowing arbitrary data to be written.

See http://w1.fi/security/2016-1/psk-parameter-config-update.txt for details.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agox264: needs madvise(), disable for bfin external toolchain
Gustavo Zacarias [Mon, 2 May 2016 12:44:47 +0000 (09:44 -0300)]
x264: needs madvise(), disable for bfin external toolchain

x264 uses madvise() which is not available in the bfin external toolchain.

Fixes:
http://autobuild.buildroot.net/results/837/837fd5a63d59b5c65818ec005a565cb7741a1cdd/

[Peter: Issue is specific to bfin toolchain, so only disable for that one]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoharfbuzz: bump to version 1.2.7
Gustavo Zacarias [Mon, 2 May 2016 15:21:31 +0000 (12:21 -0300)]
harfbuzz: bump to version 1.2.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agontp: security bump to version 4.2.8p7
Gustavo Zacarias [Mon, 2 May 2016 12:21:22 +0000 (09:21 -0300)]
ntp: security bump to version 4.2.8p7

Fixes:

CVE-2016-1551 - Refclock impersonation vulnerability, AKA:
refclock-peering

CVE-2016-1549 - Sybil vulnerability: ephemeral association attack, AKA:
ntp-sybil - MITIGATION ONLY

CVE-2016-2516 - Duplicate IPs on unconfig directives will cause an
assertion botch

CVE-2016-2517 - Remote configuration trustedkey/requestkey values are not
properly validated

CVE-2016-2518 - Crafted addpeer with hmode > 7 causes array wraparound
with MATCH_ASSOC

CVE-2016-2519 - ctl_getitem() return value not always checked

CVE-2016-1547 - Validate crypto-NAKs, AKA: nak-dos

CVE-2016-1548 - Interleave-pivot - MITIGATION ONLY

CVE-2015-7704 - KoD fix: peer associations were broken by the fix for
NtpBug2901, AKA: Symmetric active/passive mode is broken

CVE-2015-8138 - Zero Origin Timestamp Bypass, AKA: Additional KoD Checks

CVE-2016-1550 - Improve NTP security against buffer comparison timing
attacks, authdecrypt-timing, AKA: authdecrypt-timing

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosamba4: bump to version 4.4.3
Gustavo Zacarias [Mon, 2 May 2016 12:21:08 +0000 (09:21 -0300)]
samba4: bump to version 4.4.3

Fixes a few regressions from the previous security bump.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopencv: fix compile issues
Waldemar Brodkorb [Tue, 5 Apr 2016 11:16:17 +0000 (13:16 +0200)]
opencv: fix compile issues

The first patch from Debian fixes following autobuild failure:
http://autobuild.buildroot.net/results/eda5c6c43da40a342e0f545a348d2f865eb5ccf2/

Tested with ARM build without a regression.

The second patch fixes musl arm autobuild failure:
http://autobuild.buildroot.net/results/6a397de789c809984b851a304078e26b2ac58974/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: bump 3.2.x series
Gustavo Zacarias [Sun, 1 May 2016 21:47:30 +0000 (18:47 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluajit: fix host installation
Romain Naour [Sun, 1 May 2016 21:22:08 +0000 (23:22 +0200)]
luajit: fix host installation

Packages installed for the host should have their prefix set to
$(HOST_DIR)/usr, and therefore not use DESTDIR at installation time.

Using PREFIX=/usr DESTDIR=$(HOST_DIR) is wrong, and leads for example to
luajit.pc containing prefix=/usr, which means pkg-config returns
incorrect results for host-luajit.

This patch fixes the luajit package to conform to this rule.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
[Thomas: rewrite commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-zmq: bump version to 1.1.3
Vicente Olivert Riera [Mon, 18 Apr 2016 11:53:06 +0000 (12:53 +0100)]
php-zmq: bump version to 1.1.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-imagick: bump version to 3.4.1
Vicente Olivert Riera [Mon, 18 Apr 2016 11:53:05 +0000 (12:53 +0100)]
php-imagick: bump version to 3.4.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-geoip: bump version to HEAD of master on GitHub
Vicente Olivert Riera [Mon, 18 Apr 2016 11:53:04 +0000 (12:53 +0100)]
php-geoip: bump version to HEAD of master on GitHub

Related: https://bugs.php.net/bug.php?id=71083

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomtd: install header files to staging directory
Jörg Krause [Fri, 29 Apr 2016 07:56:58 +0000 (09:56 +0200)]
mtd: install header files to staging directory

These header files are required by swupdate.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocrda: fix build with GCC 6
Jörg Krause [Sun, 1 May 2016 09:28:03 +0000 (11:28 +0200)]
crda: fix build with GCC 6

Building crda with GCC 6 fails because of all compiler warnings are treated as
errors. Disable the compiler option '-Werror':

keys-gcrypt.c:94:32: error: ‘keys’ defined but not used [-Werror=unused-const-variable=]
 static const struct key_params keys[] = {
                                ^~~~
cc1: all warnings being treated as errors

Add a patch to drop '-Werror' from CFLAGS.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofdk-aac: fix build with GCC 6
Jörg Krause [Sun, 1 May 2016 09:18:08 +0000 (11:18 +0200)]
fdk-aac: fix build with GCC 6

GCC 6 defaults to -std=gnu++14 instead of -std=gnu++98. The C++11 standard does
not allow "narrowing conversions" which is why building fdk-aac with GCC 6
fails:

libAACenc/src/aacEnc_rom.cpp:661:1: error: narrowing conversion of '2180108801u' from 'unsigned int' to 'FIXP_DBL {aka long int}' inside { } [-Wnarrowing]

Use '-std=gnu++98' as suggested by "Porting to GCC 6" [1].

[1] https://gcc.gnu.org/gcc-6/porting_to.html

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimlib2: security bump to version 1.4.9
Gustavo Zacarias [Sun, 1 May 2016 13:34:47 +0000 (10:34 -0300)]
imlib2: security bump to version 1.4.9

It already includes the fixes for CVE-2016-3994 and CVE-2011-5326 so
drop the patches, and additionally fixes:
CVE-2016-4024 - integer overflow in imlib2, which result in insufficient
heap allocation.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosyslinux: fix boot hang when host-gcc is 5.3
Frank Hunleth [Sun, 1 May 2016 15:58:07 +0000 (11:58 -0400)]
syslinux: fix boot hang when host-gcc is 5.3

Syslinux uses the host version of gcc to build to bootloader. On systems
with gcc 5.3, this results in a bootloader that hangs. This issue has
been addressed in upstream syslinux, but an official release has not
been made yet. This commit adds the upstream patch to fix the issue.

Most likely fixes bug #8866.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mpd: bump to version 0.19.15
Jörg Krause [Sun, 1 May 2016 17:19:49 +0000 (19:19 +0200)]
package/mpd: bump to version 0.19.15

Drop patches applied upstream:
 - 0001: notify: Don't use constexpr on Haiku
 - 0002: notify: use "constexpr" only with glibc

Renumber remaining patches.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: remove Sourcery PowerPC toolchains
Gustavo Zacarias [Fri, 29 Apr 2016 13:18:56 +0000 (10:18 -0300)]
toolchain-external: remove Sourcery PowerPC toolchains

These are running long on the teeth - the bundled (e)glibc versions
are very old with several security bugs, they don't work reliably with
-Os and have several build failures related to internal compiler
errors such as:

http://autobuild.buildroot.net/results/fe7/fe7bdba5faf199275aedea2918705b5d19d228bf/
http://autobuild.buildroot.net/results/935/935ac42c30ed893939c06c077534f060aed80e9a/
http://autobuild.buildroot.net/results/a47/a476af82c8fe4a279117314b278b08af9a08fe54/
http://autobuild.buildroot.net/results/cae/cae720b5096be2672b4dc1311ae3fc4ed06a3b53/

The situation will not provide, and will in fact get worse with older kernel
headers precluding modern package versions and the old gcc version doing as
well so remove them.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - remove no longer needed comment in liquid-dsp Config.in file, as
   noticed by Romain Naour.
 - add Config.in.legacy options, as noticed by Romain Naour.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump CodeSourcery MIPS to 2016.06-8
Romain Naour [Sat, 30 Apr 2016 21:10:25 +0000 (23:10 +0200)]
toolchain-external: bump CodeSourcery MIPS to 2016.06-8

Add hash for the toolchain sources.

Runtime tested with Qemu with qemu_mips_malta_defconfig

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump CodeSourcery AMD64 to 2015.11-139
Romain Naour [Sat, 30 Apr 2016 21:10:24 +0000 (23:10 +0200)]
toolchain-external: bump CodeSourcery AMD64 to 2015.11-139

>From getting-started.pdf:
- Linker bug fix.
- Fix CVE 2015-7547 getaddrinfo.
- Breakpoint in non-existent file bug fix.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump CodeSourcery NiosII to 2015.11-130
Romain Naour [Sat, 30 Apr 2016 19:41:32 +0000 (21:41 +0200)]
toolchain-external: bump CodeSourcery NiosII to 2015.11-130

>From getting-started.pdf:
- DWARF signed LEB128 encoding fix
- Fix CVE 2015-7547 getaddrinfo
- Breakpoint in non-existent file bug fix

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agortl8821au: bump to 4c298b
Christian Stewart [Sun, 1 May 2016 07:39:10 +0000 (03:39 -0400)]
rtl8821au: bump to 4c298b

Includes numerous stablity and cleanup passes by ulli-kroll.

A hash file is also added, as it was missing before.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: add GCC 6.x option
Jörg Krause [Sun, 1 May 2016 07:29:35 +0000 (09:29 +0200)]
toolchain-external: add GCC 6.x option

Commit 519d83bfa0442439026db4e71e605a5c1347e566 adds support for GCC
6. Add an GCC 6.x option for external toolchains, too.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobarebox: support auxiliary config build
Pieter Smith [Sun, 24 Apr 2016 21:15:24 +0000 (23:15 +0200)]
barebox: support auxiliary config build

Adds support to build barebox with an auxiliary config.

This is useful for building an SPL (Secondary Program Loader) in
addition to the traditional TPL (Tertiary Program Loader). The
Beaglebone Black for example has two barebox configurations:

- am335x_defconfig builds the full barebox bootloader with device
  tree

- am335x_mlo_defconfig builds the smaller MLO bootloader that loads
  the full barebox bootloader from the eMMC or SD card.

Tested with the following defconfig:

  # architecture
  BR2_arm=y
  BR2_cortex_a8=y
  BR2_ARM_EABIHF=y

  # system
  BR2_TARGET_GENERIC_HOSTNAME="beaglebone"
  BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
  BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW=y

  # filesystem
  BR2_PACKAGE_AM33X_CM3=y
  BR2_TARGET_ROOTFS_EXT2=y
  BR2_TARGET_ROOTFS_EXT2_4=y

  # bootloader
  BR2_TARGET_BAREBOX=y
  BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="am335x"
  BR2_TARGET_BAREBOX_IMAGE_FILE="images/barebox-am33xx-beaglebone.img"
  BR2_TARGET_BAREBOX_CUSTOM_ENV=y
  BR2_TARGET_BAREBOX_CUSTOM_ENV_PATH="board/beaglebone/barebox/barebox.env"
  BR2_TARGET_BAREBOX_AUX=y
  BR2_TARGET_BAREBOX_AUX_BOARD_DEFCONFIG="am335x_mlo"
  BR2_TARGET_BAREBOX_AUX_IMAGE_FILE="images/barebox-am33xx-beaglebone-mlo.img"

  # kernel
  BR2_LINUX_KERNEL=y
  BR2_LINUX_KERNEL_USE_DEFCONFIG=y
  BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
  BR2_LINUX_KERNEL_ZIMAGE=y

  # use the barebox built-in dtb
  # BR2_LINUX_KERNEL_DTS_SUPPORT is not set

Signed-off-by: Pieter Smith <pieter@boesman.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobarebox: prepare for auxiliarry build
Pieter Smith [Sun, 24 Apr 2016 21:15:23 +0000 (23:15 +0200)]
barebox: prepare for auxiliarry build

No functional changes. In preparation for the auxiliary barebox build,
boot/barebox is split into two parts:
1. boot/barebox:
   - The source and patch specification which are to be shared between the
     barebox and barebox-aux packages.
   - The barebox-package function and build logic.
2. boot/barebox/barebox:
   - The package configuration, fragments, barebox env, etc.
   - The actual barebox package make instantiation.

Signed-off-by: Pieter Smith <pieter@boesman.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump version of Linaro AArch64 toolchain
Thomas Petazzoni [Sat, 30 Apr 2016 12:43:04 +0000 (14:43 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump version of Linaro ARMeb toolchain
Thomas Petazzoni [Sat, 30 Apr 2016 12:43:03 +0000 (14:43 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump version of Linaro ARM toolchain
Thomas Petazzoni [Sat, 30 Apr 2016 12:43:02 +0000 (14:43 +0200)]
toolchain-external: bump version of Linaro ARM toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk24: mark as deprecated
Gustavo Zacarias [Fri, 29 Apr 2016 13:46:10 +0000 (10:46 -0300)]
webkitgtk24: mark as deprecated

It's affected by 40+ security bugs, and upstream will only care to fix
the latest stable branch, which is 2.12.x
Some effort was made with the 2.4.10 release to address some security
bugs but it's incomplete.

See:
https://blogs.gnome.org/mcatanzaro/2016/02/01/on-webkit-security-updates/
https://blogs.gnome.org/mcatanzaro/2016/02/19/webkitgtk-gets-security-updates/

Also:
http://webkitgtk.org/security/WSA-2016-0002.html
http://webkitgtk.org/security/WSA-2016-0001.html
http://webkitgtk.org/security/WSA-2015-0002.html

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomidori: bump to version 0.5.11
Gustavo Zacarias [Fri, 29 Apr 2016 13:46:09 +0000 (10:46 -0300)]
midori: bump to version 0.5.11

Also drop BR2_PACKAGE_MIDORI_HTTPS option since it's now handled in the
webkitgtk package to satisfy MiniBrowser.

This version can't work with the older webkitgtk24 engine so it switches
to the new version.

Also make gcr support conditional on x11 support for libgtk3, it doesn't
work otherwise.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebkitgtk: new package
Gustavo Zacarias [Fri, 29 Apr 2016 13:46:08 +0000 (10:46 -0300)]
webkitgtk: new package

Add the latest 2.12.x upstream stable branch.

Both 2.4.x and 2.12.x can live side-by-side, however only the latest
stable branch/releases are security-maintained, so add it unslotted.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: add new package
Thomas Petazzoni [Mon, 23 Nov 2015 16:27:12 +0000 (17:27 +0100)]
android-tools: add new package

This package allows to build the fastboot and adb host utilities,
which can be used to interact with target devices implementing one of
these protocols.

The work behind the host utilities was funded by ECA Group
<http://www.ecagroup.com>. ECA Group is the copyright owner of the
contributed code.

The package also allows to build fastboot, adb and adbd daemon for the
target.

Regarding adbd, the target is required to have the FunctionFS USB Gadget
configuration. Then the following commands enable the use of adb:
 # modprobe g_ffs idVendor=0x18d1 idProduct=0x4e42 \
   iSerialNumber="buildroot"
 # mkdir -p /dev/usb-ffs/adb
 # mount -t functionfs adb /dev/usb-ffs/adb -o uid=2000,gid=2000
 # adbd &

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tested-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas:
 - update on top of master.
 - fix Config.in.host prompt, it should have been "host android-tools"
   and not just "android-tools".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: add qemu coldfire support
Waldemar Brodkorb [Fri, 29 Apr 2016 17:53:08 +0000 (19:53 +0200)]
board: add qemu coldfire support

Add kernel config and defconfig for Qemu Coldfire.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: add coldfire support
Waldemar Brodkorb [Fri, 29 Apr 2016 17:51:23 +0000 (19:51 +0200)]
toolchain: add coldfire support

Add support for m68k/coldfire. A gcc patch is required
to avoid gcc ICE.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: bump CodeSourcery aarch64 to 2014.11
Romain Naour [Wed, 30 Dec 2015 14:30:16 +0000 (15:30 +0100)]
toolchain-external: bump CodeSourcery aarch64 to 2014.11

Runtime tested using qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: updated to the latest master branch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: fix installation for CodeSourcery AArch64 toolchain
Romain Naour [Mon, 4 May 2015 22:01:48 +0000 (00:01 +0200)]
toolchain-external: fix installation for CodeSourcery AArch64 toolchain

The extracted toolchain sources contains a single symlink in the
aarch64-linux-gnu/libc/lib directory wich is lost during Buildroot's
staging install.

aarch64-linux-gnu/libc/lib/ld-linux-aarch64.so.1 -> ../lib64/ld-2.18.so

Add a custom post install staging and target hooks to create it
manually.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: also make the same tweak in the target.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomove busybox-minimal.config to be used by other noMMU targets
Waldemar Brodkorb [Fri, 29 Apr 2016 17:48:40 +0000 (19:48 +0200)]
move busybox-minimal.config to be used by other noMMU targets

Config can be used by other noMMU targets as qemu-system-m68k
with coldfire emulation.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>