buildroot.git
9 years agopps-tools: also pass TARGET_CONFIGURE_OPTS to make install
Ryan Coe [Sun, 1 Feb 2015 23:58:08 +0000 (16:58 -0700)]
pps-tools: also pass TARGET_CONFIGURE_OPTS to make install

Without these environment variables, pps-tools rebuilds for the host machine
architecture and does not run on the target machine.

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboard/beaglebone: fix kernel load command in u-boot environment file
Vanya Sergeev [Mon, 2 Feb 2015 07:08:01 +0000 (23:08 -0800)]
board/beaglebone: fix kernel load command in u-boot environment file

the loaduimage command was renamed to loadimage when the default kernel
image changed from uImage to zImage in u-boot commit e3cf9692053a, which
made it into the v2013.10 u-boot release that the beaglebone_defconfig
currently builds.

Signed-off-by: Vanya Sergeev <vsergeev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/tar: add support for acl and xattr
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:13 +0000 (18:14 +0200)]
package/tar: add support for acl and xattr

If acl or attr is going to be installed, add support for them to tar.

[Thomas: explicitly disable acl and attr support when the
corresponding packages are not available.]

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibsigrokdecode: new package
Bartosz Golaszewski [Thu, 29 Jan 2015 11:35:40 +0000 (12:35 +0100)]
libsigrokdecode: new package

[Peter: needs libglib2+host-pkgconf, simplify pre-configure, propagate
!python dependency]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosigrok-cli: new package
Bartosz Golaszewski [Thu, 29 Jan 2015 11:35:39 +0000 (12:35 +0100)]
sigrok-cli: new package

[Peter: needs host-pkgconf, simplify pre configure hook]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/libftdi: fix libftdi.pc
Samuel Martin [Sun, 25 Jan 2015 21:13:48 +0000 (22:13 +0100)]
package/libftdi: fix libftdi.pc

This patch fixes libftdi pkg-config module, so that packages linking
against libftdi correctly have all needed CFLAGS and LIBS defined,
especially when running a static build.

Fixes:
  http://autobuild.buildroot.org/results/e90/e90b4d5ad79d99487f21c9d18581e8eba7034501/

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/benejson: only buid static/shared as needed
Yann E. MORIN [Sun, 1 Feb 2015 22:18:54 +0000 (23:18 +0100)]
package/benejson: only buid static/shared as needed

Fixes:
    http://autobuild.buildroot.org/results/56a/56a721885c890f3d62bf9e13d712767e66937c51/
    http://autobuild.buildroot.org/results/7c5/7c54dce4801a53bec378b422edfa42dfa990eabe/
    [...]

Patch-from: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoipsec-tools: remove useless spaces in conditions
Thomas Petazzoni [Sun, 1 Feb 2015 22:25:46 +0000 (23:25 +0100)]
ipsec-tools: remove useless spaces in conditions

We typically use:

ifeq ($(BR2_...),y)

and not:

ifeq ($(BR2_...), y)

So this commit aligns the ipsec-tools package with this common
practice.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/ipsec-tools: hybrid config support
Doug Kehn [Sun, 1 Feb 2015 05:26:52 +0000 (23:26 -0600)]
package/ipsec-tools: hybrid config support

Add config option for enabling hybrid mode.  Hybrid mode is required for
successful interoperability.

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agostrace: Enable for MIPS platforms with uClibc
Vicente Olivert Riera [Fri, 30 Jan 2015 14:33:53 +0000 (14:33 +0000)]
strace: Enable for MIPS platforms with uClibc

Enable strace for MIPS platforms with uClibc again since this C library
is now fixed.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agouclibc/0.9.33.2: Rename MIPS' siginfo _timer members
Vicente Olivert Riera [Fri, 30 Jan 2015 14:33:52 +0000 (14:33 +0000)]
uclibc/0.9.33.2: Rename MIPS' siginfo _timer members

Backport an upstream patch to fix a compilation problem of strace-4.9+
on MIPS platforms with uClibc.

Upstream commit:
  http://git.uclibc.org/uClibc/commit/?id=a1b88fe87a9d2be5696247d266f5c4fd20f000bb

Fixes:
  http://autobuild.buildroot.net/results/e8f/e8f4965b27c9dcc58d6ec77cdc48b83c218c5bec/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobusybox: S01logging: implement restart
Richard Genoud [Tue, 20 Jan 2015 11:38:35 +0000 (12:38 +0100)]
busybox: S01logging: implement restart

restart wasn't doing anything, and the expected behaviour is stop/start.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpm: use 'none' for location path
Romain Naour [Sun, 18 Jan 2015 19:53:10 +0000 (20:53 +0100)]
package/rpm: use 'none' for location path

