buildroot.git
10 years agoiptraf-ng: new package
Ezequiel Garcia [Wed, 7 May 2014 20:07:28 +0000 (17:07 -0300)]
iptraf-ng: new package

[Peter: needs IPv6, doesn't need threads. Fix ncurses library handling]
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocmake: forward HOST_{C, LD}FLAGS as cmake flags
Samuel Martin [Fri, 9 May 2014 09:07:27 +0000 (11:07 +0200)]
cmake: forward HOST_{C, LD}FLAGS as cmake flags

During the CMake bootstrap phase, the {C,LD}FLAGS set in the bootstrap
environment are not forwarded/converted as CMake flags.

The CMake build contains a bootstrap phase building a minimal CMake
program using a standard Makfile, then reconfigures itself with this
minimal program.

On system with no ncurses installed, and because the prefix option
points to $(HOST_DIR)/usr, if host-cmake was built after host-ncurses,
then ncurses libraries and headers are correctly found (in the host
tree) during the second configuration (because of the prefix). However,
it fails at building ccmake (the curses interface) because the
CMAKE_C_FLAGS, CMAKE_CXX_FLAGS and CMAKE_EXE_LINKER_FLAGS do not
point to the host tree.

Because these flags are needed when running the bootstrap script,
this patch makes sure the same flags are set when running the second
configuration.

Reported-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotcl: needs threads
Peter Korsgaard [Thu, 8 May 2014 21:14:17 +0000 (23:14 +0200)]
tcl: needs threads

Fixes http://autobuild.buildroot.net/results/486/48696710a270ac69d6d62654779f164075cb3451/

Tcl itself has a --disable-threads configure flag, but it unconditially
configures its packages with --enable-threads, causing build failure.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibenca: Move build host tool to PRE_BUILD_HOOKS
Maxime Hadjinlian [Mon, 5 May 2014 13:24:07 +0000 (15:24 +0200)]
libenca: Move build host tool to PRE_BUILD_HOOKS

The make_hash host tool, should be built during a PRE_BUILD_HOOKS and
not a POST_CONFIGURE_HOOKS.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoinfra: Add PRE_*_HOOKS for every step
Maxime Hadjinlian [Mon, 5 May 2014 13:04:20 +0000 (15:04 +0200)]
infra: Add PRE_*_HOOKS for every step

Add PRE_*_HOOKS to all the different steps through which a package may go.

This will help avoid using POST_*_HOOKS to do tasks that should be done
in the PRE_*_HOOKS of the next step.
Otherwise, when the user would do a make foo-re<step>, this would not do
what was really intented, the POST_*_HOOK of the preceding step not
being executed.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
[ThomasDS: rebase, add images hooks to manual]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcec: Add patch to fix assert with XBMC Gotham
Maxime Hadjinlian [Thu, 8 May 2014 08:59:43 +0000 (10:59 +0200)]
libcec: Add patch to fix assert with XBMC Gotham

With the new XBMC, on RaspberryPi, libcec throws an asserts in RPi
userland's code which forbid XBMC Gotham to start.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibcec: Bump version
Maxime Hadjinlian [Thu, 8 May 2014 08:59:42 +0000 (10:59 +0200)]
libcec: Bump version

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agognutls: bump to version 3.2.14
Gustavo Zacarias [Thu, 8 May 2014 16:52:29 +0000 (13:52 -0300)]
gnutls: bump to version 3.2.14

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonmap: bump to version 6.46
Gustavo Zacarias [Thu, 8 May 2014 16:52:28 +0000 (13:52 -0300)]
nmap: bump to version 6.46

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agofping: bump to version 3.10
Gustavo Zacarias [Thu, 8 May 2014 16:52:27 +0000 (13:52 -0300)]
fping: bump to version 3.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch/arm: drop ARM(7TDMI/720T/740T) support
Gustavo Zacarias [Wed, 7 May 2014 17:10:05 +0000 (14:10 -0300)]
arch/arm: drop ARM(7TDMI/720T/740T) support

The toolchain currently doesn't build for nommu ARM and is in need of
serious work.
Problem is there are no emulation targets and real ARM(7TDMI/720T/740T)
hardware that's capable of running linux (enough memory, having a
memory controller...) is VERY rare and uses very old versions to
make it usable.

The ARM nommu focus should go into Cortex M series processors that are
obtainable at reasonable cost on modern hardware that has external
memory controllers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: remove nommu option for MIPS
Gustavo Zacarias [Wed, 7 May 2014 17:10:04 +0000 (14:10 -0300)]
toolchain: remove nommu option for MIPS

MIPS nommu never took off, the only MIPS processors without MMU are
microcontrollers and the only uclinux effort for them has non-upstream
patches against very very old versions.
See http://www.xiptech.com/uclinuxformips.htm

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoulogd: forcibly disable mysql when not present
Gustavo Zacarias [Wed, 7 May 2014 16:04:48 +0000 (13:04 -0300)]
ulogd: forcibly disable mysql when not present

