buildroot.git
9 years agopython-dpkt: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:36 +0000 (22:38 +0200)]
python-dpkt: Bump version and change site

Google Code is a closing forge, python-dpkt has already made the move to
Github.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pycrc16: Change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:35 +0000 (22:38 +0200)]
python-pycrc16: Change site

Google Code is a closing forge, python-pycrc16 has already made the move
to Github.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibnfc: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:34 +0000 (22:38 +0200)]
libnfc: Bump version and change site

Google Code is a closing forge, libnfc has already made the move to
Github.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibllcp: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:33 +0000 (22:38 +0200)]
libllcp: Bump version and change site

Google Code is a closing forge, libllcp has already made the move to Github.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibiscsi: Bump version
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:32 +0000 (22:38 +0200)]
libiscsi: Bump version

Patches were applied upstream so they are removed. Also remove the
autoreconf which has no purposes anymore

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibfreefare: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:31 +0000 (22:38 +0200)]
libfreefare: Bump version and change site

Google Code is a closing forge, libfreefare has already made the move
to Github.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoexplorercanvas: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:30 +0000 (22:38 +0200)]
explorercanvas: Bump version and change site

Google Code is a closing forge, libass has already made the move to
Github.

This package has no release yet, so we are using a commit.
Since the tarball is generated by Github, a hash is useless here.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibass: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:29 +0000 (22:38 +0200)]
libass: Bump version and change site

Google Code is a closing forge, libass has already made the move to
Github.

Since a new release was available a bump was also in order.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoyaml-cpp: Bump version and change site
Maxime Hadjinlian [Sun, 26 Jul 2015 20:38:28 +0000 (22:38 +0200)]
yaml-cpp: Bump version and change site

Google Code is a closing forge, yaml-cpp has already made the move
to Github.

Since a new release was available a bump was also in order.
The hash is removed since the tarball from Github is generated.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoargus: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:18 +0000 (20:45 +0200)]
argus: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.
The linker flags are added to LIBS rather than LDFLAGS, which is more
correct in case of static builds.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxinetd: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:17 +0000 (20:45 +0200)]
xinetd: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoquota: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:16 +0000 (20:45 +0200)]
quota: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:15 +0000 (20:45 +0200)]
busybox: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconntrack-tools: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:14 +0000 (20:45 +0200)]
conntrack-tools: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpcbind: use pkg-config for libtirpc flags
Thomas De Schampheleire [Sun, 26 Jul 2015 18:45:13 +0000 (20:45 +0200)]
rpcbind: use pkg-config for libtirpc flags

Instead of hardcoding the flags needed for libtirpc, use pkg-config.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltp-testsuite: support building with toolchains without native RPC
Thomas De Schampheleire [Sun, 26 Jul 2015 18:43:14 +0000 (20:43 +0200)]
ltp-testsuite: support building with toolchains without native RPC

ltp-testsuite needs RPC, but this could also be provided by libtirpc.

The dependency of libtirpc on
!BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2 does not need to be
propagated, because it is always satisfied: ltp-testsuite depends on
BR2_USE_MMU which is always unset for Blackfin targets.

Since musl toolchains never have RPC support, this change would now allow
building of ltp-testsuite on musl toolchains. Unfortunately, ltp-testsuite
does not build yet with musl, so a specific check on musl is added.
This is deemed more conceptually correct than checking on glibc||uclibc.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Cc: "Yann E. Morin" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomosh: new package
Christian Stewart [Sun, 26 Jul 2015 16:34:07 +0000 (09:34 -0700)]
mosh: new package

Adding mosh, the mobile shell. Mosh uses ssh or dropbear as an initial
transport to start mosh-server which uses UDP to communicate with the
client.  Supports a predictive model to enhance performance on weak
connections and compensate for general lag. Also supports
disconnections and reconnections seamlessly.

[Thomas:
  - Add missing dependency on host-pkgconf, as noticed by Yann
    E. Morin.
  - Indicate that openssh/dropbear is a runtime dependency.
  - Pass some variables in the configure environment to tell that SSP
    support is not available when it isn't. Otherwise, it misdetects
    the SSP support as being available, causing a build failure.]

Signed-off-by: Christian Stewart <christian@paral.in>
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 agoncurses: fix gcc 5 compile issue for real
Mikhail Peselnik [Fri, 24 Jul 2015 13:00:43 +0000 (16:00 +0300)]
ncurses: fix gcc 5 compile issue for real

The previous patch didn't work in all cases. The new patch is taken from
upstream: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=commit;h=97bb4678dc03e753290b39bbff30ba2825df9517

Fetch from: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff;f=ncurses/base/MKlib_gen.sh;h=b91398c740a266f10edbbce19f19c52b9709556f;hp=d8cc3c9751faa157d0c8cb8e16fbe4217703966b;hb=97bb4678dc03e753290b39bbff30ba2825df9517;hpb=762520a7930d7f698d542628d3c04bc201f7dac2

[Thomas:
  - removed Signed-off-by in the Buildroot commit from the ncurses
    author: the ncurses author never submitted this patch to
    Buildroot.
  - fixed the Author of the Buildroot commit, it was still "kyak"
  - added a description + Signed-off-by in the patch itself.]

