buildroot.git
11 years agoConfig.in files: add missing dependencies to toolchain option comments
Thomas De Schampheleire [Thu, 7 Nov 2013 08:24:37 +0000 (09:24 +0100)]
Config.in files: add missing dependencies to toolchain option comments

When a package A depends on config option B and toolchain option C, then
the comment that is given when C is not fulfilled should also depend on B.
For example:

config BR2_PACKAGE_A
depends on BR2_B
depends on BR2_LARGEFILE
depends on BR2_WCHAR

comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHAR

This comment should actually be:

comment "A needs a toolchain w/ largefile, wchar"
depends on BR2_B
depends on !BR2_LARGEFILE || !BR2_WCHAR

or if possible (typically when B is a package config option declared in that
same Config.in file):

if BR2_B

comment "A needs a toolchain w/ largefile, wchar"
depends on !BR2_LARGEFILE || !BR2_WCHAR

[other config options depending on B]

endif

Otherwise, the comment would be visible even though the other dependencies
are not met.

This patch adds such missing dependencies, and changes existing such
dependencies from
  depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
  depends on BR2_BASE_DEP
  depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative)
toolchain dependencies. This strategy makes it easier to write such comments
(because one can simply copy the base dependency from the actual package
config option), but also avoids complex and long boolean expressions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 (untested)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomanual: clarify that Config.in comments should have correct dependencies
Thomas De Schampheleire [Thu, 7 Nov 2013 08:24:36 +0000 (09:24 +0100)]
manual: clarify that Config.in comments should have correct dependencies

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: "Samuel Martin" <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5webkit: fix build with bison-3.0
Samuel Martin [Sat, 9 Nov 2013 15:59:49 +0000 (16:59 +0100)]
qt5webkit: fix build with bison-3.0

- Add host-bison dependency
- Fetch patch from upstream fixing build with bison-3.0
  (already included in the next 5.2 release)

Fixes:
http://autobuild.buildroot.net/results/283/2831c0d859b035f7d2786f51885833a711b46b80/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: fix rpi/egl support (vc_dispmanx_element_change_attributes proto mismatch)
Samuel Martin [Sat, 9 Nov 2013 15:59:48 +0000 (16:59 +0100)]
qt5base: fix rpi/egl support (vc_dispmanx_element_change_attributes proto mismatch)

Patch from upstream already included in the next 5.2 release

Fixes:
http://autobuild.buildroot.net/results/347/347577bf1dee0fec3302a45f278eb253118a5b6f/build-end.log

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxorg: needs thread support
Jerzy Grzegorek [Sat, 9 Nov 2013 00:21:21 +0000 (01:21 +0100)]
xorg: needs thread support

libpthread-stubs, libX11, and a few more xorg packages use threads. Since
almost all xorg packages depend on libX11 directory or indirectly, and
since the remaining ones are pretty useless on their own, just require
threads for xorg as a whole.

The thread dependency is kept in libpthread-stubs, because that package
will move out of the x11r7 directory later (pending patch by Spenser
Gilliland), so the dependency on threads will be required then.

Fixes:
  http://autobuild.buildroot.org/results/609/6099baac4bb469ae18aab6512233db25183eaabd/

[Arnout: disable all of xorg, correct comment]
Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoxlib_libpthread-stubs: needs -pthread when linking statically
Arnout Vandecappelle [Sat, 9 Nov 2013 00:21:20 +0000 (01:21 +0100)]
xlib_libpthread-stubs: needs -pthread when linking statically

Fixes e.g. http://autobuild.buildroot.net/results/1eaa694263b74313b0c90c510abcb11d490a3773/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoGeneration of locales: made call to tr more robust and added LOWERCASE macro
Thierry Bultel [Sun, 10 Nov 2013 17:32:52 +0000 (18:32 +0100)]
Generation of locales: made call to tr more robust and added LOWERCASE macro

When calling 'tr' without quoting braces, bash can make really weird things
if there are existing 'single-letter-named' directories
eg:
thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z]
aaa
thierry@thierry-desktop:~$ mkdir m
thierry@thierry-desktop:~$ echo AAA | tr [A-Z] [a-z]
AAA

The (quick) analysis is that the callee (tr) argvs then
contain 'm' thus the translation does not work

Using quotes works around it:
thierry@thierry-desktop:~$ echo AAA | tr '[A-Z]' '[a-z]'
aaa

Signed-off-by: Thierry Bultel <thierry.bultel@wanadoo.fr>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agozmqpp: fix build failure
Simon Dawson [Sun, 10 Nov 2013 20:58:33 +0000 (20:58 +0000)]
zmqpp: fix build failure

The zmqpp client needs a little help to link against libpthread. Fix build
failures such as the following.

  http://autobuild.buildroot.net/results/d0a/d0a740d4d5414844ca7f2de266fc92223d3d20c8

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibmicrohttpd: disable epoll support on avr32
Peter Korsgaard [Sun, 10 Nov 2013 22:33:54 +0000 (23:33 +0100)]
libmicrohttpd: disable epoll support on avr32

As it isn't available.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouclibc: fix MIPS variables
Thomas Petazzoni [Sun, 10 Nov 2013 15:01:42 +0000 (16:01 +0100)]
uclibc: fix MIPS variables

