buildroot.git
7 years agocjson: bump to version 1.4.3
Fabrice Fontaine [Mon, 20 Mar 2017 18:00:51 +0000 (19:00 +0100)]
cjson: bump to version 1.4.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokeepalived: bump to version 1.3.5
Baruch Siach [Mon, 20 Mar 2017 20:52:42 +0000 (22:52 +0200)]
keepalived: bump to version 1.3.5

The configure script now supports --{enable,disable}-libnl, use them.

Cc: Ilias Apalodimas <apalos@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokeepalived: fix libnl optional dependency
Baruch Siach [Mon, 20 Mar 2017 20:52:41 +0000 (22:52 +0200)]
keepalived: fix libnl optional dependency

List libnl as a dependency when it is enabled. Make sure that
libnfnetlink is actually enabled when listing it as a dependency.

Cc: Ilias Apalodimas <apalos@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofilemq: bump version to 3dc89932903b0320853d87833aabc6f7e7781c49
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:19 +0000 (20:41 +0530)]
filemq: bump version to 3dc89932903b0320853d87833aabc6f7e7781c49

This version bump removes (L)GPLv3 license text which were leftover
from previous implementation.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofilemq: correct license
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:18 +0000 (20:41 +0530)]
filemq: correct license

All source files, except src/filemq_client.c and src/filemq_server.c,
has MPL Version 2.0 license text in file header.

As confirmed with upstream [1] (L)GPLv3 license texts COPYING and
COPYING.LESSER are leftover from previous implementation.

[1] - https://github.com/zeromq/filemq/issues/74

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogst1-vaapi: bump version to 1.10.4
Rahul Bedarkar [Mon, 20 Mar 2017 15:11:17 +0000 (20:41 +0530)]
gst1-vaapi: bump version to 1.10.4

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/bananapro: bump U-Boot to 2017.03
Jörg Krause [Mon, 20 Mar 2017 19:31:38 +0000 (20:31 +0100)]
configs/bananapro: bump U-Boot to 2017.03

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/bananapro: bump Linux to 4.10.4
Jörg Krause [Mon, 20 Mar 2017 19:31:37 +0000 (20:31 +0100)]
configs/bananapro: bump Linux to 4.10.4

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowiringpi: fix compile for missing baud defines
Peter Seiderer [Mon, 20 Mar 2017 20:00:20 +0000 (21:00 +0100)]
wiringpi: fix compile for missing baud defines

For sparc-buildroot-linux-uclibc/sysroot/usr/include/asm/termbits.h
containing:

  /* These have totally bogus values and nobody uses them
     so far. Later on we'd have to use say 0x10000x and
     adjust CBAUD constant and drivers accordingly.
  #define B2500000  0x00001010
  #define B3000000  0x00001011
  #define B3500000  0x00001012
  #define B4000000  0x00001013  */

Fixes [1]:

  wiringSerial.c: In function 'serialOpen':
  wiringSerial.c:78:28: error: 'B2500000' undeclared (first use in this function)
       case 2500000: myBaud = B2500000 ; break ;
                              ^
  wiringSerial.c:78:28: note: each undeclared identifier is reported only once for each function it appears in
  wiringSerial.c:79:28: error: 'B3000000' undeclared (first use in this function)
       case 3000000: myBaud = B3000000 ; break ;
                              ^
  wiringSerial.c:80:28: error: 'B3500000' undeclared (first use in this function)
       case 3500000: myBaud = B3500000 ; break ;
                              ^
  wiringSerial.c:81:28: error: 'B4000000' undeclared (first use in this function)
       case 4000000: myBaud = B4000000 ; break ;
                              ^

[1] http://autobuild.buildroot.net/results/5be/5bea1e95d1c7b444a5f0a5770251f1af3efc9c18

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskalibs: fix endianness detection on x86
Eric Le Bihan [Mon, 20 Mar 2017 20:11:22 +0000 (21:11 +0100)]
skalibs: fix endianness detection on x86

Update the patch for compile time endianness detection so it works on
x86 platforms using GCC <= 4.4.

Fixes:

  http://autobuild.buildroot.net/results/c2e8e1180571976b412cbba729c45a3698aea0b2
  http://autobuild.buildroot.net/results/2ee47107d8a67470f7bc3e10cf763202d5455d17

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibv4l: drop -lrt workaround
Baruch Siach [Mon, 20 Mar 2017 20:36:41 +0000 (22:36 +0200)]
libv4l: drop -lrt workaround

libv4l adds the -lrt flag since upstream commit 3dcb945bfcab
("v4l2-compliance: Explicitely link against rt library").

Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoautomake: fix unescaped left brace warning patch
Adam Duskett [Mon, 6 Mar 2017 13:23:59 +0000 (08:23 -0500)]
automake: fix unescaped left brace warning patch

