buildroot.git
9 years agophp: security bump to version 5.5.23
Gustavo Zacarias [Fri, 20 Mar 2015 12:49:51 +0000 (09:49 -0300)]
php: security bump to version 5.5.23

Fixes:
CVE-2015-0231 - Use After Free Vulnerability in unserialize()
CVE-2015-2305 - heap overflow vulnerability in regcomp.c
CVE-2015-2331 - ZIP Integer Overflow leads to writing past heap boundary

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: normalize separator size to 80
Jerzy Grzegorek [Fri, 20 Mar 2015 12:35:19 +0000 (13:35 +0100)]
package: normalize separator size to 80

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libdrm: bump version to 2.4.60
Bernd Kuhls [Thu, 19 Mar 2015 21:59:08 +0000 (22:59 +0100)]
package/libdrm: bump version to 2.4.60

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: security bump to version 1.0.2a
Gustavo Zacarias [Thu, 19 Mar 2015 14:34:40 +0000 (11:34 -0300)]
openssl: security bump to version 1.0.2a

Fixes:
CVE-2015-0291 - ClientHello sigalgs DoS
CVE-2015-0290 - Multiblock corrupted pointer
CVE-2015-0207 - Segmentation fault in DTLSv1_listen
CVE-2015-0286 - Segmentation fault in ASN1_TYPE_cmp
CVE-2015-0208 - Segmentation fault for invalid PSS parameters
CVE-2015-0287 - ASN.1 structure reuse memory corruption
CVE-2015-0289 - PKCS7 NULL pointer dereferences
CVE-2015-0293 - DoS via reachable assert in SSLv2 servers
CVE-2015-1787 - Empty CKE with client auth and DHE
CVE-2015-0285 - Handshake with unseeded PRNG
CVE-2015-0209 - Use After Free following d2i_ECPrivatekey error
CVE-2015-0288 - X509_to_X509_REQ NULL pointer deref

musl patch removed since it's no longer necessary.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain: enable musl for aarch64
Gustavo Zacarias [Thu, 19 Mar 2015 13:29:15 +0000 (10:29 -0300)]
toolchain: enable musl for aarch64

musl 1.1.7 brings in experimental aarch64 support so enable it.
Tested via qemu_aarch64_virt_defconfig.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agomusl: bump to version 1.1.7
Gustavo Zacarias [Thu, 19 Mar 2015 13:29:14 +0000 (10:29 -0300)]
musl: bump to version 1.1.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoreadline: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 18:37:43 +0000 (15:37 -0300)]
readline: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 3.19.2
Gustavo Zacarias [Wed, 18 Mar 2015 15:36:24 +0000 (12:36 -0300)]
linux: bump default to version 3.19.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{10,14,19}.x series
Gustavo Zacarias [Wed, 18 Mar 2015 15:36:23 +0000 (12:36 -0300)]
linux-headers: bump 3.{10,14,19}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogawk: bump to version 4.1.1
Gustavo Zacarias [Wed, 18 Mar 2015 19:00:39 +0000 (16:00 -0300)]
gawk: bump to version 4.1.1

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotrinity: fix building with uClibc
Vicente Olivert Riera [Thu, 19 Mar 2015 09:27:37 +0000 (09:27 +0000)]
trinity: fix building with uClibc

"#include <linux/serial.h>" is needed in order to build trinity
successfully with uClibc. Otherwise it would fail displaying an error
message like this one:

-----------------------------------------
ioctls/vt.c:152:8: error: invalid application of 'sizeof' to incomplete
type 'struct serial_rs485'
  IOCTL(TIOCGRS485),

ioctls/vt.c:155:8: error: invalid application of 'sizeof' to incomplete
type 'struct serial_rs485'
  IOCTL(TIOCSRS485),
-----------------------------------------

Backporting an upstream patch to fix this problem.

Upstream commit:

  https://github.com/kernelslacker/trinity/commit/fb4a1adc4540f0702b84aa900f2b8ebed004885d

Fixes:

  http://autobuild.buildroot.net/results/ca1/ca18c7d19ac2870d6b973923c8225509a12f831a/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotrinity: bump version to v1.5