The BR2_UCLIBC_MIPS_ISA hidden Config.in variable defines which uClibc
config option should be enabled for a given MIPS architecture
variant. Therefore, using lower case names doesn't work: they should
be upper case, to match uClibc config option names. This commit makes
sure the mips32, mips32r2 and mips64 builds select the appropriate
uClibc configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agofreetype: add libpng to freetype-config and freetype2.pc
Gustavo Zacarias [Sun, 10 Nov 2013 14:03:09 +0000 (11:03 -0300)]
freetype: add libpng to freetype-config and freetype2.pc

Add libpng libraries to freetype-config and freetype2.pc when they're
needed to avoid build breakage for other packages.

Patch in a different form is already upstream.

Fixing configure & friends is not so good since autoreconf busts things
up because of the odd way things are done (upstream fixed too it seems).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs: rename rpi_defconfig for consistency
mathieu benoit [Sun, 10 Nov 2013 12:16:22 +0000 (13:16 +0100)]
configs: rename rpi_defconfig for consistency

We name all of our boards and defconfig files based on the boards
fullname, not a nickname or a shortname.

'rpi' is short for Raspberry Pi, so name all our Raspberry Pi ressource
with 'raspberrypi' instead of 'rpi'.

This should also help Buildroot-newcomers to recognise Raspberry Pi
related files (defconfig and board doc).

Signed-off-by: Mathieu Benoit <mathieu.benoit@savoirfairelinux.com>
[yann.morin.1998@free.fr: reverse the rename]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenssh: bump version
Peter Korsgaard [Sun, 10 Nov 2013 21:17:29 +0000 (22:17 +0100)]
openssh: bump version

From the announcement:

This release fixes a security bug:

 * sshd(8): fix a memory corruption problem triggered during rekeying
   when an AES-GCM cipher is selected. Full details of the vulnerability
   are available at: http://www.openssh.com/txt/gcmrekey.adv

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibqrencode: select libpng only when tools are selected
Danomi Manchego [Fri, 8 Nov 2013 03:10:39 +0000 (22:10 -0500)]
libqrencode: select libpng only when tools are selected

As stated on the libqrencode web site, PNG (or SDL) is only
needed for the test and utility programs; the library itself
has no dependencies.

While we are here, remove spaces in the ifeq clause, to match
the examples in the buildroot manual.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoConfig.in.legacy: select BR2_LEGACY for module-init-tools legacy option
Thomas Petazzoni [Thu, 7 Nov 2013 19:09:48 +0000 (20:09 +0100)]
Config.in.legacy: select BR2_LEGACY for module-init-tools legacy option

Commit 94c72087f3 ("module-init-tools: remove package") removed the
module-init-tools package and therefore added the corresponding config
option in Config.in.legacy. However, the commit forgot to add the
"select BR2_LEGACY" that ensures the build cannot proceed until the
user has acknowledged the change (i.e kmod replacing
module-init-tools).

This commit adds this missing "select BR2_LEGACY".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt: remove the BR2_PACKAGE_QT_JAVASCRIPTCORE option
Thomas Petazzoni [Thu, 7 Nov 2013 19:07:21 +0000 (20:07 +0100)]
qt: remove the BR2_PACKAGE_QT_JAVASCRIPTCORE option

The BR2_PACKAGE_QT_JAVASCRIPTCORE option was available to force the
activation or disabling of the JIT compiler in the Qt Javascript
interpreter. However, the JIT compiler is not available for all
architectures, so forcing its activation does not always
work. Moreover, Qt knows by itself for which architectures JIT support
is possible, and will automatically enable it if possible.

Therefore, this option was in fact useless, and causing build problems
when enabled on architectures for which the JIT support was not
available. This commit removes this option and there is no
replacement: Qt will enable JIT at compile time when possible.

Fixes:

  http://autobuild.buildroot.org/results/aae/aaeb82753b7654eeca679ded5d0211ceebda3ea2/build-end.log
  http://autobuild.buildroot.org/results/367/3670e4f03ff0ce114c90bd7139243d82c427b52a/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouclibc-snapshot: enable option UCLIBC_HAS_OBSTACK
Chris Zankel [Thu, 7 Nov 2013 22:22:12 +0000 (14:22 -0800)]
uclibc-snapshot: enable option UCLIBC_HAS_OBSTACK

Prior to uClibc commit f143f920694c, uClibc used to always include the
gnu obstack extension, which is used and required by many tools, such as
binutils.

Because of the change mentioned above, obstack is now optional, and got
disabled per default, so enable it in the uClibc snapshot configuration file.

Signed-off-by: Chris Zankel <chris@zankel.net>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoavr32: fix uclibc build using recent kernel headers
Simon Dawson [Fri, 8 Nov 2013 09:42:03 +0000 (09:42 +0000)]
avr32: fix uclibc build using recent kernel headers