Automake currently has a unescaped left brace in it's automake.in folder
that generates the warning:
"Unescaped left brace in regex is deprecated, passed through in regex;"
This patch, which is backported from upstream fixes this warning.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
[Thomas: format patch using "git format-patch".]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowget: add upstream security fix
Baruch Siach [Mon, 20 Mar 2017 04:16:56 +0000 (06:16 +0200)]
wget: add upstream security fix

Fixes CVE-2017-6508: CRLF injection in the url_parse function in url.c

http://lists.gnu.org/archive/html/bug-wget/2017-03/msg00018.html

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosmcroute: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:07:41 +0000 (15:07 +0100)]
smcroute: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agonvme: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:07:15 +0000 (15:07 +0100)]
nvme: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibvdpau: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:06:23 +0000 (15:06 +0100)]
libvdpau: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-rpi-gpio: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:05:19 +0000 (15:05 +0100)]
python-rpi-gpio: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolog4cpp: source files should not be executable
Peter Korsgaard [Mon, 20 Mar 2017 14:04:12 +0000 (15:04 +0100)]
log4cpp: source files should not be executable

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/gnupg2: add optional support for gnutls
Bernd Kuhls [Sun, 12 Mar 2017 11:33:28 +0000 (12:33 +0100)]
package/gnupg2: add optional support for gnutls

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnupg2: add optional support for sqlite
Bernd Kuhls [Sun, 12 Mar 2017 11:33:27 +0000 (12:33 +0100)]
package/gnupg2: add optional support for sqlite

Also add host-pkgconf to detect sqlite support, otherwise

checking pkg-config is at least version 0.9.0...
 ./configure: line 7981: /home/buildroot/br2/output/host/usr/bin/pkg-config: No such file or directory
no
[...]
checking for SQLITE3... no

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gnupg2: bump version to 2.1.19
Bernd Kuhls [Sun, 12 Mar 2017 11:33:26 +0000 (12:33 +0100)]
package/gnupg2: bump version to 2.1.19

Support for GnuPG 2.0 will end 2017-12-31:
https://lists.gnupg.org/pipermail/gnupg-announce/2017q1/000402.html

Removed all patches:

- 0001-fix-pth-config-usage.patch
  Not needed anymore, gnupg2 now depends on libnpth:
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=001352077cdc7e402421c77328bea1a052005673

- 0002-missing-include.patch
  Not needed anymore after upstream commit
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=0367a4b8cfbf1f197e093ca2b83b27e0a409c3c7

- 0003-dont-run-tests.patch
  Not needed anymore after upstream commit
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=4a232d23a8f51bebf9ee382e480248b4bde30f28

- 0004-silence-git-when-not-in-git-tree.patch
  Not needed anymore after upstream commit restricting the usage of git
  commands to the case where the directory .git exists
  https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=b67e4e523e6d19d384e23c5bb03010caebd150e7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libnpth: new package
Bernd Kuhls [Sun, 12 Mar 2017 11:33:25 +0000 (12:33 +0100)]
package/libnpth: new package

Needed for gnupg 2.1.x
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=commitdiff;h=001352077cdc7e402421c77328bea1a052005673

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libgpg-error: bump version to 1.27
Bernd Kuhls [Sun, 12 Mar 2017 11:33:24 +0000 (12:33 +0100)]
package/libgpg-error: bump version to 1.27

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/docker-engine: introduce option to build CLI client statically
Christian Stewart [Sun, 19 Mar 2017 06:20:42 +0000 (02:20 -0400)]
package/docker-engine: introduce option to build CLI client statically

This is useful when bind-mounting the docker client binary into
containers for a docker-in-docker setup.

The Docker CLI communicates with the daemon over a socket. It is
sometimes useful to bind-mount the Docker CLI and socket into containers at
run-time, so that scripts within the containers can call the Docker API
in the host using a client compatible with the host daemon.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomesa3d: Add temporary fixes for etnaviv rendering
Fabio Estevam [Sun, 19 Mar 2017 19:26:59 +0000 (16:26 -0300)]
mesa3d: Add temporary fixes for etnaviv rendering

Currently when running Qt5_CinematicExperience demo from Qt5.8 the
covers of the movies appear with a black box instead of showing the
actual art cover.

Also, the fonts are incorrectly displayed in many cases.

Fix these issues by applying temporary patches to etnaviv.

According to Christian Gmeiner and Wladimir J. van der Laan
the correct solution to this problem is to use shader variants [1].

Use these temporary patches until the correct solution appears in
mesa mainline, so that etaniv users can run Qt successfully for
the time being.

