buildroot.git
6 years agopackage/rdesktop: Fix build with OpenSSL 1.1.x
Bernd Kuhls [Sat, 25 Aug 2018 09:17:02 +0000 (11:17 +0200)]
package/rdesktop: Fix build with OpenSSL 1.1.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibtorrent: use patch file names generated by git format-patch
Thomas Petazzoni [Sun, 9 Sep 2018 13:56:48 +0000 (15:56 +0200)]
libtorrent: use patch file names generated by git format-patch

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libtorrent: Fix build with OpenSSL 1.1.x
Bernd Kuhls [Sat, 25 Aug 2018 09:17:00 +0000 (11:17 +0200)]
package/libtorrent: Fix build with OpenSSL 1.1.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/liboauth: Fix build with OpenSSL 1.1.x
Bernd Kuhls [Sat, 25 Aug 2018 09:16:59 +0000 (11:16 +0200)]
package/liboauth: Fix build with OpenSSL 1.1.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ibrcommon: add openssl 1.1 compatibility
Bernd Kuhls [Sat, 25 Aug 2018 09:16:57 +0000 (11:16 +0200)]
package/ibrcommon: add openssl 1.1 compatibility

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/ecryptfs-utils: Fix build with OpenSSL 1.1.x
Bernd Kuhls [Sat, 25 Aug 2018 09:16:56 +0000 (11:16 +0200)]
package/ecryptfs-utils: Fix build with OpenSSL 1.1.x

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoe2fsprogs: simplify handling of ldconfig for target variant
Thomas Petazzoni [Fri, 31 Aug 2018 21:12:40 +0000 (23:12 +0200)]
e2fsprogs: simplify handling of ldconfig for target variant

e2fsprogs now has a proper autoconf check for ldconfig, so we can
simply pass the apropriate ac_cv_path_LDCONFIG variable at configure
time, and it gets used at build/install time without having to force
LDCONFIG=true at every step.

Since the E2FSPROGS_INSTALL_TARGET_OPTS become the default, we can get
rid of them entirely.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoe2fsprogs: do not use ldconfig when building the host variant
Thomas Petazzoni [Fri, 31 Aug 2018 21:12:39 +0000 (23:12 +0200)]
e2fsprogs: do not use ldconfig when building the host variant