The recognized keywords are:
(location path: "external:internal:none")

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/sane-backends: remove unsafe headers path
Romain Naour [Sat, 10 Jan 2015 15:51:52 +0000 (16:51 +0100)]
package/sane-backends: remove unsafe headers path

Fixes:
http://autobuild.buildroot.net/results/deb/deb3d45416633b9217d3cc09664273687c809464/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpm: use external xz library
Romain Naour [Sun, 18 Jan 2015 19:53:09 +0000 (20:53 +0100)]
package/rpm: use external xz library

Internal xz backend is statically linked and need a static
libintl library when BR2_NEEDS_GETTEXT_IF_LOCALE is set.
But for a shared only build, there is no static libintl available
in the sysroot.

Use the external xz library provided by Buildroot instead of
using the internal xz backend.

Fixes:
http://autobuild.buildroot.net/results/2c6/2c61562008418ff58fa3085a3342b0e304923073/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpm: don't use sub-options for bzip2 and xz features
Romain Naour [Sun, 18 Jan 2015 19:53:08 +0000 (20:53 +0100)]
package/rpm: don't use sub-options for bzip2 and xz features

Allow enabling features depends on the relying packages.

Add the old sub-options to Config.in.legacy.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpm: add gettext dependency
Romain Naour [Sun, 18 Jan 2015 19:53:07 +0000 (20:53 +0100)]
package/rpm: add gettext dependency

rpm check for libintl library if BR2_NEEDS_GETTEXT_IF_LOCALE is set.

checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl

But the dependency on gettext package is missing to ensures
reproducible builds.

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/rpm: sort selected packages
Romain Naour [Sun, 18 Jan 2015 19:53:06 +0000 (20:53 +0100)]
package/rpm: sort selected packages

Sort selected packages alphabetically in Config.in

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoutil-linux: disable more command host build because of ncurses dependency
Peter Seiderer [Sat, 31 Jan 2015 20:28:31 +0000 (21:28 +0100)]
util-linux: disable more command host build because of ncurses dependency

Build on host without ncurses/curses development files and option
HOST_UTIL_LINUX enabled (introduced by [1]) failes because of
text-utils/more.c ncurses dependency (see old commit [2] for details).

[1] http://git.buildroot.net/buildroot/commit/?id=2b18d093cd8a5baaf2e22ce13cc9e527c1937777
[2] http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-autotools: fix patching libtool for version 2.4
Yann E. MORIN [Mon, 26 Jan 2015 23:30:24 +0000 (00:30 +0100)]
pkg-autotools: fix patching libtool for version 2.4

If the libtool used by the package is 2.4 (i.e. with no patchlevel), we
end up with a confusing message:

    /bin/sh: line 0: test: -gt: unary operator expected

That's because patchlevel is empty, and thus there is nothing to comapre
to 2, and test complains.

Fake a patchlevel of 0 (which is really what a missing patchlevel means
anyway) in that case.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoneardal: bump version
Maxime Hadjinlian [Sun, 26 Oct 2014 18:45:52 +0000 (19:45 +0100)]
neardal: bump version

