buildroot.git
8 years agoboost: fix build failures on NIOSII and Microblaze
Thomas Petazzoni [Tue, 17 May 2016 13:00:29 +0000 (15:00 +0200)]
boost: fix build failures on NIOSII and Microblaze

The fenv support provided by glibc on NIOSII and Microblaze is not
sufficient for Boost, causing the same build failures as the ones we had
with uClibc.

To address this, we adapt (and rename) the existing
0006-uclibc-fenv.patch by forcefully disabling fenv support in Boost on
NIOSII and Microblaze, in addition to the existing uClibc exclusion.

Fixes (for NIOSII):

  http://autobuild.buildroot.net/results/9b8c5d2cd31d63ae70b41d1434868c83e65b8423/

Fixes (for Microblaze):

  http://autobuild.buildroot.net/results/0b9db4c5cfd80d75eb620dbf7a6201faed7230a1/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled
Peter Seiderer [Tue, 17 May 2016 11:09:08 +0000 (13:09 +0200)]
qt5multimedia: select Qt5OpenGL module in case OpenGL support is enabled

Qt5Multimedia needs Qt5OpenGL module in case OpenGL support is
enabled.

Fixes bug reported by Marco Trapanese ([1]).

[1] http://lists.busybox.net/pipermail/buildroot/2016-May/161288.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/jack2: fix build WRT backtrace support
Samuel Martin [Tue, 17 May 2016 04:10:06 +0000 (06:10 +0200)]
package/jack2: fix build WRT backtrace support

This change adds a patch checking for the presence of execinfo.h header
and enabling the backtrace support depending on the check result.

Fixes:
  http://autobuild.buildroot.org/results/415/415e2100dc59d35e58646c07f7cdccabecdda966/
  http://autobuild.buildroot.org/results/43c/43ca1b103434ae582fdf93cb5912b311960f303b/
  http://autobuild.buildroot.org/results/391/391e71a988250ea66ec4dbee6f60fdce9eaf2766/
  ...

Adapted from the PR:
  https://github.com/jackaudio/jack2/pull/206

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoassimp: disable on Microblaze
Thomas Petazzoni [Mon, 16 May 2016 22:03:19 +0000 (00:03 +0200)]
assimp: disable on Microblaze

This package triggers an infinite loop bug in gcc on the Microblaze
architecture when the optimization level is O1, O2 or O3. This bug has
been reported at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71124.

While Buildroot by default uses an Os optimization level, assimp's build
system overrides that by O3 by default.

This problem is causing timeouts in the autobuilders that make them
consume 100% of CPU during 8 hours (the timeout used by the autobuilder
scripts).

Fixes:

  http://autobuild.buildroot.net/results/084fc537ab81aed278126f173daf99f2699ef22c/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoglibc: disable build of glibc 2.22 with gcc 6.x
Thomas Petazzoni [Mon, 16 May 2016 22:12:55 +0000 (00:12 +0200)]
glibc: disable build of glibc 2.22 with gcc 6.x

glibc-2.22 does not build with gcc 6.x. The first issues can be fixed
by:

 - Using the same 0004-gcc6.patch as we're using with glibc 2.23 since
   Buildroot commit ab8de336eb39ae1cb019a72be65bd0504c86e527.

 - Backport glibc commit 5542236837c5c41435f8282ec92799f480c36f18 to fix
   strchr() build failure.

But then, there are some more failures caused by the fact that numerous
glibc files were not using modern prototypes in the function
definitions, causing build failures such as:

../sysdeps/unix/sysv/linux/dl-openat64.c:26:1: error: 'openat64' defined as variadic function without prototype [-Werror]
 openat64 (dfd, file, oflag)
 ^~~~~~~~
In file included from ../include/fcntl.h:2:0,
                 from ../sysdeps/unix/sysv/linux/dl-openat64.c:21:
../io/fcntl.h:214:12: note: previous declaration of 'openat64' was here
 extern int openat64 (int __fd, const char *__file, int __oflag, ...)
            ^~~~~~~~