[1] https://lists.freedesktop.org/archives/mesa-dev/2017-March/147948.html

Tested on imx6q-sabresd board.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosysvinit: adjust help text
Baruch Siach [Sun, 19 Mar 2017 17:22:12 +0000 (19:22 +0200)]
sysvinit: adjust help text

sysvinit is far from ultimate init implementation these days. Update the
help text to match reality.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscripts/pycompile: Accomodate latest Python 3 codebase
Andrey Smirnov [Tue, 14 Mar 2017 23:42:27 +0000 (16:42 -0700)]
scripts/pycompile: Accomodate latest Python 3 codebase

As of the version 3.6.0 compile_dir() call will treat its 'quiet'
argument as a full blown integer rather than a boolean value and perform
integer comparison operations such as '<' or '>='.

To account for that convert ReportProblem type to be a true derivative
of built-in int() and override all of int's rich comparison operators in
order to be able to "sniff" for PyCompileError in all possible use-cases

The integer value ReportProblem pretends to be is teremined by class
variable VALUE which is set to 1.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agotesseract-ocr: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:53 +0000 (09:07 +0100)]
tesseract-ocr: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Thomas:
 - remove jpeg, tiff and libpng dependencies, they do not seem to be
   used
 - add host-pkgconf as a dependency, since the configure script uses
   PKG_CHECK_MODULES()
 - pass --disable-opencl to explicitly disable OpenCL support
 - add comment to explain why we don't add support for cairo, pango and
   icu as optional dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoleptonica: new package
Gilles Talis [Sun, 19 Mar 2017 08:07:52 +0000 (09:07 +0100)]
leptonica: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/pkg-toolchain-external: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:52 +0000 (10:59 +0100)]
package/pkg-toolchain-external: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/uclibc-ng-test: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:51 +0000 (10:59 +0100)]
package/uclibc-ng-test: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/qt5multimedia: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:50 +0000 (10:59 +0100)]
package/qt5multimedia: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/openocd: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:49 +0000 (10:59 +0100)]
package/openocd: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libscrypt: indentation cleanup
Jerzy Grzegorek [Sun, 19 Mar 2017 09:59:48 +0000 (10:59 +0100)]
package/libscrypt: indentation cleanup

Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pytablewriter: bump version to 0.17.2
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:52 +0000 (12:20 +0000)]
python-pytablewriter: bump version to 0.17.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-pathvalidate: bump version to 0.14.1
Vicente Olivert Riera [Mon, 13 Mar 2017 12:20:14 +0000 (12:20 +0000)]
python-pathvalidate: bump version to 0.14.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-dataproperty: bump version to 0.17.0
Vicente Olivert Riera [Mon, 13 Mar 2017 12:19:16 +0000 (12:19 +0000)]
python-dataproperty: bump version to 0.17.0

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopostgresql: bump version to 9.6.2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:52:13 +0000 (11:52 +0000)]
postgresql: bump version to 9.6.2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomemcached: bump version to 1.4.35
Vicente Olivert Riera [Mon, 13 Mar 2017 11:43:50 +0000 (11:43 +0000)]
memcached: bump version to 1.4.35

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoimagemagick: bump version to 7.0.5-2
Vicente Olivert Riera [Mon, 13 Mar 2017 11:34:23 +0000 (11:34 +0000)]
imagemagick: bump version to 7.0.5-2

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoipset: bump version to 6.32
Vicente Olivert Riera [Mon, 13 Mar 2017 11:32:40 +0000 (11:32 +0000)]
ipset: bump version to 6.32

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoharfbuzz: bump version to 1.4.5
Vicente Olivert Riera [Mon, 13 Mar 2017 11:26:41 +0000 (11:26 +0000)]
harfbuzz: bump version to 1.4.5

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowilink-bt-firmware: new package
Baruch Siach [Mon, 13 Mar 2017 14:35:27 +0000 (16:35 +0200)]
wilink-bt-firmware: new package

