buildroot.git
8 years agomfgtools: new package
Gary Bisson [Wed, 26 Oct 2016 16:08:02 +0000 (18:08 +0200)]
mfgtools: new package

This package contains the Freescale manufacturing tool.
It is designed to program firmware to i.MX boards during production.
The communication is done over USB using the Freescale UTP protocol.

The project is maintained on NXPMicro Github repository:
https://github.com/NXPmicro/mfgtools

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
[Thomas:
 - remove dependency on host-cmake, this is handled by the
   host-cmake-package infrastructure
 - add quotes around $(HOSTCXX)
 - add CPOL.htm to <pkg>_LICENSE_FILES.
 - tweaks to the readme.txt file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: add gcc version dependencies
Thomas Petazzoni [Wed, 26 Oct 2016 19:12:03 +0000 (21:12 +0200)]
kvm-unit-tests: add gcc version dependencies

On x86 (both i386 and x86_64), the kvm-unit-tests code uses
__builtin_reachable, which appeared in gcc 4.5. This commit adds the
relevant dependencies to kvm-unit-tests:

 - on i386, we need gcc 4.5 as the target compiler

 - on x86-64, we need gcc 4.5 as the host compiler, because we use the
   host compiler to build kvm-unit-tests for this architecture

Fixes:

  http://autobuild.buildroot.net/results/21340a7e6494e23adb2fe8dc6253ab220c380fec/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoConfig.in: add BR2_HOST_GCC_AT_LEAST_4_5
Thomas Petazzoni [Wed, 26 Oct 2016 19:11:34 +0000 (21:11 +0200)]
Config.in: add BR2_HOST_GCC_AT_LEAST_4_5

In preparation to the addition of new dependencies in the
kvm-unit-tests package, add the BR2_HOST_GCC_AT_LEAST_4_5 symbol.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopython-pyqt5: fix the build with Qt 5.6.2
Thomas Petazzoni [Wed, 26 Oct 2016 14:24:41 +0000 (16:24 +0200)]
python-pyqt5: fix the build with Qt 5.6.2

This commit adds a patch to the python-pyqt5 package that fixes the
build with Qt 5.6.2.

It has been verified to fix:

  http://autobuild.buildroot.net/results/8ca61ec09cf0e6577d72fe5d809867aa284c8f1e/

And it should also fix:

  http://autobuild.buildroot.net/results/4e0c5776264a7382c842f04e333fe4ded7d14f8a/
  http://autobuild.buildroot.net/results/0306710e0f39591dba74f24aff40f7f094bcfa6e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: Bump version
Cyril Bur [Wed, 26 Oct 2016 03:19:16 +0000 (14:19 +1100)]
kvm-unit-tests: Bump version

This version bump includes several fixes for x86 and a significant fix
to powerpc transactional memory tests.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokvm-unit-tests: Fix x86_64 to use host compiler
Cyril Bur [Wed, 26 Oct 2016 03:19:15 +0000 (14:19 +1100)]
kvm-unit-tests: Fix x86_64 to use host compiler

kvm-unit-tests requires a multilib compiler for x86_64 as it compiles
32bit boot code.

This patch uses the BR2_HOSTARCH_NEEDS_IA32_COMPILER option to enforce
this and avoids using TARGET_CROSS for x86_64 targets and uses the host
32bit (and 64bit) capable compiler.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
[Thomas: reword comment in .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboard: fix indentation in zybo readme.txt
Matt Kraai [Wed, 26 Oct 2016 02:02:16 +0000 (19:02 -0700)]
board: fix indentation in zybo readme.txt

Signed-off-by: Matt Kraai <kraai@ftbfs.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotcpdump: bump version to 4.8.1
Vicente Olivert Riera [Wed, 26 Oct 2016 10:02:46 +0000 (11:02 +0100)]
tcpdump: bump version to 4.8.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofile: bump version to 5.29
Vicente Olivert Riera [Wed, 26 Oct 2016 10:02:45 +0000 (11:02 +0100)]
file: bump version to 5.29

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ti-sgx-km: indentation cleanup
Jerzy Grzegorek [Wed, 26 Oct 2016 09:19:08 +0000 (11:19 +0200)]
package/ti-sgx-km: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/nvidia-driver: indentation cleanup
Jerzy Grzegorek [Wed, 26 Oct 2016 09:19:07 +0000 (11:19 +0200)]
package/nvidia-driver: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: fix host build when ncurses is not installed
Thomas Petazzoni [Wed, 26 Oct 2016 10:18:00 +0000 (12:18 +0200)]
util-linux: fix host build when ncurses is not installed

lib/colors.c uses HAVE_LIBTINFO to decide whether term.h and ncurses.h
should be included. However, the configure.ac check is bogus: it
checks for tinfo using pkg-config, and then if it fails, checks with
AC_CHECK_LIB(). So, if you have tinfo installed, but not the
corresponding development package, the pkg-config test will fail, but
the AC_CHECK_LIB test will succeed, even though the headers are not
available.

To address this, we explicitly tell host-util-linux that tinfo is not
available, like we're already doing for ncurses.

Fixes:

  http://autobuild.buildroot.net/results/3c447e601a7b728860e78cabf2191ab206e6480d/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoboot-wrapper-aarch64: Allow users to select the PSCI SMP boot method
Hollis Blanchard [Fri, 7 Oct 2016 22:45:04 +0000 (15:45 -0700)]
boot-wrapper-aarch64: Allow users to select the PSCI SMP boot method

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
[Thomas:
 - remove "default n"
 - pass explicit --disable-psci]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosupport/download: make the git wrapper more robust
Yann E. MORIN [Sun, 31 Jul 2016 22:35:55 +0000 (00:35 +0200)]
support/download: make the git wrapper more robust

Currently, there are two failure paths in the wrapper:

  - if the tar fails, then the error is ignored because it is on the
    left-hand-side of a pipe;

  - if the find fails, then the error is ignored because it is a
    process substitution (and there is a pipe, too).

While the former could be fixed with "set -o pipefail", the latter can
not be fixed thusly and we must use an intemediate file for it.

So, fix both issues by using intermediate files, both to generate the
list of files to include in the archive, and generate the archive in a
temporary tarball.

Fixes the following build issue, where the find is failing for whatever
unknown reason:
    http://autobuild.buildroot.net/results/20f/20fd76d2256eee81837f7e9bbaefbe79d7645ae9/

And this one, where the process substitution failed, also for an unknown
reason:
    http://autobuild.buildroot.org/results/018/018971ea9227b386fe25d3c264c7e80b843a9f68/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain: configs: improve toolchain config readability
Petri Gynther [Mon, 8 Aug 2016 18:34:59 +0000 (11:34 -0700)]
toolchain: configs: improve toolchain config readability

Add (or move) comment lines in toolchain-related Config.in files
to improve readability of the toolchain config section.

Source linux-headers/Config.in.host after toolchain-buildroot items.

For toolchain-buildroot case, the config file now looks like this:
*
* Toolchain
*

*
* Toolchain Buildroot Options
*

*
* Kernel Header Options
*

*
* uClibc Options
*

*
* Binutils Options
*

*
* GCC Options
*

*
* Host GDB Options
*

*
* Toolchain Generic Options
*

Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/lvm2: disable for musl toolchains
Romain Naour [Tue, 23 Aug 2016 22:33:56 +0000 (00:33 +0200)]
package/lvm2: disable for musl toolchains

lvm2 doesn't build with musl toolchains due to several assignment of read-only
variable like stdin, stdout and stderr.
Also, it use mallinfo function which is not available with musl.

These issues has been reported upstream [2] but some of them remains
even with the latest stable release 2.02.163.

Fixes:
http://autobuild.buildroot.net/results/3d4df873a3d4fa199e03d8aa8694eafeac474e5a
[...]

[1] http://lists.busybox.net/pipermail/buildroot/2016-August/170592.html
[2] https://www.redhat.com/archives/linux-lvm/2016-February/msg00024.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocore/graph-depends: add option to graph reverse dependencies
Yann E. MORIN [Sun, 23 Oct 2016 17:19:44 +0000 (19:19 +0200)]
core/graph-depends: add option to graph reverse dependencies

Now that we can dump the reverse dependencies of a package, add the
ability to graph those.

It does not make sense to do a full reverse graph, as it would be
semantically equivalent to the direct graph. So we only provide a
per-package reverse graph.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/erlang: add optional dependency to unixodbc
Bernd Kuhls [Sun, 23 Oct 2016 15:34:03 +0000 (17:34 +0200)]
package/erlang: add optional dependency to unixodbc

Quote from erlang configure without unixodbc:

checking for odbc in standard locations... no
configure: WARNING: No odbc library found skipping odbc
configure: WARNING: "ODBC library - header check failed"
configure: WARNING: "ODBC library - link check failed"

Quote from erlang configure with unixodbc:

checking for odbc in standard locations... -L/home/buildroot/br3_couchdb/output/host/usr/i586-buildroot-linux-uclibc/sysroot/usr/lib
checking for SQLAllocHandle in -lodbc... yes

To check for unixodbc support used by erlang use readelf:

$ output/host/usr/bin/i586-buildroot-linux-uclibc-readelf -a output/target/usr/lib/erlang/lib/odbc-2.11.1/priv/bin/odbcserver | grep NEEDED
 0x00000001 (NEEDED)                     Shared library: [libodbc.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.0]

Tested using this minimal defconfig:

BR2_PACKAGE_ERLANG=y
BR2_PACKAGE_ERLANG_SMP=y
BR2_PACKAGE_UNIXODBC=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-infra: allow dumping reverse dependencies of a package
Yann E. MORIN [Sun, 23 Oct 2016 15:28:51 +0000 (17:28 +0200)]
pkg-infra: allow dumping reverse dependencies of a package

Finding the packages that select another one in a specific configuration
is not very trivial:

  - when optional, the dependency is not expressed in Kconfig

  - looking at the .mk files is not very nice.

Introduce a way to dump reverse dependencies of packages, i.e. the list
of packages that directly depend on that package. Like for direct
dependencies, we limit the list to the first-order reverse dependencies.

Document it in the main help; use the opportunity to also document
foo-show-depends.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add Bernd for the vdr-plugin-vnsiserver package
Thomas Petazzoni [Tue, 25 Oct 2016 20:49:09 +0000 (22:49 +0200)]
DEVELOPERS: add Bernd for the vdr-plugin-vnsiserver package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vdr-plugin-vnsiserver: new package
Bernd Kuhls [Sat, 6 Aug 2016 07:41:59 +0000 (09:41 +0200)]
package/vdr-plugin-vnsiserver: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add Bernd for the vdr package
Thomas Petazzoni [Tue, 25 Oct 2016 20:36:03 +0000 (22:36 +0200)]
DEVELOPERS: add Bernd for the vdr package

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/vdr: new package
Bernd Kuhls [Sat, 6 Aug 2016 07:41:58 +0000 (09:41 +0200)]
package/vdr: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: minor tweaks.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibglob: new package
Jörg Krause [Mon, 1 Aug 2016 19:58:36 +0000 (21:58 +0200)]
libglob: new package

libglob is the OpenBSD implementation of glob(3).

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
[Thomas: slightly rework how the make targets are calculated.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswupdate: improved help text for Lua support
Jordan Yelloz [Sun, 24 Jul 2016 23:27:38 +0000 (16:27 -0700)]
swupdate: improved help text for Lua support

It now explains limitations of building against Lua < 5.2 interpreters
and how to link to LuaJIT library.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoswupdate: update lua check for libconfig
Jordan Yelloz [Sun, 24 Jul 2016 23:27:37 +0000 (16:27 -0700)]
swupdate: update lua check for libconfig

Most probably this was missed in commit
65b2ae49feb310d3272a47c44cf3b406646b25c1 which removed pinning to Lua
5.2.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoDEVELOPERS: add entry for rabbitmq-server
Frank Hunleth [Tue, 25 Oct 2016 15:49:08 +0000 (11:49 -0400)]
DEVELOPERS: add entry for rabbitmq-server

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorabbitmq-server: new package
Frank Hunleth [Tue, 25 Oct 2016 15:49:07 +0000 (11:49 -0400)]
rabbitmq-server: new package

[Peter: simplify init script, use relative symlinks]
Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agozyre: disable docs
Rahul Bedarkar [Tue, 25 Oct 2016 17:36:41 +0000 (23:06 +0530)]
zyre: disable docs

Fixes:
  http://autobuild.buildroot.net/results/c30/c307cfae46b800603b76f623840bd0fd950f0e3f/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoconfigs/imx28evk: Update U-Boot and kernel versions
Fabio Estevam [Tue, 25 Oct 2016 16:21:40 +0000 (14:21 -0200)]
configs/imx28evk: Update U-Boot and kernel versions

Update U-Boot to 2016.09.01 and kernel to 4.8.4 version.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoimx28evk: Fix the first partition location
Fabio Estevam [Tue, 25 Oct 2016 16:21:39 +0000 (14:21 -0200)]
imx28evk: Fix the first partition location

When the SD card is connected to the host PC it can be mounted as
/dev/mmcblk0 or /dev/sdX, depending on how the SD controller is connected to
/the PC.

In this case the first partition is /dev/mmcblk0p1, not /dev/mmcblk01.

So use the ${PART1} variable to correctly assign this location.

[Peter: extend commit meesage]
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agomotion: bump to version 4.0.1
Fabrice Fontaine [Tue, 25 Oct 2016 15:27:42 +0000 (17:27 +0200)]
motion: bump to version 4.0.1

[Peter: adjust autoreconf comment]
Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agorsyslog: not available on musl
Rahul Bedarkar [Tue, 25 Oct 2016 15:48:59 +0000 (21:18 +0530)]
rsyslog: not available on musl

With musl C library, we get following error when building rsyslog:

  imfile.c: In function 'in_setupFileWatchStatic':
  imfile.c:1614:28: error: 'GLOB_BRACE' undeclared (first use in this function)
        GLOB_MARK|GLOB_NOSORT|GLOB_BRACE, NULL, &files);
                              ^
flag GLOB_BRACE is not available on musl. Since package uses it
unconditionally, we mark it not available for musl.

Fixes:
  http://autobuild.buildroot.net/results/6d4/6d480bb1e1466809d8ff119f6b35bb91df00785c/

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agoswupdate: allow luajit to enable HAVE_LUA
Jordan Yelloz [Sun, 24 Jul 2016 23:27:36 +0000 (16:27 -0700)]
swupdate: allow luajit to enable HAVE_LUA

Until now, HAVE_LUA=y was only passed when BR2_PACKAGE_LUA=y. However,
swupdate can also use LuaJIT instead of the classic Lua. Therefore,
this commit updates the package to use BR2_PACKAGE_HAS_LUAINTERPRETER
and the luainterpreter virtual package.

Note that the swupdate configuration needs to be updated separately
(via swupdate-menuconfig) to enable Lua support, and to specify the
Lua version (which should be jit-5.1 to link against LuaJIT).

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
[Thomas: use the luainterpreter virtual package, expand commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoscripts/get-developers: correct type of patches argument
Rahul Bedarkar [Wed, 21 Sep 2016 18:59:14 +0000 (00:29 +0530)]
scripts/get-developers: correct type of patches argument

Current type for 'patches' argument is str. It supposed to only
contain names of files.

If we specify FileType as type, then we don't need to open file ourself
and it allows script to read patch from standard input as well.

e.g.
$ git show -1 | ./support/scripts/get-developers -

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoconfigs/warp7: Use common script for generating boot image
Fabio Estevam [Thu, 29 Sep 2016 18:16:44 +0000 (15:16 -0300)]
configs/warp7: Use common script for generating boot image

Use the common board/freescale/common/post-image.sh script instead of
a custom one.

As the final image binary is called "sdcard.img" update the documentation
accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: fix selection of interfaces depending on BR2_USE_MMU
Thomas Petazzoni [Tue, 25 Oct 2016 10:32:46 +0000 (12:32 +0200)]
php: fix selection of interfaces depending on BR2_USE_MMU

Commit c457213fbca5f3493544c8a4335b623620458b0c reworked the selection
of PHP interfaces, moving from a choice..endchoice to a three
independent sub-options.

Thanks to how choices are handled by kconfig, an option suitable for
noMMU platforms was automatically chosen by default. When the
choice...endchoice got removed in
c457213fbca5f3493544c8a4335b623620458b0c, we introduced a "select" for
one of the interfaces, to make sure at least one interface is
selected.

Unfortunately, the selected interface does not build on noMMU
platforms. In order to preserve the previous behavior (CGI interface
is selected by default on MMU capable platforms), this commit makes
the select logic a bit more complicated:

 - CGI is selected on MMU-capable platforms if neither CLI or FPM are
   selected

 - CLI is selected on MMU-less platforms, since this is anyway the
   only available interface.

Fixes:

  http://autobuild.buildroot.net/results/85ea09188f1e996cb14b4b83a17736c096c569a8/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "firejail: new package"
Thomas Petazzoni [Mon, 24 Oct 2016 21:43:18 +0000 (23:43 +0200)]
Revert "firejail: new package"

This reverts commit 8a5224415ceb61e5340e4dd92028b37ce57ca849. It was
kept applied by mistake.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agorp-pppoe: pass the appropriate path for various tools
Thomas Petazzoni [Sat, 22 Oct 2016 13:03:17 +0000 (15:03 +0200)]
rp-pppoe: pass the appropriate path for various tools

The rp-pppoe configure script uses AC_PATH_PROG() to find the path of
a number of tools on the build machine. But in fact, those paths are
not used to call the tools on the build machine, but rather to replace
variables in scripts that are executed in the target.

Due to this, if those tools on the build machine are not located at
the same place as their equivalent in the target, the scripts will
fail to run. To address this, we pass the necessary cache variables to
override the autoconf checks.

The path from pppd has been taken from the build result of the pppd
package. The path for setsid, id and echo have been taken from the
build result of Busybox, assuming that full-blown variants of those
tools would be installed at the same location.

Fixes bug #8811.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agofirejail: new package
Chris Frederick [Thu, 20 Oct 2016 17:54:13 +0000 (12:54 -0500)]
firejail: new package

Firejail Security Sandbox
https://firejail.wordpress.com/

Lightweight application sandboxing system using seccomp and kernel
namespaces.

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables
Jerzy Grzegorek [Mon, 24 Oct 2016 21:00:46 +0000 (23:00 +0200)]
package/ts4900-fpga: remove the default value of the _INSTALL_{IMAGES, TARGET} variables

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchain/wrapper: fix 'reinstall'
Jérôme Pouiller [Wed, 28 Sep 2016 08:00:56 +0000 (10:00 +0200)]
toolchain/wrapper: fix 'reinstall'

toolchain-wrapper was not reinstalled. So rules toolchain-external-reinstall,
gcc-initial-reinstall, gcc-final-reinstall didn't work as expected.

In add, normalize variable name: s/TOOLCHAIN_BUILD_WRAPPER/TOOLCHAIN_WRAPPER_BUILD/

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoutil-linux: select ncurses when "pg" is selected
Carlos Santos [Mon, 24 Oct 2016 18:51:06 +0000 (16:51 -0200)]
util-linux: select ncurses when "pg" is selected

Fixes:
http://autobuild.buildroot.net/results/63374203f32d2e9407531b53cd5d8f2665944fbe
http://autobuild.buildroot.net/results/6279cd6f45f54ed5857a2fc08a21d9e257b6bc4b
http://autobuild.buildroot.net/results/5604c56c0c92483d28e51eb4e70a9741c3c4effe

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolegacy: add missing select
Yann E. MORIN [Mon, 24 Oct 2016 16:46:00 +0000 (18:46 +0200)]
legacy: add missing select

When adding a boolean option to legacy, it should slect BR2_LEGACY, to
trigger the legacy warning.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoopenzwave: fix compilation of MinOZW
Fabrice Fontaine [Sun, 23 Oct 2016 17:59:11 +0000 (19:59 +0200)]
openzwave: fix compilation of MinOZW

LIBDIR was used in cpp/examples/MinOZW/Makefile to add dynamic
libraries. However, as it was unset by default, the cross-compilation
could fail if the host had a library such as libnss3.so in /.
To fix this issue, this patch sets LIBDIR to top_buildir if it is unset

Fixes:
  http://autobuild.buildroot.net/results/68719fdf1320a69310bada6d3c47654dacdb5898

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: enable ldap support for pg_service.conf
Chris Frederick [Mon, 24 Oct 2016 14:13:18 +0000 (09:13 -0500)]
postgresql: enable ldap support for pg_service.conf

Just needed to add --with-ldap to POSTGRESQL_CONF_OPTS and add openldap
to POSTGRESQL_DEPENDENCIES when BR2_PACKAGE_OPENLDAP is on

Signed-off-by: Chris Frederick <cdf123@cdf123.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: fix pthread.h
Waldemar Brodkorb [Mon, 24 Oct 2016 03:21:51 +0000 (05:21 +0200)]
uclibc: fix pthread.h

Fixes:
 bfin: http://autobuild.buildroot.net/results/fbf/fbf63bbe0974b490b875a95fb930ba601364b85a/
 m68k: http://autobuild.buildroot.net/results/cc9/cc9b87c4c695f97a056cc53f19e7662750dffeff/
 microblazeel: http://autobuild.buildroot.net/results/941/941c06e29f6542e258f20799dc6f3f94b2f8af88/

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agophp: rework selection of interfaces
Fabrice Fontaine [Mon, 12 Sep 2016 21:31:07 +0000 (23:31 +0200)]
php: rework selection of interfaces

Following suggestion of Yann Morin, rework selection of php
interfaces: use booleans instead of choice to be able to select
multiple interfaces as they are not exclusive. We make sure at least
one of the options is selected.

It should be noted that previously CGI and FPM could not be selected
at the same time. This is now possible. Bug that prevented compilation
of CGI and FPM binaries at the same time has been fixed since PHP 5.4
(https://github.com/php-build/php-build/issues/101).

Legacy handling is added for the two options that are removed, and the
appropriate new options are selected.

Signed-off-by: Fabrice Fontaine <fabrice.fontaine@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopkg-download: fix fetching URLs with ? from PRIMARY/BACKUP
Arnout Vandecappelle [Fri, 21 Oct 2016 20:27:15 +0000 (22:27 +0200)]
pkg-download: fix fetching URLs with ? from PRIMARY/BACKUP

Some packages download files (especially patches) with a ? in the
URL. The ? marks the query part of the URL. However, the downloaded
file still contains the ? but from then on it doesn't designate a
query part anymore. Therefore, when fetching from PRIMARY or
BACKUP site over http, the server will report a 404 Not Found.

To fix, we need to replace the ? with %3F. Obviously, this should
be done only when fetching from PRIMARY or BACKUP. For fetching
from the real upstream, the ? really does designate the query part.

Fixes #9371.

Reported-by: Johan Derycke <johanderycke@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: replace 'SECONDARY' by 'BACKUP'.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gcc: disable libmpx for gcc6-based musl builds
Bernd Kuhls [Sat, 22 Oct 2016 22:04:22 +0000 (00:04 +0200)]
package/gcc: disable libmpx for gcc6-based musl builds

Building this minimal defconfig

BR2_TOOLCHAIN_BUILDROOT_MUSL=y
BR2_GCC_VERSION_6_X=y

fails:

In file included from ../../../../libmpx/mpxrt/mpxrt.c:54:0:
../../../../libmpx/mpxrt/mpxrt.c: In function 'read_mpx_status_sig':
../../../../libmpx/mpxrt/mpxrt.h:52:42: error: invalid application of
'sizeof' to incomplete type 'struct _libc_fpstate'
 #define XSAVE_OFFSET_IN_FPMEM    sizeof (struct _libc_fpstate)

To fix disable libmpx for musl builds, other projects did the same:

https://github.com/crosstool-ng/crosstool-ng/commit/3ec2211548a853203e070af6810f49825ec46a6a
http://git.alpinelinux.org/cgit/aports/commit/main/gcc/APKBUILD?id=1830e485126ea9a95d763317fb0c508c1ff297d2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-messagepack: bump to version 0.3.5
Francois Perrad [Sun, 23 Oct 2016 09:27:00 +0000 (11:27 +0200)]
lua-messagepack: bump to version 0.3.5

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolua-csnappy: bump to version 0.1.4
Francois Perrad [Sun, 23 Oct 2016 09:26:59 +0000 (11:26 +0200)]
lua-csnappy: bump to version 0.1.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: bump version to 3.1.5
Bernd Kuhls [Sat, 22 Oct 2016 09:25:11 +0000 (11:25 +0200)]
package/ffmpeg: bump version to 3.1.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/ffmpeg: renumber patch 0013 -> 0001
Bernd Kuhls [Sat, 22 Oct 2016 09:25:10 +0000 (11:25 +0200)]
package/ffmpeg: renumber patch 0013 -> 0001

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agouclibc: update to 1.0.19
Waldemar Brodkorb [Sun, 23 Oct 2016 12:19:05 +0000 (14:19 +0200)]
uclibc: update to 1.0.19

All patches are upstream.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux: bump default to version 4.8.4
Gustavo Zacarias [Sat, 22 Oct 2016 12:08:32 +0000 (09:08 -0300)]
linux: bump default to version 4.8.4

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agolinux-headers: bump 3.{2, 10, 12}.x and 4.{4, 7, 8}.x series
Gustavo Zacarias [Sat, 22 Oct 2016 12:08:31 +0000 (09:08 -0300)]
linux-headers: bump 3.{2, 10, 12}.x and 4.{4, 7, 8}.x series

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
8 years agocryptopp: bump to 5.6.5
Thomas Petazzoni [Sat, 22 Oct 2016 20:26:32 +0000 (22:26 +0200)]
cryptopp: bump to 5.6.5

This commit bumps cryptopp from 5.6.3 to 5.6.5 in order to fix bug

The commit f707b9ef1688d4429ca6239cf2dc236440974681, which Buildroot
was downloading as a patch to fix build with older gcc versions, has
been merged upstream as of 5.6.4, is therefore no longer necessary,
and dropped in this commit.

In addition, Andrey Volkov in the bug report #9321, proposed to add a
number of patches to cryptopp to solve issues when using
tegrarcm. Those patches are the following ones:

 - patch 0: moving to autotools as the build system. This is not
   strictly a bug fix, and is not necessary.

 - patch 1: merged upstream in
   "3941be18891a6a87626b7c70f715ca91c61c08c3 Fixed hang on ARM
   platforms in Integer::DivideThreeWordsByTwo", which is part of
   5.6.5.

 - patch 2: merged upstream in
   "9fca0c28023a177106cf58a3de6da610f185a6e4 Work around issue on
   ARMEL in MultiplyTop and GCC. ARMHF is OK", which is part of 5.6.5.

 - patch 3: merged upstream in
   "dce2317195a7d9aa77b159fd1beddaf8358f6243 Increase range for GCC
   workaround on ARMEL. After speaking with AP from GCC, he states
   some issues are still likely present in Master, which is GCC 6.0",
   which is part of 5.6.5

 - patch 4: merged upstream in
   "605744d8260c6ada033805c13ae0b2646acf18d6 Fixed SecBlock append
   when "this == t", fixed assert, added validation test (Issue 92)",
   which is part of 5.6.5

 - patch 5: merged upstream in
   "9f335d719ebc27f58251559240de0077ec42c583 Fix the Rijndael timing
   attack counter measure", which is part of 5.6.5

 - patch 6: merged upstream in
   "d8b02cfaafd7350ed0f876cd5da405cff330d537 Fixed m68k detection
   (Issue 153)", which is part of 5.6.5

 - patch 7: merged upstream in
   "c82fd655ed7465db8d21a0e0559c304a7a86d298 Cleared assert in debug
   builds (Issue 138)", which is part of 5.6.5

Bottom line: none of the patches proposed by Andrey Volkov are
necessary if we bump to 5.6.5.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibtasn1: clarify licensing info
Gustavo Zacarias [Thu, 29 Sep 2016 01:13:58 +0000 (22:13 -0300)]
libtasn1: clarify licensing info

The library is LGPLv2.1+, the tests and tools are GPLv3+ so clarify to
avoid confusion.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE}
Thomas Petazzoni [Sat, 22 Oct 2016 14:44:06 +0000 (16:44 +0200)]
toolchainfile.cmake: fix description of CMAKE_Fortran_FLAGS_{DEBUG,RELEASE}

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoochainfile.cmake: rework the way Buildroot sets flags
Samuel Martin [Sun, 16 Oct 2016 11:12:45 +0000 (13:12 +0200)]
toochainfile.cmake: rework the way Buildroot sets flags

From the build configuration, Buildroot defines and set some compiler
and linker flags that should be passed to any packages build-system.

For package using the cmake-package infrastructure, this is achieved
via the toolchainfile.cmake.

This change simplifies the way the toolchainfile.cmake file handles
these flags: it now just sets them, without any attempt to extend them
with those Buildroot defined.

This change still allows overriding these flags from the configure
command line.

So, now, when a CMake-based package needs to extend them, they should
be fully set from the package *.mk file. This behavior is consistent
with what is done for others package infrastructures.

This change should not pull any regression WRT the bug #7280 [1].

However, now, when someone uses the toolchainfile.cmake file outside of
Buildroot, he/she must overload all compiler/linker flags (including the
ones Buildroot sets since they no longer get automatically added).

[1] https://bugs.busybox.net/show_bug.cgi?id=7280

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:44 +0000 (13:12 +0200)]
package/rpi-userland: include TARGET_CFLAGS to the overloaded CFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/opencv3: fix CMAKE_CXX_FLAGS
Max Filippov [Sun, 16 Oct 2016 11:12:43 +0000 (13:12 +0200)]
package/opencv3: fix CMAKE_CXX_FLAGS

The commit 4904c4c "package/opencv3: use BR2_TOOLCHAIN_HAS_LIBATOMIC"
overrides CMAKE_CXX_FLAGS with the single -latomic, losing all ABI
CFLAGS that are passed there by default. This breaks build on xtensa
where ABI CFLAGS contain important code generation options.

Append $(TARGET_CXXFLAGS) to CMAKE_CXX_FLAGS along with -latomic.

Fixes:
  http://autobuild.buildroot.net/results/7f1c96abd8fbb5b358a07100ab623316e9bb9dcd
  http://autobuild.buildroot.net/results/e0c93d0f6d1da0d62d4dbba211a275bfe75e9645
  http://autobuild.buildroot.net/results/53e7e4b4b6a7b48b8012799d7507f7594dbf01b2

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/libcec: include TARGET_{C, CXX}FLAGS to the overloaded {C, CXX}FLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:42 +0000 (13:12 +0200)]
package/libcec: include TARGET_{C, CXX}FLAGS to the overloaded {C, CXX}FLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gnuradio: include TARGET_CFLAGS to the overloaded CFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:41 +0000 (13:12 +0200)]
package/gnuradio: include TARGET_CFLAGS to the overloaded CFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/gflags: include TARGET_CXXFLAGS to the overloaded CXXFLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:40 +0000 (13:12 +0200)]
package/gflags: include TARGET_CXXFLAGS to the overloaded CXXFLAGS

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotoolchainfile.cmake: set per-config appended {C, CXX}FLAGS
Samuel Martin [Sun, 16 Oct 2016 11:12:39 +0000 (13:12 +0200)]
toolchainfile.cmake: set per-config appended {C, CXX}FLAGS