[Thomas: add dependency on either readline or libedit, which is needed
for new versions of neardal.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoimx6slevk: fix uImage load address
gilles.talis@gmail.com [Sat, 31 Jan 2015 13:13:11 +0000 (14:13 +0100)]
imx6slevk: fix uImage load address

i.MX6 SoloLite SoC has a different external memory base address
than the other i.MX6 family SoCs:
- 0x80000000 for i.MX6 SoloLite (see i.MX6 SoloLite Reference Manual [1])
- 0x10000000 for the others (see i.MX6Quad/Dual Reference Manual [2])

[1] http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6SLRM.pdf?fasp=1
    Table 2-1 System Memory Map, MMDC - DDR Controller
[2] http://cache.freescale.com/files/32bit/doc/ref_manual/IMX6DQRM.pdf?fasp=1
    Table 2-1 System Memory Map, MMDC - DDR Controller

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomemtest86+: new package
Steve Kenton [Sun, 1 Feb 2015 00:00:01 +0000 (18:00 -0600)]
memtest86+: new package

Memtest86+ is a bootable standalone memory test program.

Please note that this is the forked memtest86+ program and not
the original memtest86 which has different licensing. Buildroot
does not support packages with a '+' sign in their name.

Memtest86+ is a utility designed to test whether your memory
is in working order. It repeatedly writes an enormous amount
of different patterns to all memory locations and reads them
back again and verifies whether the result of the read is the
same as what was written to memory.

Memtest86+ will only work on 32-bit or 64-bit x86 targets.
It boots as an i486 program and autodetects hardware.

[Peter: tweak help text as suggested by Thomas]
Signed-off-by Stephen M. Kenton <skenton@ou.edu>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibsigrok: new package
Bartosz Golaszewski [Thu, 29 Jan 2015 11:35:38 +0000 (12:35 +0100)]
libsigrok: new package

[Peter: needs host-pkgconf, simplify pre configure hook]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibserialport: new package
Bartosz Golaszewski [Thu, 29 Jan 2015 11:35:37 +0000 (12:35 +0100)]
libserialport: new package

[Peter: needs host-pkgconf, simplify pre configure hook]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibzip: new package
Bartosz Golaszewski [Thu, 29 Jan 2015 11:35:36 +0000 (12:35 +0100)]
libzip: new package

[Peter: license is BSD-3c]
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-six: new package
Yegor Yefremov [Wed, 28 Jan 2015 21:05:43 +0000 (22:05 +0100)]
python-six: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/mcelog: bump version to v109
Bernd Kuhls [Sat, 31 Jan 2015 20:43:59 +0000 (21:43 +0100)]
package/mcelog: bump version to v109

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/openldap: do not build the doc
Yann E. MORIN [Sat, 31 Jan 2015 22:16:20 +0000 (23:16 +0100)]
package/openldap: do not build the doc

Building the documentation fails on some autobuilders,
so disable it as we're not interested in it.

Fixes:
    http://autobuild.buildroot.org/results/1dc/1dc17a54e57130bffd19d360c9a7faae440b8916/
    http://autobuild.buildroot.org/results/407/40797597024cbb9054fdda8bdf4d011bba966b06/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/openldap: needs MMU
Yann E. MORIN [Sat, 31 Jan 2015 22:08:55 +0000 (23:08 +0100)]
package/openldap: needs MMU

openldap uses fork(), so needs an MMU.

Fixes:
    http://autobuild.buildroot.org/results/8a7/8a72aef6525da27b92235b918b6d41ad1c7fac09/
    http://autobuild.buildroot.org/results/1ce/1ce0ac525217fc5308ea510c997c7ac59e69bc4c/
    http://autobuild.buildroot.org/results/0eb/0eb180f77d5b70886e062ada1be133916ac97c31/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-coherence: new package
Yegor Yefremov [Thu, 29 Jan 2015 23:19:26 +0000 (00:19 +0100)]
python-coherence: new package

[Peter: add missing select for zope-interface]
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-cffi: bump to 0.8.6
Yegor Yefremov [Sat, 31 Jan 2015 18:59:35 +0000 (19:59 +0100)]
python-cffi: bump to 0.8.6

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi-pvr-addons: bump version
Bernd Kuhls [Fri, 30 Jan 2015 19:09:24 +0000 (20:09 +0100)]
package/kodi-pvr-addons: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/kodi: bump version to 14.1-Helix
Bernd Kuhls [Fri, 30 Jan 2015 19:09:23 +0000 (20:09 +0100)]
package/kodi: bump version to 14.1-Helix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/rtmpdump: bump version
Bernd Kuhls [Sat, 31 Jan 2015 16:49:05 +0000 (17:49 +0100)]
package/rtmpdump: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoperl: add hash for the perl-cross file
Fabio Porcedda [Sat, 31 Jan 2015 11:22:14 +0000 (12:22 +0100)]
perl: add hash for the perl-cross file

Fix:
  WARNING: No hash found for perl-5.20.1-cross-0.9.4.tar.gz

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoola: Bump to 0.9.4
Simon Marchi [Fri, 30 Jan 2015 03:35:08 +0000 (22:35 -0500)]
ola: Bump to 0.9.4

The protoc stuff changed a bit since 0.9.3. When 0.9.4 was released,
support for cross-compiling was broken because of it. A patch was merged
upstream shortly after that fixes the problem, so I included it here.
When the next version is released, the patch should not be necessary
anymore.

[Peter: actually change _VERSION]
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/fbv: Switch to giflib
Bernd Kuhls [Thu, 29 Jan 2015 19:05:15 +0000 (20:05 +0100)]
package/fbv: Switch to giflib

--
v2: Rework configure/Make.conf transition from -lungif to -lgif (Peter)

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/nodejs: bump to version 0.10.36
Jörg Krause [Fri, 30 Jan 2015 00:53:47 +0000 (01:53 +0100)]
package/nodejs: bump to version 0.10.36

Bump to new version and update hash.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/clamav: bump version to 0.98.6
Bernd Kuhls [Thu, 29 Jan 2015 18:46:01 +0000 (19:46 +0100)]
package/clamav: bump version to 0.98.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobenejson: use -std=c99
Alex Suykov [Fri, 30 Jan 2015 09:49:59 +0000 (11:49 +0200)]
benejson: use -std=c99

Fixes
http://autobuild.buildroot.net/results/d6a3c21938dddde45a427b42a7e0e37aa2426306/
http://autobuild.buildroot.net/results/bd138fc9cee13da850c81e8f9407f098a6a69c69/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 3.18.5
Gustavo Zacarias [Fri, 30 Jan 2015 11:31:28 +0000 (08:31 -0300)]
linux: bump default to version 3.18.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{18, 14, 10}.x series
Gustavo Zacarias [Fri, 30 Jan 2015 11:31:27 +0000 (08:31 -0300)]
linux-headers: bump 3.{18, 14, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoffmpeg: disable freetype support on microblaze/glibc
Peter Korsgaard [Sat, 31 Jan 2015 07:18:30 +0000 (08:18 +0100)]
ffmpeg: disable freetype support on microblaze/glibc

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

While it does provide fenv.h, it doesn't support the needed exceptions so
disable it.

Reported-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoboot/uboot: bump to version 2015.01
Jörg Krause [Fri, 30 Jan 2015 10:09:47 +0000 (11:09 +0100)]
boot/uboot: bump to version 2015.01

Though U-Boot introduced a Kconfig and Kbuild build system with version
2014.10 the old build commands with <board>_config are still supported.

Tested with BR2_TARGET_UBOOT_BOARDNAME="m28evk"

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/openldap: new package
David Bender [Sun, 25 Jan 2015 22:19:20 +0000 (23:19 +0100)]
package/openldap: new package

Signed-off-by: David Bender <codehero@gmail.com>
[yann.morin.1998@free.fr:
  - remove ldaps config option, use build-time dependencies
  - add dependencies against openssl/gnutls/libnss as appropriate
  - fix mis-detected tls support when openssl is enabled
  - fix strip at install time
  - cleanup configure arguments
  - add hash file
  - fix help entry
]
[Peter: needs wchar]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-jinja2: allow build as host-package
erico.nunes [Wed, 28 Jan 2015 15:14:23 +0000 (13:14 -0200)]
python-jinja2: allow build as host-package

Jinja2 is a general purpose templating language for python and can be
required during build time for python scripts that generate code.

While currently there are no in-tree Buildroot packages which depend on
host-python-jinja2, I'm currently having to deal with a proprietary
software build system that requires it.

I have tested that it builds and works correctly as a host python
package for a Buildroot host-python and someone else might require it,
so I'm proposing its inclusion.

python-jinja2 for target builds fine without python-markupsafe as a
build dependency, but when building host-python-jinja2 without
host-python-markupsafe installed, the python package manager tries to
download and install it.
To avoid that and install host-python-markupsafe properly through
Buildroot, the host build dependency is needed. Host support for
python-markupsafe was submitted in a previous patch from this patchset.

Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-markupsafe: allow build as host package
erico.nunes [Wed, 28 Jan 2015 15:14:22 +0000 (13:14 -0200)]
python-markupsafe: allow build as host package

python-markupsafe is a dependency for python-jinja2, which can be used
during build time as a host tool to generate code based on templates.
This package is being added host package support mostly to allow
host-python-jinja2 to build.
This has been tested to build and work correctly as a host tool as well.

Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: update cryptodev digests patch
Gustavo Zacarias [Wed, 28 Jan 2015 18:50:07 +0000 (15:50 -0300)]
openssl: update cryptodev digests patch

The adaptation from commit 74dd54bf is incomplete/bad causing segfaults when
using cryptodev for digest offload, examples: openssh, openssl speed, others.
Tested on real hardware (talitos).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodropbear: bump to version 2015.67
Gustavo Zacarias [Wed, 28 Jan 2015 16:43:50 +0000 (13:43 -0300)]
dropbear: bump to version 2015.67

Switch sed options around since defaults have changed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoconfigs/qemu: update to the latest kernel/headers versions
Gustavo Zacarias [Wed, 28 Jan 2015 12:16:59 +0000 (09:16 -0300)]
configs/qemu: update to the latest kernel/headers versions

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenntpd: bump to version 5.7p3
Gustavo Zacarias [Wed, 28 Jan 2015 10:18:57 +0000 (07:18 -0300)]
openntpd: bump to version 5.7p3

Patch no longer necessary so drop it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopv: bump version
Peter Korsgaard [Wed, 28 Jan 2015 20:22:52 +0000 (21:22 +0100)]
pv: bump version

!LFS compilation needs a trivial patch which has been sent upstream.
Also add .hash file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobarebox: bump to version 2015.01.0
Fabio Porcedda [Wed, 28 Jan 2015 04:13:01 +0000 (05:13 +0100)]
barebox: bump to version 2015.01.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agort-tests: fix build dependencies
Baruch Siach [Sun, 25 Jan 2015 19:40:34 +0000 (21:40 +0200)]
rt-tests: fix build dependencies

Some tests didn't list librttest in their dependencies.

Fixes:
http://autobuild.buildroot.net/results/999/9998dcf8c82989d9eba772e16ce3905b24badbfc/
http://autobuild.buildroot.net/results/b1e/b1e078591d65a3b5c9d638ad5bbb4ec8c28c38ef/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agonew package: freeradius-client
David Bender [Sun, 25 Jan 2015 22:16:13 +0000 (23:16 +0100)]
new package: freeradius-client

Signed-off-by: David Bender <codehero@gmail.com>
[yann.morin.1998@free.fr:
  - add optional dependency to nettle
  - fix build against nettle
  - switch to using the ftp for release, instead of github
  - add missing dependency to host-pkgconf
  - remove extraneous configure options, we already pass them
  - drop extraneous ac_cv_func_memcmp_working, we already pass it
  - drop extraneous ac_cv_func_uname, it is properly found
  - add hash file
  - tweak help entry
]
[Peter: license is BSD-2c]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: fix c_rehash dumbness
Gustavo Zacarias [Tue, 27 Jan 2015 21:33:43 +0000 (18:33 -0300)]
openssl: fix c_rehash dumbness

The new c_rehash from openssl 1.0.2 can't take a minus in the directory
string since the regex for matching commands checks for - in any
position instead of just the beginning to trigger the command parser. Fixes:
http://autobuild.buildroot.net/results/ee6/ee683569350d5deaf0ccc603ed7066bffb83cbe3/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosquid: fix old distro gcc build failure
Gustavo Zacarias [Tue, 27 Jan 2015 20:30:54 +0000 (17:30 -0300)]
squid: fix old distro gcc build failure

Squid 3.5.x deprecated the use of HOSTCXX & friends in favour of
BUILDCXX and BUILDCXXFLAGS.
When they are not specified BUILDCXXFLAGS takes flags from target
CXXFLAGS which specifies C11 standard and which older vesions of gcc
don't understand, thus causing breakage.
cf_gen hasn't got any C11 features so it's not required. Fixes:
http://autobuild.buildroot.net/results/816/8162e4ec941e7642248373be47cca99113a648e8/

Also drop ACLOCAL and AUTOMAKE trickery from e27ccbab since it's no
longer required.

And fix a typo in the hash file pointing to an improper hash file
upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobtrfs-progs: bump to version 3.18.2
Gustavo Zacarias [Tue, 27 Jan 2015 19:18:07 +0000 (16:18 -0300)]
btrfs-progs: bump to version 3.18.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoalsa-utils: remove -ldl in static builds
Baruch Siach [Tue, 27 Jan 2015 17:51:39 +0000 (19:51 +0200)]
alsa-utils: remove -ldl in static builds

Since commit ffd7a00aef723 (alsa-lib: add patch to remove hardcoded -ldl) we
patch alsa.m4 from alsa-lib to remove -ldl on static builds.  Autoreconf
alsa-utils to regenerate aclocal.m4 using our alsa.m4 so we don't end up
linking the utilities against -ldl if not needed/available.

We also need to gettextize alsa-utils because we use a more recent gettext
version.

Fixes:
http://autobuild.buildroot.net/results/314/314dac9f5e62ae9beb598eb1b4cb35c0a7bfe792/
http://autobuild.buildroot.net/results/964/964e44f0c1653370600c7e8c647abda3f6380e34/
http://autobuild.buildroot.net/results/d72/d72f31bab907c7485d03db4597d01fd759277db4/
...

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default to version 3.18.4
Gustavo Zacarias [Tue, 27 Jan 2015 17:11:08 +0000 (14:11 -0300)]
linux: bump default to version 3.18.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: bump 3.{18, 14, 10}.x series
Gustavo Zacarias [Tue, 27 Jan 2015 17:11:07 +0000 (14:11 -0300)]
linux-headers: bump 3.{18, 14, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoffmpeg: enable use of freetype and fontconfig
Steve Kenton [Tue, 27 Jan 2015 01:22:35 +0000 (19:22 -0600)]
ffmpeg: enable use of freetype and fontconfig

Configure ffmpeg to use freetype and fontconfig
if those packages are selected.

ffmpeg freetype support require fenv.h, which is not available in uClibc or
musl, except for certain archs / depending on specific configuration
options, so only enable it for glibc.

[Peter: only enable on glibc, simplify logic]
Signed-off-by Stephen M. Kenton <skenton@ou.edu>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agowhois: bump to version 5.2.4
Gustavo Zacarias [Tue, 27 Jan 2015 15:12:38 +0000 (12:12 -0300)]
whois: bump to version 5.2.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosquid: bump to version 3.5.1
Gustavo Zacarias [Tue, 27 Jan 2015 14:50:19 +0000 (11:50 -0300)]
squid: bump to version 3.5.1

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/giflib: New package
Bernd Kuhls [Mon, 26 Jan 2015 19:24:16 +0000 (20:24 +0100)]
package/giflib: New package

This package will replace libungif.

Needed for Kodi 15.0, TexturePacker depends on giflib >= 5.0.5
https://github.com/xbmc/xbmc/blob/master/tools/depends/native/TexturePacker/src/configure.ac#L29

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobusybox: bump to version 1.23.1
Gustavo Zacarias [Tue, 27 Jan 2015 11:00:32 +0000 (08:00 -0300)]
busybox: bump to version 1.23.1

Removed patches are upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoopenssl: bump version to 1.0.2
Vicente Olivert Riera [Mon, 26 Jan 2015 18:20:09 +0000 (18:20 +0000)]
openssl: bump version to 1.0.2

- Bump version to 1.0.2
- Adapt patches to new version
- Update hash value

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibnftl: loosen threads dependency
Alexander Clouter [Sun, 18 Jan 2015 14:23:20 +0000 (14:23 +0000)]
libnftl: loosen threads dependency

nftables works fine without threads, only the XML parsing support in
libnftl requires -lpthread so move the depends into
BR2_PACKAGE_LIBNFTNL_XML.

[Thomas: tweak commit title and log.]

Signed-off-by: Alexander Clouter <alex+buildroot@digriz.org.uk>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gnu-efi: bump version to 3.0.1
Romain Naour [Mon, 19 Jan 2015 23:29:55 +0000 (00:29 +0100)]
package/gnu-efi: bump version to 3.0.1

remove upstream patch gnu-efi-03-parallel-make.patch

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogrep: add patch to fix CVE-2015-1345
Gustavo Zacarias [Mon, 26 Jan 2015 20:58:14 +0000 (17:58 -0300)]
grep: add patch to fix CVE-2015-1345

Fixes CVE-2015-1345 - heap buffer overrun.
See https://bugzilla.redhat.com/show_bug.cgi?id=1183651
Patch upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agojasper: add security fixes for CVE-2014-8157/8158
Gustavo Zacarias [Mon, 26 Jan 2015 20:45:49 +0000 (17:45 -0300)]
jasper: add security fixes for CVE-2014-8157/8158

Fixes:
CVE-2014-8157 - dec->numtiles off-by-one check in jpc_dec_process_sot()
CVE-2014-8158 - unrestricted stack memory use in jpc_qmfb.c

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopolarssl: add fix for CVE-2015-1182
Gustavo Zacarias [Mon, 26 Jan 2015 20:29:17 +0000 (17:29 -0300)]
polarssl: add fix for CVE-2015-1182

Fixes CVE-2015-1182 - Remote attack using crafted certificates.
Also rename patches to new naming convention.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/util-linux: add more tool select options
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:14 +0000 (18:14 +0200)]
package/util-linux: add more tool select options

Add more options to Config.in to allow optionally select or deselect
util-linux tools.

Also fix s/BR2_PACKAGE_WDCTL/BR2_PACKAGE_UTIL_LINUX_WDCTL/

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: install bash-completion files only with bash
Maxim Mikityanskiy [Mon, 19 Jan 2015 16:14:02 +0000 (18:14 +0200)]
package: install bash-completion files only with bash

package/systemd, package/kmod, package/util-linux: don't install
bash-completion files if bash is not selected to be installed.
Otherwise, install bash-completion files.

package/systemd: don't install zsh-completion files is zsh is not
selected to be installed. Otherwise, install zsh-completion files.

package/util-linux: don't install empty
/usr/share/bash-completion/completions directory if bash is not going to
be installed, and install bash-completion files if bash is selected to
be installed.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agompd: add patch to fix build failures
Gustavo Zacarias [Mon, 26 Jan 2015 13:45:58 +0000 (10:45 -0300)]
mpd: add patch to fix build failures

mpd is using snprintf without including stdio.h when pthread_setname_np
isn't available leading to failure, hence patch it. Fixes:
http://autobuild.buildroot.net/results/14c/14cf165e63fd7bb076d7c8f5aab92d24aa4622c4/

Patch status: sent upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobenejson: needs c++
Gustavo Zacarias [Mon, 26 Jan 2015 14:17:39 +0000 (11:17 -0300)]
benejson: needs c++

pull.cpp doesn't look like vanilla C
Fixes local tests (no autobuilder tests to show off atm).

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobenejson: fix for non-wchar toolchains
Gustavo Zacarias [Mon, 26 Jan 2015 14:17:38 +0000 (11:17 -0300)]
benejson: fix for non-wchar toolchains

wchar needs to be disabled in order for it to build on !wchar. Fixes:
http://autobuild.buildroot.net/results/71f/71f19d5056b56d40463b9fef7fa859e0025c4991/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-twisted: new package
Yegor Yefremov [Sun, 25 Jan 2015 23:47:30 +0000 (00:47 +0100)]
python-twisted: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoagentpp: add .hash file
Luca Ceresoli [Mon, 26 Jan 2015 10:58:45 +0000 (11:58 +0100)]
agentpp: add .hash file

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoxserver_xorg-server: Remove unused null root cursor option
Peter Korsgaard [Mon, 26 Jan 2015 08:47:55 +0000 (09:47 +0100)]
xserver_xorg-server: Remove unused null root cursor option

Upstream removed this configure option back in 2010 (for server 1.8):

http://cgit.freedesktop.org/xorg/xserver/commit/?id=60b6477f6dc005a1b052be8c5

So this hasn't done anything since 759d548e3e5 (xserver_xorg-server: bump
version).

Don't add any Config.in.legacy for this as it as been broken for so long any
way.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobison: add host-m4 as dependency
Gustavo Zacarias [Mon, 26 Jan 2015 00:14:47 +0000 (21:14 -0300)]
bison: add host-m4 as dependency

Pull in host-m4 as dependency since it requires a new-enough m4 to build
properly and some distributions don't update that often. Fixes:
http://autobuild.buildroot.net/results/ee8/ee88f2c2a80dc19699d176ff2acde62fbc8a251f/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobison: bump to version 3.0.4
Gustavo Zacarias [Mon, 26 Jan 2015 00:14:46 +0000 (21:14 -0300)]
bison: bump to version 3.0.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agom4: remove deprecated target package
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:22 +0000 (11:30 -0300)]
m4: remove deprecated target package

