buildroot.git
8 years agopython-flask: bump to version 0.11
Yegor Yefremov [Thu, 2 Jun 2016 14:05:30 +0000 (16:05 +0200)]
python-flask: bump to version 0.11

Change download location and rework dependencies, i.e.
select Python's zlib support and python-click package
and remove unneeded build-time dependencies.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-werkzeug: bump to version 0.11.10
Yegor Yefremov [Thu, 2 Jun 2016 14:05:29 +0000 (16:05 +0200)]
python-werkzeug: bump to version 0.11.10

Change download location.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-psutil: bump to version 4.2.0
Yegor Yefremov [Thu, 2 Jun 2016 14:05:28 +0000 (16:05 +0200)]
python-psutil: bump to version 4.2.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-serial: bump to version 3.1
Yegor Yefremov [Thu, 2 Jun 2016 14:05:27 +0000 (16:05 +0200)]
python-serial: bump to version 3.1

Change download location.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoser2net: bump to version 2.10.1
Yegor Yefremov [Thu, 2 Jun 2016 14:05:26 +0000 (16:05 +0200)]
ser2net: bump to version 2.10.1

Remove upstreamed patch.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoimx53loco: Fix post-image.sh permission
Fabio Estevam [Thu, 2 Jun 2016 22:22:52 +0000 (19:22 -0300)]
imx53loco: Fix post-image.sh permission

Fix post-image.sh permission to avoid the following error:

>>>   Executing post-image script board/freescale/imx53loco/post-image.sh
/bin/bash: board/freescale/imx53loco/post-image.sh: Permission denied

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomongrel2: allow to build for sparc
Waldemar Brodkorb [Fri, 3 Jun 2016 03:17:20 +0000 (05:17 +0200)]
mongrel2: allow to build for sparc

With uClibc-ng 1.0.15 sparc support got context functions.
Tested with qemu-system-sparc.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsigsegv: enable for sparc
Waldemar Brodkorb [Fri, 3 Jun 2016 03:15:53 +0000 (05:15 +0200)]
libsigsegv: enable for sparc

Now that uClibc-ng 1.0.15 is in use, we can reenable
this package as context functions are available.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agontp: security bump to version 4.2.8p8
Gustavo Zacarias [Fri, 3 Jun 2016 01:26:22 +0000 (22:26 -0300)]
ntp: security bump to version 4.2.8p8

Fixes:
CVE-2016-4957 - Crypto-NAK crash
CVE-2016-4953 - Bad authentication demobilizes ephemeral associations
CVE-2016-4954 - Processing spoofed server packets
CVE-2016-4955 - Autokey association reset
CVE-2016-4956 - Broadcast interleave

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiw: bump to version 4.7
Gustavo Zacarias [Fri, 3 Jun 2016 01:10:33 +0000 (22:10 -0300)]
iw: bump to version 4.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: drop autoreconf
Gustavo Zacarias [Fri, 3 Jun 2016 00:57:44 +0000 (21:57 -0300)]
weston: drop autoreconf

