buildroot.git
8 years agopackage/janus-gateway: bump version to v0.1.0
Bernd Kuhls [Sun, 5 Jun 2016 17:52:04 +0000 (19:52 +0200)]
package/janus-gateway: bump version to v0.1.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/minizip: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:52:03 +0000 (19:52 +0200)]
package/minizip: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/iputils: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:52:02 +0000 (19:52 +0200)]
package/iputils: bump version

tracepath and tracepath6 were merged recently:
https://github.com/iputils/iputils/pull/48

Therefore we do not need to install tracepath6 anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/inotify-tools: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:52:01 +0000 (19:52 +0200)]
package/inotify-tools: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/gr-osmosdr: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:52:00 +0000 (19:52 +0200)]
package/gr-osmosdr: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/gmrender-resurrect: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:59 +0000 (19:51 +0200)]
package/gmrender-resurrect: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/glmark2: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:58 +0000 (19:51 +0200)]
package/glmark2: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/filemq: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:57 +0000 (19:51 +0200)]
package/filemq: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/can-utils: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:56 +0000 (19:51 +0200)]
package/can-utils: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/avrdude: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:55 +0000 (19:51 +0200)]
package/avrdude: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/axfsutils: bump version
Bernd Kuhls [Sun, 5 Jun 2016 17:51:54 +0000 (19:51 +0200)]
package/axfsutils: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/nodejs: Update npm to use NODEJS_CONF_OPTS
Martin Bark [Fri, 3 Jun 2016 19:15:46 +0000 (20:15 +0100)]
package/nodejs: Update npm to use NODEJS_CONF_OPTS

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: Update openssl to use NODEJS_CONF_OPTS
Martin Bark [Fri, 3 Jun 2016 19:15:45 +0000 (20:15 +0100)]
package/nodejs: Update openssl to use NODEJS_CONF_OPTS

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: Update icu to use NODEJS_CONF_OPTS
Martin Bark [Fri, 3 Jun 2016 19:15:44 +0000 (20:15 +0100)]
package/nodejs: Update icu to use NODEJS_CONF_OPTS

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: Add NODEJS_CONF_OPTS
Martin Bark [Fri, 3 Jun 2016 19:15:43 +0000 (20:15 +0100)]
package/nodejs: Add NODEJS_CONF_OPTS

Most packages in buildroot pass a FOO_CONF_OPTS variable into the
configure script.  Transition nodejs to follow this convention.

Signed-off-by: Martin Bark <martin@barkynet.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowiringpi: new package
Peter Seiderer [Fri, 3 Jun 2016 18:10:33 +0000 (20:10 +0200)]
wiringpi: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/arm_juno: adding CMA support to the kernel
Joao Pinto [Wed, 25 May 2016 10:56:58 +0000 (11:56 +0100)]
configs/arm_juno: adding CMA support to the kernel

This patch adds CMA to the juno's default kernel config that is in
board/arm/juno. This is critical if the user decides to config video
resolution to 1920x1080.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/pc_x86_64_{bios, efi}_defconfig: new samples
Gustavo Zacarias [Fri, 29 Apr 2016 18:26:53 +0000 (15:26 -0300)]
configs/pc_x86_64_{bios, efi}_defconfig: new samples

Add two new sample defconfigs oriented towards real PC targets.

It adds two variants for BIOS and EFI boot strategy.

On the build side we enable eudev to autoload relevant kernel
modules/support when necessary.

It adds a bunch of drivers and extra filesystem support which is by no
means extensive/complete, mostly geared towards the hardware i've got at
hand to test with.
This is accomplished by adding on top of the Qemu x86_64 kernel sample
config.

Build connman since by using eudev network interfaces get renamed on
boot thus complicating any form of automatic and friendly bringup.
It also makes Wi-Fi configuration/support easier.

In principle these base defconfigs should work just fine for other
storage media != pendrive like sata or ssd disk, however driver support
isn't there quite yet, and pendrive is mostly supported by usb storage
plus the usual usb host controller drivers.

Tested on old Lenovo laptop (BIOS) and Asus Zenbook (EFI).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/omxplayer: new package
Yann E. MORIN [Mon, 2 May 2016 10:09:58 +0000 (12:09 +0200)]
package/omxplayer: new package

OMXplayer uses openMAX on the RPi to play videos with hardware
acceleration.

Compared to using a gstreamer pipe, OMXplayer uses a complete
"tunnel-mode", in which the video is piped (after demuxing) into the
hardware, all the way down to the display, whereas gstreamer composes
the video using the eglgles sink, which uses mem-to-mem copies.

So, when playing a locally-stored 1080p video, OMXplayer averages 20%
(with peaks up to ~30%, depending on the complexity of the video) CPU,
while gstreamer bursts up to 40+% when playing 720p and totally chokes
on a 1080p video; all on an non-overclocked RPi-1.

