buildroot.git
9 years agoutil-linux: add an option to build host programs
Thierry Bultel [Wed, 10 Dec 2014 21:02:01 +0000 (22:02 +0100)]
util-linux: add an option to build host programs

Signed-off-by: Thierry Bultel <tbultel@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoblktrace: new package
Gustavo Zacarias [Tue, 9 Dec 2014 14:28:29 +0000 (11:28 -0300)]
blktrace: new package

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage: indentation cleanup
Jerzy Grzegorek [Tue, 9 Dec 2014 15:14:31 +0000 (16:14 +0100)]
package: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agonetsnmp: bump to version 5.7.3
Gustavo Zacarias [Tue, 9 Dec 2014 19:48:33 +0000 (16:48 -0300)]
netsnmp: bump to version 5.7.3

Security patch now upstream so remove.
Add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agomtr: bump to version 0.86 and use github call
Ivan Sergeev [Wed, 10 Dec 2014 02:13:57 +0000 (18:13 -0800)]
mtr: bump to version 0.86 and use github call

[Thomas: remove useless --without-glib option, as noticed by Vincent.]

Signed-off-by: Ivan Sergeev <vsergeev@kumunetworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agousbutils: drop double needs from comment
Gustavo Zacarias [Wed, 10 Dec 2014 00:40:40 +0000 (21:40 -0300)]
usbutils: drop double needs from comment

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowget: add host-pkgconf dependency
Gustavo Zacarias [Wed, 10 Dec 2014 00:40:06 +0000 (21:40 -0300)]
wget: add host-pkgconf dependency

Uses pkgconfig since 1.16.1+ to find libraries.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agojasper: add a patch fixing CVE-2014-9029
Baruch Siach [Wed, 10 Dec 2014 18:57:23 +0000 (20:57 +0200)]
jasper: add a patch fixing CVE-2014-9029

See http://www.ocert.org/advisories/ocert-2014-009.html for the details.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoutil-linux: add security patch for CVE-2014-9114
Gustavo Zacarias [Wed, 10 Dec 2014 20:14:41 +0000 (17:14 -0300)]
util-linux: add security patch for CVE-2014-9114

Fixes CVE-2014-9114 - command injection flaw in blkid.
See https://bugzilla.redhat.com/show_bug.cgi?id=1168485
Patch upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobwm-ng: add a hash file
Vicente Olivert Riera [Wed, 10 Dec 2014 10:52:42 +0000 (10:52 +0000)]
bwm-ng: add a hash file

It will clarify errors like this one:
  http://autobuild.buildroot.net/results/f22/f22888d87659dda8ff75f25490eab0a68f02bc9b/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodhcpcd; bump to version 6.6.5
Gustavo Zacarias [Wed, 10 Dec 2014 10:06:33 +0000 (07:06 -0300)]
dhcpcd; bump to version 6.6.5

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosquid: bump to version 3.4.10
Gustavo Zacarias [Wed, 10 Dec 2014 10:06:15 +0000 (07:06 -0300)]
squid: bump to version 3.4.10

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobarebox: bump to version 2014.12.0
Fabio Porcedda [Wed, 10 Dec 2014 07:32:33 +0000 (08:32 +0100)]
barebox: bump to version 2014.12.0

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopoppler: Install files into staging
Alan Ott [Sun, 12 Oct 2014 19:56:53 +0000 (15:56 -0400)]
poppler: Install files into staging

Install poppler's header files and libraries into staging, since it
provides a library that can be used by other packages.

[Thomas: slightly extended the commit message.]

Signed-off-by: Alan Ott <alan@signal11.us>
Suggested-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopoppler: Add option for Qt support
Alan Ott [Sun, 12 Oct 2014 19:56:52 +0000 (15:56 -0400)]
poppler: Add option for Qt support

Add an option to build the libpoppler-qt4 library.

[Thomas: slightly adjust the Config.in file, by:
  - Using an if BR2_PACKAGE_POPPLER ... endif block instead of a depends
    on BR2_PACKAGE_POPPLER for the new option.
  - Rewording the option prompt, since there's no need to indicate that
    the Qt support is for poppler since we're already a sub-option of
    poppler.]

Signed-off-by: Alan Ott <alan@signal11.us>
Suggested-by: Jeremie Scheer <jeremie.scheer@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
merge

9 years agouclibc: enable UCLIBC_HAS_STRING_GENERIC_OPT in all configs
Alexey Brodkin [Wed, 12 Nov 2014 15:04:44 +0000 (18:04 +0300)]
uclibc: enable UCLIBC_HAS_STRING_GENERIC_OPT in all configs

Description in uClibc for this optoin is:
--->---
bool "Use faster (but larger) generic string functions"
default y
help
  Answer Y to use the (tweaked) glibc generic string functions.

  In general, they are faster (but 3-5K larger) than the base
  uClibc string functions which are optimized solely for size.

  Many people will answer Y.