Forcibly disable mysql support when we don't want it since ulogd's
configure script can pick up the host mysql_config thus leading to a
build failure.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenblocks_a6_defconfig: bump to 3.14.3 kernel
Peter Korsgaard [Thu, 8 May 2014 14:26:14 +0000 (16:26 +0200)]
openblocks_a6_defconfig: bump to 3.14.3 kernel

And lock kernel headers to match.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodhcpdump: fix static build
Baruch Siach [Wed, 23 Apr 2014 19:59:59 +0000 (22:59 +0300)]
dhcpdump: fix static build

Use pcap-config to list optional libpcap dependencies that we need to list
when building statically.

Fixes:
http://autobuild.buildroot.net/results/110/1107c21cdf656763bf7048c6c5c7899369724f5f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohost-pkgconf: use --static option for static builds
Vicente Olivert Riera [Wed, 5 Mar 2014 12:19:37 +0000 (12:19 +0000)]
host-pkgconf: use --static option for static builds

Detect when BR2_PREFER_STATIC_LIBS is selected and modify the host
pkg-config wrapper to append the --static option in that case.

Fixes:
   http://autobuild.buildroot.net/results/161/161446dde7e8e774773eb2b34fd555f5ac22dd02/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprotobuf-c: bump to version 1.0.0-rc1
Phil Eichinger [Tue, 6 May 2014 20:25:01 +0000 (22:25 +0200)]
protobuf-c: bump to version 1.0.0-rc1

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprotobuf: bump to version 2.5.0
Phil Eichinger [Tue, 6 May 2014 20:25:00 +0000 (22:25 +0200)]
protobuf: bump to version 2.5.0

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoprotobuf-c: project is on github now
Phil Eichinger [Tue, 6 May 2014 20:24:59 +0000 (22:24 +0200)]
protobuf-c: project is on github now

old release tag got lost in translation

Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoqdecoder : new package
Sagaert Johan [Tue, 6 May 2014 12:35:03 +0000 (14:35 +0200)]
qdecoder : new package

Features:
   Supports parsing a request encoded by GET/POST method
   Supports parsing multipart/form-data encoding.(in-memory and direct disk)
   Supports COOKIE handling.
   Supports Session management.
   Supports FastCGI

[Peter: drop invalid patch, add patches for make install + configure paths]
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agohttping: Fix a trivial typo in the menu
Ezequiel Garcia [Wed, 7 May 2014 19:52:49 +0000 (16:52 -0300)]
httping: Fix a trivial typo in the menu

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopostgresql: add host-zic dependency
Peter Seiderer [Tue, 22 Apr 2014 15:41:25 +0000 (17:41 +0200)]
postgresql: add host-zic dependency

Fixes zic related build failure [1], patch suggested by
Yann E. MORIN [2].

[1] http://autobuild.buildroot.net/results/9ec69f92a48c1adc50bdb3096008243d842c27e6/
[2] http://lists.busybox.net/pipermail/buildroot/2014-April/094767.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: don't allow on PowerPC uClibc
Thomas Petazzoni [Tue, 6 May 2014 19:27:44 +0000 (21:27 +0200)]
clapack: don't allow on PowerPC uClibc

On PowerPC, clapack uses the _fpu_control symbol, which isn't defined
on uClibc, so this commit disallows the selection of clapack on
PowerPC uClibc configurations. PowerPC/glibc and ARM/uClibc
configurations have been tested to build correctly.

Fixes:

  http://autobuild.buildroot.org/results/d1d/d1d721fa697956218dfc2c865dfb61911cf2600e/build-end.log

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agojpeg-turbo: add license information
Peter Korsgaard [Wed, 7 May 2014 12:28:03 +0000 (14:28 +0200)]
jpeg-turbo: add license information

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibjpeg: add license information
Peter Korsgaard [Wed, 7 May 2014 12:27:50 +0000 (14:27 +0200)]
libjpeg: add license information

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoportmap: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:46 +0000 (10:42 -0500)]
portmap: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonfs-utils: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:45 +0000 (10:42 -0500)]
nfs-utils: add license information

[Peter: license is GPLv2+]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxerces: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:44 +0000 (10:42 -0500)]
xerces: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotidsp-binaries: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:43 +0000 (10:42 -0500)]
tidsp-binaries: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-serial: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:42 +0000 (10:42 -0500)]
python-serial: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-setuptools: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:41 +0000 (10:42 -0500)]
python-setuptools: add license information

[Peter: license on single line, use PKG-INFO as license file]
Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-pyasn: update license information
Ryan Barnett [Tue, 6 May 2014 15:42:40 +0000 (10:42 -0500)]
python-pyasn: update license information

