buildroot.git
8 years agoqt: add missing select BR2_PACKAGE_TSLIB
Thomas Petazzoni [Wed, 30 Dec 2015 17:01:12 +0000 (18:01 +0100)]
qt: add missing select BR2_PACKAGE_TSLIB

Fixes:

  http://autobuild.buildroot.org/results/36c/36c56d10abcf96afd389f2ebe8db4dc13659997b/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodbus: audit support needs both audit and libcap-ng
Thomas Petazzoni [Wed, 30 Dec 2015 16:27:59 +0000 (17:27 +0100)]
dbus: audit support needs both audit and libcap-ng

As was suggested by the <pkg>_DEPENDENCIES variable, the audit support
in DBus requires both audit and libcap-ng. However, it didn't take
care of the fact that libcap-ng must be enabled in the configuration
to depend on it, causing some build failures with the newly added
check.

DBus configure.ac confirms that both packages are needed to enable
audit support, so we simply fix the condition to only be true when
both BR2_PACKAGE_AUDIT *and* BR2_PACKAGE_LIBCAP_NG are true.

Fixes:

  http://autobuild.buildroot.org/results/239/23953cc66faecb65e9ebf1f6980924f823d736a2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: add missing select BR2_PACKAGE_LIBMCRYPT
Thomas Petazzoni [Wed, 30 Dec 2015 16:23:01 +0000 (17:23 +0100)]
php: add missing select BR2_PACKAGE_LIBMCRYPT

Fixes:

  http://autobuild.buildroot.org/results/b0c/b0c9ea0d577a74549476ddbdb0d2ecd09311c765/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenbox: add missing propagated dependencies from pango
Thomas Petazzoni [Wed, 30 Dec 2015 16:16:08 +0000 (17:16 +0100)]
openbox: add missing propagated dependencies from pango

pango needs atomics support and C++ support, and those dependencies
where not propagated to the new openbox package.

Should fix:

  http://autobuild.buildroot.org/results/d3b/d3b17335f2e5720a69b4635602fef30a5ae34660/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolttng-babeltrace: add missing select BR2_PACKAGE_POPT
Thomas Petazzoni [Wed, 30 Dec 2015 16:08:30 +0000 (17:08 +0100)]
lttng-babeltrace: add missing select BR2_PACKAGE_POPT

lttng-babeltrace unconditionally uses "popt" in its <pkg>_DEPENDENCIES
variable, but does not select it. This commit fixes this
inconsistency.

Fixes:

  http://autobuild.buildroot.org/results/274/2748a02b090ce078fc880bd821df3c913b8c8dfd/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosshfs: use SSHFS_VERSION variable in URL
Jerzy Grzegorek [Wed, 30 Dec 2015 14:08:32 +0000 (15:08 +0100)]
sshfs: use SSHFS_VERSION variable in URL

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfuse: use LIBFUSE_VERSION variable in URL
Jerzy Grzegorek [Wed, 30 Dec 2015 14:08:31 +0000 (15:08 +0100)]
libfuse: use LIBFUSE_VERSION variable in URL

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: ssize_t needs unistd.h
Alex Suykov [Wed, 30 Dec 2015 14:05:41 +0000 (16:05 +0200)]
vboot-utils: ssize_t needs unistd.h

Fixes
http://autobuild.buildroot.net/results/95c8708411fbb116f313a0fdeccacf92cf9e3d8d/
http://autobuild.buildroot.net/results/cf4aa60f9fc9c48ff13d3233994b77b7c0950afe/
http://autobuild.buildroot.net/results/6f7dcafde693f06dfc88c922c5f8dd70ae2e30b5/
http://autobuild.buildroot.net/results/a2e95784d32c8842f6947801fd0d8c48f68b84e2/
http://autobuild.buildroot.net/results/f69ae4c9eee27df43389ae76048fb4ddd5a3eca6/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: MTD_CHAR_MAJOR definition
Alex Suykov [Wed, 30 Dec 2015 14:05:30 +0000 (16:05 +0200)]
vboot-utils: MTD_CHAR_MAJOR definition

Fixes
http://autobuild.buildroot.net/results/a6360fd21314899321071c34fcb4892c5eed9bcc/
http://autobuild.buildroot.net/results/0af3aa4a429c45d3a2609913ec1040f32378f3c8/
http://autobuild.buildroot.net/results/cc4940fd6f51b31d71014f5aedee5223180eb36e/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-paho-mqtt: add new package
Davide Viti [Wed, 30 Dec 2015 08:13:27 +0000 (09:13 +0100)]
python-paho-mqtt: add new package

Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/tpm-tools: fix build with locale support
Samuel Martin [Wed, 30 Dec 2015 10:10:50 +0000 (11:10 +0100)]
package/tpm-tools: fix build with locale support

tpm-tools needs to link with libintl when locale support is enabled.

However, tpm-tools' build-system internally builds a couple of static libraries
used to build the final programs.
When linking these libraries or the final programs, we need to explicitly tell
the linker to link with libintl in order to resolve all the missing symbols.

Fixes:
  http://autobuild.buildroot.org/results/560/56020558ec298ac4007bf7f6ce030b3f2fa1157d/
  http://autobuild.buildroot.org/results/17f/17fc6ca79765fd9ecdacec4f5a2b58caa554d48d/
  http://autobuild.buildroot.org/results/2d2/2d2c655429df62da2b8746a564fc064609e96001/
  http://autobuild.buildroot.org/results/d52/d5259b83e7a269bca019d024366aa201f5a174fd/
  http://autobuild.buildroot.org/results/11c/11cb0d1e51459e75e5f376cb07ce0188f8f050c4/
  http://autobuild.buildroot.org/results/bad/bad9a97b4fff00732f2efb043bbb76a99963c491/
  http://autobuild.buildroot.org/results/2f8/2f8bd534e6fcd9d356fe9087cb1394b9b2c4192c/
  and many others...

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Cc: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agombedtls: disable assembly for some scenarios
Gustavo Zacarias [Wed, 30 Dec 2015 12:07:03 +0000 (09:07 -0300)]
mbedtls: disable assembly for some scenarios

