buildroot.git
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>
8 years agotpm-tools: new package
Noé Rubinstein [Wed, 4 Nov 2015 17:47:05 +0000 (18:47 +0100)]
tpm-tools: new package

[Thomas:
 - move from Libraries/Crypto to System tools in menuconfig
 - add patch to fix build with uClibc
 - use 'select' for openssl rather than a 'depends on'
 - propagate trousers dependencies
 - add <pkg>_LICENSE and <pkg>_LICENSEFILES
 - link against libiconv when needed, fixing !locale builds
 - explicitly disable pkcs11 support, since it is not handled by
   tpm-tools.mk currently.]

Signed-off-by: Al West <al.west@v-nova.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrousers: new package
Noé Rubinstein [Wed, 4 Nov 2015 17:47:04 +0000 (18:47 +0100)]
trousers: new package

[Thomas:
 - use a 'select' instead of a 'depends on' for openssl
 - select libiconv when locale support is not available, otherwise the
   build fails due to missing iconv.h
 - disable on BR2_STATIC_LIBS configurations as it doesn't build. It
   could be made to build by patching the trousers Makefile.
 - add missing dependency on thread support in the toolchain
 - add Config.in comment about the thread and dynamic library
   dependencies.
 - add missing <pkg>_LICENSE and <pkg>_LICENSE_FILES variables.]

Signed-off-by: Al West <al.west@v-nova.com>
Signed-off-by: Noé Rubinstein <nrubinstein@aldebaran.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodoom-wad: add BR2_PACKAGE_CHOCOLATE_DOOM as alternate dependency
Rodrigo Rebello [Fri, 6 Nov 2015 19:47:59 +0000 (17:47 -0200)]
doom-wad: add BR2_PACKAGE_CHOCOLATE_DOOM as alternate dependency

The shareware WAD file is also supported by Chocolate Doom.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agochocolate-doom: new package
Rodrigo Rebello [Fri, 6 Nov 2015 19:47:57 +0000 (17:47 -0200)]
chocolate-doom: new package

Chocolate Doom is a set of conservative source ports for Doom, Heretic,
Hexen and Strife, with a philosophy of preserving the look, feel, and
bugs of the vanilla versions of each.

http://www.chocolate-doom.org

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoEnabling mesa3d radeon driver for all architectures
Lada Trimasova [Wed, 23 Dec 2015 12:49:51 +0000 (15:49 +0300)]
Enabling mesa3d radeon driver for all architectures

Mesa32 radeon driver doesn't depend on x86 and can be built for all architectures.

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>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/mesa3d: virgl driver needs egl & drm
Bernd Kuhls [Sun, 20 Dec 2015 18:31:05 +0000 (19:31 +0100)]
package/mesa3d: virgl driver needs egl & drm

Fixes
http://autobuild.buildroot.net/results/7b3/7b38131ebb6b20daec1a6d2c49b25c5300f319fe/
http://autobuild.buildroot.net/results/61b/61b8b87f0460751257f480ef478e753635cab798/
http://autobuild.buildroot.net/results/971/97154ea0e780623d23b20b6b9fcc5df6190875c9/
http://autobuild.buildroot.net/results/dcf/dcf4e31e6b6eeadc7a2d7c87697f57d699673b9e/
http://autobuild.buildroot.net/results/399/399cca80ada5798decc87bff69a3acc432e8f3d0/
http://autobuild.buildroot.net/results/60f/60f63958b2310e00937c498ddf2a0295ff77683a/

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/Config.in: correct capitalization of menu item
Jerzy Grzegorek [Wed, 23 Dec 2015 17:19:03 +0000 (18:19 +0100)]
package/Config.in: correct capitalization of menu item

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqt5/qt5webchannel: add qwebchannel.js installation in /var/www
Julien CORJON [Wed, 23 Dec 2015 17:04:05 +0000 (18:04 +0100)]
qt5/qt5webchannel: add qwebchannel.js installation in /var/www