Note that we have to depend on rpi-userland. rpi-userland is a GLES/EGL
provider, so it can't be selected (as all providers of a virtual package
can't).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: add a depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5connectivity: add bluez5_utils option for QtBluetooth submodule
Julien CORJON [Tue, 19 Apr 2016 11:43:54 +0000 (13:43 +0200)]
qt5connectivity: add bluez5_utils option for QtBluetooth submodule

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas: simplify ifneq conditions in the .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5connectivity: add QtNfc submodule
Julien CORJON [Tue, 19 Apr 2016 11:43:53 +0000 (13:43 +0200)]
qt5connectivity: add QtNfc submodule

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
[Thomas:
 - remove useless 'depends on' on toolchain features, since we now
   depend on bluez_utils/neard
 - remove the QT5CONNECTIVITY_INSTALL_TARGET_QMLS variable, and directly
   use QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS and
   QT5CONNECTIVITY_INSTALL_TARGET_NFC_QMLS in
   QT5CONNECTIVITY_INSTALL_TARGET_CMDS.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: add patches to fix build with the musl C library
Thomas Petazzoni [Wed, 10 Feb 2016 22:44:15 +0000 (23:44 +0100)]
vpnc: add patches to fix build with the musl C library

This commit adds three patches that are needed to fix build issues on
musl:

 - <error.h> not available on musl
 - structure redefinitions due to direct inclusion of kernel headers
 - missing <sys/ttydefaults.h> inclusion

Patches have been submitted upstream:
http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2016-June/004186.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovpnc: bump to newer upstream version
Thomas Petazzoni [Wed, 10 Feb 2016 22:40:23 +0000 (23:40 +0100)]
vpnc: bump to newer upstream version

While the official upstream has not published any new tarball, they
have continued to update their Subversion repository with additional
changes. This commit therefore updates the vpnc package to a newer
version, using the Github repository that replicates the original
Subversion repository.

Since the update required some updates to the patches, we took this
opportunity to split them in more fine-grained changes, and document
them more properly. Consequently:

 - The patch 0001 that fixes the Makefile gets split into 3 patches,
   0001, 0002 and 0003, each for one specific issue.

 - Patch 0002 to disable building the manpages gets changed into a
   solution that is potentially upstreamable, and is now patch 0004.

 - A new patch 0005 is added to specify a custom libgcrypt-config
   path, since this tool is now used to know how to link with
   libgcrypt.

 - The SUSv3 function removal patch is now patch 0006, and gains a
   better commit log.

Also, this vpnc version now depends on gnutls, which basically is a
better replacement for OpenSSL, whose support was not enabled by
default due to licensing issues (vpnc is under the GPL, which isn't
compatible with the OpenSSL license).

Patches have been submitted upstream:
http://lists.unix-ag.uni-kl.de/pipermail/vpnc-devel/2016-June/004186.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-plugins-good: Add support for V4L2 probed devices
Kieran Bingham [Wed, 1 Jun 2016 18:11:54 +0000 (19:11 +0100)]
gst1-plugins-good: Add support for V4L2 probed devices

The V4L2 module of gst-plugins-good provides an extra option to allow
probing for extra devices at plugin load time. This will enable features
such as video conversion using the V4L2 M2M api

Signed-off-by: Kieran Bingham <kieran@bingham.xyz>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 6.2.1
Martin Bark [Fri, 3 Jun 2016 10:41:17 +0000 (11:41 +0100)]
package/nodejs: bump version to 6.2.1

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

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: add icu support
Martin Bark [Fri, 3 Jun 2016 10:41:16 +0000 (11:41 +0100)]
package/nodejs: add icu support

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoficl: add missing -fPIC
Francois Perrad [Fri, 3 Jun 2016 09:32:31 +0000 (11:32 +0200)]
ficl: add missing -fPIC

fix http://autobuild.buildroot.net/results/dec/dec926ad7d7880c385835ba7b380dd41fd7f3762/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebp: minor improvements
Thomas Petazzoni [Fri, 3 Jun 2016 12:25:42 +0000 (14:25 +0200)]
webp: minor improvements

Following commit e47638f8dca29b0d9b729edbaeaa11a08f9957fa, this commit
makes a few additional cosmetic improvements to the webp package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoe2fsprogs: fix build failure of subst.c
Thomas Petazzoni [Fri, 3 Jun 2016 12:19:50 +0000 (14:19 +0200)]
e2fsprogs: fix build failure of subst.c

subst.c is built for the host, but uses defines calculated by the
configure script using the cross-compiler. By passing BUILD_CFLAGS, we
help subst.c include the proper header files, and therefore avoid the
build failure.

Fixes:

  http://autobuild.buildroot.org/results/2a66280800b8aa16fee2701b3f345aa24bb13c35/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowebp: allow to enable demux
Akihiko Odaki [Wed, 1 Jun 2016 03:38:11 +0000 (12:38 +0900)]
webp: allow to enable demux

Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
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>