This could be fixed by backporting glibc commit
9dd346ff431fc761f1b748bd4da8bb59f7652094, but this is a large commit,
touching a significant number of files. We probably don't want to take
this path, and instead making glibc 2.22 as not available with gcc 6.x
seems like the right course of action.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogcc: fix build of gcc 6.x on Microblaze
Thomas Petazzoni [Mon, 16 May 2016 22:12:54 +0000 (00:12 +0200)]
gcc: fix build of gcc 6.x on Microblaze

Due to patch 840-microblaze-enable-dwarf-eh-support.patch, gcc 6.x
does not build:

../../gcc/config/microblaze/microblaze.c: In function 'void microblaze_expand_epilogue()':
../../gcc/config/microblaze/microblaze.c:3046: error: 'gen_rtx_raw_REG' was not declared in this scope

This patch was originally added to gcc 4.9 to make it capable of
building glibc. However, this is no longer needed with gcc 6.x, which
builds glibc just fine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowebsite/news.html: add 2016.05-rc1 announcement link
Peter Korsgaard [Tue, 17 May 2016 06:42:08 +0000 (08:42 +0200)]
website/news.html: add 2016.05-rc1 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: fix missing static_assert
Baruch Siach [Mon, 16 May 2016 18:19:50 +0000 (21:19 +0300)]
libinput: fix missing static_assert

uClibc-ng does not define the C11 static_assert macro. Patch configure.ac to
detect this and define a nop macro.

Fixes:
http://autobuild.buildroot.net/results/3eb/3eb32c19f90a5fd8d45a0c36676e015e8278a469/
http://autobuild.buildroot.net/results/184/1844890c65615f1676a85c6fac78937249eee9f1/
http://autobuild.buildroot.net/results/3a3/3a3f8c5624e8019a6eababbf6e7440fdd668f85f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix patches titles
Martin Bark [Mon, 16 May 2016 08:47:51 +0000 (09:47 +0100)]
package/nginx: fix patches titles

Changed [PATCH x/y] to [PATCH] at the beginning of the subject line
since the numbering is meaningless.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostress-ng: update to 0.06.02
Waldemar Brodkorb [Mon, 16 May 2016 08:14:56 +0000 (10:14 +0200)]
stress-ng: update to 0.06.02

Fixes following autobuilder errors:
http://autobuild.buildroot.net/results/b527ccdbdfeaba6789528e68df93d9c7216e758a/
http://autobuild.buildroot.net/results/d658f82c66d93515276dcb6cec8d3690459fbf05/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/samba4: create tempfile with systemd
Yann E. MORIN [Mon, 16 May 2016 11:52:30 +0000 (13:52 +0200)]
package/samba4: create tempfile with systemd

With systemd, samba4 will need some special temporary files to be
created on each boot, as explained in:
    packaging/systemd/README

Install the provided template file as configuration.

However, this is not enough, as even the log directory is a tmpfs in
the default Buildroot configuration, so we must also create the log
directory on each boot. Hence we append this to the template installed
above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/iputils: bump version to 31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4
Martin Bark [Mon, 16 May 2016 15:00:59 +0000 (16:00 +0100)]
package/iputils: bump version to 31d947cf7156cf78d3f57e0bd82b33e6f6ece6b4

Includes a fix for static builds using libgcrypt.

Fixes:
 http://autobuild.buildroot.net/results/55a7db5c0cbc34bbf6a2cbc52713d8822deec5b2
 http://autobuild.buildroot.net/results/864d8901eb901182ce186cf9a845636040e242bb
 http://autobuild.buildroot.net/results/aba522aa164267993fb1f1bbc57733be0cbea680

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenvpn: security bump to version 2.3.11
Gustavo Zacarias [Sat, 14 May 2016 13:33:48 +0000 (10:33 -0300)]
openvpn: security bump to version 2.3.11

Fixed port-share bug with DoS potential.
Fix buffer overflow by user supplied data.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenvpn: remove polarssl crypto backend option
Gustavo Zacarias [Sat, 14 May 2016 13:33:47 +0000 (10:33 -0300)]
openvpn: remove polarssl crypto backend option