It's been deprecated for a year now so remove the target variant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoflex: remove deprecated binary in target
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:21 +0000 (11:30 -0300)]
flex: remove deprecated binary in target

It's been deprecated for a year now so remove the option.

Also rename patch to new naming convention.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobison: bump to version 3.0.3
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:20 +0000 (11:30 -0300)]
bison: bump to version 3.0.3

Also add hash file and remove patch since it's no longer necessary.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobison: remove deprecated target package
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:19 +0000 (11:30 -0300)]
bison: remove deprecated target package

It's been deprecated for a year now so remove the target variant.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogob2: remove deprecated target package
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:18 +0000 (11:30 -0300)]
gob2: remove deprecated target package

It's been deprecated for a year now so remove the target variant.

Also rename patch to new naming convention.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodistcc: remove deprecated package
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:17 +0000 (11:30 -0300)]
distcc: remove deprecated package

It's been deprecated since feb 2014 and it'll be a year for the 2015.02
release so remove it.
And it's basically useless without a target toolchain.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agohaserl: remove deprecated 0.8.x version
Gustavo Zacarias [Thu, 15 Jan 2015 14:30:16 +0000 (11:30 -0300)]
haserl: remove deprecated 0.8.x version

It'll be a year for the 2015.02 release so remove the old/deprecated
0.8.x version for the release.

