buildroot.git
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>
8 years agopackage/mpd: bump to version 0.19.12
Jörg Krause [Fri, 25 Dec 2015 22:47:44 +0000 (23:47 +0100)]
package/mpd: bump to version 0.19.12

Drop patch "Makefile.am: fix static build with alsa" - applied upstream.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/luvi: bump to version 2.5.1
Jörg Krause [Fri, 25 Dec 2015 21:51:42 +0000 (22:51 +0100)]
package/luvi: bump to version 2.5.1

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

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: remove inline for read_data/write_data
Sergio Prado [Fri, 25 Dec 2015 22:28:34 +0000 (20:28 -0200)]
trousers: remove inline for read_data/write_data

read_data and write_data functions are declared with inline, but
their definition is not in a .h file. This is causing errors when
linking:

tcsps.c:(.text+0x4ac): undefined reference to `read_data'
tcsps.c:(.text+0x1888): undefined reference to `write_data'
...

The patch is a partial backport of upstream commit
3297fcdf5ac0df868778e976b8b59e35542c1ee2.

Fixes:
http://autobuild.buildroot.net/results/1a53d929bcec840cd18185e54b1a6da8aa849269/
http://autobuild.buildroot.net/results/fad66e88b5a97004b21658d413f4d3a6d0d8838b/
http://autobuild.buildroot.net/results/c7e23b8ec2c69798482868e18311ebf2c01b65e0/
...

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-ipaddress: new package
Yegor Yefremov [Thu, 24 Dec 2015 21:30:37 +0000 (22:30 +0100)]
python-ipaddress: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: correct 0.10.x option name
Martin Bark [Wed, 23 Dec 2015 12:16:04 +0000 (12:16 +0000)]
package/nodejs: correct 0.10.x option name

The nodejs options incorrectly started BR2_BR2_xxx.  This change corrects
the name for 0.10.x releases to BR2_PACKAGE_NODEJS_0_10_X

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibgdiplus: bump to version 4.2
Sergio Prado [Thu, 24 Dec 2015 14:16:59 +0000 (12:16 -0200)]
libgdiplus: bump to version 4.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: remove sleep from SysV init scripts restart
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:34 +0000 (02:59 +0200)]
package/dhcp: remove sleep from SysV init scripts restart

No sleep is required for the restart and force-reload operations to
succeed.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: fix SysV init scripts output text
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:33 +0000 (02:59 +0200)]
package/dhcp: fix SysV init scripts output text

Fix various messages displayed by these scripts:
 - make start-stop-daemon quiet in order to avoid extra messages like
   "stopped /usr/sbin/dhcpd (pid 174)" being output between the command
   description and its result,
 - fix the script names in the usage strings.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp/S80dhcp-server: allow empty INTERFACES
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:31 +0000 (02:59 +0200)]
package/dhcp/S80dhcp-server: allow empty INTERFACES

The dhcpd daemon does not require network interface names to be
specified on the command line.

>From dhcpd(8):
"The names of the network interfaces on which dhcpd should listen for
broadcasts may be specified on the command line.  This should be done
on systems where dhcpd is unable to identify non-broadcast interfaces,
but should not be required on other systems.  If no interface names
are specified on the command line dhcpd will identify all network
interfaces which are up, eliminating non-broadcast interfaces if
possible, and listen for DHCP broadcasts on each interface."

dhcpd exits with "Not configured to listen on any interfaces!" only if
no requested (those in INTERFACES, or all if empty) non-broadcast
interfaces matching the subnet declarations in dhcpd.conf are up.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: systemd: support extra options
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:30 +0000 (02:59 +0200)]
package/dhcp: systemd: support extra options

Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd. This keeps the systemd support
consistent with the SysV init script.

Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
Reviewed-by: "Maxime Hadjinlian" <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp/S80dhcp-server: support extra options
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:29 +0000 (02:59 +0200)]
package/dhcp/S80dhcp-server: support extra options