Now that we need to bump openvpn to version 2.3.11 for security fixes
the time has come to remove the polarssl option.
Add legacy handling explaining the situation:
PolarSSL 1.2.x can coexist with mbedTLS 2.x+, but OpenVPN requires
PolarSSL/mbedTLS 1.3.x (the transition branch) >= 1.3.8 but doesn't
build/work with the 2.x series. And PolarSSL/mbedTLS 1.3.x can't coexist
with mbedTLS 2.x on the same target.
So, unfortunately, openssl is now the only option (until libressl
arrives) which means no more backend options in general.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: add patch to fix static linking
Thomas Petazzoni [Sun, 15 May 2016 20:10:08 +0000 (22:10 +0200)]
android-tools: add patch to fix static linking

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: needs thread support
Thomas Petazzoni [Sun, 15 May 2016 20:03:30 +0000 (22:03 +0200)]
android-tools: needs thread support

Both adb and adbd use <pthread.h>, and fastboot needs thread due to
its dependency on libselinux, so we put the dependency in the
top-level android-tools Config.in option.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomtr: bump to latest git version (newdns branch)
Gustavo Zacarias [Sat, 14 May 2016 16:25:14 +0000 (13:25 -0300)]
mtr: bump to latest git version (newdns branch)

This fixes the musl build issues and the need to specially patch for
uClibc at the same time. Fixes:
http://autobuild.buildroot.net/results/deb/debeb3ded02c3de63182c3433ff02062192d3fd1/

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/android-tools: fix the select logic
Thomas Petazzoni [Sun, 15 May 2016 19:32:20 +0000 (21:32 +0200)]
package/android-tools: fix the select logic

The android-tools Config.in.host has some logic to ensure that at
least one of its sub-options is enabled. However, this logic
incorrectly uses the sub-option names from the *target* android-tools
package, while it should be using the ones from the *host*
android-tools package.

Fixes the following kconfig warning:

  warning: (BR2_PACKAGE_HOST_ANDROID_TOOLS) selects BR2_PACKAGE_ANDROID_TOOLS_ADB which has unmet direct dependencies (BR2_PACKAGE_ANDROID_TOOLS && BR2_USE_MMU)

Reported-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/android-tools: fix indentation in Config.in.host
Samuel Martin [Sat, 14 May 2016 21:09:15 +0000 (23:09 +0200)]
package/android-tools: fix indentation in Config.in.host

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: gpu module depends on !BR2_STATIC_LIBS
Samuel Martin [Sat, 14 May 2016 21:09:14 +0000 (23:09 +0200)]
package/opencv: gpu module depends on !BR2_STATIC_LIBS

GPU support and related features (GL and CL) are detected and loaded at
runtime, so it requires libdl which is only available on
!BR2_STATIC_LIBS builds.

Because the OpenCV tests sets use these modules, they also requires
libdl, so they cannot be built when BR2_STATIC_LIBS is enable.

Fixes:
  http://autobuild.buildroot.net/results/570/57007a8d22d20b2fc5cd64154f5ec674b0842afa/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogmrender-resurrect: disable on musl configurations
Thomas Petazzoni [Sat, 14 May 2016 14:17:14 +0000 (16:17 +0200)]
gmrender-resurrect: disable on musl configurations

gmrender-resurrect uses <error.h>, which isn't available on musl
configuration, so let's disable this package in such situations.

Fixes:

  http://autobuild.buildroot.net/results/96a280a8115cd01d64670e4caf2471d3ee4581d9/
  (and numerous similar build failures)

Cc: kei-k@ca2.so-net.ne.jp <kei-k@ca2.so-net.ne.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: fix dependency on libselinux
Thomas Petazzoni [Sat, 14 May 2016 14:17:11 +0000 (16:17 +0200)]
android-tools: fix dependency on libselinux

The fastboot sub-option of android-tools did not properly replicate the
dependency of libselinux, which it is selecting. Due to this, an invalid
configuration could be generated, with fastboot selected while thread
support is not available for example (and therefore libselinux is not
available). This problem was causing the following build failure:

 http://autobuild.buildroot.net/results/21e45cee04fd983c85c6702595ee3f7ed8470931/

This is fixed by replicating the selinux dependencies in the fastboot
sub-option and adding the relevant Config.in comment.

In addition, the main android-tools option had some logic to make sure
at least one of its sub-option is enabled: adbd by default on systems
with MMU, and fastboot by default on systems without MMU (because
fastboot is the only part that builds on noMMU systems).