Since commit 93acaa5a573865afc7a8c0912a7037965eb845a6 ("e2fsprogs:
build shared library for the host"), we are building shared libraries
in host-e2fsprogs instead of static libraries. A consequence of this
is that the e2fsprogs build system tries to run ldconfig on the host,
which fails when running as non-root:

/usr/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
make[3]: [Makefile:441: install-shlibs] Error 1 (ignored)

Tell the configure script to use "true" as ldconfig in order to avoid
this problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocircus: fix build with Python 3.7.0
Thomas Petazzoni [Sat, 8 Sep 2018 20:34:31 +0000 (22:34 +0200)]
circus: fix build with Python 3.7.0

Python 3.7.0 makes 'async' a reserved keyword, but circus uses it as a
method argument. This commit adds a patch to the circus package, which
has been submitted upstream, to resolve this issue.

Fixes:

  http://autobuild.buildroot.net/results/8122a00644810722b827cd5e0b90181996dc5657/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoe2fsprogs: bump to version 1.44.4
Fabrice Fontaine [Sun, 9 Sep 2018 12:44:18 +0000 (14:44 +0200)]
e2fsprogs: bump to version 1.44.4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolsscsi: bump to version 0.30
Fabrice Fontaine [Sun, 9 Sep 2018 11:58:48 +0000 (13:58 +0200)]
lsscsi: bump to version 0.30

- Add hash for license file
- Fix build with glibc 2.28: <sys/sysmacros.h> is no longer included
  from <sys/types.h>, and therefore <sys/sysmacros.h> must be included
  explicitly when major()/minor() are used

Fixes:
 - http://autobuild.buildroot.org/results/60ec736ec524dcffedcef8f92d98aa29fb8987aa

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoacpid: depends on BR2_USE_MMU
Fabrice Fontaine [Sun, 9 Sep 2018 10:42:51 +0000 (12:42 +0200)]
acpid: depends on BR2_USE_MMU

acpid needs fork

Fixes:
 - http://autobuild.buildroot.org/results/2cb0435d36a2aa2d75b6c1dfecc93bb49b0f6266

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibatomic_ops: bump to version 7.6.6
Fabrice Fontaine [Sun, 9 Sep 2018 10:06:30 +0000 (12:06 +0200)]
libatomic_ops: bump to version 7.6.6

Update COPYING hash: sync with FSF's gpl-2.0.txt (see
https://github.com/ivmai/libatomic_ops/commit/aed079e7ce21a033dd7ccb8fa5808d76e4ecb8d5)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoandroid-tools: fix minor()/major() build failure due to glibc 2.28
Giulio Benetti [Sun, 9 Sep 2018 09:59:39 +0000 (11:59 +0200)]
android-tools: fix minor()/major() build failure due to glibc 2.28

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used.

This commit adds a patch to directly include <sys/sysmacros.h> into
all usb_linux.c files where minor() and major() macros are used.

Fixes:
http://autobuild.buildroot.net/results/901/9011c6af71fb81988c2a05f2acee913a2bae2eff//
http://autobuild.buildroot.net/results/142/142c5672fdc44f2d68f18df3509e5051b3295df5//
http://autobuild.buildroot.net/results/b55/b55aa69654e758af5232ae69618ba1ea5c245074//

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: fix hash for LICENSES
Fabrice Fontaine [Sun, 9 Sep 2018 09:53:02 +0000 (11:53 +0200)]
glibc: fix hash for LICENSES

When bumping to 2.28, LICENSES file changed to remove the
stdio-common/tst-printf.c part:
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=5a357506659f9a00fcf5bc9c5d8fc676175c89a7

Fixes:
 - http://autobuild.buildroot.org/results/72824137037f675e4efe3284089451803f944abf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopkg-perl: move PERL_INC in configure step
Francois Perrad [Sun, 9 Sep 2018 09:27:17 +0000 (11:27 +0200)]
pkg-perl: move PERL_INC in configure step

this workaround for old ExtUtils-MakeMaker is now useless

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agompd: bump to version 0.20.21
Jörg Krause [Sun, 9 Sep 2018 09:17:50 +0000 (11:17 +0200)]
mpd: bump to version 0.20.21

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyroute2: bump to version 0.5.2
Asaf Kahlon [Sun, 9 Sep 2018 05:56:39 +0000 (08:56 +0300)]
python-pyroute2: bump to version 0.5.2

Also added license hashes.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pexpect: bump to version 4.6.0
Asaf Kahlon [Sun, 9 Sep 2018 05:17:48 +0000 (08:17 +0300)]
python-pexpect: bump to version 4.6.0

Add hash for license.
Adjust post-patch for 4.6.0 (async.py was renamed to _async.py).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoConfig.in.legacy: fix typo in config option
David Lechner [Sun, 9 Sep 2018 01:39:50 +0000 (20:39 -0500)]
Config.in.legacy: fix typo in config option

The commit message of a2d44ec6bf12 ("linux-headers: drop old unsupported
4.{10,11,12,13,15} versions") says, "select an older kernel headers
(4.9)". However a couple lines are selecting 4.19.

Change BR2_KERNEL_HEADERS_4_19 to BR2_KERNEL_HEADERS_4_9 as intended.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add Juno ARM maintainer
Gustavo Pimentel [Wed, 22 Aug 2018 13:35:00 +0000 (15:35 +0200)]
DEVELOPERS: add Juno ARM maintainer

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/botan: needs boost libraries filesystem and system
Bernd Kuhls [Sat, 25 Aug 2018 06:37:02 +0000 (08:37 +0200)]
package/botan: needs boost libraries filesystem and system

Without them the build fails:

/home/naourr/work/instance-0/output/host/lib/gcc/arm-buildroot-linux-mu
 sleabihf/7.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld:
  cannot find -lboost_filesystem
/home/naourr/work/instance-0/output/host/lib/gcc/arm-buildroot-linux-mu
 sleabihf/7.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld:
  cannot find -lboost_system

Bug was introduced in next branch by commit
https://git.buildroot.net/buildroot/commit/?h=next&id=031f5c04d9de5a21d3bc49f3849af3e6593fa1a8

Fixes
http://autobuild.buildroot.net/results/cb9/cb90f4ed4d130a2ab6f6d085708a482a51d7dc91/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.1.7
Bernd Kuhls [Sat, 25 Aug 2018 04:58:22 +0000 (06:58 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 18.1.7

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/squid: depends on current_exception
Bernd Kuhls [Fri, 24 Aug 2018 20:01:07 +0000 (22:01 +0200)]
package/squid: depends on current_exception

Fixes build error

TextException.cc: In function 'std::ostream& CurrentException(std::ostream&)':
TextException.cc:64:9: error: 'current_exception' is not a member of 'std'
     if (std::current_exception()) {

using this defconfig

BR2_arm=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/armv5-ctng-linux-gnueabi.tar.xz"
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX="armv5-ctng-linux-gnueabi"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_8=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_12=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_GNUTLS=y
BR2_PACKAGE_OPENSSL=y
BR2_PACKAGE_LIBKRB5=y

According to http://www.squid-cache.org/Versions/v4/RELEASENOTES.html#ss1.1
squid-4.2 depends on C++11, but adding -std=c++11 did not fix the build
error.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/glibc: allow to specify host-make
Romain Naour [Mon, 3 Sep 2018 19:19:33 +0000 (21:19 +0200)]
package/glibc: allow to specify host-make

Use host-make package if GNU make from the host machine is too old.

Use the newly introduced BR2_MAKE_HOST_DEPENDENCY and BR2_MAKE to
provide respectively, host-make dependency and the path to the GNU
make binary to use for building glibc.

Fixes:
http://autobuild.buildroot.net/results/576/5760ea2635d9aecc9c789494a8b2cc73a1af1ceb
http://autobuild.buildroot.net/results/583/58347b94884eee2db28740486eda280e8c08e22f
http://autobuild.buildroot.net/results/dc7/dc7c8cd548409864ab0055e196c0280457a5fb5f

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodependencies: host-make version check
Romain Naour [Mon, 3 Sep 2018 19:19:32 +0000 (21:19 +0200)]
dependencies: host-make version check

The host make program is already checked by dependencies.sh but we
want to check the version number even if Buildroot is able to use
GNU make >= 3.81 but some packages may require a more recent version.

For example, since version 2.28 [1], glibc requires GNU Make >= 4.0.

For packages requiring make >= 4.0, the package makefile must use:
<PKG>_DEPENDENCIES = $(BR2_MAKE_HOST_DEPENDENCY) ...
<PKG>_MAKE = $(BR2_MAKE)

BR2_MAKE1 is also available if needed.

[1] https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Thomas: remove extraction of "bugfix" part of the version, since it's
not used anywhere.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/make: add host variant
Romain Naour [Mon, 3 Sep 2018 19:19:31 +0000 (21:19 +0200)]
package/make: add host variant

Add host variant for make package since glibc 2.28 now require
GNU Make >= 4.0 [1].

We have to ceate gnumake and gmake symlinks to GNU make generated by
Buildroot for the host. Otherwise the one provided by the host system
can be used instead.

For example, the glibc build system is looking for gnumake and gmake
before make. See [2].

[1] https://www.sourceware.org/ml/libc-alpha/2018-08/msg00003.html
[2] http://lists.busybox.net/pipermail/buildroot/2018-September/229654.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Tested-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-zeroconf: new package
Yegor Yefremov [Fri, 31 Aug 2018 09:27:55 +0000 (11:27 +0200)]
python-zeroconf: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Thomas: fix license, it's LGPL-2.1+, not LGPL-2.1]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/squeezelite: fix build with FFmpeg 4.0
Bernd Kuhls [Sat, 25 Aug 2018 07:31:17 +0000 (09:31 +0200)]
package/squeezelite: fix build with FFmpeg 4.0

Git-formatted patch 0003.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/motion: fix build with FFmpeg 4.0
Bernd Kuhls [Sat, 25 Aug 2018 07:31:16 +0000 (09:31 +0200)]
package/motion: fix build with FFmpeg 4.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mediastreamer: fix build with FFmpeg 4.0
Bernd Kuhls [Sat, 25 Aug 2018 07:31:15 +0000 (09:31 +0200)]
package/mediastreamer: fix build with FFmpeg 4.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/aubio: fix build with FFmpeg 4.0
Bernd Kuhls [Sat, 25 Aug 2018 07:31:12 +0000 (09:31 +0200)]
package/aubio: fix build with FFmpeg 4.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosynergy: change upstream location to fix download
Thomas Petazzoni [Sat, 8 Sep 2018 20:38:41 +0000 (22:38 +0200)]
synergy: change upstream location to fix download

The Github repository at https://github.com/symless/synergy no longer
exists, it has apparently been moved to
https://github.com/symless/synergy-core.

Fixes:

  http://autobuild.buildroot.net/results/77f43b5937f102822a5b4644551222fda62fa129/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add myself for python-engineio
Asaf Kahlon [Sat, 8 Sep 2018 17:54:48 +0000 (20:54 +0300)]
DEVELOPERS: add myself for python-engineio

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibminiupnpc: fix hash for license
Asaf Kahlon [Sat, 8 Sep 2018 19:57:39 +0000 (22:57 +0300)]
libminiupnpc: fix hash for license

The LICENSE file change: replace '2015' with '2016' (commit
cc9639d597f89c9f2478d36871f7741dd91e724a)

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoflatcc: conditionally require c++ in cmake
Joel Carlson [Thu, 6 Sep 2018 21:11:29 +0000 (15:11 -0600)]
flatcc: conditionally require c++ in cmake

Patches CMake files in flatcc to conditionally set c++ as a required
language depending on if FLATCC_TEST option is set, as only the tests
include a c++ file.

Fixes
http://autobuild.buildroot.net/results/8fb0447eed1d55b7687f657530e31695cf77ce5c/

Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vlc: bump version to 3.0.4
Bernd Kuhls [Thu, 6 Sep 2018 20:18:41 +0000 (22:18 +0200)]
package/vlc: bump version to 3.0.4

Removed patch 0004, applied upstream.
Renumbered remaining patches.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodvdrw-tools: fix minor()/major() build failure due to glibc 2.28
Giulio Benetti [Sat, 8 Sep 2018 11:25:06 +0000 (13:25 +0200)]
dvdrw-tools: fix minor()/major() build failure due to glibc 2.28

glibc 2.28 no longer includes <sys/sysmacros.h> from <sys/types.h>,
and therefore <sys/sysmacros.h> must be included explicitly when
major()/minor() are used.

This commit adds a patch to directly include <sys/sysmacros.h> into
growisofs.c where minor() and major() macros are used.

Fixes:
http://autobuild.buildroot.net/results/763/763879f845ffd43343a7b4d548b1eba991d572bd//

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-autobahn: bump to version 18.9.1
Asaf Kahlon [Sat, 8 Sep 2018 05:24:07 +0000 (08:24 +0300)]
python-autobahn: bump to version 18.9.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolftp: bump to version 4.8.4
Fabrice Fontaine [Fri, 7 Sep 2018 20:52:13 +0000 (22:52 +0200)]
lftp: bump to version 4.8.4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibminiupnpc: bump to version 2.1
Fabrice Fontaine [Fri, 7 Sep 2018 20:40:22 +0000 (22:40 +0200)]
libminiupnpc: bump to version 2.1

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogupnp: bump to version 1.0.3
Fabrice Fontaine [Fri, 7 Sep 2018 20:22:38 +0000 (22:22 +0200)]
gupnp: bump to version 1.0.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorygel: bump to version 0.36.2
Fabrice Fontaine [Fri, 7 Sep 2018 20:21:07 +0000 (22:21 +0200)]
rygel: bump to version 0.36.2

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-numpy: bump to version 1.15.1
Joseph Kogut [Thu, 6 Sep 2018 22:37:44 +0000 (15:37 -0700)]
python-numpy: bump to version 1.15.1

Fixes the build with Python 3.7.0, and therefore fixes:

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

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibidn: bump to version 1.35
Fabrice Fontaine [Fri, 7 Sep 2018 19:36:10 +0000 (21:36 +0200)]
libidn: bump to version 1.35

Remove sha1 (no announcement made on
http://lists.nongnu.org/archive/html/help-libidn/)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibmpdclient: bump to version 2.15
Fabrice Fontaine [Fri, 7 Sep 2018 19:31:55 +0000 (21:31 +0200)]
libmpdclient: bump to version 2.15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofreeswitch: bump version to 1.8.1
Peter Seiderer [Fri, 7 Sep 2018 18:55:37 +0000 (20:55 +0200)]
freeswitch: bump version to 1.8.1

Enables openssl-1.1.x compatible compile.

- add tiff dependency (bundled tiff source is gone)
- rebase (and git format) 0001-libvpx-cross.patch patch
- update libs/srtp/LICENSE file hash (updated copyright year)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Bernd:
- bumped to 1.8.1
- rebased patch 0001 to the tarball release
- added hashes for libvpx & libyuv license files]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-engineio: bump to version 2.2.0
Asaf Kahlon [Fri, 7 Sep 2018 18:36:47 +0000 (21:36 +0300)]
python-engineio: bump to version 2.2.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoluarocks: add hash for license file
Thomas Petazzoni [Sat, 8 Sep 2018 13:07:45 +0000 (15:07 +0200)]
luarocks: add hash for license file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoluarocks: bump to version 3.0.2
Francois Perrad [Fri, 7 Sep 2018 13:15:56 +0000 (15:15 +0200)]
luarocks: bump to version 3.0.2

(remove 2 unused variables)

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoduktape: fix hash for license
Asaf Kahlon [Fri, 7 Sep 2018 06:11:19 +0000 (09:11 +0300)]
duktape: fix hash for license

Fixes:
http://autobuild.buildroot.net/results/4645456f715eccfce940a54e41a34a299adc152f
http://autobuild.buildroot.net/results/4ee6de3351c140bde4588252cebbf7cf9237e710

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/rtorrent: bump version to 0.9.7
Bernd Kuhls [Tue, 21 Aug 2018 21:39:49 +0000 (23:39 +0200)]
package/rtorrent: bump version to 0.9.7

Added license hash, rebased patch 0001.

Fixes
http://autobuild.buildroot.net/results/9c6/9c64888e96d59cb536dc7ccaa52f731118e69ce1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobotan: needs std::future
Fabrice Fontaine [Fri, 7 Sep 2018 18:43:50 +0000 (20:43 +0200)]
botan: needs std::future

Fixes:
 - http://autobuild.buildroot.org/results/d63f70340d1297ad96c20144e658f0e4587a90ca

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobotan: fix build on arm without neon
Fabrice Fontaine [Fri, 7 Sep 2018 19:17:36 +0000 (21:17 +0200)]
botan: fix build on arm without neon

configure.py only supports --disable-neon

Fixes:
 - http://autobuild.buildroot.org/results/26eec7e20795068613616a7312681853232ec764

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMerge branch 'next'
Peter Korsgaard [Fri, 7 Sep 2018 11:08:31 +0000 (13:08 +0200)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline-driver: add hash file for git tarball
Giulio Benetti [Mon, 27 Aug 2018 08:49:03 +0000 (10:49 +0200)]
sunxi-mali-mainline-driver: add hash file for git tarball

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline-driver: add support for building on arm64
Giulio Benetti [Mon, 27 Aug 2018 08:49:02 +0000 (10:49 +0200)]
sunxi-mali-mainline-driver: add support for building on arm64

Blobs for ARM64 are now available at Bootlin Github and
sunxi-mali-mainline package has been updated to support them.

This commit updates the <pkg>_MAKE_OPTS variable by substituting
CROSS_COMPILE and INSTALL_MOD_PATH with
LINUX_MAKE_FLAGS. LINUX_MAKE_FLAGS already includes CROSS_COMPILE and
INSTALL_MOD_PAT, but also includes the ARCH variable, which is needed
to select the appropriate architecture when building the Mali driver.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline-driver: bump version
Giulio Benetti [Mon, 27 Aug 2018 08:49:01 +0000 (10:49 +0200)]
sunxi-mali-mainline-driver: bump version

For support H3 and H5 SoCs and r8p1 driver version.

git shortlog --invert-grep --grep travis --no-merges 52ef1c5e133cc5fd791ca636239dc5e7b19c26d5..
Maxime Ripard (6):
      Add r8p1 release
      sunxi: Move the reset test to a function
      sunxi: Add H3 support
      sunxi: Add H5 support
      sunxi: Remove generic compatible
      sunxi: Set clock rate in the driver

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoKickoff 2018.11 cycle
Peter Korsgaard [Thu, 6 Sep 2018 20:52:43 +0000 (22:52 +0200)]
Kickoff 2018.11 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebsite/news.html: add 2018.08 announcement link
Peter Korsgaard [Thu, 6 Sep 2018 20:51:35 +0000 (22:51 +0200)]
website/news.html: add 2018.08 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.08
Peter Korsgaard [Thu, 6 Sep 2018 20:05:26 +0000 (22:05 +0200)]
Update for 2018.08

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocutelyst: fix kconfig syntax
Peter Korsgaard [Thu, 6 Sep 2018 20:03:33 +0000 (22:03 +0200)]
cutelyst: fix kconfig syntax

Commit cb3c56e35 (cutelyst: Add dependency on Kernel headers >= 3.3) used
invalid kconfig syntax, breaking menuconfig:

make menuconfig
package/cutelyst/Config.in:19: syntax error
package/cutelyst/Config.in:18: invalid option
Makefile:900: recipe for target 'menuconfig' failed

Fix it by using 'depends ON' instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt5location: fix build failure due to missing qt5base gui dependency
Giulio Benetti [Wed, 5 Sep 2018 09:03:07 +0000 (11:03 +0200)]
qt5location: fix build failure due to missing qt5base gui dependency

qt5location fails to build due to missing Qt5 Gui module.
In configure.json features.opengl is referred, but it is available only
if qt5base gui submodule is built.

Add BR2_PACKAGE_QT5BASE_GUI to qt5location Config.in to assure gui
submodule is built before qt5location.

Fixes:
http://autobuild.buildroot.org/results/1e1/1e12a819750c677c9ef204a324c8bf06212e5135/
http://autobuild.buildroot.org/results/223/223ec6565beba1ca73d4ff488296feec53656b40/
http://autobuild.buildroot.org/results/84f/84fe1c84e3537167ee3791e83c9fe2cc2805ccb5/
http://autobuild.buildroot.org/results/9c9/9c96d2106222e623a379f9995bd059725eb27769/
http://autobuild.buildroot.org/results/fa0/fa01513d28d896ca8819966c5b1ed5c35283e92f/
http://autobuild.buildroot.org/results/5d7/5d7333470c31b83c697218382dc77f74af86c666/
http://autobuild.buildroot.org/results/db7/db7b4c61bb41d32e0f7960c194588cd1559ff3f7/
http://autobuild.buildroot.org/results/2b7/2b71f186b8d67c4805393c9c016d641893d46220/
http://autobuild.buildroot.org/results/1e1/1e12a819750c677c9ef204a324c8bf06212e5135/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline: add EULA license file
Giulio Benetti [Sat, 25 Aug 2018 13:52:11 +0000 (15:52 +0200)]
sunxi-mali-mainline: add EULA license file

sunxi-mali-mainline package has not license file at the moment.

License file is a pdf EULA, but its name contains whitespaces. This
gives problems when passing filename to SUNXI_MALI_MAINLINE_LICENSE_FILES
since it expects a list of files.
Other attempts with \ or \\ to keep spaces were tried with no luck.
Add a define to POST_PATCH_HOOKS to change pdf filename from
'EULA for Mali 400MP _AW.pdf' to 'EULA_for_Mali_400MP_AW.pdf'.
Add EULA file to hash.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosunxi-mali-mainline: add hash file for tarball
Giulio Benetti [Sat, 25 Aug 2018 13:52:10 +0000 (15:52 +0200)]
sunxi-mali-mainline: add hash file for tarball

sunxi-mali-mainline package has not hash file.

Add hash file with sha256sum for tarball resulting from git download.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/vlc: also use AC_PATH_PROG to check for wayland-scanner
Bernd Kuhls [Sun, 26 Aug 2018 11:04:52 +0000 (13:04 +0200)]
package/vlc: also use AC_PATH_PROG to check for wayland-scanner

Fixes
http://autobuild.buildroot.net/results/a6b/a6b5e5677efc2b46af85837637f2832eefdfed1d/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/zynq_microzed: uboot: bump to xilinx-v2018.2 (fixes build)
Luca Ceresoli [Tue, 28 Aug 2018 08:00:59 +0000 (10:00 +0200)]
configs/zynq_microzed: uboot: bump to xilinx-v2018.2 (fixes build)

Bump to the most recent Xilinx release.

Fixes:
  .../output/host/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  .../output/host/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  .../output/host/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
...and many, many other similar errors.

[Build-tested only]
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/zynq_zc706: uboot: bump to xilinx-v2018.2 (fixes build)
Luca Ceresoli [Tue, 28 Aug 2018 08:00:58 +0000 (10:00 +0200)]
configs/zynq_zc706: uboot: bump to xilinx-v2018.2 (fixes build)

Bump to the most recent Xilinx release.

Fixes:
  .../output/host/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  .../output/host/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  .../output/host/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
...and many, many other similar errors.

[Build-tested only]
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)
Luca Ceresoli [Tue, 28 Aug 2018 08:00:57 +0000 (10:00 +0200)]
configs/zynq_zed: uboot: bump to xilinx-v2018.2 (fixes build)

Bump to the most recent Xilinx release.

Fixes:
  .../output/host/include/libfdt_env.h:71:30: error: conflicting types for ‘fdt64_t’
  .../output/host/include/libfdt_env.h:91:24: error: expected ‘)’ before ‘x’
  .../output/host/include/libfdt.h:150:21: error: redefinition of ‘fdt_offset_ptr_w’
...and many, many other similar errors.

[Run-time tested]
Tested-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5location: fix build failure due to GCC < 5.x bug in implicit casts
Giulio Benetti [Wed, 5 Sep 2018 14:19:46 +0000 (16:19 +0200)]
qt5location: fix build failure due to GCC < 5.x bug in implicit casts

GCC < 5.x has some bug in implicit casts, this leads to build failure.
In particular QPointer<QGeoMap> in m_map QDeclarativeGeoMap class, when
passed to connect(m_map, ...) should directly cast to m_map.data().

Add reworked patch referred on QTBUG-69512:
https://bugreports.qt.io/browse/QTBUG-69512

Fixes:
http://autobuild.buildroot.org/results/dc5/dc5c354f3aae54b77dad74ad44aca6d12425a457/
http://autobuild.buildroot.org/results/3ab/3ab6f79a36543fa677555bc9ec3500baa46ab0f8/
http://autobuild.buildroot.org/results/8b5/8b5531e44c4f4258c950902b2cd92d1ac8a8491e/
http://autobuild.buildroot.org/results/089/089d03ab14a7c70e465cce891506a082049f2998/
http://autobuild.buildroot.org/results/da8/da87ca470b22d599bb25998af8f25136921f35a7/
http://autobuild.buildroot.org/results/5fe/5fe91fd762c5d4eda01378947b13f7ffc084a8be/
http://autobuild.buildroot.org/results/a84/a84182145122935c8f10105818dbf0e3aa23fd11/
http://autobuild.buildroot.org/results/5b9/5b9106351a04646f42697215ed497e09c62c12fa/
http://autobuild.buildroot.org/results/397/397acc3f5d4998a8d632749ef7d21533c35d501a/
http://autobuild.buildroot.org/results/b18/b186ec0e297d6857a9e0a6a063e476b5049ccf93/
http://autobuild.buildroot.org/results/bf2/bf241beeb1ce10eec99d247cdd331870c08e0ac8/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: add 4.18.x choice for headers
Bernd Kuhls [Sun, 19 Aug 2018 19:35:54 +0000 (21:35 +0200)]
toolchain: add 4.18.x choice for headers

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 7f62d8122bc42b84608cad34fb005b4870c143d5)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocutelyst: Add dependency on Kernel headers >= 3.3
Daniel Nicoletti [Thu, 6 Sep 2018 16:51:32 +0000 (13:51 -0300)]
cutelyst: Add dependency on Kernel headers >= 3.3

Cutelyst-WSGI module uses SO_REUSEPORT

Fixes:

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

Signed-off-by: Daniel Nicoletti <dantti12@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt5virtualkeyboard: fix target install issue with Qt 5.6
Gaël PORTAY [Thu, 6 Sep 2018 12:42:29 +0000 (08:42 -0400)]
qt5virtualkeyboard: fix target install issue with Qt 5.6

qt5virtualkeyboard 2.0 (shipped with Qt 5.6) installs the QML plugin
under the directory Enterprise while the later versions install it
without that directory.

Differentiate installation to target of the QML plugin according to
the Qt major version in use.

Also, make sure the /usr/qml/QtQuick directory exists before the copy.

Fixes:

>>> qt5virtualkeyboard 2.0 Installing to target
mkdir -p /home/gportay/src/buildroot/output/target/usr/lib/qt/plugins/platforminputcontexts
cp -dpfr /home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/qt/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so /home/gportay/src/buildroot/output/target/usr/lib/qt/plugins/platforminputcontexts
cp -dpfr /home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/qml/QtQuick/VirtualKeyboard /home/gportay/src/buildroot/output/target/usr/qml/QtQuick
cp: cannot stat '/home/gportay/src/buildroot/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/qml/QtQuick/VirtualKeyboard': No such file or directory
package/pkg-generic.mk:310: recipe for target '/home/gportay/src/buildroot/output/build/qt5virtualkeyboard-2.0/.stamp_target_installed' failed
make: *** [/home/gportay/src/buildroot/output/build/qt5virtualkeyboard-2.0/.stamp_target_installed] Error 1

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14}.x series
Fabio Estevam [Thu, 6 Sep 2018 16:33:57 +0000 (13:33 -0300)]
linux-headers: bump 4.{4, 9, 14}.x series

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotslib: update to 1.17
Martin Kepplinger [Thu, 6 Sep 2018 09:35:50 +0000 (11:35 +0200)]
tslib: update to 1.17

For some background see the changelog summary:
https://github.com/kergoth/tslib/releases

Signed-off-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-websockets: bump version to 6.0
Joseph Kogut [Wed, 5 Sep 2018 23:29:53 +0000 (16:29 -0700)]
python-websockets: bump version to 6.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibcurl: security bump to version 7.61.1
Peter Korsgaard [Wed, 5 Sep 2018 21:40:49 +0000 (23:40 +0200)]
libcurl: security bump to version 7.61.1

Fixes CVE-2018-14618: NTLM password overflow via integer overflow

For more details, see the advisory:
https://curl.haxx.se/docs/CVE-2018-14618.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: Fix file order list maintained by me
Jagan Teki [Mon, 3 Sep 2018 08:26:09 +0000 (10:26 +0200)]
DEVELOPERS: Fix file order list maintained by me

Files list maintained by me in DEVELOPERS file is not
in proper order, fix it with ascending order.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: Fix file order list maintained by me
Jagan Teki [Mon, 3 Sep 2018 08:26:09 +0000 (10:26 +0200)]
DEVELOPERS: Fix file order list maintained by me

Files list maintained by me in DEVELOPERS file is not
in proper order, fix it with ascending order.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibmm: bump version to 2.56.0
Adam Duskett [Tue, 4 Sep 2018 16:44:27 +0000 (12:44 -0400)]
glibmm: bump version to 2.56.0

Also add hashes for the license files.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoduktape: new package
Fabrice Fontaine [Wed, 5 Sep 2018 18:23:20 +0000 (20:23 +0200)]
duktape: new package

Duktape is an embeddable Javascript engine, with a focus on
portability and compact footprint.

Duktape is easy to integrate into a C/C++ project: add duktape.c,
duktape.h, and duk_config.h to your build, and use the Duktape API
to call Ecmascript functions from C code and vice versa.

http://www.duktape.org

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5virtualkeyboard: add hashes of 3rd-party licenses
Gaël PORTAY [Mon, 3 Sep 2018 12:37:47 +0000 (08:37 -0400)]
qt5virtualkeyboard: add hashes of 3rd-party licenses

Add missing license hashes for those three third-parties:

- src/virtualkeyboard/3rdparty/openwnn/NOTICE
- src/virtualkeyboard/3rdparty/pinyin/NOTICE
- src/virtualkeyboard/3rdparty/tcime/COPYING

Fixes:

>>> qt5virtualkeyboard 5.11.1 Collecting legal info
LICENSE.GPL3: OK (sha256: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903)
ERROR: No hash found for src/virtualkeyboard/3rdparty/openwnn/NOTICE
ERROR: No hash found for src/virtualkeyboard/3rdparty/pinyin/NOTICE
ERROR: No hash found for src/virtualkeyboard/3rdparty/tcime/COPYING
src/virtualkeyboard/3rdparty/lipi-toolkit/MIT_LICENSE.txt: OK (sha256: 7a45a9769d19545480a241230e6ea520b5156fac00930dcd69b6886749743d10)

In order to make this possible, we use a different hash file for the
old version (2.0, used with Qt 5.6) and new (5.11, used with Qt 5.11)
versions of qt5virtualkeyboard.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolcms2: add upstream security fix for CVE-2018-16435
Peter Korsgaard [Tue, 4 Sep 2018 21:43:47 +0000 (23:43 +0200)]
lcms2: add upstream security fix for CVE-2018-16435

Little CMS (aka Little Color Management System) 2.9 has an integer overflow
in the AllocateDataSet function in cmscgats.c, leading to a heap-based
buffer overflow in the SetData function via a crafted file in the second
argument to cmsIT8LoadFromFile.

For more details, see:
https://github.com/mm2/Little-CMS/issues/171
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16435

The upstream fix unfortunately includes a number of unrelated changes, but
thse files are not used when building for Linux.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoqt5virtualkeyboard: fix legal-info with 5.6
Gaël PORTAY [Mon, 3 Sep 2018 12:37:46 +0000 (08:37 -0400)]
qt5virtualkeyboard: fix legal-info with 5.6

qt5virtualkeyboard 2.0 (shipped with Qt 5.6) doesn't contain any
"main" license files with the GPLv3 license text.

Conditionally remove LICENSE.GPL3 from QT5VIRTUALKEYBOARD_LICENSE_FILES
when Qt major version is set to 5.6.

Fixes:

>>> qt5virtualkeyboard 2.0 Collecting legal info
sha256sum: /home/gportay/src/buildroot/output/build/qt5virtualkeyboard-2.0/LICENSE.GPL3: No such file or directory
ERROR: LICENSE.GPL3 has wrong sha256 hash:
ERROR: expected: 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903
ERROR: got     :
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Also, the lipi-toolkit has a different filename between both supported
Qt major version (5.6 and latest).

Conditionally set the license in QT5VIRTUALKEYBOARD_LICENSE_FILES for
lipi-toolkit according to the Qt major version used.

Fixes:
>>> qt5virtualkeyboard 2.0 Collecting legal info
ERROR: No hash found for src/virtualkeyboard/3rdparty/openwnn/NOTICE
ERROR: No hash found for src/virtualkeyboard/3rdparty/pinyin/NOTICE
ERROR: No hash found for src/virtualkeyboard/3rdparty/tcime/COPYING
sha256sum: /home/gportay/src/buildroot/output/build/qt5virtualkeyboard-2.0/src/virtualkeyboard/3rdparty/lipi-toolkit/MIT_LICENSE.txt: No such file or directory
ERROR: src/virtualkeyboard/3rdparty/lipi-toolkit/MIT_LICENSE.txt has wrong sha256 hash:
ERROR: expected: 7a45a9769d19545480a241230e6ea520b5156fac00930dcd69b6886749743d10
ERROR: got     :
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
[Thomas: add hash for lipi-toolkit license file, tweak commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5virtualkeyboard: fix patch applied to 2.0 version
Gaël PORTAY [Mon, 3 Sep 2018 12:37:44 +0000 (08:37 -0400)]
qt5virtualkeyboard: fix patch applied to 2.0 version

The patch 0001-remove-weird-install-path-for-example.patch using
patch: does not apply properly and needs to be fixed.

The patch was backported from 5.7 [1] with path adaptation in commit
(cb97d9473b qt5virtualkeyboard: allow to build with qt5.6), but the
submitted patch did not reflect that said adaptation.

Apply the said patch adaptation (i.e. add missing basic subdirectory) to
apply properly the patch.

Fixes:

   >>> qt5virtualkeyboard 2.0 Patching

   Applying 0001-remove-weird-install-path-for-example.patch using patch:
   patching file examples/virtualkeyboard/basic/basic.pro
   Hunk #1 FAILED at 7.
   1 out of 1 hunk FAILED -- saving rejects to file examples/virtualkeyboard/basic/basic.pro.rej
   make: ***[/home/test/autobuild/run/instance-2/output/build/qt5virtualkeyboard-2.0/.stamp_patched] Error 1

[1]: https://github.com/qt/qtvirtualkeyboard/commit/aef55eb7b3470ba6dee4abc67acda1d308c90e97

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/uboot: Set MAKE_ENV for kconfig build system
Thomas Preston [Wed, 5 Sep 2018 12:22:36 +0000 (13:22 +0100)]
boot/uboot: Set MAKE_ENV for kconfig build system

U-Boot fails to build in a GitLab CI context because the kconfig-package
build stage is unable to find bison or flex even though they are
installed in HOST_DIR.

To fix this, set UBOOT_MAKE_ENV so that UBOOT_KCONFIG_MAKE uses the
correct PATH.

Signed-off-by: Thomas Preston <thomas.preston@codethink.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomoarvm: fix build on powerpc64 / powerpc64le
Fabrice Fontaine [Tue, 4 Sep 2018 22:18:07 +0000 (00:18 +0200)]
moarvm: fix build on powerpc64 / powerpc64le

Build fails with:
 In file included from dyncall_callback.c:35:0:
dyncall_callback_ppc64.c: In function 'dcbNewCallback':
dyncall_callback_ppc64.c:42:13: warning: implicit declaration of function 'dcAllocWX' [-Wimplicit-function-declaration]
   int err = dcAllocWX(sizeof(DCCallback), (void**) &pcb);
             ^~~~~~~~~
dyncall_callback_ppc64.c: In function 'dcbFreeCallback':
dyncall_callback_ppc64.c:53:3: warning: implicit declaration of function 'dcFreeWX' [-Wimplicit-function-declaration]
   dcFreeWX(pcb, sizeof(DCCallback));
   ^~~~~~~~
dyncall_callback_ppc64.S: Assembler messages:
dyncall_callback_ppc64.S:180: Error: operand out of range (3 is not between 0 and 1)

So select BR2_PACKAGE_LIBFFI for BR2_powerpc64 and BR2_powerpc64le as it
is already done for MIPS

Fixes:
 - http://autobuild.buildroot.org/results/97b53a74d9847c07f26178daeb1daff3b6c24813
 - http://autobuild.buildroot.org/results/c35ac4bbc5fb04aabf5a719eddeedf55f7f1f4eb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosystemd: enable on the ARC architecture
Alexey Brodkin [Wed, 5 Sep 2018 08:35:26 +0000 (11:35 +0300)]
systemd: enable on the ARC architecture

ARC port was merged in v234, see
https://github.com/systemd/systemd/commit/27b09f1f1ed29edb9c52ad8414c2344974a07a23

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibidn2: bump to version 2.0.5
Fabrice Fontaine [Wed, 5 Sep 2018 16:59:22 +0000 (18:59 +0200)]
libidn2: bump to version 2.0.5

Fix a small typo in the first comment line of libidn2.hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobusybox: add patch to fix 'head -n -1'
Thomas De Schampheleire [Wed, 5 Sep 2018 14:28:54 +0000 (16:28 +0200)]
busybox: add patch to fix 'head -n -1'

Busybox 1.29.0 introduces a regression causing head to fail with negative
'-n' parameters, e.g. 'head -n -1'. Instead of showing all but the last one
line, no lines are printed whatsoever.

The issue was reported with
http://lists.busybox.net/pipermail/busybox/2018-August/086617.html . This
commit backports the revert applied upstream.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: xtensa: fix atomic NAND code generation
Max Filippov [Wed, 5 Sep 2018 16:48:39 +0000 (09:48 -0700)]
package/gcc: xtensa: fix atomic NAND code generation

xtensa gcc incorrectly generates code for atomic NAND operation as
~a1 & a2 instead of ~(a1 & a2). Fix that.

Backported from: r264087
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscreen: fix rare build failure on T_N undeclared
Fabrice Fontaine [Wed, 5 Sep 2018 17:26:44 +0000 (19:26 +0200)]
screen: fix rare build failure on T_N undeclared

/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/arm-none-linux-gnueabi-gcc -c -I. -I.  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DETCSCREENRC='"/usr/etc/screenrc"' -DSCREENENCODINGS='"/usr/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \
     -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os  -D_GNU_SOURCE list_display.c
In file included from screen.h:150:0,
                 from list_display.c:36:
display.h:154:19: error: 'T_N' undeclared here (not in a function)
   union tcu d_tcs[T_N];  /* terminal capabilities */

Macro T_N is defined in header file term.h but it may not be created
then fails. Backport patch to make sure term.h is created before compile
other source codes.

Fixes:
 - http://autobuild.buildroot.org/results/a62bea1fd32246526d59f029df3dca60f1cd710f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/xen: disable tools/qemu-xen/ opengl
Matt Weber [Tue, 4 Sep 2018 19:13:47 +0000 (14:13 -0500)]
package/xen: disable tools/qemu-xen/ opengl

Resolves:
http://autobuild.buildroot.net/results/a7f2bf387458c2f0db6a4b555c51004f321f9320

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomediastreamer: fix avcodec functions conflict
Giulio Benetti [Tue, 4 Sep 2018 13:12:51 +0000 (15:12 +0200)]
mediastreamer: fix avcodec functions conflict

Autotools miss avcodec function check when linking statically, leading to
conflicts between local functions and avcodec functions.

Add patch to swap $FFMPEG_LIBS and -lavutil which are checked when
AC_CHECK_LIB on avcodec_* functions. $FFMPEG_LIBS contain -ldrm that must
be listed after -lavutil.

Fixes:
http://autobuild.buildroot.net/results/394/3945e06ea0dd1e16013184fbab5b67b3561c87ce/
http://autobuild.buildroot.net/results/576/576c7d71313c45753848462717200b2b8ff5bb0e/
http://autobuild.buildroot.net/results/f33/f339ac6ea30815eeb8ecb144c971f56c06a9f995

[Peter: adjust commit message to clarify that this is for static linking]
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agojpeg-turbo: fix install with a static only lib
Fabrice Fontaine [Sun, 26 Aug 2018 17:23:13 +0000 (19:23 +0200)]
jpeg-turbo: fix install with a static only lib

Define CMAKE_INSTALL_RPATH only if ENABLE_SHARED is set otherwise the
following error is raised when installing binaries:

CMake Error at cmake_install.cmake:73 (file):
  file RPATH_CHANGE could not write new RPATH:

    /usr/lib

  to the file:

    /home/fabrice/buildroot/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/bin/rdjpgcom

  No valid ELF RPATH or RUNPATH entry exists in the file;

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agojpeg-turbo: fix static build
Fabrice Fontaine [Sun, 26 Aug 2018 17:23:12 +0000 (19:23 +0200)]
jpeg-turbo: fix static build

Set ENABLE_STATIC and ENABLE_SHARED depending on
BR2_PACKAGE_STATIC_LIBS, BR2_SHARED_SHARED_STATIC_LIBS and
BR2_SHARED_SHARED_LIBS

Fixes:
 - http://autobuild.buildroot.net/results/7e1500405a0f102dd6a48ef9337ffe4d7de73df3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agochipmunk: fix build on musl
Fabrice Fontaine [Sun, 2 Sep 2018 16:23:40 +0000 (18:23 +0200)]
chipmunk: fix build on musl

Build fails on:
/home/test/autobuild/run/instance-0/output/build/chipmunk-7.0.2/src/cpHastySpace.c:11:24: fatal error: sys/sysctl.h: No such file or directory

Indeed, sys/sysctl.h is not available on musl so include this header
only if __APPLE__ is defined as sysctlbyname is only used in this case.

Fixes:
 - http://autobuild.buildroot.org/results/e5be2f8eb9315a9054e1c8d854dec37cbb28eed7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolog4cplus: bump to version 2.0.2
Fabrice Fontaine [Sat, 1 Sep 2018 20:22:37 +0000 (22:22 +0200)]
log4cplus: bump to version 2.0.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimagemagick: security bump to version 7.0.7-39
Peter Korsgaard [Sun, 2 Sep 2018 08:33:21 +0000 (10:33 +0200)]
imagemagick: security bump to version 7.0.7-39

>From the release notes:

2018-06-06  7.0.7-39  <quetzlzacatenango@image...>
  * Fixed numerous use of uninitialized values, integer overflow, memory
    exceeded, and timeouts (credit to OSS Fuzz).

The most critical of these are:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8772
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8782

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agophp: pdo mysql extension needs hash as well
Peter Korsgaard [Sun, 2 Sep 2018 07:57:35 +0000 (09:57 +0200)]
php: pdo mysql extension needs hash as well

Fixes:
http://autobuild.buildroot.net/results/69cf9326539c8df8fa50c5e7acb2ce3bb985ede2/

The PDO mysql extension also needs the hash extension - so select it,
similar to how it was done for the mysqli extension in commit 65f96452636
(php: fix build with mysqli).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>