buildroot.git
5 years agopackage/stella: bump version to 6.0
Sergio Prado [Sat, 2 Mar 2019 09:50:05 +0000 (06:50 -0300)]
package/stella: bump version to 6.0

- add hashes for license files
- remove patch with changes already upstream [1]

[1] https://github.com/stella-emu/stella/commit/483013baa7b357fdf0daa2e510c537d460132584

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/unixodbc: bump to version 2.3.7
Fabrice Fontaine [Sun, 3 Mar 2019 11:07:32 +0000 (12:07 +0100)]
package/unixodbc: bump to version 2.3.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ccid: bump to version 1.4.30
Fabrice Fontaine [Sun, 3 Mar 2019 10:18:54 +0000 (11:18 +0100)]
package/ccid: bump to version 1.4.30

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sunxi-tools: fix build meminfo with musl
Vadim Kochan [Sun, 3 Mar 2019 23:23:40 +0000 (01:23 +0200)]
package/sunxi-tools: fix build meminfo with musl

musl does not provide inx/outx API for ARM arch, so use
io memory access via pointers which is actually done this
way in glibc/ulibc.

Fixes:
    http://autobuild.buildroot.net/results/bf10cbe40c0f672c34db72e4eea4c168d5932bd4/

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoqt5webkit: select leveldb package and memenv
Gaël PORTAY [Wed, 2 Jan 2019 20:56:30 +0000 (15:56 -0500)]
qt5webkit: select leveldb package and memenv

This patch fixes the build issue reported by autobuilder [0].

        /home/naourr/work/instance-2/output/build/qt5webkit-5.9.1/Source/WebCore//.obj/platform/leveldb/LevelDBDatabase.o: In function
`WebCore::LevelDBDatabase::openInMemory(WebCore::LevelDBComparator const*)':
LevelDBDatabase.cpp.text._ZN7WebCore15LevelDBDatabase12openInMemoryEPKNS_17LevelDBComparatorE+0x34): undefined reference to `leveldb::NewMemEnv(leveldb::Env*)'
        collect2: error: ld returned 1 exit status
        make[3]: *** [Makefile.api:97: ../lib/libQt5WebKit.so.5.9.1]
Error 1

The issue happens when both packages leveldb and qt5webkit are enabled.

QtWebKit builds its own copy of leveldb [1] (as a third-party) if the
system does not provided it (i.e. buildroot). It builds it differently
and this is the origin of that issue. Instead of using the Makefile
provided by leveldb [2], QtWebKit uses qmake to build that library [3].

The missing symbol issue happens because the symbol leveldb::NewMemEnv
is bundled in the static library libmemenv.a (aside libleveldb.so).
This static library consists of this single symbol which is like an
extra that is built but *NOT* shipped by default at installation in the
staging directory. Unfortunatly, that symbol is required later by
WebCore [4].

The copy built by QtWebKit is an all-in-one library including both
libleveldb and libmemenv; thus QtWebKit links against libleveldb only.
Also, the linker finds the buildroot's copy first (not the third-party):
that explains why it is complaining about a missing symbol. That copy
does not have the symbol leveldb::NewMemEnv.

Fortunatly, QtWebKit provides a facility to link against the system
leveldb package. The qmake flag WEBKIT_CONFIG+=use_system_leveldb tells
Qt5WebKit to link against libleveldb *AND* libmemenv [5].

To fix that issue, this commit selects the package leveldb that now
installs the libmemenv static library and its header. It ensures that
QtWebKit has everything it needs to be built. It also sets the
appropriate qmake configure flags to tell QtWebKit to use the leveldb
copy built by buildroot instead of the bundled one.

[0]: http://autobuild.buildroot.net/results/46033e82adf592c3b92c6d50cfaf45bd58beeaa4
[1]: https://github.com/qt/qtwebkit/tree/5.9/Source/ThirdParty/leveldb
[2]: https://github.com/qt/qtwebkit/blob/5.9/Source/ThirdParty/leveldb/Makefile#L167-L169
[3]: https://github.com/qt/qtwebkit/blob/5.9/Source/ThirdParty/leveldb/Target.pri#L80
[4]: https://github.com/qt/qtwebkit/blob/5.9/Source/WebCore/platform/leveldb/LevelDBDatabase.cpp#L185
[5]: https://github.com/qt/qtwebkit/blob/5.9/Source/WebCore/WebCore.pri#L254
[6]: https://github.com/google/leveldb/commit/739c25100e46576cdcdfff2d6f43f9f7008103c7

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoleveldb: generate pic for static libraries
Gaël PORTAY [Wed, 2 Jan 2019 20:56:29 +0000 (15:56 -0500)]
leveldb: generate pic for static libraries

The project's static libraries are not compiled with the -fPIC compiler
flag. This prevents dynamic libraries to link against those libraries.

This commit adds a patch that sets the -fPIC compiler flag to the list of
CFLAGS/CXXFLAGS.

The project now generates position independant code for all of its
outputs (i.e. not limited anymore to its shared libraries).

Fixes:

/home/gportay/src/buildroot/output/host/opt/ext-toolchain/bin/../lib/gcc/x86_64-amd-linux-gnu/6.2.0/../../../../x86_64-amd-linux-gnu/bin/ld: /home/gportay/src/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libmemenv.a(memenv.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/gportay/src/buildroot/output/host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libmemenv.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>
[Arnout: renumber patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoleveldb: install memenv static library and header
Gaël PORTAY [Wed, 2 Jan 2019 20:56:28 +0000 (15:56 -0500)]
leveldb: install memenv static library and header

The project builds a tiny static library that consists of a single
symbol which creates an in-memory LevelDB database.

That library is not installed by default and may be used by other
projects.

This commit installs in the staging directory the libmemenv.a static
library and the memenv.h header file.

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gst-plugins-bad: remove apexsink support
Fabrice Fontaine [Tue, 5 Mar 2019 22:01:04 +0000 (23:01 +0100)]
package/gst-plugins-bad: remove apexsink support

apexsink does not build with OpenSSL 1.1.x so remove this option
especially because there is no more apexsink option in gstreamer1 (since
version 1.12)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/optee-*: packages depend on thread support
Etienne Carriere [Thu, 7 Mar 2019 15:45:28 +0000 (16:45 +0100)]
package/optee-*: packages depend on thread support

BR2_PACKAGE_OPTEE_CLIENT depends on BR2_TOOLCHAIN_HAS_THREADS.
Library teec uses pthread support to protect clients state management.

This change declares this dependency in package optee-client and
updates dependent packages accordingly: optee-benchmark, optee-client,
optee-examples and optee-test.

Fixes [1] and [2] where config selected an toolchain without thread
support and build failed with trace like:

  CMake Error at /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
    Could NOT find Threads (missing: Threads_FOUND)
  Call Stack (most recent call first):
    /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
    /home/buildroot/autobuild/run/instance-1/output/host/share/cmake-3.8/Modules/FindThreads.cmake:212 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
    libteec/CMakeLists.txt:8 (find_package)

[1] http://autobuild.buildroot.net/results/ed6ffe2197da4f3a970bd3c5522291236396cc8e
[2] http://autobuild.buildroot.net/results/406f90048db097580b626ef889823132f8676ba1

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: fix dependencies of Config.in comment, as noticed by Baruch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/vsftpd: add patch to fix hang
Abdelmalek Benelouezzane [Tue, 5 Mar 2019 19:54:40 +0000 (14:54 -0500)]
package/vsftpd: add patch to fix hang

This fixes a hang due to SIGCHLD not being handled correctly by
vsftpd. The patch comes from fedora and didn't make its way to
upstream yet.

More information about the bug can be found in:
 - https://bugzilla.redhat.com/show_bug.cgi?id=1198259

Signed-off-by: Abdelmalek Benelouezzane <abdelmalek.benelouezzane@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wireshark: security bump to version 2.6.7
Fabrice Fontaine [Tue, 5 Mar 2019 21:05:46 +0000 (22:05 +0100)]
package/wireshark: security bump to version 2.6.7

Fixes CVE-2019-9208, CVE-2019-9209 and CVE-2019-9214

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gst-plugins-bad: allow static build of zbar plugin
Fabrice Fontaine [Tue, 5 Mar 2019 22:28:07 +0000 (23:28 +0100)]
package/gst-plugins-bad: allow static build of zbar plugin

zbar can be built statically since commit
fc4a6abfa6bbffeabefb9967dbf378c410fb6318 so remove the dynamic library
dependency from BR2_PACKAGE_GST_PLUGINS_BAD_ZBAR

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: udhcp CVE-2019-5747 patch
Jared Bents [Wed, 6 Mar 2019 14:22:31 +0000 (08:22 -0600)]
package/busybox: udhcp CVE-2019-5747 patch

Patch to resolve CVE-2019-5747 which affects versions prior
to 1.30.0

More information can be found at:
https://nvd.nist.gov/vuln/detail/CVE-2019-5747

This applies to both master and 2019.02

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/busybox: udhcp CVE-2018-20679 patch
Jared Bents [Wed, 6 Mar 2019 14:22:30 +0000 (08:22 -0600)]
package/busybox: udhcp CVE-2018-20679 patch

Patch to resolve CVE-2018-20679 which affects versions prior
to 1.30.0

More information can be found at:
https://nvd.nist.gov/vuln/detail/CVE-2018-20679

This applies to both master and 2019.02

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dovecot-pigeonhole: bump version to 0.5.5
Bernd Kuhls [Wed, 6 Mar 2019 17:24:22 +0000 (18:24 +0100)]
package/dovecot-pigeonhole: bump version to 0.5.5

Release notes:
https://www.dovecot.org/list/dovecot-news/2019-March/000400.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dovecot: bump version to 2.3.5
Bernd Kuhls [Wed, 6 Mar 2019 17:24:21 +0000 (18:24 +0100)]
package/dovecot: bump version to 2.3.5

Release notes:
https://www.dovecot.org/list/dovecot-news/2019-March/000399.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mender: add missing double quote in service file
Adam Duskett [Wed, 6 Mar 2019 15:49:53 +0000 (10:49 -0500)]
package/mender: add missing double quote in service file

There was a missing double quotes that would prevent the service from
starting.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Tested-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Acked-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/imx-mkimage: add -std=c99 to CFLAGS
Fabrice Fontaine [Wed, 6 Mar 2019 17:49:18 +0000 (18:49 +0100)]
package/imx-mkimage: add -std=c99 to CFLAGS

Fixes:
 - http://autobuild.buildroot.org/results/4c31d97a9aaf9ef887e68d64efe468c81f8cf7bc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/efl: fix build with mesa
Vadim Kochan [Wed, 6 Mar 2019 23:14:29 +0000 (01:14 +0200)]
package/efl: fix build with mesa

efl does not compile with mesa without OpenGL ES because it checks for
GL_ES_VERSION_2_0 and declares own GLintptr and GLsizeiptr types if such
version is not defined, but mesa declares them too for OpenGL version
1.5, so fix it by add check also for OpenGL 1.5 where these types are
defined.

Use patch from:
https://git.enlightenment.org/core/efl.git/commit/?id=0d2b624f1e24240a1c4e651aa1cfe9a8dd10a573

Fixes:
http://autobuild.buildroot.net/results/62ca120f1e54e8c3ae445f98b2624b526569f007

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: fix build on riscv
Fabrice Fontaine [Thu, 7 Mar 2019 18:10:26 +0000 (19:10 +0100)]
package/flashrom: fix build on riscv

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: disable on microblaze and xtensa
Fabrice Fontaine [Wed, 6 Mar 2019 18:02:16 +0000 (19:02 +0100)]
package/flashrom: disable on microblaze and xtensa

Fixes:
 - http://autobuild.buildroot.org/results/cdf0fb462eec143ea881d43cdd0c69c86122f66b
 - http://autobuild.buildroot.org/results/df4d9702959b610762e87cf21fac9de62365dae6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/freescale-imx/imx-sc-firmware: properly wrap help text
Arnout Vandecappelle (Essensium/Mind) [Thu, 7 Mar 2019 11:45:53 +0000 (12:45 +0100)]
package/freescale-imx/imx-sc-firmware: properly wrap help text

Fixes:
package/freescale-imx/imx-sc-firmware/Config.in:5: help text: <tab><2 spaces><62 chars>

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agodocs/website: download.html: correct version number in title
Peter Korsgaard [Thu, 7 Mar 2019 09:25:55 +0000 (10:25 +0100)]
docs/website: download.html: correct version number in title

Fixes #11716

Latest release is 2019.02.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/imx-mkimage: fix license file
Fabrice Fontaine [Tue, 5 Mar 2019 21:19:22 +0000 (22:19 +0100)]
package/imx-mkimage: fix license file

COPYING file is now at the top level, see:
https://source.codeaurora.org/external/imx/imx-mkimage/commit/?id=4a7e6873dc9de70f61dcbdb9c15a945a2e31d272

Fixes:
 - http://autobuild.buildroot.org/results/03cffcf6959d5a6efa05b6e3c71d95d096cc942a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/optee-examples: use the OPTEE_OS_SDK variable
Etienne Carriere [Fri, 1 Mar 2019 16:47:07 +0000 (17:47 +0100)]
package/optee-examples: use the OPTEE_OS_SDK variable

The optee-os package was recently changed to provide the OPTEE_OS_SDK
to allow other packages to locate the OP-TEE Trusted Application SDK,
so let's use this new variable in the optee-examples package.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: use the new variable name, rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/optee-test: use the OPTEE_OS_SDK variable
Etienne Carriere [Fri, 1 Mar 2019 16:47:06 +0000 (17:47 +0100)]
package/optee-test: use the OPTEE_OS_SDK variable

The optee-os package was recently changed to provide the OPTEE_OS_SDK
to allow other packages to locate the OP-TEE Trusted Application SDK,
so let's use this new variable in the optee-test package.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: use the new variable name, rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboot/optee-os: define a new variable OPTEE_OS_SDK
Etienne Carriere [Fri, 1 Mar 2019 16:47:05 +0000 (17:47 +0100)]
boot/optee-os: define a new variable OPTEE_OS_SDK

This commit adds a new variable OPTEE_OS_SDK, define by the optee-os
package, which points to the OPTEE SDK installed in STAGING_DIR. This
will allow other pakage to find this SDK more easily.

Signed-off-by: Etienne Carriere <etienne.carriere@linaro.org>
[Thomas: improve commit log, rename variable to just OPTEE_OS_SDK]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: remove x86 dependency
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:13 +0000 (20:26 +0100)]
package/flashrom: remove x86 dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: libusb is optional, not mandatory
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:12 +0000 (20:26 +0100)]
package/flashrom: libusb is optional, not mandatory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: libusb-compat is optional, not mandatory
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:11 +0000 (20:26 +0100)]
package/flashrom: libusb-compat is optional, not mandatory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: libftdi is optional, not mandatory
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:10 +0000 (20:26 +0100)]
package/flashrom: libftdi is optional, not mandatory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: pciutils is optional, not mandatory
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:09 +0000 (20:26 +0100)]
package/flashrom: pciutils is optional, not mandatory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/flashrom: remove dmidecode dependency
Fabrice Fontaine [Thu, 28 Feb 2019 19:26:08 +0000 (20:26 +0100)]
package/flashrom: remove dmidecode dependency