Add firmware files for the UART attached Bluetooth on TI Wilink series
wireless connectivity combo chips.

Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[Thomas: rename config option so that it has the BR2_PACKAGE_ prefix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agomono: remove nonexistent configure options
Dustin Johnson [Wed, 15 Mar 2017 01:55:07 +0000 (21:55 -0400)]
mono: remove nonexistent configure options

The .mk file for the mono package contains out of date configuration
options. The --disable-gtk-doc option is no longer available in
configure. Moonlight is no longer supported in Mono and the
--with-moonlight=no option is no longer required.

Signed-off-by: Dustin Johnson <dustin.r.johnson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouccp420wlan: new package
Abhimanyu Vishwakarma [Thu, 16 Mar 2017 11:43:20 +0000 (17:13 +0530)]
uccp420wlan: new package

Wifi kernel module and firmware for Imagination explorer RPU

Signed-off-by: Abhimanyu Vishwakarma <Abhimanyu.Vishwakarma@imgtec.com>
Reviewed-by: Rahul Bedarkar <Rahul.Bedarkar@imgtec.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: indicate linux >= 4.2 dependency, as suggested by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Sat, 18 Mar 2017 14:21:42 +0000 (11:21 -0300)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: bump default to version 4.10.4
Fabio Estevam [Sat, 18 Mar 2017 14:21:41 +0000 (11:21 -0300)]
linux: bump default to version 4.10.4

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoskeleton: fix permissions on /dev/pts/ptmx
Jan Kundrát [Fri, 17 Mar 2017 16:02:54 +0000 (17:02 +0100)]
skeleton: fix permissions on /dev/pts/ptmx

Without this patch, it is not possible to allocate PTYs when a generated
rootfs image with a recent glibc and systemd is launched as a container  on
an RHEL7 system via machinectl/systemd-nspawn. The container boots, but
`machinectl login mycontainer` fails. The culprit is /dev/pts/ptmx with
0000 perms.

On a typical system, there are two `ptmx` devices. One is provided by the
devpts at /dev/pts/ptmx and it is typically not directly accessed from
userspace. The other one which actually *is* opened by processes is
/dev/ptmx. Kernel's documentation says these days that /dev/ptmx should be
either a symlink, or a bind mount of the /dev/pts/ptmx from devpts.

When a container is launched via machinectl/machined/systemd-nspawn, the
container manager prepares a root filesystem so that the container can live
in an appropriate namespace (this is similar to what initramfs is doing on
x86 desktops). During these preparations, systemd-nspawn mounts a devpts
instance using a correct ptmxmode=0666 within the container-to-be's
/dev/pts, and it adds a compatibility symlink at /dev/ptmx. However, once
systemd takes over as an init in the container,
/lib/systemd/systemd-remount-fs applies mount options from /etc/fstab to
all fileystems. Because the buildroot's template used to not include the
ptmxmode=... option, a default value of 0000 was taking an effect which in
turn led to not being able to allocate any pseudo-terminals.

The relevant kernel option was introduced upstream in commit 1f8f1e29 back
in 2009. The oldest linux-headers referenced from buildroot's config is
3.0, and that version definitely has that commit. Mount options that are
not understood by the system are anyway ignored, so backward
compatibility is preserved.

Signed-off-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas: fix commit title, adjust commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibkcapi: new package
Marcin Nowakowski [Fri, 17 Mar 2017 09:11:19 +0000 (10:11 +0100)]
libkcapi: new package

This package provides a userspace library that allows easy use of crypto
interfaces exposed by the kernel.

A git tip is used instead of the last official release, as autotools
support and cross-compilation fixes have been added only very recently.

Signed-off-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Reviewed-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
[Thomas:
 - Change sub-option prompt to "build test applications"
 - Be more specific about the license: the library is under BSD-3c only,
   while the programs are under BSD-3c or GPLv2.
 - Explicitly disable programs when BR2_PACKAGE_LIBKCAPI_APPS is not
   enabled.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoqt5declarative: build and install examples
Gaël PORTAY [Thu, 16 Mar 2017 22:54:25 +0000 (18:54 -0400)]
qt5declarative: build and install examples

This patch builds and installs Qt examples for declarative module.

It proceeds the same way as others Qt5 modules. Samples are installed
under /usr/lib/qt/examples/qml directory (/usr/lib/qt/examples/quick for
quick).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agos6-rc: expose the host variant in menuconfig
Eric Le Bihan [Thu, 16 Mar 2017 21:37:58 +0000 (22:37 +0100)]
s6-rc: expose the host variant in menuconfig

Some users may want to build the s6-rc service database offline using a
post-build script. So make the host variant visible in menuconfig.

Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibepoxy: reinstate mesa egl cflags patch
Gustavo Zacarias [Wed, 15 Mar 2017 13:23:57 +0000 (10:23 -0300)]
libepoxy: reinstate mesa egl cflags patch

This is still required when building libepoxy against mesa egl without
x11 (GL).

Mesa needs a preprocessor define to avoid including X11 headers and
since this is not forwarded into epoxy.pc for other
libraries/applicatons that link against it it will fail.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoclasspath: xmlj requires threads.
Marcus Hoffmann [Sat, 18 Mar 2017 13:07:07 +0000 (14:07 +0100)]
classpath: xmlj requires threads.

Fixes:

  http://autobuild.buildroot.net/results/bb1f005948803fac9e753c2d3ba1e53bb78a0456

Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopolarssl: remove unmaintained package
Gustavo Zacarias [Thu, 16 Mar 2017 13:04:34 +0000 (10:04 -0300)]
polarssl: remove unmaintained package

The 1.2.x branch is no longer maintained, so remove it since it's
likely security-vulnerable.

mbedtls is the modern replacement which was renamed from polarssl when
ARM bought them up.
However major releases broke API so polarssl 1.2.x isn't always
interchangeable with polarssl/mbedtls 1.3.x (interim mixed naming
because of new ownership) or newer 2.x series.

Fortunately we don't have any package in the tree that uses polarssl
exclusively.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Thomas:
 - Remove entry in DEVELOPERS file for this package. Noticed by Arnout.
 - Remove comment in bctoolbox.mk that no longer makes sense after
   polarssl removal. Noticed by Arnout.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 7.7.3
Martin Bark [Thu, 16 Mar 2017 10:28:30 +0000 (10:28 +0000)]
package/nodejs: bump version to 7.7.3

See https://nodejs.org/en/blog/release/v7.7.3/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agowiringpi: bump to version 2.44
Peter Seiderer [Wed, 15 Mar 2017 21:08:28 +0000 (22:08 +0100)]
wiringpi: bump to version 2.44

- rebase 0001-Adjust-for-buildroot-build.patch
- delete 0002-include-asm-ioctl.h-directly-for-_IOC_SIZEBITS.patch
  (all changes are incorporated into wiringpi-2.44)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofakeroot: depend on acl
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:16 +0000 (17:06 +0100)]
fakeroot: depend on acl

Recent versions of fakeroot have grown support for acl. We don't really
need this since we don't use acls in Buildroot. However, it turns out
that "cp -a" does something funky with acls, with the result that
fakeroot without acl support looses the ownership and permissions on
the copied file. "cp -a" may be (is even likely to be) used in a
BR2_ROOTFS_POST_FAKEROOT_SCRIPT, so we need to support this.

Note that host-acl itself depends on host-attr, so this pulls in two
extra packages in each build. The impact on build time is about 10s.

Cc: Andreas Naumann <dev@andin.de>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: add host variant
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:15 +0000 (17:06 +0100)]
acl: add host variant