--->---

Additional 3-5K of size is not that important if resulting libuClibc.so is
of size about 300k.

But benefits in terms of performance could be pretty significant.

For example on ARC in LMbench we see more than 3 times bump in some tests
--->---
libc bcopy unaligned
...
8.39 - 6.76  (UCLIBC_HAS_STRING_GENERIC_OPT=no)
8.39 - 23.86 (UCLIBC_HAS_STRING_GENERIC_OPT=yes)
--->---

Also since the option in question is default in uClibc I don't expect if
enabled back (it was silently disabled in http://git.buildroot.net/buildroot/commit/?id=cfbf8abc33d86a0cf5c1bb3e0817a22009b7f301 on introduction of NPTL in uClibc
by Khem Raj) it to introduce problems.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Anton Kolesov <anton.kolesov@synopsys.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR.
Volker Krause [Mon, 17 Nov 2014 20:02:41 +0000 (21:02 +0100)]
pkg-cmake.mk: Set CMAKE_SYSTEM_PROCESSOR.

This is rarely needed by packages, but convenient to have when it is.

[Thomas:
  - don't define ARM_VARIANT as this name is too global, use
    CMAKE_SYSTEM_PROCESSOR_ARM_VARIANT instead.
  - don't use ifndef, but a more traditional else clause, for the
    non-ARM cases.]

Signed-off-by: Volker Krause <volker.krause@kdab.com>
Reviewed-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/script/scancpan: remove duplicated dependency
Francois Perrad [Tue, 9 Dec 2014 19:32:03 +0000 (20:32 +0100)]
support/script/scancpan: remove duplicated dependency

Dependencies from metacpan comes as a list of modules which is
transformed in a list of distribution for BR.  Different modules could
be included in the same distribution, so duplication is possible.

This can for example be seen with the HTTP-Daemon module, which would
get two times the dependencies on HTTP-Message without this commit.