However, with the new dependencies in the fastboot sub-option, this
logic would have become a lot more complicated. Since fastboot is very
unlikely to be used on noMMU systems, we simply make the whole package
not available on noMMU systems.

Cc: Gary Bisson <gary.bisson@boundarydevices.com>
Cc: Antoine Tenart <antoine.tenart@free-electrons.com>
Cc: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosg3-utils: disable for blackfin
Gustavo Zacarias [Sat, 14 May 2016 14:54:55 +0000 (11:54 -0300)]
sg3-utils: disable for blackfin

Suffers from the usual symbol prefixing problems for bfin, it's probably
easy to fix, however no bfin has/will be used for storage apps since
they lack the usual ports for it. Fixes:
http://autobuild.buildroot.net/results/314/31447787e70cd351ce01b7a49ba029758d0c68e5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv: disable toolchains affected by PR19405
Romain Naour [Sun, 15 May 2016 08:43:23 +0000 (10:43 +0200)]
package/opencv: disable toolchains affected by PR19405

opencv libphoto fail to link with the following error:
nios2-linux-gnu/bin/ld: BFD (Sourcery CodeBench Lite 2015.11-130) 2.25.51
assertion fail binutils-src-2015.11-130-nios2-linux-gnu-i686-pc-linux-gnu/bfd/elf32-nios2.c:1908

Fixes:
http://autobuild.buildroot.net/results/fd0cc1cb09d07be94770d984efb28eea7c6f25b7

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: update paranoid unsafe path comment
Romain Naour [Sun, 15 May 2016 10:26:01 +0000 (12:26 +0200)]
toolchain: update paranoid unsafe path comment

Since 919c06c28295f19ca49459b98d8954148b381360 the calls to gcc always pass
through the toolchain wrapper and all gcc patches to support poisoning has been
removed.

Update the BR2_COMPILER_PARANOID_UNSAFE_PATH comment.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomali-t76x: depends on mesa3d-headers
Gustavo Zacarias [Sat, 14 May 2016 14:16:36 +0000 (11:16 -0300)]
mali-t76x: depends on mesa3d-headers

It selects them, but doesn't depend on them, and since the package only
provides binaries there's a complete lack of headers. When some other
package pulls in the egl/gles provider this doesn't result in headers
being pulled in, hence the API is completely missing. Fixes:
http://autobuild.buildroot.net/results/dab/dab91372b7bfde57796a7e3de7e823dc44adfb76/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoglmark2: narrow down libgl requirements
Gustavo Zacarias [Fri, 15 Apr 2016 11:30:46 +0000 (08:30 -0300)]
glmark2: narrow down libgl requirements

Mesa3d DRI drivers can be enabled without support for libgl (for
example without x11). So make glmark2 gl (x11) support depend on
BR2_PACKAGE_HAS_LIBGL being present as well.
It doesn't exactly mean mesa3d providing libgl, but since we can't have
more than one libgl provider at the same time it's equivalent.
This is fallout from f1894ec95728806e09405d26663e0ea371afaeab which
enabled DRI drivers for non-xorg builds. Fixes:
http://autobuild.buildroot.net/results/174/1743ee5a340e5f4b1f8519e0b11eb196caa4f30e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: add libatomic_ops support
Martin Bark [Mon, 9 May 2016 11:29:03 +0000 (12:29 +0100)]
package/nginx: add libatomic_ops support

Force the use of libatomics_ops on the sparc v8 and leon3 platforms to
allow nginx to build.  Optionally use libatomic_ops on other platforms.

This fixes:
 http://autobuild.buildroot.net/results/20dc41cd62887222d2569d81b5865893baeafaae/
 http://autobuild.buildroot.net/results/eb47af0c8df6fae82859865fb8b9912f45960444/

Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix dlopen support
Martin Bark [Mon, 9 May 2016 11:29:02 +0000 (12:29 +0100)]
package/nginx: fix dlopen support

Only include dlfcn.h on systems that support it

This fixes:
 http://autobuild.buildroot.net/results/f72a9a81e21166af20332d835d71651be7c016c3/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix libgd support
Martin Bark [Mon, 9 May 2016 11:29:01 +0000 (12:29 +0100)]
package/nginx: fix libgd support

Change to using gdlib-config to find libgd and its dependencies.