flashrom uses its own internal DMI decoder since version 0.9.8 and
https://github.com/flashrom/flashrom/commit/4c6d3a4b732732eb20bfb0fc9d857abaa4c41c88

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoMerge branch 'next'
Peter Korsgaard [Tue, 5 Mar 2019 09:59:38 +0000 (10:59 +0100)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoKickoff 2019.05 cycle
Peter Korsgaard [Tue, 5 Mar 2019 09:03:32 +0000 (10:03 +0100)]
Kickoff 2019.05 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/website/news.html: add 2019.02 announcement lin
Peter Korsgaard [Mon, 4 Mar 2019 22:35:43 +0000 (23:35 +0100)]
docs/website/news.html: add 2019.02 announcement lin

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoUpdate for 2019.02
Peter Korsgaard [Mon, 4 Mar 2019 21:49:56 +0000 (22:49 +0100)]
Update for 2019.02

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libsoxr: add patch to add Libs.private in soxr.pc
Jörg Krause [Fri, 22 Feb 2019 01:07:14 +0000 (02:07 +0100)]
package/libsoxr: add patch to add Libs.private in soxr.pc

If libsoxr is build statically against libavutil other applications
needs to know that they must link with `-lavutil` when building in a
static context.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoRevert "package/libsoxr: add avutil to soxr.pc"
Jörg Krause [Fri, 22 Feb 2019 01:07:13 +0000 (02:07 +0100)]
Revert "package/libsoxr: add avutil to soxr.pc"

This reverts commit d81870ae8129389a62df80c9c8c9165d334b6921.

The patch attempts to fix static linking with libsoxr when it build with
avutils. The `Libs.private` field should not contain the full absolute path to
the static library, but only the link flags for private libraries, e.g
`-lm`.

Buildroots pkg-config prepends the sysroot to the value found in `Libs.private`
resulting in a malformed linker flag if libavutil is found:

```
-L/home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr
/home/test/autobuild/run/instance-3/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/home/test/autobuild/run/instance-3/output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libavutil.a
```

.. or if libavutils is not found:

```
-L/home/test/autobuild/run/instance-1/output/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lsoxr AVUTIL_LIBRARIES-NOTFOUND
```

Revert this commit and replace the patch by a follow-up patch which only
adds `-lavutil` to `Libs.private` in case it is found and used by
libsoxr.

Fixes:
http://autobuild.buildroot.net/results/6eb4e2c9bd3884ab0152ddf873c20e62f0941181/
http://autobuild.buildroot.net/results/07207b0a58a08bf7c2cb78345a58244b5e6aab0e/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/systemd: fix "Timed out waiting for device /dev/console."
Xavier Ruppen [Mon, 4 Mar 2019 19:25:47 +0000 (20:25 +0100)]
package/systemd: fix "Timed out waiting for device /dev/console."

Buildroot built with systemd fails to open a login prompt on the
serial port when /dev/console is specified as BR2_TARGET_GENERIC_GETTY_PORT
(which is its default value):

systemd[1]: dev-console.device: Job dev-console.device/start timed out.
systemd[1]: Timed out waiting for device /dev/console.
systemd[1]: Dependency failed for Serial Getty on console.
systemd[1]: serial-getty@console.service: Job serial-getty@console.service/start failed with result 'dependency'.
systemd[1]: dev-console.device: Job dev-console.device/start failed with result 'timeout'.
systemd[1]: Reached target Login Prompts.
systemd[1]: Reached target Multi-User System.

According to this issue on Github [1], serial-getty@.service should
not be instantiated on /dev/console, console-getty@.service should
be used instead. This stems from the fact that there should be no
dependency on /dev/console.

[1] https://github.com/systemd/systemd/issues/10914

Signed-off-by: Xavier Ruppen <xruppen@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Peter: drop SERVICE variable as suggested by Yann]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cutelyst: bump to version 2.7.0
Fabrice Fontaine [Mon, 4 Mar 2019 06:46:35 +0000 (07:46 +0100)]
package/cutelyst: bump to version 2.7.0