It's affected in the same way as polarssl, but use an enhanced trick
compared to 130ca81b since it's required by the codebase. Fixes:
http://autobuild.buildroot.net/results/584/584d1d12be9f2bbf45ccbdf93b6b442524059dcc/
http://autobuild.buildroot.net/results/d13/d13a06ba3fc0d7f08a03c04fcb484761da7af3f7/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobind: bump to version 9.10.3-P2
Gustavo Zacarias [Wed, 30 Dec 2015 13:39:29 +0000 (10:39 -0300)]
bind: bump to version 9.10.3-P2

Leave the LTS series for the latest stable version for libressl
compatibility.
Unfortunately this means threads are now required, but this shouldn't be
a problem for a fully-featured resolver.

Drop 0001-disable-tests.patch since it's no longer required, genrandom
isn't run unless the tests are called upon.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: update help text
Baruch Siach [Wed, 30 Dec 2015 12:30:59 +0000 (14:30 +0200)]
wireshark: update help text

Since commit 00be67d84696 (wireshark: enable GUI options, 2015-12-02) the GUI
is enabled when the required libraries are present. Update the config help
text accordingly.

Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowireshark: security bump to version 2.0.1
Gustavo Zacarias [Wed, 30 Dec 2015 12:17:55 +0000 (09:17 -0300)]
wireshark: security bump to version 2.0.1

Fixes:
wnpa-sec-2015-31 - NBAP dissector crashes
wnpa-sec-2015-37 - NLM dissector crashes
wnpa-sec-2015-39 - BER dissector crashes
wnpa-sec-2015-40 - Zlib decompression crash
wnpa-sec-2015-41 - SCTP dissector crashes
wnpa-sec-2015-42 - 802.11 decryption crash
wnpa-sec-2015-43 - DIAMETER dissector crash
wnpa-sec-2015-44 - VeriWave file parser crashes
wnpa-sec-2015-45 - RSVP dissector crash
wnpa-sec-2015-46 - ANSI A & GSM A dissector crashes
wnpa-sec-2015-47 - Ascend file parser crash
wnpa-sec-2015-48 - NBAP dissector crash
wnpa-sec-2015-49 - RSL dissector crash
wnpa-sec-2015-50 - ZigBee ZCL dissector crash
wnpa-sec-2015-51 - Sniffer file parser crash
wnpa-sec-2015-52 - NWP dissector crash
wnpa-sec-2015-53 - BT ATT disector crash
wnpa-sec-2015-54 - MP2T file parser crash
wnpa-sec-2015-55 - MP2T file parser crash
wnpa-sec-2015-56 - S7COMM disector crash
wnpa-sec-2015-57 - IPMI dissector crash
wnpa-sec-2015-58 - TDS dissector crash
wnpa-sec-2015-59 - PPI dissector crash
wnpa-sec-2015-60 - MS-WSP dissector crash

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-serial: bump to 3.0
Yegor Yefremov [Tue, 29 Dec 2015 22:43:48 +0000 (23:43 +0100)]
python-serial: bump to 3.0

Add hash file, switch to setuptools and change project's home page to
GitHub.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonetbsd-queue: actually use the Config.in file
Thomas Petazzoni [Wed, 30 Dec 2015 13:28:02 +0000 (14:28 +0100)]
netbsd-queue: actually use the Config.in file

In commit e84fd04e88bcda2771847958b3b5153e476db45f, Yann added a
Config.in symbol for netbsd-queue in a brand new Config.in file. But
that Config.in file was never included anywhere, making it somewhat
useless.

Let's include it under Libraries -> Other, even if its actual
inclusion location doesn't matter much since it's just a hidden
Config.in option anyway.

Fixes:

  http://autobuild.buildroot.org/results/d23/d23a1c51c4d7a260364aeef576fdf5a407abc2f6/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agominidlna, libsvg: do not use libjpeg directly, use jpeg
Thomas Petazzoni [Wed, 30 Dec 2015 11:21:59 +0000 (12:21 +0100)]
minidlna, libsvg: do not use libjpeg directly, use jpeg

libjpeg should not be selected directly, as it is one implementation
of the virtual jpeg package. Consequently, this commit moves minidlna
and libsvg to use the jpeg virtual package instead.

The build has been tested with both libjpeg and jpeg-turbo variants.

Fixes:

  http://autobuild.buildroot.org/results/a12/a12760dea9e9d7ca62d14d0821539cc4b0c76835/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agox11r7/xfont_*: add missing select BR2_PACKAGE_XFONT_FONT_UTIL
Thomas Petazzoni [Wed, 30 Dec 2015 10:15:27 +0000 (11:15 +0100)]
x11r7/xfont_*: add missing select BR2_PACKAGE_XFONT_FONT_UTIL

Fixes:

  http://autobuild.buildroot.org/results/d63/d63b45c24d01bfb3409e90569a0708f1d4af905d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibcdaudio: disable on nios2, binutils assertion failure
Thomas Petazzoni [Wed, 30 Dec 2015 09:24:56 +0000 (10:24 +0100)]
libcdaudio: disable on nios2, binutils assertion failure

Fixes:

  http://autobuild.buildroot.org/results/539/5397c51bc6915a082e873dee2d298f433172ef4d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomesa3d: add missing select of xproto_glproto