When a build type is set, CMake does append some flags that can override
those set by Buildroot due to the gcc option parser (in which the last
argument controling an option wins).

Hereafter is a summary of the optimization and debug flags set by
Buildroot and appended by CMake.

* Flags set by Buildroot depending on the configuration:

  BR2_ENABLE_DEBUG | Optim. level        | Buildroot {C,CXX}FLAGS
  =================+=====================+=======================
          y        | BR2_OPTIMIZE_S      | -Os -gx
          y        | BR2_OPTIMIZE_G      | -Og -gx
          y        | BR2_OPTIMIZE_{0..3} | -On -gx
          n        | BR2_OPTIMIZE_S      | -Os
          n        | BR2_OPTIMIZE_G      | -Og
          n        | BR2_OPTIMIZE_{0..3} | -On

* Default flags appended by CMake depending on the build type:

  Build type     | Flags           | Effects on {C,CXX}FLAGS
  ===============+=================+===========================================
  Debug          | -g              | Force -g, compatible with BR2_ENABLE_DEBUG
  MinSizeRel     | -Os -DNDEBUG    | Set -Os, compatible with BR2_OPTIMIZE_S
  Release        | -O3 -DNDEBUG    | Set -O3, closest to the others cases,
                 |                 | though the optimization level is forced.
  RelWithDebInfo | -O2 -g -DNDEBUG | Force -g and set -O2, not friendly with BR

