buildroot.git
5 years agopackage/iputils: fix build without setcap
Fabrice Fontaine [Sun, 9 Jun 2019 09:38:14 +0000 (11:38 +0200)]
package/iputils: fix build without setcap

Fixes:
 - http://autobuild.buildroot.org/results/711718ecf20d6cc28953e089a6e5516cfb4b9031

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: fix license
Fabrice Fontaine [Sun, 9 Jun 2019 09:38:13 +0000 (11:38 +0200)]
package/iputils: fix license

- Replace nfinfod/COPYING by LICENSE, Documentation/LICENSE.BSD3 and
  Documentation/LICENSE.GPL2 which are available since version s20180629
  and
  https://github.com/iputils/iputils/commit/686ee13130550aa4cb2937842504b2131f0934c6
- BSD-4-Clause has been removed since version s20180629 and
  https://github.com/iputils/iputils/commit/f69eeac80de413248fd3d7d4d4244af22a81e055

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: fix build with NLS
Fabrice Fontaine [Sun, 9 Jun 2019 09:38:12 +0000 (11:38 +0200)]
package/iputils: fix build with NLS

Fixes:
 - http://autobuild.buildroot.org/results/0a8a3efe734ac7fb3a68ba505277681857dc0a3d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: fix IDN support
Fabrice Fontaine [Sun, 9 Jun 2019 09:38:11 +0000 (11:38 +0200)]
package/iputils: fix IDN support

iputils depends on libidn2 since version s20180629 and
https://github.com/iputils/iputils/commit/665fe4d30ff8b6649454ae25e4768b2f23605332

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/poppler: needs dynamic library
Fabrice Fontaine [Sat, 8 Jun 2019 22:12:10 +0000 (00:12 +0200)]
package/poppler: needs dynamic library

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libevent: fix build with openssl
Fabrice Fontaine [Sat, 8 Jun 2019 21:57:56 +0000 (23:57 +0200)]
package/libevent: fix build with openssl

Since bump to version 2.1.10 in commit
3c8e79db8375f83a8e6a1d58ade697447903b6b0, openssl detection is broken.
Add a patch to fix it otherwise libwebsock fails to build

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/poppler: use THREAD_PTHREAD_ARG=OFF
Arnout Vandecappelle (Essensium/Mind) [Sat, 8 Jun 2019 23:44:24 +0000 (01:44 +0200)]
package/poppler: use THREAD_PTHREAD_ARG=OFF

As noted by Fabrice, all other packages that show CMake's FindThreads
issue fix it by setting THREAD_PTHREAD_ARG=OFF instead of setting
THREAD_HAVE_PTHREAD_ARG=ON. So, for consistency, do the same for
poppler.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agolinux/linux-ext-xenomai: add check-package exclusion comment
Sébastien Szymanski [Thu, 6 Jun 2019 13:02:46 +0000 (15:02 +0200)]
linux/linux-ext-xenomai: add check-package exclusion comment

check-package wrongly warns against LINUX_EXTRA_DOWNLOADS var:

 linux/linux-ext-xenomai.mk:15: possible typo: LINUX_EXTRA_DOWNLOADS -> *XENOMAI*
 34 lines processed
 1 warnings generated

Add a TypoInPackageVariable exclusion comment to remove this warning.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoutils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times
Atharva Lele [Fri, 7 Jun 2019 08:55:58 +0000 (14:25 +0530)]
utils/genrandconfing: randomly enable BR2_REPRODUCIBLE 10% of the times

Initial patch to start reproducibility testing.

Also enable tar filesystem to compare images since diffoscope works well
with tar.

Signed-off-by: Atharva Lele <itsatharva@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gstreamer1/gst1-plugins-bad: add wpe plugin option
James Hilliard [Wed, 5 Jun 2019 05:51:25 +0000 (23:51 -0600)]
package/gstreamer1/gst1-plugins-bad: add wpe plugin option

Removed gst1-plugins-bad dependency from wpewebkit gstreamer-gl option
so that there isn't a circular dependency with gst1-plugins-bad.

It appears that wpewebkit gstreamer-gl only has a runtime dependency on
gst1-plugins-bad.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/iputils: fix static build with gcrypt
Fabrice Fontaine [Sat, 8 Jun 2019 19:39:29 +0000 (21:39 +0200)]
package/iputils: fix static build with gcrypt

Fixes:
 - http://autobuild.buildroot.net/results/fb698e3e903869978bd5e69d791ec362317b7981

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mpd: fix static build with tremor and vorbis
Fabrice Fontaine [Sat, 1 Jun 2019 14:34:56 +0000 (16:34 +0200)]
package/mpd: fix static build with tremor and vorbis

mpd can't be built statically with tremor and vorbis, build fails on:
block.c:(.text+0x11c): multiple definition of `vorbis_block_init'
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libvorbisidec.a(block.o):block.c:(.text+0x0): first defined here
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/7.4.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: Disabling relaxation: it will not work with multiple definitions
/usr/lfs/v0/rc-buildroot-test/scripts/instance-2/output/host/bin/../sparc-buildroot-linux-uclibc/sysroot/usr/lib/libvorbis.a(block.o): In function `_vorbis_block_alloc':

