buildroot.git
8 years agosamba4: security bump to version 4.4.2
Gustavo Zacarias [Tue, 12 Apr 2016 20:34:50 +0000 (17:34 -0300)]
samba4: security bump to version 4.4.2

Fixes:

CVE-2016-2118 - A man in the middle can intercept any DCERPC traffic
between a client and a server in order toimpersonate the client and get
the same privileges as the authenticated user account.

CVE-2016-2115 - The protection of DCERPC communication over ncacn_np
(which is the default for most the file server related protocols) is
inherited from the underlying SMB connection. Samba doesn't enforce SMB
signing for this kind of SMB connections by default, which makes man in
the middle attacks possible.

CVE-2016-2114 - Due to a bug Samba doesn't enforce required smb signing,
even if explicitly configured.

CVE-2016-2113 - Man in the middle attacks are possible for client
triggered LDAP connections (with ldaps://) and ncacn_http connections
(with https://).

CVE-2016-2112 - A man in the middle is able to downgrade LDAP
connections to no integrity protection. It's possible to attack client
and server with this.

CVE-2016-2111 - When Samba is configured as Domain Controller it allows
remote attackers to spoof the computer name of a secure channel's
endpoints, and obtain sensitive session information, by running a
crafted application and leveraging the ability to sniff network traffic.

CVE-2016-2110 - The feature negotiation of NTLMSSP is not downgrade
protected. A man in the middle is able to clear even required flags,
especially NTLMSSP_NEGOTIATE_SIGN and NTLMSSP_NEGOTIATE_SEAL.

CVE-2015-5370 - Errors in Samba DCE-RPC code can lead to denial of
service (crashes and high cpu consumption) and man in the middle
attacks.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agobarebox: bump to version 2016.04.0
Fabio Porcedda [Sat, 9 Apr 2016 15:27:11 +0000 (17:27 +0200)]
barebox: bump to version 2016.04.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agographite2: bump to version 1.3.8
Gustavo Zacarias [Fri, 8 Apr 2016 20:30:56 +0000 (17:30 -0300)]
graphite2: bump to version 1.3.8

And upstream switches tarball name yet again, so adjust SOURCE.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosqlite: bump to version 3.12.1
Gustavo Zacarias [Fri, 8 Apr 2016 20:22:38 +0000 (17:22 -0300)]
sqlite: bump to version 3.12.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoweston: don't forcibly disable simple EGL clients
Gustavo Zacarias [Fri, 8 Apr 2016 13:35:21 +0000 (10:35 -0300)]
weston: don't forcibly disable simple EGL clients

Only do so when there's no EGL.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoweston: check for both EGL and GLES
Gustavo Zacarias [Fri, 8 Apr 2016 13:42:37 +0000 (10:42 -0300)]
weston: check for both EGL and GLES

The conditional is wrong, it was check for BR2_PACKAGE_MESA3D_OPENGL_ES
(correct, means GLESv2 support) and BR2_PACKAGE_MESA3D_OPENGL_GLES
(incorrect, there's no such symbol).
So now check for BR2_PACKAGE_MESA3D_OPENGL_EGL (EGL support) plus
BR2_PACKAGE_MESA3D_OPENGL_ES (GLESv2 support), both are required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoxorriso: Unify help description
Benoît Allard [Fri, 8 Apr 2016 08:58:49 +0000 (10:58 +0200)]
xorriso: Unify help description

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/exim: bump version to 4.87
Bernd Kuhls [Fri, 8 Apr 2016 12:18:23 +0000 (14:18 +0200)]
package/exim: bump version to 4.87

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomesa3d: needs host-bison and host-flex
Gustavo Zacarias [Fri, 8 Apr 2016 12:35:00 +0000 (09:35 -0300)]
mesa3d: needs host-bison and host-flex

Fixes (host-bison):
http://autobuild.buildroot.net/results/e91/e919dbe6660a6c8c087969a6646e97dd058ce2c7/
Fixes (host-flex):
http://autobuild.buildroot.net/results/66d/66d45e34a38f15e391500ea7f7036606bbaf2655/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoiproute2: bump to version 4.5.0
Gustavo Zacarias [Fri, 8 Apr 2016 14:40:38 +0000 (11:40 -0300)]
iproute2: bump to version 4.5.0

Drop 0003-iproute2-fix-building-with-musl.patch since it's upstream.
Add gentoo patch to allow for non-iptables builds.
Add new musl build fix.
Tweak 0001-Avoid-in6_addr-redefinition.patch since the first chunk is no
longer required.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibqmi: bump to version 1.14.2
Yegor Yefremov [Fri, 8 Apr 2016 10:14:14 +0000 (12:14 +0200)]
libqmi: bump to version 1.14.2

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/Makefile.in: adjust LDFLAGS for elf2flt
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:11 +0000 (21:00 +0200)]
package/Makefile.in: adjust LDFLAGS for elf2flt

So far, our LDFLAGS for the BR2_BINFMT_FLAT case were only used on
Blackfin. However, passing -elf2flt in LDFLAGS is wrong. Indeed,
LDFLAGS are not linker flags, but flags passed to the compiler when
linking.

If you pass -elf2flt to the compiler when linking, it is understood as
"-e lf2flt", i.e "the entry point is named lf2flt", which isn't
exactly the intention. We in fact need to pass -Wl,-elf2flt in LDFLAGS
as well, so that the compiler passes -elf2flt down to the linker.

For some reason, this option does not cause an issue with the Blackfin
toolchain, but it does with either a Buildroot toolchain for Cortex-M
or an OSELAS toolchain for Cortex-M. We have verified that passing
-Wl,-elf2flt continues to work with the Blackfin toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-buildroot: don't show musl on noMMU platforms
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:10 +0000 (21:00 +0200)]
toolchain-buildroot: don't show musl on noMMU platforms

While musl has recently gained noMMU support for the sh2 platform, we
don't support this yet. So for the time being, let's not show musl as
an available C library on noMMU platforms. This is for example
important on ARM noMMU: ARM is supported by musl, but not its noMMU
variants.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agotoolchain-buildroot: update glibc comment for noMMU
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:09 +0000 (21:00 +0200)]
toolchain-buildroot: update glibc comment for noMMU