Correct license information after switch to correct package on commit
5aa4f71b51a3713d765b0e430fc34abecd0bea93.

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopython-netifaces: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:39 +0000 (10:42 -0500)]
python-netifaces: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoopenssh: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:38 +0000 (10:42 -0500)]
openssh: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomemstat: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:37 +0000 (10:42 -0500)]
memstat: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodsp-tools: add license information
Ryan Barnett [Tue, 6 May 2014 15:42:36 +0000 (10:42 -0500)]
dsp-tools: add license information

Signed-off-by: Ryan Barnett <rjbarnet@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopopt: fix build issue due to glob functions on Blackfin
Thomas Petazzoni [Tue, 6 May 2014 18:59:50 +0000 (20:59 +0200)]
popt: fix build issue due to glob functions on Blackfin

While the Blackfin external uClibc toolchains have <glob.h>, they
don't implement all the functions needed by popt, causing build
failures. One solution would have been to disable popt with such
toolchains, but this would have meant propagating this additional
dependency to the numerous reverse dependencies of popt. Instead, this
commit chooses to make popt build on Blackfin external toolchains by
disabling the usage of <glob.h> functions altogether.

Fixes:

  http://autobuild.buildroot.org/results/bfc/bfcb2ed27debafc584e133f5ae11ad2061ad2b16/build-end.log
  http://autobuild.buildroot.org/results/410/410c8f3a0c7ca2c7098a47c30088038411635ae4/build-end.log

and gazillion of similar failures.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux: bump to version 3.14.3
Gustavo Zacarias [Tue, 6 May 2014 16:37:42 +0000 (13:37 -0300)]
linux: bump to version 3.14.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolinux-headers: bump 3.{4,10,14}.x series
Gustavo Zacarias [Tue, 6 May 2014 16:37:41 +0000 (13:37 -0300)]
linux-headers: bump 3.{4,10,14}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: Disable for MIPS platforms
Vicente Olivert Riera [Tue, 6 May 2014 12:47:31 +0000 (13:47 +0100)]
clapack: Disable for MIPS platforms

Disable this package for MIPS because it needs IRIX headers and
libraries.

Fixes:
   http://autobuild.buildroot.net/results/370/370f964441722675820c644403dde7fbc683a315/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agonftables: disable dblatex check
Yegor Yefremov [Tue, 6 May 2014 10:59:45 +0000 (12:59 +0200)]
nftables: disable dblatex check

On the systems with old dblatex (for example 3.0) the build step will
fail, because dblatex doesn't support '-q' parameter. This patch
overrides dblatex check.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain/gcc: musl is not available for gcc 4.3.x either
Gustavo Zacarias [Tue, 6 May 2014 12:47:39 +0000 (09:47 -0300)]
toolchain/gcc: musl is not available for gcc 4.3.x either

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain/buildroot: default to uClibc
Gustavo Zacarias [Tue, 6 May 2014 10:42:44 +0000 (07:42 -0300)]
toolchain/buildroot: default to uClibc

Otherwise we're getting musl for everything except those who have a
default (mips64*).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-external: add publicly available musl toolchains
Thomas Petazzoni [Mon, 5 May 2014 21:17:10 +0000 (23:17 +0200)]
toolchain-external: add publicly available musl toolchains

This commit adds ten toolchains based on the musl C library that are
publicly available from the musl-cross project.

[Peter: fix ppc prefix, only for classic ABI]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: disable libsanitizer for musl
Thomas Petazzoni [Mon, 5 May 2014 21:17:09 +0000 (23:17 +0200)]
gcc: disable libsanitizer for musl

A build issue affects libsanitizer on musl toolchains, even with
previous versions of gcc such as 4.8.x, so we disable building
libsanitizer when working with musl.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain-buildroot: add support for building musl toolchains
Thomas Petazzoni [Mon, 5 May 2014 21:17:08 +0000 (23:17 +0200)]
toolchain-buildroot: add support for building musl toolchains

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agobusybox: allow build with musl
Thomas Petazzoni [Mon, 5 May 2014 21:17:07 +0000 (23:17 +0200)]
busybox: allow build with musl

The musl C library does not yet implemented the getpwent_r() function,
needed by the Busybox password code when CONFIG_USE_BB_PWD_GRP is
disabled. So we enable it when the musl C library is used.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage: add support for musl in tuple
Thomas Petazzoni [Mon, 5 May 2014 21:17:06 +0000 (23:17 +0200)]
package: add support for musl in tuple

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: musl patches only available for gcc 4.7+
Thomas Petazzoni [Mon, 5 May 2014 21:17:05 +0000 (23:17 +0200)]
gcc: musl patches only available for gcc 4.7+