This fixes:
 http://autobuild.buildroot.net/results/d1806140eccb1202cb8b223289510d64fb28acb6/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix openssl support
Martin Bark [Mon, 9 May 2016 11:29:00 +0000 (12:29 +0100)]
package/nginx: fix openssl support

Change to using pkg-config to find openssl and its dependencies.

This fixes:
 http://autobuild.buildroot.net/results/17db76c3a099e7592af343bbe119dfe717cd7999/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nginx: fix libxslt support
Martin Bark [Mon, 9 May 2016 11:28:59 +0000 (12:28 +0100)]
package/nginx: fix libxslt support

Change to using pkg-config to find libxslt and it dependencies.

This Fixes:
 http://autobuild.buildroot.net/results/382699bbed15f598625b9296e464d1349ef559f8

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/quagga: Fix directories and permissions
Nathaniel Roach [Fri, 13 May 2016 08:56:21 +0000 (16:56 +0800)]
package/quagga: Fix directories and permissions

Quagga runs as the "quagga" user, but it also needs to modify files
in /etc and /var - config files, pid files and vty sockets for vtysh.

Tell the configure script the right folders to use, create the
user, fix the permissions, and then let systemd know (if needed).

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/turbolua: Fix optional openssl dependency
Marcin Niestroj [Fri, 13 May 2016 10:00:24 +0000 (12:00 +0200)]
package/turbolua: Fix optional openssl dependency

turbolua fails to build when we have openssl selected, because it didn't
mention openssl in the dependency list.

Fix build failure by specifying openssl in dependency list when it is
selected.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoMakefile: fix rootfs overlay with BR2_ROOTFS_MERGED_USR enabled
Peter Seiderer [Sat, 23 Apr 2016 19:18:29 +0000 (21:18 +0200)]
Makefile: fix rootfs overlay with BR2_ROOTFS_MERGED_USR enabled

Use rsync with '--keep-dirlinks' option to prevent rootfs overlay to
overwrite /usr, /bin, /sbin and /lib links in case BR2_ROOTFS_MERGED_USR
option is enabled.

Steps to reproduce failure:

- enable BR2_ROOTFS_MERGED_USR
- mkdir some_path/rootfs-overlay/lib/firmware/some_file.txt
- enable BR2_ROOTFS_OVERLAY="some_path/rootfs-overlay"
- run 'make'
- 'target/lib' contains only the files from 'some_path/rootfs-overlay/lib' instead
  of the original symlink 'lib -> usr/lib'.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: fix user provided libraries deployment
Romain Naour [Fri, 13 May 2016 08:41:31 +0000 (10:41 +0200)]
toolchain-external: fix user provided libraries deployment

In commit 919b4f9eab3e6dcd18cf9220af2c9bb2ca3e5098 the internal symbol
LIB_EXTERNAL_LIBS was renamed TOOLCHAIN_EXTERNAL_LIBS but the find and
replace command also renamed BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS to
BR2_TOOLCHAIN_EXTRA_TOOLCHAIN_EXTERNAL_LIBS which doesn't exist.

So user provided libraries defined in BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS
are not copied anymore to staging and target directories.

For example:
BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS="libasan.* libubsan.*"

Simply revert this change by renaming
BR2_TOOLCHAIN_EXTRA_TOOLCHAIN_EXTERNAL_LIBS to BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go: Fix powerpc64 config typo
Geoff Levand [Thu, 12 May 2016 00:08:47 +0000 (00:08 +0000)]
package/go: Fix powerpc64 config typo

Fix typo in config powerpc64 depends.  Go language only supports 64 bit powerpc.

Also add BR2_powerpc64le to depends list.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go-bootstrap: Set CGO_ENABLED=0
Geoff Levand [Thu, 12 May 2016 00:08:46 +0000 (00:08 +0000)]
package/go-bootstrap: Set CGO_ENABLED=0

Fixes build erorros like these:

  cgo.a(_all.o): unknown relocation type 42; compiled without -fpic?

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/go-bootstrap: Add toolchain dependency
Geoff Levand [Thu, 12 May 2016 00:08:46 +0000 (00:08 +0000)]
package/go-bootstrap: Add toolchain dependency