Vicente Olivert Riera [Thu, 19 Mar 2015 09:27:36 +0000 (09:27 +0000)]
trinity: bump version to v1.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/perf: fix build failures with high 'make -j' values
Steven Noonan [Thu, 19 Mar 2015 07:19:25 +0000 (00:19 -0700)]
package/perf: fix build failures with high 'make -j' values

The 'perf' Makefile is flaky on some kernel versions. It will still parallelize
the build even with 'make -j1' because it explicitly invokes a sub-make with
the correct flags. But the top-level make is not smart enough to handle large
'-j' values.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/numactl: upgrade to 2.0.10
Steven Noonan [Thu, 19 Mar 2015 07:49:56 +0000 (00:49 -0700)]
package/numactl: upgrade to 2.0.10

The package now uses autotools, although it's missing a pregenerated configure
script.

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agospeex: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:15 +0000 (11:29 -0300)]
speex: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopus-tools: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:14 +0000 (11:29 -0300)]
opus-tools: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agokbd: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:13 +0000 (11:29 -0300)]
kbd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoipsec-tools: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:12 +0000 (11:29 -0300)]
ipsec-tools: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agohaveged: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:11 +0000 (11:29 -0300)]
haveged: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofontconfig: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 14:29:10 +0000 (11:29 -0300)]
fontconfig: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoulogd: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:19 +0000 (07:45 -0300)]
ulogd: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonfacct: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:18 +0000 (07:45 -0300)]
nfacct: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnfnetlink: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:17 +0000 (07:45 -0300)]
libnfnetlink: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibmnl: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:16 +0000 (07:45 -0300)]
libmnl: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconntrack-tools: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:15 +0000 (07:45 -0300)]
conntrack-tools: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnetfilter_queue: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:14 +0000 (07:45 -0300)]
libnetfilter_queue: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnetfilter_log: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:13 +0000 (07:45 -0300)]
libnetfilter_log: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnetfilter_cttimeout: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:12 +0000 (07:45 -0300)]
libnetfilter_cttimeout: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnetfilter_cthelper: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:11 +0000 (07:45 -0300)]
libnetfilter_cthelper: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnetfilter_acct: add hash file
Gustavo Zacarias [Wed, 18 Mar 2015 10:45:10 +0000 (07:45 -0300)]
libnetfilter_acct: add hash file

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobash: bump to patchlevel 33
Gustavo Zacarias [Wed, 18 Mar 2015 13:29:42 +0000 (10:29 -0300)]
bash: bump to patchlevel 33

Misc fixes.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoreadline: bump to patchlevel 8
Gustavo Zacarias [Wed, 18 Mar 2015 13:07:25 +0000 (10:07 -0300)]
readline: bump to patchlevel 8

Fixes various issues, one in particular reported by Pascal de Bruijn on
IRC where bash won't timeout when using readline as in 'read -e -t 10',
which should escape back to shell when left alone for 10 seconds.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenssh: bump to version 6.8p1
Gustavo Zacarias [Wed, 18 Mar 2015 10:42:34 +0000 (07:42 -0300)]
openssh: bump to version 6.8p1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mesa3d-headers: bump version to 10.5.1
Bernd Kuhls [Sun, 15 Mar 2015 16:10:02 +0000 (17:10 +0100)]
package/mesa3d-headers: bump version to 10.5.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mesa3d: bump version to 10.5.1
Bernd Kuhls [Sun, 15 Mar 2015 16:10:01 +0000 (17:10 +0100)]
package/mesa3d: bump version to 10.5.1

Dropped several dependencies because the "distribution tarball has been renamed
and now contains all the generated sources."
http://lists.freedesktop.org/archives/mesa-announce/2015-March/000145.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoglibc: disable 2.20 for sparc
Gustavo Zacarias [Tue, 17 Mar 2015 21:46:43 +0000 (18:46 -0300)]
glibc: disable 2.20 for sparc

Disable glibc 2.20 for sparc, it's broken, that leaves 2.21 as the
default in this case.
Fixes bug #7941.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: uses fork(), needs mmu
Peter Seiderer [Tue, 17 Mar 2015 22:06:27 +0000 (23:06 +0100)]
postgresql: uses fork(), needs mmu

Additional revert 'postgresql: enable bfin compile' ([2]) which
is now useless (Blackfin is a noMMU architecture).