For the moment, the musl support is not in mainline gcc, so it
requires a few patches. We have integrated those patches only for gcc
4.7 and gcc 4.8 at the moment, so only allow those gcc versions when
the musl library is selected.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch to gcc 4.9.0
Thomas Petazzoni [Mon, 5 May 2014 21:17:04 +0000 (23:17 +0200)]
gcc: add musl support patch to gcc 4.9.0

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch to gcc 4.8.2
Thomas Petazzoni [Mon, 5 May 2014 21:17:03 +0000 (23:17 +0200)]
gcc: add musl support patch to gcc 4.8.2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogcc: add musl support patch for gcc 4.7.3
Thomas Petazzoni [Mon, 5 May 2014 21:17:02 +0000 (23:17 +0200)]
gcc: add musl support patch for gcc 4.7.3

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomusl: new package
Thomas Petazzoni [Mon, 5 May 2014 21:17:01 +0000 (23:17 +0200)]
musl: new package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agogithub packages: use tarball download via github helper iso git clone
Thomas De Schampheleire [Mon, 5 May 2014 17:20:33 +0000 (19:20 +0200)]
github packages: use tarball download via github helper iso git clone

Tarball download from github is preferred, because:
- download size is smaller
- git clone may be blocked in some corporate environments

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoperf: Fix compilation without libelf for post-3.10 kernels
Peter Meerwald [Sat, 5 Apr 2014 12:51:02 +0000 (14:51 +0200)]
perf: Fix compilation without libelf for post-3.10 kernels

kernel commit cf4cca10 (perf tools: Move libelf check config into config/Makefile)
removes the NO_LIBELF check from the top-level Makefile

for newer kernels, if config/Makefile exists, we can assume that NO_LIBELF is
also there

Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolcdproc: bump version to 0.5.7
Simon Dawson [Mon, 5 May 2014 17:22:35 +0000 (18:22 +0100)]
lcdproc: bump version to 0.5.7

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agodocs/manual: document how to use the cross debugger
Thomas Petazzoni [Mon, 5 May 2014 09:25:51 +0000 (11:25 +0200)]
docs/manual: document how to use the cross debugger

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[ThomasDS: some rewording, add <buildroot> path prefix in example]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agotoolchain: generate a gdbinit file
Thomas Petazzoni [Mon, 5 May 2014 09:25:50 +0000 (11:25 +0200)]
toolchain: generate a gdbinit file

This commit slightly improves the external toolchain backend, and the
gdb build logic to create a file named
$(STAGING_DIR)/usr/share/buildroot/gdbinit which can be used as a
gdbinit file using gdb -x option. This allows gdb to automatically use
the proper sysroot to find libraries.

The initial insight for this patch comes from the report of Oded
Hanson <OHanson@xsightsys.com>, who found an issue with the Eclipse
Buildroot plugin, which was setting a solib-path in gdb, but not a
sysroot. Setting a solib-path was enough to find shared libraries, but
not the dynamic linker. And since Eclipse doesn't allow to set the
sysroot in any other way than giving a gdbinit file, it makes sense to
have Buildroot generate a gdbinit file (which can be used in other
situations than Eclipse).

To achieve this, this commit introduces a gen_gdbinit_file helper in
toolchain/helpers.mk, and uses it for the internal toolchain and
external toolchain backends.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[ThomasDS: minor updates in commit message]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoczmq: needs MMU
Baruch Siach [Mon, 5 May 2014 03:58:03 +0000 (06:58 +0300)]
czmq: needs MMU

Fixes:
http://autobuild.buildroot.net/results/6dd/6dd6954e5ab8c422070e53b0e616e1b1a821c626/

Also, remove the Blackfin toolchain dependencies as these are redundant now
since Blackfin is a noMMU arch.

[Peter: propagate to filemq as well]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agocups: move localstatedir from /usr/var to /var
Danomi Manchego [Wed, 23 Apr 2014 00:49:09 +0000 (20:49 -0400)]
cups: move localstatedir from /usr/var to /var

