buildroot.git
11 years agopackage/weston: fix configure.ac to check for wayland-scanner
Yann E. MORIN [Thu, 10 Oct 2013 21:05:21 +0000 (23:05 +0200)]
package/weston: fix configure.ac to check for wayland-scanner

configure whines while checking for wayland-scanner.

wayland-scanner is used to generate the protocol parser C files from
the protocol definition XML files.

weston has a hard-dependency on wayland-scanner, so it can regenerate
its shell/mouse/keyboard/... "handlers".

Since we're using a tarball, those protocol files are already generated
and up-to-date, but the check is hard-coded and unconditional. If
wayland-scanner is missing, configure fails.

We could well patch away this check, but we'd have to carry and maintain
it probably for ever.

Better to fix it: add a patch from upstream weston to fix configure
whining.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/wayland: install wayland-scanner to $(HOST)
Yann E. MORIN [Thu, 10 Oct 2013 21:05:20 +0000 (23:05 +0200)]
package/wayland: install wayland-scanner to $(HOST)

wayland-scanner is needed by weston.

[Peter: use $(INSTALL), fixup white space]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:05:19 +0000 (23:05 +0200)]
package/weston: bump version

Even with EGL disabled, weston-1.2.2 still tries to build the
simple EGL clients, so they need to be explicitly disabled.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/wayland: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:05:18 +0000 (23:05 +0200)]
package/wayland: bump version

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-firmware: bump version
Yann E. MORIN [Thu, 10 Oct 2013 21:10:33 +0000 (23:10 +0200)]
package/rpi-firmware: bump version

Fixes for de-interlacing of /unusual/ MPEG streams.
Yes, some people seem to enjoy generating MPEG streams in
which interlacing is not constant. That's apparently 100%
valid, but yet very unusual, and at the very least, weird.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoccid: bump to version 1.4.13
Jerzy Grzegorek [Thu, 10 Oct 2013 15:59:43 +0000 (17:59 +0200)]
ccid: bump to version 1.4.13

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogdk-pixbuf: bump to version 2.28.2
Jerzy Grzegorek [Thu, 10 Oct 2013 16:01:17 +0000 (18:01 +0200)]
gdk-pixbuf: bump to version 2.28.2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agochrony: bump to version 1.29
Jerzy Grzegorek [Thu, 10 Oct 2013 15:58:27 +0000 (17:58 +0200)]
chrony: bump to version 1.29

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoboost: bump to version 1.54.0
Jerzy Grzegorek [Thu, 10 Oct 2013 15:56:58 +0000 (17:56 +0200)]
boost: bump to version 1.54.0

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/qemu: bump relevant config versions
Gustavo Zacarias [Thu, 10 Oct 2013 14:14:17 +0000 (11:14 -0300)]
configs/qemu: bump relevant config versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoprotobuf: needs thread support
Axel Lin [Thu, 10 Oct 2013 07:23:18 +0000 (15:23 +0800)]
protobuf: needs thread support

Fix:
http://autobuild.buildroot.net/results/086/08661b6bd6796c9126bcbad3245323160b182ac8/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovde2: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:46 +0000 (18:30 -0300)]
vde2: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotransmission: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:45 +0000 (18:30 -0300)]
transmission: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxl2tp: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:44 +0000 (18:30 -0300)]
xl2tp: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonet-snmp: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:43 +0000 (18:30 -0300)]
net-snmp: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agooprofile: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:42 +0000 (18:30 -0300)]
oprofile: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosamba: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:41 +0000 (18:30 -0300)]
samba: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovtun: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:40 +0000 (18:30 -0300)]
vtun: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agortorrent: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 21:30:39 +0000 (18:30 -0300)]
rtorrent: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5: remove configure options from module packages
Fatih Aşıcı [Fri, 20 Sep 2013 05:43:15 +0000 (08:43 +0300)]
qt5: remove configure options from module packages

These packages do not have configure scripts.

Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: requires host-pkgconf
Yann E. MORIN [Tue, 8 Oct 2013 22:09:49 +0000 (00:09 +0200)]
package/weston: requires host-pkgconf

weston's configure.ac uses PKG_CHECK_MODULES,
so it needs to depend on host-pkgconf.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/weston: fix variable name
Yann E. MORIN [Tue, 8 Oct 2013 22:09:48 +0000 (00:09 +0200)]
package/weston: fix variable name

The weston package uses the $(WAYLAND_VERSION) variable instead of
$(WESTON_VERSION).