Fix this by making both options mutually exclusive

It should be noted that upstream explicitly removed the possibility to
enable tremor and vorbis at the same time since version 0.21.6 and
https://github.com/MusicPlayerDaemon/MPD/commit/c18cd941aaa4c16ac713bc4f1e16ada5281d689e
Since we only have 0.20.23, it is still possible to build them together,
but there is clearly no need to allow it.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/mpd: drop tremor select
Fabrice Fontaine [Sat, 1 Jun 2019 14:34:55 +0000 (16:34 +0200)]
package/mpd: drop tremor select

Drop tremor select added by commit
d428dddf680b067c13ba9a08bfd502c7286cffe7

Indeed, nowadays, mpd can be built successfully even if there is no
input plugin selected.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/opencv3: objdetect needs calib3d
Fabrice Fontaine [Sun, 2 Jun 2019 08:51:30 +0000 (10:51 +0200)]
package/opencv3: objdetect needs calib3d

objdetect needs calib3d since version 3.4.4 and
https://github.com/opencv/opencv/commit/53ec8f286b7d475fa5a799023595bd4dc73e5c81

Fixes:
 - http://autobuild.buildroot.org/results/37d0a5ba57de4c52b6e0ec99aedaca71f3397fbb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/poppler: add missing end-of-line backslash
Arnout Vandecappelle (Essensium/Mind) [Sat, 8 Jun 2019 19:49:57 +0000 (21:49 +0200)]
package/poppler: add missing end-of-line backslash

Commit c6bef18dab5d "bump version to 0.77.0" converted the
POPPLER_CONF_OPTS variable to one entry per line, but a backslash was
forgotten at the end of one of the lines. Thus, the last bit of the
configuration options weren't applied.

Fortunately, all of those were alread at their default value, so not
much was lost.

It does fix a check-package warning though:
package/poppler/poppler.mk:17: unexpected indent with tabs

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/pkg-golang: add cflags/ldflags to GO_HOST_ENV
Mirza Krak [Mon, 3 Jun 2019 09:21:01 +0000 (11:21 +0200)]
package/pkg-golang: add cflags/ldflags to GO_HOST_ENV

If a go host package is built using cgo, it needs access
to HOST_CFLAGS/HOST_LDFLAGS to utilize host packages it
might depend on.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Acked-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/poppler: fix build with cmake < 3.10
Fabrice Fontaine [Sun, 2 Jun 2019 19:19:22 +0000 (21:19 +0200)]
package/poppler: fix build with cmake < 3.10

poppler requires threads, and our compiler always accepts the -pthread
argument, so THREADS_HAVE_PTHREAD_ARG can safely be set to ON.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Arnout: set THREADS_HAVE_PTHREAD_ARG instead of THREADS_PTHREAD_ARG,
and set it to ON instead of OFF because we always have threads.]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/openzwave: needs dynamic library
Fabrice Fontaine [Sun, 2 Jun 2019 16:43:23 +0000 (18:43 +0200)]
package/openzwave: needs dynamic library

openzwave always builds and installs a dynamic library, so add a
dependency to !BR2_STATIC_LIBS. domoticz is the only package that uses
openzwave and it already depends on !BR2_STATIC_LIBS.

This behavior has not changed from 1.5 to 1.6 even if there is only a
build failure with 1.6.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/grpc: fix build with uclibc on x86_64
Fabrice Fontaine [Sun, 2 Jun 2019 16:25:57 +0000 (18:25 +0200)]
package/grpc: fix build with uclibc on x86_64

On x86_64 if GPR_MUSL_LIBC_COMPAT is not set, grpc tries to link with
memcpy@GLIBC_2.2.5, see:
https://github.com/grpc/grpc/blob/618a3f561d4a93f263cca23abad086ed8f4d5e86/src/core/lib/gpr/wrap_memcpy.cc

Add a new GPR_DISABLE_WRAPPED_MEMCPY to disable wrapped memory without
changing CPU behavior

Fixes:
 - http://autobuild.buildroot.org/results/20d6f2489a4e291a53bd514da66105eb607e1014

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libva: fix build with gcc < 5
Fabrice Fontaine [Mon, 3 Jun 2019 19:51:07 +0000 (21:51 +0200)]
package/libva: fix build with gcc < 5

Fixes:
 - http://autobuild.buildroot.org/results/96fe1667190e1e08d672984f147ec8e8f5e2f4f1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Ivan Bagarolo <ivan.bagarolo@micronovasrl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/gstreamer1/gst1-plugins-bad: bluez-plugin depends on bluez5_utils
Adam Duskett [Wed, 29 May 2019 03:56:47 +0000 (23:56 -0400)]
package/gstreamer1/gst1-plugins-bad: bluez-plugin depends on bluez5_utils

autotools doesn't throw an error if bluez_utils is found and is older than
version 5. It just doesn't build the plugin. As such, select bluez5_utils
instead. This was found with the meson conversion, because meson does
throw an error.

All dependencies of bluez5_utils are added, though some of them are
already implicit by gstreamer1 itself. This simplifies things if the
dependencies change in the future (suggested by Thomas).

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[Arnout: add bluez5_utils comment to dependencies, extend commit log]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/libubootenv: fix build with 'nothread' toolchain
Pierre-Jean Texier [Tue, 4 Jun 2019 12:34:46 +0000 (14:34 +0200)]
package/libubootenv: fix build with 'nothread' toolchain