To avoid the CMake flags take precedence over the Buildroot ones, this
change sets in toolchainfile.cmake the per-config compiler flags CMake
can append depending on the build type Buildroot defined.
So, CMake does not mess up with the compilation flags Buildroot sets.

It is still possible to override these per-config flags on the cmake
command line.

Note:
  If a CMake-based project forces the compiler and/or linker flag
  definitions (the default ones or the per-config ones - e.g.
  CMAKE_C_FLAGS/CMAKE_C_FLAGS_{DEBUG,RELEASE}), there is not much
  Buildroot can do about it.
  So, the flags will be overwritten anyway in these cases.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - adjust comment in toolchainfile.cmake.in, as suggested by Arnout.
 - also handle CMAKE_Fortran_FLAGS_*, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/pkg-cmake.mk: move CMAKE_BUILD_TYPE definition into toolchainfile.cmake
Samuel Martin [Sun, 16 Oct 2016 11:12:38 +0000 (13:12 +0200)]
package/pkg-cmake.mk: move CMAKE_BUILD_TYPE definition into toolchainfile.cmake

The chosen CMAKE_BUILD_TYPE encodes an option of the Buildroot
configuration, so it makes more sense to save it in the
toolchainfile.cmake than to pass it during configure.

It is still possible to override the build type on the cmake
command line.

Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: reword description in the CHANGES file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoRevert "package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo"
Samuel Martin [Sun, 16 Oct 2016 11:12:37 +0000 (13:12 +0200)]
Revert "package/cmake: with BR2_ENABLE_DEBUG use RelWithDebInfo"