This went unnoticed for now, as we were using the same version for
wayland and weston. But that's not always the case, since we have,
for example: wayland-1.2.1 and weston-1.2.2, and no wayland-1.2.2.

Fix this by using the correct variable.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: rename patches
Yann E. MORIN [Tue, 8 Oct 2013 22:09:47 +0000 (00:09 +0200)]
package/rpi-userland: rename patches

Rename patches to follow standard naming scheme.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenpowerlink: new package
Romain Naour [Fri, 4 Oct 2013 20:18:22 +0000 (22:18 +0200)]
openpowerlink: new package

[Peter: fixup patch 2 corruption]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agongircd: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:48 +0000 (17:25 -0300)]
ngircd: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomrouted: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:47 +0000 (17:25 -0300)]
mrouted: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomongoose: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:46 +0000 (17:25 -0300)]
mongoose: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolighttpd: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:45 +0000 (17:25 -0300)]
lighttpd: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agokismet: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:44 +0000 (17:25 -0300)]
kismet: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocivetweb: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:43 +0000 (17:25 -0300)]
civetweb: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoudpcast: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 20:25:42 +0000 (17:25 -0300)]
udpcast: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoebtables: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:58 +0000 (12:06 +0200)]
ebtables: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoncftp: add license information
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:57 +0000 (12:06 +0200)]
ncftp: add license information

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnfnetlink: add license information
Thomas De Schampheleire [Tue, 8 Oct 2013 10:06:56 +0000 (12:06 +0200)]
libnfnetlink: add license information

[Peter: license is GPLv2]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agovpnc: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:37 +0000 (16:49 -0300)]
vpnc: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonetatalk: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:36 +0000 (16:49 -0300)]
netatalk: needs mmu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibassuan: needs mmu
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:35 +0000 (16:49 -0300)]
libassuan: needs mmu

Also opkg needs mmu even without gpg verification so mark as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibgpg-error: bump to version 1.12
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:34 +0000 (16:49 -0300)]
libgpg-error: bump to version 1.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agognupg: security bump to version 1.4.15
Gustavo Zacarias [Wed, 9 Oct 2013 19:49:33 +0000 (16:49 -0300)]
gnupg: security bump to version 1.4.15

Fixes CVE-2013-4402.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoredis: bump to version 2.6.16
Axel Lin [Wed, 9 Oct 2013 08:47:05 +0000 (16:47 +0800)]
redis: bump to version 2.6.16

The Redis project home page moved to redis.io, thus also update the download
url accordingly.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoi2c-tools: add license information
Thomas De Schampheleire [Wed, 9 Oct 2013 07:10:51 +0000 (09:10 +0200)]
i2c-tools: add license information

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopoppler: bump to version 0.24.2
Jerzy Grzegorek [Wed, 9 Oct 2013 07:02:04 +0000 (09:02 +0200)]
poppler: bump to version 0.24.2

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonano: bump to version 2.3.2
Axel Lin [Wed, 9 Oct 2013 02:18:27 +0000 (10:18 +0800)]
nano: bump to version 2.3.2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoccid: bump to version 1.4.12
Axel Lin [Wed, 9 Oct 2013 02:02:54 +0000 (10:02 +0800)]
ccid: bump to version 1.4.12

Bump version and also add license information.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_log: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:33 +0000 (13:58 +0200)]
libnetfilter_log: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_queue: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:32 +0000 (13:58 +0200)]
libnetfilter_queue: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_cttimeout: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:31 +0000 (13:58 +0200)]
libnetfilter_cttimeout: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibnetfilter_cthelper: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:30 +0000 (13:58 +0200)]
libnetfilter_cthelper: correct license GPLv2 -> GPLv2+

The main file of this package is src/libnetfilter_cthelper.c, which states
GPLv2+.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocifs-utils: correct license GPLv3 -> GPLv3+
Thomas De Schampheleire [Wed, 9 Oct 2013 11:58:29 +0000 (13:58 +0200)]
cifs-utils: correct license GPLv3 -> GPLv3+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomediastreamer: requires toolchain with ipv6 support
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:37 +0000 (09:22 -0300)]
mediastreamer: requires toolchain with ipv6 support

Fixes:
http://autobuild.buildroot.net/results/b16/b164b87fefac67074d45a6413386f53a8ee47843/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinphone: fix build failure
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:36 +0000 (09:22 -0300)]
linphone: fix build failure

