buildroot.git
10 years agoMakefile: rename non-user-facing variable
Yann E. MORIN [Sun, 13 Apr 2014 20:42:37 +0000 (22:42 +0200)]
Makefile: rename non-user-facing variable

Variables should be prefixed with BR_ when they are not user-facing.

As a side effect, the new variable is prettier than the previous one. :-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoconfigs: bump raspberrypi_defconfig to use the latest stable kernel
Yann E. MORIN [Sun, 13 Apr 2014 21:24:54 +0000 (23:24 +0200)]
configs: bump raspberrypi_defconfig to use the latest stable kernel

Bump raspberrypi_defconfig to use the latest revision from the stable
rpi-3.10.y branch, which is based on v3.10.36.

Bump the kernel headers used for the toolchain at the same time.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/rpi-firmware: bump revision
Yann E. MORIN [Sun, 13 Apr 2014 21:24:53 +0000 (23:24 +0200)]
package/rpi-firmware: bump revision

Of utmost importance, this bump allows to overclock the RPi to even
higher frequencies: ARM > 1200MHz, core > 600MHz, RAM > 600MHz. :-)
To be used with caution, of course! :-)

Fixes and enhancements for:
  - clocks : allow higher overclocks
  - audio  : PCM channel expansion/conversion
  - video  : stutter on streams without b-frames, choice of scaling /kernel/
  - camera : padding-removal, new YUV and BGR modes
  - decoder: timestamps fixes, frames interval tracking
  - encoder: misc jpeg encoding fixes, save inline motion vectors
  - display: don't require EDID on HDMI

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/rpi-userland: bump revision
Yann E. MORIN [Sun, 13 Apr 2014 21:24:52 +0000 (23:24 +0200)]
package/rpi-userland: bump revision

Fixes and enhancements for:
  - camera : preview, white balance, padding-removal
  - encoder: save inline motion vectors
  - misc   : locking in GPU<->CPU dialog (?), tvservice eye-candy

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agovlc: select libvorbis when opus is also selected
Vicente Olivert Riera [Mon, 14 Apr 2014 14:20:07 +0000 (15:20 +0100)]
vlc: select libvorbis when opus is also selected

If BR2_PACKAGE_OPUS is selected then vlc will be built with support for
opus passing "--enable-opus" option to the configure script. But when
the configure script checks for the opus library it also checks for the
ogg library at the same time, so if only opus has been installed and not
ogg, then it will fail with an error message like this one:

checking for OPUS... no
configure: error: Library ogg opus needed for opus was not found

Fixes:
   http://autobuild.buildroot.net/results/4da/4da8e7cfb35c351e5d623835118512248d331d16/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoiproute2: bump to version 3.14.0
Gustavo Zacarias [Mon, 14 Apr 2014 15:46:08 +0000 (12:46 -0300)]
iproute2: bump to version 3.14.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoruby: bump to 1.9.3-p545
Gustavo Zacarias [Mon, 14 Apr 2014 11:30:18 +0000 (08:30 -0300)]
ruby: bump to 1.9.3-p545

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomtd: fix build against uClibc
Baruch Siach [Sun, 13 Apr 2014 12:41:30 +0000 (15:41 +0300)]
mtd: fix build against uClibc

Add a rpmatch() implementation when uClibc is missing one.

Fixes:
http://autobuild.buildroot.net/results/171/17187c3c9ba2b9df2bb6ac103e9a54706f07c28b/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agocppcms: needs threads
Baruch Siach [Sun, 13 Apr 2014 12:56:09 +0000 (15:56 +0300)]
cppcms: needs threads

Fixes:
http://autobuild.buildroot.net/results/d61/d618de68c8a50a932e85bdefb23c40e86790dc6c/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibatomic_ops: mark as supporting aarch64
alex.bennee@linaro.org [Fri, 11 Apr 2014 14:05:54 +0000 (15:05 +0100)]
libatomic_ops: mark as supporting aarch64

[Thomas: fix typo in the patch: BR2_aarch64 -> BR2_aarch64.]

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agortai: install to staging
Andrew Barnes [Thu, 20 Feb 2014 16:26:07 +0000 (16:26 +0000)]
rtai: install to staging

Building RTAI userspace applications requires having the RTAI headers
and libraries installed to the staging directory, so this patch adds
RTAI_INSTALL_STAGING = YES.

In addition, this patch fixes up the rtai-config script, but does that
manually, because the rtai-config script doesn't match the convention
that the common <pkg>_CONFIG_SCRIPTS logic is designed for. It also
specifies a special directory for the RTAI headers, so that they don't
get mixed up with kernel headers.

Finally, it updates the RTAI download address to use the new correct
location.

[Thomas: fix commit log.]

Signed-off-by: Andrew Barnes <andy@outsideglobe.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython3: correctly fix PYTHON3_PATH
Thomas Petazzoni [Sat, 12 Apr 2014 21:03:10 +0000 (23:03 +0200)]
python3: correctly fix PYTHON3_PATH