Thomas Petazzoni [Wed, 30 Dec 2015 09:19:28 +0000 (10:19 +0100)]
mesa3d: add missing select of xproto_glproto

When X.org is available, mesa3d has xproto_glproto in its
dependencies, but it forgets to select it. This commit fixes this
mistake, which fixes the following autobuilder failure:

  http://autobuild.buildroot.org/results/378/378bbf8520d67a67b5906ec177079542158a6be7/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocollectd: fix incorrect select of libmodbus
Thomas Petazzoni [Wed, 30 Dec 2015 09:12:56 +0000 (10:12 +0100)]
collectd: fix incorrect select of libmodbus

BR2_PACKAGE_MODBUS does not exist, we meant to select
BR2_PACKAGE_LIBMODBUS.

Fixes:

  http://autobuild.buildroot.org/results/661/6617ea58424bf55640a70bee8fc3a6a8d098e3b2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain-external: select netbsd-queue for musl toolchains
Thomas Petazzoni [Wed, 30 Dec 2015 09:03:27 +0000 (10:03 +0100)]
toolchain-external: select netbsd-queue for musl toolchains

Following the introduction of the check that target packages must have
their Config.in option enabled, we started to see failures related to
netbsd-queue. Yann fixed the internal toolchain case in commit
e84fd04e88bcda2771847958b3b5153e476db45f. This commit fixes the
similar issue, but for the external toolchain case.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/pkg-virtual: do not check they are neabled
Yann E. MORIN [Tue, 29 Dec 2015 23:10:40 +0000 (00:10 +0100)]
core/pkg-virtual: do not check they are neabled

Virtual packages do not have a Kconfig symbol, so we must not check that
they are enabled.

Fixes:
    http://autobuild.buildroot.org/results/287/28713478cc6edf8e5d5c3e830fee86a42f0afa8d/
    ... and numerous similar failures ...

[Thomas:
 - use "$($(PKG)_IS_VIRTUAL)" != "YES" instead of !
   "$($(PKG)_IS_VIRTUAL)" = "YES"]

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/netbsd-queue: add Kconfig symbol like for all target packages
Yann E. MORIN [Tue, 29 Dec 2015 23:10:39 +0000 (00:10 +0100)]
package/netbsd-queue: add Kconfig symbol like for all target packages

Select that package from musl, too, since it is a dependency.

Fixes:
    http://autobuild.buildroot.org/results/15c/15c9a80fb2754ed1866b59d5e62d02691b57834e/
    ... and numerous similar issues ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Sergio Prado <sergio.prado@e-labworks.com>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/c-libraries: need linux-headers
Yann E. MORIN [Tue, 29 Dec 2015 23:10:38 +0000 (00:10 +0100)]
package/c-libraries: need linux-headers

Now that we check that a target package in the _DEPENDENCIES of another
package has to be enabled in config, all target packages must have a
kconfig symbol.

Add a Kconfig symbol for linux-headers, and select it from the packages
that depends on it (C libraries).

Also remove the now-misleading comments "for legal-info" from the C
libraries.

Fixes:
    http://autobuild.buildroot.org/results/2a9/2a9e5d27b34357819b44f573a834da1ba5079030/
    ... and numerous similar failures ...

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiptables: bump to version 1.6.0
Gustavo Zacarias [Sun, 20 Dec 2015 20:05:27 +0000 (17:05 -0300)]
iptables: bump to version 1.6.0

Add option for nftables compat utilies and for bpf compiler/nfsynproxy
configuration tool.

Drop symlink trickery since it's not required any more.

Switch homepage to proper one and drop the kernel v2.4+ note since
that's not supported by buildroot anyway.

Drop most patches (except musl build) since they're upstream.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/xtables-addons: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:19 +0000 (19:53 +0100)]
package/xtables-addons: require kernel modules from Kconfig

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/ti-gfx: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:18 +0000 (19:53 +0100)]
package/ti-gfx: require kernel modules from Kconfig

And reorder 'depends' before 'select'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/rtai: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:17 +0000 (19:53 +0100)]
package/rtai: require kernel modules from Kconfig

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/racehound: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:16 +0000 (19:53 +0100)]
package/racehound: require kernel modules from Kconfig

And reorder 'select' after 'depends'

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/nvidia-driver: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:15 +0000 (19:53 +0100)]
package/nvidia-driver: require kernel modules from Kconfig

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/linux-fusion: require kernel modules from Kconfig
Yann E. MORIN [Thu, 10 Dec 2015 18:53:14 +0000 (19:53 +0100)]
package/linux-fusion: require kernel modules from Kconfig

And reorder 'depends' after 'bool'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: add blind kconfig option to require kernel modules
Yann E. MORIN [Thu, 10 Dec 2015 18:53:13 +0000 (19:53 +0100)]
linux: add blind kconfig option to require kernel modules

Currently, packages that need the kernel to have support for laodable
modules have two ways to require it:

  - either the use the kernel-module infra, which does it automatically,

  - or they do not use it, and they need to require it manually by
    setting the corresponding Makefile variable; however, they must only
    set it when they are actually enabled, which makes for a slightly
    cumbersome and ugly code, like:

        ifeq ($(BR2_PACKAGE_FOO),y)
        LINUX_NEEDS_MODULES = y
        endif

Introduce a new blind Kconfig option that packages can select to signify
they need kernel modules. That Kconfig option is then used to set the
Makefile variable.