Also update hash to match sourceforge (original) one.

And rename patch to new naming convention.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-zope-interface: new package
Yegor Yefremov [Sat, 24 Jan 2015 20:28:58 +0000 (21:28 +0100)]
python-zope-interface: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agodmalloc: Force arm mode instead of Thumb1 mode
Richard Genoud [Tue, 20 Jan 2015 11:24:37 +0000 (12:24 +0100)]
dmalloc: Force arm mode instead of Thumb1 mode

dmalloc has some assembly that doesn't exist in thumb1 mode.
So, force arm mode for dmalloc.

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agocgic: new package
David Bender [Sun, 25 Jan 2015 17:57:43 +0000 (18:57 +0100)]
cgic: new package

Signed-off-by: Dave Bender <bender@benegon.com>
Signed-off-by: David Bender <codehero@gmail.com>
[yann.morin.1998@free.fr: simplify rules to use -C $(@D); do not install
 in target/ ; add description to patches; split patches into independent
 changes; add hash]
[Thomas: fix minor typos in patch description.]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobenejson: new package
David Bender [Sun, 25 Jan 2015 17:57:42 +0000 (18:57 +0100)]
benejson: new package

Added C/C++ JSON parsing package benejson.

[Thomas:
 - Get rid of the usage of BENEJSON_SCONS_OPTS, since this variable is
   never defined.
 - Remove BENEJSON_SCONS_ENV, and pass the options directly in the
   definition of <pkg>_BUILD_CMDS.
 - Fix indentation of BENEJSON_BUILD_CMDS.]