Commit c110e48cecde6f543da18388322907b05b25e7d2 disabled openssl support
on QT 5.6, this has the side-effect of breaking the build of cutelyst
because cutelyst does not manage build with QT_NO_SSL, see:
https://github.com/cutelyst/cutelyst/issues/159

This bump fixes the issue by bumping cutelyst to version 2.7.0 and by
removing the uneeded select on BR2_PACKAGE_OPENSSL

Fixes:
 - http://autobuild.buildroot.org/results/4299221429713ace25fc234abeb81697bc410647

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qt5/qt5base: add BR2_PACKAGE_QT5BASE_OPENSSL
Fabrice Fontaine [Mon, 4 Mar 2019 17:28:08 +0000 (18:28 +0100)]
package/qt5/qt5base: add BR2_PACKAGE_QT5BASE_OPENSSL

Commit c110e48cecde6f543da18388322907b05b25e7d2 disabled openssl support
on QT 5.6, this has the side-effect of breaking the build of
python-pyqt5 because support of openssl is enabled on python-pyqt5 if
BR2_PACKAGE_OPENSSL is selected

To fix this issue, add a new BR2_PACKAGE_QT5BASE_OPENSSL option in
qt5base and use it in python-pyqt5

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Peter: make _OPENSSL a blind option, add libressl logic for 5.6.x]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qt5/qt5base: build Qt 5.6 with LibreSSL if present
James Grant [Sun, 3 Mar 2019 05:51:03 +0000 (18:51 +1300)]
package/qt5/qt5base: build Qt 5.6 with LibreSSL if present

LibreSSL build is successful with shared linkage, but not default dlopen().

Also adds patch for successful compilation by using -fpermissive.

Signed-off-by: James Grant <jamesg@zaltys.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gst-plugins-bad: disable spandsp
Fabrice Fontaine [Mon, 4 Mar 2019 17:30:08 +0000 (18:30 +0100)]
package/gst-plugins-bad: disable spandsp

gst-plugins-bad does not build with spandsp so disable it (it's already
disabled in gst1-plugins-bad)

Fixes:
 - http://autobuild.buildroot.org/results/842ca572b7810bca70846274262a6fcdb38df49

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoconfig-fragments: drop old crosstool-ng toolchains
Peter Korsgaard [Sun, 3 Mar 2019 21:57:11 +0000 (22:57 +0100)]
config-fragments: drop old crosstool-ng toolchains

These toolchains are very old and cause a number of autobuilder failures
that doesn't happen with more recent toolchains:

Fixes (glibc 2.18 does not provide O_TMPFILE):
http://autobuild.buildroot.net/results/c49e8361a1d4406eefd8fc1b35c8e5b061aa403b

Fixes (x86 toolchain built without libquadmath):
http://autobuild.buildroot.net/results/2d9724f169ccd60c7feb1cb549f1e2e1e9219ac3/

Use Codesourcery ARM toolchain (GCC 4.8.3) to provide a test with a old GCC
version.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/runc: blacklist Codesourcery ARM toolchain
Peter Korsgaard [Sun, 3 Mar 2019 20:38:45 +0000 (21:38 +0100)]
package/runc: blacklist Codesourcery ARM toolchain

Fixes:
http://autobuild.buildroot.net/results/018e309caa0fc662aa2993e47b2037fb6c569011/

This toolchain uses glibc 2.18, which does not provide O_TMPFILE support.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gqrx: link with libatomic when needed
Gwenhael Goavec-Merou [Fri, 22 Feb 2019 13:12:18 +0000 (14:12 +0100)]
package/gqrx: link with libatomic when needed

On some architectures, atomic builtins are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

Fixes:
 - http://autobuild.buildroot.net/results/a003ad5324a0c0f55cb8db5d3e5d69bd21999e16/
 - http://autobuild.buildroot.net/results/464602175d026d135125e5baa00e0729aec7a931/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[Peter: add dependency on sync or atomic builtins in Config, addd comment]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agogo: explicitly disable modules to avoid unintended network lookup
Christian Stewart [Sat, 26 Jan 2019 10:23:55 +0000 (02:23 -0800)]
go: explicitly disable modules to avoid unintended network lookup

Go "modules" refers to the dependency fetching, verification (hashing), and
version control system built into Go as of 1.11.

It is not desirable to have Go modules enabled in Buildroot in the normal case,
as Buildroot manages downloading the sources, and third party dependency
managers are typically not used.

In the absence of the GO111MODULE environment variable, the Go compiler will
correctly compile using the "vendor" version of dependencies downloaded by
Buildroot during the compilation process for Go-based packages.

However, if the user sets the GO111MODULE=on environment variable, the Go
compiler will download the Go dependencies for Buildroot packages, using the
modules system. This is potentially unintended behavior from user environment
variables.