Prior to commit f64a1b850fc897357040bb4c58b6e5e50e71e094 ("cups:
convert to autotargets"), cups was explicitely configured to
put its modifiable single-machine data under /var.  After that
commit, the --localstatedir was not specified, so it remained at
it's default value, "PREFIX/var" - making cups use "/usr/var".

Using /var to store state files seems preferable to /usr/var,
as /usr might be read-only on some systems.  This patch
re-introduces the --localstatedir specification to build cups
to use /var.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarmadillo: new package
Samuel Martin [Tue, 22 Apr 2014 23:15:35 +0000 (01:15 +0200)]
armadillo: new package

Armadillo is a C++ linear algebra library.

[Peter: needs largefile, sort Config.in alphabetically]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tz: install missing files
Yann E. MORIN [Sun, 4 May 2014 16:01:28 +0000 (18:01 +0200)]
package/tz: install missing files

As for the tzdata package, install the missing files:
  - zone.tab   : {country-code,coordinates,timezone} tuples
  - iso3166.tab: {country-code,country} tuples

Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/tzdata: install missing files
Yann E. MORIN [Sun, 4 May 2014 16:01:27 +0000 (18:01 +0200)]
package/tzdata: install missing files

Install two additional files:
  - zone.tab   : {country-code,coordinates,timezone} tuples
  - iso3166.tab: {country-code,country} tuples

[Peter: simplify copy handling]
Reported-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agortmpdump: bump version
Bernd Kuhls [Sun, 4 May 2014 15:52:17 +0000 (17:52 +0200)]
rtmpdump: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibmicrohttpd: Fix cross compilation broken since 0.9.35
Bernd Kuhls [Sun, 4 May 2014 09:04:40 +0000 (11:04 +0200)]
libmicrohttpd: Fix cross compilation broken since 0.9.35

Fixes http://autobuild.buildroot.net/results/cb2/cb2cec1295a40667a3c21060864dd0e65a312c3e

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agophp: bump to version 5.5.12
Gustavo Zacarias [Sun, 4 May 2014 11:42:26 +0000 (08:42 -0300)]
php: bump to version 5.5.12

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agosquid: bump to version 3.4.5
Gustavo Zacarias [Sun, 4 May 2014 11:42:25 +0000 (08:42 -0300)]
squid: bump to version 3.4.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibfribidi: bump version
Maxime Hadjinlian [Sun, 4 May 2014 15:03:14 +0000 (17:03 +0200)]
libfribidi: bump version

This patch also call autoreconf in order to use buildroot's libtool as
buildroot's libtool patch doesn't apply to the upstream ltmain.sh.

[Peter: clarified the need for AUTORECONF]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoclapack: new package
Samuel Martin [Tue, 22 Apr 2014 23:15:36 +0000 (01:15 +0200)]
clapack: new package

This package provides BLAS and LAPACK libraries.

Though it is common to find implementation of these two libraries in
Fortran, this package provides a C-implementation for both, because:
- Fortran support has been deprecated in Buildroot since the 2013.11
  release;
- most of the external toolchains do not provide a Fortran compiler.

Often BLAS build-systems build some test programs and run them to
generate some source files or adjust some build optimizations, naively
assuming they are building the library for the build-machine. This does
not play well when cross-compiling.

This implementation has this defect too, by building and running a tool
generating a header.
However, the build-system allows to pass an empty header.
So, we have to patch the CMake to build the generator (but never
install it) and correctly support building with and without this header
provided by the user.

Also, some CMake patches are needed to fix the build and install rules.

[Peter: needs largefile, fix _LICENSE_FILES, tweak patch desc]
Signed-off-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>
10 years agoopencv: fix qt selection when highgui is enable
Samuel Martin [Tue, 22 Apr 2014 23:15:34 +0000 (01:15 +0200)]
opencv: fix qt selection when highgui is enable

The OpenCV highgui module links against QtGui and QtTest.
The latter is built by default but was never installed.
Thanks to the previous patch on Qt, this can be rectified.

So, update the OpenCV Config.in with the missing Qt module selection.

Signed-off-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>
10 years agoqt: add an option to install the test module
Samuel Martin [Tue, 22 Apr 2014 23:15:33 +0000 (01:15 +0200)]
qt: add an option to install the test module

When building Qt in a minimal configuration, a couple of Qt modules
(QtNetwork, QtSql, QtTest and QtXml) are built in addition to QtCore,
so they are installed in the sysroot but they are not copied into the
target tree.

Among these modules that could be built but optionally installed, only
QtTest had no option to allow being installed in the target fs.

Thus, programs linking against QtTest would successfully build, but
would miserably fail at runtime due to this missing dependency.

So far, the only package triggering this issue is OpenCV (the highgui
module built with Qt support).

A followup patch will add this missing dependency in OpenCV using this
new option.

Signed-off-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>
10 years agoevtest: bump version to 1.31
Peter Seiderer [Tue, 22 Apr 2014 22:12:23 +0000 (00:12 +0200)]
evtest: bump version to 1.31

- update version to 1.31
- correct license to GPLv2+
- change download url to official repository
- remove evtest-capture support (dropped since 1.31)
- change broken project URL to official repository

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoxserver_xorg-server: Fix DRI detection
Bernd Kuhls [Wed, 30 Apr 2014 04:44:22 +0000 (06:44 +0200)]
xserver_xorg-server: Fix DRI detection

Fixes http://autobuild.buildroot.net/results/b8a/b8a905b864b01aa09940668130a62d9d90ef5f9a/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoflite: depend on alsa-lib when available
Baruch Siach [Thu, 1 May 2014 03:17:27 +0000 (06:17 +0300)]
flite: depend on alsa-lib when available

The flite configure script detects the availability of alsa-lib. Add alsa-lib
to flite dependencies to make sure alsa-lib is always detected when
available.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibdrm: bump version to 2.4.54
Bernd Kuhls [Sat, 3 May 2014 08:41:12 +0000 (10:41 +0200)]
libdrm: bump version to 2.4.54

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibao: Remove OSS plugin when ALSA is enabled
Maarten ter Huurne [Tue, 8 Apr 2014 17:45:07 +0000 (19:45 +0200)]
libao: Remove OSS plugin when ALSA is enabled

At runtime, libao will load all plugins, even ones that will never be used.
Since libao will prefer ALSA over OSS by default anyway, it is pretty safe
to exclude the OSS plugin.

There is no configure option for disabling the OSS plugin, so we remove
the shared object in a post-install hook.

Also disable alsa oss emulation workaround as it no longer will be used with
alsa.

[Peter: explain why --disable-broken-oss is passed]
Signed-Off-By: Maarten ter Huurne <maarten@treewalker.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: install in a sub-dir of $(BINARIES_DIR)
Yann E. MORIN [Fri, 2 May 2014 17:10:38 +0000 (19:10 +0200)]
boot/syslinux: install in a sub-dir of $(BINARIES_DIR)

Since syslinux can now install quite a number of files, install
them in a sub-directory of $(BINARIES_DIR) for clarity.

It also aligns it to rpi-firmware, grub2, gummiboot, that install
all of their files in a sub-dir of $(BINARIES_DIR), too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add option to install c32 modules
Yann E. MORIN [Fri, 2 May 2014 17:10:37 +0000 (19:10 +0200)]
boot/syslinux: add option to install c32 modules

[Peter: reworded comment slightly]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add an option to install a MBR blob
Yann E. MORIN [Fri, 2 May 2014 17:10:36 +0000 (19:10 +0200)]
boot/syslinux: add an option to install a MBR blob

This MBR blob will look for an active partition, and boot the bootcode
present in that partition. This can be used to boot an extlinux-prepared
partition.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <lists@zelow.no>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: add option to install the EFI image
Yann E. MORIN [Fri, 2 May 2014 17:10:35 +0000 (19:10 +0200)]
boot/syslinux: add option to install the EFI image

syslinux can now also build an EFI application.

If the target is 64-bit, we build the 64-bit EFI app,
otherwise we build the 32-bit EFI app.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: bump version
Yann E. MORIN [Fri, 2 May 2014 17:10:34 +0000 (19:10 +0200)]
boot/syslinux: bump version

This new version has a very, very weird build system. There are different
images that syslinux can now build:
  - the plain legacy-bios images we already supported previously
  - two new EFI32 and EFI64 applications

To build one or the other, the Makefile accepts one or more of:
    make (bios|efi32|efi64)

Specify all of them, and it builds all. Specify 'install', and it installs
all of them, as one may expect.

Still a regular behaviour, is to build only a subset (down to one):
    make bios           <-- builds just the legacy-bios images
    make efi32 bios     <-- builds just the legacy-bios and efi32 images

Where it gets weird is the install procedure. Can you guess how it's done?
Hint: the syslinux guys have invented the multiple-argument parsing in
pure Makefiles. To build then install only the bios images, one would do:
    make bios
    make bios install

Yep, that's it. make bios install. Two arguments, one action.

That makes for some funky workarounds in our install procedure...

'bios' is the only image we support so far, with efi to come in a future
patch.

Using MAKE1, as there are issues with highly-parallel builds.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/upx: new package
Frank Hunleth [Fri, 2 May 2014 17:10:33 +0000 (19:10 +0200)]
package/upx: new package

UPX is a free, portable, extendable, high-performance executable
packer for several executable formats.

This is needed for syslinux 6.x.

Note: upx is a host-only package. Although it supports quite a few
target architectures, the only use so far will be for use by syslinux,
which already has an x86-on-x86 requirement anyway. So we currently do
not care to have target-dependencies on host-upx.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
[yann.morin.1998@free.fr: builds fine in parallel; fix build to
 locate libucl; fix installation; don't add a menuconfig entry]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agopackage/ucl: new package
Frank Hunleth [Fri, 2 May 2014 17:10:32 +0000 (19:10 +0200)]
package/ucl: new package

UCL implements a number of compression algorithms that achieve an
excellent compression ratio while allowing *very* fast decompression.
Decompression requires no additional memory.

This is needed for UPX, which is needed for syslinux 6.x.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
[yann.morin.1998@free.fr: don't add a menuconfig entry, since it
 currently is for internal use only]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: move comments out of define-block
Yann E. MORIN [Fri, 2 May 2014 17:10:31 +0000 (19:10 +0200)]
boot/syslinux: move comments out of define-block

The comments are not really part of the command we want to execute,
so move them out of the define-block. This also cleans up the output,
as they will no longer appear.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: rewrite options prompts
Yann E. MORIN [Fri, 2 May 2014 17:10:30 +0000 (19:10 +0200)]
boot/syslinux: rewrite options prompts

Rewrite the options prompt in preparation to adding a new
type of image to install.

Add help entries to each option, too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: make the sub-options a choice
Yann E. MORIN [Fri, 2 May 2014 17:10:29 +0000 (19:10 +0200)]
boot/syslinux: make the sub-options a choice

Currently it is possible to choose either, both or none of
the pxelinux or isolinux images.

But it does not make sense to build none or both, as we need
at least one to boot the target, and the target can not use
more than one.

So, we need one and only one image to be selected at once.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <thomasez@redpill-linpro.com>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: prepare to install non-core images
Yann E. MORIN [Fri, 2 May 2014 17:10:28 +0000 (19:10 +0200)]
boot/syslinux: prepare to install non-core images

Currently, we hard-code the path to the images we install, and
expect them to be from the core/ sub-dir.

Not all images we can install are located in core/. For example,
the efi boot images (to come later) are not located in core/.

Prepare the upcoming installation of extlinux by not expecting
images be in core/.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Lundquist <lists@zelow.no>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoboot/syslinux: needs an ia32-capable compiler
Yann E. MORIN [Fri, 2 May 2014 17:10:27 +0000 (19:10 +0200)]
boot/syslinux: needs an ia32-capable compiler

The pxelinux and isolionux images are 32-bit binaries, so we need a
compiler that can generate them (ie. a compiler that understands -m32).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Frank Hunleth <fhunleth@troodon-software.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoconfigs/raspberrypi: bump kernel version
Yann E. MORIN [Fri, 2 May 2014 19:29:54 +0000 (21:29 +0200)]
configs/raspberrypi: bump kernel version

Upstream has been playing evil-rebase on their tree, so they now
no longer have the changeset we are currently referencing.

They have now agreed to merge instead of rebasing:
    https://github.com/raspberrypi/linux/issues/584

So, update the raspberrypi_defconfig to use a new changeset that
currently exists right _now_, in the hope it will not disapear in
the future (but we'll catch it pretty fast anyway, so we'll be able
to seriously bug up upstream in that case ;-) ).

Reported-by: Jeremy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: yann.morin.1998@free.fr
Cc: Jeremy Rosen <jeremy.rosen@openwide.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agop11-kit: bump to version 0.20.2
Gustavo Zacarias [Sat, 3 May 2014 11:36:23 +0000 (08:36 -0300)]
p11-kit: bump to version 0.20.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibtasn1: bump to version 3.5
Gustavo Zacarias [Sat, 3 May 2014 11:36:22 +0000 (08:36 -0300)]
libtasn1: bump to version 3.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibmicrohttpd: bump to version 0.9.35
Gustavo Zacarias [Sat, 3 May 2014 11:36:21 +0000 (08:36 -0300)]
libmicrohttpd: bump to version 0.9.35

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agozeromq: disable test_fork when fork() is no available
Samuel Martin [Sat, 3 May 2014 16:33:02 +0000 (18:33 +0200)]
zeromq: disable test_fork when fork() is no available

zeromp's configure script correctly detects the fork availability, but
unconditionally build test_fork program whatever the fork() availability.

This patch fixes the build-system by disabling test_fork when fork is
not available (e.g. when !BR2_USE_MMU).

Fixes:
  http://autobuild.buildroot.org/results/359/3599cc3b7bf2bb22a78961cd84d21cb03cbd7015/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
[yann.morin.1998@free.fr: remove Makefile.in hunks]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: tested against the failed bfin config, as well as
 a i686 target]
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoavahi: Add systemd init script
Maxime Hadjinlian [Sat, 3 May 2014 15:35:45 +0000 (17:35 +0200)]
avahi: Add systemd init script