To use webchannel in an application qwebchannel.js is needed but this file was not
installed.

Signed-off-by: Julien Corjon <corjon.j@ecagroup.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libuv: fix support for uClibc-ng
Martin Bark [Wed, 23 Dec 2015 12:16:08 +0000 (12:16 +0000)]
package/libuv: fix support for uClibc-ng

See https://bugs.busybox.net/show_bug.cgi?id=8296 for further details on
the origins of this bug.

Submitted upstream to libuv and accepted, see
https://github.com/libuv/libuv/pull/653 and
https://github.com/libuv/libuv/commit/c861972

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: fix support for uClibc-ng
Martin Bark [Wed, 23 Dec 2015 12:16:07 +0000 (12:16 +0000)]
package/nodejs: fix support for uClibc-ng

Fix segmentation fault in node.js when using uClibc-ng.

This patch fixes bug #8296, see
https://bugs.busybox.net/show_bug.cgi?id=8296.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: fixed comment for mips soft float
Martin Bark [Wed, 23 Dec 2015 12:16:05 +0000 (12:16 +0000)]
package/nodejs: fixed comment for mips soft float

nodejs is only selected for mips hard float however the comment is
displayed for hard and soft float.  Correct this by adding the missing
!BR2_MIPS_SOFT_FLOAT to the comment.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: removed version 0.12.9
Martin Bark [Wed, 23 Dec 2015 12:16:03 +0000 (12:16 +0000)]
package/nodejs: removed version 0.12.9

Remove 0.12.9 to rationalise the number of nodejs releases supported by
buildroot.  Going forward buildroot will only support the latest release
of nodejs and the 0.10.x branch for armv5 support.

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nodejs: bump version to 5.3.0
Martin Bark [Wed, 23 Dec 2015 12:16:02 +0000 (12:16 +0000)]
package/nodejs: bump version to 5.3.0

Replace 4.2.3 with 5.3.0.  5.3.0 is the current Stable release. See
https://nodejs.org/en/blog/release/v5.3.0 for details on the release.

Copied 4.2.3 patched to 5.3.0 with the following exceptions:
 - Removed 0004-fix-arm-vfpv2.patch, committed upstream and included in
   5.3.0.  See https://github.com/nodejs/node/commit/84dea1bd0c
 - Added 0004-Fix-va_list-not-declared.patch, fix for a new bug.  This
   has already been fixed upstream but is not in 5.3.0

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovnstat: bump to version 1.15
Rodrigo Rebello [Wed, 23 Dec 2015 15:38:56 +0000 (13:38 -0200)]
vnstat: bump to version 1.15

Also:

  - Remove no longer needed patch (merged upstream).
  - Adapt vnstat.mk to the new autotools-based build system.
  - Include patch to improve gd library usability check + add
    configure option to explicitly disable that check.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/unscd: add PID file to init script
Doug Kehn [Wed, 23 Dec 2015 13:54:40 +0000 (07:54 -0600)]
package/unscd: add PID file to init script

unscd creates/manages it's own PID file. Pass PID file reference to
start-stop-daemon.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agojquery-sidebar: new package
Yegor Yefremov [Wed, 23 Dec 2015 06:34:35 +0000 (07:34 +0100)]
jquery-sidebar: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoFix fallout after generated defconfig support
Yann E. MORIN [Wed, 23 Dec 2015 08:37:36 +0000 (09:37 +0100)]
Fix fallout after generated defconfig support

Fix improper use of qstrip; use correct variables.

Fixes #8546.

Reported-by: craigswank@gmail.com
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 agorfkill: new package
Volkov Viacheslav [Wed, 28 Oct 2015 08:02:43 +0000 (11:02 +0300)]
rfkill: new package

[Thomas: use "br" as the version suffix instead of "-br" so that the
final version string is "0.5-br" and not "0.5--br".]

Signed-off-by: Viacheslav Volkov <sv99@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>