This commit sets the GO111MODULE=off variable in the Go target and host
compilation environments, disabling Go modules support for Buildroot mainline
packages.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/tor: fix static build with openssl
Fabrice Fontaine [Sun, 3 Mar 2019 08:47:19 +0000 (09:47 +0100)]
package/tor: fix static build with openssl

Fixes:
 - http://autobuild.buildroot.org/results/102796d74e63d0d203e6ac9e2094052588188e6d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libraw: security bump to version 0.19.2
Fabrice Fontaine [Fri, 1 Mar 2019 21:27:03 +0000 (22:27 +0100)]
package/libraw: security bump to version 0.19.2

- Fixes CVE-2018-5815 and CVE-2018-5816
- README has been renamed into README.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/devmem2: Fix DEVMEM2_SITE variable
Xavier Ruppen [Sat, 2 Mar 2019 11:10:35 +0000 (12:10 +0100)]
package/devmem2: Fix DEVMEM2_SITE variable

The old free-electrons.com URL does not seem to work anymore,
resulting in the package failing to build. Use bootlin.com instead.

Signed-off-by: Xavier Ruppen <xruppen@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/shadowsocks-libev: bump to version 3.2.4
DUPONCHEEL Sébastien [Fri, 1 Mar 2019 11:30:23 +0000 (12:30 +0100)]
package/shadowsocks-libev: bump to version 3.2.4

The patch can be removed, as it has been applied upstream:

  https://github.com/shadowsocks/shadowsocks-libev/commit/9b4aebc840f444e5aa83633838e3890cec523017

And because the patch is removed, we can drop AUTORECONF = YES.