It's unnecessary as pointed by Thomas P.

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.{18, 14, 12}.x and 4.{1, 4, 5}.x series
Gustavo Zacarias [Thu, 2 Jun 2016 23:11:06 +0000 (20:11 -0300)]
linux-headers: bump 3.{18, 14, 12}.x and 4.{1, 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 agopackage/make: fix hash type (md5 instead of sha1)
Max Filippov [Thu, 2 Jun 2016 18:35:03 +0000 (21:35 +0300)]
package/make: fix hash type (md5 instead of sha1)

Fixes:
  http://autobuild.buildroot.net/results/133cdeaa0644405568c3e8fc003d73c4570fbc82/
  http://autobuild.buildroot.net/results/e162f46458f4948c75550d47710bee92f1602273/
  http://autobuild.buildroot.net/results/7ca74c9ea36321e1940ee2707af5745b7d4498d2/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux-headers: Bump to 4.6.1 kernel
Fabio Estevam [Thu, 2 Jun 2016 02:03:52 +0000 (23:03 -0300)]
linux-headers: Bump to 4.6.1 kernel

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogdb: bump 7.11.x branch to 7.11.1
Thomas Petazzoni [Thu, 2 Jun 2016 07:45:44 +0000 (09:45 +0200)]
gdb: bump 7.11.x branch to 7.11.1

This commit bumps our gdb 7.11 version to the latest 7.11.1 release. See
https://sourceware.org/ml/gdb/2016-06/msg00000.html for the release
announcement.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoqlibc: unbreak legal-info after version bump
Peter Korsgaard [Thu, 2 Jun 2016 11:24:00 +0000 (13:24 +0200)]
qlibc: unbreak legal-info after version bump

Fixes:
http://autobuild.buildroot.org/results/12f/12f89408935143050a27d92f4b6796d50da07da1/

The recent version bump to v2.4.1 forgot to update the name of the license
file which has been renamed upstream (and reindented/copyright year updated,
but is otherwise identical).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/go: Enable MIPS support
Geoff Levand [Thu, 19 May 2016 22:33:25 +0000 (22:33 +0000)]
package/go: Enable MIPS support

Enable go language support for mips64 and mips64el (mips64le), which
were added in go-1.6.2.

Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/qlibc: bump version to 2.4.1
Bernd Kuhls [Sat, 21 May 2016 08:22:55 +0000 (10:22 +0200)]
package/qlibc: bump version to 2.4.1

This patch depends on http://patchwork.ozlabs.org/patch/624729/

Rebased 0002-obey-destdir.patch using upstream commit.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tinc: bump version to 1.0.28
Bernd Kuhls [Sun, 22 May 2016 12:26:31 +0000 (14:26 +0200)]
package/tinc: bump version to 1.0.28

This patch can be applied after the release of buildroot 2016.05.

Removed 0001-musl.patch, applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibconfuse: bump to version 3.0
Frank Hunleth [Tue, 31 May 2016 22:47:31 +0000 (18:47 -0400)]
libconfuse: bump to version 3.0

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: bump version
Bernd Kuhls [Wed, 1 Jun 2016 19:28:48 +0000 (21:28 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolinux: Bump default to version 4.6.1
Fabio Estevam [Wed, 1 Jun 2016 20:13:26 +0000 (17:13 -0300)]
linux: Bump default to version 4.6.1

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: update to 1.0.15
Waldemar Brodkorb [Wed, 1 Jun 2016 18:40:25 +0000 (20:40 +0200)]
uclibc: update to 1.0.15

The Linuxthreads support got reorganized.
LT.new is removed, LT.old is the default for
Linuxthreads.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/dtv-scan-tables: bump version
Bernd Kuhls [Wed, 1 Jun 2016 19:15:51 +0000 (21:15 +0200)]
package/dtv-scan-tables: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/imagemagick: bump version to 6.9.4-6
Bernd Kuhls [Wed, 1 Jun 2016 19:09:17 +0000 (21:09 +0200)]
package/imagemagick: bump version to 6.9.4-6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibiio: fix legal info
Peter Korsgaard [Wed, 1 Jun 2016 18:22:40 +0000 (20:22 +0200)]
libiio: fix legal info

Fixes:
http://autobuild.buildroot.org/results/778/7789da71553bb633cbea6db83faeee061155b9f8/

The license file is now called COPYING.txt.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/giflib: bump version to 5.1.4
Bernd Kuhls [Wed, 1 Jun 2016 17:29:28 +0000 (19:29 +0200)]
package/giflib: bump version to 5.1.4

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoMerge branch 'next'
Peter Korsgaard [Wed, 1 Jun 2016 15:55:16 +0000 (17:55 +0200)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibinput: bump to version 1.3.1
Gustavo Zacarias [Wed, 1 Jun 2016 11:37:17 +0000 (08:37 -0300)]
libinput: bump to version 1.3.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: bump to version 1.11.0
Gustavo Zacarias [Wed, 1 Jun 2016 11:37:16 +0000 (08:37 -0300)]
weston: bump to version 1.11.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland-protocols: bump to version 1.4
Gustavo Zacarias [Wed, 1 Jun 2016 11:37:15 +0000 (08:37 -0300)]
wayland-protocols: bump to version 1.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowayland: bump to version 1.11.0
Gustavo Zacarias [Wed, 1 Jun 2016 11:37:14 +0000 (08:37 -0300)]
wayland: bump to version 1.11.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: security bump version to 7.0.7
Vicente Olivert Riera [Wed, 1 Jun 2016 10:21:36 +0000 (11:21 +0100)]
php: security bump version to 7.0.7

Fixes CVE-2013-7456 https://bugs.php.net/bug.php?id=72227
Fixes CVE-2016-5093 https://bugs.php.net/bug.php?id=72241

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: re-generate patches to match v2016.05
Carlos Santos [Wed, 1 Jun 2016 14:39:41 +0000 (11:39 -0300)]
uboot-tools: re-generate patches to match v2016.05

They were differences against Das U-Boot versions 2015.07 and 2015.04.
Generating again helps to apply them with "git am".

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: improve the help text of existing options
Carlos Santos [Wed, 1 Jun 2016 14:39:40 +0000 (11:39 -0300)]
uboot-tools: improve the help text of existing options

Improve the descriptions of the knobs to install mkimage, mkenvimage,
dumpimage, fw_printenv and fw_setenv.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot-tools: use $(TARGET_STRIP) for target utilities
Carlos Santos [Wed, 1 Jun 2016 14:39:39 +0000 (11:39 -0300)]
uboot-tools: use $(TARGET_STRIP) for target utilities

Otherwise BR2_STRIP_xxxx setup is ignored and they are always stripped.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoKickoff 2016.08 cycle
Peter Korsgaard [Wed, 1 Jun 2016 07:25:05 +0000 (09:25 +0200)]
Kickoff 2016.08 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/website/news.html: add 2016.05 announcement link
Peter Korsgaard [Wed, 1 Jun 2016 07:23:56 +0000 (09:23 +0200)]
docs/website/news.html: add 2016.05 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoUpdate for 2016.05
Peter Korsgaard [Tue, 31 May 2016 21:52:36 +0000 (23:52 +0200)]
Update for 2016.05

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogdb: enable simulator support for host build
Waldemar Brodkorb [Tue, 31 May 2016 21:01:36 +0000 (23:01 +0200)]
gdb: enable simulator support for host build

Add an option to enable GDB simulator support, so
it can be used to test some no-MMU systems.

Newer GDB Blackfin Simulator need a workaround for in-tree compile.
It doesn't break for older Buildroot supported GDB Blackfin
Simulator.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot: Support multiple environment source files
Cam Hutchison [Sun, 31 Jan 2016 00:48:33 +0000 (11:48 +1100)]
uboot: Support multiple environment source files

Allow multiple file names to be listed in
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE, concatenating them in the order
listed.

This allows the bulk of the environment to be shared across multiple
boards using a common environment file with board-specific values
supplied in a secondary environment source file.

Signed-off-by: Cam Hutchison <camh@xdna.net>
[Thomas: adjust indentation in the .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-fbturbo: needs dri2 for libump
Bernd Kuhls [Sat, 28 May 2016 17:17:19 +0000 (19:17 +0200)]
package/x11r7/xdriver_xf86-video-fbturbo: needs dri2 for libump

xdriver_xf86-video-fbturbo has an optional dependency to libump
currently not handled by buildroot:
https://github.com/ssvb/xf86-video-fbturbo/blob/master/configure.ac#L91

If libump was compiled incidentally before xdriver_xf86-video-fbturbo
sunxi_mali_ump_dri2.c is compiled which depends on dri2:
https://github.com/ssvb/xf86-video-fbturbo/blob/master/src/Makefile.am#L59

This patch adds a dependency for dri2proto to enable dri2 support in
X.org and adds libump as dependency for a reproducable build to fix
http://autobuild.buildroot.net/results/656/656520682a5ac6fe5e1e741e1a92b1eab4245f2d/

[Peter: also add dri2proto to _DEPENDENCIES]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: provide symlink dtc->linux-dtc is there is no dtc yet
Thomas De Schampheleire [Fri, 8 Jan 2016 11:30:19 +0000 (12:30 +0100)]
linux: provide symlink dtc->linux-dtc is there is no dtc yet

Commit ab74e09eb4e28dab8bed8d783c5f0464d39a32e7 renamed the dtc host tool
provided by linux to linux-dtc to avoid clashes with the dtc host tool
provided by host-dtc.

However, external scripting may well rely on the existence of a device tree
compiler as $(HOST_DIR)/usr/bin/dtc, regardless of its source. Changing
these external scripts to use linux-dtc means that the scripts need to be
aware of the buildroot release they are working with, which is not very
nice.

Add a symlink dtc->linux-dtc when no $(HOST_DIR)/usr/bin/dtc is present.
When host-dtc is not enabled, the end result will be dtc and
linux-dtc representing the same thing.
When host-dtc is enabled, either it is build before linux and no symlink
is created at any time, or it is build after linux, and the 'install'
command in host-dtc will overwrite the symlink with a proper dtc. In both
cases, the end result will be dtc and linux-dtc representing a different
thing.

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/x11r7/xdriver_xf86-video-mga: disable DRI support when not available
Bernd Kuhls [Sun, 8 Nov 2015 17:44:32 +0000 (18:44 +0100)]
package/x11r7/xdriver_xf86-video-mga: disable DRI support when not available

configure.ac is not cross-compile aware, a patch fixing DRI detection
was added in 2009
http://git.buildroot.net/buildroot/commit/package/x11r7/xdriver_xf86-video-mga/xdriver_xf86-video-mga-1.4.9.patch?id=59b0aa7a7ee327688a77dd5d01d0b2032f6535a2

assuming DRI support being present if DRI support was not disabled.

By default configure.ac assumes "auto" which leads to DRI support being
enabled even if DRI support is disabled in buildroot config. This patch
adds --disable-dri to really disable DRI support, fixes:

http://autobuild.buildroot.net/results/5e5/5e5dbc30e1f30f7d2d614f4a9edb7fe439f73d61/
http://autobuild.buildroot.net/results/a8f/a8fab920599e7dc77038f3d2a9a699d6823cf3ef/
http://autobuild.buildroot.net/results/81d/81dbad489412cd28345de364624180cb082b3bb6/
http://autobuild.buildroot.net/results/53f/53fc0031da2b65890223f3183c77eb66cf0b5273/
http://autobuild.buildroot.net/results/544/54481a0f8d690e3878f4616ae1f331705e3c34be/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomtools: ensure install-info isn't used
Peter Korsgaard [Tue, 31 May 2016 19:57:15 +0000 (21:57 +0200)]
mtools: ensure install-info isn't used

mtools calls install-info at 'make install' time if available after
installing the mtools info page - But as we don't use the info pages for
anything / remove in target-finalize, this is a waste of time and a
potential cause of build failures as reported on the list:

http://lists.busybox.net/pipermail/buildroot/2016-May/160604.html

So ensure configure doesn't find it.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: remove trailing directory slashes
Gustavo Zacarias [Wed, 18 May 2016 19:26:10 +0000 (16:26 -0300)]
configs: remove trailing directory slashes

They're not necessary and look bad.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: wrap to column width 72
Martin Kelly [Tue, 31 May 2016 16:57:22 +0000 (09:57 -0700)]
Config.in: wrap to column width 72

Many lines are not correctly wrapped to 72 column width, so rewrap them.
In addition, standardize all instances of ".  " to ". ".

Signed-off-by: Martin Kelly <martin@surround.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-yaml: re add package, now compatible with PHP 7
Vicente Olivert Riera [Mon, 23 May 2016 14:51:36 +0000 (15:51 +0100)]
php-yaml: re add package, now compatible with PHP 7

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-ssh2: re add package, now compatible with PHP 7
Vicente Olivert Riera [Mon, 23 May 2016 14:51:35 +0000 (15:51 +0100)]
php-ssh2: re add package, now compatible with PHP 7

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-memcached: re add package, now compatible with PHP 7
Vicente Olivert Riera [Mon, 23 May 2016 14:51:34 +0000 (15:51 +0100)]
php-memcached: re add package, now compatible with PHP 7

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp-gnupg: re add package, now compatible with PHP 7
Vicente Olivert Riera [Mon, 23 May 2016 14:51:33 +0000 (15:51 +0100)]
php-gnupg: re add package, now compatible with PHP 7

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

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: bump version to 7.0.6
Vicente Olivert Riera [Mon, 23 May 2016 14:51:32 +0000 (15:51 +0100)]
php: bump version to 7.0.6

Remove MySQL legacy extension.

Remove incompatible external modules:
 - php-gnupg
 - php-memcached
 - php-ssh2
 - php-yaml

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: mx53loco: use genimage to generate sdcard image
Fabio Estevam [Thu, 26 May 2016 19:28:31 +0000 (16:28 -0300)]
configs: mx53loco: use genimage to generate sdcard image

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: mx53loco: Extend to ext4 type
Fabio Estevam [Thu, 26 May 2016 19:28:30 +0000 (16:28 -0300)]
configs: mx53loco: Extend to ext4 type

Add support for EXT4 filesystem.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: mx53loco: Update bootloader and kernel versions
Fabio Estevam [Thu, 26 May 2016 19:28:29 +0000 (16:28 -0300)]
configs: mx53loco: Update bootloader and kernel versions

Update U-boot to the 2016.05 version and the kernel to 4.6.

U-boot 2016.05 needs the patch c510f2e436008 ("video: ipu_common: fix build
error") that is already in mainline to fix an IPU build error.

We can remove this patch in the future when we switch to U-boot 2016.07.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-watchdog: new package
Yegor Yefremov [Fri, 6 May 2016 06:21:26 +0000 (08:21 +0200)]
python-watchdog: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pathtools: new package
Yegor Yefremov [Fri, 6 May 2016 06:21:25 +0000 (08:21 +0200)]
python-pathtools: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-argh: new package
Yegor Yefremov [Fri, 6 May 2016 06:21:24 +0000 (08:21 +0200)]
python-argh: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: add <pkg>_LICENSE_FILES, pointing to README.rst.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-ubjson: new package
Yegor Yefremov [Thu, 5 May 2016 22:09:28 +0000 (00:09 +0200)]
python-ubjson: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomesa3d: use -mno-compact-eh for Code Sourcery MIPS
Vicente Olivert Riera [Tue, 31 May 2016 10:15:55 +0000 (11:15 +0100)]
mesa3d: use -mno-compact-eh for Code Sourcery MIPS

mesa3d doesn't like the new compressed exception handling of the Code
Sourcery MIPS toolchain and it fails to compile with an error like this
one:

/br/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld:
../../../../src/mesa/.libs/libmesagallium.a(ir_to_mesa.o):
.eh_frame_entry not in order
/br/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/5.3.0/../../../../mips-linux-gnu/bin/ld:
final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status

Using -mno-compact-eh fixes the problem.

Fixes:

  http://autobuild.buildroot.net/results/3cd/3cd81c57c51c0963ee6f4d9b814989460bb35316/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: improve comment in code.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc/libmudflap: also unavailable for gcc 6.x
Bernd Kuhls [Sat, 28 May 2016 19:01:56 +0000 (21:01 +0200)]
gcc/libmudflap: also unavailable for gcc 6.x

libmudflap was removed in gcc 4.9:
https://gcc.gnu.org/wiki/Mudflap_Pointer_Debugging

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibsigsegv: disable for sparc and uClibc toolchain
Waldemar Brodkorb [Sat, 28 May 2016 18:33:00 +0000 (20:33 +0200)]
libsigsegv: disable for sparc and uClibc toolchain

The context function support is not available for uClibc and
sparc. It will be introduced in uClibc-ng 1.0.15, and
then the patch can be reverted.

Fixes following autobuild failures:
http://autobuild.buildroot.net/results/f1aa74992a77da325b3c6d74f9f88624bad094e9/
http://autobuild.buildroot.net/results/69bf0dbb0be3d4e4783ee332b3e95ca31f18d3bf/
http://autobuild.buildroot.net/results/f5bc9921c1b9f839e5536c19348efebd6826123d/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomoarvm: disable for sparc
Waldemar Brodkorb [Sat, 28 May 2016 18:32:15 +0000 (20:32 +0200)]
moarvm: disable for sparc

Disable for the same reason as sparc64.
Fixes following autobuild failure:
http://autobuild.buildroot.net/results/0c3e8931b2d157764ed18c2a97f26c8e77ea426e/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodosfstools: security bump to version 4.0
Gustavo Zacarias [Tue, 24 May 2016 21:32:32 +0000 (18:32 -0300)]
dosfstools: security bump to version 4.0

Fixes:

CVE-2015-8872 - if the third to last entry was written on a FAT12
filesystem with an odd number of clusters, the second to last entry
would be corrupted. This corruption may also lead to invalid memory
accesses when the corrupted entry becomes out of bounds and is used
late.

CVE-2016-4804 - the variable used for storing the FAT size (in bytes)
was an unsigned int. Since the size in sectors read from the BPB was not
sufficiently checked, this could end up being zero after multiplying it
with the sector size while some offsets still stayed excessive.
Ultimately it would cause segfaults when accessing FAT entries for which
no memory was allocated.

Converted package to autotools infra to match upstream.

The install options are now removals, enabled compatibilty symlinks and
exec-prefix set to / to match previous install names/locations.

Accounted for optional udev usage.

Dropped musl compatibility patch since it's upstream.

Add upstream patch to keep sectors a multiple of sectors per track since
it makes mtools cranky.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/net-tools: fix static linking issue with lintl
Romain Naour [Sat, 28 May 2016 19:02:01 +0000 (21:02 +0200)]
package/net-tools: fix static linking issue with lintl

When net-tools are build with uClibc-ng and statically linked,
some tools like hostname and route needs to link with -lintl.

Adding -lintl in LDFLAGS place the library before object files:
arm-linux-gcc -O2 -g -Wall -fno-strict-aliasing   -static -lintl -Llib -o hostname hostname.o

Add $(LIBS) after object files in the Makefile to place -lintl correctly.

Rework NET_TOOLS_BUILD_CMDS to set LDFLAGS with only TARGET_LDFLAGS and
set LIBS with -lintl when needed.

Fixes:
http://autobuild.buildroot.net/results/134/1345b6d366125320b89512e7ce7f142f1a03acf8

Ref:
http://lists.busybox.net/pipermail/buildroot/2016-May/162216.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibcurl: security bump version to 7.49.1
Vicente Olivert Riera [Tue, 31 May 2016 09:48:49 +0000 (10:48 +0100)]
libcurl: security bump version to 7.49.1

Fixes CVE-2016-4802, https://curl.haxx.se/docs/adv_20160530.html

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoltris: correct audio configure options
Peter Korsgaard [Tue, 31 May 2016 07:45:52 +0000 (09:45 +0200)]
ltris: correct audio configure options

Fixes:
http://autobuild.buildroot.net/results/555/555bfc97b39eb9b0f1e516ffb7ae375ca2c43d5f/

The configure options to enable/disable sound through sdl_mixer are called
--enable/--disable-sound, not --enable/--disable-audio.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxserver_xorg-server: Fix typo in wayland configure option
Bernd Kuhls [Tue, 31 May 2016 06:40:32 +0000 (08:40 +0200)]
xserver_xorg-server: Fix typo in wayland configure option

Bug was introduced in
https://git.busybox.net/buildroot/commit/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk?id=1370fcaeb7c88e958a967594596769c71a4526f9

The configure option is called --en-/disable-xwayland:
https://cgit.freedesktop.org/xorg/xserver/tree/configure.ac?id=9454cd51da9b38b974cff7c8b7125901f6403848#n630

Fixes
http://autobuild.buildroot.net/results/c32/c32a17509b070b1af497bfc54b85a944fa59ca30/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain/helper: don't follow symlinks when copying libs to target
Yann E. MORIN [Sun, 29 May 2016 21:58:11 +0000 (23:58 +0200)]
toolchain/helper: don't follow symlinks when copying libs to target

In 2a87b64 (toolchain-external: align library locations in target and
staging dir), copying the libraries from the sysroot to the target was
changed to a simple find-based solution.

To be sure that the staging directory was entered to find the libraries,
in case the variable was pointing to a symlink, the -L clause to find
was used.

However, that causes extraneous libraries to be copied over.

For example, a ct-ng toolchain would have this sysroot (e.g for an arm
32-bit toolchain):

    .../sysroot/lib/
    .../sysroot/lib32 -> lib
    .../sysroot/lib64 -> lib
    .../sysroot/usr/lib/
    .../sysroot/usr/lib32 -> lib
    .../sysroot/usr/lib64 -> lib

Which we would carry as-is to our own sysroot.

But then, in target, our skeleton creates the /lib/ and /usr/lib
directories, with the necessary lib32 or lib64 symlink pointing to it.
In this case, a lib32->lib symlink is created, but no lib64 symlink
since this is a 32-bit architecture.

To copy the required libraries from staging into target, we scan the
staging directory for all occurences of the required libraries, and copy
them over to target, keeping the same directory layout relative to the
sysroot.

For example:
    .../sysroot/usr/lib/libfoo.so   -->  .../target/usr/lib/libfoo.so
    .../sysroot/usr/lib32/libbar.so -->  .../target/usr/lib32/libbar.so
    .../sysroot/usr/lib64/libbuz.so -->  .../target/usr/lib64/libbuz.so

So, when we copy over the libraries from our staging to the target
directory, the "find -L .../sysroot -name libblabla.so.*" would find
multiple instances of libblabla, each in the /usr/lib /usr/lib32 and
/usr/lib64 locations (they are all the exact same file, though).

Since we do have the /usr/lib32->lib symlink, all is OK (but there are
two copies going on, which could be avoided). However, since we do not
have the /usr/lib64->lib symlink, the /usr/lib64/ directory is created.

This was very difficult to observe, as no /lib64/ directory is created,
only the /usr/lib64/ one was. To top it off, this only happens with a
merged /usr, which does not seem like not a common case without systemd.

Since the reason to use -L was to be sure to enter our staging
directory, we just need to ensure that the path ends up with a slash, as
was already talked about in this thread:
    http://lists.busybox.net/pipermail/buildroot/2016-April/159737.html

After further discussion, it turns out that the original patch came along
because of the confusion between output/staging (which is a symlink) and
$(STAGING_DIR) which expands to output/host/usr/<tupple>/sysroot (which is
never a symlink), so the symlink handling isn't really needed at all.

[Peter: drop description comment, extend description]
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>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/rpm: needs gcc >= 5.x on SuperH
Bernd Kuhls [Sun, 29 May 2016 12:38:58 +0000 (14:38 +0200)]
package/rpm: needs gcc >= 5.x on SuperH

Compilation triggers an ICE in gcc with gcc 4.9

../db/dist/../lock/lock_deadlock.c: In function '__lock_detect_rpmdb':
../db/dist/../lock/lock_deadlock.c:354:1: internal compiler error: Segmentation fault
 }
 ^

using this defconfig

BR2_sh=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_RPM=y

Compiling rpm with gcc5 works fine using this defconfig:

BR2_sh=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_GCC_VERSION_5_X=y
BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y
BR2_PACKAGE_RPM=y

This patch adds a dependency to gcc >= 5.x to fix
http://autobuild.buildroot.net/results/e4b/e4b7705e3e148755ae34d498c860a3b9b915e0b0/

[Peter: simpify kconfig, add comment explaining why]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/gstreamer/gst-ffmpeg: needs gcc >= 5.x on SuperH
Bernd Kuhls [Sun, 29 May 2016 12:38:57 +0000 (14:38 +0200)]
package/gstreamer/gst-ffmpeg: needs gcc >= 5.x on SuperH

Compilation triggers an ICE in gcc with gcc <= 4.9 using this defconfig

BR2_sh=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_PACKAGE_GSTREAMER=y
BR2_PACKAGE_GST_FFMPEG=y
BR2_PACKAGE_GST_FFMPEG_GPL=y

The problem is known upstream, a fix was never committed to gcc <= 4.9:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65151

Compiling gst-ffmpeg with gcc5 works fine using this defconfig:

BR2_sh=y
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_GCC_VERSION_5_X=y
BR2_PACKAGE_GSTREAMER=y
BR2_PACKAGE_GST_FFMPEG=y
BR2_PACKAGE_GST_FFMPEG_GPL=y

This patch adds a dependency to gcc >= 5.x to fix the problem as
suggested by Thomas:
http://lists.busybox.net/pipermail/buildroot/2016-February/152584.html

Fixes
http://autobuild.buildroot.net/results/939/939da0c7771ddd97c05cedc0a7afc0ad34a21312/

[Peter: fix ML link, simplify kconfig, add comment explaining why]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs: cubieboard2: use 4.6 kernel, u-boot 2016.05
Erico Nunes [Sat, 28 May 2016 20:45:02 +0000 (17:45 -0300)]
configs: cubieboard2: use 4.6 kernel, u-boot 2016.05

Updated image was tested in a Cubieboard2.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/lttng-babeltrace: fix static build
Samuel Martin [Sun, 29 May 2016 21:14:18 +0000 (23:14 +0200)]
package/lttng-babeltrace: fix static build

This change adds a patch fixing libuuid detection on static build.

Fixes:
  http://autobuild.buildroot.net/results/43b/43b98ddf9eb44152ed9ac4a98d887af14831d8da/

[Peter: add comment why autoreconf is needed]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoopenzwave: new package
Fabrice Fontaine [Mon, 30 May 2016 09:22:37 +0000 (11:22 +0200)]
openzwave: new package

Free software library that interfaces with selected Z-Wave PC
controllers, allowing anyone to create applications that manipulate and
respond to devices on a Z-Wave network, without requiring in-depth
knowledge of the Z-Wave protocol

[Peter: also pass DOXYGEN=, add _MAKE_OPTS and use for build+install]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowarpboard: README: Fix a few typos
Fabio Estevam [Sun, 29 May 2016 21:58:54 +0000 (18:58 -0300)]
warpboard: README: Fix a few typos

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/pulseview: fix build when linking against libatomic is needed
Samuel Martin [Thu, 26 May 2016 22:00:44 +0000 (00:00 +0200)]
package/pulseview: fix build when linking against libatomic is needed

With some toolchains, using atomics requires to explicitly add -latomic
to the linker flags.

This change adds a patch to pulseview adding this detection and updating
the LDFLAGS when appropriate.

This patch has be sent upstream:
  http://article.gmane.org/gmane.comp.debugging.sigrok.devel/2097

Fixes:
  http://autobuild.buildroot.org/results/1e3/1e3101261252d5f30fdf842cc99604e4f4c25eef/build-end.log

Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibdrm: improve atomic handling, fix SPARCv8 build
Thomas Petazzoni [Thu, 26 May 2016 10:53:16 +0000 (12:53 +0200)]
libdrm: improve atomic handling, fix SPARCv8 build

This commit improves the handling of the "atomic stuff" in the libdrm
package. libdrm can either use the atomic intrinsics (4 byte variant)
when available, or otherwise can use libatomic_ops. Note that the
dependency on atomic operations is not from libdrm itself, but only
from some specific DRM drivers only.

Amongst other things, it fixes the build of the libdrm package on
SPARCv8, therefore fixing:

  http://autobuild.buildroot.org/results/74dd29b5ea146c320fde80a87a2fc910de9b7f60/

This commit does a number of changes that are all related to each
other:

 - Removes the dependency of the Intel DRM driver on
   libatomic_ops. The Intel DRM driver builds perfectly fine without
   libatomic_ops, as long as 4-byte variant __sync operations are
   available, which is always the case on x86 and x86_84 (which are
   the only architectures on which the Intel DRM driver can be
   enabled).

 - Adds an hidden Config.in boolean option
   BR2_PACKAGE_LIBDRM_HAS_ATOMIC that allows DRM driver that need
   atomic operation to know whether atomic support is available
   (either through intrinsics or through libatomic_ops).

 - Adds an hidden BR2_PACKAGE_LIBDRM_ENABLE_ATOMIC Config.in option
   that DRM drivers that need atomic operation should select to ensure
   that the relevant dependencies are selected. It simply selects
   libatomic_ops if 4-byte atomic intrinsics are not available. We
   could let each DRM driver do this, but having an intermediate
   option avoids a bit of duplication.

 - Adds a patch that defines AO_REQUIRE_CAS before including
   <atomic_ops.h>. This is needed because libdrm uses the
   AO_compare_and_swap_full() which is only provided on all
   architectures when AO_REQUIRE_CAS is defined. The exact same fix
   was done in the erlang package in commit
   4a9df2942470241d7a96f326f0e7012aacd36f2e.

 - Adds the dependency on libatomic_ops when the package is enabled,
   and passes the necessary CFLAGS on SPARCv8 to make the thing build
   properly. The same CFLAGS are passed in the nginx package and bdwgc
   package.

Cc: Waldemar Brodkorb <wbx@openadk.org>
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 agocore/pkg-kconfig: pass host PKG_CONFIG_PATH env var
Bjørn Forsman [Fri, 27 May 2016 22:03:28 +0000 (00:03 +0200)]
core/pkg-kconfig: pass host PKG_CONFIG_PATH env var

This is basically the same change as in 0515fe45661b6d320f8d2071df2
("Makefile: pass host PKG_CONFIG_PATH at "make menuconfig" time"). That
commit made sure to pass host PKG_CONFIG_PATH when invoking Buildroot's
own menuconfig program. This change ensures that the same is true for
third party menuconfig programs (i.e. Linux, uClibc and Busybox).

This unbreaks "make {linux,uclibc}-menuconfig" for host platforms which
rely on PKG_CONFIG_PATH to find .pc files (e.g. NixOS). (When Busybox
updates to a more recent Kconfig snapshot, one that uses pkg-config to
find ncurses, "make busybox-menuconfig" will also start working.)

Tested on Ubuntu and NixOS:

  $ make qemu_arm_versatile_defconfig
  $ make linux-menuconfig
  $ make

Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/grantlee: disable for nios2 and microblaze
Romain Naour [Sat, 28 May 2016 14:47:22 +0000 (16:47 +0200)]
package/grantlee: disable for nios2 and microblaze

Disable grantlee due to a toolchain issue on nios2 and microblaze architecture [1].
Issue reproduced with binutils 2.26 and GCC 6

Fixes (microblaze):
http://autobuild.buildroot.net/results/091/091bf7df46d6057be44b8ca8653596bd84c38fbc

Fixes (nios2):
http://autobuild.buildroot.net/results/e05/e05280f1cc4f669b7e418161749290723179e987

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=20173

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas:
 - tweak how the dependency is expressed
 - propagate the dependency to the comments.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agombedtls: fix companion programs static build
Baruch Siach [Tue, 12 Apr 2016 18:46:00 +0000 (21:46 +0300)]
mbedtls: fix companion programs static build

Set LINK_WITH_PTHREAD to explicitly add pthread to the list of libraries.

Fixes:
http://autobuild.buildroot.net/results/e08/e087dfa2a6057b18209cd6adff2760026a9ca1db/
http://autobuild.buildroot.net/results/615/61565f1a88b7d6eea03a355ccf8dd3fe6585c4ab/
http://autobuild.buildroot.net/results/6b2/6b267b9cba37655e7d8e6d78821f96d9a8dd7d2e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobatman-adv: new package
Christian Stewart [Wed, 25 May 2016 00:35:02 +0000 (17:35 -0700)]
batman-adv: new package

This package introduces batman-adv, a kernel module implementation of
the B.A.T.M.A.N. IV and V mesh network routing protocols.

While batman-adv exists in the mainline kernel tree, it can also be
built as an external out-of-tree module. This package adds the
flexibility to chose a more up to date version of the module than exists
in the official tree, and also allows for compilation against kernels
without batman-adv in-tree support.

https://www.open-mesh.org/projects/batman-adv/

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas:
 - remove "default n", since it's the default
 - fix indentation of Config.in help text
 - license is GPLv2, not just GPL
 - remove variable BATMAN_ADV_MAKE_OPTS, name it directly
   BATMAN_ADV_MODULE_MAKE_OPTS as this is what is expected by the kernel
   module infrastructure.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/batctl: bump to 2016.1
Christian Stewart [Wed, 25 May 2016 00:35:01 +0000 (17:35 -0700)]
package/batctl: bump to 2016.1

Bump batctl to the latest (2016.1) from 2015.1.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ipsec-tools: disable for musl toolchains
Romain Naour [Sat, 28 May 2016 12:47:29 +0000 (14:47 +0200)]
package/ipsec-tools: disable for musl toolchains

__P() is used for compatibility with old K&R C compilers. With
ANSI C this macro has no effect.

Unlike for util-linux and ipkg packages where it was easy to remove
each __P() macro, ipsec-tools use it all over the tree and require a
"big" patch to enable musl support.

Since upstream seems not verry active (last release 2014-02-27)

So, disable ipsec-tools with musl based toolchains.

This fixes a compilation error with musl libc because of undeclared
__P.

Fixes:
http://autobuild.buildroot.net/results/42242e3f4485b9e77a916e6fe480c83f70e024e4

While at it, reorder "depends on" and "select" lines in Config.in

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/iptraf-ng: really add _GNU_SOURCE in CFLAGS
Romain Naour [Sat, 28 May 2016 13:15:52 +0000 (15:15 +0200)]
package/iptraf-ng: really add _GNU_SOURCE in CFLAGS

When iptraf-ng is build with musl, it needs _GNU_SOURCE in CFLAGS to define
the content of "struct tcphdr".

iptraf-ng.mk try to add _GNU_SOURCE in CFLAGS but it's not taken into account.

Add it using IPTRAF_NG_CONF_ENV instead of IPTRAF_NG_MAKE_ENV.

Fixes:
http://autobuild.buildroot.net/results/a1b/a1b18f2e3d075d349c19536a7c5553f24b75a323

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: zynq: revive BR2_LINUX_KERNEL_UIMAGE
Masahiro Yamada [Sat, 28 May 2016 13:36:42 +0000 (22:36 +0900)]
configs: zynq: revive BR2_LINUX_KERNEL_UIMAGE

Commit 5c67cb1d0445 ("linux: use zImage by default on ARM") changed
the default kernel image, but missed to update Zynq defconfigs.

U-Boot on Zynq boards still loads uImage, so BR2_LINUX_KERNEL_UIMAGE
should be defined to generate uImage.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: generate valid config for BFLT/FDPIC
Waldemar Brodkorb [Fri, 13 May 2016 07:01:08 +0000 (09:01 +0200)]
uclibc: generate valid config for BFLT/FDPIC

Generate a valid configuration for architectures with
FDPIC and BFLT support.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoficl: new package
Francois Perrad [Tue, 3 May 2016 17:05:48 +0000 (19:05 +0200)]
ficl: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mplayer: fix aarch64 compilation
Bernd Kuhls [Sat, 28 May 2016 09:03:12 +0000 (11:03 +0200)]
package/mplayer: fix aarch64 compilation

Added code to define HAVE_ARMV8 when needed.

Fixes
http://autobuild.buildroot.net/results/5f8/5f85c32eb89aac48ae8da892d9800bd13274cd3e/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mplayer: bump version to 1.3.0
Bernd Kuhls [Sat, 28 May 2016 09:27:24 +0000 (11:27 +0200)]
package/mplayer: bump version to 1.3.0

Added upstream commit to fix compilation when zlib is missing.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosystem: add help entry to "none" init system
Yann E. MORIN [Fri, 27 May 2016 20:53:53 +0000 (22:53 +0200)]
system: add help entry to "none" init system

It can be a little bit misleading to have no init system...

Add a comment that states the user has to provide his own init system,
either via a package or a rootfs overlay.

It is expected that such a user will know what to provide, so we don't
really need to specify that it should be /init or /sbin/init or any
arbitrary executable pointed to by the kernel command line "init=..."
or anything else...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/taglib: bump to version 1.11
Bernd Kuhls [Sat, 28 May 2016 07:20:13 +0000 (09:20 +0200)]
package/taglib: bump to version 1.11

Removed 0001-cmake-use-the-standard-CMake-flag-to-drive-the-share.patch,
a similar patch was committed upstream:

https://github.com/taglib/taglib/commit/ea55c8b5c1e3b72789c302aa2560d9c87faedd40

Also remove empty line 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: add backported patch to fix a bug when using taglib 1.11
Bernd Kuhls [Sat, 28 May 2016 07:20:12 +0000 (09:20 +0200)]
package/kodi: add backported patch to fix a bug when using taglib 1.11

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mplayer: add x86-specific configure options
Bernd Kuhls [Sat, 28 May 2016 07:50:08 +0000 (09:50 +0200)]
package/mplayer: add x86-specific configure options

The mplayer configure script tries to detect the capabilities of the CPU
used by probing the host CPU. This leads to compilation failures if the
target CPU has lesser features, like missing mmx support for
BR2_x86_i686=y:

Checking for CPU vendor ... GenuineIntel (6:58:9)
Checking for CPU type ...  Intel(R) Core(TM) i7-3770S CPU @ 3.10GHz
Checking for kernel support of sse ... yes
Checking for kernel support of sse2 ... yes
Checking for kernel support of sse3 ... yes
Checking for kernel support of ssse3 ... yes
Checking for kernel support of sse4_1 ... yes
Checking for kernel support of sse4_2 ... yes
Checking for kernel support of avx ... yes

For this patch I copied most of ffmpeg configure options for x86 CPUs
because mplayer contains its own copy of ffmpeg.

Fixes
http://autobuild.buildroot.net/results/c5a/c5a722607ec9797c317b63b0fd3235608a340c98/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/openpowerlink: avoid kernel header issue with musl
Romain Naour [Fri, 27 May 2016 21:48:46 +0000 (23:48 +0200)]
package/openpowerlink: avoid kernel header issue with musl

The Virtual Ethernet driver doesn't build when the musl libc is used on the
system. As stated in the musl wiki [1], the userspace and kernel headers are
mixed leading to a "clash" with the definitions provided by musl.

Remove netinet/if_ether.h userspace header and replace ETHER_ADDR_LEN by
ETH_ALEN [2] and ETHERMTU by ETH_DATA_LEN [3] in veth-linuxuser.c.

Fixes:
http://autobuild.buildroot.org/results/2ca/2ca04bb046263e479e7597867b56469893d3c11d/

Upsteam status: pending
https://github.com/OpenAutomationTechnologies/openPOWERLINK_V2/pull/120

[Rebase on v2.2.2]
[1] http://wiki.musl-libc.org/wiki/FAQ#Q:_why_am_i_getting_.22error:_redefinition_of_struct_ethhdr.2Ftcphdr.2Fetc.22_.3F
[2] https://git.musl-libc.org/cgit/musl/tree/include/net/ethernet.h?h=v1.1.14#n35
[3] https://git.musl-libc.org/cgit/musl/tree/include/net/ethernet.h?h=v1.1.14#n48

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: enable nested wayland compositor
Gustavo Zacarias [Thu, 26 May 2016 19:44:59 +0000 (16:44 -0300)]
weston: enable nested wayland compositor

It may be useful in some scenarios and size growth is marginal at best.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add support for XWayland
Gustavo Zacarias [Thu, 26 May 2016 19:44:58 +0000 (16:44 -0300)]
weston: add support for XWayland

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add support for X11 backend
Gustavo Zacarias [Thu, 26 May 2016 19:44:57 +0000 (16:44 -0300)]
weston: add support for X11 backend

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinyalsa: fix musl build
Baruch Siach [Fri, 27 May 2016 08:32:03 +0000 (11:32 +0300)]
tinyalsa: fix musl build

Add upstream patch adding missing header include.

Fixes:
http://autobuild.buildroot.net/results/042/04259ddbdf24afc507b0f21e1f5ba8738ec492b1/
http://autobuild.buildroot.net/results/371/371a1eab885d1a6b5b06bdab6c2280b20593eed4/
http://autobuild.buildroot.net/results/377/37743b3e73fcb0df9fd50113e082eac712c25e35/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoolimex_a20_olinuxino_lime: bump u-boot to 2016.05
Francois Perrad [Fri, 27 May 2016 16:15:41 +0000 (18:15 +0200)]
olimex_a20_olinuxino_lime: bump u-boot to 2016.05

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoUpdate for 2016.05-rc3
Peter Korsgaard [Thu, 26 May 2016 21:37:23 +0000 (23:37 +0200)]
Update for 2016.05-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>