Using kernel headers newer than 3.6.x, uclibc 0.9.31.1 fails to build:

  In file included from output/host/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/rtnetlink.h:6,
                 from libc/inet/netlinkaccess.h:34,
                 from libc/inet/if_index.c:36:
  output/host/usr/avr32-buildroot-linux-uclibc/sysroot/usr/include/linux/if_link.h:314: error: expected specifier-qualifier-list before '__be16'
  make[1]: *** [libc/inet/if_index.os] Error 1
  make[1]: Leaving directory `output/build/uclibc-0.9.31.1'
  make: *** [output/build/uclibc-0.9.31.1/.stamp_built] Error 2

This patch adjusts the system type definitions in the netlinkaccess.h
header, updating the types to match those used in uClibc 0.9.33.2.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agogutenprint: fix download url
Arnaud Aujon [Fri, 8 Nov 2013 12:11:56 +0000 (13:11 +0100)]
gutenprint: fix download url

Signed-off-by: Arnaud Aujon <arnaud.aujon@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenpgm: disable for AVR32, not its Buildroot-built toolchain
Alexander Lukichev [Fri, 8 Nov 2013 13:09:19 +0000 (15:09 +0200)]
openpgm: disable for AVR32, not its Buildroot-built toolchain

OpenPGM builds incorrectly on AVR32 with gcc-4.2.2-avr32-2.1.5.
Since it is presumed to be the only GCC version used by Buildroot
for AVR32, this patch disables openpgm for all cases when AVR32
is selected as the target architecture, including when a toolchain
is downloaded or preinstalled (this is what Buildroot autobuilders
do).

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodhcpcd: bump to version 6.1.0
Gustavo Zacarias [Fri, 8 Nov 2013 12:26:52 +0000 (09:26 -0300)]
dhcpcd: bump to version 6.1.0

Now has proper support for nommu and non-IPv6.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agomplayer: disable for anything lower than ARMv5
Gustavo Zacarias [Sat, 9 Nov 2013 20:57:37 +0000 (17:57 -0300)]
mplayer: disable for anything lower than ARMv5

Disable mplayer for anything lower than a v5 ARM core.
The support is broken and it's kind of pointless anyway. Fixes:
http://autobuild.buildroot.net/results/8f946e28b11b2ab1ba0d9688286c665488de0486/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agotrivial: pcmanfm: fix typo in config help
Thomas De Schampheleire [Thu, 7 Nov 2013 10:29:09 +0000 (11:29 +0100)]
trivial: pcmanfm: fix typo in config help

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agouclibc: reinstate support for version 0.9.31
Simon Dawson [Thu, 7 Nov 2013 09:24:49 +0000 (09:24 +0000)]
uclibc: reinstate support for version 0.9.31

This patch reinstates support for uClibc version 0.9.31, which was removed
from Buildroot in commit 8abb5b33c1aae035cf48b1c81104b433ff884c64

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoopenpgm: disable on AVR32
Alexander Lukichev [Thu, 7 Nov 2013 06:32:01 +0000 (08:32 +0200)]
openpgm: disable on AVR32

openpgm doesn't build correctly on AVR32 using
gcc-4.2.2-avr32-2.1.5 toolchain: it is configured to call
intrinsic atomic functions not provided by the toolchain,
so they are propagated as unresolved external symbols in the
built openpgm libraries. This breaks programs that try to link
openpgm, because they do not know where to get those either. For
instance, it breaks building zeromq tests when PGM support is
selected.

This commit disables openpgm on AVR32 due to apparent absence of
interest in this package on that architecture and it breaking too
many test builds.

Fixes http://autobuild.buildroot.net/results/5a3261109ea63ba17375003eabd8b5d88757865f/
(at least)

Signed-off-by: Alexander Lukichev <alexander.lukichev@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoMakefile: fix out-of-tree builds with multiple targets with 'all'
Yann E. MORIN [Tue, 5 Nov 2013 23:28:20 +0000 (00:28 +0100)]
Makefile: fix out-of-tree builds with multiple targets with 'all'

For out-of-tree builds, this use-case fails to build:
    $ make clean all

This is because 'all' is filtered-out in the Makefile wrapper, since
the wrapper itself has a 'all' target.

The 'all' target is just the usual naming for the default target in a
Makefile. In fact, the first target is the default one, so we can name
it whatever we want.

Rename the Makefile wrapper 'all' target to avoid name-clashing.

Fixes #6644.

Reported-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ryan Barnett <rjbarnet@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agorpi: improve documentation
mathieu benoit [Tue, 5 Nov 2013 23:28:18 +0000 (00:28 +0100)]
rpi: improve documentation

Signed-off-by: Mathieu Benoit <mathieu.benoit@savoirfairelinux.com>
[yann.morin.1998@free.fr: further improvements for readability and
    completeness]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/nut: new package
Yann E. MORIN [Tue, 5 Nov 2013 23:28:16 +0000 (00:28 +0100)]
package/nut: new package

'nut' are the Network UPS Tools.

[Note: original patch from Dallas, but completely revamped
 by Yann, so nothing remains from the original patch, but two
 variable names.]

Signed-off-by: Dallas Clement <dallas.a.clement@gmail.com>
[yann.morin.1998@free.fr: refresh patch, use latest version,
    add license, fix commit message, add dependencies, fix
    runtime path, fix libs-config, move to 'system utils']
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibevas: disable on avr32
Simon Dawson [Wed, 6 Nov 2013 13:56:20 +0000 (13:56 +0000)]
libevas: disable on avr32

Neither epoll_create1 nor inotify_init1 is available on avr32. Fixes build
failures such as the following.

  http://autobuild.buildroot.net/results/4d435a5fc608936362d605aca696c01023be9723

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconnman: disable on avr32
Simon Dawson [Wed, 6 Nov 2013 14:38:23 +0000 (14:38 +0000)]
connman: disable on avr32

The inotify_init1 syscall is not available on avr32. Fixes build failures
such as the following.

  http://autobuild.buildroot.net/results/0d8/0d8e7bd8bd3f227fabfb0d5feb59a5d316026d3f

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoavr32: pass target arch to gcc
Simon Dawson [Wed, 6 Nov 2013 19:45:10 +0000 (19:45 +0000)]
avr32: pass target arch to gcc

As suggested by Alexander Lukichev and Thomas Petazzoni on the mailing list,
only one of the two avr32 microarchitectures is relevant for Buildroot:
avr32 Linux implies the avr32b microarchitecure, as used in the ap7000.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoaircrack-ng: add security patch for CVE-2010-1159
Gustavo Zacarias [Wed, 6 Nov 2013 12:15:23 +0000 (09:15 -0300)]
aircrack-ng: add security patch for CVE-2010-1159

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopolarssl: bump to version 1.2.10
Gustavo Zacarias [Wed, 6 Nov 2013 12:06:34 +0000 (09:06 -0300)]
polarssl: bump to version 1.2.10

Fixes a memory leak in RSA blinding.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agobusybox: minor fixes to S01logging bootscript
Javier Viguera [Wed, 6 Nov 2013 10:00:56 +0000 (11:00 +0100)]
busybox: minor fixes to S01logging bootscript

* The PID file is not created unless the '-m' option is passed to
  start-stop-daemon.

* Remove the mark '-m 0' option as it's not supported by busybox's
  syslogd.

* Syslogd and Klogd forks to background by default giving as a result
  that the pid stored in the PID file is not correct. Let the
  background job be done by 'start-stop-daemon' by passing '-n'
  (foreground) to the daemons and '-b' to start-stop-daemon. This
  way the pid stored in the PID files is correct.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocurl: fix homepage
Gustavo Zacarias [Wed, 6 Nov 2013 10:21:34 +0000 (07:21 -0300)]
curl: fix homepage

cURL's homepage is curl.haxx.se and not curl.haxx.nu

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agowireshark: security bump to version 1.8.11
Gustavo Zacarias [Wed, 6 Nov 2013 10:11:37 +0000 (07:11 -0300)]
wireshark: security bump to version 1.8.11

Fixes CVE-2013-6336, CVE-2013-6337, CVE-2013-6338, CVE-2013-6339,
CVE-2013-6340, CVE-2013-4927, CVE-2013-4929, CVE-2013-4930,
CVE-2013-4931, CVE-2013-4932, CVE-2013-4933, CVE-2013-4934,
CVE-2013-4935, CVE-2013-5718, CVE-2013-5719, CVE-2013-5720,
CVE-2013-5721 and CVE-2013-5722.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonettle: disable openssl support for (unused) examples
Peter Korsgaard [Wed, 6 Nov 2013 10:53:43 +0000 (11:53 +0100)]
nettle: disable openssl support for (unused) examples

Works around a linker issue when statically linking:

http://autobuild.buildroot.net/results/e3f43fed8f57c52e07e20055f11680f8200fb65e/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosqlcipher: fix download url
Romain Naour [Tue, 5 Nov 2013 22:59:17 +0000 (23:59 +0100)]
sqlcipher: fix download url

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodependencies.sh: update i386 package names
Frank Hunleth [Tue, 5 Nov 2013 20:12:31 +0000 (15:12 -0500)]
dependencies.sh: update i386 package names

This is the list needed to run the Linaro pre-built toolchain
on a 64-bit Ubuntu 13.10 system.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/zic: bump
Yann E. MORIN [Tue, 5 Nov 2013 18:28:06 +0000 (19:28 +0100)]
package/zic: bump

This bump to allign with the tzdata bump in previous commit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/tzdata: bump
Yann E. MORIN [Tue, 5 Nov 2013 18:28:05 +0000 (19:28 +0100)]
package/tzdata: bump

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-userland: bump
Yann E. MORIN [Tue, 5 Nov 2013 18:28:04 +0000 (19:28 +0100)]
package/rpi-userland: bump

Fixes for camera features (exposure, capture loop, shutter speed),
h264 encoding headers, EXIF thumbnails.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agopackage/rpi-firmware: bump
Yann E. MORIN [Tue, 5 Nov 2013 18:28:03 +0000 (19:28 +0100)]
package/rpi-firmware: bump

Further fixes for de-interlacing.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/p1010rdb: bump to the latest and greatest versions
Gustavo Zacarias [Tue, 5 Nov 2013 12:03:30 +0000 (09:03 -0300)]
configs/p1010rdb: bump to the latest and greatest versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/mpc8315erdb: bump to the latest and greatest versions
Gustavo Zacarias [Tue, 5 Nov 2013 12:03:29 +0000 (09:03 -0300)]
configs/mpc8315erdb: bump to the latest and greatest versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/imx233_olinuxino: bump to the latest versions
Gustavo Zacarias [Tue, 5 Nov 2013 12:03:28 +0000 (09:03 -0300)]
configs/imx233_olinuxino: bump to the latest versions

Also tweak the kernel and buildroot config for basic WiFi support.
And fetch the ASoC patches for builtin audio.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoconfigs/qemu: bump relevant config versions
Gustavo Zacarias [Tue, 5 Nov 2013 12:03:27 +0000 (09:03 -0300)]
configs/qemu: bump relevant config versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agocollectd: add option for sensors plugin
Peter Korsgaard [Tue, 5 Nov 2013 15:48:09 +0000 (16:48 +0100)]
collectd: add option for sensors plugin

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agodropwatch: fix avr32 build failure
Simon Dawson [Tue, 5 Nov 2013 07:55:14 +0000 (07:55 +0000)]
dropwatch: fix avr32 build failure

On avr32, dropwatch needs libiberty to avoid build failures such as

  http://autobuild.buildroot.net/results/cd5/cd5e22fb5c9b0fc5d396bc85a5e253a1a65054da/

Also test built on ARM.

[Peter: pass TARGET_LDFLAGS as well, append -lintl in gettext case]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibsigsegv: fix avr32 build
Simon Dawson [Tue, 5 Nov 2013 07:43:29 +0000 (07:43 +0000)]
libsigsegv: fix avr32 build

The libsigsegv configure step fails to correctly figure out the direction of
stack growth for avr32. This leads to a zero STACK_DIRECTION definition, and
build failures such as the following.

  http://autobuild.buildroot.net/results/a3fe938f9376533b4777d79deb7a2ee83ed5ce33

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinux: bump version to 3.12
Gustavo Zacarias [Mon, 4 Nov 2013 21:32:45 +0000 (18:32 -0300)]
linux: bump version to 3.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolinux-headers: bump 3. {2, 4, 10, 11}.x versions and add 3.12.x
Gustavo Zacarias [Mon, 4 Nov 2013 21:32:44 +0000 (18:32 -0300)]
linux-headers: bump 3. {2, 4, 10, 11}.x versions and add 3.12.x

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt: don't allow building WebKit on some architectures
Thomas Petazzoni [Sat, 2 Nov 2013 16:17:04 +0000 (17:17 +0100)]
qt: don't allow building WebKit on some architectures

WebKit has some architecture specific support, and therefore is not
necessarily available for all architectures. Make sure the Qt WebKit
option cannot be selected on those architectures that are not
supported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoomniorb: fix autobuilder failure
Matt Weber [Mon, 21 Oct 2013 13:39:17 +0000 (08:39 -0500)]
omniorb: fix autobuilder failure

http://autobuild.buildroot.net/results/e3244abc550a95eb69e63b8db203f39b27f3288e/

Turns out omniorb isn't building because of an old cross compile patch.
The last patchset was missing the delete.

Signed-off-by: Matt Weber <mlweber1@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agosqlite: Disable dynamic extention if static library is seleted
Sonic Zhang [Mon, 4 Nov 2013 09:49:44 +0000 (17:49 +0800)]
sqlite: Disable dynamic extention if static library is seleted

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonetperf: enable demo mode
Kelvin Cheung [Mon, 4 Nov 2013 02:19:21 +0000 (10:19 +0800)]
netperf: enable demo mode

Enable demo mode for netperf to activates a global "-D" <interval> option.
This option will display interim results at least every time interval.

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibvpx: needs thread support
Thomas Petazzoni [Sat, 2 Nov 2013 16:04:57 +0000 (17:04 +0100)]
libvpx: needs thread support

Fixes:

  http://autobuild.buildroot.org/results/8de/8def7e54e4fecb7df350443824c00b53d1c61c01/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
11 years agodhcpcd: needs MMU
Thomas Petazzoni [Sat, 2 Nov 2013 13:47:01 +0000 (14:47 +0100)]
dhcpcd: needs MMU

dhcpcd fails to build on non-MMU platforms, even with the
--disable-fork option:

  bind.o: In function `_daemonise':
  bind.c:(.text+0x62): undefined reference to `_fork'
  collect2: ld returned 1 exit status

Therefore, we make dhcpcd depend on MMU support, and remove the
non-MMU condition in the .mk file. More recent versions of dhcpcd do
support non-MMU properly, but this commit intends to be only a fix.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
11 years agolibnl: do not allow to build tools on static lib configs
Thomas Petazzoni [Sat, 2 Nov 2013 10:26:26 +0000 (11:26 +0100)]
libnl: do not allow to build tools on static lib configs

Building the libnl tools requires the <dlfcn.h> header, which is not
compatible with static only builds. Therefore, this commit makes the
libnl tools option depend on !BR2_PREFER_STATIC_LIB.

Fixes:

   http://autobuild.buildroot.org/results/573/57340b9bd2db3a523836e02e01cba6f7c17c8ca7/build-end.log

[Peter: fix tools comment dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
11 years agolibnl: simplify makefile by using --{enable, disable}-cli
Thomas Petazzoni [Sat, 2 Nov 2013 10:26:25 +0000 (11:26 +0100)]
libnl: simplify makefile by using --{enable, disable}-cli

The libnl configure script has a --{enable,disable}-cli options that
allows to enable or disable the compilation of the libnl tools. Use
this option instead of compiling everything and then removing the
installed programs.

Note that we also get rid of the uninstall command, which is planned
to be globally removed in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
11 years agolibcap: fix static link
Thomas Petazzoni [Fri, 1 Nov 2013 17:47:27 +0000 (18:47 +0100)]
libcap: fix static link

With BR2_PREFER_STATIC_LIB, libcap fails to build:

  http://autobuild.buildroot.net/results/619bceb3491ecd2ed4e1ae552fdb237a0ed2fa47/build-end.log

This is due to the fact that it still tries to build a shared
library. This commit fixes that by adding a patch that makes libcap
provide install-shared/install-static targets. We also now only build
the $(@D)/libcap subdirectory, so removing the build of the progs
subdirectory is no longer needed.

[Peter: fixup description]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibcap: rename existing patch
Thomas Petazzoni [Fri, 1 Nov 2013 17:47:26 +0000 (18:47 +0100)]
libcap: rename existing patch

libcap currently has one patch, but it is named using the old naming
strategy, which includes the package version, but not a patch
number. This commit switches this to use the new patch naming
strategy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
11 years agocryptsetup: Add libintl for UCLIBC toolchain
Clayton Shotwell [Fri, 1 Nov 2013 14:48:25 +0000 (07:48 -0700)]
cryptsetup: Add libintl for UCLIBC toolchain

Fixes autobuild error
http://autobuild.buildroot.net/results/cc1a65b9554bc2ece1b3ea8b51cd805b9bda7e86/

Adding libintl to the libraries list for cryptsetup when using a
uclibc toolchain and locale support is enabled.

Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agongrep: fix static linking issue with libpcre
Romain Naour [Sat, 2 Nov 2013 15:51:12 +0000 (16:51 +0100)]
ngrep: fix static linking issue with libpcre

Adding -lpcre in LDFLAGS place the library before object files:
gcc ... -lpcre -L.../sysroot/usr/lib -s -o ngrep ngrep.o -lpcap

Makefile.in is patched to use @LIBS@ for adding -lpcre in the right place.

Fixes:
http://autobuild.buildroot.net/results/684/684a3bed28d13ef5e5156257aade3b9aff32f180

[Peter: fixup patch description]
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agongrep: rename existing patch
Romain Naour [Sat, 2 Nov 2013 15:46:57 +0000 (16:46 +0100)]
ngrep: rename existing patch

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agopackage: cleanup github <pkg>{_VERSION, _SOURCE, _SITE} variable
Jerzy Grzegorek [Sat, 2 Nov 2013 16:13:34 +0000 (17:13 +0100)]
package: cleanup github <pkg>{_VERSION, _SOURCE, _SITE} variable

According to the documentation, chapter
6.2.8.2 How to add a package from github
"
[...]
FOO_VERSION = tag or full commit ID
FOO_SITE = http://github.com/<user>/<package>/tarball/$(FOO_VERSION)
[...]
- The tarball name generated by github matches the default one from
  Buildroot (...),
  so it is not necessary to specify it in the +.mk+ file.
"
This commit makes the appropriate changes.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agogit packages: use full revision hash
Thomas De Schampheleire [Sat, 2 Nov 2013 14:57:28 +0000 (15:57 +0100)]
git packages: use full revision hash

There is no benefit in using the shortened git revision hash. On the
contrary: the shorter the hash, the higher the risk of having collisions
with another commit.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agomanual: github commits should be specified in full
Thomas De Schampheleire [Sat, 2 Nov 2013 14:57:27 +0000 (15:57 +0100)]
manual: github commits should be specified in full

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agouboot-tools: fix license issues
Gustavo Zacarias [Tue, 22 Oct 2013 16:46:40 +0000 (13:46 -0300)]
uboot-tools: fix license issues

Fix license directory and filename change, fixes:
http://autobuild.buildroot.net/results/8c9/8c94c81fe74399c854de335329cf4942f8356fbe/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agorsync: use system zlib and popt, also do not lose debug options
Denis Mingulov [Wed, 16 Oct 2013 13:13:37 +0000 (16:13 +0300)]
rsync: use system zlib and popt, also do not lose debug options

rsync by default compiles statically its own zlib and popt
libraries, it is better to use system wide libraries instead -
both for disk and memory consumption. Change rsync package
accordingly.

Also previously a debug configure option has been lost, as
overwritten by '--with-included-popt' option - fixed.

For example, on ARMv5 rsync binary size is reduced by about 25%.

Signed-off-by: Denis Mingulov <denis@mingulov.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agomanual: customize-toolchain.txt: update internal backend section
Samuel Martin [Fri, 18 Oct 2013 20:31:34 +0000 (22:31 +0200)]
manual: customize-toolchain.txt: update internal backend section

Mention all supported C libraries by the internal Buildroot toolchain
backend.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agomanual: developer-guide.txt: cleanup non-existing source
Samuel Martin [Fri, 18 Oct 2013 20:31:29 +0000 (22:31 +0200)]
manual: developer-guide.txt: cleanup non-existing source

[Thomas: Added ThomasDS Acked-by, which was given on an earlier
version of the same patch.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
11 years agosupport: trivial fixes (typos and minor rewording) in gen-manual-lists.py
Samuel Martin [Fri, 18 Oct 2013 20:31:27 +0000 (22:31 +0200)]
support: trivial fixes (typos and minor rewording) in gen-manual-lists.py

[Thomas: added Thomas DS Acked-by, given at
http://patchwork.ozlabs.org/patch/284719/, and made the additional
typo fixes suggested by Thomas DS.]

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
11 years agomanual generation: rename manual-txt into manual-text
Thomas De Schampheleire [Fri, 18 Oct 2013 20:31:26 +0000 (22:31 +0200)]
manual generation: rename manual-txt into manual-text

The output extension and the generation messages refer to 'text', but the make
target was confusingly 'txt'. This patch changes the make target for
consistency.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agomanual generation: check dependencies first
Thomas De Schampheleire [Fri, 18 Oct 2013 20:31:25 +0000 (22:31 +0200)]
manual generation: check dependencies first

To generate the manual, you need a few tools. If these are not present,
pretty cryptic error messages are given.
This patch adds a simple check for these dependencies, before attempting to
build the manual.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agocppzmq/czmq: Update comment for needs threads support
Axel Lin [Mon, 21 Oct 2013 05:53:02 +0000 (13:53 +0800)]
cppzmq/czmq: Update comment for needs threads support

Comment 7e37d235f "zeromq: needs threads" adds BR2_TOOLCHAIN_HAS_THREADS
dependency but forgot to add corresponding comment for cppzmq and czmq. Fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agosysvinit: install new cmds and fix inittab
Ryan Barnett [Wed, 30 Oct 2013 22:55:32 +0000 (17:55 -0500)]
sysvinit: install new cmds and fix inittab

Adding support for sysvinit to install reboot, poweroff, and pidof
commands available in /sbin.

Fixes bug #6620

Removed uninstall commands since they aren't used.

There is an error with sysvinit that will prevent the system from booting
if "dshm::sysinit:/bin/mkdir -p /dev/shm" is not present in the inittab.

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoxenomai: use install-user to remove patch
Thomas Petazzoni [Wed, 30 Oct 2013 22:41:45 +0000 (23:41 +0100)]
xenomai: use install-user to remove patch

As noted by "George" in bug #6416, the xenomai-do-not-install-devices
patch is not needed, since Xenomai provides a "install-user" target to
only install the libraries/headers and not the device files. This
patch changes xenomai.mk to use 'install-user' and removes the useless
patch.

Fixes bug #6416.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agouemacs: fix package source
Arnaud Rébillout [Thu, 31 Oct 2013 10:39:48 +0000 (11:39 +0100)]
uemacs: fix package source

There is no bz2 archive for uemacs on kernel.org, only a gz archive.

Signed-off-by: Arnaud Rébillout <rebillout@syscom.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoConfig.in files: add/update comments on (e)glibc dependencies
Thomas De Schampheleire [Thu, 31 Oct 2013 12:02:39 +0000 (13:02 +0100)]
Config.in files: add/update comments on (e)glibc dependencies

This patch adds missing comments about (e)glibc dependencies and updates the
text of existing comments.

Additionally, it splits dependency expressions for the touched packages from
  depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC
to
  depends on BR2_BASE_DEP
  depends on !BR2_TOOLCHAIN_USES_GLIBC
so that (positive) base dependencies are separate from the (negative)
toolchain dependencies. This strategy makes it easier to write such comments
(because one can simply copy the base dependency from the actual package
config option), but also avoids complex and long boolean expressions.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agostrongswan: add security patches
Gustavo Zacarias [Fri, 1 Nov 2013 13:54:27 +0000 (10:54 -0300)]
strongswan: add security patches

Security patches to fix CVE-2013-5018, CVE-2013-6075 and CVE-2013-6076.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoutil-linux: Add --without-ncurses to host-util-linux
Olivier Schonken [Fri, 1 Nov 2013 11:59:01 +0000 (13:59 +0200)]
util-linux: Add --without-ncurses to host-util-linux

Ncurses not necessary when building host-util-linux, so passing
--without-ncurses avoids from misdetecting an installed host ncurses
on the build machine.

[Thomas: improve commit message]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoebtables: build fix for 64-bit kernel with 32-bit userland
Gustavo Zacarias [Fri, 25 Oct 2013 13:10:23 +0000 (10:10 -0300)]
ebtables: build fix for 64-bit kernel with 32-bit userland

Fixes bug #6602.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoarch/Config.in: introduce BR2_KERNEL_64_USERLAND_32 symbol
Gustavo Zacarias [Fri, 25 Oct 2013 13:10:22 +0000 (10:10 -0300)]
arch/Config.in: introduce BR2_KERNEL_64_USERLAND_32 symbol

On some architectures one can be running a 64-bit kernel with a 32-bit
userland. Such is the case for sparc64 (unsupported) for example and
mips64 with n32 ABI.

Some tools that interface directly with the kernel need to be built
specially for this, so introduce this symbol to tweak their build in
one central kludge to be future-proof.

Example: bug #6602.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agopkgconf: fix upstream URL
Thomas Petazzoni [Wed, 30 Oct 2013 21:49:43 +0000 (22:49 +0100)]
pkgconf: fix upstream URL

The upstream URL has changed to
http://rabbit.dereferenced.org/~nenolod/distfiles/, updated the
Buildroot pkgconf package accordingly.

Fixes #6638.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: <masrur.macece@gmail.com>
Cc: <masrur.macece@gmail.com>
11 years agolibcgroup: also needs host-flex
Gustavo Zacarias [Wed, 30 Oct 2013 18:12:02 +0000 (15:12 -0300)]
libcgroup: also needs host-flex

Fixes:
http://autobuild.buildroot.net/results/b43/b43ef442facd5aa136a77db99e57e02cc7e39a94/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agocjson: link with libm, unavailable for static
Gustavo Zacarias [Wed, 30 Oct 2013 19:03:31 +0000 (16:03 -0300)]
cjson: link with libm, unavailable for static

Link with libm as stated in the README, fixes:
http://autobuild.buildroot.net/results/57f/57fc124e14263ee2447e20a5b910ed3ae0a5b7db/

Also disable the package for static builds since it doesn't work that
way.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agotrace-cmd: fix ptrace detection
Romain Naour [Wed, 30 Oct 2013 21:39:52 +0000 (22:39 +0100)]
trace-cmd: fix ptrace detection

Ptrace support detection is ignored when CFLAGS is set by
buildroot. Use override in Makefile to add -DWARN_NO_PTRACE and
-DNO_PTRACE in CFLAGS if ptrace is not available.

Fixes:
  http://autobuild.buildroot.net/results/60e/60ed317d52d93ba2c087aa6ff4f422d760806d89//

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoglibc, toolchain-external: copy libthread_db when gdb is enabled
Thomas Petazzoni [Tue, 29 Oct 2013 20:54:02 +0000 (21:54 +0100)]
glibc, toolchain-external: copy libthread_db when gdb is enabled

As Samuel Martin noticed, libthread_db is not only needed when
cross-gdb+gdbserver is used, but also when the native gdb is used on
the target. As a consequence, this patch modifies the glibc package
and the external toolchain logic to ensure that libthread_db is copied
to the target either when the native gdb or gdbserver is enabled, by
relying on the BR2_PACKAGE_GDB option, which is enabled when native
gdb and/or gdbserver are enabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agotoolchain-external: fix visibility and length of Linaro toolchain comment
Thomas Petazzoni [Tue, 29 Oct 2013 20:54:01 +0000 (21:54 +0100)]
toolchain-external: fix visibility and length of Linaro toolchain comment

Maxime Ripard reported that the Linaro toolchains were not visible
when selecting a Cortex-A, but forgetting to set the EABI to
EABIhf. While this is expected, Buildroot should normally should a
comment in this case. However, the comment is only visible when the
selected ARM architecture is not ARMv7 *and* the EABI is not
EABIhf. Instead, make the comment visible when either the selected
architecture is not ARMv7 *or* when the selected EABI is not EABIhf.

While we're at it, reword the comment text so that it actually fits
within the limits of the menuconfig screen.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
11 years agotoolchain-external: add missing symlink for Linaro toolchains
Thomas Petazzoni [Tue, 29 Oct 2013 20:54:00 +0000 (21:54 +0100)]
toolchain-external: add missing symlink for Linaro toolchains

In 11ec38b6950 ("toolchain-external: fix Linaro ARM toolchain
support"), we fixed the support for Linaro EABIhf toolchains by adding
a /lib/arm-linux-gnueabihf -> /lib symbolic link. This is needed
because the dynamic loader looks for libraries in
/lib/arm-linux-gnueabihf rather than the usual /lib, but Buildroot
installs all libraries in /lib.

However, we forgot that the dynamic loader also loads libraries from
/usr/lib/arm-linux-gnueabihf rather than /usr/lib, so this patch fixes
that by adding the necessary symbolic link.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
11 years agosupport/kconfig: fix compile warning because of missing include.
Peter Seiderer [Tue, 29 Oct 2013 21:53:32 +0000 (22:53 +0100)]
support/kconfig: fix compile warning because of missing include.

With commit b58bf60b519353e983e372f5627d639e7cc72a7a the libgen.h
include was removed from confdata.c, but it is needed for the dirname
function declaration.

Fixes the following compile warning:
./confdata.c: In function ‘conf_split_config’:
./confdata.c:849:6: warning: assignment makes pointer from integer
without a cast

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoext-toolchain: MIPS: Select correct endianness for the target
Markos Chandras [Mon, 14 Oct 2013 09:52:25 +0000 (10:52 +0100)]
ext-toolchain: MIPS: Select correct endianness for the target

Previously, an external-toolchain on a mipsel/mips64el target
didn't select the appriopriate endianness but
it asked the user to set the correct CFLAGS on his/her own.
We fix this by appending "-EL" to the toolchain wrapper options
if the user has selected a mipsel/mips64el target.

[Thomas: remove unneeded test on BR2_ENDIAN, since mipsel and mips64el
are always little-endian, and add the corresponding big endian case.]

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agovalgrind: add support for glibc 2.17 and 2.18
Phil Eichinger [Mon, 28 Oct 2013 09:47:27 +0000 (10:47 +0100)]
valgrind: add support for glibc 2.17 and 2.18

Fixes: http://autobuild.buildroot.net/results/f086e65aca220bc9a5869f8fc8c1dca4d87ada7d/
Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoarch/mips: Set BR2_GCC_TARGET_ARCH for MIPS
Markos Chandras [Mon, 28 Oct 2013 14:21:09 +0000 (14:21 +0000)]
arch/mips: Set BR2_GCC_TARGET_ARCH for MIPS

Set --with-arch instead of --with-tune for MIPS so that the
generated code will be optimal for the given MIPS ISA.

Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 years agoalsamixergui: needs mmu
Gustavo Zacarias [Sun, 27 Oct 2013 22:54:19 +0000 (19:54 -0300)]
alsamixergui: needs mmu

Because of the new fl_open_uri() function since the fltk bump using
fork().

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agofltk: bump to version 1.3.2
Gustavo Zacarias [Sun, 27 Oct 2013 22:54:18 +0000 (19:54 -0300)]
fltk: bump to version 1.3.2

Fixes:
http://autobuild.buildroot.net/results/519/5195f7a8a38a5ba3ce5a0bf2a7649d390e461ee9/

The failure is related to bundled libpng conflicting with system libpng.
Which was a problem even before the libpng bump because the bundled
version for the previous fltk version has several security
vulnerabilities.
So disable bundled libraries and use global ones.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agolibpng: disable tools
Gustavo Zacarias [Sun, 27 Oct 2013 22:54:17 +0000 (19:54 -0300)]
libpng: disable tools

They can fail on some odd toolchain configurations because of
buildsystem shortcomings and aren't expected to be used in normal
scenarios.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agoqt5base: add tslib plugin
Ezequiel García [Mon, 28 Oct 2013 00:29:27 +0000 (21:29 -0300)]
qt5base: add tslib plugin

Add support for Tslib plugin.

[Peter: propagate !static dependency / add comment]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
11 years agonano: needs wchar
Gustavo Zacarias [Sun, 27 Oct 2013 23:18:19 +0000 (20:18 -0300)]
nano: needs wchar

Fixes:
http://autobuild.buildroot.net/results/317/3177b7d6168eec0620e4a1ade9166c9c84929e6e/

[Peter: add comment when not available]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>