Signed-off-by: DUPONCHEEL Sébastien <sebastien.duponcheel@corp.ovh.com>
[Thomas: extend commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-lxml: bump to version 4.3.2
Asaf Kahlon [Fri, 1 Mar 2019 18:44:33 +0000 (20:44 +0200)]
package/python-lxml: bump to version 4.3.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoUpdate for 2019.02-rc3
Peter Korsgaard [Fri, 1 Mar 2019 11:57:30 +0000 (12:57 +0100)]
Update for 2019.02-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoutils/scanpypi: handle underscores in python packages
James Hilliard [Sun, 24 Feb 2019 03:01:36 +0000 (11:01 +0800)]
utils/scanpypi: handle underscores in python packages

Some python packages seem to use underscores in inconsistent ways.  We can
attempt to normalize these by always using dashes for the buildroot name and
attempting to autodetect the correct metadata name format.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/pkg-generic: speed up RECURSIVE_FINAL_DEPENDENCIES
Trent Piepho [Mon, 25 Feb 2019 23:55:14 +0000 (23:55 +0000)]
package/pkg-generic: speed up RECURSIVE_FINAL_DEPENDENCIES

Evaluating all the <PKG>_RECURSIVE_FINAL_DEPENDENCIES variables
(abbreviated RFD hereafter) ends up being quite slow.  Enough, on a
reasonable modern workstation, to increase the time it takes to run
"make printvars" from 13 seconds in 2018.02 to 371 seconds in 2019.02.

This patch improves this by using dynamic programming to speed the
evaluation of RFD, reducing the before mentioned printvars time to about
14.6 seconds.

The evaluation of PKG1_RFD requires recursively evaluating each of
PKG1's dependencies' RFDs, then their dependencies' RFDs, and so on.
The same is done for PKG2_RFD.  But it's likely that many of the
dependencies of PKG2 are the same as PKG1.  And when we consider all
packages, the dependencies are re-computed many thousands of times.

To avoid this re-computation we memoize, or save, the computed value of
each RFD variable when it found the first time.  Subsequent evaluations
re-use the memoized value.

Surprisingly, this ends up being not all the hard to implement in make.
The basic construct is this:

VAR = $(if !defined(VAR__X),$(eval VAR__X := value))$(VAR__X)

The first time VAR is evaluated VAR__X will not be defined, and code to
set VAR__X to the computed value is eval'd.  Then the now defined value
of VAR__X is returned.  Subsequent evaluations can just return VAR__X.

It is important to note that VAR is defined with '=', as not enough
information (namely, all packages' dependencies) is know when it is
parsed to find the correct value.  VAR will be evaluated each time it is
used.  But VAR__X is defined with ":=", so that it is evaluated once
when defined, and not each time it is used.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoRevert "testing/tests/download: test git special ref"
Ricardo Martincoski [Tue, 26 Feb 2019 03:02:09 +0000 (00:02 -0300)]
Revert "testing/tests/download: test git special ref"

This reverts commit 81771cfcdc40e5909a4ec663e7c88b3a32068c05.

The download of sha1 of a special ref currently works or not depending
on the git client version in use.
With git version 2.11.0 (present in the docker image) it does not work.
With git version 2.17.1 it works.

For the sake of reproducibility, remove this part of the TestGitRefs
test case until some code gets added to the download infra to handle
sha1 of a special ref for any git client version.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/158295269

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qt5/qt5base: exclude OpenSSL functionality for Qt 5.6.x
James Grant [Fri, 1 Mar 2019 02:17:12 +0000 (15:17 +1300)]
package/qt5/qt5base: exclude OpenSSL functionality for Qt 5.6.x

No patch back-porting OpenSSL 1.1.x support to Qt 5.6.x is available.

https://development.qt-project.narkive.com/RW4wxYXY/openssl-1-1-x-support-on-qt-5-6-5-9

Signed-off-by: James Grant <james.grant@jci.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qt5/qt5base: add custom configure options last
James Grant [Fri, 1 Mar 2019 02:17:11 +0000 (15:17 +1300)]
package/qt5/qt5base: add custom configure options last

This allows all options set by Buildroot to be overridden.

Signed-off-by: James Grant <james.grant@jci.com>
[Peter: drop original line as pointed out by Thomas]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agosupport/dependencies: require at least CMake 3.8
Fabrice Fontaine [Wed, 27 Feb 2019 19:25:58 +0000 (20:25 +0100)]
support/dependencies: require at least CMake 3.8

gerbera package in version 1.3 unfortunately now requires CMake >= 3.8
for C++17 macros:
https://github.com/gerbera/gerbera/commit/b5fd39f30fb10385ec228b71377685206a609c3a

So we need to bump our requirement from 3.1 to 3.8. If the host doesn't
have a CMake >= 3.8, Buildroot will build its own host-cmake package.

Also drop patch that relax cmake requirement on json-for-modern-cpp

Fixes:
 - http://autobuild.buildroot.org/results/6405647b47b132ff5d0d211b92d407322d52d507

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qemu: add riscv emulation on host variant
Julien Olivain [Wed, 27 Feb 2019 17:43:09 +0000 (18:43 +0100)]
package/qemu: add riscv emulation on host variant

RISC-V support was added in qemu 2.12. This target emulation
in host qemu can now be enabled.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/zbar: needs c99 mode
Peter Seiderer [Wed, 27 Feb 2019 22:01:00 +0000 (23:01 +0100)]
package/zbar: needs c99 mode

Fixes [1]:

  bar/sqcode.c: In function 'sq_scan_shape':
  zbar/sqcode.c:171:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
       for (int x = x0 - 1; x < x0 + width + 1; x++) {
       ^
  zbar/sqcode.c:171:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code

[1] http://autobuild.buildroot.net/results/7d544275756f655f9d42c05562aca653923155b1

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/imx-mkimage: add patch to satisfy unused version generation
André Hentschel [Mon, 25 Feb 2019 21:23:59 +0000 (22:23 +0100)]
package/imx-mkimage: add patch to satisfy unused version generation

Fixes:

http://autobuild.buildroot.net/results/1973d39b113c37e65c35f1f0a56354f192ae02d7

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19, 20}.x series
Peter Korsgaard [Wed, 27 Feb 2019 08:51:25 +0000 (09:51 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19, 20}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agorunc: depend on linux headers >= 3.11 for O_TMPFILE
Christian Stewart [Tue, 19 Feb 2019 22:35:28 +0000 (14:35 -0800)]
runc: depend on linux headers >= 3.11 for O_TMPFILE

Fixes:
http://autobuild.buildroot.net/results/63e9d88ae5177541be463f1e2aafec59aa410479

Add dependency on headers >= 3.11 for O_TMPFILE, used by runc after the
fix for CVE-2019-5736 and propagate to the reverse dependencies of runc.

Notice that C library support for O_TMPFILE is also needed, which was added
in glibc 2.19 and musl 0.9.15.

Signed-off-by: Christian Stewart <christian@paral.in>
[Peter: squash series, extend commit message, mention C library dependency,
fix indentation]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/systemd: add upstream security fixes
Baruch Siach [Tue, 26 Feb 2019 18:15:34 +0000 (20:15 +0200)]
package/systemd: add upstream security fixes

CVE-2019-6454: systemd (PID1) crash with specially crafted D-Bus message
from unprivileged user

Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/stress-ng: add libbsd optional dependency
Baruch Siach [Tue, 26 Feb 2019 17:46:48 +0000 (19:46 +0200)]
package/stress-ng: add libbsd optional dependency

stress-ng optionally detects and uses BSD wcsl* wchar string functions.

Cc: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: Add myself to several packages.
Adam Duskett [Tue, 26 Feb 2019 16:48:35 +0000 (11:48 -0500)]
DEVELOPERS: Add myself to several packages.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/cryptopp: fix dos/unix newlines in patch
Peter Korsgaard [Tue, 26 Feb 2019 13:48:45 +0000 (14:48 +0100)]
package/cryptopp: fix dos/unix newlines in patch

Fixes:
http://autobuild.buildroot.net/results/0a26265961747600388258d32ba7dc9226c9249b/

Commit 40005b9a0da6 (package/cryptopp: fix build with gcc < 4.9) added a
patch to fix building with old toolchains.  The source code unfortunately
contains a mix of DOS and UNIX newlines, and the DOS new lines got stripped
by the mailing list, causing the patch to no longer apply.

Fix up the patch manually.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gcc: bump to version 8.3.0
Romain Naour [Sun, 24 Feb 2019 16:05:29 +0000 (17:05 +0100)]
package/gcc: bump to version 8.3.0

Remove upsteam xtensa patches:
https://github.com/gcc-mirror/gcc/commit/68ca69a4854af36c90531b33a4c540464dbc6a23
https://github.com/gcc-mirror/gcc/commit/972057cb254e355805bfcd4a47d5c6f743cb76f4

Tested using Toolchain-builder:
https://gitlab.com/kubu93/toolchains-builder/pipelines/48904471

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoboot/syslinux: fix build with EFI support
Carlos Santos [Tue, 26 Feb 2019 11:13:32 +0000 (08:13 -0300)]
boot/syslinux: fix build with EFI support

Commit 1a437fd22f bumped gnu-efi to version 3.0.9. This breaks the build
of syslinux with EFI support due to multiple definitions of 'memset' and
'memcpy'. Backport a patch already applied upstream to fix the problem.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/iproute2: backport patch to fix compilation under glibc < 2.18
Thomas De Schampheleire [Mon, 25 Feb 2019 21:11:47 +0000 (22:11 +0100)]
package/iproute2: backport patch to fix compilation under glibc < 2.18

When compiling iproute2 using a toolchain containing glibc 2.17 and
older, it fails due to a missing definition of AF_VSOCK.

Add a submitted and accepted upstream patch to fix this issue.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/imagemagick: bump to version 7.0.8-27
Angelo Compagnucci [Mon, 25 Feb 2019 11:10:22 +0000 (12:10 +0100)]
package/imagemagick: bump to version 7.0.8-27

This patch bumps imagemagick to version 7.0.8-27
Hash for license file is changed becasue the updated the copyright year
for 2019:

https://github.com/ImageMagick/ImageMagick/commit/252dd2c52bcc591ccd673abdbb70113b42388150

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-meson: fix meson cpu_family format
James Hilliard [Mon, 25 Feb 2019 00:52:45 +0000 (08:52 +0800)]
package/pkg-meson: fix meson cpu_family format

meson requires a custom cpu_family format
https://mesonbuild.com/Reference-tables.html#cpu-families

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libssh: bump to version 0.8.7
Baruch Siach [Mon, 25 Feb 2019 19:54:48 +0000 (21:54 +0200)]
package/libssh: bump to version 0.8.7

Drop upstream patch.

Fixes strict-overflow build error with older toolchains.

Fixes:
http://autobuild.buildroot.net/results/b95b1939a55111fc6b90ef253a32402b87f9c4ab/
http://autobuild.buildroot.net/results/281cb7b940178e4fe98940ddeed07ad546b23931/
http://autobuild.buildroot.net/results/e95d5957c19ff01120903a66d1167279a34da2ce/

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stress-ng: Fix author email in 0003-test-test-bsd-wchar-...patch
Vadim Kochan [Mon, 25 Feb 2019 10:36:11 +0000 (12:36 +0200)]
package/stress-ng: Fix author email in 0003-test-test-bsd-wchar-...patch

Author's and sign-off's emails differs, so fix the author's one which
is not valid anymore.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ibrcommon: fix dos/unix newlines in patch
Peter Korsgaard [Sun, 24 Feb 2019 22:12:27 +0000 (23:12 +0100)]
package/ibrcommon: fix dos/unix newlines in patch

Fixes:
http://autobuild.buildroot.net/results/e88/e881667f388eea4cce2f804b373af4e3038e7b52/

commit fc9f9cd76f (package/ibrcommon: fix static build with openssl) added a
patch to fix static linking.  The source code unfortunately contains a mix
of DOS and UNIX newlines, and the DOS new lines got stripped by the mailing
list, causing the patch to no longer apply.

Fix up the patch manually.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/flatbuffers: bump to version 1.10.0
Michaël Blanc [Sat, 16 Feb 2019 00:15:59 +0000 (01:15 +0100)]
package/flatbuffers: bump to version 1.10.0

Signed-off-by: Michaël Blanc <mika.blanc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/botan: link with libatomic when needed
Fabrice Fontaine [Fri, 15 Feb 2019 22:01:10 +0000 (23:01 +0100)]
package/botan: link with libatomic when needed

On some architectures, atomic built-ins are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libcpprestsdk: link with libatomic when needed
Fabrice Fontaine [Fri, 15 Feb 2019 21:33:15 +0000 (22:33 +0100)]
package/libcpprestsdk: link with libatomic when needed

On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

Fixes:
 - http://autobuild.buildroot.org/results/983537ceb38add50ca0a2316f39a2964db1b83c5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/i2pd: link with libatomic when needed
Fabrice Fontaine [Fri, 15 Feb 2019 21:05:59 +0000 (22:05 +0100)]
package/i2pd: link with libatomic when needed

On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:

sparc-buildroot-linux-uclibc/sysroot/lib/libatomic.so.1: error adding symbols: DSO missing from command line

This is often for example the case on sparcv8 32 bit.

Fixes:
 - http://autobuild.buildroot.org/results/515160349b11f06a090f3e13992e30da9a402c17

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lua-curl: add variant definition of lcurl_url_t
Francois Perrad [Sun, 24 Feb 2019 19:51:32 +0000 (20:51 +0100)]
package/lua-curl: add variant definition of lcurl_url_t

lua-curl has separate code paths for compilers that support forward
typedef declarations and those who don't. For the latter case, one
structure was not properly defined, causing a build failure with older
compilers.

Fixes:

  http://autobuild.buildroot.org/results/8d76ad49837b368a7bba3c3dfd445a035471268a/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: improve commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/clamav: link with libatomic when needed
Bernd Kuhls [Sat, 16 Feb 2019 08:19:05 +0000 (09:19 +0100)]
package/clamav: link with libatomic when needed

Configure check for OpenSSL fails:

/accts/mlweber1/rclinux/rc-buildroot-test/scripts/instance-3/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libcrypto.a(threads_pthread.o): In function `CRYPTO_atomic_add':
threads_pthread.c:(.text+0x1dc): undefined reference to `__atomic_is_lock_free'
threads_pthread.c:(.text+0x1f4): undefined reference to `__atomic_fetch_add_4'

Fixes
http://autobuild.buildroot.net/results/cae8da81adff3ba493154e0ba8b21d90367f82eb/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5base: fix double-conversion compile for riscv
Peter Seiderer [Sat, 16 Feb 2019 09:48:32 +0000 (10:48 +0100)]
package/qt5base: fix double-conversion compile for riscv

Fixes [1], [2]:

  ../3rdparty/double-conversion/include/double-conversion/utils.h:83:2: error: #error Target architecture was not detected as supported by Double-Conversion.

[1] http://autobuild.buildroot.net/results/8bdb6a2b56f6ea96649184e5fef6ce2c56b9ec2b
[2] http://autobuild.buildroot.net/results/63ba267674b424786bb10c97c565f4306147f95a

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/upmpdcli: needs NPTL
Fabrice Fontaine [Sat, 16 Feb 2019 10:42:02 +0000 (11:42 +0100)]
package/upmpdcli: needs NPTL

The software uses pthread_mutexattr_setrobust which isn't available in
uClibc-ng Linuxthreads support.

Fixes:
 - http://autobuild.buildroot.org/results/197615ad077b0a719954024c3ba182dac43a0555

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/systemd: fix build with older kernels
Fabrice Fontaine [Sat, 16 Feb 2019 10:09:51 +0000 (11:09 +0100)]
package/systemd: fix build with older kernels

These 4 patches have been sent upstream and merged in version 241:
https://github.com/systemd/systemd/pull/11641

Fixes:
 - http://autobuild.buildroot.org/results/970b09e1d49b53dff12a07ca4ad424ef9dd29a69
 - http://autobuild.buildroot.org/results/0a671b08d5e74ff0b04024e729c498c4444e3e92

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agodocs/website: update for 2018.11.3
Peter Korsgaard [Sun, 24 Feb 2019 07:00:01 +0000 (08:00 +0100)]
docs/website: update for 2018.11.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoUpdate for 2018.11.3
Peter Korsgaard [Sat, 23 Feb 2019 22:13:58 +0000 (23:13 +0100)]
Update for 2018.11.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 8147c71039f775c8b10e6eceab78d43bb557bde5)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/website: update for 2018.02.11
Peter Korsgaard [Sat, 23 Feb 2019 21:46:33 +0000 (22:46 +0100)]
docs/website: update for 2018.02.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoUpdate for 2018.02.11
Peter Korsgaard [Sat, 23 Feb 2019 19:59:56 +0000 (20:59 +0100)]
Update for 2018.02.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 56347fc8eabc7c563bb9794ac5a9429fb9d2a6d9)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/ipmiutil: bump to version 3.1.3
Fabrice Fontaine [Sun, 17 Feb 2019 16:29:15 +0000 (17:29 +0100)]
package/ipmiutil: bump to version 3.1.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ibrcommon: fix static build with openssl
Fabrice Fontaine [Sat, 16 Feb 2019 11:23:19 +0000 (12:23 +0100)]
package/ibrcommon: fix static build with openssl

gf_mul is already defined in libcrypto (openssl) so rename it into
ibrdtn_gf_mul to fix the following build failure in ibrdtnd package:

/home/buildroot/autobuild/instance-3/output/host/bin/../arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libcrypto.a(f_impl.o): In function `gf_mul':
f_impl.c:(.text+0x0): multiple definition of `gf_mul'
/home/buildroot/autobuild/instance-3/output/host/arm-buildroot-uclinux-uclibcgnueabi/sysroot/usr/lib/libibrcommon.a(gf128mul.o):gf128mul.cpp:(.text+0x30): first defined here
collect2: error: ld returned 1 exit status
Makefile:560: recipe for target 'dtnd' failed

Fixes:
 - http://autobuild.buildroot.org/results/1d3b4b6cf043a3e185ce758b617a0a18c3d36cdb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5webengine: add hashes for license files
Thomas Petazzoni [Sun, 17 Feb 2019 14:12:09 +0000 (15:12 +0100)]
package/qt5/qt5webengine: add hashes for license files

This commit adds hashes for all licenses files found in
qt5webengine. In order to do this, it moves the hash file into a
per-version folder.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5: bump latest version to 5.12.1
Peter Seiderer [Sun, 17 Feb 2019 14:12:08 +0000 (15:12 +0100)]
package/qt5: bump latest version to 5.12.1

qt5base:
  - removed 0002-double-conversion-enable-for-aarch64_be.patch
    (superseded by upstream commits [1] and [2])
  - removed 0003-double-conversion-enable-for-or1k.patch
    (superseded by upstream commits [1] and [2])
  - rebased 0004-double-conversion-enable-for-microblaze.patch

qt5location:

  - removed 0001-qdeclarativegeomap-fix-building-with-GCC-5.x.patch
    (superseded by upstream commit [3])

[1] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=6a39e49a6cdeb28a04a3657bb6a22f848d5dfa9d
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=4d40f09a45202dff901d4f970a6a7e939797138b
[3] https://code.qt.io/cgit/qt/qtlocation.git/commit/?id=7bafbdc91f83165710ed74639b76b48b4494937a

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas:
 - update chromium-latest.inc with the list of license files that
   match qt5webengine 5.12.1
 - drop patch in qt5location that has been upstreamed and therefore no
   longer applies to 5.12.1]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5webengine: generate chromium-lts.inc automatically
Thomas Petazzoni [Sun, 17 Feb 2019 14:12:07 +0000 (15:12 +0100)]
package/qt5/qt5webengine: generate chromium-lts.inc automatically

As a preparation to the bump of qt5webengine, this commit changes to a
mechanism where it is generated automatically. We use a fairly
convoluted 'find' expression to retrieve almost the same list of files
as the exist ones.

The following files are added:

 - src/3rdparty/chromium/third_party/libxml/src/Copyright. This is the
   file that was pointed to by the
   src/3rdparty/chromium/third_party/libxslt/linux/COPYING symlink.

 - src/3rdparty/chromium/third_party/libxml/src/Copyright

Two license.py scripts that are not license files are removed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5webengine: generate chromium-latest.inc automatically
Thomas Petazzoni [Sun, 17 Feb 2019 14:12:06 +0000 (15:12 +0100)]
package/qt5/qt5webengine: generate chromium-latest.inc automatically

As a preparation to the bump of qt5webengine, this commit changes to a
mechanism where it is generated automatically. We use a fairly
convoluted 'find' expression to retrieve almost the same list of files
as the exist ones.

Two files are removed that are not really license files:

 - src/3rdparty/chromium/third_party/WebKit/Source/build/scripts/license.py
 - src/3rdparty/chromium/third_party/WebKit/Source/platform/wtf/NonCopyingSort.h

Three files are added, which are license files:

 - src/3rdparty/chromium/third_party/webrtc/LICENSE_THIRD_PARTY
 - src/3rdparty/chromium/third_party/libxml/src/Copyright
 - src/3rdparty/chromium/third_party/libxslt/src/Copyright

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5/qt5webengine: sort chromium-{latest, lts}.inc files
Thomas Petazzoni [Sun, 17 Feb 2019 14:12:05 +0000 (15:12 +0100)]
package/qt5/qt5webengine: sort chromium-{latest, lts}.inc files

Having the contents of those files sorted will more easily allow to
generate them automatically and verify the differences when bumping
qt5webengine.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luaexpat: restore getcurrentbytecount, required by prosody
Francois Perrad [Tue, 19 Feb 2019 07:24:09 +0000 (08:24 +0100)]
package/luaexpat: restore getcurrentbytecount, required by prosody

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/158295314

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoconfigs/freescale_imx8qxpmek: new defconfig
André Hentschel [Mon, 18 Feb 2019 20:48:07 +0000 (21:48 +0100)]
configs/freescale_imx8qxpmek: new defconfig

Signed-off-by: André Hentschel <andre.hentschel@zf.com>
[Thomas: update DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoboard/freescale/common/imx: add support for i.MX8X
André Hentschel [Mon, 18 Feb 2019 20:48:06 +0000 (21:48 +0100)]
board/freescale/common/imx: add support for i.MX8X

Signed-off-by: André Hentschel <andre.hentschel@zf.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>