Signed-off-by: Dave Bender <bender@benegon.com>
Signed-off-by: David Bender <codehero@gmail.com>
[yann.morin.1998@free.fr: fix static/shared install; enhance help entry;
 fix extra space; add hash]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-cmake: fix host-cmake-package type
Ryan Barnett [Fri, 23 Jan 2015 20:17:04 +0000 (14:17 -0600)]
pkg-cmake: fix host-cmake-package type

When trying to compile a host-cmake-package type such as host-cdrkit,
an error happens in regards to HOSTCC and HOSTCXX not being found.

  /bin/sh: HOSTCC: command not found
  /bin/sh: HOSTCXX: command not found

This due to the fact that the environment is incorrectly configured by
having the following:

  -DCMAKE_C_COMPILER=""$(HOSTCC)"" -DCMAKE_CXX_COMPILER=""$(HOSTCXX)""

This is due to having too many dollar signs. The fix is to remove the
extra dollar sign.

Also removing the unncessary quotes since the HOSTCC/HOSTCXX will
already contain quotes. This could cause an issue with make as double
quotes are not interpreted by make.

Minor formatting fix too.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agogtest: install libgtest_main to staging
Erico Nunes [Tue, 20 Jan 2015 18:54:33 +0000 (16:54 -0200)]
gtest: install libgtest_main to staging