To build programs that need cgo support the toolchain needs to
be available.

Cc: Christian Stewart <christian@paral.in>
Signed-off-by: Geoff Levand <geoff@infradead.org>
[Thomas: add comment in the code about the toolchain dependency.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibpjsip: disable parallel build
Luca Ceresoli [Thu, 12 May 2016 12:48:13 +0000 (14:48 +0200)]
libpjsip: disable parallel build

The libpjsip package has build issues on the autobuilders that look
like parallel build issues. These issues seem to be extremely hard to
reproduce, so let's disable parallel build and see if this fixes the
issue.

The suspect error message is:
  ...-ld: cannot find -lpjsua
  collect2: error: ld returned 1 exit status

Some of the failures:
  http://autobuild.buildroot.org/results/d6b/d6bff569bc9238cdf07970e11b5535d570be59bf
  http://autobuild.buildroot.org/results/f72/f721d5390bc61274c224bfe3a675ee194172ac91
  http://autobuild.buildroot.org/results/b45/b45262971a7d7ce0604d124734223abca190c11e
  http://autobuild.buildroot.org/results/75e/75ee45b746ab8b80eb84297e2e4babbace1b5608
  http://autobuild.buildroot.org/results/873/873771fbcc859578ed40a3c81b69ac3a388ae585

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoandroid-tools: adb/adbd sub options use fork(), need MMU
Peter Korsgaard [Wed, 11 May 2016 20:47:28 +0000 (22:47 +0200)]
android-tools: adb/adbd sub options use fork(), need MMU

Fixes:
http://autobuild.buildroot.org/results/d87/d87a4bd35cedca94ef6266a06ba05dda103d49ce/
http://autobuild.buildroot.org/results/a83/a8312469b4da6142f0ae67a5eeaf255da351a379/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoandroid-tools: fix Config.in indentation
Peter Korsgaard [Wed, 11 May 2016 20:45:25 +0000 (22:45 +0200)]
android-tools: fix Config.in indentation

Config.in files should be indented using <tab>.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx6ulevk: readme: Update the rootfs type to ext4
Fabio Estevam [Wed, 11 May 2016 20:10:11 +0000 (17:10 -0300)]
imx6ulevk: readme: Update the rootfs type to ext4

Since commit 2f37ef48e82e3ba ("configs/imx6ulevk: Use ext4 as filesystem type")
the rootfs type is ext4, so update the readme.txt accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: Bump default to version 4.5.4
Fabio Estevam [Wed, 11 May 2016 20:06:09 +0000 (17:06 -0300)]
linux: Bump default to version 4.5.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibarchive: add security patch for CVE-2016-1541
Gustavo Zacarias [Wed, 11 May 2016 17:55:43 +0000 (14:55 -0300)]
libarchive: add security patch for CVE-2016-1541

Fixes:
CVE-2016-1541 - heap-based buffer overflow vulnerability in the
zip_read_mac_metadata function in libarchive, a multi-format archive and
compression library, which may lead to the execution of arbitrary code
if a user or automated system is tricked into processing a specially
crafted ZIP file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series
Gustavo Zacarias [Wed, 11 May 2016 17:04:04 +0000 (14:04 -0300)]
linux-headers: bump 3.{14, 18}.x and 4.{1, 4, 5}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/kodi-screensaver/visualisation-*: allow OpenGL build on arm
Bernd Kuhls [Tue, 10 May 2016 18:40:23 +0000 (20:40 +0200)]
package/kodi-screensaver/visualisation-*: allow OpenGL build on arm

Kodi depends on egl/gles on arm, our Kconfig option BR2_PACKAGE_KODI_GL
reflects this, it depends on !BR2_arm.

This option is wrongly used in many Kodi addons needing OpenGL, they
can be compiled even if Kodi itself uses egl/gles. This patch changes
the dependency on BR2_PACKAGE_KODI_GL to BR2_PACKAGE_HAS_LIBGL.

Tested using this defconfig:

BR2_arm=y
BR2_cortex_a17=y
BR2_TOOLCHAIN_BUILDROOT_INET_RPC=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_KODI=y
BR2_PACKAGE_KODI_SCREENSAVER_ASTEROIDS=y
BR2_PACKAGE_KODI_SCREENSAVER_ASTERWAVE=y
BR2_PACKAGE_KODI_SCREENSAVER_BIOGENESIS=y
BR2_PACKAGE_KODI_SCREENSAVER_CPBLOBS=y
BR2_PACKAGE_KODI_SCREENSAVER_CRYSTALMORPH=y
BR2_PACKAGE_KODI_SCREENSAVER_GREYNETIC=y
BR2_PACKAGE_KODI_SCREENSAVER_MATRIXTRAILS=y
BR2_PACKAGE_KODI_SCREENSAVER_PINGPONG=y
BR2_PACKAGE_KODI_SCREENSAVER_PLANESTATE=y
BR2_PACKAGE_KODI_SCREENSAVER_PYRO=y
BR2_PACKAGE_KODI_SCREENSAVER_RSXS=y
BR2_PACKAGE_KODI_SCREENSAVER_STARS=y
BR2_PACKAGE_KODI_VISUALISATION_FISHBMC=y
BR2_PACKAGE_KODI_VISUALISATION_FOUNTAIN=y
BR2_PACKAGE_KODI_VISUALISATION_GOOM=y
BR2_PACKAGE_KODI_VISUALISATION_SHADERTOY=y
BR2_PACKAGE_KODI_VISUALISATION_SPECTRUM=y
BR2_PACKAGE_KODI_VISUALISATION_WAVEFORHUE=y
BR2_PACKAGE_KODI_VISUALISATION_WAVEFORM=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_XORG7=y

$ grep PACKAGE_HAS_LIB .config
BR2_PACKAGE_HAS_LIBGL=y
BR2_PACKAGE_HAS_LIBEGL=y
BR2_PACKAGE_HAS_LIBGLES=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-visualisation-shadertoy: needs libglew for OpenGL build
Bernd Kuhls [Tue, 10 May 2016 18:40:22 +0000 (20:40 +0200)]
package/kodi-visualisation-shadertoy: needs libglew for OpenGL build

Fixes
-- Found OpenGL: /home/bernd/buildroot/output/host/usr/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/lib/libGL.so
CMake Error at /home/bernd/buildroot/output/host/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148
 (message):
  Could NOT find GLEW (missing: GLEW_INCLUDE_DIRS GLEW_LIBRARIES)

For details have a look at
https://github.com/notspiff/visualization.shadertoy/blob/master/CMakeLists.txt#L21

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-screensaver-rsxs: needs xlib_libXmu
Bernd Kuhls [Tue, 10 May 2016 18:40:21 +0000 (20:40 +0200)]
package/kodi-screensaver-rsxs: needs xlib_libXmu

Fixes

/home/bernd/buildroot/output/build/kodi-screensaver-rsxs-195e0ec3fbbcb2ee2012cd560e42d05167f0f259/lib/rsxs-1.0/src/common.cc:42:27:
 fatal error: X11/Xmu/StdCmap.h: No such file or directory

X11/Xmu/StdCmap.h is included here:
https://github.com/notspiff/screensavers.rsxs/blob/master/lib/rsxs-1.0/src/common.cc#L48

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-screensaver-asterwave: needs libglu
Bernd Kuhls [Tue, 10 May 2016 18:40:20 +0000 (20:40 +0200)]
package/kodi-screensaver-asterwave: needs libglu

Fixes

/home/bernd/buildroot/output/build/kodi-screensaver-asterwave-0dc2c48dadb100954eef823e7e3a5f502ce65b1e/src/Water.cpp:25:20:
 fatal error: GL/glu.h: No such file or directory

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-visualisation-shadertoy: needs libplatform
Bernd Kuhls [Tue, 10 May 2016 18:40:19 +0000 (20:40 +0200)]
package/kodi-visualisation-shadertoy: needs libplatform

Fixes

Makefile:477: *** libplatform is in the dependency chain of
 kodi-visualisation-shadertoy that has added it to its _DEPENDENCIES
 variable without selecting it or depending on it from Config.in.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/kodi-{screensaver,visualisation}-*: fix comments
Bernd Kuhls [Tue, 10 May 2016 18:40:18 +0000 (20:40 +0200)]
package/kodi-{screensaver,visualisation}-*: fix comments

Various small changes to comments:
- shorten OpenGL info (Thomas)
- fix typos
- add full packages names when missing (Thomas)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agom68k: fix open issues with qemu coldfire
Waldemar Brodkorb [Tue, 10 May 2016 20:50:07 +0000 (22:50 +0200)]
m68k: fix open issues with qemu coldfire

Enable kernel drivers for networking and add a simple
busybox config with basic network tools.

Add kernel patch from Linux git to fix hush segfaults while
using signal handler.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-coherence: fix twisted detection
Yegor Yefremov [Wed, 11 May 2016 10:19:52 +0000 (12:19 +0200)]
python-coherence: fix twisted detection

Apply upstream patch, that provides proper twisted detection.

Fixes:
http://autobuild.buildroot.net/results/d09/d09a6604414ed79205d95b164e32dbd72268e05c
http://autobuild.buildroot.net/results/a97/a974f3f075fb22adde720856ec4c9d11d8151da7

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibinput: fix variable name typo
Danomi Manchego [Wed, 11 May 2016 01:14:53 +0000 (21:14 -0400)]
libinput: fix variable name typo

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoUpdate for 2016.05-rc1
Peter Korsgaard [Tue, 10 May 2016 21:23:00 +0000 (23:23 +0200)]
Update for 2016.05-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimagemagick: security bump to version 6.9.4-1
Gustavo Zacarias [Tue, 10 May 2016 18:25:46 +0000 (15:25 -0300)]
imagemagick: security bump to version 6.9.4-1

Fixes:
Fix GetNextToken() off by one error.
Check for buffer overflow in magick/draw.c/DrawStrokePolygon().
Remove support for internal ephemeral coder.

These are all related to the recent ImageTragick bundle that were
partially fixed in 6.9.3-10 as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agophp-geoip: fix legal info
Gustavo Zacarias [Tue, 10 May 2016 13:15:31 +0000 (10:15 -0300)]
php-geoip: fix legal info

The LICENSE file is gone, so use the lone .c source fle. Fixes:
http://autobuild.buildroot.net/results/acd/acd763e7eefb8be2bbd0bf973bb7855fceee7377/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibksba: security bump to version 1.3.4
Gustavo Zacarias [Tue, 10 May 2016 13:01:37 +0000 (10:01 -0300)]
libksba: security bump to version 1.3.4

Fixes:
CVE-2016-4356 - Fix encoding of invalid utf-8 strings in
dn.c" and "read access out of bounds".

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: bump version to 2.5.1.1
Vicente Olivert Riera [Tue, 10 May 2016 11:39:47 +0000 (12:39 +0100)]
qemu: bump version to 2.5.1.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglib2: bump to version 2.48.1
Gustavo Zacarias [Tue, 10 May 2016 11:34:44 +0000 (08:34 -0300)]
libglib2: bump to version 2.48.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolksctp-tools: bump to version 1.0.17
Yegor Yefremov [Tue, 10 May 2016 08:40:06 +0000 (10:40 +0200)]
lksctp-tools: bump to version 1.0.17

Remove upstreamed patch and autoreconf related hook. Add
--disable-tests config option to reduce build time.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosmartmontools: bump to version 6.5
Gustavo Zacarias [Mon, 9 May 2016 21:24:48 +0000 (18:24 -0300)]
smartmontools: bump to version 6.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosquid: bump to version 3.5.19
Gustavo Zacarias [Mon, 9 May 2016 21:24:14 +0000 (18:24 -0300)]
squid: bump to version 3.5.19

Fixes regression introduced in 3.5.18 (via CVE-2016-4554 patch/fix).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: bump to version 3.20.4
Gustavo Zacarias [Mon, 9 May 2016 21:23:37 +0000 (18:23 -0300)]
libgtk3: bump to version 3.20.4

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 0.10.45
Martin Bark [Mon, 9 May 2016 14:18:21 +0000 (15:18 +0100)]
package/nodejs: bump version to 0.10.45

See https://nodejs.org/en/blog/release/v0.10.45/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 6.1.0
Martin Bark [Mon, 9 May 2016 14:18:20 +0000 (15:18 +0100)]
package/nodejs: bump version to 6.1.0

See https://nodejs.org/en/blog/release/v6.1.0/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>