Commit 6251ccf03254f832c6e6ba0203ad46c18f217ca9 ('python3: fix the
value of PYTHON3_PATH') tried to fix the value of PYTHON3_PATH, but
did it incorrectly: it changed PYTHON_VERSION_MAJOR to
PYTHON_VERSION3_MAJOR, while it should have been
PYTHON3_VERSION_MAJOR.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopciutils: allow installation of static library when BR2_PREFER_STATIC_LIB
ANDY KENNEDY [Mon, 18 Nov 2013 20:02:42 +0000 (20:02 +0000)]
pciutils: allow installation of static library when BR2_PREFER_STATIC_LIB

[Thomas: rework according to Arnout comments.]

Signed-off-by: Andy Kennedy <andy.kennedy@adtran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoznc: new package
Cédric Chépied [Fri, 4 Apr 2014 18:22:53 +0000 (20:22 +0200)]
znc: new package

ported patch from Cédric Chépied:
http://patchwork.ozlabs.org/patch/306896/

[Thomas: added comment explaining why we don't use <pkg>_AUTORECONF,
and use a more conventional syntax for <pkg>_DEPENDENCIES and
<pkg>_CONF_OPT.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopacage/xbmc-addon-xvdr: new package
Yann E. MORIN [Sat, 5 Apr 2014 17:33:09 +0000 (19:33 +0200)]
pacage/xbmc-addon-xvdr: new package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/xbmc-pvr-addons: new package
Yann E. MORIN [Sat, 5 Apr 2014 17:33:08 +0000 (19:33 +0200)]
package/xbmc-pvr-addons: new package

[Thomas: fix minor typo in comments "his own files" -> "its own files"]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoexim: use a more standard build-time configuration
Luca Ceresoli [Sun, 6 Apr 2014 20:29:17 +0000 (22:29 +0200)]
exim: use a more standard build-time configuration

Buildroot currently ships a very minimal build configuration file for exim,
which disables most optional features. This is not coherent with the runtime
configuration file, taken verbatim from the exim distribution, which enables
some of these features.

The visible symptom is an error during boot that prevents exim from starting:

  Exim configuration error in line 541 of /etc/exim/configure:
    router dnslookup: cannot find router driver "dnslookup"

In order to fix this problem, we change the way exim is configured at build
time. Instead of blindly copying a minimal Buildroot-provided configuration
file, we now copy the exim-provided one and then tweak it to change the needed
options. This actually makes the configuration closer to standard exim.
As the amount of tweaking is remarkable, we also define a few macros to make
it easier and more readable.

This new approach was suggested by Bernd Kuhls.

Reported-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolinphone: arc: Undefine __arc__ when building for ARC processors
Anton Kolesov [Fri, 4 Apr 2014 16:04:38 +0000 (20:04 +0400)]
linphone: arc: Undefine __arc__ when building for ARC processors

This patch is similar to 821a6d63. Libexosip2 defines symbol __arc__, which
gets in contradiction with same symbol defined by the GCC for the Synopsys
DesignWare ARC cores. Previous patch undefined __arc__ for libosip2 and
libexosip2, however linphone includes headers from libexosip2, which causes
build failure unless same patch is applied to it.

This patch fixes
http://autobuild.buildroot.net/results/0d2e19d40d6d0df4048e6ebae5f77022f89ca7cb/

Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorsh-redone: make rsh-redone.mk more Buildroot conventional
Thomas Petazzoni [Sat, 12 Apr 2014 15:08:14 +0000 (17:08 +0200)]
rsh-redone: make rsh-redone.mk more Buildroot conventional

This commit slightly adjusts rsh-redone.mk to better match the usual
Buildroot conventions:

 * Variables are named in upper-case, prefixed by the name of the
   package.

 * No re-use of one _CMDS definition in another, and instead usage of
   a RSH_REDONE_MAKE_FLAGS variable to pass identical flags betwen
   build and install steps.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorsh-redone: remove code related to rcp
Thomas Petazzoni [Sat, 12 Apr 2014 15:05:02 +0000 (17:05 +0200)]
rsh-redone: remove code related to rcp

While there is a rcp.c in the source tree, the Makefile does not have
a rule nor logic to build it, and it anyway doesn't build at all.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agorsh-redone: enable rshd and rlogind
Andreas Ehmanns [Mon, 18 Nov 2013 14:34:45 +0000 (15:34 +0100)]
rsh-redone: enable rshd and rlogind

[Thomas: add dependency on linux-pam for rshd and rlogind, adjust
commit message.]

Signed-off-by Andreas Ehmanns <universeii@gmx.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agomesa3d: fix khrplatform.h installation.
Eric Le Bihan [Wed, 9 Apr 2014 12:54:21 +0000 (14:54 +0200)]
mesa3d: fix khrplatform.h installation.

Mesa3D only installs khrplatform.h if EGL support is enabled, whereas
this header file is needed by the headers of OpenGL|ES and OpenVG.

The supplied patch forces Mesa3D to install this header unconditionally.

Fixes http://autobuild.buildroot.net/results/e07/e079219d70830a123977c3ee09d3c11b863d0691

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/pkg-python.mk: Fix typo
Bernd Kuhls [Sat, 12 Apr 2014 11:57:15 +0000 (13:57 +0200)]
package/pkg-python.mk: Fix typo

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibdrm: version bump 2.4.53
Bernd Kuhls [Fri, 11 Apr 2014 15:32:18 +0000 (17:32 +0200)]
libdrm: version bump 2.4.53

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agokmod: python support works with python 3.x as well
Peter Korsgaard [Fri, 11 Apr 2014 22:58:01 +0000 (00:58 +0200)]
kmod: python support works with python 3.x as well

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogst-fsl-plugins: fix typo in comment
Peter Korsgaard [Fri, 11 Apr 2014 22:38:49 +0000 (00:38 +0200)]
gst-fsl-plugins: fix typo in comment

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pygame: Make installation of examples optional
Maarten ter Huurne [Tue, 8 Apr 2014 17:45:06 +0000 (19:45 +0200)]
python-pygame: Make installation of examples optional

They take up 1.5 MB in the target file system.

Signed-Off-By: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopypcap: new package
Matt Weber [Fri, 11 Apr 2014 03:39:54 +0000 (22:39 -0500)]
pypcap: new package

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopyrex: new package
Matt Weber [Thu, 10 Apr 2014 15:54:55 +0000 (10:54 -0500)]
pyrex: new package

Pyrex is a language that allows you to mix python and C code in a
single .pyx description file.  This file is then rendered into C
code by the pyrexc host tool.  That C file then can be used within
an application build or as part of the normal distutils build
process used to build a Python extension module.

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodnsmasq: bump to version 2.69
Gustavo Zacarias [Fri, 11 Apr 2014 17:46:33 +0000 (14:46 -0300)]
dnsmasq: bump to version 2.69

Now with DNSSEC support.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobarebox: bump to version 2014.04.0
Fabio Porcedda [Fri, 11 Apr 2014 12:47:35 +0000 (14:47 +0200)]
barebox: bump to version 2014.04.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoflac: bump to version 1.3.0
Gustavo Zacarias [Fri, 11 Apr 2014 10:55:05 +0000 (07:55 -0300)]
flac: bump to version 1.3.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agokmod: bump version
Peter Korsgaard [Fri, 11 Apr 2014 18:57:27 +0000 (20:57 +0200)]
kmod: bump version

And add optional support for the python bindings.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibfslcodec: needs a (e)glibc based toolchain
Peter Korsgaard [Fri, 11 Apr 2014 15:11:43 +0000 (17:11 +0200)]
libfslcodec: needs a (e)glibc based toolchain

The package contains prebuilt binaries linked against glibc.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozeromq: bump to version 4.0.1
Jerzy Grzegorek [Fri, 11 Oct 2013 16:31:37 +0000 (18:31 +0200)]
zeromq: bump to version 4.0.1

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoexpect: new package 5.45
Andrew Ruder [Wed, 9 Apr 2014 22:06:54 +0000 (17:06 -0500)]
expect: new package 5.45

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoliblogging: Depend on systemd
Vicente Olivert Riera [Thu, 10 Apr 2014 15:59:26 +0000 (16:59 +0100)]
liblogging: Depend on systemd

This package depends on systemd because in the configure phase it
searches for a file installed by systemd. We add systemd to it's
dependencies to ensure that is built before this package.

Fixes:
   http://autobuild.buildroot.net/results/32c/32c636020600aa3f378d326c84fac82eb1fb2871/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomongrel2: bump to version 1.9.0
Lionel Orry [Tue, 8 Apr 2014 18:40:21 +0000 (20:40 +0200)]
mongrel2: bump to version 1.9.0

The github helper does not retrieve a suitable tarball including the polarssl source code,
thus the change on the download url.

This version of mongrel2 should be compliant with latest ZeroMQ versions.

Signed-off-by: Lionel Orry <lionel.orry@gmail.com>
Tested-by: Jerzy Grzegorek <jerzy.grzegorek at trzebnica.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoluajit: Disable for MIPS architecture with soft-float
Vicente Olivert Riera [Wed, 9 Apr 2014 13:40:55 +0000 (14:40 +0100)]
luajit: Disable for MIPS architecture with soft-float

Currently luajit is not supported on MIPS soft-float userlands. Upstream
plans to support it in the future:

   http://wiki.luajit.org/Open-Sponsorships#MIPS-Soft-Float-and-Dual-Number-Port

Fixes:

   http://autobuild.buildroot.net/results/d52/d5232a215e9e9aeb40b2e4e353329a27603c79ab/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoerlang: bump version to 17.0
Frank Hunleth [Thu, 10 Apr 2014 14:35:25 +0000 (10:35 -0400)]
erlang: bump version to 17.0

Erlang/OTP 17.0 is a new major release with new features, characteristics
improvements, as well as some minor incompatibilities.

Some highlights of the release are:
  - Erlang/OTP has been ported to the realtime operating system OSE.
  - Maps, a new dictionary data type (experimental)
  - A more natural mapping from ASN.1 OCTET STRING and BIT STRING to Erlang
    types, and other ASN.1 improvements and optimizations
  - The {active, N} socket option for TCP, UDP, and SCTP
  - A new (optional) scheduler utilization balancing mechanism
  - Migration of memory carriers has been enabled by default on all ERTS
    internal memory allocators
  - Increased garbage collection tenure rate
  - Experimental "dirty schedulers" functionality
  - Funs can now be given names
  - Miscellaneous unicode support enhancements
  - A new version scheme for OTP its applications has been introduced

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver: remove patch for aarch64
Alexey Brodkin [Thu, 10 Apr 2014 13:08:43 +0000 (17:08 +0400)]
xserver: remove patch for aarch64

xorg-server-1.15.0.tar.gz already has full support of aarch64.
It was added with this commit http://patchwork.freedesktop.org/patch/14361/

Even though the patch in question doesn't break patching or building of xserver
it duplicates aarch64 entries in "include/servermd.h".

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogd: fix static build with threads
Baruch Siach [Thu, 10 Apr 2014 09:34:12 +0000 (12:34 +0300)]
gd: fix static build with threads

Fixes:
http://autobuild.buildroot.net/results/4b4/4b4272876385cc21dd06ee946d658b8f9e225d78/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoext-toolchain-wrapper: fix typo
Baruch Siach [Thu, 10 Apr 2014 05:46:25 +0000 (08:46 +0300)]
ext-toolchain-wrapper: fix typo

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtd: Add ubiblock tool
Ezequiel García [Wed, 9 Apr 2014 23:40:24 +0000 (20:40 -0300)]
mtd: Add ubiblock tool

The new release adds a new userspace tool called ubiblock. This is
used to control UBI's new block device feature which will be added
in Linux v3.15.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomtd: bump to version 1.5.1
Ezequiel García [Wed, 9 Apr 2014 23:40:23 +0000 (20:40 -0300)]
mtd: bump to version 1.5.1

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibyaml: security bump to version 0.1.6
Gustavo Zacarias [Wed, 9 Apr 2014 18:11:46 +0000 (15:11 -0300)]
libyaml: security bump to version 0.1.6

Fixes CVE-2014-2525.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoulogd: bump to version 2.0.4
Gustavo Zacarias [Wed, 9 Apr 2014 18:09:59 +0000 (15:09 -0300)]
ulogd: bump to version 2.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agostunnel: bump to version 5.01
Baruch Siach [Thu, 10 Apr 2014 08:52:36 +0000 (11:52 +0300)]
stunnel: bump to version 5.01

Fixes CVE-2014-0016.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojpeg-turbo: bump version
Peter Korsgaard [Thu, 10 Apr 2014 14:13:40 +0000 (16:13 +0200)]
jpeg-turbo: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{2,12}.x series
Gustavo Zacarias [Wed, 9 Apr 2014 07:28:27 +0000 (04:28 -0300)]
linux-headers: bump 3.{2,12}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosupport/check-kernel-headers: fix old custom toolchains without -print-sysroot
Yann E. MORIN [Mon, 7 Apr 2014 18:19:12 +0000 (20:19 +0200)]
support/check-kernel-headers: fix old custom toolchains without -print-sysroot

Old toolchains, with old gcc that do not support -print-sysroot, break the
kernel-headers version check script: it fails to find the sysroot of the
toolchain, and thus ends up including the host's linux/version.h.

Most of the time, this will break early, since the host's kernel headers
will not match the toolchain settings.

But it can happen that the check is succesful, although the configuration
of the toolchain is wrong:

  - the custom toolchain has kernel headers vX.Y
  - the user selected vX.Z  (Z!=Y)
  - the host has headers vX.Y

In this case, the check passes OK, but the build of some packages later on
will break (which is exactly what those _AT_LEAST_XXX options were added to
avoid).

Fix that by passing the sysroot to the check script, instead of the cross
compiler.

We get the sysroot as thus:

  - for custom toolchains, we use the macro toolchain_find_sysroot. We can
    do that, because we already have a complete sysroot with libc.a at that
    time.

  - for internal toolchain using a custom kernel headers version, we just
    use $(STAGING_DIR). We can't use the macro as for custom toolchains
    above, because at the time we install the kernel headers, we do not yet
    have a complete sysroot with a libc.a.  But we can just use
    $(STAGING_DIR), since we're only interested in the kernel headers.

For all other types of toolchains, we already have the _AT_LEAST_XXX options
properly set, so we need not add a check in this case.

Fixes:
    http://autobuild.buildroot.net/results/f33/f331a6eff0b0b93c73af52db3a6b43e4e598577e/
    http://autobuild.buildroot.net/results/a57/a5797c025bec50c10efdcff74945aab4021d05e4/
    [...]

[Thanks to Thomas for pointing out the toolchain_find_sysroot macro!]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcl: bump to version 8.6.1
Andrew Ruder [Tue, 8 Apr 2014 20:54:04 +0000 (15:54 -0500)]
tcl: bump to version 8.6.1

Turn off building compatibility layers for old/broken versions of
standard functions (strstr, strtoul, strtod) with the assumption that
anything buildroot is using as a standard C library will be good enough
to not have broken behavior.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocppcms: icu support needs wchar + threads
Peter Korsgaard [Tue, 8 Apr 2014 22:47:06 +0000 (00:47 +0200)]
cppcms: icu support needs wchar + threads

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/webkit: threads are also needed for icu
Yann E. MORIN [Tue, 8 Apr 2014 21:50:16 +0000 (23:50 +0200)]
package/webkit: threads are also needed for icu

Add icu to the comment-list of packages requiring threads.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/php: intl support needs icu, which needs threads
Yann E. MORIN [Tue, 8 Apr 2014 21:50:15 +0000 (23:50 +0200)]
package/php: intl support needs icu, which needs threads

Fixes:
    http://autobuild.buildroot.net/results/156/1567be445b3ab9071717e9e72301818f95d0a143/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem: allow setting the local timezone for uClibc
Yann E. MORIN [Mon, 7 Apr 2014 19:58:08 +0000 (21:58 +0200)]
system: allow setting the local timezone for uClibc

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotz: new package
Alexandre Belloni [Mon, 7 Apr 2014 19:58:07 +0000 (21:58 +0200)]
tz: new package

uClibc can not use timezone info from tzdata as-is, but accepts setting
the local timezone in /etc/TZ.

[Peter: strip quotes/use local TZ_LOCALTIME variable]
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[yann.morin.1998@free.fr: make it a blind package; little tweak to help text]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotzdump: new host package
Alexandre Belloni [Mon, 7 Apr 2014 19:58:06 +0000 (21:58 +0200)]
tzdump: new host package

tzdump takes timezone info in the installed tzdata format, and
outputs timezone info parseable by uClibc.

[Peter: adjust host-zip dep, simplify build/install, use INSTALL variable]
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[yann.morin.1998@free.fr: split zic header-install to its own cset]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotzdata: allow host build
Alexandre Belloni [Mon, 7 Apr 2014 19:58:05 +0000 (21:58 +0200)]
tzdata: allow host build

uClibc uses its own format for timezone info. OTOH, we can generate
uClibc-compatible timezone info from existing tzdata.

Add a host-version of tzdata, so we can harvest its installed timezone
info.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem: add selection of a default localtime
Yann E. MORIN [Mon, 7 Apr 2014 19:58:04 +0000 (21:58 +0200)]
system: add selection of a default localtime

[Peter: strip quotes/use local TZDATA_LOCALTIME variable]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[alexandre.belloni: move from "tzdata" to "system configuration"]
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
[yann.morin.1998@free.fr: move into the BR2_TARGET_TZ_INFO conditionnal block]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosystem: make the zoneinfo list a system option
Yann E. MORIN [Mon, 7 Apr 2014 19:58:03 +0000 (21:58 +0200)]
system: make the zoneinfo list a system option

[Peter: move legacy options under 2014.05]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocppcms: fix build with uClibc
Lucile Quirion [Mon, 7 Apr 2014 19:17:24 +0000 (15:17 -0400)]
cppcms: fix build with uClibc

This patch modifies the cppcms package in order to support uClibc-based
toolchains.

The booster library by default compiles with the posix backend under
Linux, but this needs monetary.h which isn't provided by uClibc, so
work around that with the help of the DISABLE_POSIX_LOCALE configure
option.

Signed-off-by: Lucile Quirion <lucile.quirion@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to version 3.2.13
Gustavo Zacarias [Tue, 8 Apr 2014 11:53:28 +0000 (08:53 -0300)]
gnutls: bump to version 3.2.13

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoutil-linux: add missing dependency on libcap-ng
Romain Naour [Sun, 6 Apr 2014 12:37:34 +0000 (14:37 +0200)]
util-linux: add missing dependency on libcap-ng

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoutil-linux: add a check for mkostemp()
Romain Naour [Sun, 6 Apr 2014 12:37:33 +0000 (14:37 +0200)]
util-linux: add a check for mkostemp()

mkostemp() is missing with older version of uClibc (uClibc <= 0.9.33).
So, we need to check if mkostemp() is available.
If not, we use a wrapper function based on mkstemp() to implement it.

Since util-linux v2.23, mkostemp() is called with O_CLOEXEC flag.
If we use a define to mkstemp() to implement mkostemp(), flags will be
discared.
mkstemp() will pass O_RDWR|O_CREAT|O_EXCL, but not O_CLOEXEC, which
means that the file descriptor will no longer be closed automatically
upon exec().

To avoid to discard the flags, we add a call to fcntl() to set O_CLOEXEC
flag just after mkstemp().

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibsoup: fix build with host python3
Baruch Siach [Tue, 8 Apr 2014 11:25:09 +0000 (14:25 +0300)]
libsoup: fix build with host python3

Apply upstream patch to make tld-parser.py python3 compatible.

Fixes:
http://autobuild.buildroot.net/results/d22/d22edc19001037f9593f45444ed953f74ee6b806/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibuci: bump version and remove obsolete patch
Yegor Yefremov [Tue, 8 Apr 2014 08:03:34 +0000 (10:03 +0200)]
libuci: bump version and remove obsolete patch

The uci-fix-Lua-finding.patch was upstreamed, so remove it.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotaglib: needs wchar
Peter Korsgaard [Tue, 8 Apr 2014 07:50:19 +0000 (09:50 +0200)]
taglib: needs wchar

Fixes http://autobuild.buildroot.net/results/02a/02a6874aa21041ac9fef6fef51410c2ad92881c4/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssl: bump to version 1.0.1g
Baruch Siach [Tue, 8 Apr 2014 04:31:35 +0000 (07:31 +0300)]
openssl: bump to version 1.0.1g

Fixes highly critical CVE-2014-0160. See http://heartbleed.com .

Drop patch applied upstream.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoagentpp: new package
Luca Ceresoli [Sun, 6 Apr 2014 22:20:06 +0000 (00:20 +0200)]
agentpp: new package

[Peter: add threads dependency, style fixes]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: add option to disable SNMPv3 support
Luca Ceresoli [Sun, 6 Apr 2014 22:20:05 +0000 (00:20 +0200)]
snmppp: add option to disable SNMPv3 support

Disabling SNMPv3 support also removes the dependency on OpenSSL, which is
pretty large (over 2 MB of uncompressed filesystem size on an ARM926 platform).

BR2_PACKAGE_SNMPPP_SNMPV3 defaults to yes for backward compatibility with
previous Buildroot releases, where SNMPv3 was always enabled.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: add option to enable logging
Luca Ceresoli [Sun, 6 Apr 2014 22:20:04 +0000 (00:20 +0200)]
snmppp: add option to enable logging

SNMP++ logging can be overly verbose, and according to the SNMP++
documentation, disabling logging "increases performance drastically and
minimizes memory consumption".

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: update download URL
Luca Ceresoli [Sun, 6 Apr 2014 22:20:03 +0000 (00:20 +0200)]
snmppp: update download URL

The filename of the SNMP++ sources has changed.
The old one is still working because the server automatically redirects to the
new file, but it is safer to use the official name.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosnmppp: fix missing includes
Luca Ceresoli [Sun, 6 Apr 2014 22:20:02 +0000 (00:20 +0200)]
snmppp: fix missing includes

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibuci: Disable lua binding on no mmu
Romain Naour [Mon, 7 Apr 2014 20:43:41 +0000 (22:43 +0200)]
libuci: Disable lua binding on no mmu

Same error as in libubox package.
http://autobuild.buildroot.net/results/1a5/1a5c50f8ca0ae70c1e0d3733765f521790b97a30/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibubox: Disable lua binding on no mmu
Romain Naour [Mon, 7 Apr 2014 20:33:26 +0000 (22:33 +0200)]
libubox: Disable lua binding on no mmu

The Lua binding option of libubox need to be
explicitly disabled on no mmu case.

Fixes:
http://autobuild.buildroot.net/results/1a5/1a5c50f8ca0ae70c1e0d3733765f521790b97a30/build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/exim: uses fork(), needs an MMU
Yann E. MORIN [Mon, 7 Apr 2014 20:48:23 +0000 (22:48 +0200)]
package/exim: uses fork(), needs an MMU

Fixes:
    http://autobuild.buildroot.net/results/95d/95ddd8e9be96f3808612db02642d72cfe77b3c26/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: Romain Naour<romain.naour@openwide.fr>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoharfbuzz: fix static linking of test programs when toolchain has threads support
Peter Korsgaard [Mon, 7 Apr 2014 21:55:20 +0000 (23:55 +0200)]
harfbuzz: fix static linking of test programs when toolchain has threads support

Fixes http://autobuild.buildroot.net/results/701/701a1a260a58a81f45b3b9eae7eb47b400e05b37/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoDon't build host-xz needlessly
Baruch Siach [Sun, 6 Apr 2014 14:06:04 +0000 (17:06 +0300)]
Don't build host-xz needlessly

Since commit d1f325f554cab (xzcat: treat as host prerequisite and build if
needed) host-xz is always built when the host does not have xz installed.
Removed all other host-xz dependencies.

[Peter: don't drop for host-squashfs, as that needs libxz development files]
Cc: Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoexternal toolchain: add 3.14 choice for kernel headers
Samuel Martin [Sun, 6 Apr 2014 16:27:49 +0000 (18:27 +0200)]
external toolchain: add 3.14 choice for kernel headers

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibunwind: needs set/getcontext, which only got added to uClibc post-0.9.33
Peter Korsgaard [Sun, 6 Apr 2014 22:34:42 +0000 (00:34 +0200)]
libunwind: needs set/getcontext, which only got added to uClibc post-0.9.33

Fixes http://autobuild.buildroot.net/results/3e8/3e8670ab1454118baf1e4a5ca632d45963ba3781/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoweston: add optional libunwind support
Peter Korsgaard [Sun, 6 Apr 2014 21:54:35 +0000 (23:54 +0200)]
weston: add optional libunwind support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: add optional libunwind support
Peter Korsgaard [Sun, 6 Apr 2014 21:52:05 +0000 (23:52 +0200)]
xserver_xorg-server: add optional libunwind support

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolttng-libust: Disable liblttng-ust-dl with uClibc.
Romain Naour [Sun, 30 Mar 2014 12:18:50 +0000 (14:18 +0200)]
lttng-libust: Disable liblttng-ust-dl with uClibc.

According to uClibc commit [1], dlinfo is not available.
To be able to use LTTng UST with uClibc, we need to disable
the Dynamic Linker Tracing functionality [2].

Fixes:
http://autobuild.buildroot.net/results/a6c/a6c33dd7ec2a36a50c5ea74b989a371d6c85e899/build-end.log

[1] http://git.uclibc.org/uClibc/commit/?id=f3c9dc499c5c787ddd8c4320f2d44d2ae6e40c22
[2] http://lists.lttng.org/pipermail/lttng-dev/2014-February/022423.html

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>
10 years agopackage/eudev: use new upstream patch to fix fcntl issue
Yann E. MORIN [Sun, 6 Apr 2014 15:04:48 +0000 (17:04 +0200)]
package/eudev: use new upstream patch to fix fcntl issue

This is upstream's third attempt at fixing the issue.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agosupport/check-kernel-headers: use mktemp instead of hand-crafted temp file
Yann E. MORIN [Sun, 6 Apr 2014 14:59:28 +0000 (16:59 +0200)]
support/check-kernel-headers: use mktemp instead of hand-crafted temp file

Instead of creating a temporary files with a dubious scheme, use mktemp,
which purpose is exactly that: creating temporary files

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agofmtools: Switch to 2.x series
Maarten ter Huurne [Thu, 3 Apr 2014 21:01:17 +0000 (23:01 +0200)]
fmtools: Switch to 2.x series

Specifically, bump version to 2.0.1.
The 2.x series uses the V4L2 API instead of V4L.

Signed-Off-By: Maarten ter Huurne <maarten@treewalker.org>
Acked-By: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agogst-fsl-plugins: Refresh one patch to fix build
Vincent Stehlé [Fri, 4 Apr 2014 09:47:22 +0000 (11:47 +0200)]
gst-fsl-plugins: Refresh one patch to fix build

This fixes the following patch application error when building for i.MX6:

  Applying gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch using patch:
  patching file configure.ac
  Hunk #1 succeeded at 178 with fuzz 2 (offset 5 lines).
  patching file libs/Makefile.am
  Hunk #1 FAILED at 12.
  1 out of 1 hunk FAILED -- saving rejects to file libs/Makefile.am.rej
  Patch failed!  Please fix gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch!

Signed-off-by: Vincent Stehlé <vincent.stehle@freescale.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Eric Nelson <eric.nelson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopkg-download: update the github helper
Samuel Martin [Sun, 9 Mar 2014 18:54:35 +0000 (19:54 +0100)]
pkg-download: update the github helper

Once again, github updates the source download url.
Even if only the zip archive link is advertised on the repositories'
page, the *.tar.gz is still available.

It is worthy to note that the tarball's content differs depending if
it has been fetched from the former and the new url (the root directory
name changes).

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain: print actual version of kernel headers when checking
Yann E. MORIN [Sun, 30 Mar 2014 12:59:30 +0000 (14:59 +0200)]
toolchain: print actual version of kernel headers when checking

Since we introduced the _AT_LEAST_XXX for the kernel headers, people
using pre-built custom toolchain now have to specify the version of
the kernel headers their custom toolchain uses.

So, when we detect that there is a mismatch between the selection in
the menuconfig, and the actual version of the headers, we currently
only bail out with a terse message "Incorrect selection of kernel
headers".

This could be confusing some, and getting the version of the headers
used by the toolchain is not trivial (well, it's very easy, but not
trivial.)

This patch changes the way we report the error by moving the message
into the test-code, and by printing the expected and actual versions
of the kernel headers.

BUT! To get this pretty error message, we need to run the
test-program, so we can not use the cross-toolchain, we have to use
the native one.

BUT! The native one has its own linux/version.h header, so we can not
simply include it.

So, we ask the cross-compiler where its default sysroot is, and use
that to then force-feed the cross linux/version.h to the native
toolchain.

[Thomas: augment commit log with a message provided by Yann, fix
coding style to not have spaces after opening parenthesis and before
closing parenthesis, reformatted the message "Incorrect selection..."
to make it fit on one line.]

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agotoolchain: control vendor part in GNU_TARGET_NAME
Noam Camus [Tue, 1 Apr 2014 06:25:47 +0000 (06:25 +0000)]
toolchain: control vendor part in GNU_TARGET_NAME

This option allows to customize the "vendor" part of the
toolchain tuple, where the toolchain tuple has the form
<arch>-<vendor>-<os>-<libc>. Use this option in situations
where gcc might make different decisions based on the vendor
part of the tuple.

[Thomas: move the config option in a slightly different place, so that
it does not appear between the C library selection and the C library
options.]

Signed-off-by: "Noam Camus" <noamc@ezchip.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoutil-linux: unshare: include libmount.h to provide missing MS_* defines
Romain Naour [Sun, 6 Apr 2014 09:29:12 +0000 (11:29 +0200)]
util-linux: unshare: include libmount.h to provide missing MS_* defines

upstream patch: d754315c54af9cb8222e0a04ed5b2b4b927ed176

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibevdev: adjust host-python dependency
Samuel Martin [Sun, 6 Apr 2014 11:36:26 +0000 (13:36 +0200)]
libevdev: adjust host-python dependency

libevdev depends on host-python because of some of its build scripts.
These build scripts support python2 and python3.

When python3 is part of the target selection, then we can just use the
interpreter provided by the host-python3 package.

Fixes:
  http://autobuild.buildroot.net/results/dd0/dd04833b11a0ebb0193c861cb375b2112dd339d1/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agonut: needs mmu
Romain Naour [Sun, 6 Apr 2014 09:23:07 +0000 (11:23 +0200)]
nut: needs mmu

While investigating on build failure [1], I realized that nut needs mmu since fork() is used.
So, conditions of this build failure are no longer encountered.

[1] http://autobuild.buildroot.net/results/961/96193e18782697c2af8813a7714b66b4ba1f3d1c//build-end.log

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agoexim: move to "Mail" menu
Luca Ceresoli [Sat, 5 Apr 2014 22:22:38 +0000 (00:22 +0200)]
exim: move to "Mail" menu

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopython: fix host-python symlink installation when no python is selected
Samuel Martin [Sun, 6 Apr 2014 07:35:15 +0000 (09:35 +0200)]
python: fix host-python symlink installation when no python is selected

When no python interpreter is selected, all host-python symlink
installation were disabled.
This could lead to a non-existing $(HOST_DIR)/usr/bin/python program.

Fixes:
  http://autobuild.buildroot.net/results/6e7/6e74a343b4e8e113fd34d45c9279419e233afe8a/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agolibuci: fix Lua finding
Yegor Yefremov [Sat, 5 Apr 2014 17:46:28 +0000 (19:46 +0200)]
libuci: fix Lua finding

This patch fixes Lua path comparison, if Lua is not provided.

Fixes

  http://autobuild.buildroot.org/results/a14/a140e9ea33202e8b870ec047a573f269e9a74b08/

[Thomas: add reference to the autobuilder failure.]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agovirtual-package: fake a version string for virtual packages
Yann E. MORIN [Sat, 5 Apr 2014 15:21:57 +0000 (17:21 +0200)]
virtual-package: fake a version string for virtual packages

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/udev: convert to the virtual-package infrastructure
Yann E. MORIN [Sat, 5 Apr 2014 15:21:56 +0000 (17:21 +0200)]
package/udev: convert to the virtual-package infrastructure

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Mike Zick <minimod@morethan.org>
[eric.le.bihan.dev@free.fr: tested with both systemd and eudev, on QEMU x86]
Tested-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 years agopackage/cryptodev: convert to the virtual-package infrastructure
Yann E. MORIN [Sat, 5 Apr 2014 15:21:55 +0000 (17:21 +0200)]
package/cryptodev: convert to the virtual-package infrastructure

Since this package is implemented via a choice rather than the usual
separate-package providers, we only need BR2_PACKAGE_HAS_CRYPTODEV
to be always defined when the 'cryptodev' package is selected.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Mike Zick <minimod@morethan.org>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>