We need host-acl to fix issues with fakeroot.

Unfortunately, all the hacks (except the .la fixup) have to be repeated.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Andreas Naumann <dev@andin.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoacl: make sure build picks up TARGET_CFLAGS
Arnout Vandecappelle [Fri, 17 Mar 2017 16:06:14 +0000 (17:06 +0100)]
acl: make sure build picks up TARGET_CFLAGS

The acl build system doesn't use automake, therefore it is broken. It
doesn't use the CFLAGS passed by configure. Work around this by passing
CFLAGS in the environment. The makefiles append to CFLAGS, so this
works.

This issue hasn't led to build failures, but it is visible e.g. when
stack protector is enabled: the stack protector options are not applied
to acl. Also debug and optimisation options aren't applied.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gdb: fix gnulib issue with musl and uClibc toolchains (finally)
Romain Naour [Thu, 16 Mar 2017 22:27:18 +0000 (23:27 +0100)]
package/gdb: fix gnulib issue with musl and uClibc toolchains (finally)

The previous fix [1] reinroduced the issue fixed by [2].
So keep gl_cv_func_gettimeofday_clobber=no in GDB_CONF_ENV
and GDB_MAKE_ENV.

Fixes:
http://autobuild.buildroot.net/results/ec6/ec60d436bd34a4f37b664e4124d7f0c96e90a1be

[1] faf38b78aee613a732f96d5022a2894efd024a25
[2] 560334bb2a46a77081a3944d092df7732dfca432

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouboot-tools: pass empty CFLAGS on invocation of libfdt/setup.py
Max Filippov [Fri, 17 Mar 2017 16:42:42 +0000 (09:42 -0700)]
uboot-tools: pass empty CFLAGS on invocation of libfdt/setup.py

When building u-boot tools in cross-build environment CFLAGS environment
variable set up for target is taken into an account when building code
for host. Make it empty on invocation of python.

This fixes the following build errors when cross-compiling for xtensa:

  cc1: error: unrecognized command line option "-mlongcalls"
  cc1: error: unrecognized command line option "-mauto-litpools"

Fixes:
  http://autobuild.buildroot.net/results/439d6dacfaa7f9244bd15ca04990c12a25ff4777
  http://autobuild.buildroot.net/results/e2fe36c20e75d01a01a6659ef11e888965a843b9
  http://autobuild.buildroot.net/results/6f37ff347822a76571a9fe9cf3c491fe7e4164fa

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: disable display of ClueCon banner in fs_cli
Bernd Kuhls [Fri, 17 Mar 2017 19:23:06 +0000 (20:23 +0100)]
package/freeswitch: disable display of ClueCon banner in fs_cli

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoxlib_libXv: correct license info
Peter Korsgaard [Thu, 16 Mar 2017 15:31:46 +0000 (16:31 +0100)]
xlib_libXv: correct license info