This reverts commit 4b0120183404913f7f7788ef4f0f6b51498ef363.

Before reverting this patch, CMake packages are built with the following
options:
  * if BR2_ENABLE_DEBUG is set:
    The CMake build type is set to RelWithDebInfo, which means:
    - Optimization level is forced to: -O2;
    - no log nor assert due to -DNDEBUG;
    - BR2_DEBUG_{1..3} effect is unchanged;
  * otherwise:
    The CMake build type is set to Release, which means:
    - Optimization level is forced to: -O3;
    - no log nor assert due to -DNDEBUG (as expected).
  In any case, the optimization WRT the binary size is always ignored
  and forced.

Reverting to the previous situation, so Buildroot now chooses between
the 'Debug' and 'Release' config types, which are semantically closer
to what Buildroot does everywhere else:
  * if BR2_ENABLE_DEBUG is set:
    The CMake build type is set to Debug, which means:
    - only -g option is passed by CMake;
    - optimization is not forced, nor debug level, so they are kept
      as-is;
  * otherwise:
    The CMake build type is set to Release, so no change in this case:
    - Optimization level is forced to: -O3;
    - no log nor assert due to -DNDEBUG (as expected);
    - size optimization is ignored.

Follow-up patches will fix the CMake flag variables that are appended by
CMake.

