buildroot.git
7 years agolibtirpc: Fix build error due to missing stdint.h inclusion
Dmitrii Kolesnichenko [Tue, 20 Jun 2017 16:55:31 +0000 (19:55 +0300)]
libtirpc: Fix build error due to missing stdint.h inclusion

Add patch to fix following error:
| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
|   if (len < (uintptr_t)xdrs->x_base) {
|              ^~~~~~~~~

This error occurs with the latest glibc master version (during the testing I had
glibc commit 92bd70fb85bce57ac47ba5d8af008736832c955a), but doesn't occur with
version 2.25.

Patch includes stdint.h to provide uintptr_t.

It has been submitted upstream:
https://sourceforge.net/p/libtirpc/mailman/message/35850276/

Signed-off-by: Dmitrii Kolesnichenko <dmitrii@synopsys.com>
[Thomas: reformat as Git formatted patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cherrypy: bump to version 10.2.2
Yegor Yefremov [Fri, 16 Jun 2017 07:27:58 +0000 (09:27 +0200)]
python-cherrypy: bump to version 10.2.2

Fix license info, add new dependencies and change setup type.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cheroot: new package
Yegor Yefremov [Fri, 16 Jun 2017 07:27:57 +0000 (09:27 +0200)]
python-cheroot: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-portend: new package
Yegor Yefremov [Fri, 16 Jun 2017 07:27:56 +0000 (09:27 +0200)]
python-portend: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-tempora: new package
Yegor Yefremov [Fri, 16 Jun 2017 07:27:55 +0000 (09:27 +0200)]
python-tempora: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoroseapplepi: backport upstream patches to fix build with gcc 6
Peter Korsgaard [Tue, 20 Jun 2017 11:49:52 +0000 (13:49 +0200)]
roseapplepi: backport upstream patches to fix build with gcc 6

The recent change to default to gcc 6 for the internal toolchain broke this
defconfig as the u-boot and linux kernel are too old to build with gcc 6.

Fit it by backporting the following commits:

- u-boot: 9b2c282b34 (compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6)
- linux:  cb984d101b (compiler-gcc: integrate the various compiler-gcc[345].h files)

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agov4l2loopback: new package
Alexandre Esse [Tue, 20 Jun 2017 19:11:38 +0000 (21:11 +0200)]
v4l2loopback: new package

This package provides a kernel module and utilities in order to use
v4l2loopback virtual devices.  This module allows you to create
"virtual video devices" normal (v4l2) applications will read these
devices as if they were ordinary video devices, but the video will not
be read from e.g. a capture card but instead it is generated by
another application.

Signed-off-by: Alexandre Esse <alexandre.esse.dev@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: don't build cctest target
Martin Bark [Tue, 20 Jun 2017 08:39:01 +0000 (09:39 +0100)]
package/nodejs: don't build cctest target

cctest is a test package that is built by default.  We don't use of it
and recently it has been failing to build in the host-nodejs builds
so disable it.

Fixes:
http://autobuild.buildroot.net/results/1d7642073d169de941e74dc3a0efba6e992e2de7
http://autobuild.buildroot.net/results/8801109c1976e1c7a08dc4036c6a38efdbb8cd7e
http://autobuild.buildroot.net/results/6d52bc9fef4c9f12f0091e93c020ab2cd4c4c5a1
http://autobuild.buildroot.net/results/a8b8a781bdea668b657311c68b6f0ca0f74169c7

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/nodejs: bump version to 8.1.2
Martin Bark [Tue, 20 Jun 2017 08:39:00 +0000 (09:39 +0100)]
package/nodejs: bump version to 8.1.2

See https://nodejs.org/en/blog/release/v8.1.2/

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoexpat: fix patch that doesn't apply properly
Thomas Petazzoni [Tue, 20 Jun 2017 05:40:25 +0000 (07:40 +0200)]
expat: fix patch that doesn't apply properly

Fixes:

  http://autobuild.buildroot.net/results/23f799009ae10c5de2b06a7747a28804818204c2/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agontp: enable/disable sntp support depending on BR2_PACKAGE_NTP_SNTP
Vicente Olivert Riera [Mon, 19 Jun 2017 14:33:25 +0000 (15:33 +0100)]
ntp: enable/disable sntp support depending on BR2_PACKAGE_NTP_SNTP

We already have an option for selecting sntp support in ntp that can be
chosen from the menuconfig, and ntp's configure script has a --with-sntp
option (with its --without counterpart) which can be used for disabling
sntp support in ntp. However, we are not using it. This patch will make
use of it.

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoirssi: drop obsolete configure option
Rodrigo Rebello [Mon, 19 Jun 2017 06:02:43 +0000 (03:02 -0300)]
irssi: drop obsolete configure option

The configure option --with-ncurses has been removed in version 1.0.0
and thus is no longer needed.

Signed-off-by: Rodrigo Rebello <rprebello@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoirssi: security bump to version 1.0.3
Peter Korsgaard [Sun, 18 Jun 2017 21:35:02 +0000 (23:35 +0200)]
irssi: security bump to version 1.0.3

Fixes:

CVE-2017-9468 - Joseph Bisch discovered that Irssi does not properly handle
DCC messages without source nick/host.  A malicious IRC server can take
advantage of this flaw to cause Irssi to crash, resulting in a  denial of
service.

CVE-2017-9469 - Joseph Bisch discovered that Irssi does not properly handle
receiving incorrectly quoted DCC files.  A remote attacker can take
advantage of this flaw to cause Irssi to crash, resulting in a denial of
service.

See https://irssi.org/security/irssi_sa_2017_06.txt for more details.

Remove 0001-Get-back-to-using-pkg-config-to-check-for-OpenSSL.patch as it
applied upstream and drop autoreconf as configure.ac is no longer patched.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoexpat: security bump to version 2.2.1
Peter Korsgaard [Sun, 18 Jun 2017 21:20:04 +0000 (23:20 +0200)]
expat: security bump to version 2.2.1

Fixes:

- CVE-2017-9233 - External entity infinite loop DoS. See:
  https://libexpat.github.io/doc/cve-2017-9233/

- CVE-2016-9063 -- Detect integer overflow

And further more:

- Fix regression from fix to CVE-2016-0718 cutting off longer tag names.

- Extend fix for CVE-2016-5300 (use getrandom() if available).

- Extend fix for CVE-2012-0876 (Change hash algorithm to William Ahern's
  version of SipHash).

Also add an upstream patch to fix detection of getrandom().

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoRevert "util-linux: bump to version 2.30"
Carlos Santos [Mon, 19 Jun 2017 12:42:38 +0000 (09:42 -0300)]
Revert "util-linux: bump to version 2.30"

This reverts commit 088292cfc16359b966882f66b6e94dbc2c9813cb to prevent
breaking the build while we search for the root cause of the problem.

Fixes:
  http://autobuild.buildroot.net/results/7b0b1d8ba0015308724a9677f890e6e63f77e0ad
  http://autobuild.buildroot.net/results/11476388b8b774dc5ca7c9ceb34ea9ad1a4314b9
  http://autobuild.buildroot.net/results/9730d0c4a4001314351a0a116164ba854272db4d
  http://autobuild.buildroot.net/results/4d1440360bddfd0ddbbdddf6077bca0e796f2949
  http://autobuild.buildroot.net/results/f3089d8b8727a526eeb553964711e0066287422e
  http://autobuild.buildroot.net/results/ace6aaad6bee0f4bed44126fea57a090ff2541f9
  http://autobuild.buildroot.net/results/ff460fff5da05d38776eb04e8ada947290248f42
  http://autobuild.buildroot.net/results/a4979169d78938e0cc06e6a69eaac0ab13dc3084
  http://autobuild.buildroot.net/results/84e8c23ecb77a99f9bb70fca9de4a5062414037d
  http://autobuild.buildroot.net/results/d3433ef125b5cfbf8a4b8824c256dbd0ea34b6bb
  http://autobuild.buildroot.net/results/92bc3ae63709dae8cdb8860bd997f72c92ede442
  http://autobuild.buildroot.net/results/d9122512b0d0802c19184eccb5056bf985f74e5b
  http://autobuild.buildroot.net/results/dad980abe5dc72df436b21270797b32435b55392
  http://autobuild.buildroot.net/results/7def156b29011b90a20579b4bad436a7acde498c
  http://autobuild.buildroot.net/results/0bb97b8edc5cea657992cdb083ce9ae79c969f03
  http://autobuild.buildroot.net/results/8f76af2caf7dd08919a20cc1fd848c920512e988
  http://autobuild.buildroot.net/results/3a8ecda0ce63dd67a73d66fbd238072ddb079900
  http://autobuild.buildroot.net/results/8d43e6f00be41fde7163868c5fbc3235097629ed
  http://autobuild.buildroot.net/results/5049aab863707aae09bde540d98ea8063c017e7e
  http://autobuild.buildroot.net/results/e227393a29590b298112dfd8efa4aebe2ffa9294
  http://autobuild.buildroot.net/results/8ad4455dcdfcd991dff728910bdbcfa57f5774a4
  http://autobuild.buildroot.net/results/27947db73e4875df1dbeee35a6ea8ad6a31af0b5
  http://autobuild.buildroot.net/results/5a9cc647e648a61e3c24f929987df356abcdc104
  http://autobuild.buildroot.net/results/eb01bb21f6c942cf8cf067450f016fd3893cc7cd
  http://autobuild.buildroot.net/results/6f7e3f6b4acc93ce695c07199cf6bf643db4386e

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoaudit: bump to version 2.7.7
Adam Duskett [Mon, 19 Jun 2017 15:02:47 +0000 (11:02 -0400)]
audit: bump to version 2.7.7

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdb: fix full gdb build for MIPS musl
Vicente Olivert Riera [Mon, 19 Jun 2017 16:00:08 +0000 (17:00 +0100)]
gdb: fix full gdb build for MIPS musl

Currently building full gdb for MIPS musl fails because it's trying to
include <sgidefs.h> which is provided by glibc and uClibc, but not by
musl.

However, the kernel headers provide <asm/sgidefs.h> which has the same
definitions, so we can use that one instead.

Backporting a patch that has been sent upstream. Taken from here:

https://sourceware.org/bugzilla/show_bug.cgi?id=21070

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinuxconsoletools: new package
Koen Martens [Mon, 19 Jun 2017 16:55:06 +0000 (18:55 +0200)]
linuxconsoletools: new package

Linuxconsoletools contains the inputattach utility
to attach legacy serial devices to the Linux kernel
input layer and joystick utilities to calibrate and
test joysticks and joypads.

The buildroot package adds options to build only certain
tools.

website: http://sf.net/projects/linuxconsole/

Signed-off-by: Koen Martens <gmc@sonologic.nl>
[Thomas: minor tweaks to Config.in and .mk file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agofcgiwrap: disable -Werror in CFLAGS
Thomas Claveirole [Mon, 19 Jun 2017 16:26:05 +0000 (18:26 +0200)]
fcgiwrap: disable -Werror in CFLAGS

fcgiwrap's configure script appends -Werror to AM_CFLAGS, then use it
to build the package.  This is an issue when Buildroot supports a new
compiler version and this version makes some warnings appear.
Luckily, one can provide CFLAGS=-Wno-error to the configure script so
it appends -Wno-error to AM_CFLAGS.

Fixes:

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

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoconfigs/qemu_sh4*: rename back the linux config file to linux-4.9.config
Thomas Petazzoni [Mon, 19 Jun 2017 07:26:12 +0000 (09:26 +0200)]
configs/qemu_sh4*: rename back the linux config file to linux-4.9.config

In commit 28d97609b25cb534a55b6cf6b1945428e817c54a ("configs/qemu:
bump to the latest kernel version") updated most qemu defconfigs to
use Linux 4.11. However, for the SH4 configurations, Linux 4.9 was
kept, because 4.11 apparently has an issue.

Unfortunately, while the defconfigs for SH4 were unchanged, the Linux
kernel configuration file was renamed from linux-4.9.config to
linux-4.11.config.

This commit renames the Linux configuration files back to their
previous name, linux-4.9.config, matching what the Qemu SH4 defconfigs
specify.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: move nanopi-neo under friendlyarm
Chakra Divi [Sun, 18 Jun 2017 18:23:09 +0000 (23:53 +0530)]
board: move nanopi-neo under friendlyarm

As the vendor folder friendlyarm is created, move board nanopi-neo
also under vendor folder.

Signed-off-by: Chakra Divi <chakra@openedev.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agokvazaar: new package
Alexandre Esse [Fri, 16 Jun 2017 23:29:27 +0000 (01:29 +0200)]
kvazaar: new package

Kvazaar is an open-source HEVC encoder licensed under LGPLv2.1.
This provides tools to encode raw video into HEVC stream.

website: http://ultravideo.cs.tut.fi/

Signed-off-by: Alexandre Esse <alexandre.esse.dev@gmail.com>
[Thomas: add --without-cryptopp to explicitly disable support for this
optional dependency, use SPDX license code, fix Config.in]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/freeswitch: bump version to 1.6.18
Bernd Kuhls [Sat, 17 Jun 2017 14:48:14 +0000 (16:48 +0200)]
package/freeswitch: bump version to 1.6.18

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libunwind: bump version to 1.2.1
Bernd Kuhls [Sat, 17 Jun 2017 14:38:08 +0000 (16:38 +0200)]
package/libunwind: bump version to 1.2.1

Backported patch from master branch which implements --disable-tests
configure option, removed original patch 0001, added _CONF_OPTS.

Removed patch 0003, applied upstream:
https://github.com/libunwind/libunwind/commit/f1684379dfaf8018d5d4c1945e292a56d0fab245

Added upstream patch to fix musl build.

Tested using this defconfig

BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_PACKAGE_LTRACE=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
BR2_PACKAGE_WESTON=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XSERVER_XORG_SERVER=y
BR2_PACKAGE_LIBJPEG=y
BR2_PACKAGE_LIBUNWIND=y

with test-pkg

                armv5-ctng-linux-gnueabi [ 1/49]: OK
              armv7-ctng-linux-gnueabihf [ 2/49]: OK
                        br-aarch64-glibc [ 3/49]: SKIPPED
                           br-arcle-hs38 [ 4/49]: SKIPPED
                            br-arm-basic [ 5/49]: SKIPPED
                  br-arm-cortex-a9-glibc [ 6/49]: OK
                   br-arm-cortex-a9-musl [ 7/49]: SKIPPED
                   br-arm-cortex-m4-full [ 8/49]: SKIPPED
                             br-arm-full [ 9/49]: OK
                    br-arm-full-nothread [10/49]: SKIPPED
                      br-arm-full-static [11/49]: SKIPPED
                            br-bfin-full [12/49]: SKIPPED
                   br-i386-pentium4-full [13/49]: SKIPPED
                br-i386-pentium-mmx-musl [14/49]: SKIPPED
                       br-m68k-5208-full [15/49]: SKIPPED
                      br-m68k-68040-full [16/49]: SKIPPED
                    br-microblazeel-full [17/49]: SKIPPED
                 br-mips32r6-el-hf-glibc [18/49]: OK
                      br-mips64-n64-full [19/49]: SKIPPED
                 br-mips64r6-el-hf-glibc [20/49]: SKIPPED
                      br-mipsel-o32-full [21/49]: OK
                          br-nios2-glibc [22/49]: SKIPPED
                      br-openrisc-uclibc [23/49]: SKIPPED
               br-powerpc-603e-basic-cpp [24/49]: SKIPPED
             br-powerpc64le-power8-glibc [25/49]: SKIPPED
               br-powerpc64-power7-glibc [26/49]: SKIPPED
                  br-powerpc-e500mc-full [27/49]: SKIPPED
                             br-sh4-full [28/49]: SKIPPED
                        br-sparc64-glibc [29/49]: SKIPPED
                         br-sparc-uclibc [30/49]: SKIPPED
                    br-x86-64-core2-full [31/49]: OK
                          br-x86-64-musl [32/49]: SKIPPED
                          br-xtensa-full [33/49]: SKIPPED
                     i686-ctng-linux-gnu [34/49]: OK
                          linaro-aarch64 [35/49]: SKIPPED
                              linaro-arm [36/49]: OK
             mips64el-ctng_n32-linux-gnu [37/49]: SKIPPED
             mips64el-ctng_n64-linux-gnu [38/49]: SKIPPED
        powerpc-ctng_e500v2-linux-gnuspe [39/49]: OK
                     sourcery-arm-armv4t [40/49]: OK
                            sourcery-arm [41/49]: OK
                     sourcery-arm-thumb2 [42/49]: OK
                         sourcery-mips64 [43/49]: SKIPPED
                           sourcery-mips [44/49]: OK
                          sourcery-nios2 [45/49]: SKIPPED
                             sourcery-sh [46/49]: SKIPPED
                         sourcery-x86-64 [47/49]: OK
                            sourcery-x86 [48/49]: OK
           x86_64-ctng_locales-linux-gnu [49/49]: OK

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoutil-linux: bump to version 2.30
Carlos Santos [Sat, 17 Jun 2017 18:43:06 +0000 (15:43 -0300)]
util-linux: bump to version 2.30

- Update the "basic set" description to include fincore, which is built
  by default, and remove tailf, which was removed in this version.
- Add configuration options for the new utilities "chmem" and "lsmem".
- Remove patch already applied upstream.
- Drop autoreconf, since the patch on term-utils/Makemodule.am is gone.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libbluray: fix build when host has no java support
Bernd Kuhls [Sun, 18 Jun 2017 07:27:37 +0000 (09:27 +0200)]
package/libbluray: fix build when host has no java support

Fixes
http://autobuild.buildroot.net/results/630/630cfe62798d0f35fdfaed8547038ba7673cc149/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/imagemagick: bump version to 7.0.6-0
Bernd Kuhls [Sun, 18 Jun 2017 07:45:38 +0000 (09:45 +0200)]
package/imagemagick: bump version to 7.0.6-0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/imagemagick: change download url to github
Bernd Kuhls [Sun, 18 Jun 2017 07:45:37 +0000 (09:45 +0200)]
package/imagemagick: change download url to github

Upstream quickly removes old versions from
http://www.imagemagick.org/download/releases

For our LTS versions we should switch to a stable upstream repo which
provides all released versions.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-headers: bump 4.{1, 4, 9, 11}.x series
Fabio Estevam [Sat, 17 Jun 2017 13:47:44 +0000 (10:47 -0300)]
linux-headers: bump 4.{1, 4, 9, 11}.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 version to 4.11.6
Fabio Estevam [Sat, 17 Jun 2017 13:47:43 +0000 (10:47 -0300)]
linux: bump default version to 4.11.6

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-idna: bump version to 2.5
Bernd Kuhls [Sat, 17 Jun 2017 13:13:02 +0000 (15:13 +0200)]
package/python-idna: bump version to 2.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-firmware: Add support for i.MX SDMA
Fabio Estevam [Fri, 16 Jun 2017 20:52:32 +0000 (17:52 -0300)]
linux-firmware: Add support for i.MX SDMA

Allow the i.MX SDMA firmwares to be installed.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolinux-firmware: Bump to the latest version
Fabio Estevam [Fri, 16 Jun 2017 20:52:31 +0000 (17:52 -0300)]
linux-firmware: Bump to the latest version

Update to commit ec58d9aaf3.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agocjson: bump to version 1.5.5
Fabrice Fontaine [Sat, 17 Jun 2017 11:34:11 +0000 (13:34 +0200)]
cjson: bump to version 1.5.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodropwatch: bump to master and fix site
Alexander Dahl [Sat, 17 Jun 2017 07:27:26 +0000 (09:27 +0200)]
dropwatch: bump to master and fix site

The tool was hosted at fedorahosted.org which was shut down in early
2017. According to a private conversation with the upstream maintainer,
the new home for this tool is on infradead.org so far. So the SITE was
adapted accordingly.

Additionally the version was bumped from 1.4 to current master. This
allows to drop one build patch. The other patches were recreated with
Git.

Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: always pass --with-platforms
Bernd Kuhls [Sat, 17 Jun 2017 07:19:57 +0000 (09:19 +0200)]
package/mesa3d: always pass --with-platforms

If --with-platforms is not used mesa3d defaults to x11:
https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=17.1#n1641
https://cgit.freedesktop.org/mesa/mesa/tree/configure.ac?h=17.1#n1659

This will break configure when x11 is not needed because the defconfig
has no mesa3d drivers enabled. To solve the problem we always pass
--with-platforms, even with empty values and also for non-egl builds.

Fixes
http://autobuild.buildroot.net/results/d16/d16b39d16b5bee5c09b1e996941a275a4337c3c1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: rename MESA3D_EGL_PLATFORMS to MESA3D_PLATFORMS
Bernd Kuhls [Sat, 17 Jun 2017 07:19:56 +0000 (09:19 +0200)]
package/mesa3d: rename MESA3D_EGL_PLATFORMS to MESA3D_PLATFORMS

No code changes, this patch prepares for updates to platform handling
after upstream deprecated --with-egl-platforms in favour of
--with-platforms
https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.1&id=7748c3f5eb1d98ca97d2cf6e516ff54a5d75130a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscanpypi: fix comment typo
Bernd Kuhls [Sat, 17 Jun 2017 10:03:50 +0000 (12:03 +0200)]
scanpypi: fix comment typo

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopandaboard_defconfig: bump u-boot to 2017.05 to fix build with gcc 6
Peter Korsgaard [Fri, 16 Jun 2017 21:24:04 +0000 (23:24 +0200)]
pandaboard_defconfig: bump u-boot to 2017.05 to fix build with gcc 6

The recent change to default to gcc 6 for the internal toolchain broke this
defconfig as the u-boot doesn't contain commit 9b2c282b34 (compiler*.h: sync
include/linux/compiler*.h with Linux 4.5-rc6) which was added during the
2016.03 cycle.

Fix the build by bumping u-boot to 2017.05.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopackage/libbluray: bump version to 1.0.1
Bernd Kuhls [Sat, 17 Jun 2017 06:24:15 +0000 (08:24 +0200)]
package/libbluray: bump version to 1.0.1

Removed configure options --enable-udf --disable-bdjava, they were
removed upstream:

http://git.videolan.org/?p=libbluray.git;a=commitdiff;h=dec9a6bcf17e8ca34b3b2e3eab632a6e03832e8c
http://git.videolan.org/?p=libbluray.git;a=commitdiff;h=415da3663a1ff2a935d4a36417f4f46bf2b947d2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenblocks_a6_defconfig: improve/fix configuration
Peter Korsgaard [Fri, 16 Jun 2017 14:41:44 +0000 (16:41 +0200)]
openblocks_a6_defconfig: improve/fix configuration

The board has an ethernet interface, so enable DHCP for it.

The used flash chip uses 16K erase blocks, so use that for JFFS2:

mtdinfo -a
..
mtd5
Name:                           user
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          1915 (31375360 bytes, 29.9 MiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:10
Bad blocks are allowed:         true
Device is writable:             true

While we're at it, add a readme explaining how to build and upload the build
to the board.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoopenblocks_a6_defconfig: bump to linux-4.11.5 to fix build with gcc 6
Peter Korsgaard [Fri, 16 Jun 2017 14:41:43 +0000 (16:41 +0200)]
openblocks_a6_defconfig: bump to linux-4.11.5 to fix build with gcc 6

The recent change to default to gcc 6 for the internal toolchain broke this
defconfig, as the kernel doesn't contain commit cb984d101b (compiler-gcc:
integrate the various compiler-gcc[345].h files) which was added during the
4.2 cycle.

Fix the build by bumping the kernel to 4.11.5.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agojanus-gateway: bump to version 0.2.3
Adam Duskett [Thu, 15 Jun 2017 12:13:08 +0000 (08:13 -0400)]
janus-gateway: bump to version 0.2.3

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-ipython: Bump to version 5.4.0
Andrey Smirnov [Mon, 12 Jun 2017 23:42:16 +0000 (16:42 -0700)]
python-ipython: Bump to version 5.4.0

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-ipython: Add dependecy list
Andrey Smirnov [Mon, 12 Jun 2017 23:42:15 +0000 (16:42 -0700)]
package/python-ipython: Add dependecy list

List minimal set of packages needed to be installed alongside to be able
to run IPython 5.2.2 with Python 2/3.

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
[Thomas: use alphabetic ordering.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-backports-shutil-get-terminal-size: New package
Andrey Smirnov [Mon, 12 Jun 2017 23:42:14 +0000 (16:42 -0700)]
package/python-backports-shutil-get-terminal-size: New package

Add 'python-backports-shutil-get-terminal-size'[1] package to
buildroot. Needed by IPython when building against Python2.

[1] https://pypi.python.org/pypi/backports.shutil_get_terminal_size

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-pickleshare: New package
Andrey Smirnov [Mon, 12 Jun 2017 23:42:13 +0000 (16:42 -0700)]
package/python-pickleshare: New package

Add 'pickleshare'[1] package to buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/pickleshare

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-pathlib2: New package
Andrey Smirnov [Mon, 12 Jun 2017 23:42:12 +0000 (16:42 -0700)]
package/python-pathlib2: New package

Add 'pathlib2'[1] package to Buildroot. Needed by 'pickleshare'
package, which is added in the next patch.

[1] https://pypi.python.org/pypi/pathlib2

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-scandir: New package
Andrey Smirnov [Mon, 12 Jun 2017 23:42:11 +0000 (16:42 -0700)]
package/python-scandir: New package

Add 'scandir'[1] package to buildroot. Needed by 'pathlib2'.

[1] https://pypi.python.org/pypi/scandir

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/python-traitlets: New package
Andrey Smirnov [Mon, 12 Jun 2017 23:42:10 +0000 (16:42 -0700)]
package/python-traitlets: New package

Add 'traitlets'[1] package to Buildroot. Needed by IPython.

[1] https://pypi.python.org/pypi/traitlets

Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoarm-trusted-firmware: cleanup make target handling
Luca Ceresoli [Wed, 14 Jun 2017 11:22:27 +0000 (13:22 +0200)]
arm-trusted-firmware: cleanup make target handling

ARM_TRUSTED_FIRMWARE_MAKE_TARGET is expanded, but it's never assigned
so it is always empty. On the other hand the make targets are defined
in ARM_TRUSTED_FIRMWARE_MAKE_OPTS, which should contain options, not
targets.

Clean it all up by moving the targets in the proper place, replacing
the useless $(ARM_TRUSTED_FIRMWARE_MAKE_TARGET).

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoglmark2: Fix segmentation fault
Fabio Estevam [Tue, 13 Jun 2017 22:40:03 +0000 (19:40 -0300)]
glmark2: Fix segmentation fault

Running glmark2 on imx6 with kernel 4.11.4 and Mesa 17.1.2 leads to
a segmentation fault.

Apply Lucas Stach's patch to fix the problem while upstream glmark2
doesn't get fixed.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-paramiko: sort runtime dependencies in alphabetical order
Yegor Yefremov [Tue, 13 Jun 2017 08:59:50 +0000 (10:59 +0200)]
python-paramiko: sort runtime dependencies in alphabetical order

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscancpan: refactor with $mirror
Francois Perrad [Wed, 14 Jun 2017 14:15:31 +0000 (16:15 +0200)]
scancpan: refactor with $mirror

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscancpan: refactor with MetaCPAN::API source()
Francois Perrad [Wed, 14 Jun 2017 14:15:30 +0000 (16:15 +0200)]
scancpan: refactor with MetaCPAN::API source()

instead of get_manifest()

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoscancpan: update with MetaCPAN API v1
Francois Perrad [Wed, 14 Jun 2017 14:15:29 +0000 (16:15 +0200)]
scancpan: update with MetaCPAN API v1

The API v0 is shutdown.
see https://bugs.busybox.net/show_bug.cgi?id=9951

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-setuptools: bump to version 36.0.1
Yegor Yefremov [Thu, 15 Jun 2017 08:03:19 +0000 (10:03 +0200)]
python-setuptools: bump to version 36.0.1

Recent setuptools versions require bootstrap.py to be invoked
before the standard setup process. So create such pre configure
hooks for both host and target versions.

Change download location to GitHub because setuptools doesn't
provide *.tar.gz any longer.

Fix legal info. setuptools is now licensed under MIT licence.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-cffi: bump to version 1.10.0
Yegor Yefremov [Thu, 15 Jun 2017 08:03:18 +0000 (10:03 +0200)]
python-cffi: bump to version 1.10.0

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboost: module context affected by GCC bug 64735
Jörg Krause [Thu, 15 Jun 2017 09:40:00 +0000 (11:40 +0200)]
boost: module context affected by GCC bug 64735

Building boosts module context is affected by GCC bug 64735 [1]:

```
./boost/context/execution_context_v2.hpp:298:31: error: 'exception_ptr' is not a member of 'std'
     auto p = std::make_tuple( std::exception_ptr{}, std::move( data) );
```

This is because `exception_ptr` from libstdc++ is not available for
architectures not supporting always lock-free atomic ints.

Note, that this bug is fixed in GCC 7.

Fixes:
http://autobuild.buildroot.net/results/f4e/f4e8a3727f19f7df4a1c45efe3603422fafd4af5/

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64735

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolibnss: bump to version 3.31
Baruch Siach [Thu, 15 Jun 2017 10:34:57 +0000 (13:34 +0300)]
libnss: bump to version 3.31

Fixes build with gcc 7.

https://hg.mozilla.org/projects/nss/rev/0dca14409fef

Fixes:
http://autobuild.buildroot.net/results/b71/b71e4e003ec5753708a07cfd04e3025c93f80e67/
http://autobuild.buildroot.net/results/66d/66d31923824d34df3b20a363a1346df1c00ae222/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibnspr: bump to version 4.15
Baruch Siach [Thu, 15 Jun 2017 10:34:56 +0000 (13:34 +0300)]
libnspr: bump to version 4.15

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibwebsockets: bump to version 2.2.1
Adam Duskett [Thu, 15 Jun 2017 12:16:54 +0000 (08:16 -0400)]
libwebsockets: bump to version 2.2.1

Also remove patch, as it was committed upstream.

Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozynq_zc706: bump to U-Boot xilinx-v2017.1 (fix build)
Luca Ceresoli [Thu, 15 Jun 2017 16:18:17 +0000 (18:18 +0200)]
zynq_zc706: bump to U-Boot xilinx-v2017.1 (fix build)

The Zynq ZC706 defconfig does not build anymore since commit
6cda724efb20682bb98e6d738e5f7c909415ae07 ("package/gcc: switch to gcc
6.x as the default"). Fix by upgrading to the latest U-Boot version,
xilinx-v2017.1, based on mainline v2017.01.

Fixes:
  In file included from include/linux/compiler.h:54:0,
                   from include/linux/bitops.h:5,
                   from ./include/common.h:20:
  include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
   #include gcc_header(__GNUC__)
                                ^
  compilation terminated.

[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozynq_microzed: bump to U-Boot xilinx-v2017.1 (fix build)
Luca Ceresoli [Thu, 15 Jun 2017 16:18:16 +0000 (18:18 +0200)]
zynq_microzed: bump to U-Boot xilinx-v2017.1 (fix build)

The Zynq MicroZed defconfig does not build anymore since commit
6cda724efb20682bb98e6d738e5f7c909415ae07 ("package/gcc: switch to gcc
6.x as the default"). Fix by upgrading to the latest U-Boot version,
xilinx-v2017.1, based on mainline v2017.01.

Fixes:
  In file included from include/linux/compiler.h:54:0,
                   from include/linux/bitops.h:5,
                   from ./include/common.h:20:
  include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
   #include gcc_header(__GNUC__)
                                ^
  compilation terminated.

[Build-tested only]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozynq_zed: bump to U-Boot xilinx-v2017.1 (fix build)
Luca Ceresoli [Thu, 15 Jun 2017 16:18:15 +0000 (18:18 +0200)]
zynq_zed: bump to U-Boot xilinx-v2017.1 (fix build)

The Zynq ZedBoard defconfig does not build anymore since commit
6cda724efb20682bb98e6d738e5f7c909415ae07 ("package/gcc: switch to gcc
6.x as the default"). Fix by upgrading to the latest U-Boot version,
xilinx-v2017.1, based on mainline v2017.01.

Fixes:
  In file included from include/linux/compiler.h:54:0,
                   from include/linux/bitops.h:5,
                   from ./include/common.h:20:
  include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
   #include gcc_header(__GNUC__)
                                ^
  compilation terminated.

[Build- and run-tested]
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agozynq_zc706: remove duplicated line in defconfig
Luca Ceresoli [Thu, 15 Jun 2017 16:18:14 +0000 (18:18 +0200)]
zynq_zc706: remove duplicated line in defconfig

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoprintvars: remove "Nothing to be done for 'printvars'."
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:34 +0000 (00:11 +0200)]
printvars: remove "Nothing to be done for 'printvars'."

When calling 'make printvars' without -s, it ends with
"Nothing to be done for 'printvars'." That's because the rule only
contains $(info ...) calls and no actual shell commands to execute.

To avoid this, make sure there is a shell command by adding :.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agodoc-asciidoc: add missing .PHONY declarations
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:33 +0000 (00:11 +0200)]
doc-asciidoc: add missing .PHONY declarations

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: add missing PHONY targets
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:32 +0000 (00:11 +0200)]
Makefile: add missing PHONY targets

Quite a few targets in the top-level Makefile were missing the .PHONY
marking. Now that the .PHONY declarations are next to the definition
of the targets, they are much easier to find.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: declare targets PHONY where they are defined
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:31 +0000 (00:11 +0200)]
Makefile: declare targets PHONY where they are defined

Currently, a lot of targets are declared PHONY together in the middle
of the Makefile. This has two important shortcomings:

- it is more difficult to see if a target is missing from PHONY;

- it is currently inside the ifeq ($(BR2_HAVE_DOT_CONFIG),y) condition,
  but some of these targets are also defined when there is no .config;
  in that case, these targets are not declared as PHONY.

Both issues can easily be solved by putting the PHONY declaration next
to the definition of the target.

The noconfig_targets are also all declared PHONY together; however,
for these we anyway have to keep the noconfig_targets variable
up-to-date, and that PHONY declaration is outside all conditions, so
there is no benefit of splitting them.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: use pattern for manual-% in noconfig_targets
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:30 +0000 (00:11 +0200)]
Makefile: use pattern for manual-% in noconfig_targets

This simplifies the variable a little

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: document noconfig_targets variable
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:29 +0000 (00:11 +0200)]
Makefile: document noconfig_targets variable

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoMakefile: remove 'toolchain' from .PHONY
Arnout Vandecappelle [Wed, 14 Jun 2017 22:11:28 +0000 (00:11 +0200)]
Makefile: remove 'toolchain' from .PHONY

toolchain is a package, so it is already defined as .PHONY in the
inner-generic-package macro.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/pc_x86_64_{bios,efi}_defconfig: use custom linux config
Peter Korsgaard [Thu, 15 Jun 2017 09:25:26 +0000 (11:25 +0200)]
configs/pc_x86_64_{bios,efi}_defconfig: use custom linux config

Reusing the qemu x86-64 linux config isn't very obvious, so these defconfigs
aren't taken into consideration when the qemu defconfigs are updated,
breaking the build.

Instead use a custom linux config for the pc defconfigs.  With this, we also
can get rid of the fragment file containing the delta fra the qemu config.

Created by linux-update-defconfig (after turning of the fragment file).
Also drop the linux kernel version number from the file name as it just
causes extra noise whenever the kernel is bumped.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agoconfigs/pc_x86_64_{bios, efi}_defconfig: unbreak after qemu bump to linux-4.11
Peter Korsgaard [Wed, 14 Jun 2017 21:36:04 +0000 (23:36 +0200)]
configs/pc_x86_64_{bios, efi}_defconfig: unbreak after qemu bump to linux-4.11

The pc_x86_64 defconfigs reuse the linux configuration from qemu_x86_64, but
they weren't adjusted when this was updated to use linux-4.11 in 28d97609b25
(configs/qemu: bump to the latest kernel version), breaking the build.

Fix it by also moving them to linux-4.11.x.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibpth: fix license info
Baruch Siach [Thu, 15 Jun 2017 05:35:55 +0000 (08:35 +0300)]
libpth: fix license info

NEWS states:
* Change license from LGPLv3+/GPLv2+ to LGPLv2+.

Fixes:
http://autobuild.buildroot.net/results/bef/bef969ede5fc792b0a03f5669071600a0f746a7a/
http://autobuild.buildroot.net/results/2d5/2d59b8e6d69b70c621ff2031a9c4fd9e67ef13cf/
http://autobuild.buildroot.net/results/631/6318505c8e293e6c00b20eec39d851d0d15f6fec/

[Peter: also adjust _LICENSE, extend commit message]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolibnpth: bump to version 1.5
Baruch Siach [Wed, 14 Jun 2017 18:35:40 +0000 (21:35 +0300)]
libnpth: bump to version 1.5

Switch to HTTPS for better corporate firewall compliance.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agognutls: switch to https download location
Baruch Siach [Wed, 14 Jun 2017 18:18:35 +0000 (21:18 +0300)]
gnutls: switch to https download location

HTTPS works better behind certain corporate firewalls.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agognutls: security bump to version 3.5.13
Baruch Siach [Wed, 14 Jun 2017 18:18:34 +0000 (21:18 +0300)]
gnutls: security bump to version 3.5.13

Fixes CVE-2017-7507: decoding a status request TLS extension that has a
non-empty responder IDs list could lead to a crash due to a null pointer
dereference.

https://lists.gnupg.org/pipermail/gnutls-devel/2017-June/008446.html

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux-headers: bump 4.{4, 9, 11}.x series
Fabio Estevam [Wed, 14 Jun 2017 17:34:57 +0000 (14:34 -0300)]
linux-headers: bump 4.{4, 9, 11}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agolinux: bump default version to 4.11.5
Fabio Estevam [Wed, 14 Jun 2017 17:34:56 +0000 (14:34 -0300)]
linux: bump default version to 4.11.5

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agosupport/misc/target-dir-warning.txt: fix typo
Rahul Bedarkar [Wed, 14 Jun 2017 16:56:01 +0000 (22:26 +0530)]
support/misc/target-dir-warning.txt: fix typo

s/owernship/ownership/

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
7 years agopython-paramiko: bump to version 2.2.0
Yegor Yefremov [Tue, 13 Jun 2017 07:13:17 +0000 (09:13 +0200)]
python-paramiko: bump to version 2.2.0

Add new runtime dependencies bcrypt and pynacl.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agosyslinux: Add patch to build efi/wrapper with the host toolchain
Benoît Allard [Mon, 12 Jun 2017 13:16:41 +0000 (15:16 +0200)]
syslinux: Add patch to build efi/wrapper with the host toolchain

The 'wrapper' tool built by syslinux is executed on the build machine,
so it should be built with CC_FOR_BUILD.

Signed-off-by: Benoît Allard <benoit.allard@greenbone.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopython-bcrypt: new package
Yegor Yefremov [Mon, 12 Jun 2017 14:30:02 +0000 (16:30 +0200)]
python-bcrypt: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/libspatialindex: new package
Romain Naour [Mon, 12 Jun 2017 20:53:59 +0000 (22:53 +0200)]
package/libspatialindex: new package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/erlang-p1-xmpp: add missing dependency on C++ from erlang-p1-stringprep
Johan Oudinet [Mon, 12 Jun 2017 14:41:53 +0000 (16:41 +0200)]
package/erlang-p1-xmpp: add missing dependency on C++ from erlang-p1-stringprep

This package selects erlang-p1-stringprep, which depends on
BR2_INSTALL_LIBSTDCPP. Thus, it should also depend on this item.

Fixes:

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

Signed-off-by: Johan Oudinet <johan.oudinet@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years ago.gitlab-cy.yml: refresh
Thomas Petazzoni [Mon, 12 Jun 2017 21:17:11 +0000 (23:17 +0200)]
.gitlab-cy.yml: refresh

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agoboard: Add support for Engicam i.CoreM6 Quad/Dual boards
Jagan Teki [Mon, 12 Jun 2017 18:21:41 +0000 (23:51 +0530)]
board: Add support for Engicam i.CoreM6 Quad/Dual boards

Add initial support for Engicam i.CoreM6 Quad/Dual board
with below features:
- U-Boot 2017.05
- Linux 4.11
- Default packages from buildroot

Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-engine: bump to version 17.05.0-ce
Christian Stewart [Wed, 10 May 2017 04:00:50 +0000 (00:00 -0400)]
docker-engine: bump to version 17.05.0-ce

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mesa3d: fix musl build error
Bernd Kuhls [Sun, 11 Jun 2017 19:06:37 +0000 (21:06 +0200)]
package/mesa3d: fix musl build error

To reproduce the build error use this defconfig:

BR2_x86_64=y
BR2_x86_atom=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-x86-64-musl-2017.02-744-g40962a0.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_5=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_10=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_MUSL=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_MESA3D=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_NOUVEAU=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_R600=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SVGA=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_GALLIUM_DRIVER_VIRGL=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I915=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_I965=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU=y
BR2_PACKAGE_MESA3D_DRI_DRIVER_RADEON=y
BR2_PACKAGE_MESA3D_OSMESA=y
BR2_PACKAGE_MESA3D_OPENGL_ES=y
BR2_PACKAGE_MESA3D_OPENGL_TEXTURE_FLOAT=y
BR2_PACKAGE_XORG7=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agouclibc: update to 1.0.25
Waldemar Brodkorb [Sun, 11 Jun 2017 23:08:39 +0000 (01:08 +0200)]
uclibc: update to 1.0.25

Mostly bugfixing and cleanups. Both patches integrated.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/mcelog: fix legal-info
Bernd Kuhls [Mon, 12 Jun 2017 04:15:12 +0000 (06:15 +0200)]
package/mcelog: fix legal-info

README was renamed to README.md
https://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git/commit/README.md?id=2fda0091a0628480a08cbf6ebe309fcb83aeae34

Fixes
http://autobuild.buildroot.net/results/02b/02b897a843b995bf5bf3f993f48689870a551dd5/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agodocker-containerd: bump to version 9048e5e50717ea4497b757314bad98ea3763c145
Christian Stewart [Wed, 10 May 2017 04:00:49 +0000 (00:00 -0400)]
docker-containerd: bump to version 9048e5e50717ea4497b757314bad98ea3763c145

This is a runtime dependency of docker-engine in version 17.05.0-ce

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agolsscsi: add new package
Antony Pavlov [Fri, 12 May 2017 12:41:01 +0000 (15:41 +0300)]
lsscsi: add new package

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas:
 - add entry to DEVELOPERS file
 - use SPDX license code
 - license is GPL-2.0+, not GPL-2.0]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agopackage/gdb: add support for gdb 8.0
Romain Naour [Mon, 5 Jun 2017 20:46:48 +0000 (22:46 +0200)]
package/gdb: add support for gdb 8.0

Add a dependency on gcc >= 4.8 since gdb needs a C++11 compiler.

Remove included patch since 7.12.1:
0001-Remove-const-in-xtensa-linux-nat.c-fetch_gregs.patch
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=d274ecf4ddf76768af57e27f654b9ce6784b391c

Rebase remaining patches:
0002-ppc-ptrace-Define-pt_regs-uapi_pt_regs-on-GLIBC-syst.patch
0003-sh-ptrace-Define-pt_-dsp-regs-uapi_pt_-dsp-regs-on-G.patch

See https://sourceware.org/ml/gdb-announce/2017/msg00003.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 years agogdb: fix build of gdbserver on m68k/coldfire
Thomas Petazzoni [Fri, 9 Jun 2017 08:21:50 +0000 (10:21 +0200)]
gdb: fix build of gdbserver on m68k/coldfire

This commit adds a small patch to gdb that fixes the build of gdbserver
on m68k/coldfire:

../nat/linux-ptrace.c: In function 'linux_fork_to_function':
../nat/linux-ptrace.c:282:19: warning: implicit declaration of function 'clone' [-Wimplicit-function-declaration]
       child_pid = clone (function, child_stack + STACK_SIZE,
                   ^
../nat/linux-ptrace.c:283:5: error: 'CLONE_VM' undeclared (first use in this function)
     CLONE_VM | SIGCHLD, child_stack + STACK_SIZE * 2);
     ^
../nat/linux-ptrace.c:283:5: note: each undeclared identifier is reported only once for each function it appears in

Thanks to Waldemar for pointing out the patch fixing this issue.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - New patch in the series

7 years agouclibc: properly set UCLIBC_HAS_MMU option
Thomas Petazzoni [Fri, 9 Jun 2017 08:05:04 +0000 (10:05 +0200)]
uclibc: properly set UCLIBC_HAS_MMU option

gdbserver's code looks at both UCLIBC_USE_MMU *and* UCLIBC_HAS_MMU to
decide whether to enable the no-MMU code. So far, on noMMU platforms,
UCLIBC_HAS_MMU was still set to 'y'. This commit adjusts this, which is
a step forward in getting gdbserver to build on m68k/coldfire.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - New patch in the series

7 years agogcc: add patch to support musl on SuperH in gcc 5.x
Thomas Petazzoni [Fri, 9 Jun 2017 07:49:30 +0000 (09:49 +0200)]
gcc: add patch to support musl on SuperH in gcc 5.x

Building a toolchain for SuperH/musl works, but the toolchain generate
bogus binaries, because the path to the program interpreter is not
known (and therefore is /dev/null).

This commit backports a patch from gcc 6.x to make SuperH support with
musl work properly.

The patch is not needed in gcc >= 6.x because the musl support is
upstream. The patch is not needed for gcc 4.9 because we had a
different musl support patch that had support for all architectures in
one patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - New patch in the series

7 years agogdb: add patches to fix musl build on ppc(64)(le) and sh
Thomas Petazzoni [Sat, 3 Jun 2017 20:41:22 +0000 (22:41 +0200)]
gdb: add patches to fix musl build on ppc(64)(le) and sh

This commit small patches to gdb that fix redefined structures build
problems that occur when building on PowerPC, PowerPC64, PowerPC64le and
SuperH with the musl C library.

The PowerPC(64)(le) patch was taken from the Yocto Project, the SuperH
patch was inspired from the PowerPC patch. The issue has also been
reported upstream to the musl developers:

  http://www.openwall.com/lists/musl/2017/06/03/1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v2:
 - None
Changes since v1:
 - None