Add an OPTIONS configuration variable in order to make it possible to
pass custom extra options to dhcpd.

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/dhcp: make S80dhcp-relay read a file from /etc/default/
Benoît Thébaudeau [Sun, 25 Oct 2015 00:59:27 +0000 (02:59 +0200)]
package/dhcp: make S80dhcp-relay read a file from /etc/default/

The S80dhcp-relay init script has configuration variables like
INTERFACES whose contents have to be passed to the daemon. These
variables are initialized as empty strings, but some of them are not
allowed to be empty and there was no means of filling them apart from
creating a root FS overlay to overwrite these scripts.

This commit adds support for reading dhcrelay under /etc/default/ to
set these configuration variables.

[Thomas: adapt to patch only S80dhcp-relay, since S80dhcp-server has
already been changed by previous commits.]

Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcp: misc improvements to S80dhcp-server
Thomas Petazzoni [Thu, 24 Dec 2015 13:54:01 +0000 (14:54 +0100)]
dhcp: misc improvements to S80dhcp-server

This commit does misc improvements to the S80dhcp-server init script:

 - Use more variables: NAME, DAEMON, CFG_FILE

 - Read the configuration file in /etc/default/ in a more usual way
   (as done in S21rngd for example)

 - Remove leftover dhcpd3 string in the stopping action.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf
Thomas Petazzoni [Thu, 24 Dec 2015 13:48:28 +0000 (14:48 +0100)]
dhcp: read /etc/default/dhcpd, not /etc/default/dhcpd.conf

All daemons that read a file from /etc/default/ have it named just
after the name of daemon, without any extension. This commit fixes the
dhcp package to do the same.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibvips: fix compile error for sparc64
Waldemar Brodkorb [Mon, 23 Nov 2015 21:42:22 +0000 (22:42 +0100)]
libvips: fix compile error for sparc64

Fixes following build error:
http://autobuild.buildroot.net/results/1515f070c0fd410c681fc8306700244c34eb1635/

[Thomas:
 - simplify logic.
 - add reference to submitted gcc bug.]

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoom-wad: bump to version 1.9
Rodrigo Rebello [Thu, 24 Dec 2015 11:35:34 +0000 (09:35 -0200)]
doom-wad: bump to version 1.9

Also add a hash file.

The extraction method had to be changed, since the WAD file for this
version is not distributed as a stand-alone file, but comes inside a
2-part DOS self-extracting zip archive.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibnspr: fix build with the musl C library
Thomas Petazzoni [Thu, 24 Dec 2015 10:18:27 +0000 (11:18 +0100)]
libnspr: fix build with the musl C library

Even though libnspr uses a configure script, it does look at __GLIBC__
and other macros to determine whether certain C library features are
available or not. Such things fails completely with the musl C
library, since it doesn't define __GLIBC__.

To fix this, we borrow some logic from Alpine Linux, which consists in
explicitly specifying which features are available in the musl C
library.

Fixes:

  http://autobuild.buildroot.org/results/ddd/dddd032232126f1e476e6aea2c6a32e9cd1ddfae/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoautofs: really fix build
Thomas Petazzoni [Thu, 24 Dec 2015 10:07:53 +0000 (11:07 +0100)]
autofs: really fix build

The autofs configure script does a number of weird things.

First, instead of using the default search path for AC_CHECK_PROGS(),
it overrides it its own search path, ignoring the PATH environment
variable. Due to this, autofs fails to find flex even though flex is
available in the PATH. Fortunately, the authors provided a --with-path
configure option which allows to override this search path.

In addition, the configure script is checking on the build machine
that a number of programs are available, while those programs are in
fact only needed on the target. The one causing build issues is
modprobe, because it may not necessarily be installed on build
machines, so we explicitly tell autofs that modprobe is located in
/sbin/modprobe. It might be necessary to provide additional values for
other programs, as we discover other problems.

Fixes:

  http://autobuild.buildroot.org/results/447/4479382b2d4d762991cab2e93fd08ad6160c2921/

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