Signed-off-by: Mikhail Peselnik <bas@bmail.ru>
Acked-by: Jaap Crezee <jaap@jcz.nl>
Tested-by: Jaap Crezee <jaap@jcz.nl>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoracehound: fix kernel module compile
Peter Seiderer [Thu, 16 Jul 2015 21:24:12 +0000 (23:24 +0200)]
racehound: fix kernel module compile

- check for linux kernel >= 3.14
- add cross compile enviornment for linux kernel compile
- add additional kernel config hint (CONFIG_KALLSYMS_ALL)
- fix kernel module install path

[Thomas:
 - fix Config.in dependency logic for the comment on the kernel
   version, as noticed by Baruch.
 - minor improvements in the .mk file.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agorpi-userland: pass -DALL_APPS=OFF when example apps are disabled
Thomas Petazzoni [Sun, 26 Jul 2015 16:37:35 +0000 (18:37 +0200)]
rpi-userland: pass -DALL_APPS=OFF when example apps are disabled

It should have been part of commit
d705809c7a32d6868a742b790648a65857f21197.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-web2py: bump to version R-2.11.2
Angelo Compagnucci [Fri, 24 Jul 2015 20:05:17 +0000 (22:05 +0200)]
package/python-web2py: bump to version R-2.11.2

This patch bumps python-web2py to version R-2.11.2.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-pydal: bump to version v15.07
Angelo Compagnucci [Fri, 24 Jul 2015 20:05:16 +0000 (22:05 +0200)]
package/python-pydal: bump to version v15.07

This patch bumps python-pydal to version v15.07.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpi-userland: add option to install hello-pi examples
Yann E. MORIN [Sat, 25 Jul 2015 09:15:13 +0000 (11:15 +0200)]
package/rpi-userland: add option to install hello-pi examples

rpi-userland comes with a set of demo programs that can be useful to
understand how to program HW-accelerated video/3D/fft/... on the RPi.

They can also be used to validate that the hardware is working properly.

[Thomas: explicitly pass ALL_APPS=OFF when
BR2_PACKAGE_RPI_USERLAND_HELLO is disabled.]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-xml-libxml: bump to version 2.0121
Francois Perrad [Fri, 24 Jul 2015 14:38:51 +0000 (16:38 +0200)]
perl-xml-libxml: bump to version 2.0121

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-uri: bump to version 1.68
Francois Perrad [Fri, 24 Jul 2015 14:38:50 +0000 (16:38 +0200)]
perl-uri: bump to version 1.68

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-path-tiny: bump to version 0.072
Francois Perrad [Fri, 24 Jul 2015 14:38:49 +0000 (16:38 +0200)]
perl-path-tiny: bump to version 0.072

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-net-ssleay: bump to version 1.70
Francois Perrad [Fri, 24 Jul 2015 14:38:48 +0000 (16:38 +0200)]
perl-net-ssleay: bump to version 1.70

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-mojolicious: bump to version 6.14
Francois Perrad [Fri, 24 Jul 2015 14:38:47 +0000 (16:38 +0200)]
perl-mojolicious: bump to version 6.14

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-io-socket-ssl: bump to version 2.016
Francois Perrad [Fri, 24 Jul 2015 14:38:46 +0000 (16:38 +0200)]
perl-io-socket-ssl: bump to version 2.016

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibubox: bump version
Yegor Yefremov [Sat, 25 Jul 2015 19:36:57 +0000 (21:36 +0200)]
libubox: bump version

Change upstream location and remove upstreamed patches.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocan-utils: bump version
Yegor Yefremov [Sat, 25 Jul 2015 08:53:50 +0000 (10:53 +0200)]
can-utils: bump version

Remove upstreamed patches.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux-backports: switch to using the kernel-module infra
Yann E. MORIN [Thu, 23 Jul 2015 21:55:29 +0000 (23:55 +0200)]
package/linux-backports: switch to using the kernel-module infra

linux-backports manually generates its autoconf.h header, which needs a
.config file.

Using a pre- or post-configure hook does not really work, because
generating that file touches the .config, and thus our .stamp files ar
enot longer properly time-ordered and running a subsequent make would
incorrectly believe it has to rebuild linux-backports.

So, even though this is not a fixup proper, we generate that file from
the _KCONFIG_FIXUP_CMDS to ensure the stampt file is created after we
touch .config.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Petr Vorel <petr.vorel@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux-backports: new package
Petr Vorel [Thu, 23 Jul 2015 21:55:28 +0000 (23:55 +0200)]
package/linux-backports: new package

Backports provide drivers released on newer kernels backported for usage
on older kernels.

There are two versions of linux-backports: one that supports Linux
kernels >= 3.0 and one supports even older kernels. We're only packaging
the version that supports >= 3.0.

linux-backports needs to have access to the kernel's .config to extract
information it reintroduces as blind options in generated Kconfig
snippets for its own menuconfig. However, Buildroot offers no way to
express this kind of dependency.

So we need to hand-write a dependency from linux-backports' own .config
to linux' .config .

Since linux.mk has not already been sourced by the time we source
linux-backports.mk, we are missing the definition for LINUX_DIR, so we
can not use it our rule.

Fortunately, make provides so-called "secondary expansion", by which
rules which dependencies include a $$-dereferenced variable wil lbe
re-evaluated after all the rest of the Makefiles have been parsed.

So, we use that secondary expansion to post-pone evaluation of that
dependency so we can use LINUX_DIR.

Note: reconstructing LINUX_DIR by hand does not work, because of the
custom archives, git tree, or override-srcdir.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5/qtwebsocket: remove GPLv2 license
Julien CORJON [Fri, 24 Jul 2015 08:04:43 +0000 (10:04 +0200)]
qt5/qtwebsocket: remove GPLv2 license

This module loose his GPLv2 licensing option. Remains the LGPLv2.1 with
exception and LGPLv3 as the possible open-source licenses.

Fixes:
http://autobuild.buildroot.net/results/6c80ba0669a7fc8cc60baaa849044fd65a78ce87/
Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/boost: boost needs wchar
Jörg Krause [Fri, 24 Jul 2015 08:14:53 +0000 (10:14 +0200)]
package/boost: boost needs wchar

The most modules of boost needs a toolchain with wchar. To ease maintenance
we make the entire boost package depend on wchar.

Also add a reverse dependency to libftdipp1 and yaml-cpp.

Fixes:
http://autobuild.buildroot.net/results/49f/49f5c0521fc90fbd4673ad233ff679be007d2953/
http://autobuild.buildroot.net/results/12f/12f544c97e3451fb2a72025ebc62292957e47070/
http://autobuild.buildroot.net/results/ef6/ef6c897ea7547e8ed5f019e8ce4473f0998f2c16/
http://autobuild.buildroot.net/results/7a0/7a0ab069c505696a7887ba5c561b76b233ce59d5/

and more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: bump version to 2.7.2
Bernd Kuhls [Fri, 24 Jul 2015 18:13:48 +0000 (20:13 +0200)]
package/ffmpeg: bump version to 2.7.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ffmpeg: Fix mips compile
Bernd Kuhls [Fri, 24 Jul 2015 18:13:47 +0000 (20:13 +0200)]
package/ffmpeg: Fix mips compile

buildroot has no support for msa, CONFIG_CPU_HAS_MSA is not enabled in
kernel config.

Fixes
http://autobuild.buildroot.net/results/030/03055aa696e9e885baabb43fff613d751974a4b7//
http://autobuild.buildroot.net/results/6b5/6b5c13c949e8ae23f1b58c6da4002371130e9bb3//
http://autobuild.buildroot.net/results/1af/1af3c68bc21503438fb0066f5e51e82e35a5442b//
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kyua: add atf reverse dependency
Romain Naour [Fri, 24 Jul 2015 13:24:32 +0000 (15:24 +0200)]
package/kyua: add atf reverse dependency

atf package depends on BR2_USE_MMU, therefore kyua must
also depend on it.

Fixes:
http://autobuild.buildroot.net/results/929/9290a39d9b77e5a57e59912ce3d901149e9d6c11/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: fix undefined reference to _authdes_seccreate
Jörg Krause [Fri, 24 Jul 2015 15:19:02 +0000 (17:19 +0200)]
package/libtirpc: fix undefined reference to _authdes_seccreate

Commit 1c4767fa9d8c19b52824b1c10e0e25f413111f2d disables the C files auth_des.c
and authdes_prot.c implementing DES authentification but forgets to remove
a function call to authdes_seccreate() in rpc_soc.c.

We add a seperate patch to disable the DES authentification (and not disable it
together with NIS). DES is not provided by uClibc and musl.

Fixes:
http://autobuild.buildroot.org/results/33f/33f1849c6d1441d8565835872281e33a980aba6f/
http://autobuild.buildroot.net/results/02e/02e9321b54d41b4b5c91d93c9942499a20d26919/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
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 agotoolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline
Thomas De Schampheleire [Sun, 26 Jul 2015 10:53:07 +0000 (12:53 +0200)]
toolchain-external wrapper: don't pass march/mcpu if mtune is on cmdline

Before commit 5715d2dcf48a39c16a3f3e41c97109613fed121d, the external
toolchain wrapper would not pass its own march/mcpu/mtune flags to the real
compiler if at least one of them was passed on the wrapper command-line.

The mentioned commit intended to remove the passing of an mtune parameter
coming from Buildroot, which was always empty after some other refactoring,
but the changes have the side-effect that march/mcpu is now also passed when
mtune is already given on the command-line. In that case, only mtune should
be passed to the real compiler.

Restore part of the original toolchain wrapper code to check the presence of
mtune on the command-line.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/download: don't be needlessly verbose in backends
Yann E. MORIN [Sun, 26 Jul 2015 10:26:26 +0000 (12:26 +0200)]
core/download: don't be needlessly verbose in backends

In 50c8b7e (support/download: support -q in all download backends), the
backend were made to respect the quietness of the main Makefile, when -s
is poassed on the 'make' command line. In doing so, they were all made
to be verbose by default.

However, the verbosity of some of the tools, like scp, is very high, and
is in fact intended for debug purposes.

Drop being verbose by default, just use whatever each tool deems normal
output. Only respect the quietness requested by the user.

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/minidlna: Fix static compile
Bernd Kuhls [Fri, 24 Jul 2015 18:38:27 +0000 (20:38 +0200)]
package/minidlna: Fix static compile

Fixes
http://autobuild.buildroot.net/results/aeb/aeb5481526497a01ada8ee9403f282a2374b0383/
http://autobuild.buildroot.net/results/255/25536df514477f3210caf4af27f2f107683f7fb2/
http://autobuild.buildroot.net/results/fa1/fa11cb360190b02d08e74997b0abc73079760dfa/
and many others

This is a follow-up for these patches:
http://patchwork.ozlabs.org/patch/493360/
http://patchwork.ozlabs.org/patch/416007/

[Thomas:
  - don't pass --static to pkg-config, since our pkg-config wrapper
    already passes it automatically when BR2_STATIC_LIBS=y.
  - make only one call to pkg-config for all three libraries
  - put the libintl logic separately from the definition of
    MINIDLNA_CONF_ENV.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/kodi: Fix linking with sunxi-mali
Bernd Kuhls [Sat, 25 Jul 2015 14:19:53 +0000 (16:19 +0200)]
package/kodi: Fix linking with sunxi-mali

Since
http://git.buildroot.net/buildroot/commit/package/sunxi-mali?id=8906f272ab41e0373f392cc7a04cc97320dd8382
sunxi-mali as egl/gles provider also depends on libump.

This dependency was unknown to Kodi leading to this error during
configure:

configure:23127: /home/buildroot/build/instance-0/output/host/usr/bin/arm-none-linux-gnueabi-gcc -o conftest -O2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -Os  -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -D_DEBUG -Wall -mno-apcs-stack-check -mfpu=neon -mvectorize-with-neon-quad -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c -lEGL   -lpython2.7 -lpthread -ldl -lutil -lm >&5
/home/buildroot/build/instance-0/output/host/opt/ext-toolchain/bin/../lib/gcc/arm-none-linux-gnueabi/4.8.3/../../../../arm-none-linux-gnueabi/bin/ld: warning: libUMP.so.2, needed by /home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/thumb2/usr/lib/libMali.so, not found (try using -rpath or -rpath-link)
/home/buildroot/build/instance-0/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/thumb2/usr/lib/libEGL.so: undefined reference to `ump_close'

This patch updates CXXFLAGS with the necessary libs to fix linking of
the final kodi binary. The additional CFLAGS are needed because
configure uses gcc to detect egl support.

Fixes
http://autobuild.buildroot.net/results/ce3/ce35d25253410abcbdbf1c58a5c9fb90f4eea6cd/
http://autobuild.buildroot.net/results/1ee/1eefd8e23d8e1b4374c79201b4c631603372d431/
http://autobuild.buildroot.net/results/3d8/3d8314392c61d6d278fb900a028e3bfc4d1d4d2c/
http://autobuild.buildroot.net/results/ee5/ee5e53ed9e2bbebab64122dd422d5da6abca3095/
http://autobuild.buildroot.net/results/703/7033594221b4a75e7f8aea8c145c8b7d2db0637c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
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 agopackage/exim: Fix compilation error with musl
Bernd Kuhls [Sat, 25 Jul 2015 13:36:55 +0000 (15:36 +0200)]
package/exim: Fix compilation error with musl

Fixes
smtp_in.c: In function ‘smtp_start_session’:
smtp_in.c:1976:36: error: invalid application of ‘sizeof’ to incomplete type ‘struct options’
     EXIM_SOCKLEN_T optlen = sizeof(struct ip_options) + MAX_IPOPTLEN;

smtp_in.c misdetects the needed style for ip_options, only OPTSTYLE == 2 works.
Since musl does not provide any macro[1] to detect it we need to pretend to be
darwin in order to fix the compile bug.

[1] http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Luca: simplify by using only one sed invocation]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
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 agortl8821au: new package
Christian Stewart [Sat, 25 Jul 2015 17:51:01 +0000 (10:51 -0700)]
rtl8821au: new package

This patch adds the rtl8821au wifi driver. The driver is sourced from
ulli-kroll's work on GitHub, which includes various fixes and better LED
handling. Currently USB3 support is broken in this driver - it will
only connect to the EHCI controller in a USB3 port.

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoMakefile: unexport O
Guido Martínez [Sat, 25 Jul 2015 19:07:39 +0000 (16:07 -0300)]
Makefile: unexport O

After bee5745ccc2 ("Makefile: don't depend on the umask"), any use
of "make O=<dir>" would leak $O into the enviroment for submakes,
and it's inherited by package makefiles. Some package makefiles have
protections to make sure they don't use the value of $O if it comes from
the enviroment (Linux), but some don't (uClibc).

This caused build failures when using a different output dir.

Fix this by unconditionally unexporting the O variable, since we never
need to have it set in the environment for packages, it should be only
internally used by BR.

Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gcc: fix libgcc build for xtensa
Max Filippov [Fri, 24 Jul 2015 09:30:31 +0000 (12:30 +0300)]
package/gcc: fix libgcc build for xtensa

xtensa libgcc can't be built with -mtext-section-literals flag, now
coming from TARGET_CFLAGS, because it needs to emit literals to
.init/.fini sections, which is not currently supported.

Filter -mtext-section-literals flag out of GCC_COMMON_TARGET_CFLAGS.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofan-ctrl: mark as broken until SourceForge is back up
Thomas Petazzoni [Thu, 23 Jul 2015 21:38:28 +0000 (23:38 +0200)]
fan-ctrl: mark as broken until SourceForge is back up

SourceForge is down, so we can't download fan-ctrl.c anymore, and it's
not on sources.buildroot.net nor anywhere else on the Internet
apparently. So let's mark this not-so-important package as broken for
now, until SourceForge goes back to life.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoharfbuzz: update why we are using autoreconf
Thomas Petazzoni [Thu, 23 Jul 2015 21:36:06 +0000 (23:36 +0200)]
harfbuzz: update why we are using autoreconf

Following the addition of a patch touching Makefile.am, let's update
the comment explaining why we use <pkg>_AUTORECONF = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/harfbuzz: fix test-unicode static linking issue
Romain Naour [Wed, 22 Jul 2015 21:47:03 +0000 (23:47 +0200)]
package/harfbuzz: fix test-unicode static linking issue

When linking test-unicode statically, it needs $(ICU_LIBS)
which contains all required flags.
Especially -lstdc++.

Fixes:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/icu: icu-uc: provide -lstdc++ flag for static build
Romain Naour [Wed, 22 Jul 2015 21:47:02 +0000 (23:47 +0200)]
package/icu: icu-uc: provide -lstdc++ flag for static build

icu-uc.pc must provide -lstdc++ for C application linked
statically with libicuuc.a.

Related to:
http://autobuild.buildroot.net/results/210/2107f9dfb39eeb6559fb4271c7af8b39aef521ca/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add systemd service
Martin Bark [Thu, 23 Jul 2015 11:20:29 +0000 (12:20 +0100)]
package/redis: Add systemd service

redis.service originates from the redis package in Arch Linux, at
https://projects.archlinux.org/svntogit/community.git/tree/trunk/redis.service?h=packages/redis&id=b4907d2344855caeadf6c69bc01c403a95f8a4f3.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add systemV init script
Martin Bark [Thu, 23 Jul 2015 11:20:28 +0000 (12:20 +0100)]
package/redis: Add systemV init script

start-stop-daemon is used to start redis-server as user redis in the
background.  Once redis-server is running we use redis-cli to shutdown
cleanly.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Install /etc/redis.conf to target
Martin Bark [Thu, 23 Jul 2015 11:20:27 +0000 (12:20 +0100)]
package/redis: Install /etc/redis.conf to target

Copy redis.conf from the redis release package but adjust some values to
sensible defaults using 0003-redis.conf-sane-defaults.patch

The file 0003-redis.conf-sane-defaults.patch originates from the redis
package in Arch Linux.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/redis: Add redis system user
Martin Bark [Thu, 23 Jul 2015 11:20:26 +0000 (12:20 +0100)]
package/redis: Add redis system user

Add a redis system user and set the home directory to /var/lib/redis

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gcc: fix typo for CFLAGS_FOR_TARGET
Romain Naour [Thu, 23 Jul 2015 21:08:55 +0000 (23:08 +0200)]
package/gcc: fix typo for CFLAGS_FOR_TARGET

CFLAGS_FOR_TARGET is initialized with GCC_COMMON_TARGET_CXXFLAGS.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoc-icap: fix config script
Guillaume GARDET [Thu, 23 Jul 2015 08:45:47 +0000 (10:45 +0200)]
c-icap: fix config script

This commit adjusts the c-icap config script by removing a bogus
-L$LIBDIR which was expanded to -L/usr/lib, which is wrong for
cross-compilation. It fixes the build of c-icap-modules:

  http://autobuild.buildroot.org/results/b05/b05141a6d450c94669c6a0a5a0f5b799c2c248f2/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Guillaume GARDET <guillaume.gardet@oliseo.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: Do not build unsupported API files
Jörg Krause [Thu, 23 Jul 2015 06:38:26 +0000 (08:38 +0200)]
package/libtirpc: Do not build unsupported API files

Version 0.3.2 re-enables some APIs for backward compatibility with
glibc's SunRPC:
  - key_prot
  - netname
  - rtime

Unfortunalty, this breaks building libtirpc with uClibc and musl:
  getpublickey.c:41:28: fatal error: rpcsvc/yp_prot.h: No such file or directory

We disable those API files as at least yp_prot.h is also NIS related to support
building libtirpc with these two libc's.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: fix musl build
Jörg Krause [Thu, 23 Jul 2015 06:38:25 +0000 (08:38 +0200)]
package/libtirpc: fix musl build

The fix includes:
  1) Defining rpcent for non-Glibc's
  2) Using a local queue implementation

1) Defining rpcent for non-Glibc's
musl does not define rpcent. Since musl does not provide a __MUSL__ macro we
add a check for non-Glibc's to the existing uClibc patch.

2) Using a local queue implementation
musl does not provide sys/queue.h. We borrow a compatible queue implementation
from the NetBSD project.

Fixes:
http://autobuild.buildroot.net/results/f93/f93f0be26b5a25b953ea7f909037c1f45a83f686/
http://autobuild.buildroot.net/results/c53/c537a76d17012821ed5a6f4170f759efd4d269b0/
http://autobuild.buildroot.net/results/e3c/e3c5be7dca753f7494e8680894f516a8cdc89843/
http://autobuild.buildroot.net/results/2bb/2bb2e314f23b5ba48bb6e0c4fc7e52032fa5d76b/

and many more.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/libtirpc: bump to version 0.3.2
Jörg Krause [Thu, 23 Jul 2015 06:38:24 +0000 (08:38 +0200)]
package/libtirpc: bump to version 0.3.2

Bump version, update hash and update patch.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolimex_a20_olinuxino_lime: bump kernel to 4.1.3
Francois Perrad [Thu, 23 Jul 2015 09:09:17 +0000 (11:09 +0200)]
olimex_a20_olinuxino_lime: bump kernel to 4.1.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoolimex_a20_olinuxino_lime: bump u-boot to 2015.07
Francois Perrad [Thu, 23 Jul 2015 09:09:16 +0000 (11:09 +0200)]
olimex_a20_olinuxino_lime: bump u-boot to 2015.07

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolua-ev: bump to version 1.4
Francois Perrad [Thu, 23 Jul 2015 09:21:36 +0000 (11:21 +0200)]
lua-ev: bump to version 1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoorbit: bump to version 2.2.3
Francois Perrad [Thu, 23 Jul 2015 09:21:35 +0000 (11:21 +0200)]
orbit: bump to version 2.2.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: add homepage URL
Baruch Siach [Thu, 23 Jul 2015 11:18:35 +0000 (14:18 +0300)]
openipmi: add homepage URL

The homepage is now back online.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: fix missing -lrt for clock_gettime
Baruch Siach [Thu, 23 Jul 2015 11:18:34 +0000 (14:18 +0300)]
openipmi: fix missing -lrt for clock_gettime

Add a patch to detect when -lrt is needed. This fixes build with glibc < 2.17.

Fixes:
http://autobuild.buildroot.net/results/2b0/2b0eb7149c7bdd8ebd72c1070aeefb210379a889/
http://autobuild.buildroot.net/results/49f/49fbd7e2dc72279c5b54d0f59a055e3e5e73f648/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoperl-encode-locale: bump to version 1.05
Francois Perrad [Thu, 23 Jul 2015 16:47:17 +0000 (18:47 +0200)]
perl-encode-locale: bump to version 1.05

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoscancpan: adjust package name
Francois Perrad [Thu, 23 Jul 2015 16:47:16 +0000 (18:47 +0200)]
scancpan: adjust package name

underscore is not allowed in BR package name.
this problem was found with the Perl module DB_File
which must give the BR package perl-db-file.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoltrace: fix patch name
Vicente Olivert Riera [Thu, 23 Jul 2015 11:34:55 +0000 (13:34 +0200)]
ltrace: fix patch name

Rename 0002-Install-lib-types.conf to 0002-Install-lib-types-conf.patch

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-web2py: new package
Angelo Compagnucci [Tue, 14 Apr 2015 15:05:04 +0000 (17:05 +0200)]
package/python-web2py: new package

This patch adds web2py package. web2py is a free open source
full-stack framework for rapid development of fast, scalable, secure
and portable database-driven web-based applications.

[Thomas: fixup symbolic link to the systemd service file.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/python-pydal: new package
Angelo Compagnucci [Tue, 14 Apr 2015 15:05:03 +0000 (17:05 +0200)]
package/python-pydal: new package

This package adds the python-pydal python package.  pyDAL is a pure
Python Database Abstraction Layer.

[Thomas:
  - rewrap Config.in help text
  - add upstream URL in Config.in help text.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: disable python3 support
Ryan Barnett [Wed, 22 Jul 2015 21:06:40 +0000 (16:06 -0500)]
audit: disable python3 support

With the version bump to 2.4.3, python3 support was added for
libaudit. With host machines that have python3 installed, this will
cause build issues such as:

  make[5]: Entering directory `/tmp/ryan/buildroot/output/build/audit-2.4.3/bindings/swig/python3'
  swig -o audit_wrap.c -python -py3 -modern -I. -I../../.. -I../../../lib -I/usr/include/python3.4m -I/usr/include/python3.4m ./../src/auditswig.i
  make[5]: swig: Command not found

Solution is to disable python3 support such as we do with python2.7.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace
Alexey Brodkin [Tue, 24 Mar 2015 13:55:15 +0000 (16:55 +0300)]
gcc: explicitly use C{XX}FLAGS_FOR_TARGET instead of --enable-target-optspace

The gcc.mk file is passing --enable-target-optspace to gcc configure
script, to ask for space-optimized (-Os) target libraries. However,
passing this option has the effect of overriding any custom
CFLAGS_FOR_TARGET or CXXFLAGS_FOR_TARGET values that may be passed.

These are some situations when it is required to pass custom flags on
buildong
of libgcc:
 * Default flags "-g -Os" lead to build isses as with PowerPC on gcc 4.5
(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810)
 * Particular CPU requires specific instructions for HW support
 * Deep optimizations

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>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/nfs-utils: fix unmet direct dependency
Jörg Krause [Mon, 20 Jul 2015 21:47:38 +0000 (23:47 +0200)]
package/nfs-utils: fix unmet direct dependency

Commit 182520a8af734c735c4dbdff29dc07af1d615a0a adds rpcbind as a dependency
without properly caring for the thread dependency.

rpcbind adds libtirpc as a dependendency which fails:
  fatal error: pthread.h: No such file or directory

Since we probably don't care much about using nfs-utils in a non-threaded
scenario, we simply disable nfs-utils for toolchains without thread support.

Fixes:
http://autobuild.buildroot.net/results/803/80321de8d4c6c0a00439b07289a5818962128b43/

Suggested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt5: remove GPLv2 license from qt5declarative, qt5script and qt5svg
Thomas Petazzoni [Wed, 22 Jul 2015 20:50:34 +0000 (22:50 +0200)]
qt5: remove GPLv2 license from qt5declarative, qt5script and qt5svg

Since Qt 5.5, those three modules have lost their GPLv2 licensing
option. Remains the LGPLv2.1 with exception and LGPLv3 as the possible
open-source licenses.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc: fix static linking of pthread apps for x86/x86_64
Waldemar Brodkorb [Wed, 22 Jul 2015 16:13:26 +0000 (18:13 +0200)]
uclibc: fix static linking of pthread apps for x86/x86_64

Fixes:
http://autobuild.buildroot.net/results/182424bd2fea36af95eea31f7dd53f0399433616/
http://autobuild.buildroot.net/results/6b1e2132a34e0c263bb0f2ea31caf4ce697e9c9c/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoe2fsprogs: remove more busybox applet links
Baruch Siach [Wed, 22 Jul 2015 16:29:16 +0000 (19:29 +0300)]
e2fsprogs: remove more busybox applet links

Following commit aa02829240b2 (e2fsprogs: remove busybox tune2fs when
installing full version, 2015-07-08), remove the rest of Busybox e2fsprogs
applet links. All of them are installed in different locations than upstream
e2fsprogs.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-firmware: add brcm43143 support
Jordan Yelloz [Wed, 22 Jul 2015 18:14:07 +0000 (11:14 -0700)]
linux-firmware: add brcm43143 support

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosocketcand: resolve GCC5 related issue
Yegor Yefremov [Wed, 22 Jul 2015 18:52:26 +0000 (20:52 +0200)]
socketcand: resolve GCC5 related issue

This patch removes inline keyword from header and source
files.

Fixes following autobuild failure:
http://autobuild.buildroot.net/results/8ea/8eac9832554dbd1f2e14cf54e5c99e6bf4dfc2cc/

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/linux: trash stderr in LINUX_VERSION_PROBED
Yann E. MORIN [Wed, 22 Jul 2015 14:58:53 +0000 (16:58 +0200)]
package/linux: trash stderr in LINUX_VERSION_PROBED

The Linux buildsystem tries to run the compiler even just for
'kernelrelease' (which we store in LINUX_VERSION_PROBED) and we
sometimes need to use it before the toolchain is available; thus
we get spurious errors on stderr.

Consign stderr to oblivion when computing the 'kernelrelease'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocore/pkg-kconfig: do not override @D
Yann E. MORIN [Wed, 22 Jul 2015 14:58:52 +0000 (16:58 +0200)]
core/pkg-kconfig: do not override @D

Currently, we override @D for the kconfig configurators, so the fixup
commands can use $(@D); otherwise @D would be simply '.' because it is
not a real file in the package build dir.

However, this breaks the soon-to-be-introduced linux-backports package,
which needs to have a dependency on the linux package to be configured.

The underlying reason is that @D is an automatic variable that is always
set by make to the directory part of the target of the rule. However,
automatic variables loose their "automatic" property when they are
manually set.

Furthermore, a variable that is defined for a rule is inherited by all
dependencies of that rule, so our manually-set @D is inherited all the
way down the dependency chain of linux-backports, down to the linux' own
.config rule, which is thus run with @D pointing to linux-backports'
build dir, not linux'.

Fix that by using a "static pattern rule", redirecting the configurators
to an intermediate stamp-like file which path is in the package build
dir, so we get a valid @D from the onset, without having to manually
fiddle with it.

Thanks to Arnout for suggesting that in the first place. Sorry I did
reject it as "too complex" when it was in fact the best solution.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 4.1.3
Gustavo Zacarias [Wed, 22 Jul 2015 14:18:40 +0000 (11:18 -0300)]
linux: bump default to version 4.1.3

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.18.x and 4.{0, 1}.x series
Gustavo Zacarias [Wed, 22 Jul 2015 14:18:39 +0000 (11:18 -0300)]
linux-headers: bump 3.18.x and 4.{0, 1}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodbus: bump to version 1.8.20
Gustavo Zacarias [Wed, 22 Jul 2015 14:00:40 +0000 (11:00 -0300)]
dbus: bump to version 1.8.20

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetperf: bump to version 2.7.0
Gustavo Zacarias [Wed, 22 Jul 2015 13:59:50 +0000 (10:59 -0300)]
netperf: bump to version 2.7.0

Also add hash file.
And work around gcc 5+ defaulting to gnu99, fixes:

http://autobuild.buildroot.net/results/077/077714a0ee67057abcff680b244228a409243bbf/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: disable languages bindings
Romain Naour [Wed, 22 Jul 2015 14:13:10 +0000 (16:13 +0200)]
package/qpid-proton: disable languages bindings

Fixes (workaround):
http://autobuild.buildroot.net/results/eff48f8a827f8b4dbbdb7cb648a6c4a3ab4ac8a5/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/qpid-proton: disable for static build only
Romain Naour [Wed, 22 Jul 2015 14:13:09 +0000 (16:13 +0200)]
package/qpid-proton: disable for static build only

qpid-proton always build a shared library "libqpid-proton.so"

Fixes:
http://autobuild.buildroot.net/results/bf6/bf6b9bcc0cead87c8fb12ec4c7f5ff73e6d61d3f/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoheimdal: disable parallel build
Gustavo Zacarias [Wed, 22 Jul 2015 14:08:26 +0000 (11:08 -0300)]
heimdal: disable parallel build

It still seems to have issues, so disable it pending more patches and
testing. Fixes:
http://autobuild.buildroot.net/results/a07/a07198b3f7f8029d80863a998814877ec9994c60/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboost: fix build for sparc
Gustavo Zacarias [Wed, 22 Jul 2015 14:34:36 +0000 (11:34 -0300)]
boost: fix build for sparc

Using upstream patch, fixes:
http://autobuild.buildroot.net/results/dd0/dd032aa7b387f3ba5b25bffcaf833ba0ea9ba199/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: More cross compile fixes
Clayton Shotwell [Wed, 22 Jul 2015 14:51:16 +0000 (09:51 -0500)]
audit: More cross compile fixes

There was an issue that was not fixed by the last set of cross compile
patches where architecture specific CFLAGS were being used when building
for the host and not the target. This patch fixes that issue.

Fixes:
  http://autobuild.buildroot.net/results/3e85c2253f6bd4cfe6ac1dde947eb6d5afc78cfe/
  http://autobuild.buildroot.net/results/d0f0f7e7462d68331d4a2f87b1df05cc9a6fecfd/
  http://autobuild.buildroot.net/results/114de2422c56071141284fb2eb8044ffa48e77f4/
  http://autobuild.buildroot.net/results/0862cf008e7e4b52c46c40257adeda954afee394/

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoaudit: version bump
Clayton Shotwell [Wed, 22 Jul 2015 14:51:15 +0000 (09:51 -0500)]
audit: version bump

Bumping from version 2.4.1 to 2.4.3 to drop patches that have been
picked up by the mainline.

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosetools: Disable on Blackfin and NIOS II
Clayton Shotwell [Wed, 22 Jul 2015 15:04:11 +0000 (10:04 -0500)]
setools: Disable on Blackfin and NIOS II

The setools package is not currently building on either the NIOS II or
the Blackfin architectures. Disabling for now.

Fixes:
http://autobuild.buildroot.net/results/2ee84c0dc027912e059ca4ae518d6f11fd8317a7/
http://autobuild.buildroot.net/results/401e4c48f4d865b2722f284f1038e25c5d420f43/
http://autobuild.buildroot.net/results/e67ef47ea9ff4cbb012d374b3b290fb7bddf7ef3/

[Thomas: add comment explaining the dependencies.]

Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoe2fsprogs: remove busybox tune2fs when installing full version
Ryan Barnett [Wed, 8 Jul 2015 21:51:00 +0000 (16:51 -0500)]
e2fsprogs: remove busybox tune2fs when installing full version

Currently, busybox installs a version of tune2fs in /sbin/ while
e2fsprogs installs at /usr/sbin/. This causes issues if a user is
expecting the to use the full version from a prompt via 'tune2fs'
since busybox's tune2fs will be found first from the default path
search.

Fix this by removing the busybox version of tune2fs when a user has
selected the option to install tune2fs from e2fsprogs.

[Thomas: don't hijack E2FSPROGS_TARGET_TUNE2FS_SYMLINK for the removal
and instead introduce a separate E2FSPROGS_REMOVE_BUSYBOX_APPLETS post
install target hook, and do related code re-organization.]

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agozedboard: Switch to U-Boot 2015.07
Jan Viktorin [Wed, 22 Jul 2015 10:23:53 +0000 (12:23 +0200)]
zedboard: Switch to U-Boot 2015.07

The U-Boot v2015.07 is required for successful out-of-the-box
build for common Xilinx Zynq boards (including Zedboard).

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5webchannel: new package
Julien CORJON [Wed, 22 Jul 2015 07:55:25 +0000 (09:55 +0200)]
qt/qt5webchannel: new package

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibiio: Add a patch from upstream to fix building without a C++ compiler
Paul Cercueil [Wed, 22 Jul 2015 08:45:05 +0000 (10:45 +0200)]
libiio: Add a patch from upstream to fix building without a C++ compiler

This fixes a build issue reported by the autobuilder:

   http://autobuild.buildroot.net/results/5b0d02aa3bdb4cddb0d316c99fada2e7ba9f9c1d/

[Thomas: add autobuilder reference, as suggested by Baruch.]

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoqt/qt5base: Fix big endian image conversion
Julien CORJON [Wed, 22 Jul 2015 08:33:32 +0000 (10:33 +0200)]
qt/qt5base: Fix big endian image conversion

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoopenipmi: don't search host library path
Baruch Siach [Wed, 22 Jul 2015 04:20:57 +0000 (07:20 +0300)]
openipmi: don't search host library path

Add a patch removing search of host library path.

Fixes:
http://autobuild.buildroot.net/results/bb9/bb9a5d4f2058765a3630170a11ee087c9c289c3d/
http://autobuild.buildroot.net/results/0b3/0b37f7648bed99bcb1b5bf727171ccc83283d01e/
http://autobuild.buildroot.net/results/5f7/5f7e6b3279d0e78e3298cdfe7db595e5043ff685/

and many more.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetwork-manager: bump to version 1.0.4
Petr Vorel [Tue, 21 Jul 2015 23:08:35 +0000 (01:08 +0200)]
network-manager: bump to version 1.0.4

Dropped unused patches, added upstream proposed patch to fix build
error for kernels headers < 3.17.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Petr Vorel <vorel@jablocom.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/debianutils: improve help text
Jörg Krause [Tue, 21 Jul 2015 06:15:27 +0000 (08:15 +0200)]
package/debianutils: improve help text

Add a note about the installed utilities.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>