gtest provides a separate libgtest_main library with a default main()
implementation for tests with basic needs.
This separate library isn't being installed by buildroot. This patch
adds the installation of this library to staging during the install of
gtest.

Signed-off-by: Erico Nunes <erico.nunes@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolightning: Add a patch to fix PPC build when disassembler is enabled
Paul Cercueil [Tue, 20 Jan 2015 13:36:37 +0000 (14:36 +0100)]
lightning: Add a patch to fix PPC build when disassembler is enabled

This patch is backported from upstream.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs: really move the website
Yann E. MORIN [Fri, 23 Jan 2015 23:05:55 +0000 (00:05 +0100)]
docs: really move the website

Now that the automated scripts that deply our website have been updated,
really move the website to its final location.

We still keep a symlink for the images, as they are used both for the
website, and for the manual.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolightning: add -lintl only when needed
Vicente Olivert Riera [Tue, 20 Jan 2015 14:24:21 +0000 (14:24 +0000)]
lightning: add -lintl only when needed

Adding -lintl to LIBS causes a failure in the configure phase when using
a toolchain which already has locale support because the intl library is
not present in the staging area. We fix this by adding -lintl only when
is needed.

This is the configure error:

checking whether the C compiler works... no
configure: error: in
`/br/output/build/lightning-2.0.5':
configure: error: C compiler cannot create executables
See `config.log' for more details

This is the message in the config.log:

configure:3351: /br/output/host/usr/bin/mips-linux-gnu-gcc
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
conftest.c -lintl >&5
/br/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.9.1/../../../../mips-linux-gnu/bin/ld:
cannot find -lintl
collect2: error: ld returned 1 exit status

Fixes:
  http://autobuild.buildroot.net/results/280/28006ab35379a9b7f380d40b99a760bec1b69e84/

[Thomas:
 - Adjust the fix to not add a dependency on gettext: lightning
   doesn't depend on gettext. It is just that binutils libraries are
   linked against libintl when available, and we need to add -lintl
   explicitly in such cases.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs: fixup the website symlink
Thomas Petazzoni [Sun, 25 Jan 2015 14:30:08 +0000 (15:30 +0100)]
docs: fixup the website symlink

For some reason, after applying Yann's patch, the symlink pointed to
'.?' instead of just '.'. This commit fixes this.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>