Fixes ([1]):
  postmaster/fork_process.o: In function `_fork_process':
  fork_process.c:(.text+0x22): undefined reference to `_fork'

[1] http://autobuild.buildroot.org/results/c9c/c9c93156fe64e89f35627aa592c47d8c5181ed7d
[2] http://git.buildroot.net/buildroot/commit/?id=6f177dac73a289db28772fb3e20347aba5cd5e67

[Thomas: propagate to the appropriate reverse dependencies.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodvdrw-tools: new package
Steve Kenton [Tue, 17 Mar 2015 18:57:38 +0000 (13:57 -0500)]
dvdrw-tools: new package

The dvd+rw-tools are used to master Blu-ray Disc and DVD Disc media,
both +RW/+R and -RW/-R. Note: The +RW in the name is a historical
artifact. This package contains the widely used growisofs program.

[Thomas:
 - adjust minor formatting issues in Config.in file.
 - remove unneeded empty line in hash file.
 - make the mkisofs symbolic link a relative one.]

Signed-off-by: Steve Kenton <skenton@ou.edu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cmake: add support for xtensa
Max Filippov [Tue, 17 Mar 2015 19:47:46 +0000 (22:47 +0300)]
package/cmake: add support for xtensa

Backported from: ded79a976e2b63bbfd7a63f27ec00bd071410e27
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wpa_supplicant: Enable support for log to debug file
Jörg Krause [Tue, 17 Mar 2015 21:41:09 +0000 (22:41 +0100)]
package/wpa_supplicant: Enable support for log to debug file

Enable the '-f' option (log output to debug file instead of stdout). Force
enable it, binary size +963 bytes for an ARM target.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosox: disable ssp when unavailable
Gustavo Zacarias [Fri, 6 Mar 2015 17:53:05 +0000 (14:53 -0300)]
sox: disable ssp when unavailable

It seems autodetection isn't good. Fixes:
http://autobuild.buildroot.net/results/885/885c7daec7b727d8a7cf47c7576f0e79d4a5ddf8/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ltrace: add support for xtensa
Max Filippov [Tue, 17 Mar 2015 20:26:01 +0000 (23:26 +0300)]
package/ltrace: add support for xtensa

Backported from: 05143c95e4609e5592775fae5facbf77b7bfa694
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoluarocks: bump to version 2.2.1
Francois Perrad [Tue, 17 Mar 2015 20:04:47 +0000 (21:04 +0100)]
luarocks: bump to version 2.2.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/luajit: introducing luajit arch supports.
Angelo Compagnucci [Tue, 17 Mar 2015 15:32:52 +0000 (16:32 +0100)]
package/luajit: introducing luajit arch supports.

This patch introduces BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS for luajit.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain: disable internal for blackfin
Gustavo Zacarias [Tue, 17 Mar 2015 16:41:00 +0000 (13:41 -0300)]
toolchain: disable internal for blackfin

The internal toolchain was a "best effort" approach - we strived to make
it build properly and all but it's mostly untested.
Since it's got issues disable it until it's properly fixed and tested
and leave the official ADI toolchain instead.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dovecot: bump version to 2.2.16
Bernd Kuhls [Mon, 16 Mar 2015 21:24:09 +0000 (22:24 +0100)]
package/dovecot: bump version to 2.2.16

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cmake: not available on static-only build
Samuel Martin [Tue, 17 Mar 2015 10:20:24 +0000 (11:20 +0100)]
package/cmake: not available on static-only build

Fixes:
  http://autobuild.buildroot.net/results/9f7/9f7c8d5078cd1f3cd493f9ae8e95c8ee728f98fd/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cmake: disable on unsupported architectures
Samuel Martin [Tue, 17 Mar 2015 10:20:23 +0000 (11:20 +0100)]
package/cmake: disable on unsupported architectures

Supported architectures are listed at [1].

Fixes:
  http://autobuild.buildroot.net/results/de9/de9021fdc63600536ffa91e4b8718584e3e5702c/
  http://autobuild.buildroot.net/results/0f1/0f1afc62e91ab798fa65685af3dea3caac663f11/

[1] https://github.com/Kitware/CMake/blob/master/Utilities/KWIML/ABI.h.in#L339

[Thomas: rewrap list of supported architectures.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocups: deprecate package due to security issues
Gustavo Zacarias [Fri, 6 Mar 2015 13:39:24 +0000 (10:39 -0300)]
cups: deprecate package due to security issues

Also mark packages that depend on cups as deprecated as well for easier
tracking.

It would probably be better to mark it as a legacy option so users get a
warning when migrating configuration files, but it would require a
direct removal for that.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchainfile.cmake: only search the sysroot for CMake module
Samuel Martin [Sun, 8 Mar 2015 09:47:22 +0000 (10:47 +0100)]
toolchainfile.cmake: only search the sysroot for CMake module

This change prevents CMake from searching outside the sysroot location
for CMake modules when cross-compiling.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogdb: fix target gdb building from git
Alexey Brodkin [Tue, 24 Feb 2015 09:03:20 +0000 (12:03 +0300)]
gdb: fix target gdb building from git

Currently we only add "host-texinfo" dependency for host GDB built
from git sources. But in case of target gdb texinfo won't be built
and so gdb building will fail on attempt to build documentation.

Fix is trivial - add "host-texinfo" as a dependency for target gdb
in the sme way as we disable documentation building via both
GDB_CONF_ENV (for target) and HOST_GDB_CONF_ENV (host) GDB flavors.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs/manual: add documentation on Config.in.host
Jan Heylen [Wed, 11 Mar 2015 08:09:58 +0000 (09:09 +0100)]
docs/manual: add documentation on Config.in.host

+ rearrange the structure a bit by adding a new paragraph for the Config
files

Signed-off-by: Jan Heylen <heyleke@gmail.com>
[ThomasDS:
  - clarify commit title
  - add list continuations to fix indentation of Config.in.host details]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowine: Add gettext dependency for host-wine
André Hentschel [Sun, 15 Mar 2015 11:35:34 +0000 (12:35 +0100)]
wine: Add gettext dependency for host-wine

Mostly based on a comment by Yann E. MORIN

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: enable bfin compile
Peter Seiderer [Tue, 10 Mar 2015 19:59:39 +0000 (20:59 +0100)]
postgresql: enable bfin compile

- overwrite platform support with linux template
- disable spinlock support

[Thomas: use the --with-template=linux option unconditionally.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: disable spinlock for xtensa
Baruch Siach [Mon, 16 Mar 2015 19:55:11 +0000 (21:55 +0200)]
postgresql: disable spinlock for xtensa

Fixes:
http://autobuild.buildroot.net/results/fbf/fbf601af8b194effcad21a431ca447cb69c2bbd9/
http://autobuild.buildroot.net/results/822/822bd05bcb7384c671bfe13125db3a818982781a/
http://autobuild.buildroot.net/results/4ae/4ae938730a74f2be0f74fef8a99622f8f42742af/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocollectd: add configure hint for pg_config
Peter Seiderer [Tue, 10 Mar 2015 22:08:07 +0000 (23:08 +0100)]
collectd: add configure hint for pg_config

Fixes [1] in case postgresql-devel package is installed on the host:

    libpq . . . . . . . . no (libpq-fe.h not found)
    postgresql  . . . . . no (dependency error)
    configure: error: "Some plugins are missing dependencies - see the summary above for details"

Otherwise fixes the following configure warning:

configure: WARNING: pg_config returned with status 127

[1] http://autobuild.buildroot.net/results/336/336b3e932be245faa04969af960702af672916dc

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-cheetah: fix python host dependency
Gwenhael Goavec-Merou [Sun, 15 Mar 2015 22:09:52 +0000 (23:09 +0100)]
python-cheetah: fix python host dependency

python-cheetah can't be used with python3. host-python-cheetah has the same
limitation.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: stop if one linux patches doesn't apply
Sébastien Szymanski [Mon, 16 Mar 2015 09:57:17 +0000 (10:57 +0100)]
linux: stop if one linux patches doesn't apply

If you have several linux patches directories, Buildroot does not stop
if one patches of the first directories don't apply. This patch fixes
this.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: enable OpenMP if the compiler has that
Yann E. MORIN [Mon, 16 Mar 2015 16:31:26 +0000 (17:31 +0100)]
package/fftw: enable OpenMP if the compiler has that

Unfortunately, this is limited to internal toolchains; we currently have
no way to know if an external toolchain has support for OpenMP.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: enable threads when the toolchain has them
Yann E. MORIN [Mon, 16 Mar 2015 16:31:25 +0000 (17:31 +0100)]
package/fftw: enable threads when the toolchain has them

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[based on a patch by Guillaume]
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: disable fortran
Yann E. MORIN [Mon, 16 Mar 2015 16:31:24 +0000 (17:31 +0100)]
package/fftw: disable fortran

We do not have any fortran package and we do not build a fortran
compiler.

Still, an external toolchain may have a fortran compiler and that is
totally useless to us, since we anyway have no fortran package...

So, entirely disable fortran support; that will at least slightly speed
up the build in case an external toolchain has a fortran compiler.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[based on a patch by Guillaume]
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: add ARM optimisations
Yann E. MORIN [Mon, 16 Mar 2015 16:31:23 +0000 (17:31 +0100)]
package/fftw: add ARM optimisations

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[based on a patch by Guillaume]
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: add x86 optimisations
Yann E. MORIN [Mon, 16 Mar 2015 16:31:22 +0000 (17:31 +0100)]
package/fftw: add x86 optimisations

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/fftw: add option for fast maths
Yann E. MORIN [Mon, 16 Mar 2015 16:31:21 +0000 (17:31 +0100)]
package/fftw: add option for fast maths

Use FFTW_CFLAGS as intermediate variable, since we're going to need it
in a later patch (about NEON optimisations).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[based on a patch by Guillaume]
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofftw: add compile precision option
Gwenhael Goavec-Merou [Mon, 16 Mar 2015 16:31:20 +0000 (17:31 +0100)]
fftw: add compile precision option

fftw has options to select compile precision between single, long-double
and quad. These options are exclusives. This patch adds choice to select
precision option.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[yann.morin.1998@free.fr: use --disable-XXX when not enabled; reword
 prompts (default is not 'none' but 'double')
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: guillaume william brs <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/hostapd: bump to version 2.4
Jörg Krause [Mon, 16 Mar 2015 10:54:59 +0000 (11:54 +0100)]
package/hostapd: bump to version 2.4

Also:
- remove patches: merged upstream
- update hash

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wpa_supplicant: bump to version 2.4
Jörg Krause [Mon, 16 Mar 2015 10:54:58 +0000 (11:54 +0100)]
package/wpa_supplicant: bump to version 2.4

Also:
- remove patches: merged upstream
- update hash

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetwork-manager: add upstream hash origin
Baruch Siach [Mon, 16 Mar 2015 13:31:34 +0000 (15:31 +0200)]
network-manager: add upstream hash origin

The commit log in c511ca937d4 (network-manager: add hash file) claimed to fix
hash origin, but didn't actually do so.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: add Synopsys DesignWare tools for ARC cores
Alexey Brodkin [Tue, 10 Mar 2015 11:50:24 +0000 (14:50 +0300)]
toolchain-external: add Synopsys DesignWare tools for ARC cores

With this change we add pre-built external toolachins for DesignWare ARC
cores. All currently existed flavours are supported:
 * ARC 700 and ARC HS cores
 * Little- and big-endian configurations

These pre-built tools are built with build scripts available here
(https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/tree/arc-2014.12)
and correspond to arc-2014.12 release of sources.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <akolesov@synopsys.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
9 years agonetwork-manager: add hash file
Petr Vorel [Mon, 9 Mar 2015 14:30:14 +0000 (15:30 +0100)]
network-manager: add hash file

[Thomas: fix hash origin, as noted by Baruch, upstream publishes a
hash file so there's no need to compute it locally.]

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libftdi1: new package
Daniel Sangue [Sun, 8 Mar 2015 11:26:02 +0000 (12:26 +0100)]
package/libftdi1: new package

This version of libftdi can coexists beside the 0.x version.

Signed-off-by: Daniel Sangue <daniel.sangue@sangue.ch>
[Samuel Martin:
  - libftdi1.mk: bump to version 1.2 and add hash
  - cleanup uneeded libusb-compat stuff
  - Config.in: add comment when ftdipp1 deps are not met
  - fix typos in variable names and legit CMake options for *_CONF_OPTS
  - add support for python bindings and ftdi_eeprom
  - fix static build
  - fix build with toolchain w/o C++ support
]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[Thomas:
 - reorder Config.in option properties: first the "bool" property,
   then the "selects", then the "depends on".
 - remove "thread" dependency from the libftdipp1 comment since the
   whole package can anyway not be selected if there's no thread
   support.
 - fix a big mistake in the .mk file:
    $(if BR2_PACKAGE_PYTHON,python,python3)
   replaced by:
    $(if $(BR2_PACKAGE_PYTHON),python,python3)
 - add license information.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodbus-glib: bump version 0.104
Petr Vorel [Mon, 16 Mar 2015 12:12:52 +0000 (13:12 +0100)]
dbus-glib: bump version 0.104

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoofono: refer to explicit hash source
Baruch Siach [Mon, 16 Mar 2015 08:46:05 +0000 (10:46 +0200)]
ofono: refer to explicit hash source

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libftdi: bump to version 0.20
Samuel Martin [Sun, 8 Mar 2015 11:26:01 +0000 (12:26 +0100)]
package/libftdi: bump to version 0.20

Also add *.hash file.

Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoofono: bump to version 1.16
Petr Vorel [Mon, 16 Mar 2015 08:18:24 +0000 (09:18 +0100)]
ofono: bump to version 1.16

[Peter: verify pgp signature and add comment to .hash]
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconnman: bump to version 1.28
Petr Vorel [Mon, 16 Mar 2015 08:18:23 +0000 (09:18 +0100)]
connman: bump to version 1.28

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogcc: fix 4.9.2 build with C++ and !wchar
Peter Korsgaard [Sun, 15 Mar 2015 21:48:38 +0000 (22:48 +0100)]
gcc: fix 4.9.2 build with C++ and !wchar

The libcilk library (used on x86/x86-64 when building with C++ support)
unconditionally uses WCHAR_MIN / WCHAR_MAX, causing build issues with uClibc
when configured without wchar support.

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agognuradio: needs NPTL threads
Thomas Petazzoni [Sun, 15 Mar 2015 20:17:40 +0000 (21:17 +0100)]
gnuradio: needs NPTL threads

Fixes:

  http://autobuild.buildroot.org/results/699/6994610a3283975064fae98e965954b3825ce694/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt: remove postgresql introduced uclibc dependency for the PostgresSQL support
Peter Seiderer [Tue, 10 Mar 2015 19:59:44 +0000 (20:59 +0100)]
qt: remove postgresql introduced uclibc dependency for the PostgresSQL support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agophp: remove postgresql introduced uclibc dependency for the PostgresSQL support
Peter Seiderer [Tue, 10 Mar 2015 19:59:43 +0000 (20:59 +0100)]
php: remove postgresql introduced uclibc dependency for the PostgresSQL support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocollectd: remove postgresql introduced uclibc dependency for the PostgresSQL support
Peter Seiderer [Tue, 10 Mar 2015 19:59:42 +0000 (20:59 +0100)]
collectd: remove postgresql introduced uclibc dependency for the PostgresSQL support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5base: remove postgresql introduced uclibc dependency for the PostgresSQL plugin
Peter Seiderer [Tue, 10 Mar 2015 19:59:41 +0000 (20:59 +0100)]
qt5base: remove postgresql introduced uclibc dependency for the PostgresSQL plugin

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobandwidthd: remove postgresql introduced uclibc dependency
Peter Seiderer [Tue, 10 Mar 2015 19:59:40 +0000 (20:59 +0100)]
bandwidthd: remove postgresql introduced uclibc dependency

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: fix IPv6 detection for uclibc compile
Peter Seiderer [Tue, 10 Mar 2015 19:59:38 +0000 (20:59 +0100)]
postgresql: fix IPv6 detection for uclibc compile

Assist configure IPv6 support detection for uclibc,
fixes the following uclibc compile failure:

auth.c: In function ‘CheckRADIUSAuth’:
auth.c:2379:24: error: ‘in6addr_any’ undeclared (first use in this function)
  localaddr.sin6_addr = in6addr_any;

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopostgresql: enable uclibc build
Peter Seiderer [Tue, 10 Mar 2015 19:59:37 +0000 (20:59 +0100)]
postgresql: enable uclibc build

Build with uclibc and locale support failes with the following error
message:

regc_pg_locale.c: In function ‘pg_wc_isdigit’:
regc_pg_locale.c:312:6: error: dereferencing pointer to incomplete type
      isdigit_l((unsigned char) c, pg_regex_locale));

This can be fixed by overwriting the HAVE_LOCALE_T detection (thanks
to Alex Potapenko <opotapenko@gmail.com> for the hint [1]).

[1] http://lists.busybox.net/pipermail/buildroot/2015-March/121088.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/jsoncpp: new package
Bernd Kuhls [Sun, 8 Mar 2015 12:01:23 +0000 (13:01 +0100)]
package/jsoncpp: new package

Needed for upcoming Kodi pctv/filmon PVR packages:

https://github.com/kodi-pvr/pvr.pctv/blob/master/CMakeLists.txt#L11
https://github.com/kodi-pvr/pvr.filmon/blob/master/CMakeLists.txt#L11

[Thomas:
  - bump to 1.6.0
  - change the license to "Public Domain or MIT"
  - wrap Config.in help text]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/cmake: make ctest a target package too
Davide Viti [Sun, 8 Mar 2015 09:47:20 +0000 (10:47 +0100)]
package/cmake: make ctest a target package too

Useful for packages shipped with a testsuite which makes use of ctest

Since ctest is just a tool provided by the cmake sources, this change
introduces a hidden BR2_PACKAGE_CMAKE symbol which is automatically
selected by the BR2_PACKAGE_CMAKE_CTEST one.
This is like this mostly for consistency (cmake is the actual package,
not ctest).

CMake is a particular package:
* CMake can be built using the generic infrastructure or the cmake one.
  Since Buildroot has no requirement regarding the host system cmake
  program presence, it uses the generic infrastructure to build the
  host-cmake package, then the (target-)cmake package can be built
  using the cmake infrastructure;
* CMake bundles its dependencies within its sources. This is the reason
  why the host-cmake package only has host-pkgconf as (runtime)
  dependency, whereas the (target-)cmake package has a lot of
  dependencies, using only the system-wide libraries instead of
  rebuilding and staitcally linking with the ones bundles into the CMake
  sources.

[Thomas:
 - add missing C++ dependency.
 - add missing multiple 'select' in Config.in
 - add missing wchar dependency, inherited from selecting libarchive.]

Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiw: simplify static linking handling
Thomas Petazzoni [Sat, 7 Mar 2015 11:40:22 +0000 (12:40 +0100)]
iw: simplify static linking handling

Now that libnl pkg-config file is correct, there is no need to have
special handling for static linking in the iw package: it already uses
pkg-config to get the necessary flags to link with libnl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoti-utils: simplify static linking case by using pkg-config
Thomas Petazzoni [Sat, 7 Mar 2015 11:40:21 +0000 (12:40 +0100)]
ti-utils: simplify static linking case by using pkg-config

Instead of hardcoding the dependencies of libnl, use pkg-config to
discover them.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnl: add patch to add Libs.private in libnl-3.0.pc
Thomas Petazzoni [Sat, 7 Mar 2015 11:40:19 +0000 (12:40 +0100)]
libnl: add patch to add Libs.private in libnl-3.0.pc

Having a properly defined Libs.private field allows to make sure
static linking against libnl-3.0 works fine, at least as long as
pkg-config is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
9 years agolibnl: use the backported patch for poll.h issue
Thomas Petazzoni [Sat, 7 Mar 2015 11:40:18 +0000 (12:40 +0100)]
libnl: use the backported patch for poll.h issue

Now that Jörg's patch has been merged upstream, let's use the
backported version, in a git format.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/boost: enable building of boost_log
Yannick Kiekens [Mon, 20 Oct 2014 13:27:24 +0000 (15:27 +0200)]
package/boost: enable building of boost_log

Signed-off-by: Yannick Kiekens <yannickkiekens@gmail.com>
[Thomas: tested on ARM uClibc, and AArch64 glibc, the latter being the
case that used to fail building, and was the reason why boost log had
been disabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobinutils: fix target binutils on ARC
Thomas Petazzoni [Sun, 15 Mar 2015 15:56:00 +0000 (16:56 +0100)]
binutils: fix target binutils on ARC

When an external toolchain is used on ARC, BR2_BINUTILS_VERSION is
undefined, so we use binutils 2.22, which doesn't support ARC and
anyway isn't available from the ARC download location.

So, let's defined a default ARC binutils version in binutils.mk.

Fixes:

  http://autobuild.buildroot.org/results/52a/52abadacd7aab2d5c11d094937f28198bf220662/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: fix support for non-ADI Blackfin external toolchains
Thomas Petazzoni [Sun, 15 Mar 2015 14:40:30 +0000 (15:40 +0100)]
toolchain-external: fix support for non-ADI Blackfin external toolchains

The computation of TOOLCHAIN_EXTERNAL_BIN has a special case for
Blackfin, where it's set to
$(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/$(TOOLCHAIN_EXTERNAL_PREFIX)/bin
instead of $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/bin for other
architectures.

However, this is actually only true for Analog Devices pre-built
toolchains. Other Blackfin external toolchains (such as ones built by
Buildroot) do not have this special organization.

Therefore, in order to make those non-ADI Blackfin toolchains work, we
need to change the condition from BR2_bfin to testing specifically for
the ADI toolchains.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibdri2: new package
Jérôme Oufella [Wed, 11 Mar 2015 20:30:22 +0000 (16:30 -0400)]
libdri2: new package

libdri2 is a library for the DRI2 extension to the X Window System. This
is the split out dri2 client side code from mesa, libva, libvdpau, etc..

It can be used by applications or user-space drivers to provide
accelerated graphics.

Signed-off-by: Jérôme Oufella <jerome.oufella@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/softether: bump version
Bernd Kuhls [Tue, 10 Mar 2015 18:58:37 +0000 (19:58 +0100)]
package/softether: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/softether: fix compilation error due to librt linking
Bernd Kuhls [Tue, 10 Mar 2015 18:58:36 +0000 (19:58 +0100)]
package/softether: fix compilation error due to librt linking

/home/buildroot/instance-0/output/build/host-softether-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/Mayaqua/Unix.c:2066:
undefined reference to `clock_gettime'

[Thomas: remove commit 766366411386f5bba773042ada58e6379a3d0adf, which
was a different fix for the same problem.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zmqpp: Blacklist Blackfin ADI toolchains
Romain Naour [Sat, 14 Mar 2015 17:01:29 +0000 (18:01 +0100)]
package/zmqpp: Blacklist Blackfin ADI toolchains

zmqpp recommand at least a c++ compiler g++ >= 4.7
[1] for c++11 support and won't be backward compatible
whith older compliler for the next release (4.x)
due to harcoded -std=c++11 flag [2]

Blackfin ADI toolchains use a g++ 4.3 which use an
experimental c++11 support (c++0x) has not enough c++11
support to build zmqpp.

Fixes:
http://autobuild.buildroot.net/results/4c3/4c34ce881e3eab47994cc893898cbc9129ce67b5/

And many more.

[1] https://github.com/zeromq/zmqpp
[2] https://github.com/zeromq/zmqpp/commit/f078fe9a5a775aff5c74dedbdc869f8158ddf123

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/zmqpp: switch to the official git
Romain Naour [Sat, 14 Mar 2015 17:01:28 +0000 (18:01 +0100)]
package/zmqpp: switch to the official git

The git hash 36413487f05b165dfc82ad307a5a1c36a795e607 no
longer refers to any commit id, even in the previous git tree.

By reading the Makefile and CHANGELOG.md the last know
release is 3.2.0.

Switch to the official git tree and use the 3.2.0 release tag.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/czmq: fix discovery of libzmq for static build
Romain Naour [Sat, 14 Mar 2015 21:32:05 +0000 (22:32 +0100)]
package/czmq: fix discovery of libzmq for static build

Backport and rebase a patch from upstream:
https://github.com/zeromq/czmq/commit/313714f8b73c23d68b1216bc2df3d0ccc6ab1ffd

Also, remove the fix in czmq.mk for static build.

Fixes:
http://autobuild.buildroot.net/results/ec4/ec414b52f9cdd8d7d365283e21479519e63c7d97/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>