The configure script is out of sync causing deplibs linking issues so
recreate it. Fixes:
http://autobuild.buildroot.net/results/006/00673f04d0ce6cb0c5828e68f236a4eb8d7920db/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinphone: add license
Gustavo Zacarias [Wed, 9 Oct 2013 12:22:35 +0000 (09:22 -0300)]
linphone: add license

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-buildroot: fix s/Trigerring/Triggering/ typo
Peter Korsgaard [Wed, 9 Oct 2013 14:34:33 +0000 (16:34 +0200)]
toolchain-buildroot: fix s/Trigerring/Triggering/ typo

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: fix Linaro ARM toolchain support
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:15 +0000 (20:17 +0200)]
toolchain-external: fix Linaro ARM toolchain support

This commit fixes bug #6452 (eglibc from Linaro 2013.07 not copied to
target correctly) by:

 * Copying only the relevant library loader to the target on ARMhf
   (i.e ld-linux-armhf.so and not ld.so*). This is needed since Linaro
   toolchains provide two library loaders, one ARMv7 hf, and one ARMv4
   soft-float.

 * Making sure a $(TARGET_DIR)/lib/arm-linux-gnueabihf/ symbolic link
   to $(TARGET_DIR)/lib/ exists, since the dynamic loader of Linaro
   toolchains expects libraries to be found in
   $(TARGET_DIR)/lib/arm-linux-gnueabihf/.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: improve target library copy logic
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:14 +0000 (20:17 +0200)]
toolchain-external: improve target library copy logic

The copy_toolchain_lib_root function is responsible for copying a
given library (and its symbolic link) to the target filesystem. To do
so, it looks for the library in various locations, and then iterates
over the symbolic link all the way to the library, copying them as
needed to the target filesystem.

However, the latest Linaro toolchains bring an interesting use case:
the lib/ directory in the toolchain is organized as follows:

 - ld-linux.so.3 -> arm-linux-gnueabi/ld-2.17...so
 - ld-linux-armhf.so.3 -> arm-linux-gnueabihf/ld-2.17...so
 - arm-linux-gnueabi/
   - all ARMv4T soft float libraries
 - arm-linux-gnueabihf/
   - all ARMv7 hard float libraries

In order to match what we do with all other toolchains, we want all
those libraries and symbolic links to be copied directly under
$(TARGET_DIR)/lib. This commit does that by adjusting the copy logic.

This is part of the fix for bug #6452 (eglibc from Linaro 2013.07 not
copied to target correctly).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: update Linaro AArch64 toolchain
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:13 +0000 (20:17 +0200)]
toolchain-external: update Linaro AArch64 toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: update Linaro ARM toolchain
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:12 +0000 (20:17 +0200)]
toolchain-external: update Linaro ARM toolchain

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agobusybox: add patches to fix build with the musl C library
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:11 +0000 (20:17 +0200)]
busybox: add patches to fix build with the musl C library

Those patches have been submitted upstream.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: improve help text of some options
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:10 +0000 (20:17 +0200)]
toolchain-external: improve help text of some options

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: add support for musl C library
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:09 +0000 (20:17 +0200)]
toolchain-external: add support for musl C library

This commit adds support for external toolchains based on the musl C
library, as available from http://www.musl-libc.org.

Note that the pre-built musl toolchains available from
http://musl.codu.org/ are not working for the moment, since they lack
sysroot support. However, this problem has been reported to the
maintainer, who has already added sysroot support in his scripts at
https://bitbucket.org/GregorR/musl-cross, and therefore the next
version of the pre-built toolchains should work with Buildroot
out-of-the-box. In the mean time, the musl-cross script must be used
to build the toolchain.

[Peter: reword comment]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: do not check largefile, wchar, IPv6 and locale for glibc toolchains
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:08 +0000 (20:17 +0200)]
toolchain: do not check largefile, wchar, IPv6 and locale for glibc toolchains

The check_glibc function contained checks to verify that the user had
properly enabled the largefile, IPv6, locale and wchar options, to
match how glibc is configured. This was useful when the support for
glibc external toolchains was introduced, but since then, we added the
BR2_TOOLCHAIN_USES_GLIBC symbol that automatically enables largefile,
IPv6, locale and wchar support when a glibc or eglibc external
toolchain is used. Therefore, many of the check_glibc checks are
useless now, so we can remove these.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: fix the helpers.mk comment
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:07 +0000 (20:17 +0200)]
toolchain: fix the helpers.mk comment