The license is actually closer to ISC than MIT, E.G.:

https://opensource.org/licenses/ISC
vs
https://opensource.org/licenses/MIT

>From COPYING:
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the names of Digital or MIT not be
used in advertising or publicity pertaining to distribution of the
software without specific, written prior permission.

E.G.  this is very similar to the normal ISC text which has been extended
with a BSD-3c style advertisinc clause.  Both are permissive licenses, but
it is more correct to call it ISC-like.

Notice: As pointed out by Rahul Bedarkar, this may actually be more closely
related to the OpenBSD template license:

http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/misc/license.template?rev=HEAD

But that is also based on the ISC license, so calling it ISC-like is still
correct.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/cairo: update license information
Romain Naour [Thu, 16 Mar 2017 23:02:06 +0000 (00:02 +0100)]
package/cairo: update license information

As noticed by Rahul Bedarkar, the cairo library is LGPLv2.1 only
(not LGPLv2.1+) or MPLv1.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocjson: bump to version 1.4.2
Fabrice Fontaine [Fri, 17 Mar 2017 06:27:49 +0000 (07:27 +0100)]
cjson: bump to version 1.4.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibsamplerate: bump to version 0.1.9
Jörg Krause [Thu, 16 Mar 2017 14:32:01 +0000 (15:32 +0100)]
libsamplerate: bump to version 0.1.9

libsamplerate is relicensed under the 2 clause BSD license.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agophp: bump version to 7.1.3
Vicente Olivert Riera [Thu, 16 Mar 2017 15:53:33 +0000 (15:53 +0000)]
php: bump version to 7.1.3

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodado: bump to version 1.8.0
Francois Perrad [Thu, 16 Mar 2017 16:36:54 +0000 (17:36 +0100)]
dado: bump to version 1.8.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotcpreplay: patch security issue
Baruch Siach [Thu, 16 Mar 2017 18:41:23 +0000 (20:41 +0200)]
tcpreplay: patch security issue

Add upstream patch for CVE-2017-6429: Buffer overflow when reading crafted
pcap file with large packets.

https://github.com/appneta/tcpreplay/issues/278

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agotaglib: update homepage link
Rahul Bedarkar [Thu, 16 Mar 2017 11:54:01 +0000 (17:24 +0530)]
taglib: update homepage link

Avoid redirect.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: document MPL licenses
Rahul Bedarkar [Thu, 16 Mar 2017 11:54:00 +0000 (17:24 +0530)]
docs/manual: document MPL licenses

Many packages are provided under MPL v1.1 and v2.0. Document it under
License abbreviations section.

Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodocs/manual: document ISC license
Rahul Bedarkar [Thu, 16 Mar 2017 11:53:59 +0000 (17:23 +0530)]
docs/manual: document ISC license

Many packages are provided under ISC license. Document it under License
abbreviations section.

Cc: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojson-glib: bump version to 1.2.6
Vicente Olivert Riera [Wed, 15 Mar 2017 15:49:43 +0000 (15:49 +0000)]
json-glib: bump version to 1.2.6

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolttng-tools: bump version to 2.9.4
Vicente Olivert Riera [Wed, 15 Mar 2017 15:40:57 +0000 (15:40 +0000)]
lttng-tools: bump version to 2.9.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agocryptsetup: bump version to 1.7.4
Vicente Olivert Riera [Wed, 15 Mar 2017 15:37:12 +0000 (15:37 +0000)]
cryptsetup: bump version to 1.7.4

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agombedtls: security bump to verison 2.4.2
Gustavo Zacarias [Wed, 15 Mar 2017 18:08:36 +0000 (15:08 -0300)]
mbedtls: security bump to verison 2.4.2

Fixes:
CVE-2017-2784 - Freeing of memory allocated on stack when validating a
public key with a secp224k1 curve.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomariadb: security bump to version 10.1.22
Peter Korsgaard [Wed, 15 Mar 2017 10:48:32 +0000 (11:48 +0100)]
mariadb: security bump to version 10.1.22

Fixes:

CVE-2017-3302 - C client library for MySQL (libmysqlclient.so) has
use-after-free defect which can cause crash of applications using that MySQL
client.

CVE-2017-3313 - Difficult to exploit vulnerability allows low privileged
attacker with logon to the infrastructure where MySQL Server executes to
compromise MySQL Server.  Successful attacks of this vulnerability can
result in unauthorized access to critical data or complete access to all
MySQL Server accessible data.