Cc: Charles Hardin <ckhardin@exablox.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopackage/trinity: needs headers >= 3.4
Bernd Kuhls [Sun, 16 Oct 2016 13:24:11 +0000 (15:24 +0200)]
package/trinity: needs headers >= 3.4

IPV6_UNICAST_IF was added with kernel 3.4:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?id=refs/tags/v3.4.112

To prove this compare with kernel 3.3:
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/include/linux/in6.h?h=linux-3.3.y

The trinity package contains some compat code in
https://github.com/kernelslacker/trinity/blob/master/include/compat.h

but it does not trigger for IPV6_UNICAST_IF
https://github.com/kernelslacker/trinity/blob/master/include/compat.h#L662

Instead of hacking compat.h to death just depend on headers >= 3.4.

Fixes a build error
net/proto-ipv6.c: At top level:
net/proto-ipv6.c:157:12: error: ‘IPV6_UNICAST_IF’ undeclared here (not in a function)
  { .name = IPV6_UNICAST_IF, },

not yet caught by autobuilders using this defconfig:
http://autobuild.buildroot.net/results/394/394e22be0ef986463e97b3040dad8f978262732c/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotrinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTS
Thomas Petazzoni [Sat, 22 Oct 2016 14:10:24 +0000 (16:10 +0200)]
trinity: refactor dependencies using BR2_PACKAGE_TRINITY_ARCH_SUPPORTS