This consists of two files:
  - avahi-daemon.service:
    It start/stop the daemon avahi, it's a copy of the S50avahi-daemon
    script.
  - avahi_tmpfiles.conf:
    This one gets installed in /usr/lib/tmpfiles.d/ to be used by
    systemd-tmpfiles which will create the correct directory structure
    with the appropriate rights.
    This is the equivalent of the S05avahi-setup.sh script.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agoarch: add support for "corei7" Intel CPU optimisations
Bernd Kuhls [Sun, 27 Apr 2014 11:29:15 +0000 (13:29 +0200)]
arch: add support for "corei7" Intel CPU optimisations

gcc support was added in version 4.6:
http://gcc.gnu.org/gcc-4.6/changes.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agolibwebsockets: disable checks for C++ compiler
Samuel Martin [Fri, 2 May 2014 12:40:35 +0000 (14:40 +0200)]
libwebsockets: disable checks for C++ compiler

Since libwesockets in written in pure C, no C++, there is no reason to
disable it or make the configuration failed when the toolchain has no
C++ support.

Unfortunately, CMake defaults sets C and C++ as languages used by the
project. This makes the configuration failed if no C++ compiler is found.

This patch just make the CMake code of libwebsockets reflecting the real
status of the project with regard to the languages used.

Should fix:
  http://autobuild.buildroot.org/results/fef/fef98ef289d44d13ec61025c50febba1e835b421/

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: fix C++ support in libc case, fix indentation
Yann E. MORIN [Fri, 2 May 2014 10:49:28 +0000 (12:49 +0200)]
manual: fix C++ support in libc case, fix indentation