And a number of important, but non-security related fixes:

MDEV-11842: Fix a 10.1.21 regression with failed INSERT, BEFORE INSERT
triggers, and columns with no default value

MDEV-12075: Fix a 10.1.21 regression in the InnoDB data file extension code

For details, see the release notes:
https://mariadb.com/kb/en/mariadb/mariadb-10122-release-notes/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojasper: add upstream security fix
Peter Korsgaard [Tue, 14 Mar 2017 22:58:22 +0000 (23:58 +0100)]
jasper: add upstream security fix

Fixes a NULL Pointer Dereference jp2_encode:

https://github.com/mdadams/jasper/issues/120

No CVE assigned yet.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojasper: add upstream security fix for CVE-2017-6850
Peter Korsgaard [Tue, 14 Mar 2017 22:58:21 +0000 (23:58 +0100)]
jasper: add upstream security fix for CVE-2017-6850

Fixes a NULL pointer dereference in jp2_cdef_destroy:

https://blogs.gentoo.org/ago/2017/01/25/jasper-null-pointer-dereference-in-jp2_cdef_destroy-jp2_cod-c/

https://github.com/mdadams/jasper/issues/112

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopax-utils: bump version to 1.2.2
Peter Korsgaard [Tue, 14 Mar 2017 23:20:28 +0000 (00:20 +0100)]
pax-utils: bump version to 1.2.2

Now the code checks for PR_SET_NO_NEW_PRIVS before using it, so the kernel
headers dependency can be removed.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x series
Fabio Estevam [Wed, 15 Mar 2017 11:07:38 +0000 (08:07 -0300)]
linux-headers: bump 4.{4, 9, 10}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default to version 4.10.3
Fabio Estevam [Wed, 15 Mar 2017 11:07:37 +0000 (08:07 -0300)]
linux: bump default to version 4.10.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agorpm: bump version to 4.13.0.1 (security)
Vicente Olivert Riera [Mon, 13 Mar 2017 12:31:20 +0000 (12:31 +0000)]
rpm: bump version to 4.13.0.1 (security)

Security fixes:
 - Fix several out of bounds reads in the OpenPGP parser
 - Fix handling of OpenPGP reserved tag (should be rejected)
 - Fix various crashes from malformed packages with invalid tags

Release notes:
  http://rpm.org/wiki/Releases/4.13.0.1

This patch also switches from GitHub to rpm.org since the last one seems
to be more up-to-date.

[Peter: use RPM_VERSION_MAJOR as suggested by Jerzy Grzegorek]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoscreen: bump version to 4.5.1
Vicente Olivert Riera [Mon, 13 Mar 2017 12:37:53 +0000 (12:37 +0000)]
screen: bump version to 4.5.1

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agomoarvm: bump version to 2017.02
Vicente Olivert Riera [Mon, 13 Mar 2017 12:48:27 +0000 (12:48 +0000)]
moarvm: bump version to 2017.02

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 9, 10}.x and 3.12.x series
Vicente Olivert Riera [Mon, 13 Mar 2017 11:41:44 +0000 (11:41 +0000)]
linux-headers: bump 4.{4, 9, 10}.x and 3.12.x series

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoirssi: bump version to version 1.0.2
Peter Korsgaard [Tue, 14 Mar 2017 15:00:39 +0000 (16:00 +0100)]
irssi: bump version to version 1.0.2

Notice that this fixes a security issue:

CWE-416 (use after free condition during netjoin processing). No CVE
assigned yet:

https://irssi.org/security/irssi_sa_2017_03.txt

But the 0.8.x series is not believed to be vulnerable to this specific
issue.  From the advisory:

Affected versions
-----------------

Irssi up to and including 1.0.1

We believe Irssi 0.8.21 and prior are not affected since a different
code path causes the netjoins to be flushed prior to reaching the use
after free condition.

Openssl is no longer optional, so select it and drop the enable/disable
handling.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agokmscube: update the project URL
Fabio Estevam [Mon, 13 Mar 2017 18:53:07 +0000 (15:53 -0300)]
kmscube: update the project URL

kmscube repository has been moved to freedesktop.org, so
update the URL accordingly.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokmscube: Remove the manually creation of m4 directory
Fabio Estevam [Mon, 13 Mar 2017 18:24:25 +0000 (15:24 -0300)]
kmscube: Remove the manually creation of m4 directory

Since kmscube upstream commit a2dc60cf05b704 ("Add m4/.gitignore")
there is no need to manually create the m4 directory anymore, so
simply remove KMSCUBE_POST_PATCH_HOOKS.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokmscube: bump version to fix build failures
Fabio Estevam [Mon, 13 Mar 2017 16:26:21 +0000 (13:26 -0300)]
kmscube: bump version to fix build failures