It makes it cleaner:

  - code is simpler (one Kconfig line instead of a Makefile if-block,

  - this is handled at the Kconfig level, which is where we usually
    handle such dependencies.

Packages will be updated in follow-up commits.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agograph-depends: correct is_dep() comment
Peter Korsgaard [Tue, 29 Dec 2015 22:46:10 +0000 (23:46 +0100)]
graph-depends: correct is_dep() comment

The uncached variant is called is_dep_uncached(), not is_dep_full().

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agograph-depends: optimize remove_transitive_deps()
Thomas Petazzoni [Tue, 15 Dec 2015 10:21:41 +0000 (11:21 +0100)]
graph-depends: optimize remove_transitive_deps()

For large configurations, the execution time of
remove_transitive_deps() becomes really high, due to the number of
nested loops + the is_dep() function being recursive.

For an allyespackageconfig, the remove_extra_deps() function takes 334
seconds to execute, and the overall time to generate the .dot file is
6 minutes and 39 seconds. Here is a timing of the different
graph-depends steps and the overall execution time:

  Getting dependencies:   42.5735 seconds
  Turn deps into a dict:   0.0023 seconds
  Remove extra deps:     334.1542 seconds
  Get version:            22.4919 seconds
  Generate .dot:           0.0197 seconds

  real 6m39.289s
  user 6m16.644s
  sys 0m8.792s

By adding a very simple cache for the results of is_dep(), we bring
down the execution time of the "Remove extra deps" step from 334
seconds to just 4 seconds, reducing the overall execution time to 1
minutes and 10 seconds:

  Getting dependencies:  42.9546 seconds
  Turn deps into a dict:  0.0025 seconds
  Remove extra deps:      4.9643 seconds
  Get version:           22.1865 seconds
  Generate .dot:          0.0207 seconds

  real 1m10.201s
  user 0m47.716s
  sys 0m7.948s

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
[yann.morin.1998@free.fr:
  - rename is_dep() to is_dep_uncached(), keep existig code as-is
  - add is_dep() as a cached-version of is_dep_uncached()
  - use constructs more conform with 2to3
  - use exceptions (EAFP) rather than check-before-use (LBYL) to be more
    pythonist; that even decreases the duration yet a little bit more!
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
8 years agobcm2835: new package
Peter Seiderer [Tue, 8 Dec 2015 21:23:44 +0000 (22:23 +0100)]
bcm2835: new package

[Thomas:
 - addition of 'depends on BR2_arm' as suggested by Yann.
 - addition of a comment in the Config.in help text that says that
   this library is a pure abomination.
 - fix the hash, since apparently upstream changes the released
   tarballs after they are published.
 - fix license, it's GPLv2, not GPLv2+.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomongoose: bump to version 6.1
Davide Viti [Mon, 14 Dec 2015 21:44:54 +0000 (22:44 +0100)]
mongoose: bump to version 6.1

- provide only libmongoose.a
- rework package description

[Peter: move under Libraries->Networking]
Signed-off-by: Davide Viti <zinosat@tiscali.it>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agopackage/mke2img: set sparse_super for revision 1
Benoît Thébaudeau [Fri, 28 Aug 2015 11:12:50 +0000 (13:12 +0200)]
package/mke2img: set sparse_super for revision 1

The sparse_super feature is more efficient in terms of speed and
available space, so set it by default if supported, i.e. for revision 1.

This gives a huge speed gain for large resize2fs operations, especially
for expansion.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agodocs/website: fixing pre block indentation
Angelo Compagnucci [Tue, 29 Dec 2015 20:53:25 +0000 (21:53 +0100)]
docs/website: fixing pre block indentation

Pre block should not be indented, this patch fixes wrong
indentation.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomysql: don't install libraries in /usr/lib/mysql directory
Arnout Vandecappelle [Sun, 13 Dec 2015 23:57:07 +0000 (00:57 +0100)]
mysql: don't install libraries in /usr/lib/mysql directory

Installing libraries in a subdirectory of /usr/lib leads to no end of
trouble. It requires either setting a RUN_PATH in the ELF files linked
with it or adding the path to ld.so.conf and calling ldconfig on the
target.

So to simplify things, put everything in /usr/lib instead of
/usr/lib/mysql

[Thomas:
 - tweak commit title.
 - also remove ld.so.conf handling in mysql.mk, since it is no longer
   necessary.]

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-generic: detect incorrectly used package
Thomas Petazzoni [Fri, 9 Oct 2015 09:15:05 +0000 (11:15 +0200)]
pkg-generic: detect incorrectly used package

In Buildroot, the selection of a package from a Config.in level and
from a Makefile level are completely disconnected. This can lead to
issues where the build of a package is triggered at the Makefile level
due to the package being listed in another package <pkg>_DEPENDENCIES
variable, even if that package is not enabled in the configuration.

This has for example been the case recently with python-can having
'python' in its <pkg>_DEPENDENCIES, while python-can could be enabled
when Python 3.x is used, in which case the 'python' package should not
be built.

To detect such issues more easily, this patch adds a check in the
package infrastructure. When the build process of a package is being
triggered, we verify that the package is enabled in the
configuration. We do this check in the "configure" step, since this
step is the first common step between the normal download case and the
"local site method" / "package override" case.

[Thomas: adjust the error message as suggested by Yann, to take into
account the fact that the problem might not be in a direct reverse
dependency, but in something higher up in the tree of reverse
dependencies.]

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofindutils: bump to version 4.6.0
Gustavo Zacarias [Tue, 29 Dec 2015 17:27:33 +0000 (14:27 -0300)]
findutils: bump to version 4.6.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5webchannel: indentation cleanup
Jerzy Grzegorek [Tue, 29 Dec 2015 17:10:34 +0000 (18:10 +0100)]
qt5webchannel: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxdriver_xf86-video-fbturbo: indentation cleanup
Jerzy Grzegorek [Tue, 29 Dec 2015 17:10:33 +0000 (18:10 +0100)]
xdriver_xf86-video-fbturbo: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojanus-gateway: indentation cleanup
Jerzy Grzegorek [Tue, 29 Dec 2015 17:10:32 +0000 (18:10 +0100)]
janus-gateway: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: add readme.txt for the orangepipc defconfig
Eelco Chaudron [Tue, 29 Dec 2015 11:53:40 +0000 (12:53 +0100)]
configs: add readme.txt for the orangepipc defconfig

[Thomas: minor tweaks.]

Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: update cubieboard2 defconfig
Erico Nunes [Tue, 29 Dec 2015 01:52:05 +0000 (23:52 -0200)]
configs: update cubieboard2 defconfig

This patch updates the Cubieboard2 board defconfig to use newer u-boot
and linux versions, along with a few other improvements.
The other improvements were mostly backported from the recent Orange Pi
defconfig inclusion and are related to image generation.
linux-sunxi.org was used as a reference for both linux and u-boot
defconfig names.

In detail:
- Update linux to vanilla upstream -- currently 4.3.3 is the most
up-to-date. Although it lacks some features present only in the
linux-sunxi 3.4 branch, upstream support appears to be relatively mature
and is already being deployed by default by distributions such as Arch
Linux ARM.
- Update u-boot to vanilla upstream 2015.10. According to
linux-sunxi.org, upstream fully supports major functions (except NAND)
since 2015.07.
- Change image format to zImage and drop custom image generation script
in favour of genimage, as pointed out by reviewers in the Orange Pi
defconfig submission.

This was tested in a Cubieboard2 board with boot from mmc and it boots
fine to login prompt.

This has not been tested in a Cubieboard (A10) as I don't own any; the
version bumps probably apply to it although there are some differences
(lack of VFPv4 support, Cortex-A8 instead of Cortex-A7), so I have kept
the current Cubieboard defconfig and its scripts. This one has been only
build-tested.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosysstat: bump to version 11.2.0
Gustavo Zacarias [Tue, 29 Dec 2015 16:57:51 +0000 (13:57 -0300)]
sysstat: bump to version 11.2.0

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gettext: host variant needs host-libxml2
Ignacy Gawędzki [Sat, 26 Dec 2015 21:35:34 +0000 (22:35 +0100)]
package/gettext: host variant needs host-libxml2

Of host-gettext, we only build the tools. however some of those tools
have a --color option, which needs libxml2.

If the libxml2 development files are missing on the host, a bundled
subset of libxml2 is used, and all seems OK. But if they ar epresent,
then the host libxml2 is used. On some distros, lbxml2 is linked with
liblzma. And if we happend to _then_ build our host-liblzma, we may have
a conflict later when trying to run any of the host-gettext tools.

Always build host-gettext with our own host-libxml2 which is not linked
with liblzma.

Fixes https://bugs.busybox.net/show_bug.cgi?id=7886

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
[nicolas: added extended commit message]
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[yann.morin.1998@free.fr: rebase; add comment; enhance commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agounionfs: add patch to revert to old pre-1.0 meta directory
Peter Korsgaard [Fri, 18 Dec 2015 07:47:01 +0000 (08:47 +0100)]
unionfs: add patch to revert to old pre-1.0 meta directory

Unionfs changed its meta directory from .unionfs to .unionfs-fuse with the
unionfs -> unionfs-fuse rename.  The rename later got reverted everywhere
but the meta directory, so now unionfs doesn't find the whiteout files from
older releases.

Revert back to the pre-1.0 behaviour to fix this.

Patch merged upstream:
https://github.com/rpodgorny/unionfs-fuse/commit/93c2f9bd8b058b28016e6db2421e5b38eac0606c

[Thomas: add reference to the upstream commit, now that the patch has
been merged.]

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agohiawatha: bump to version 10.0
Gustavo Zacarias [Tue, 29 Dec 2015 15:03:08 +0000 (12:03 -0300)]
hiawatha: bump to version 10.0

Now uses the new mbedtls package, and requires zlib.
Rename the SSL option description to TLS, but keep the same symbol
name to avoid pointless legacy.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agombedtls: new package
Gustavo Zacarias [Tue, 29 Dec 2015 15:03:07 +0000 (12:03 -0300)]
mbedtls: new package

Add the mbed TLS library, formerly known as PolarSSL.
The 2.0+ version can live side-by-side with polarssl since it was
renamed, hence can be added with no conflict.

Use the Apache-2.0 license variant since it's somewhat more flexible,
the codebase is the same as the GPLv2 variant, just copyright
headers/license file changed.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosubversion: add missing comment when building static
Gustavo Zacarias [Tue, 29 Dec 2015 14:12:50 +0000 (11:12 -0300)]
subversion: add missing comment when building static

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosshfs: switch to github
Gustavo Zacarias [Tue, 29 Dec 2015 12:12:39 +0000 (09:12 -0300)]
sshfs: switch to github

The project moved to github, so point the homepage and download URL
there.

[Thomas:
  - Remove comment "Switch to github helper on bump" since we clearly
    don't want to switch to the github helper if they continue to
    upload release tarballs.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibfuse: switch to github
Gustavo Zacarias [Tue, 29 Dec 2015 12:12:38 +0000 (09:12 -0300)]
libfuse: switch to github

The project moved to github, so point the homepage and download URL
there.

[Thomas:
 - Remove comment "Switch to github helper on bump" since we clearly
   don't want to switch to the github helper if they continue to
   upload release tarballs.
 - Adjust comment in the .hash file for clarity.]

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxdotool: new package
Erico Nunes [Tue, 29 Dec 2015 01:59:27 +0000 (23:59 -0200)]
xdotool: new package

xdotool is a command-line X11 automation tool.

http://www.semicomplete.com/projects/xdotool

[Thomas:
 - fix <pkg>_LICENSE, as noticed by Baruch
 - use $(TARGET_MAKE_ENV).]

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agogettext: bump to version 0.19.7
Gustavo Zacarias [Mon, 28 Dec 2015 22:12:26 +0000 (19:12 -0300)]
gettext: bump to version 0.19.7

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoexfat-utils: bump to version 1.2.3
Gustavo Zacarias [Mon, 28 Dec 2015 22:33:27 +0000 (19:33 -0300)]
exfat-utils: bump to version 1.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoexfat: bump to version 1.2.3
Gustavo Zacarias [Mon, 28 Dec 2015 22:33:26 +0000 (19:33 -0300)]
exfat: bump to version 1.2.3

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouboot: add COPY_OLD_LICENSE_FILE fix to rsync hook
Erico Nunes [Tue, 29 Dec 2015 02:27:30 +0000 (00:27 -0200)]
uboot: add COPY_OLD_LICENSE_FILE fix to rsync hook

make legal-info breaks when using an older u-boot version in local.mk
with OVERRIDE_SRCDIR, due to the reorganization of license files which
happened in u-boot v2013.10.
This issue had already been fixed in Buildroot for the regular use of
old u-boot versions (non-local.mk).
This patch adds the same fix to UBOOT_POST_RSYNC_HOOKS so that it also
covers the local.mk case.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoemlog: remove linux dependency
Thomas Petazzoni [Tue, 29 Dec 2015 11:23:07 +0000 (12:23 +0100)]
emlog: remove linux dependency

The dependency on linux is automatically added by the kernel-module
infrastructure, so there is no need to explicit add it in the emlog
package.

Thanks to Arnout for spotting the issue.

Reported-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoeventlog: add EVENTLOG_VERSION_MAJOR variable
Jerzy Grzegorek [Tue, 29 Dec 2015 08:13:35 +0000 (09:13 +0100)]
eventlog: add EVENTLOG_VERSION_MAJOR variable

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxdriver_xf86-video-ati: fix dependencies
Lada Trimasova [Thu, 24 Dec 2015 13:57:48 +0000 (16:57 +0300)]
xdriver_xf86-video-ati: fix dependencies

This package depends on the radeon driver from libdrm and depends on
DRI support in xserver_xorg-server, to achieve this we select the
Radeon mesa3d DRI driver.

Fixes:
http://autobuild.buildroot.net/results/9da/9da4ffdf1c4ec78ae37322e253cb769340116035

Signed-off-by: Lada Trimasova <ltrimas@synopsys.com>
Cc: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoassimp: new package
Peter Seiderer [Thu, 17 Dec 2015 22:18:18 +0000 (23:18 +0100)]
assimp: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
----
Changes v1 -> v2:
  - use github helper (thanks to Jörg Krause)

Changes v2 -> v3:
  - add c++ dependency (suggested by Thomas Petazzoni)
  - fix linking problem with builtin zlib (linking code
    with/without '-fpic' compiled, see e.g. [2]), workaround by selecting
    buildroot zlib package (failure detected by Thomas Petazzoni [2])

[1] https://cmake.org/pipermail/cmake/2006-March/008482.html
[2] http://lists.busybox.net/pipermail/buildroot/2015-December/146859.html
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gtkmm3: disable for NiosII
Romain Naour [Mon, 28 Dec 2015 21:23:34 +0000 (22:23 +0100)]
package/gtkmm3: disable for NiosII

Like for Qt GUI module, disable for niosII to avoid a toolchain issue
[1][2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-December/148428.html
[2] https://sourceware.org/bugzilla/show_bug.cgi?id=19405

Avoid:
http://autobuild.buildroot.net/results/3e2/3e2ad2de03b5e9f181332d06dcf860e51fcd47f8/

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gtkmm3: reorder select/depends
Romain Naour [Mon, 28 Dec 2015 21:23:33 +0000 (22:23 +0100)]
package/gtkmm3: reorder select/depends

>From [1]:
"Even though the ordering has absolutely no consequences in Kconfig, it
is not logical (when reading). It is more logical and far easier to
understand when depends come first, followed by the selects."

Also, the Config.in exemple in the manual suggest to use this coding
style [2].

[1] http://lists.busybox.net/pipermail/buildroot/2015-October/142955.html
[2] http://buildroot.uclibc.org/downloads/manual/manual.html#writing-rules-config-in

Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoeigen: fix indentation
Thomas Petazzoni [Mon, 28 Dec 2015 20:59:09 +0000 (21:59 +0100)]
eigen: fix indentation

Use tabs consistently for indentation.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/eigen: install .pc file
Yann E. MORIN [Mon, 28 Dec 2015 19:08:54 +0000 (20:08 +0100)]
package/eigen: install .pc file

Other packages will look for eigen3.pc to detect the presence of eigen3.

eigen3.pc is usually installed by eigen's cmake buildsystem, but we do a
manual install to not depend on host-cmake just to install header files.
But in doing so, we forgot to install the .pc file.

Manually sed the source .pc.in to generate the final .pc file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libasplib: new package
Bernd Kuhls [Sun, 20 Dec 2015 21:31:52 +0000 (22:31 +0100)]
package/libasplib: new package

Needed for upcoming kodi-adsp-biquad-filters package

[Thomas:
  - add dependency on i386 || x86-64 since the <cpuid.h> header is
    needed
  - add hash file.]

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs: new orangepipc_defconfig
Eelco Chaudron [Thu, 24 Dec 2015 13:08:04 +0000 (14:08 +0100)]
configs: new orangepipc_defconfig

This commit adds a configuration for the Orange Pi PC board,
<http://www.orangepi.org/orangepipc/>.

Signed-off-by: Eelco Chaudron <echaudron@xiot.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/udpcast: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 22:50:07 +0000 (23:50 +0100)]
package/udpcast: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/tcl: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 21:27:52 +0000 (22:27 +0100)]
package/tcl: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/nodejs: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 20:43:15 +0000 (21:43 +0100)]
package/nodejs: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/gstreamer1: move comment around, to keep proper indentation
Yann E. MORIN [Thu, 24 Dec 2015 16:03:29 +0000 (17:03 +0100)]
package/gstreamer1: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

In this case, it means the gstremaer1 plugins are not indented below the
main gstreamer1 prompt.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/gstreamer: move comment around, to keep proper indentation
Yann E. MORIN [Thu, 24 Dec 2015 15:53:21 +0000 (16:53 +0100)]
package/gstreamer: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol and
its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

In this case, it means the gstremaer plugins are not indented below
the main gstreamer prompt.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/alsa-lib: move comment around, to keep proper indentation
Yann E. MORIN [Wed, 23 Dec 2015 21:33:35 +0000 (22:33 +0100)]
package/alsa-lib: move comment around, to keep proper indentation

In Kconfig, when there is an item (like a comment) between a symbol
and its dependees, then the indentation is not in effect.

Move the symbol to the top of the file to guarantee the indentation in
menuconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8 years agopackage/connman: cleanup backtrace patch
Yann E. MORIN [Thu, 24 Dec 2015 13:00:09 +0000 (14:00 +0100)]
package/connman: cleanup backtrace patch

connman uses execinfo.h to dump a backtrace in case of failure.
execinfo.h is optional in uClibc, so we had a patch that conditonally
disabled backtraces for uClibc when it was missing execinfo.h

However, musl is also entirely lacking execinfo.h.

Add a proper patch that checks for execinfo.h at ./configure time. This
will no longer make any assumption on the C library that is being used.

Fixes:
    http://autobuild.buildroot.org/results/f6e/f6ee8ab3a6300f1f527f9e92b8c2ec81e63afb27/
    http://autobuild.buildroot.org/results/96b/96b78bb644ed4ef3493782521b17e3b2113a405f/
    ...

Note that there might be other issues with musl; this patch only fixes
the execinfo.h one.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: not available on static
Gustavo Zacarias [Mon, 28 Dec 2015 16:18:16 +0000 (13:18 -0300)]
autofs: not available on static

Uses dlfcn & friends, fixes:
http://autobuild.buildroot.net/results/2f2/2f2dcf8d2af961c0401a4b39f96cefe691a4479b/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibjpeg-turbo: bump to version 1.4.2
Gustavo Zacarias [Mon, 28 Dec 2015 15:51:09 +0000 (12:51 -0300)]
libjpeg-turbo: bump to version 1.4.2

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agonasm: bump to version 2.11.08
Gustavo Zacarias [Mon, 28 Dec 2015 15:50:53 +0000 (12:50 -0300)]
nasm: bump to version 2.11.08

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostart-stop-daemon: bump to version 1.18.4
Gustavo Zacarias [Mon, 28 Dec 2015 12:35:40 +0000 (09:35 -0300)]
start-stop-daemon: bump to version 1.18.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsecret: add patch to fix .pc file for static linking
Thomas Petazzoni [Mon, 28 Dec 2015 11:28:59 +0000 (12:28 +0100)]
libsecret: add patch to fix .pc file for static linking

The .pc file of libsecret needs to be adjusted to account for its
optional dependency on the gcrypt library. The patch has been
submitted upstream for inclusion.

Fixes:

  http://autobuild.buildroot.org/results/c2c/c2c6185cfbd9a0c91266c9e8a5f4221afb14930f/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopinentry: optionally depend on libsecret
Thomas Petazzoni [Mon, 28 Dec 2015 11:28:35 +0000 (12:28 +0100)]
pinentry: optionally depend on libsecret

pinentry can use libsecret when available, so we should handle this
optional dependencies properly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopinentry: add host-pkgconf dependency
Thomas Petazzoni [Mon, 28 Dec 2015 11:27:57 +0000 (12:27 +0100)]
pinentry: add host-pkgconf dependency

pinentry configure.ac uses PKG_CHECK_MODULES() and also manual calls
to pkg-config, to detect the availability of some libraries, so we
need to depend on host-pkgconf.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: add missing dependency on host-util-linux
Thomas Petazzoni [Sun, 27 Dec 2015 16:40:56 +0000 (17:40 +0100)]
vboot-utils: add missing dependency on host-util-linux

vboot-utils needs uuid.h and libuuid for the cgpt tool, so we need to
depend on host-util-linux.

Fixes:

  http://autobuild.buildroot.org/results/ee1/ee18202cb6d7751178617e6a3d0bc97e65318aa9/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: granular choice for stack protector
Steven Noonan [Sun, 27 Dec 2015 11:07:31 +0000 (12:07 +0100)]
toolchain: granular choice for stack protector

Currently, we only support two levels of stach-smashing protection:
  - entirely disabled,
  - protect _all_ functions with -fstack-protector-all.

-fstack-protector-all tends to be far too aggressive and impacts
performance too much to be worth on a real product.

Add a choice that allows us to select between different levels of
stack-smashing protection:
  - none
  - basic   (NEW)
  - strong  (NEW)
  - all

The differences are documented in the GCC online documentation:
    https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/Optimize-Options.html

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
[yann.morin.1998@free.fr:
  - rebase
  - add legacy handling
  - SSP-strong depends on gcc >= 4.9
  - slightly simple ifeq-block in package/Makefile.in
  - keep the comment in the choice; add a comment shen strong is not
    available
  - drop the defaults (only keep the legacy)
  - update commit log
]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas:
 - only show the choice if the toolchain has SSP support
 - add details for the BR2_SSP_ALL option that it has a significant
   performance impact.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoustr: not available for static-only configurations
Thomas Petazzoni [Sun, 27 Dec 2015 14:03:28 +0000 (15:03 +0100)]
ustr: not available for static-only configurations

ustr now unconditionally builds a shared library, so we have to mark
it as not available for static-only builds. The only reverse
dependencies of ustr is libsemanage, which was anyway already not
available for pure static builds.

Fixes:

  http://autobuild.buildroot.org/results/734/734975f6ac041e8aece07205c0b8966fe51e7df1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostunnel: use BR2_TOOLCHAIN_HAS_SSP instead of BR2_ENABLE_SSP
Thomas Petazzoni [Sun, 27 Dec 2015 13:29:24 +0000 (14:29 +0100)]
stunnel: use BR2_TOOLCHAIN_HAS_SSP instead of BR2_ENABLE_SSP

All packages use BR2_TOOLCHAIN_HAS_SSP to determine whether they can
use SSP suppport or not, except stunnel. Therefore, this commit makes
stunnel consistent with other packages. This is also necessary in
preparation to the removal of BR2_ENABLE_SSP in favor of a choice
between various SSP options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: add help text to BR2_ARM_ENABLE_VFP
Thomas Petazzoni [Sun, 27 Dec 2015 11:22:43 +0000 (12:22 +0100)]
arch/arm: add help text to BR2_ARM_ENABLE_VFP

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/external: Arago armv7 toolchain really requires a VFPv3
Yann E. MORIN [Sat, 26 Dec 2015 16:05:45 +0000 (17:05 +0100)]
toolchain/external: Arago armv7 toolchain really requires a VFPv3

The Arago armv7 toolchain really requires a VFPv3 unit, so only expose
it to the user when the CPU actually has such a VFP unit

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: only expose VFP in FP strategy when the CPU *has* a VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:44 +0000 (17:05 +0100)]
arch/arm: only expose VFP in FP strategy when the CPU *has* a VFP unit

There's no point in offering the user an option to select an FP strategy
when the CPU does not actually have a VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: only expose EABIhf when the CPU *has* a VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:43 +0000 (17:05 +0100)]
arch/arm: only expose EABIhf when the CPU *has* a VFP unit

There's no point in offering the user an option to select EABIhf when
the CPU does not really have a VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: add option to enable an optional VFP unit
Yann E. MORIN [Sat, 26 Dec 2015 16:05:42 +0000 (17:05 +0100)]
arch/arm: add option to enable an optional VFP unit

Currently, the VFP selection for ARM is a little bit muddy:
  - some CPUs definitely do not have a VFP or NEON,
  - some CPUs definitely do have a VFP or NEON,
  - some CPUs may have a VFP or NEON.

However, we currently conflate the availability of the VFP/NEON with the
possibility to use them. Even is the user chooses a floating point
strategy with a 'lower' solution (i.e. VFPv2 when a VFPv3 exists, or not
using NEON when the CPU has it), some packages are still using the
CPU-defined HW availaibility rather thean the usr's selection.

Furthermore, for CPU that may have a VFP/NEON, there is no way for the
user to actually specify that the HW is indeed available; the user can
only specify the floating point strategy. This means that some packages
or some package versions, like nodejs for example, can not be properly
selected on some CPU cores, like Cortex-A9 which only may have a VFP.

Like we have an option to enable an optional NEON unit, add a similar
option to enable an optional VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoarch/arm: reorder NEON option
Yann E. MORIN [Sat, 26 Dec 2015 16:05:41 +0000 (17:05 +0100)]
arch/arm: reorder NEON option

Stating whether to use the NEON extensions when it is optional in the
CPU really is completing the definition of the CPU we've just selected.

Move the ENABLE_NEON option just after the choice of the CPU variant,
and before any "software" option (ABI/VFP).

This will make sense in a moment, when we introduce a similar option for
enabling an optional VFP unit.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovboot-utils: new package
Alex Suykov [Fri, 25 Dec 2015 21:40:10 +0000 (23:40 +0200)]
vboot-utils: new package

Chromium OS verified boot utilities.

Needed for signing kernel images and manipulating bootable
partitions on media intended for Chromebooks.

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agostrace: fix building for arc, metag, nios2, or1k and tile
Alexey Brodkin [Fri, 25 Dec 2015 21:24:08 +0000 (00:24 +0300)]
strace: fix building for arc, metag, nios2, or1k and tile

Following commit broke building for arc, metag, nios2, or1k and tile:
http://sourceforge.net/p/strace/code/ci/34683e3926d8c2daa368afb805da422ee7043396/

Now we're fixing that breakage with a back-port of upstream fix:
http://sourceforge.net/p/strace/code/ci/dd1a80c8d213eed95fe55b7ebcb07ee165dd8e4b/

Mentioned fix will be a part of the next strace release,
i.e. this patch must be removed on strace version bump.

Fixes http://autobuild.buildroot.org/results/f25/f25c23003ed282b935f5289c944615860265364a
and alike, see http://autobuild.buildroot.org/?reason=strace-4.11

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luv: bump to version 1.8.0
Jörg Krause [Fri, 25 Dec 2015 21:28:48 +0000 (22:28 +0100)]
package/luv: bump to version 1.8.0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/upmpcli: bump to version 0.13.1
Jörg Krause [Fri, 25 Dec 2015 23:14:47 +0000 (00:14 +0100)]
package/upmpcli: bump to version 0.13.1

upmpdcli version 0.13.1 requires libupnpp version 0.13.1 to build successfully.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libupnpp: bump to version 0.13.1
Jörg Krause [Fri, 25 Dec 2015 23:14:46 +0000 (00:14 +0100)]
package/libupnpp: bump to version 0.13.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>