The manual has this sentence for the dependency on a C library *and* a
toolchain feature:

    foo needs an (e)glibc toolchain, or foo needs an (e)glibc toolchain
    w/ C++ support

And then, just below, the comment text for C++ is just 'C++', not
'C++ support'.

Fix that, and add a bit of indentation too.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Samuel Martin <s.martin49@gmail.com>
Acked-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>
10 years agotmux: needs mmu
Gustavo Zacarias [Fri, 2 May 2014 11:09:22 +0000 (08:09 -0300)]
tmux: needs mmu

Fixes:
http://autobuild.buildroot.net/results/1b2/1b2a8c75e73ec136e639896f23544bf85906e97b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual/configure.txt: fix C++ escaping
Thomas De Schampheleire [Fri, 2 May 2014 08:02:38 +0000 (10:02 +0200)]
manual/configure.txt: fix C++ escaping

For asciidoc, a string like '+these are some words+' will be displayed in
monospace font. Such sequences are identified by searching for a matching
pair of + signs in the same block.

The string 'C++' also contains such + signs. In most cases, this does not
pose a problem and no escaping is necessary. However, if 'C++' occurs twice
in the same block, the + signs will be matched to each other, and asciidoc
formats all text between them as monospaced text. In this case, escaping of
one of these 'C++' occurances is necessary to get the right formatting.