[Thomas: slightly extend commit log.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowebsite: Javascript code cleanup
Maxime Hadjinlian [Sun, 2 Nov 2014 23:58:16 +0000 (00:58 +0100)]
website: Javascript code cleanup

By inversing the "if (!result.error)" we gain one level of indent.
Also moving variable declarations into a more correct block of code.

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowebsite: Fix indentation
Maxime Hadjinlian [Sun, 2 Nov 2014 23:58:15 +0000 (00:58 +0100)]
website: Fix indentation

[Thomas: fix commit title.]

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowebsite: Remove debug message
Maxime Hadjinlian [Sun, 2 Nov 2014 23:58:14 +0000 (00:58 +0100)]
website: Remove debug message

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosqlite: bump to version 3.8.7.4
Gustavo Zacarias [Tue, 9 Dec 2014 19:44:51 +0000 (16:44 -0300)]
sqlite: bump to version 3.8.7.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agousbutils: bump to version 008
Gustavo Zacarias [Tue, 11 Nov 2014 14:17:10 +0000 (11:17 -0300)]
usbutils: bump to version 008

Now uses hwdb from libudev for usb information.
Drop all redundant/obsolete dependencies and cleanup hooks.
Don't install to staging, it's pointless, it provides no libraries at
all and it doesn't bundle usb.ids any more.

[Thomas: change 'comment' in Config.in to match what's recommended in
the Buildroot manual.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoslang: use specific build and install commands for static builds
Vicente Olivert Riera [Tue, 9 Dec 2014 11:51:21 +0000 (11:51 +0000)]
slang: use specific build and install commands for static builds

Doing this we ensure that only the static library and a static version
of slsh are built.

Fixes:
  http://autobuild.buildroot.net/results/f12/f124ca3737baf5aca32029226805133d3544715c/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoslang: add adapted upstream patches for static builds
Vicente Olivert Riera [Tue, 9 Dec 2014 11:51:20 +0000 (11:51 +0000)]
slang: add adapted upstream patches for static builds

These are adapted upstream patches to make them apply on the version we
are using in Buildroot, and also taking into account that we already
have another patch which modifies the same file, so these patches would
not apply as they are. Unnecessary parts of the upstream patches have
been ingnored, such as changelogs or version changes.
The purpose of these patches are allowing the static library and a
static version of slsh be built without building any dynamic bit.
These patches will be included in the next release, so we can remove
them when we do the next version bump.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoslang: rename patches to follow the new name convention
Vicente Olivert Riera [Tue, 9 Dec 2014 11:51:19 +0000 (11:51 +0000)]
slang: rename patches to follow the new name convention

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: Markos Chandras <Markos.Chandras@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agothrift: disable tutorial(s)
Gustavo Zacarias [Tue, 9 Dec 2014 19:13:05 +0000 (16:13 -0300)]
thrift: disable tutorial(s)

The tutorials don't pass pedantic mode hence causing failures.
And we don't care about tutorials anyway, disable them to save time as
well. Fixes.
http://autobuild.buildroot.net/results/f68/f68d537e623f565000ca966372a7c0277f4e3888/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: add option to enable or disable OSS support
Jörg Krause [Mon, 8 Dec 2014 22:44:54 +0000 (23:44 +0100)]
package/mpd: add option to enable or disable OSS support

By default, the OSS support is enabled, which may not necessarily be
useful on most Linux systems that use ALSA.

[Thomas: tweak commit title and log.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: enable neighbor discovery support
Jörg Krause [Mon, 8 Dec 2014 22:44:53 +0000 (23:44 +0100)]
package/mpd: enable neighbor discovery support

Enable support for neighbor discovery useful in Samba and UPnP networks.

[Thomas: add dependency on smbclient or upnp plugin, without which the
neighbor discovery support isn't very useful.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: fix line length for help text
Jörg Krause [Mon, 8 Dec 2014 22:44:52 +0000 (23:44 +0100)]
package/mpd: fix line length for help text

Make help text lines not longer as 80 characters (one tab weights
eight chars).

[Thomas: rewrap more help text.]

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: make all package names in help text uppercase
Jörg Krause [Mon, 8 Dec 2014 22:44:51 +0000 (23:44 +0100)]
package/mpd: make all package names in help text uppercase

Make the package name uppercase to be consistent in all the help texts.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: fix typo
Jörg Krause [Mon, 8 Dec 2014 22:44:50 +0000 (23:44 +0100)]
package/mpd: fix typo

Fix little type: it's UPnP, not UPnp.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mpd: bump to version 0.19.6
Jörg Krause [Mon, 8 Dec 2014 22:55:29 +0000 (23:55 +0100)]
package/mpd: bump to version 0.19.6

Also update hash file.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-docopt: new package
Alvaro G. M [Tue, 9 Dec 2014 10:28:13 +0000 (11:28 +0100)]
python-docopt: new package

[Thomas:
  - Remove dependency on python || python3, as we did for all other
    python modules that work with both Python 2 and Python 3.
  - Rewrap help text.
  - Add <pkg>_LICENSE_FILES value.]

Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoiptables: rename patches to new convention
Ryan Coe [Tue, 9 Dec 2014 16:04:13 +0000 (08:04 -0800)]
iptables: rename patches to new convention

Signed-off-by: Ryan Coe <bluemrp9@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs/qemu: update to the latest kernel/headers versions
Gustavo Zacarias [Tue, 9 Dec 2014 12:17:39 +0000 (09:17 -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 agopackage/musl: remove obsolete setting of prefix
Jörg Krause [Tue, 9 Dec 2014 01:44:36 +0000 (02:44 +0100)]
package/musl: remove obsolete setting of prefix

Using the config option '--libdir=/lib' makes the setting of prefix to an
empty path obsolete in MUSL_INSTALL_TARGET_CMDS.

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopackage/musl: fix C library installation directory
Jörg Krause [Tue, 9 Dec 2014 01:44:35 +0000 (02:44 +0100)]
package/musl: fix C library installation directory

Set the installation path for the libraries to /lib instead of /usr/lib.

This fixes an issue when building a toolchain with the musl library by
the internal toolchain backend of Buildroot in the first step and import this
toolchain later as a custom external toolchain in a second step. For this use
case check-musl in toolchain/helpers.mk failed because it did not find the
libc or libm in sysroot/lib.

This patch superseeds: [PATCH 1/1] toolchain/helpers.mk: fix check-musl
http://patchwork.ozlabs.org/patch/417587/

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agobind: security bump to version 9.9.6-P1
Gustavo Zacarias [Tue, 9 Dec 2014 11:34:51 +0000 (08:34 -0300)]
bind: security bump to version 9.9.6-P1

Fixes CVE-2014-8500 - A flaw in delegation handling could be exploited
to put named into an infinite loop, in which each lookup of a name
server triggered additional lookups of more name servers.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolighttpd: disable static build
Baruch Siach [Tue, 9 Dec 2014 11:25:26 +0000 (13:25 +0200)]
lighttpd: disable static build

lighttpd modules support code requires shared libraries support.

The scons based build system seems to be support static link of modules, but
we currently don't use scons for lighttpd.

Fixes:
http://autobuild.buildroot.net/results/39c/39c027bf6b76a0f9c15a184f449dadacfaefe980/

[Peter: move to top of file to fix indentation of sub options]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibsoxr: add a hash file
Vicente Olivert Riera [Tue, 9 Dec 2014 09:56:18 +0000 (09:56 +0000)]
libsoxr: add a hash file

It will clarify errors like this:
  http://autobuild.buildroot.net/results/923/923d4ba849839beca89f427687bbd903d6037b15/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agoltrace: disable elfutils unwinding when libunwind is used
Baruch Siach [Tue, 9 Dec 2014 06:11:48 +0000 (08:11 +0200)]
ltrace: disable elfutils unwinding when libunwind is used

ltrace can't use both. Use --with-elfutils=no to disable use of elfutils
(libdwfl) for unwinding.

Note that elfutils (libelf) is still a mandatory dependency regardless of
--with-elfutils.

Fixes:
http://autobuild.buildroot.net/results/a3c/a3c1647578cdeda3aaf672084a9a893f06dbad26/
http://autobuild.buildroot.net/results/fdb/fdb7e760faeda77b263a6dac3e322a25b53e67ff/
http://autobuild.buildroot.net/results/70a/70a0614ca7baf6a46898834a87cd46865f6e3385/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolibcgicc: bump to version 3.2.16
Gustavo Zacarias [Tue, 9 Dec 2014 00:08:52 +0000 (21:08 -0300)]
libcgicc: bump to version 3.2.16

Also add hash file.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-thrift: bump to version 0.9.2
Thomas Petazzoni [Mon, 8 Dec 2014 22:03:28 +0000 (23:03 +0100)]
python-thrift: bump to version 0.9.2

Following the bump of the thrift package, it makes sense to bump the
python-thrift package as well. Python 3 is still not supported
apparently, so we keep this package a Python 2 only one.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agothrift: bump to version 0.9.2
Gustavo Zacarias [Fri, 5 Dec 2014 19:12:42 +0000 (16:12 -0300)]
thrift: bump to version 0.9.2

Drop patches that are upstream.
Add hash file.
Tweak autoreconf patch since README is now missing as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/scripts/dependencies.sh: cleanup the output of the 32 bits gcc test
Jens Stimpfle [Wed, 12 Nov 2014 13:31:45 +0000 (13:31 +0000)]
support/scripts/dependencies.sh: cleanup the output of the 32 bits gcc test

The screen is cluttered when we build for 32 bit target and 32 bit gcc
is missing.

  ~/buildroot$ make
  [...]
  /usr/bin/ld: cannot find crt1.o: No such file or directory
  /usr/bin/ld: cannot find crti.o: No such file or directory
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc.a when searching for -lgcc
  /usr/bin/ld: cannot find -lgcc
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc_s.so when searching for -lgcc_s
  /usr/bin/ld: cannot find -lgcc_s
  /usr/bin/ld: cannot find -lc
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc.a when searching for -lgcc
  /usr/bin/ld: cannot find -lgcc
  /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.9/libgcc_s.so when searching for -lgcc_s
  /usr/bin/ld: cannot find -lgcc_s
  /usr/bin/ld: cannot find crtn.o: No such file or directory
  collect2: error: ld returned 1 exit status
  [...]
  Your Buildroot configuration needs a compiler capable of building 32 bits binaries.

The final note is enough, and adding 2>/dev/null to the gcc test
invocation is also more consistent with the rest of the script. The
patch makes the '/usr/bin/ld:' and 'collect2:' lines go away.

Signed-off-by: Jens Stimpfle <debian@jstimpfle.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/scripts/dependencies.sh: improve g++ test to avoid misleading output
Jens Stimpfle [Wed, 12 Nov 2014 13:31:44 +0000 (13:31 +0000)]
support/scripts/dependencies.sh: improve g++ test to avoid misleading output

When g++ is not installed, a misleading error message turns up because
of a bad combination of an unquoted shell variable and control flow.

 ~/buildroot$ make
 You may have to install 'g++' on your build machine
 /home/testuser/buildroot/support/dependencies/dependencies.sh: 136: [: -lt: unexpected operator

[Thomas:
  - fixed commit log, as per the suggestion of Yann E. Morin.
  - don't change existing empty new lines, suggested by Yann.
  - use positive logic in the newly added test, suggested by Yann.]

Signed-off-by: Jens Stimpfle <debian@jstimpfle.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoola: bump to 0.9.3
Simon Marchi [Mon, 8 Dec 2014 00:39:39 +0000 (19:39 -0500)]
ola: bump to 0.9.3

This update requires a few changes. First, good news, the patches that you
guys have submitted to OLA have been merged, so we can drop those:

 ola-0001-fix-build-warning.patch -> ea375582b0bfee93d66608ffc807078ffc48e961
 ola-0002-move-python-sub-check-to-configure.ac.patch -> 673a7602a6bf7a6aa8a8461ebd9362d59f6e21df
 ola-0003-fix-check-for-python-module-for-cross-compilation.patch -> b51b48be81ec38bc7d1229be0c7d3189c5ddbafa

Less good news: OLA now builds a small protoc wrapper (ola_protoc) that is
built and executed at compile-time on the host. If we don't change anything,
ola_protoc is built with the target toolchain and therefore can't run on the
host. Explanation for ola_protoc is here

To solve this, I created a package host-ola, which builds and provides an
ola_protoc for the host. It tries to disable as much as possible of things
that we won't need at configure time. Only ola_protoc is built and installed
so it's not that long.

The change has been built-tested only.

[1] https://github.com/OpenLightingProject/ola/blob/master/protoc/ola-protoc.cpp#L20

[Thomas:
 - add HOST_OLA_DEPENDENCIES variable, so that host-ola doesn't get
   all the dependencies of the target ola package: certain target ola
   dependencies do not have corresponding host packages (and it
   doesn't make sense to have them as dependencies just to build
   ola_protoc)
 - improve the commit log to mention which upstream commits correspond
   to our patches.]

Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibinput: add hash
Peter Seiderer [Mon, 8 Dec 2014 19:37:08 +0000 (20:37 +0100)]
libinput: add hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibinput: bump version to 0.7.0
Peter Seiderer [Mon, 8 Dec 2014 19:37:07 +0000 (20:37 +0100)]
libinput: bump version to 0.7.0

See [1] for a detailed list of changes.

Additional renamed (and rebased) the single patch.

[1] http://lists.freedesktop.org/archives/wayland-devel/2014-December/018750.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/x11r7/xserver_xorg-server: rename patches to the new convention
Bernd Kuhls [Sat, 29 Nov 2014 21:23:51 +0000 (22:23 +0100)]
package/x11r7/xserver_xorg-server: rename patches to the new convention

Patch 0003 will be extended to fix the blackfin build as well, therefore
it is renamed according to the fixed variable.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agowget: bump version to 1.16.1
Vicente Olivert Riera [Mon, 8 Dec 2014 14:51:51 +0000 (14:51 +0000)]
wget: bump version to 1.16.1

- Bump version to 1.16.1
- Update hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofreetype: CVE-2014-2240: bump version to 2.5.4
Vicente Olivert Riera [Mon, 8 Dec 2014 17:06:42 +0000 (17:06 +0000)]
freetype: CVE-2014-2240: bump version to 2.5.4

See: https://savannah.nongnu.org/bugs/?43661

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux: bump default to version 3.18
Gustavo Zacarias [Mon, 8 Dec 2014 11:10:41 +0000 (08:10 -0300)]
linux: bump default to version 3.18

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux-headers: add 3.18.x series
Gustavo Zacarias [Mon, 8 Dec 2014 11:10:40 +0000 (08:10 -0300)]
linux-headers: add 3.18.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agotoolchain: add 3.18 choice for headers
Gustavo Zacarias [Mon, 8 Dec 2014 11:10:39 +0000 (08:10 -0300)]
toolchain: add 3.18 choice for headers

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agosqlite: bump to version 3.8.7.3
Gustavo Zacarias [Mon, 8 Dec 2014 11:10:01 +0000 (08:10 -0300)]
sqlite: bump to version 3.8.7.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopython-alsaaudio: needs pcm and mixer support in alsa
Peter Korsgaard [Mon, 8 Dec 2014 11:42:31 +0000 (12:42 +0100)]
python-alsaaudio: needs pcm and mixer support in alsa

Fixes:
http://autobuild.buildroot.net/results/20a/20ac027a2b27457dd046f83abc329cf9caaaca8a/
http://autobuild.buildroot.net/results/3b8/3b882e1196dfea18e55670f397732998c781b280/
http://autobuild.buildroot.net/results/2de/2dec463de766272ff29bbef8fd08a223d16a92a0/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-libav: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:14:38 +0000 (23:14 +0100)]
gst1-libav: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-ugly: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:13:21 +0000 (23:13 +0100)]
gst1-plugins-ugly: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-bad: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:12:02 +0000 (23:12 +0100)]
gst1-plugins-bad: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-good: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:10:48 +0000 (23:10 +0100)]
gst1-plugins-good: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogst1-plugins-base: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:08:37 +0000 (23:08 +0100)]
gst1-plugins-base: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agogstreamer1: bump version
Peter Korsgaard [Sun, 7 Dec 2014 22:06:40 +0000 (23:06 +0100)]
gstreamer1: bump version

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agopkg-download: VERIFY_HASH: use same hash file for host and target downloads
Peter Korsgaard [Mon, 8 Dec 2014 07:50:14 +0000 (08:50 +0100)]
pkg-download: VERIFY_HASH: use same hash file for host and target downloads

Fixes (or atleast stops the build with a saner description):
http://autobuild.buildroot.net/results/1a9/1a9643f8633db038d4fe5ca4a32e4d52e70a3a1a/

We're using the same sources for host and target downloads, so it makes
sense to use the same <pkg>.hash file as well to ensure the host version
gets verified without us having to maintain a seperate host-<pkg>.hash file.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
9 years agolinux: bump default version to 3.17.6
Gustavo Zacarias [Sun, 7 Dec 2014 23:09:04 +0000 (20:09 -0300)]
linux: bump default version to 3.17.6

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolinux-headers: bump 3.{17, 14, 12, 10}.x series
Gustavo Zacarias [Sun, 7 Dec 2014 23:09:03 +0000 (20:09 -0300)]
linux-headers: bump 3.{17, 14, 12, 10}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxbmc: use github call
Maxime Hadjinlian [Sun, 12 Oct 2014 18:21:00 +0000 (20:21 +0200)]
xbmc: use github call

Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mutt: specify the mailpath
Yann E. MORIN [Sat, 29 Nov 2014 10:55:56 +0000 (11:55 +0100)]
package/mutt: specify the mailpath

mutt's ./configure looks for different paths for where to look for
incoming mails.

This is absolutely worng in the case of cross-compilation, because the
path it may find on the host may not exist on the target.

Not only that, but some host may not even have any of the paths
./configure looks for.

Fix that by specifying the mailpath, and set it to the value documented
in the FHS [0]

Since Buildroot only guarantees /tmp to be writable, make /var/mail a
symlink to /tmp .

[0] http://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#VARMAILUSERMAILBOXFILES

Reported-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agobluez5_utils: bump to version 5.25
Jaap Crezee [Sun, 30 Nov 2014 14:43:27 +0000 (15:43 +0100)]
bluez5_utils: bump to version 5.25

[Thomas: tweak commit log.]

Signed-off-by: Jaap Crezee <jaap@jcz.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoavahi: add optional dbus-python support
Peter Korsgaard [Tue, 2 Dec 2014 16:15:01 +0000 (17:15 +0100)]
avahi: add optional dbus-python support

Without this, the python support doesn't do anything.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/gcc: set e5500 and e6500 version mask
Gustavo Zacarias [Mon, 17 Nov 2014 23:14:52 +0000 (20:14 -0300)]
package/gcc: set e5500 and e6500 version mask

Freescale e5500 and e6500 cores are supported for versions >= 4.8
So filter out all of the older versions to avoid build failures.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoarch/powerpc: add fsl e5500 and e6500 support
Gustavo Zacarias [Mon, 17 Nov 2014 23:14:51 +0000 (20:14 -0300)]
arch/powerpc: add fsl e5500 and e6500 support

Add Freescale E5500 and E6500 core support.
These can go in 32 or 64-bit mode.
I'm not aware of these being able to boot in LE mode so filter that out
until we get some feedback on it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Reviewed-by: "Matt Weber" <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/network-manager: Enable service under systemd
Nathaniel Roach [Tue, 2 Dec 2014 08:53:39 +0000 (16:53 +0800)]
package/network-manager: Enable service under systemd

Previously NetworkManager had to be enabled and started on the
first boot manually or by a script.

Add install define with the commands to setup the required
service files for automatic start.

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-pam: new package
Peter Korsgaard [Wed, 3 Dec 2014 16:12:31 +0000 (17:12 +0100)]
python-pam: new package

Upstream is no longer available, so get the tarball + important patches from
Fedora.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-psutil: new package
Peter Korsgaard [Wed, 3 Dec 2014 08:42:51 +0000 (09:42 +0100)]
python-psutil: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-alsaaudio: new package
Peter Korsgaard [Tue, 2 Dec 2014 22:56:44 +0000 (23:56 +0100)]
python-alsaaudio: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-enum34: new package
Peter Korsgaard [Tue, 2 Dec 2014 14:57:32 +0000 (15:57 +0100)]
python-enum34: new package

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-ipaddr: new package
Peter Korsgaard [Tue, 2 Dec 2014 12:56:25 +0000 (13:56 +0100)]
python-ipaddr: new package

The functionality is included in python3 as the ipaddress module, so make it
python2 only.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: add CodeSourcery MIPS 2014.11, remove 2013.05
Vicente Olivert Riera [Wed, 3 Dec 2014 16:52:25 +0000 (16:52 +0000)]
toolchain-external: add CodeSourcery MIPS 2014.11, remove 2013.05

- Add CodeSourcery MIPS 2014.11 toolchain
- Remove CodeSourcery MIPS 2013.05 toolchain
- Update the hash file

Toolchain datasheet:
  https://sourcery.mentor.com/GNUToolchain/release2935?@template=datasheet

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agotoolchain-external: fix the help message for CodeSourcery MIPS
Vicente Olivert Riera [Wed, 3 Dec 2014 16:52:24 +0000 (16:52 +0000)]
toolchain-external: fix the help message for CodeSourcery MIPS

- Fix the help message for CodeSourcery MIPS toolchains
- Add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agosupport/script/scancpan: fix corelist check
Francois Perrad [Wed, 3 Dec 2014 18:05:37 +0000 (19:05 +0100)]
support/script/scancpan: fix corelist check

module could be removed of the core,
so check if the module is currently in the core,
but not if the module was once time included in the core.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoconfigs: add sample for freescale p2020ds
Gustavo Zacarias [Wed, 3 Dec 2014 19:38:58 +0000 (16:38 -0300)]
configs: add sample for freescale p2020ds

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoboot/at91bootstrap3: bump to v3.7.1
Angelo Compagnucci [Wed, 3 Dec 2014 16:18:25 +0000 (17:18 +0100)]
boot/at91bootstrap3: bump to v3.7.1

Change to use the _defconfig targets of at91bootstrap3 build system
when a defconfig is used.

[Thomas: adjust to make a better use of at91bootstrap3 defconfig
mechanism.]

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibgpgme: bump version to 1.5.2
Vicente Olivert Riera [Fri, 28 Nov 2014 16:13:37 +0000 (16:13 +0000)]
libgpgme: bump version to 1.5.2

- Bump version to 1.5.2
- Add a hash file

[Thomas: fix typo in commit title.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopinentry: bump version to 0.9.0
Vicente Olivert Riera [Fri, 28 Nov 2014 16:09:39 +0000 (16:09 +0000)]
pinentry: bump version to 0.9.0

- Bump version to 0.9.0
- Add a hash file

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibassuan: bump version to 2.1.3
Vicente Olivert Riera [Fri, 28 Nov 2014 16:04:23 +0000 (16:04 +0000)]
libassuan: bump version to 2.1.3

- Bump version to 2.1.3
- Update the hash value

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agolibz160: fix dependencies
Jérôme Pouiller [Sat, 29 Nov 2014 09:12:39 +0000 (10:12 +0100)]
libz160: fix dependencies

libz160 is provided as binary. We need EABI toolchain with glibc to use
it.

[Thomas: adjust dependency comment according to Yann suggestions.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/wpa_supplicant: Add patch to fix build error with musl
Jörg Krause [Wed, 3 Dec 2014 22:03:47 +0000 (23:03 +0100)]
package/wpa_supplicant: Add patch to fix build error with musl

Add a patch to allow building wpa_supplicant with the musl C library.

Building wpa_supplicant with the musl C library fails since musl does not
define type names such as '__uint32_t'. To support building wpa_supplicant
with the musl C library use the integer types declared in the ISO C standard
header file <stdint.h>.

Patch is sent upstream:
http://lists.shmoo.com/pipermail/hostap/2014-December/031464.html

Signed-off-by: Jörg Krause <jkrause@posteo.de>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoexiv2: add patch to fix build error with some toolchains
Nicolas Serafini [Thu, 4 Dec 2014 10:18:14 +0000 (11:18 +0100)]
exiv2: add patch to fix build error with some toolchains

This patch remove a header inclusion that is not required an can create
build error with some toolchains.
The patch is pushed on the upstream for the next release.
http://dev.exiv2.org/issues/1007

Fixes:
http://autobuild.buildroot.net/results/09d/09d9b525eeee458247e10a7948070c00bbabb964/

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agoxserver_xorg-server: disable libunwind on MIPS with 32-bit pointers
Vicente Olivert Riera [Fri, 5 Dec 2014 11:17:02 +0000 (11:17 +0000)]
xserver_xorg-server: disable libunwind on MIPS with 32-bit pointers

libunwind support in xorg-server is not only broken for MIPS64 n32 but
for all MIPS variants with 32-bit pointers. The reason is exactly the
same one. libunwind defines a uint64 variable to store the words. Then,
xorg-server casts that variable (64-bit) into a pointer (32-bit), and
the compilation fails:

backtrace.c:98:13: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]

Related:
  https://bugs.freedesktop.org/show_bug.cgi?id=79939

Fixes:
  http://autobuild.buildroot.net/results/87b/87be2c95957f9925c1258812e536df72689fc5da/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopkg-download: fix arguments to hash checking script
Yann E. MORIN [Sun, 7 Dec 2014 11:02:34 +0000 (12:02 +0100)]
pkg-download: fix arguments to hash checking script

The argument are correctly used, but incorrectly documented.
Inverse the comments to match the actual usage.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs/ext2: add option to specify a filesystem label
Yann E. MORIN [Sat, 6 Dec 2014 22:40:06 +0000 (23:40 +0100)]
fs/ext2: add option to specify a filesystem label

Filesystems of the ext familly can carry a filesystem label.
Add an option for the user to specify such a label.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Károly Kasza <kaszak@gmail.com>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agofs/ext2: use the new mke2img host package
Yann E. MORIN [Sat, 6 Dec 2014 22:40:05 +0000 (23:40 +0100)]
fs/ext2: use the new mke2img host package

And get rid of the old genext2fs.sh wrapper.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/mke2img: new package
Yann E. MORIN [Sat, 6 Dec 2014 22:40:04 +0000 (23:40 +0100)]
package/mke2img: new package

Currently, we are using a shell script called genext2fs, that
impersonates the real genext2fs. But that script does much more than
just call genextfs: it also calls tune2fs and e2fsck.

Because it impersonates genext2fs, we can not easily add new options,
and are constrained by the genext2fs options.

But it turns out that, of all the options supported by the real
genext2fs, we only really care for a subset, namely:
  - number of blocks
  - number of inodes
  - percentage of blocks reeserved to root
  - the root directory which to generate the image from

So, we introduce a new host package, mke2img, that is intended to
eventually replace genext2fs.sh.

This new script is highly modeled from the existing genext2fs.sh, but
was slightly refreshed, and a new, supposedly sane set of options has
been choosen for the features we need (see above), and some new options
were added, too, rather than relying on the arguments order or
environment variables:
  -b <nb-blocks>    number of blocks in the filesystem
  -i <nb-inodes>    number of inodes in the filesystem
  -r <pc-reserved>  percentage of reserved blocks
* -d <root-dir>     directory containing the root of the filesystem
* -o <img-file>     output image file
  -G <ext-gen>      extfs generation: 2, 3, or 4 (default: 2)
  -R <ext-rev>      ext2 revision: 0 or 1 (default 1)
  -l <label>        filesystem label
  -u <uid>          filesystem UUID; if not specified, a random one is used

* Mandatory options

Since the upstream e2fsprogs are expected to release a new mke2fs that
will be able to generate a filesystem image from a directory, we then
will be able to replace all the logic in mke2img, to use mke2fs instead
of the (relatively fragile) combination of the three tools we currently
use.

An entry is added for it in the "Host utilities" menu, so it can be
selected for use by post-{build,image} scripts. The ext2 filesystem
selection is changed to select that now.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Karoly Kasza <kaszak@gmail.com>
Reviewed-by: Karoly Kasza <kaszak@gmail.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/binutils: fix comment dependencies
Romain Naour [Thu, 4 Dec 2014 21:11:02 +0000 (22:11 +0100)]
package/binutils: fix comment dependencies

[Thomas: re-adjust dependencies, according to Yann's comment.]

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopython-webpy: depend on Python 2.x only
Yegor Yefremov [Thu, 4 Dec 2014 21:36:57 +0000 (22:36 +0100)]
python-webpy: depend on Python 2.x only

webpy is still not ported to Python 3, so enable only for Python 2.

Fixes:

 http://autobuild.buildroot.org/results/e6b/e6bdb8e0ab6daa027a01507861ecde47338a11a8/

[Thomas: add autobuilder reference.]

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/minidlna: disable broken toolchains on nios2
Bernd Kuhls [Sun, 30 Nov 2014 10:24:50 +0000 (11:24 +0100)]
package/minidlna: disable broken toolchains on nios2

minidlna triggers the _gp bug:
http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/77875/

Fixes
http://autobuild.buildroot.net/results/712/71230ee530a41b3611cd4526f0f010f9c2ef25eb/
http://autobuild.buildroot.net/results/79c/79cbae4dab3ad712bc20c752fdd91e168eade9fe/
http://autobuild.buildroot.net/results/df7/df7da91985a7bf2b05093bae7379ef22362a44fc/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agopackage/dhcp: Only install the relevant unit file
Nathaniel Roach [Mon, 1 Dec 2014 14:18:16 +0000 (22:18 +0800)]
package/dhcp: Only install the relevant unit file

Previous to this patch, if BR2_PACKAGE_DHCP_CLIENT was selected,
dhcpd.service was installed to the target on systemd systems.

On the resultant system, this would mean that systemctl would
show an error starting dhcpd.service, as the requisite files
do not exist. This does not cause issue on sysvinit systems
as the init scripts silently error when the files aren't found.

Fix this by adding a conditional check to the install define.

Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9 years agodocs: fix typo in cmake-package documentation
Thomas Petazzoni [Wed, 3 Dec 2014 21:41:28 +0000 (22:41 +0100)]
docs: fix typo in cmake-package documentation

The cmake-package documentation was referring to
BR2_PREFER_STATIC_LIBS, while the option is actually named
BR2_PREFER_STATIC_LIB. This commit fixes this mistake.

Cc: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Samuel Martin <s.martin49@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>