In order to avoid duplicating architecture dependencies in the trinity
Config.in file, this commit introduces a
BR2_PACKAGE_TRINITY_ARCH_SUPPORTS Config.in variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoprotobuf: add a comment about python-protobuf
Thomas Petazzoni [Sat, 22 Oct 2016 14:00:19 +0000 (16:00 +0200)]
protobuf: add a comment about python-protobuf

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoprotobuf: bump to version 3.0.0
Jan Heylen [Thu, 20 Oct 2016 17:13:29 +0000 (19:13 +0200)]
protobuf: bump to version 3.0.0

It also changes the python-protobuf.hash file to be a symbolic link to
../protobuf/protobuf.hash so that both hash files don't have to be
updated when protobuf is bumped.

In addition, the 0001-disable-unneeded-build-dependencies.patch patch
from package/python-protobuf/ is removed because it has been merged
upstream.

Signed-off-by: Jan Heylen <heyleke@gmail.com>
[Thomas: fix the build of python-protobuf.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agopostgresql: bump version to 9.6.0
Peter Seiderer [Thu, 20 Oct 2016 19:49:32 +0000 (21:49 +0200)]
postgresql: bump version to 9.6.0

For release notes see [1].

[1] https://www.postgresql.org/docs/9.6/static/release-9-6.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowiringpi: bump version to 2.32
Peter Seiderer [Fri, 21 Oct 2016 19:10:12 +0000 (21:10 +0200)]
wiringpi: bump version to 2.32

- change back to original download site

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolzip: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:37 +0000 (13:06 -0300)]
lzip: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoxl2tp: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:08 +0000 (13:06 -0300)]
xl2tp: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
[Thomas: fix commit title.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocryptodev-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:20 +0000 (13:07 -0300)]
cryptodev-linux: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoaufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:19 +0000 (13:07 -0300)]
aufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE)