This commit fixes various typos and mistakes in the comment at the top
of the helpers.mk file:

 * usefull -> useful

 * The optional stripping of libraries no longer exists, so there's no
   reason to mention it.

 * Indicate that the copy_toolchain_lib_root function is also used by
   the glibc package, not only by the external toolchain logic.

 * Separate more clearly the top comment introducing the entire file,
   from the comment introducing the first function.

[Peter: reword top comment, add missing 'by']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: modify the wildcard logic for shared libraries copying
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:06 +0000 (20:17 +0200)]
toolchain: modify the wildcard logic for shared libraries copying

Until now, the copy_toolchain_lib_root function took as argument the
base name of a library (e.g: libm.so), and was assuming that the usual
scheme libm.so.<x> being a symbolic link to the real library was used.

However, with musl based toolchains, the C library is named libc.so
directly, with no symbolic link at all. Therefore, this commit changes
the copy_toolchain_lib_root to move the responsibility of using a
wildcard or not after the library name the caller's responsibility.

So, all the existing LIB_EXTERNAL_LIBS values are modified to have a
.* at the end, so that the behavior is effectively unchanged.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: conditionalize the installation of libraries
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:05 +0000 (20:17 +0200)]
toolchain-external: conditionalize the installation of libraries

The external toolchain code makes the assumption that all C libraries
have a ld*.so, libc.so, libcrypt.so, libdl.so, libgcc_s.so, libm.so,
libnsl.so, libresolv.so, libutil.so, and when thread support is
enabled, libpthread.so, etc.

However, this is not the case with the musl C library, which
integrates all the functionalities in a single libc.so file. In
preparation of the support of the musl library, we make the current
value of LIB_EXTERNAL_LIBS conditional to glibc or uClibc.

The addition of additional libraries through
BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS is kept outside the condition, at
the end.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodependencies: remove useless targets
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:04 +0000 (20:17 +0200)]
dependencies: remove useless targets

The dependencies-source, dependencies-clean and dependencies-dirclean
targets are not needed, as long as 'dependencies' is not used in the
<pkg>_DEPENDENCIES of a package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-external: convert to the package infrastructure
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:03 +0000 (20:17 +0200)]
toolchain-external: convert to the package infrastructure

This commit converts the 'toolchain-external' logic to the package
infrastructure.

The TOOLCHAIN_EXTERNAL_DIR variable (which points to where the
toolchain is located) is renamed to TOOLCHAIN_EXTERNAL_INSTALL_DIR,
because the former conflicts with the package infrastructure (which
defines the <pkg>_DIR variable for each package as pointing to its
build directory).

The new _EXTRA_DOWNLOADS mechanism is used for Blackfin toolchains.

The extract, configuration and installation steps are converted inside
the <pkg>_EXTRACT_CMDS, <pkg>_CONFIGURE_CMDS and
<pkg>_INSTALL_STAGING_CMDS.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain-buildroot: convert to the package infrastructure
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:02 +0000 (20:17 +0200)]
toolchain-buildroot: convert to the package infrastructure

This commit converts the toolchain-buildroot logic to the package
infrastructure. The package is fairly simple as it only defines
BUILDROOT_LIBC, and depends on host-gcc-final to get the overall
internal toolchain build logic started.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotoolchain: introduce a virtual package
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:01 +0000 (20:17 +0200)]
toolchain: introduce a virtual package

This commit introduces a virtual package called 'toolchain', located
in 'toolchain/toolchain', which simply depends on
'toolchain-buildroot' or 'toolchain-external' depending on the
selected toolchain backend.

For now, toolchain-buildroot and toolchain-external are still manual
make targets, but the following patches convert those backends to use
the package infrastructure as well.