Bump kmscube version to fix build failures such as this one seen on sparc64:
http://autobuild.buildroot.net/results/d7e/d7e82c67e0b04b0aea990bfb19dd6e4fd914bebe/build-end.log

,and also the one reported by Gary Bisson with Linaro 2017.02 ARM
gnueabihf toolchain.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibiio: explicitly disable matlab bindings
Matthew Fornero [Mon, 13 Mar 2017 19:35:02 +0000 (15:35 -0400)]
libiio: explicitly disable matlab bindings

If building on a machine with MATLAB installed, the MATLAB bindings will
default to ON, which is not the desired behavior for a cross build.

The bindings are designed to be called from within MATLAB, and we are
not currently running MATLAB on buildroot-generated targets.

This does not preclude the use of the bindings from a host connecting
over the network backend (assuming libiio on the host has the bindings
enabled).

Signed-off-by: Matthew Fornero <mfornero@mathworks.com>
Acked-By: Paul Cercueil <paul.cercueil@analog.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouboot: improve BR2_TARGET_UBOOT_SPL_NAME help text
Jagan Teki [Tue, 14 Mar 2017 11:01:05 +0000 (16:31 +0530)]
uboot: improve BR2_TARGET_UBOOT_SPL_NAME help text

SPL is the name used for spl on i.MX6, so update the same on
BR2_TARGET_UBOOT_SPL_NAME help text.

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: rewrap Config.in help text.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: bump version to 3.22.10
Vicente Olivert Riera [Tue, 14 Mar 2017 11:46:28 +0000 (11:46 +0000)]
libgtk3: bump version to 3.22.10

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibgtk3: remove non-existent configure options
Vicente Olivert Riera [Tue, 14 Mar 2017 11:46:26 +0000 (11:46 +0000)]
libgtk3: remove non-existent configure options

>From config.log:

configure: WARNING: unrecognized options: --disable-doc, --disable-docs,
--disable-documentation, --with-xmlto, --with-fop, --enable-ipv6,
--enable-gtk2-dependency, --disable-introspection

Remove non-existent --enable-gtk2-dependency and --disable-introspection
configure options from libgtk3.mk.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libscrypt: add patch to fix CFLAGS/LDFLAGS passing
Stefan Sørensen [Tue, 14 Mar 2017 08:36:08 +0000 (09:36 +0100)]
package/libscrypt: add patch to fix CFLAGS/LDFLAGS passing

Because Buildroot passes its own CFLAGS/LDFLAGS, this was overriding
the ones from the package Makefile, leading to build failures because
-fPIC was no longer being passed.

This commit fixes that by adding a patch that allows to keep the
package CFLAGS while passing additional ones through the make command
line. While doing this, it also removes a few hardcoded optimization
and hardening flags, leaving it to Buildroot to decide whether they
should be passed or not. This makes the workaround for stack protector
no longer needed.

Fixes:

  http://autobuild.buildroot.net/results/b25/b256d003d841e492da073788198203e7cbc834cf/

Signed-off-by: Stefan Sørensen <stefan.sorensen@spectralink.com>
[Thomas: tweak commit log and patch description.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 7.7.2
Martin Bark [Tue, 14 Mar 2017 12:06:18 +0000 (12:06 +0000)]
package/nodejs: bump version to 7.7.2

See https://nodejs.org/en/blog/release/v7.7.2/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: remove 0.10.x support
Martin Bark [Tue, 14 Mar 2017 12:06:17 +0000 (12:06 +0000)]
package/nodejs: remove 0.10.x support

nodejs 0.10.x is now end of life and is no longer maintained so remove it.
See https://github.com/nodejs/LTS

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozmqpp: update license
Rahul Bedarkar [Tue, 14 Mar 2017 14:29:37 +0000 (19:59 +0530)]
zmqpp: update license

Since version 4.1.2, zmqpp is provided under MPLv2.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux: enable uBoot image type for xtensa kernel
Max Filippov [Tue, 14 Mar 2017 18:30:52 +0000 (11:30 -0700)]
linux: enable uBoot image type for xtensa kernel

Starting with the release 2016.09 xtensa architecture is supported by
the U-Boot. Enable uimage target in xtensa linux kernel.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu: update xtensa linux to 4.9
Max Filippov [Tue, 14 Mar 2017 18:58:56 +0000 (11:58 -0700)]
configs/qemu: update xtensa linux to 4.9

Linux configs are missing memmap= option that is required for xtfpga
boards configured w/o device tree starting with linux-4.9. Add it.

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