In one place of the manual, there is a sentence that causes such a problem:
    "you only have to tell whether your toolchain supports C++ or not and
    whether it has built-in RPC support. If your external toolchain uses
    the 'uClibc' library, then you have to tell Buildroot if it supports
    largefile, IPv6, RPC, wide-char, locale, program invocation, threads
    and C++."

Commit 082dec8ce440236b1477e568f0965f05ad241adb was based on a patch fixing
this problem in one place of the manual, but was incorrectly changed while
committing.

This patch reverts the incorrect changes in that commit, and solves the
problem correctly.

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
10 years agomanual: use one-line titles instead of two-line titles (trivial)
Thomas De Schampheleire [Fri, 2 May 2014 05:47:30 +0000 (07:47 +0200)]
manual: use one-line titles instead of two-line titles (trivial)

Asciidoc supports two syntaxes for section titles: two-line titles (title
plus underline consisting of a particular symbol), and one-line titles
(title prefixed with a specific number of = signs).

The two-line title underlines are:
Level 0 (top level):     ======================
Level 1:                 ----------------------
Level 2:                 ~~~~~~~~~~~~~~~~~~~~~~
Level 3:                 ^^^^^^^^^^^^^^^^^^^^^^
Level 4 (bottom level):  ++++++++++++++++++++++

and the one-line title prefixes:
= Document Title (level 0) =
== Section title (level 1) ==

=== Section title (level 2) ===
==== Section title (level 3) ====
===== Section title (level 4) =====

The buildroot manual is currenly using the two-line titles, but this has
multiple disadvantages:

- asciidoc also uses some of the underline symbols for other purposes (like
  preformatted code, example blocks, ...), which makes it difficult to do
  mass replacements, such as a planned follow-up patch that needs to move
  all sections one level down.

- it is difficult to remember which level a given underline symbol (=-~^+)
  corresponds to, while counting = signs is easy.

This patch changes all two-level titles to one-level titles in the manual.
The bulk of the change was done with the following Python script, except for
the level 1 titles (-----) as these underlines are also used for literal
code blocks.
This patch only changes the titles, no other changes. In
adding-packages-directory.txt, I did add missing newlines between some
titles and their content.

----------------------------------------------------------------------------
#!/usr/bin/env python

import sys
import mmap
import re

for input in sys.argv[1:]:

    f = open(input, 'r+')
    f.flush()
    s = mmap.mmap(f.fileno(), 0)

    # Level 0 (top level):     ======================   =
    # Level 1:                 ----------------------   ==
    # Level 2:                 ~~~~~~~~~~~~~~~~~~~~~~   ===
    # Level 3:                 ^^^^^^^^^^^^^^^^^^^^^^   ====
    # Level 4 (bottom level):  ++++++++++++++++++++++   =====

    def replace_title(s, symbol, replacement):
        pattern = re.compile(r'(.+\n)\%s{2,}\n' % symbol, re.MULTILINE)
        return pattern.sub(r'%s \1' % replacement, s)

    new = s
    new = replace_title(new, '=', '=')
    new = replace_title(new, '+', '=====')
    new = replace_title(new, '^', '====')
    new = replace_title(new, '~', '===')
    #new = replace_title(new, '-', '==')

    s.seek(0)
    s.write(new)
    s.resize(s.tell())
    s.close()
    f.close()

----------------------------------------------------------------------------

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>