In addition to this:

 * The main Makefile is modified to always make BASE_TARGETS point to
   this new toolchain virtual package.

 * The main Makefile is changed to include all the toolchain/*/*.mk
   files: the toolchain virtual package, and the toolchain-buildroot
   and toolchain-external directories.

 * The dependency of the toolchain on prepare dirs and dependencies is
   moved to the toolchain virtual package. It is moved as a
   prerequisite of the "toolchain-source" rule to ensure that all
   directories are prepared before we even start extracting the
   toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage: add a <pkg>_EXTRA_DOWNLOADS variable
Thomas Petazzoni [Tue, 8 Oct 2013 18:17:00 +0000 (20:17 +0200)]
package: add a <pkg>_EXTRA_DOWNLOADS variable

Converting the external toolchain logic into a package raises a very
special use case that wasn't handled by the package infrastructure:
the Blackfin toolchain is delivered as two tarballs instead of
one. Unfortunately <pkg>_SOURCE only allows to pass one tarball name.

However, we really want both tarballs to be known by the package
infrastructure, so that the normal 'source' and 'external-deps'
mechanism work fine.

In order to achieve this, we add a <pkg>_EXTRA_DOWNLOADS variable,
which allows a package to list other stuff it would like to see
downloaded, but that are otherwise not used by the package
infrastructure itself: it is up to the package to do it by itself.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoglibc: fix glibc build by creating an empty gnu/stubs.h
Thomas Petazzoni [Tue, 8 Oct 2013 18:16:59 +0000 (20:16 +0200)]
glibc: fix glibc build by creating an empty gnu/stubs.h

The stubs.h header is not installed by install-headers, but is needed
for the gcc build. An empty stubs.h will work, as explained in
http://gcc.gnu.org/ml/gcc/2002-01/msg00900.html. The same trick is
used by Crosstool-NG.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoglibc: both eglibc and glibc need host-gawk
Thomas Petazzoni [Tue, 8 Oct 2013 18:16:58 +0000 (20:16 +0200)]
glibc: both eglibc and glibc need host-gawk

Until now, only the eglibc build was pulling host-gawk as a
dependency, but after more testing, it turns out that the glibc build
also requires host-gawk.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolvm2: bump to version 2.02.103 and add license information
Axel Lin [Tue, 8 Oct 2013 01:31:48 +0000 (09:31 +0800)]
lvm2: bump to version 2.02.103 and add license information

[Peter: License is explictly GPLv2 LGPLv2.1 (not +)]
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoruby: fix license info
Arnout Vandecappelle [Tue, 8 Oct 2013 19:02:33 +0000 (21:02 +0200)]
ruby: fix license info

Based on the contents of LEGAL, without checking the code.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoperl: fix license info
Arnout Vandecappelle [Tue, 8 Oct 2013 19:02:32 +0000 (21:02 +0200)]
perl: fix license info

According to the README, perl can be used either under
Artistic or under GPLv1+ license, so include both.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonetatalk: add license info
Arnout Vandecappelle [Tue, 8 Oct 2013 19:02:31 +0000 (21:02 +0200)]
netatalk: add license info

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoharfbuzz: unbreak legal-info after version bump
Peter Korsgaard [Tue, 8 Oct 2013 20:36:48 +0000 (22:36 +0200)]
harfbuzz: unbreak legal-info after version bump

The embedded icu support library has been removed upstream:

http://cgit.freedesktop.org/harfbuzz/commit/src?id=ac1b723917d9b8f247a350f8d3e1bc5d1e472073

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoimagemagick: bump to version 6.8.7 0
Jerzy Grzegorek [Tue, 8 Oct 2013 06:03:17 +0000 (08:03 +0200)]
imagemagick: bump to version 6.8.7 0

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoimagemagick: change the patch name
Jerzy Grzegorek [Tue, 8 Oct 2013 06:03:16 +0000 (08:03 +0200)]
imagemagick: change the patch name

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agostress: add license information
Axel Lin [Tue, 8 Oct 2013 07:59:29 +0000 (15:59 +0800)]
stress: add license information

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agostress: fix download url
Axel Lin [Tue, 8 Oct 2013 02:43:49 +0000 (10:43 +0800)]
stress: fix download url

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorpi-userland: needs threads
Phil Eichinger [Tue, 8 Oct 2013 08:36:48 +0000 (10:36 +0200)]
rpi-userland: needs threads

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

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconntrack-tools: correct license GPLv2 -> GPLv2+
Thomas De Schampheleire [Tue, 8 Oct 2013 13:49:25 +0000 (15:49 +0200)]
conntrack-tools: correct license GPLv2 -> GPLv2+

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibsoc: bump to 0.4
Yegor Yefremov [Tue, 8 Oct 2013 07:11:55 +0000 (09:11 +0200)]
libsoc: bump to 0.4

"Non-blocking GPIO Interrupts with callback mechanism" feature
requires pthreads.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoharfbuzz: bump to version 0.9.22
Jerzy Grzegorek [Tue, 8 Oct 2013 06:35:40 +0000 (08:35 +0200)]
harfbuzz: bump to version 0.9.22

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agominidlna: fix build failure
Gustavo Zacarias [Tue, 8 Oct 2013 02:18:20 +0000 (23:18 -0300)]
minidlna: fix build failure

With the 1.0.26 version bump a new routine was added to find newer
versions of ffmpeg and/or libav on different include paths.
Unfortunately this uses absolute pathnames hence when there's no
matching ffmpeg/libav headers on the host it fails to build. Fixes:
http://autobuild.buildroot.net/results/20a/20a1b3a9f040d2207b6c533a158e9747054ddd2d/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoicu: needs threads
Axel Lin [Tue, 8 Oct 2013 01:08:21 +0000 (09:08 +0800)]
icu: needs threads

Fixes:
http://autobuild.buildroot.net/results/ae7/ae721db2dd4e764a2af3825c388a63cad9720ebe/

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agofmtools: add license information
Axel Lin [Tue, 8 Oct 2013 00:46:45 +0000 (08:46 +0800)]
fmtools: add license information

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinphone: bump to version 3.6.1
Gustavo Zacarias [Mon, 7 Oct 2013 20:21:58 +0000 (17:21 -0300)]
linphone: bump to version 3.6.1

Because of the previous mediastreamer bump (because of the untested ortp
bump) we need to bump linphone as well to avoid build failures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomediastreamer: bump to version 2.9.0
Gustavo Zacarias [Mon, 7 Oct 2013 20:21:57 +0000 (17:21 -0300)]
mediastreamer: bump to version 2.9.0

Fixes the fallout from commit 280a387737ed72a2dd844253eeb64cc373ca7656
which didn't test building things that links against ortp, fixing:
http://autobuild.buildroot.net/results/ac6/ac69ff3332713e3a6681fd1d418f1cb9c1941098

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolighttpd: fix build failure without ipv6
Gustavo Zacarias [Mon, 7 Oct 2013 21:02:15 +0000 (18:02 -0300)]
lighttpd: fix build failure without ipv6

Reported in https://bugs.gentoo.org/show_bug.cgi?id=486426
and http://redmine.lighttpd.net/issues/2515
Autobuilders didn't hit it yet, but i did.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agominidlna: security bump to version 1.0.26
Gustavo Zacarias [Mon, 7 Oct 2013 19:46:56 +0000 (16:46 -0300)]
minidlna: security bump to version 1.0.26

Fixes CVE-2013-2738, CVE-2013-2739 and CVE-2013-2745.
Also needs threads, which fixes:
http://autobuild.buildroot.net/results/d91/d91b64c93097580e1da53b6ccfb4b492f382a5f3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoffmpeg: security bump to version 0.8.15
Gustavo Zacarias [Mon, 7 Oct 2013 19:46:55 +0000 (16:46 -0300)]
ffmpeg: security bump to version 0.8.15

Fixes several vulnerabilities.
TODO: update to a more modern branch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolighttpd: Version bump to 1.4.33
Markos Chandras [Mon, 7 Oct 2013 12:49:56 +0000 (13:49 +0100)]
lighttpd: Version bump to 1.4.33

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopolarssl: security bump to version 1.2.9
Gustavo Zacarias [Mon, 7 Oct 2013 12:18:16 +0000 (09:18 -0300)]
polarssl: security bump to version 1.2.9

Fixes PolarSSL SA 2013-05.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agominicom: bump to version 2.6.2
Axel Lin [Mon, 7 Oct 2013 10:35:56 +0000 (18:35 +0800)]
minicom: bump to version 2.6.2

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolcms2: bump to version 2.5
Axel Lin [Mon, 7 Oct 2013 07:08:41 +0000 (15:08 +0800)]
lcms2: bump to version 2.5

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoortp: bump to version 0.22.0
Axel Lin [Mon, 7 Oct 2013 05:51:25 +0000 (13:51 +0800)]
ortp: bump to version 0.22.0

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogtest: add license information
Axel Lin [Mon, 7 Oct 2013 09:56:14 +0000 (17:56 +0800)]
gtest: add license information

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agompg123: bump to version 1.16.0
Axel Lin [Mon, 7 Oct 2013 09:46:31 +0000 (17:46 +0800)]
mpg123: bump to version 1.16.0

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosudo: bump to version 1.8.8
Axel Lin [Mon, 7 Oct 2013 09:10:20 +0000 (17:10 +0800)]
sudo: bump to version 1.8.8

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>