<pthread.h> include doesn't seem to be necessary inside the library.
So, drop the header completely.

Fixes:
 - http://autobuild.buildroot.org/results/813e8951530c093f46b38bf8c3b467ab6535c95b

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agopackage/exiv2: cleanup options and licenses
Nicolas Serafini [Wed, 5 Jun 2019 13:51:06 +0000 (13:51 +0000)]
package/exiv2: cleanup options and licenses

exiv2 no longer requires a non commercial option for lens database
integration since version 0.27. See [1] and [2]

The BR2_PACKAGE_EXIV2_LENSDATA option is maintained because the
src/nikonmn_int.cpp file always specifies that the Nikon lens name
database is free to use in non-commercial, GPL or open source software
only.

Legacy handling for the removed option COMMERCIAL is not needed, since
now it's always enabled.

Add the dedicated BSD-3-Clause license file for CMakeLists.txt,
config/FindEXPAT.cmake and config/FindMSGFMT.cmake files.

[1] https://github.com/Exiv2/exiv2/commit/07f63003b7f50dd7d8719585ba54623e0f60c3c4
[2] https://github.com/Exiv2/exiv2/commit/085d8a309aafb8ed5a72cad027a1a0ea974938d9

Signed-off-by: Nicolas Serafini <nicolas.serafini@sensefly.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoarch: Fix typo breaking use of core-avx2 arch
Esben Haabendal [Fri, 7 Jun 2019 12:53:12 +0000 (14:53 +0200)]
arch: Fix typo breaking use of core-avx2 arch

Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/uftp: bump to version 4.9.11
Asaf Kahlon [Sat, 8 Jun 2019 06:13:15 +0000 (09:13 +0300)]
package/uftp: bump to version 4.9.11

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libevent: bump to version 2.1.10
Pierre-Jean Texier [Fri, 7 Jun 2019 17:34:08 +0000 (19:34 +0200)]
package/libevent: bump to version 2.1.10

See: https://github.com/libevent/libevent/releases/tag/release-2.1.10-stable

Also fix check-package warning.

Fixes:

$. ./utils/check-package package/libevent/* -v
package/libevent/0001-Disable-building-test-programs.patch:4: generate your patches with 'git format-patch -N'
Subject: [PATCH 1/2] Disable building test programs
76 lines processed
1 warnings generated

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/luarocks: bump to version 3.1.3
Francois Perrad [Fri, 7 Jun 2019 17:13:14 +0000 (19:13 +0200)]
package/luarocks: bump to version 3.1.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/website: update for 2019.02.3
Peter Korsgaard [Fri, 7 Jun 2019 08:38:42 +0000 (10:38 +0200)]
docs/website: update for 2019.02.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoUpdate for 2019.02.3
Peter Korsgaard [Fri, 7 Jun 2019 07:36:49 +0000 (09:36 +0200)]
Update for 2019.02.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Peter: drop Makefile changes]
(cherry picked from commit 3e8b918b871f484b3ef57832aa41982e368d74c2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gdb: remove gdb 8.0.x
Romain Naour [Wed, 5 Jun 2019 12:40:16 +0000 (14:40 +0200)]
package/gdb: remove gdb 8.0.x

8.3 is around and 8.2 is the default version, so drop
8.0. Keep 7.12 which is the latest version that doesn't
requires C++11 support.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gdb: switch to 8.2 as the default version
Romain Naour [Wed, 5 Jun 2019 12:40:15 +0000 (14:40 +0200)]
package/gdb: switch to 8.2 as the default version

8.3 is around, 8.2 has already seen a point release, so it's time to
make 8.2 the default version for gdb.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Peter: also update BR2_GDB_VERSION logic]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/gdb: bump to version 8.3
Romain Naour [Wed, 5 Jun 2019 12:40:14 +0000 (14:40 +0200)]
package/gdb: bump to version 8.3

Rebase local patches.

See:
https://lists.gnu.org/archive/html/info-gnu/2019-05/msg00007.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nanomsg: fix legal-info failure
Pierre-Jean Texier [Thu, 6 Jun 2019 20:24:26 +0000 (22:24 +0200)]
package/nanomsg: fix legal-info failure

After version bump, the sha256 has been updated
while the COPYING file remains unchanged.

Fixes:
 - http://autobuild.buildroot.net/results/ec1cb0216ebedc5c7bd2c8719460db28b666a24f/

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-numpy: bump to version 1.16.4
Romain Naour [Thu, 6 Jun 2019 20:19:37 +0000 (22:19 +0200)]
package/python-numpy: bump to version 1.16.4

See:
https://github.com/numpy/numpy/releases/tag/v1.16.4

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Samuel Martin <s.martin49@gmail.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agolibgpiod: bump version to v1.4
Bartosz Golaszewski [Thu, 6 Jun 2019 14:40:59 +0000 (16:40 +0200)]
libgpiod: bump version to v1.4

This release mostly affects the testing framework but also contains fixes
for C++ bindings.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/{mesa3d, mesa3d-headers}: bump version to 19.0.6
Bernd Kuhls [Thu, 6 Jun 2019 05:31:45 +0000 (07:31 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 19.0.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/python-django: security bump to version 2.1.9
Peter Korsgaard [Wed, 5 Jun 2019 17:23:07 +0000 (19:23 +0200)]
package/python-django: security bump to version 2.1.9

Fixes the following security issues:

CVE-2019-12308: AdminURLFieldWidget XSS¶

The clickable "Current URL" link generated by AdminURLFieldWidget displayed
the provided value without validating it as a safe URL.  Thus, an
unvalidated value stored in the database, or a value provided as a URL query
parameter payload, could result in an clickable JavaScript link.

AdminURLFieldWidget now validates the provided value using URLValidator
before displaying the clickable link.  You may customize the validator by
passing a validator_class kwarg to AdminURLFieldWidget.__init__(), e.g.
when using formfield_overrides.

Patched bundled jQuery for CVE-2019-11358: Prototype pollution¶

jQuery before 3.4.0, mishandles jQuery.extend(true, {}, ...) because of
Object.prototype pollution.  If an unsanitized source object contained an
enumerable __proto__ property, it could extend the native Object.prototype.

The bundled version of jQuery used by the Django admin has been patched to
allow for the select2 library’s use of jQuery.extend().

For more details, see the release notes:
https://docs.djangoproject.com/en/dev/releases/2.1.9/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/exim: add upstream security fix for CVE-2019-10149
Peter Korsgaard [Wed, 5 Jun 2019 16:28:05 +0000 (18:28 +0200)]
package/exim: add upstream security fix for CVE-2019-10149

A flaw was found in Exim versions 4.87 to 4.91 (inclusive).  Improper
validation of recipient address in deliver_message() function in
src/deliver.c may lead to remote command execution.

For more details, see the advisory:

https://www.exim.org/static/doc/security/CVE-2019-10149.txt

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libcurl: bump version to 7.65.1
Peter Korsgaard [Wed, 5 Jun 2019 07:45:43 +0000 (09:45 +0200)]
package/libcurl: bump version to 7.65.1

Fixes a number of bugs discovered after the 7.65.0 release.

https://daniel.haxx.se/blog/2019/06/05/7-65-1-patched-up-and-ready-to-go/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/autossh: bump version to 1.4g
Einar Jon Gunnarsson [Wed, 5 Jun 2019 19:56:58 +0000 (21:56 +0200)]
package/autossh: bump version to 1.4g

Version 1.4g most notably addresses a bug that could see an alarm signal
occur without a handler, causing autossh to exit inappropriately.

Signed-off-by: Einar Jon Gunnarsson <tolvupostur@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/luv: update hash
Jörg Krause [Tue, 4 Jun 2019 14:25:27 +0000 (16:25 +0200)]
package/luv: update hash

Upstream removed (using git force-push) and recreated version 1.29.1-1
and re-uploaded the source tarball. Therefore, the hash has changed and
needs to be updated.

See:
https://github.com/luvit/luv/issues/330

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/nanomsg: bump version to 1.1.5
Brett Gyarfas [Mon, 3 Jun 2019 21:44:36 +0000 (14:44 -0700)]
package/nanomsg: bump version to 1.1.5

Signed-off-by: Brett Gyarfas <brett.gyarfas@ontera.bio>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years ago{linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{0, 1}.x series
Peter Korsgaard [Mon, 3 Jun 2019 06:10:21 +0000 (08:10 +0200)]
{linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{0, 1}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/busybox: add dependency on dosfstools
Markus Mayer [Mon, 3 Jun 2019 04:29:49 +0000 (21:29 -0700)]
package/busybox: add dependency on dosfstools

dosfstools and busybox may each install mkfs.vfat, so dosfstools must
be installed before busybox.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoDEVELOPERS: Drop support for some packages from Francois Perrad
Francois Perrad [Mon, 3 Jun 2019 02:42:18 +0000 (04:42 +0200)]
DEVELOPERS: Drop support for some packages from Francois Perrad

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoMerge branch 'next'
Peter Korsgaard [Sun, 2 Jun 2019 20:11:20 +0000 (22:11 +0200)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoKickoff 2019.08 cycle
Peter Korsgaard [Sun, 2 Jun 2019 08:17:27 +0000 (10:17 +0200)]
Kickoff 2019.08 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/website/news.html: add 2019.05 announcement link
Peter Korsgaard [Sun, 2 Jun 2019 08:16:25 +0000 (10:16 +0200)]
docs/website/news.html: add 2019.05 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoUpdate for 2019.05
Peter Korsgaard [Sun, 2 Jun 2019 08:01:07 +0000 (10:01 +0200)]
Update for 2019.05

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/mender-artifact: needs host-xz
Fabrice Fontaine [Sat, 1 Jun 2019 21:11:03 +0000 (23:11 +0200)]
package/mender-artifact: needs host-xz

host-xz (for lzma) is needed since version 3.0.0 and
https://github.com/mendersoftware/mender-artifact/commit/8f1b79b03fded3a923d948878905ac5fefe59893

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/openjdk: needs host-gawk
Fabrice Fontaine [Sat, 1 Jun 2019 16:06:20 +0000 (18:06 +0200)]
package/openjdk: needs host-gawk

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/poppler: bump version to 0.77.0
Olivier Schonken [Fri, 5 Oct 2018 13:31:41 +0000 (15:31 +0200)]
package/poppler: bump version to 0.77.0

For the version bump, the makefile had to be rewritten for CMake, as
the project moved from autotools to CMake.

Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
[Thomas:
 - update again to the lastest poppler version, 0.77.0
 - drop license related changes, since the licensing terms haven't
   changed, and they are not completely clear
 - keep the openjpeg, jpeg and lcms2 dependencies optionals
 - explicitly enable/disable more dependencies
 - bump gcc version dependency to gcc 5.x, and update the Config.in
   comment accordingly
 - don't introduce many sub-options, simply rely on the availability
   of dependencies, or on BR2_SOFT_FLOAT
 - drop libx11/libxext dependencies, no longer used]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/cups-filters: bump to version 1.23.0
Thomas Petazzoni [Sat, 1 Jun 2019 20:16:07 +0000 (22:16 +0200)]
package/cups-filters: bump to version 1.23.0

This bump is necessary to be compatible with poppler 0.77.0.

Patch 0002-Poppler-removed-memCheck-and-gMemReport-functions.patch is
removed, because it was merged upstream in commit
6b0747c1630dd973acd138f927dbded4ea45e360.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/oprofile: bump to version 1.3.0
Fabrice Fontaine [Sat, 1 Jun 2019 12:54:52 +0000 (14:54 +0200)]
package/oprofile: bump to version 1.3.0

Remove second patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/speexdsp: bump to version 1.2.0
Jörg Krause [Sat, 1 Jun 2019 10:59:19 +0000 (12:59 +0200)]
package/speexdsp: bump to version 1.2.0

Drop patch 0001 which is included in the new release.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/network-manager: drop unrecognized --without-docs
Fabrice Fontaine [Sat, 1 Jun 2019 10:53:51 +0000 (12:53 +0200)]
package/network-manager: drop unrecognized --without-docs

--without-docs was not recognized since at least version 1.8.4, see:
http://autobuild.buildroot.org/results/e1464adf0069952ef0561a0a9b501d26bd409c4a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/network-manager: drop --disable-ifnet
Fabrice Fontaine [Sat, 1 Jun 2019 10:53:50 +0000 (12:53 +0200)]
package/network-manager: drop --disable-ifnet

ifnet has been drop since version 1.12.0 and
https://github.com/NetworkManager/NetworkManager/commit/0474441e2258eeecb356e2aa3cde5c7328828646

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luv: bump to version 1.29.1-1
Jörg Krause [Sat, 1 Jun 2019 10:43:44 +0000 (12:43 +0200)]
package/luv: bump to version 1.29.1-1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libuv: bump to version 1.29.1
Jörg Krause [Sat, 1 Jun 2019 10:43:43 +0000 (12:43 +0200)]
package/libuv: bump to version 1.29.1

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/alsa-lib: bump to version 1.1.9
Jörg Krause [Sat, 1 Jun 2019 10:34:49 +0000 (12:34 +0200)]
package/alsa-lib: bump to version 1.1.9

Drop patch 0002 which is included in the new version.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-matplotlib: drop redundant !PYTHON dependency
Thomas Petazzoni [Sat, 1 Jun 2019 12:45:26 +0000 (14:45 +0200)]
package/python-matplotlib: drop redundant !PYTHON dependency

Having both:

       depends on !BR2_PACKAGE_PYTHON
       depends on BR2_PACKAGE_PYTHON3

is kind of useless, and we don't do that for any other Python package
that needs Python 3. So, this commit just drops the depends on
!BR2_PACKAGE_PYTHON.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoConfig.in.legacy: fix check-package warnings
Thomas Petazzoni [Sat, 1 Jun 2019 12:44:41 +0000 (14:44 +0200)]
Config.in.legacy: fix check-package warnings

Fixes the following warnings:

Config.in.legacy:153: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
Config.in.legacy:154: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
Config.in.legacy:155: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
Config.in.legacy:156: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

which were introduced in commit
55c642287819a062d52e7f290c76ada778772fba ("arch/csky: remove
BR2_CSKY_DSP option")

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-matplotlib: rewrap Config.in help text
Thomas Petazzoni [Sat, 1 Jun 2019 12:38:57 +0000 (14:38 +0200)]
package/python-matplotlib: rewrap Config.in help text

The wrapping looked somewhat arbitrary, and not optimized to fill in
the 72 characters we allow.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-matplotlib: depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
Fabrice Fontaine [Sun, 26 May 2019 15:52:23 +0000 (17:52 +0200)]
package/python-matplotlib: depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS

BR2_PACKAGE_PYTHON_MATPLOTLIB selects BR2_PACKAGE_PYTHON_NUMPY, so it
should inherit its dependencies, which includes
BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS.

Fixes:
 - http://autobuild.buildroot.org/results/038d50784ec80b35e3daff1966df07a1b52780b3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: don't build a toolchain for powerpc with spe ABI with gcc >= 8.x
Romain Naour [Sun, 26 May 2019 20:15:42 +0000 (22:15 +0200)]
package/gcc: don't build a toolchain for powerpc with spe ABI with gcc >= 8.x

The powerpc*-*-*spe* support has been deprecated in GCC 8 [1] and has
been removed in GCC 9 [2].

While building with GCC 8, the build stop since we don't provide --enable-obsolete
option.

For now, keep powerpcspe support in Buildroot but only for older compiler
up to GCC 7.

Note: Although we can't select Glibc for powerpcspe since commit [4], this
support has been removed for the next version of Glibc (the upcoming 2.30).

[1] https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
[2] https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=b31d0348ddada49453e3edaaf93a423fdc61dc79
[3] https://sourceware.org/git/?p=glibc.git;a=commit;h=a053e878494080f7070cf92890e546057236c9c9
[4] https://git.buildroot.net/buildroot/commit/?id=5777e3ffd99132a57e3d29659850eec14b1625f8

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/Config.in.powerpc: remove unused gcc target abi options for powerpc
Romain Naour [Sun, 26 May 2019 17:42:46 +0000 (19:42 +0200)]
arch/Config.in.powerpc: remove unused gcc target abi options for powerpc

gcc target abi options for powerpc were added by [1] and renamed by [2]
to BR2_PPC_ABI_* but never used. Since always BR2_GCC_TARGET_ABI is empty
when using a powerpc toolchain.

Buildroot currently support SPE and Classic target ABI, nothing seems
to require a specific gcc target abi option.

This patch is a cleanup like commit [3].

[1] 7d8a59b40e46fa6ed84a5b78644327e97d04adef
[2] 98175bd43dbfc70f473cca6759bc8a2f4e655734
[3] fd08153b9d677d654add6c580b9ccc5c27d672e2

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Cyril Bur <cyrilbur@gmail.com>
Cc: Sam Bobroff <sam.bobroff@au1.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{0, 1}.x series
Peter Korsgaard [Mon, 27 May 2019 11:33:17 +0000 (13:33 +0200)]
{linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{0, 1}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/v4l2loopback: bump to version 0.12.2 to fix Linux 5.1 compat
James Hilliard [Mon, 27 May 2019 18:50:21 +0000 (12:50 -0600)]
package/v4l2loopback: bump to version 0.12.2 to fix Linux 5.1 compat

This fixes a kernel 5.1.x compatibility issue. The only changes
between 0.12.1 and 0.12.2 are:

d3b198ef6f57ca512fb25147c9d85b922fd4651a Released v0.12.2
376c2c28bd7d4470cd92ff646d6087ca70cd9d2e fixed typo
6edc4b164b1f05bee74cb507a4f50776a65ceb73 mentioned support for 5.0.0
0b8feb80fdef9a415d8250bca1790b3ff23e8391 Replace v4l2_get_timestamp with ktime_get_ts(64)
541e3bc7aaf46dc9a21f92c7f527397fce03dfd8 Update README.md

So the only functional change is the actual ktime_get_ts() fix, which
is needed for Linux 5.1 compatibility. Therefore, bumping is pretty
much the same as backporting just this commit.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Thomas: extend the commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lapack: bump version to 3.8.0
Bernd Kuhls [Tue, 28 May 2019 16:10:26 +0000 (18:10 +0200)]
package/lapack: bump version to 3.8.0

Release notes: http://www.netlib.org/lapack/lapack-3.8.0.html

Added license hash, adjusted source tarball URL.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mender-artifact: bump version to 3.0.0
Raul Hidalgo Caballero [Tue, 28 May 2019 13:39:27 +0000 (15:39 +0200)]
package/mender-artifact: bump version to 3.0.0

Two license files are changed, with just a copyright year update.

A new license file is added, as it is listed in
LIC_FILES_CHKSUM.sha256.

Signed-off-by: Raul Hidalgo Caballero <deinok@deinok.com>
[Thomas: fix license file hashes, add a missing license file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wpewebkit: fix build with musl
Fabrice Fontaine [Tue, 28 May 2019 19:17:04 +0000 (21:17 +0200)]
package/wpewebkit: fix build with musl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dropbear: add option to provide file with localoptions.h
Alexandru Ardelean [Wed, 29 May 2019 10:27:06 +0000 (13:27 +0300)]
package/dropbear: add option to provide file with localoptions.h

As discussed in https://patchwork.ozlabs.org/patch/1104071/, this
commit adds a new option that allows the user to provide a file that
contains custom definitions to tweak the Dropbear configuration. It
will be appended to Dropbear's localoptions.h file before the build.

The patch was tested successfully with the DO_MOTD option.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
[Thomas: tweak commit log, rename config option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/netsurf: disallow on archs requiring ABI specific CFLAGS
Peter Korsgaard [Fri, 31 May 2019 21:40:52 +0000 (23:40 +0200)]
package/netsurf: disallow on archs requiring ABI specific CFLAGS

Fixes:
http://autobuild.buildroot.net/results/67ef520d82ea529a9fe593d83a3aeae5f8b0ee5d/
http://autobuild.buildroot.net/results/eafc3e4be571d5ecee549a11530ac4e508f31782/
http://autobuild.buildroot.net/results/ba7f30833fef54162a82f4b336a72d6599594526/

The netsurf build system mixes up host and target CFLAGS, so it isn't
compatible with architectures where we pass ABI specific compiler flags (in
TARGET_ABI).

Add a _ARCH_SUPPORTS kconfig variable matching the TARGET_ABI logic we have
in package/Makefile.in, and use it to disallow netsurf for those
architectures.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/swig: enable PCRE regex matching in host-swig
Romain Naour [Wed, 29 May 2019 15:16:54 +0000 (17:16 +0200)]
package/swig: enable PCRE regex matching in host-swig

The upcoming ogre package needs a host swig binary with PCRE
regex support.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/zziplib: new package
Romain Naour [Wed, 29 May 2019 15:16:53 +0000 (17:16 +0200)]
package/zziplib: new package

Force the build system to use python2 interpreter.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: add docs/COPYING.MPL docs/copying.htm to the license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wireshark: security bump to version 3.0.2
Fabrice Fontaine [Wed, 29 May 2019 21:35:30 +0000 (23:35 +0200)]
package/wireshark: security bump to version 3.0.2

The following vulnerabilities have been fixed:
 - wnpa-sec-2019-19 Wireshark dissection engine crash. Bug 15778.

Update patches to use the ones merged upstream

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libopenssl: fix static build
Fabrice Fontaine [Fri, 31 May 2019 13:39:28 +0000 (15:39 +0200)]
package/libopenssl: fix static build

no-dso option has been removed with
https://github.com/openssl/openssl/commit/31b6ed76dfd53529b74e79830c81372d0b756929

To fix this error, use "gcc" target in static builds. This target is
very minimalistic, we need to manually pass -lpthread and
-DOPENSSL_THREADS however we can also remove libdl workarounds

Fixes:
 - http://autobuild.buildroot.org/results/96d6b89d20980e8f7fa450b832474a81d492b315

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoarch/csky: enable internal toolchain support
Guo Ren [Fri, 31 May 2019 06:39:08 +0000 (14:39 +0800)]
arch/csky: enable internal toolchain support

Now that we have support for C-SKY in gcc, binutils and glibc, we can
use Buildroot to build a C-SKY toolchain.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/linux-headers: restrict versions available on C-SKY
Thomas Petazzoni [Fri, 31 May 2019 14:01:31 +0000 (16:01 +0200)]
package/linux-headers: restrict versions available on C-SKY

The C-SKY architecture was merged in the upstream Linux kernel
4.20. Therefore, kernel headers from a Linux version earlier than that
cannot be used to build a C-SKY toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/glibc: add C-SKY specific version
Guo Ren [Fri, 31 May 2019 06:39:06 +0000 (14:39 +0800)]
package/glibc: add C-SKY specific version

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gdb: add C-SKY specific version
Guo Ren [Fri, 31 May 2019 06:39:05 +0000 (14:39 +0800)]
package/gdb: add C-SKY specific version

Add gdb build for C-SKY Architecture:

 - Support host-gdb
 - Support gdbserver for target

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gcc: add C-SKY specific gcc version
Guo Ren [Fri, 31 May 2019 06:39:04 +0000 (14:39 +0800)]
package/gcc: add C-SKY specific gcc version

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/binutils: add C-SKY specific version
Guo Ren [Fri, 31 May 2019 06:39:03 +0000 (14:39 +0800)]
package/binutils: add C-SKY specific version

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/Makefile: add C-SKY ABI variable value
Guo Ren [Fri, 31 May 2019 06:39:02 +0000 (14:39 +0800)]
package/Makefile: add C-SKY ABI variable value

In preparation for adding support for the C-SKY architecture in the
internal toolchain backend, we need to make sure that GNU_TARGET_NAME
will contain the appropriate ABI, i.e abiv1 or abiv2 depending on the
selected C-SKY core.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/csky: add support for the ck860 core
Guo Ren [Fri, 31 May 2019 06:39:00 +0000 (14:39 +0800)]
arch/csky: add support for the ck860 core

ck860 is newest CPU core of C-SKY with high performance & SMP
supported.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/csky: specify BR2_GCC_TARGET_FLOAT_ABI
Guo Ren [Fri, 31 May 2019 06:39:01 +0000 (14:39 +0800)]
arch/csky: specify BR2_GCC_TARGET_FLOAT_ABI

The C-SKY architecture uses two different ABIs, depending on the core
being used:

 - "abiv1" is a mcore based ISA with ELF_NUM:39 and does not support
   FPU & VDSP. It is used only for the ck610 core.

 - "abiv2" is C-SKY's own ISA with ELF_NUM:252 and supports FPU &
   VDSP. It is used for the ck807, ck810, ck860 cores.

Since "abiv1" does not support FPU, BR2_GCC_TARGET_FLOAT_ABI will
always have the value "soft" for the ck610 core.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/csky: add support for VDSP extensions
Guo Ren [Fri, 31 May 2019 06:38:59 +0000 (14:38 +0800)]
arch/csky: add support for VDSP extensions

VDSP is C-SKY enhanced extension instruction set for SIMD, AI and DSP
operation. It is supported by abiv2, used by the ck807, ck810, ck860
cores.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: update help text in Config.in.legacy about the BR2_CSKY_DSP
option.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/csky: remove BR2_CSKY_DSP option
Guo Ren [Fri, 31 May 2019 06:38:59 +0000 (14:38 +0800)]
arch/csky: remove BR2_CSKY_DSP option

The DSP extention is in fact no longer used for C-SKY, nor supported
by C-SKY gcc, so we remove it.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: split from the VDSP patch, add Config.in.legacy]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoarch/csky: move GCC_TARGET_CPU calculation to arch.mk.csky
Guo Ren [Fri, 31 May 2019 06:38:58 +0000 (14:38 +0800)]
arch/csky: move GCC_TARGET_CPU calculation to arch.mk.csky

Calculating GCC_TARGET_CPU requires combining multiple flags, which
isn't very nicely expressed in Config.in, so let's move this into
arch.mk.csky, similarly to what is done in arch.mk.riscv.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/gnuconfig: update to 2019-05-28
Thomas Petazzoni [Tue, 28 May 2019 20:34:13 +0000 (22:34 +0200)]
support/gnuconfig: update to 2019-05-28

This update includes support for the C-SKY architecture.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
5 years agosupport/gnuconfig/config.sub: add C-SKY support
Guo Ren [Wed, 8 May 2019 08:58:34 +0000 (16:58 +0800)]
support/gnuconfig/config.sub: add C-SKY support

Modify config.sub so that it knows about the C-SKY
architecture. Without this, all autotools projects fail to build on
C-SKY.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
[Thomas: improved commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mender: bump to version 2.0.0
Adam Duskett [Wed, 29 May 2019 12:37:27 +0000 (08:37 -0400)]
package/mender: bump to version 2.0.0

In addition:
  - Update hashes for license files due to copyright year change.
  - Add hash for vendor/golang.org/x/text/LICENSE
  - Add hash for vendor/github.com/mendersoftware/go-liblzma/LICENSE
  - Add new dependency xz, as mender now depends on LZMA.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/openmpi: fix build failure due to Gcc Bug 68485
Giulio Benetti [Thu, 30 May 2019 13:23:41 +0000 (15:23 +0200)]
package/openmpi: fix build failure due to Gcc Bug 68485

Package openmpi manifests Microblaze Gcc Bug 68485 resulting in a build
failure due to an Internal Compiler Error.

As done for other packages in Buildroot work around this Gcc Bug by
setting optimization to -O0 if BR2_TOOLCHAIN_HAS_GCC_BUG_68485=y.

Fixes:
http://autobuild.buildroot.net/results/8f3/8f334427e7475154d69469f8ee4efab6df80e403/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin
Adam Duskett [Wed, 29 May 2019 17:19:08 +0000 (13:19 -0400)]
package/gstreamer1/gst1-plugins-bad: require dynamic library for decklink plugin

The decklink plugin uses <dlfcn.h> functions: dlopen(), dlsym(), etc.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/opencv3: bump to version 3.4.6
Fabrice Fontaine [Fri, 31 May 2019 15:35:55 +0000 (17:35 +0200)]
package/opencv3: bump to version 3.4.6

- Remove patch (already in version)
- Update hash of license file (update in year:
  https://github.com/opencv/opencv/commit/14d943f588474cee3cdb8f91e8f7fb7e8af7ad8b)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/opencv3: fix build due to gcc bug 68485
Fabrice Fontaine [Fri, 31 May 2019 16:26:45 +0000 (18:26 +0200)]
package/opencv3: fix build due to gcc bug 68485

With Microblaze Gcc version <= 9.x the build fails due to gcc bug 68485:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485. The bug show up when
building opencv3 with optimization but not when building with -O0. To
work around this, if BR2_TOOLCHAIN_HAS_GCC_BUG_68458=y, we force using
-O0.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dosfstools: introduce custom install routine
Markus Mayer [Fri, 31 May 2019 19:41:59 +0000 (12:41 -0700)]
package/dosfstools: introduce custom install routine

We can't use dosfstools' install target, because it'll install *all*
binaries, even the disabled ones. Also, we can't just delete dosfstools
binaries from the target directory after installing them, because other
packages (specifically Busybox) may provide tools of the same name, and
we may end up deleting those instead.

To avoid any issues, we create our own install routines, which only
copy the enabled binaries into the target location.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: use full destination path for INSTALL commands.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: add Mirza Krak to mender-artifact package
Mirza Krak [Fri, 31 May 2019 12:39:42 +0000 (14:39 +0200)]
DEVELOPERS: add Mirza Krak to mender-artifact package

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mender: update readme.txt
Mirza Krak [Fri, 31 May 2019 12:32:05 +0000 (14:32 +0200)]
package/mender: update readme.txt

Provide additional details on how Mender works within Buildroot.

Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
[Thomas: remove duplicate "Default configuration files" title, rewrap
text]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ell: fix build with uclibc
Fabrice Fontaine [Fri, 31 May 2019 07:48:13 +0000 (09:48 +0200)]
package/ell: fix build with uclibc

Fixes:
 - http://autobuild.buildroot.org/results/444c9deb728fb041e560d940145f96cc4f455080

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>