glibc is not available for noMMU platforms, so it doesn't make sense
to show the comment about glibc requiring dynamic libraries on noMMU
platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomusl: build broken on Thumb, use ARM mode
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:08 +0000 (21:00 +0200)]
musl: build broken on Thumb, use ARM mode

Building the musl C library on Thumb (Thumb1, not Thumb2), fails with:

 {standard input}:20: Error: only lo regs allowed with immediate -- `mov fp,#0'
 {standard input}:21: Error: only lo regs allowed with immediate -- `mov lr,#0'
 {standard input}:25: Error: unshifted register required -- `and ip,a1,#-16'

Since there are no cores that we support that are Thumb1 only, use the
same solution as the one used by glibc: build the C library in ARM
mode.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agouclibc: context functions are not Thumb-compatible
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:07 +0000 (21:00 +0200)]
uclibc: context functions are not Thumb-compatible

The context functions in uClibc unconditionally use the classic ARM
instruction set.

On platforms that do support the ARM instruction set, there is no problem -
However, on platforms that only support the Thumb instruction set, the
context functions cannot be built since the assembler code is not
Thumb-ready. Therefore, these functions must be disabled on such
platforms. All Thumb1 platforms support ARM instructions, so this is
only relevant for Thumb2-only platforms (i.e., Cortex-M).

Note that some packages require the context functions, so these will
fail to build on these platforms. It is worth mentioning that musl
also doesn't provide the context functions, and those are rarely
used. Affected packages will be handled in later patches.

[Peter: slightly reworded]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agouclibc: use upstreamed patch for ARM Thumb simplification
Thomas Petazzoni [Thu, 31 Mar 2016 19:00:06 +0000 (21:00 +0200)]
uclibc: use upstreamed patch for ARM Thumb simplification

The uClibc patches to simplify the ARM Thumb configuration options
have been merged, but instead of being 5 separate patches, they have
been merged as a single patch.

This commit updates the Buildroot uClibc package to use the patch that
was actually upstreamed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosawman: completely remove the package
Thomas Petazzoni [Fri, 8 Apr 2016 03:01:14 +0000 (05:01 +0200)]
sawman: completely remove the package

In commit 11573f5a14d1c2726ce9623de3a5f118085a420f ("sawman: remove
package"), we removed the sawman package, but forgot to remove the
hash file of that package. This commit finalizes the removal by
getting rid of the hash file.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsrtp: security bump to version 1.5.4
Baruch Siach [Thu, 7 Apr 2016 22:09:37 +0000 (01:09 +0300)]
libsrtp: security bump to version 1.5.4

Fixes CVE-2015-6360: Prevent potential DoS attack due to lack of bounds
checking on RTP header CSRC count and extension header length.

Also, add a hash file.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoevemu: bump version to 2.4.0
Peter Seiderer [Thu, 7 Apr 2016 21:02:19 +0000 (23:02 +0200)]
evemu: bump version to 2.4.0

See [1] for details.

[1] https://lists.freedesktop.org/archives/input-tools/2016-April/001274.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoharfbuzz: bump to version 1.2.5
Gustavo Zacarias [Tue, 5 Apr 2016 21:36:06 +0000 (18:36 -0300)]
harfbuzz: bump to version 1.2.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomesa: add vc4 driver support
Gustavo Zacarias [Thu, 7 Apr 2016 19:03:39 +0000 (16:03 -0300)]
mesa: add vc4 driver support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.18.x and 4.1.x series
Gustavo Zacarias [Wed, 6 Apr 2016 12:38:42 +0000 (09:38 -0300)]
linux-headers: bump 3.18.x and 4.1.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: Add custom Subversion repository support for the package
Pauli Sundberg [Tue, 29 Mar 2016 17:22:58 +0000 (20:22 +0300)]
linux: Add custom Subversion repository support for the package

Signed-off-by: Pauli Sundberg <susundberg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoboot/uboot: Add custom Subversion repository support for the package
Pauli Sundberg [Tue, 29 Mar 2016 17:22:57 +0000 (20:22 +0300)]
boot/uboot: Add custom Subversion repository support for the package

Signed-off-by: Pauli Sundberg <susundberg@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: use zImage by default on ARM
Thomas Petazzoni [Thu, 31 Mar 2016 19:34:26 +0000 (21:34 +0200)]
linux: use zImage by default on ARM

Since quite some time, the kernel and bootloader communities consider
zImage as the default format for kernel images on ARM, replacing
uImage. The load address information in uImage is no longer needed,
since the kernel is position-independent in terms of physical address,
except on a few old platforms. For most people, using zImage is simply
better/simpler, so let's switch to zImage as the default image format
on ARM.

All defconfigs are updated: 46 defconfigs no longer need to select
explicitly zImage because it's the default, and 16 defconfigs now need
to explicitly select uImage because that's no longer the default.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Matt Weber <matt@thewebers.ws>
Acked-by: Julien Boibessot <julien.boibessot@armadeus.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agonetwork-manager: bump version to 1.0.12
Vicente Olivert Riera [Mon, 4 Apr 2016 09:31:05 +0000 (10:31 +0100)]
network-manager: bump version to 1.0.12

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agosquid: bump version to 3.5.16
Vicente Olivert Riera [Mon, 4 Apr 2016 09:31:04 +0000 (10:31 +0100)]
squid: bump version to 3.5.16

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolvm2: bump version to 2.02.149
Vicente Olivert Riera [Mon, 4 Apr 2016 09:31:03 +0000 (10:31 +0100)]
lvm2: bump version to 2.02.149

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/libshout: bump version to 2.4.1
Bernd Kuhls [Sun, 3 Apr 2016 19:56:51 +0000 (21:56 +0200)]
package/libshout: bump version to 2.4.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomosh: requires wchar
Baruch Siach [Sat, 2 Apr 2016 21:08:56 +0000 (00:08 +0300)]
mosh: requires wchar

Fixes:
http://autobuild.buildroot.net/results/dc6/dc60afdf2b6035cd72567cf37b837db087c79bea/
http://autobuild.buildroot.net/results/624/624a1fcae9633940714ae4e8ad9864e9611e93ec/
http://autobuild.buildroot.net/results/e95/e95c8cff40c87f167f82e37430ebd1f37c8c242e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/{mesa3d, mesa3d-headers}: bump version to 11.2.0
Bernd Kuhls [Mon, 4 Apr 2016 19:28:28 +0000 (21:28 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 11.2.0

Rebased 0002-Fix-runtime-error-with-uClibc.patch

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoweston: egl requires gles as well
Gustavo Zacarias [Mon, 4 Apr 2016 18:34:01 +0000 (15:34 -0300)]
weston: egl requires gles as well

>From configure.ac lines 83-89:

AC_ARG_ENABLE(egl, [  --disable-egl],,
enable_egl=yes)
AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes)
if test x$enable_egl = xyes; then
AC_DEFINE([ENABLE_EGL], [1], [Build Weston with
EGL support])
PKG_CHECK_MODULES(EGL, [egl glesv2])
PKG_CHECK_MODULES([EGL_TESTS], [egl glesv2 wayland-client
wayland-egl])

It also requires wayland-egl which is only provided by mesa3d for now,
hence make it conditional on mesa3d egl+gles.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/x11r7/xserver_xorg-server: bump version to 1.18.3
Bernd Kuhls [Tue, 5 Apr 2016 16:52:45 +0000 (18:52 +0200)]
package/x11r7/xserver_xorg-server: bump version to 1.18.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/x11r7/xproto_inputproto: bump version to 2.3.2
Bernd Kuhls [Tue, 5 Apr 2016 16:52:44 +0000 (18:52 +0200)]
package/x11r7/xproto_inputproto: bump version to 2.3.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agogit: bump version to 2.8.1
Vicente Olivert Riera [Tue, 5 Apr 2016 12:55:53 +0000 (13:55 +0100)]
git: bump version to 2.8.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolibrsvg: bump to version 2.40.15
Gustavo Zacarias [Mon, 4 Apr 2016 21:12:58 +0000 (18:12 -0300)]
librsvg: bump to version 2.40.15

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agofeh: bump to version 2.14.2
Petr Vorel [Mon, 4 Apr 2016 16:52:59 +0000 (18:52 +0200)]
feh: bump to version 2.14.2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agowilc1000-firmware: new package
ludovic.desroches@atmel.com [Fri, 1 Apr 2016 06:19:36 +0000 (08:19 +0200)]
wilc1000-firmware: new package

Firmware for Atmel Wilc1000 wireless device.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
[Thomas:
  - add missing hash file
  - simplify installation step]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: security bump to version 5.6.20
Gustavo Zacarias [Fri, 1 Apr 2016 12:02:19 +0000 (09:02 -0300)]
php: security bump to version 5.6.20

Fixes (no CVEs yet):
Buffer over-write in finfo_open with malformed magic file.
Invalid memory write in phar on filename with \0 in name.
Parsing of tar file with duplicate filenames causes memory leak.
php_snmp_error() Format String Vulnerability.
Integer Overflow in php_raw_url_encode.

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.2.x series
Gustavo Zacarias [Fri, 1 Apr 2016 12:02:02 +0000 (09:02 -0300)]
linux-headers: bump 3.2.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofastd: bump to v18
Alexander Dahl [Sat, 2 Apr 2016 10:38:28 +0000 (12:38 +0200)]
fastd: bump to v18

Release notes at http://fastd.readthedocs.org/en/v18/releases/v18.html

First patch rebased, second patch removed (gone upstream). Using tarball
and hashes instead of git now.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibuecc: bump to v7
Alexander Dahl [Sat, 2 Apr 2016 10:38:27 +0000 (12:38 +0200)]
libuecc: bump to v7

>From v6 to v7 just few changes were made for performance improvement and
compatibility.

Switched from git download to source tarballs and hashes.

Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-utils: bump to version 1.1.1
Gustavo Zacarias [Thu, 31 Mar 2016 20:07:22 +0000 (17:07 -0300)]
alsa-utils: bump to version 1.1.1

Patches upstream so drop them.

The 'bat' binary utility was renamed to 'alsabat' probably to avoid some
clash, keep the old .config symbol to avoid pointless legacy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoalsa-lib: bump to version 1.1.1
Gustavo Zacarias [Thu, 31 Mar 2016 20:07:21 +0000 (17:07 -0300)]
alsa-lib: bump to version 1.1.1

Drop 0001-add-missing-include.patch since it's upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgtk3: bump to version 3.20.2
Gustavo Zacarias [Thu, 31 Mar 2016 19:41:10 +0000 (16:41 -0300)]
libgtk3: bump to version 3.20.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonload: new package
Gustavo Zacarias [Tue, 8 Mar 2016 13:14:24 +0000 (10:14 -0300)]
nload: new package

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoglibmm: bump to version 2.48.1
Gustavo Zacarias [Thu, 31 Mar 2016 19:12:36 +0000 (16:12 -0300)]
glibmm: bump to version 2.48.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agognupg2: bump to version 2.0.30
Gustavo Zacarias [Thu, 31 Mar 2016 17:10:59 +0000 (14:10 -0300)]
gnupg2: bump to version 2.0.30

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: rename Zynq defconfig files
Masahiro Yamada [Thu, 3 Mar 2016 02:38:52 +0000 (11:38 +0900)]
configs: rename Zynq defconfig files

These three are Zynq boards and the build procedure is almost the
same.  Having the SoC name prefix "zynq_" would be more consistent.
Also, this is the way in which the Linux Device Trees and the U-Boot
configuration files do.

This commit renames as follows:

   zedboard_defconfig     -> zynq_zed_defconfig
   microzed_defconfig     -> zynq_microzed_defconfig
   xilinx_zc706_defconfig -> zynq_zc706_defconfig

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibdrm: add vc4 (Raspberry Pi) option
Peter Seiderer [Thu, 25 Feb 2016 22:48:42 +0000 (23:48 +0100)]
libdrm: add vc4 (Raspberry Pi) option

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonorm: fix build failure with old headers
Gustavo Zacarias [Thu, 31 Mar 2016 13:45:38 +0000 (10:45 -0300)]
norm: fix build failure with old headers

The version check for the nfq_get_payload prototype is wrong since it's
done against linux headers when in fact it changed with the 1.0.0
release of libnetfilter_queue, leading to build failure in toolchains
that have old headers when libnetfilter_queue is present. Fixes:
http://autobuild.buildroot.net/results/c0e/c0e897a6db888d4a7e0302cdc1e0cbec7d1e88f3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocannelloni: needs gcc >= 4.8
Gustavo Zacarias [Thu, 31 Mar 2016 10:54:11 +0000 (07:54 -0300)]
cannelloni: needs gcc >= 4.8

Uses C++11, fixes:
http://autobuild.buildroot.net/results/4a9/4a9999555c20e495d4981deafc2960940e67febe/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/systemd: Respect BR2_TARGET_GENERIC_GETTY_BAUDRATE
Cyril Bur [Mon, 7 Mar 2016 01:05:09 +0000 (12:05 +1100)]
package/systemd: Respect BR2_TARGET_GENERIC_GETTY_BAUDRATE

Currently systemd getty services ignore baudrates set in buildroot in
favour of a hardcoded 115200. This patch SEDs out that hardcoded value with
what is selected.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Reviewed-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: enable linuxthreads for xtensa
Max Filippov [Thu, 17 Mar 2016 15:27:04 +0000 (18:27 +0300)]
uclibc: enable linuxthreads for xtensa

linuxthreads is the only threading option for noMMU xtensa, enable it.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogcc: add xtensa uClinux support
Max Filippov [Thu, 17 Mar 2016 15:27:03 +0000 (18:27 +0300)]
gcc: add xtensa uClinux support

Backported from: r228450
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: bump to version 1.7.4
Jörg Krause [Wed, 30 Mar 2016 20:22:38 +0000 (22:22 +0200)]
libwebsockets: bump to version 1.7.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: fix build with nothread toolchains
Jörg Krause [Wed, 30 Mar 2016 20:22:37 +0000 (22:22 +0200)]
libwebsockets: fix build with nothread toolchains

>From upstream changelog:
> If LWS_MAX_SMP=1, then there is no code related to pthreads compiled in the
  library. If more than 1, a small amount of pthread mutex code is built into
  the library.

Set LWS_MAX_SMP=1 for toolchains without thread support, otherwise leave it
unset so upstreams CMakeLists.txt will take care of it.

Fixes:
http://autobuild.buildroot.net/results/dbf/dbf45a52b9aef602fd62ad1ca10957bafe656923/
http://autobuild.buildroot.net/results/26c/26c2ac28f44f8f1b227caa715af60bcd92a5f740/
http://autobuild.buildroot.net/results/d65/d65dcbfb96b249e01b034c01a52884b522c778b3/
http://autobuild.buildroot.net/results/e55/e550ebfdd1e8f459ca7b12f2708a704eaec52474/
.. and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibwebsockets: add patch to fix musl build
Jörg Krause [Wed, 30 Mar 2016 20:22:36 +0000 (22:22 +0200)]
libwebsockets: add patch to fix musl build

Add patch from upstream [1] to fix musl build:
fatal error: sys/cdefs.h: No such file or directory

Fixes:
http://autobuild.buildroot.net/results/564/564675be0d4fbfa113a0f2e52874e0dce2d5ba5e/
http://autobuild.buildroot.net/results/c41/c41d87c0cf22f3b88e5f80ad6bf5e81900603c1d/

Backported from: 9eec5e4470397632af035c429295a41b74bd0585

[1] https://github.com/warmcat/libwebsockets/commit/9eec5e4470397632af035c429295a41b74bd0585

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboost: fix getchar issue with uClibc and gcc <= 4.8.2
Jörg Krause [Wed, 30 Mar 2016 22:19:36 +0000 (00:19 +0200)]
boost: fix getchar issue with uClibc and gcc <= 4.8.2

getchar() is defined as a macro in uClibc. This hits gcc bug 58952 [1] for all
gcc versions <= 4.8.2 and building boost/test fails:

./boost/test/impl/unit_test_main.ipp: In function 'int boost::unit_test::unit_test_main(boost::unit_test::init_unit_test_func, int, char**)':
./boost/test/impl/unit_test_main.ipp:194:18: error: expected unqualified-id before '(' token

To allow building boost/test with uClibc based toolchains with gcc <= 4.8.2 use
parenthesis for std::getchar.

Fixes:
http://autobuild.buildroot.net/results/506/506b3b1b4087318a4247456782ac9e4f128d5db6/
http://autobuild.buildroot.net/results/5f2/5f2a8fb5cb823160542ee721591867b34bd25de6/
http://autobuild.buildroot.net/results/e3e/e3e6002ac5b40f7f03d32ba9da99f6497f01b42f/
.. and more

Upstream status: Pending
https://github.com/boostorg/test/pull/97

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58952

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dovecot: bump version to 2.2.23
Bernd Kuhls [Wed, 30 Mar 2016 21:59:02 +0000 (23:59 +0200)]
package/dovecot: bump version to 2.2.23

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonss: security bump to version 3.23
Gustavo Zacarias [Wed, 30 Mar 2016 19:51:07 +0000 (16:51 -0300)]
nss: security bump to version 3.23

Fixes:
CVE-2016-1950 - Fixed a heap-based buffer overflow related to the
parsing of certain ASN.1 structures. An attacker could create a
specially-crafted certificate which, when parsed by NSS, would cause a
crash or execution of arbitrary code with the permissions of the user.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: add license info
Gustavo Zacarias [Wed, 30 Mar 2016 19:36:40 +0000 (16:36 -0300)]
gst1-libav: add license info

Now that we use unbundled ffmpeg the licensing becomes much easier.
Relevant code is under ext/*, which according to COPYING and comments is
GPLv2+, except for ext/libswscale/gstffmpegscale.c which is LGPLv2+ -
however that's not built/used when using system ffmpeg.

The code under gst-libs/ is the bundled ffmpeg itself.

Tests are under LGPLv2+ as well but we don't build them since we
disabled gst-check support in the gstreamer1 package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: switch to unbundled
Gustavo Zacarias [Wed, 30 Mar 2016 19:36:39 +0000 (16:36 -0300)]
gst1-libav: switch to unbundled

It avoids the crazy in handling all of the ffmpeg options here as well,
and potentially avoids target code duplication, hence resulting in a
size reduction.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: extend help text as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocannelloni: new package
Yegor Yefremov [Thu, 3 Mar 2016 12:01:47 +0000 (13:01 +0100)]
cannelloni: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's GPLv2, not GPLv2+.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxorriso: Add host variant
Benoît Allard [Wed, 16 Mar 2016 13:55:15 +0000 (14:55 +0100)]
xorriso: Add host variant

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowhois: bump to version 5.2.12
Gustavo Zacarias [Wed, 30 Mar 2016 17:57:02 +0000 (14:57 -0300)]
whois: bump to version 5.2.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonmap: bump to version 7.12
Gustavo Zacarias [Wed, 30 Mar 2016 17:44:01 +0000 (14:44 -0300)]
nmap: bump to version 7.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tvheadend: use wizard mode on first run
Yann E. MORIN [Mon, 28 Mar 2016 15:15:47 +0000 (17:15 +0200)]
package/tvheadend: use wizard mode on first run

The format of the ACL database in tvheadend has changed, and generating
a default user is a little bit more involved than just dumping a file in
the correct locations: filenames are now md5sum (of something?) and the
usernames and passwords now have their own DB.

However, tvheadend has a wizard mode, where it is possible to configure
the basic features, of which creating an admin user.

We remove our canned ACL database, and change the startup script to
start in wizard mode on first run. We also switch to using our infra to
set the permissions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogst1-libav: pass --cpu config option to bundled ffmpeg
Gustavo Zacarias [Wed, 30 Mar 2016 17:15:52 +0000 (14:15 -0300)]
gst1-libav: pass --cpu config option to bundled ffmpeg

Like the proper ffmpeg package does, fixes:
http://autobuild.buildroot.net/results/a46/a462dae8df2450bc0f72cbed6125e106454bde0f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: enable postgresql support
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:10 +0000 (17:14 +0100)]
tcl: enable postgresql support

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: enable mysql support
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:09 +0000 (17:14 +0100)]
tcl: enable mysql support

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: fix sqlite usage
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:08 +0000 (17:14 +0100)]
tcl: fix sqlite usage

- Remove the bundled sqlite unconditionally, as we always want to use
  the external sqlite.
- Remove the --with-system-sqlite option as is only valid for the
  bundled sqlite configure script which we will no longer use.
- Do not remove TDBC when BR2_PACKAGE_SQLITE is not selected as it may
  be used for other TDBC drivers such as MySQL or PostgreSQL.

Fixes:
  http://autobuild.buildroot.net/results/022/02296f8624d3406a63d3a179f53862f245c56dc1/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcl: switch to * instead of [0-9]
Vicente Olivert Riera [Wed, 30 Mar 2016 16:14:07 +0000 (17:14 +0100)]
tcl: switch to * instead of [0-9]

Those [0-9] expressions are needlessly complex, and they actually no
longer work now that sqlite3.11.0 is bundled internally (11 is two
digits, which was accounted for).

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaer-inject: new package
Tiago Brusamarello [Wed, 30 Mar 2016 13:01:52 +0000 (10:01 -0300)]
aer-inject: new package

aer-inject allows to inject PCIE AER errors on the software level into
a running Linux kernel. This is intended for validation of the PCIE
driver error recovery handler and PCIE AER core handler.

Signed-off-by: Tiago Brusamarello <tiago.brusamarello@datacom.ind.br>
[Thomas:
 - tweak commit log
 - rewrap Config.in help text
 - remove useless AER_INJECT_MAKE_OPTS variable, use
   TARGET_CONFIGURE_OPTS directly
 - add missing newline at end of .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: fix getent installation with Codescape MIPS toolchains
Thomas Petazzoni [Mon, 28 Mar 2016 13:37:35 +0000 (15:37 +0200)]
toolchain-external: fix getent installation with Codescape MIPS toolchains

When a toolchain is glibc based, the getent package assumes that
$(STAGING_DIR)/usr/bin contains the getent program. Unfortunately, the
Codescape MIPS toolchains do not conform with this:
$(STAGING_DIR)/usr/{bin,sbin} are empty, and instead three directories
are provided: bin-o32, bin-n32 and bin-n64 (ditto for sbin), one for
each supported MIPS ABI.

Since this is a toolchain-specific oddity, we handle it by adding a
post-install fixup hook that creates $(STAGING_DIR)/usr/{bin,sbin} as
symbolic link to the appropriate directory.

Fixes:

   http://autobuild.buildroot.org/results/9c0ee836021553319f166f9de88750535aee0a58/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqemu: bump version to 2.5.1
Vicente Olivert Riera [Wed, 30 Mar 2016 15:40:38 +0000 (16:40 +0100)]
qemu: bump version to 2.5.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-m2crypto: remove
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:20 +0000 (12:39 -0300)]
python-m2crypto: remove

It only provided the host variant, which was only used by crda (no
longer necessary), and wasn't available as a host selection.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocrda: enable host-python3 build support
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:19 +0000 (12:39 -0300)]
crda: enable host-python3 build support

Add an upstream-submitted (but not accepted) patch in order to allow
crda to be built with python2 as well as python3.
This drops m2crypto usage (python2-only) in favour of pycrypto which can
be built against both major versions.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: bump to version 2.6.1
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:18 +0000 (12:39 -0300)]
python-pycrypto: bump to version 2.6.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pycrypto: add host variant
Gustavo Zacarias [Wed, 30 Mar 2016 15:39:17 +0000 (12:39 -0300)]
python-pycrypto: add host variant

Will be used by the crda python3-enabling patch.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle libxml2 dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:10 +0000 (11:39 -0300)]
weston: handle libxml2 dependency

It's used for JUnit XML output support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle systemd dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:09 +0000 (11:39 -0300)]
weston: handle systemd dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle webp dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:08 +0000 (11:39 -0300)]
weston: handle webp dependency

It doesn't have an enable/disable switch so it's just the dependency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle lcms dependecy
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:07 +0000 (11:39 -0300)]
weston: handle lcms dependecy

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle dbus dependency
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:06 +0000 (11:39 -0300)]
weston: handle dbus dependency

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: drop --disable-xwayland-test
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:05 +0000 (11:39 -0300)]
weston: drop --disable-xwayland-test

It's in the rpi backend block which makes no sense, and it depends on
xwayland being enabled which we currently don't support so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add weston-launch support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:04 +0000 (11:39 -0300)]
weston: add weston-launch support

The weston-launch supplemental group is for users to be able to
use/launch weston.
For a full weston(-launch) experience users should be at least members
of weston-launch, video (for framebuffer permissions) and optionally
audio.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: handle optional libva support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:03 +0000 (11:39 -0300)]
weston: handle optional libva support

It's used for the recorder.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add DRM compoitor support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:02 +0000 (11:39 -0300)]
weston: add DRM compoitor support

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: set default backend for fbdev
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:01 +0000 (11:39 -0300)]
weston: set default backend for fbdev

When it's enabled set the default weston backend to fbdev, otherwise the
drm backend is the default even though we are not building it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoweston: add EGL support
Gustavo Zacarias [Tue, 29 Mar 2016 14:39:00 +0000 (11:39 -0300)]
weston: add EGL support

Also drop simple-egl-clients from the rpi compositor since it's a
duplicate of the global one.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopowerpc-utils: bump to v1.3.1, change upstream location and license
Vasant Hegde [Wed, 30 Mar 2016 05:50:38 +0000 (11:20 +0530)]
powerpc-utils: bump to v1.3.1, change upstream location and license

This patch makes below changes to powerpc-utils package:
  - Update to latest upstream version (v1.3.1)
  - Update License (from CPL to GPLv2)
  - Update source link (from SF to github)
  - Disable librtas by default
  - Finally make necessary adjustment to compile the source
    (run autogen.sh before ./configure as we don't have configure in new tarball).

RTAS:
  This package contains few tools (like nvram, ppc64_cpu, etc) which are not
  dependent on RTAS support. Traditionally we always had RTAS support (at least
  on IBM Power system). But now a days we do have environments like PowerNV host
  where we do not have RTAS support. Instead we use OPAL for runtime service [1].
  Hence lets disable RTAS by default. If someone wants to build powerpc-utils
  with RTAS they can enable it.

[1] https://github.com/open-power/skiboot.git

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
[Thomas: re-add hash file, fix license, it's GPLv2+, improve commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/linphone: alsa support in mediastreamer needs alsa_lib_mixer
Bernd Kuhls [Wed, 30 Mar 2016 05:41:27 +0000 (07:41 +0200)]
package/linphone: alsa support in mediastreamer needs alsa_lib_mixer

Fixes
http://autobuild.buildroot.net/results/dd6/dd6cbff641028b25303c3b462e2058b56e53f1dd/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: NPTL thread implementation only available on MMU platforms
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:11 +0000 (22:08 +0100)]
uclibc: NPTL thread implementation only available on MMU platforms

As indicated by the uClibc-ng source code, the NPTL thread
implementation is only available on MMU platforms, so we replicate
this dependency in Buildroot so that the appropriate thread
implementation is chosen by default on ARM noMMU.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: disable DOPIC on ARM FLAT
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:09 +0000 (22:08 +0100)]
uclibc: disable DOPIC on ARM FLAT

As explained by Waldemar, enabling DOPIC in uClibc will lead to the
creation of a Position Independent library. In turn, this will cause
elf2flt to generate a "Has-PIC-GOT" flat binary, which doesn't work on
ARM. In fact, elf2flt on ARM really expect to have non-PIC code as
input, so we must disable DOPIC in the uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: gcc >= 4.9 can build a thumb/thread uclibc
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:08 +0000 (22:08 +0100)]
uclibc: gcc >= 4.9 can build a thumb/thread uclibc

Older gcc were not capable of building a uClibc library, with threads
enabled, in Thumb1. However, the issues have been fixed since gcc 4.9,
so this commit narrows down the condition to just gcc 4.7 and 4.8.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: remove USE_BX handling
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:07 +0000 (22:08 +0100)]
uclibc: remove USE_BX handling

Now that uClibc is capable of figuring out by itself whether 'bx' can
be used or not, we can simplify the logic in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: add patches to simplify Thumb handling
Thomas Petazzoni [Fri, 18 Mar 2016 21:08:06 +0000 (22:08 +0100)]
uclibc: add patches to simplify Thumb handling

This commit adds a number of patches to uClibc that radically
simplifies the Thumb handling. uClibc currently has three options that
you need to toggle on Thumb configurations depending on the specific
ARM CPU being targeted.

However, it turns out that none of those options are necessary:

 - USE_BX can simply be guessed by looking at the ARM core being
   used. The bx instruction is available for all ARM cores >=
   ARMv4T. This is exactly what glibc is doing.

 - USE_LDREXSTREX can also be guessed by looking at the ARM core being
   used: whenever you have Thumb2, ldrex/strex is available.

 - COMPILE_IN_THUMB becomes useless, since all it does is passing
   -mthumb. But just like the uClibc config options to set
   --march=<foo> have been removed a long time ago, there's no need to
   -have an option to pass -mthumb.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogamin: fix build with musl
Baruch Siach [Tue, 1 Mar 2016 13:03:11 +0000 (15:03 +0200)]
gamin: fix build with musl

musl does not provide the non portable PTHREAD_MUTEX_RECURSIVE_NP. Add a patch
removing the assumption the PTHREAD_MUTEX_RECURSIVE_NP is available when
'linux' is defined.

Upstream had no new release since 2008, so there is no much hope of getting
this fix applied upstream.

Also, fix the pthread dependency comment. gamin code uses pthread directly.

Fixes:
http://autobuild.buildroot.net/results/3a9/3a9328f384fc648ae61316402a84eaffb175881b/
http://autobuild.buildroot.net/results/69d/69d2a93bc97ab0d70c3acb2f9c9f28612ea95871/
http://autobuild.buildroot.net/results/092/092ac7380beb8ce403a1a6fd8e4176e9234413a3/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>