In this case in particular a host tool is built inside the target build
step.

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoturbolua: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:17 +0000 (13:07 -0300)]
turbolua: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agotinyhttpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:16 +0000 (13:07 -0300)]
tinyhttpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agowiringpi: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:15 +0000 (13:07 -0300)]
wiringpi: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqtuio: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:13 +0000 (13:07 -0300)]
qtuio: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agosepolgen: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:12 +0000 (13:07 -0300)]
sepolgen: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoqwt: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:11 +0000 (13:07 -0300)]
qwt: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoliblockfile: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:09 +0000 (13:07 -0300)]
liblockfile: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agovsftpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:08 +0000 (13:07 -0300)]
vsftpd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agobitstream: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:07 +0000 (13:07 -0300)]
bitstream: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoiodine: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:06 +0000 (13:07 -0300)]
iodine: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoomap-u-boot-utils: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:05 +0000 (13:07 -0300)]
omap-u-boot-utils: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodtc: use $(HOST_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:04 +0000 (13:07 -0300)]
dtc: use $(HOST_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoti-sgx-um: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:07:00 +0000 (13:07 -0300)]
ti-sgx-um: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agomii-diag: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:59 +0000 (13:06 -0300)]
mii-diag: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agodstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:58 +0000 (13:06 -0300)]
dstat: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agocollectd: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:57 +0000 (13:06 -0300)]
collectd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluajit: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:56 +0000 (13:06 -0300)]
luajit: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agoluajit: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:55 +0000 (13:06 -0300)]
luajit: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: use $(HOST_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:54 +0000 (13:06 -0300)]
libsepol: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agolibsepol: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:53 +0000 (13:06 -0300)]
libsepol: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
8 years agokeyutils: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)
Gustavo Zacarias [Mon, 17 Oct 2016 16:06:52 +0000 (13:06 -0300)]
keyutils: use $(TARGET_CONFIGURE_OPTS) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>