buildroot.git
6 years agopackage/dehydrated: new package
Arnout Vandecappelle (Essensium/Mind) [Mon, 18 Jun 2018 12:13:09 +0000 (14:13 +0200)]
package/dehydrated: new package

dehydrated is an ACME client written in bash. It should be able to run
under zsh as well, but this hasn't been tested so it isn't enabled for
now.

Normally, we would want an init script to start dehydrated, and an
example configuration file. However, it is very difficult to do this
in a generic way in Buildroot:
- we normally don't have cron running;
- we have no standard location for webroot;
- we have no standard location for certificates;
- we have no standard way to restart/reload the webserver.
So instead, provide brief documentation of how to use dehydrated in the
help text.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/hidapi: select glibc gconv libs copy
Dan Walkes [Sun, 17 Jun 2018 17:51:53 +0000 (17:51 +0000)]
package/hidapi: select glibc gconv libs copy

Hidapi source uses iconv_open UTF-16 conversion [1] which requires
gconv libararies when buiding with glibc in order to successfully
find serial number, manufacturer and product strings [2].

Use select in the config file to autmatically select gconv libararies
for inclusion on the target when building with glibc

Tested with ./utils/test-pkg -c hidapi.cfg -p hidapi and hidapi.cfg file
contents:
BR2_PACKAGE_HIDAPI=y
BR2_PACKAGE_EUDEV=y
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
BR2_USE_MMU=y
BR2_USE_WCHAR=y

Also tested on x86-64 build target with application using hidapi

[1]: https://github.com/signal11/hidapi/blob/a6a622ffb680c55da0de787ff93b80280498330f/libusb/hid.c#L446
[2]: https://www.silabs.com/community/interface/forum.topic.html/cp2114_linux_sta-RtWg

Signed-off-by: Dan Walkes <danwalkes@trellis-logic.com>
Tested-by: Dan Walkes <danwalkes@trellis-logic.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: fix license
Fabrice Fontaine [Mon, 18 Jun 2018 21:36:20 +0000 (23:36 +0200)]
qt5base: fix license

- Since QT 5.11, LICENSE.GPLv3 doesn't exist anymore so use LICENSE.GPL3
  and add its hash
- Update hash of LICENSE.LGPLv3 (as it now makes a reference to
  LICENSE.GPL3 instead of LICENSE.GPLv3)
- Update hash of header.BSD (year is now YYYY instead of 2016)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-imx: add hash for license file
Adam Duskett [Sat, 23 Jun 2018 22:35:29 +0000 (00:35 +0200)]
gst1-imx: add hash for license file

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1-editing-services: bump to 1.14.1
Peter Seiderer [Sat, 23 Jun 2018 22:35:28 +0000 (00:35 +0200)]
gstreamer1-editing-services: bump to 1.14.1

- change legacy select BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_AUDIOMIXER to
  new select BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOMIXER

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-validate: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:27 +0000 (00:35 +0200)]
gst1-validate: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-libav: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:26 +0000 (00:35 +0200)]
gst1-libav: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-vaapi: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:25 +0000 (00:35 +0200)]
gst1-vaapi: bump to 1.14.1

- add upstream patch to fix the following compile failure:

  gstvaapipluginutil.c:259:12: error: ‘GstGLDisplay’ undeclared (first use in this function); did you mean ‘GstVaapiDisplay’?
             (GstGLDisplay **) & plugin->gl_display,
              ^~~~~~~~~~~~
              GstVaapiDisplay
  gstvaapipluginutil.c:259:12: note: each undeclared identifier is reported only once for each function it appears in
  gstvaapipluginutil.c:259:27: error: expected expression before ‘)’ token
             (GstGLDisplay **) & plugin->gl_display,
                             ^

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:24 +0000 (00:35 +0200)]
gst1-rtsp-server: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst-omx: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:23 +0000 (00:35 +0200)]
gst-omx: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-${base, good, bad, ugly}: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:22 +0000 (00:35 +0200)]
gst1-plugins-${base, good, bad, ugly}: bump to 1.14.1

These are grouped together because several plugins have been re-arranged and
there is no way to individually update each plugin package.

Changes:

Add the following to gst1-plugins-base and remove them from plugins-bad:
 - opengl
 - gles2
 - glx
 - egl
 - x11
 - dispmanx
 - audiomixer

Add the following to plugins-good and remove them from plugins-ugly:
 - lame
 - mpg123

moved --disable-qt from plugins-bad to plugins-good

Delete upstream patch from gst1-plugins-ugly ([1])
 - 0001-x264enc-fix-build-with-newer-x264-with-support-for-m.patch

Also add hashes for the license files.

[1] https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/commit/?id=83c38dc44622611c1f67dd26e4cb383c5aef90f6

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Upate to 1.14.1]
[Removed legacy lame/mpg123 option, add Config.in.legacy handling]
[remove leftover audiomixer handling from gst1-plugins-bad.mk]
[remove upstream patch from gst1-plugins-ugly]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: bump to 1.14.1
Adam Duskett [Sat, 23 Jun 2018 22:35:21 +0000 (00:35 +0200)]
gstreamer1: bump to 1.14.1

Also add hash for license file.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Update to 1.14.1]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopatchelf: add patch to fix relative rpath issue on big-endian systems
Bryce Ferguson [Mon, 25 Jun 2018 21:44:07 +0000 (16:44 -0500)]
patchelf: add patch to fix relative rpath issue on big-endian systems

This commit adds a patch to the host package patchelf to fix an issue
with endianness when the --make-rpath-relative option is
specified. Currently, patchelf does not take into account the
architecture of the target ELF when it performs the fixup on the
RPATH. Thus, if it differs from the host in endianness, the RUNPATH
field will be invalid. The patch fixes the bug reported here:

https://bugs.busybox.net/show_bug.cgi?id=11101

Signed-off-by: Bryce Ferguson <bryce.ferguson@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibostree: bump to version 2018.6
Marcus Folkesson [Tue, 26 Jun 2018 09:09:41 +0000 (11:09 +0200)]
libostree: bump to version 2018.6

Also, add upstream patch for not fail builds on 32bit architectures.
The patch will be removed when bumping to v2018.7.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{9, 14, 17}.x series
Fabio Estevam [Tue, 26 Jun 2018 11:24:46 +0000 (08:24 -0300)]
linux-headers: bump 4.{9, 14, 17}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: bump default to version 4.17.3
Fabio Estevam [Tue, 26 Jun 2018 11:24:45 +0000 (08:24 -0300)]
linux: bump default to version 4.17.3

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnss: fix build with uClibc
Baruch Siach [Tue, 26 Jun 2018 10:28:23 +0000 (13:28 +0300)]
libnss: fix build with uClibc

Add a patch defining AT_HWCAP2 locally since uClibc is missing this
macro. Once uClibc updates its elf.h copy we can remove this patch.

Fixes:

  http://autobuild.buildroot.net/results/06f/06f5ee4bc9e623fa08d77278acdcb447148ae997/
  http://autobuild.buildroot.net/results/7cd/7cd7586f5854f9447c37adeedb9c113ba37ebea4/
  http://autobuild.buildroot.net/results/335/335bee755fbec45a6d5336c2501dc2687859ec0e/

Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnss: drop obsolete patch
Baruch Siach [Tue, 26 Jun 2018 10:28:22 +0000 (13:28 +0300)]
libnss: drop obsolete patch

uClibc implements RTLD_NOLOAD for quite some time now. Remove the patch
adding a dummy definition of RTLD_NOLOAD.

Cc: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/Config.in: fix alphabetical order
Carlos Santos [Mon, 25 Jun 2018 20:39:09 +0000 (17:39 -0300)]
package/Config.in: fix alphabetical order

Commit a098636a6b6 inserted LLVM between linux-pam and its plugins.

Change-Id: Idd298321da5742c8dcc75191c79cf22c663a95ff
Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat-spi2-atk: new package
Joseph Kogut [Fri, 22 Jun 2018 00:33:36 +0000 (17:33 -0700)]
at-spi2-atk: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas: drop unneeded AT_SPI2_ATK_INSTALL_STAGING_OPTS variable.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat-spi2-core: new package
Joseph Kogut [Fri, 22 Jun 2018 00:33:35 +0000 (17:33 -0700)]
at-spi2-core: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - drop host-meson dependency, unneeded since the meson-package
   infrastructure is used
 - add -Ddbus_daemon=/usr/bin/dbus-daemon, otherwise at-spi2-core
   meson build system tries to find dbus-daemon on the host machine,
   where it may not be available.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tvheadend: bump version
Bernd Kuhls [Sat, 23 Jun 2018 18:55:44 +0000 (20:55 +0200)]
package/tvheadend: bump version

Removed patch 0002, applied upstream:
https://github.com/tvheadend/tvheadend/commit/068e5f921ddc22e648ebe006e515baf3e1ea12d1

Added patch to fix musl & uclibc build.

Renamed option dvbcsa to tvhcsa.

Upstream removed the dvbcsa configure option with this commit:
https://github.com/tvheadend/tvheadend/commit/4e7f837c7055f4cb173164ca31af139e0a7858a5#diff-e2d5a00791bce9a01f99bc6fd613a39d

and moved the optional dvbcsa support inside the tvhcsa option block:
https://github.com/tvheadend/tvheadend/blob/c76c7e0604977305498221f83c049d6d4fc715ed/configure#L645

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5charts: bump hash for 5.11.0
Gaël PORTAY [Mon, 18 Jun 2018 22:49:07 +0000 (18:49 -0400)]
qt5charts: bump hash for 5.11.0

The hash bump was missing commit 4fbb2d143d (qt5: bump latest version to
5.11.0).

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5charts: allow to build with qt5.6
Gaël PORTAY [Mon, 18 Jun 2018 22:49:06 +0000 (18:49 -0400)]
qt5charts: allow to build with qt5.6

This module is available for Qt 5.6 since version 5.6.3 under the
version number 2.1.3.

Signed-off-by: Gaël PORTAY <gael.portay@savoirfairelinux.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: ARC version is based on GDB 8.0, needs C++11 support
Thomas Petazzoni [Mon, 25 Jun 2018 19:54:43 +0000 (21:54 +0200)]
gdb: ARC version is based on GDB 8.0, needs C++11 support

The special gdb version used for ARC is based on GDB 8.0, so it needs
C++11 support.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain: bump ARC tools to arc-2018.03 release
Evgeniy Didin [Mon, 25 Jun 2018 15:45:35 +0000 (18:45 +0300)]
toolchain: bump ARC tools to arc-2018.03 release

This commit finally bumps ARC tools to the most recent arc-2018.03
release version.

ARC GNU tools of version arc-2018.03 bring some quite significant
changes like:
* Binutils v2.29.51 with additional ARC patches
* GCC 7.3.1 with additional ARC patches
* GDB 8.0.50 with ARC patches

More information on this release could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2018.03-release

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogdb: add patch to fix noMMU build issue
Thomas Petazzoni [Mon, 25 Jun 2018 08:07:38 +0000 (10:07 +0200)]
gdb: add patch to fix noMMU build issue

This commit adds a patch to fix a build issue encountered on noMMU
architectures when building gdbserver, due to the use of fork()
instead of vfork().

The patch has been submitted upstream:

  https://sourceware.org/ml/gdb-patches/2018-06/msg00569.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-libconfig: fix build with boost 1.67
Fabrice Fontaine [Sun, 24 Jun 2018 17:50:45 +0000 (19:50 +0200)]
python-libconfig: fix build with boost 1.67

Since boost 1.67, python3 boost library is boost_python36.so instead of
boost_python3.so so update first patch

Fixes:
 - http://autobuild.buildroot.net/results/6f973f2945727b302409405288ef0b9808c7317b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/solidrun_clearfog: bump kernel and bootloader
Baruch Siach [Mon, 25 Jun 2018 16:20:17 +0000 (19:20 +0300)]
configs/solidrun_clearfog: bump kernel and bootloader

Update the kernel version to 4.17.2.

Update U-Boot version to 2018.05.

Migrate to U-Boot generic distro configuration which is easier than the
hand written boot script.

Improve the 'dd' command example in readme.txt.

Cc: Jan Kundrát <jan.kundrat@cesnet.cz>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: add option for contract library
Fabrice Fontaine [Sun, 24 Jun 2018 18:24:43 +0000 (20:24 +0200)]
boost: add option for contract library

Contract library has been added in boost 1.67 and depends on NPTL

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodomoticz: remove boost hack for powerpc64le
Fabrice Fontaine [Sun, 24 Jun 2018 14:15:05 +0000 (16:15 +0200)]
domoticz: remove boost hack for powerpc64le

Since boost 1.67, seed_rng.hpp has been removed:
https://github.com/boostorg/uuid/commit/a8a1ec3d826b04d2c842e79ecd18cff6a991fd29

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognuradio: bump to version 3.7.13.3
Fabrice Fontaine [Sun, 24 Jun 2018 20:12:34 +0000 (22:12 +0200)]
gnuradio: bump to version 3.7.13.3

- This bump to 3.7.13.x fixes build with boost 1.67
- Remove patch (not needed as boost unit_test_framework has been
  removed since
  https://github.com/gnuradio/volk/commit/6dda1a1e9545d24a1c6f0b2a5d4b5d018fdcbff9)
- Add host-python-mako and host-python-six dependencies
- Add hash for license file

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.11
Romain Naour [Sun, 24 Jun 2018 13:53:10 +0000 (15:53 +0200)]
package/gdb: remove 7.11

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.11 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: remove 7.10
Romain Naour [Sun, 24 Jun 2018 13:53:09 +0000 (15:53 +0200)]
package/gdb: remove 7.10

Now that 8.1 has been added and 8.0 is the default version, let's
remove the old 7.10 release.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: switch to 8.0 as the default version
Romain Naour [Sun, 24 Jun 2018 13:53:08 +0000 (15:53 +0200)]
package/gdb: switch to 8.0 as the default version

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: add version 8.1
Romain Naour [Sun, 24 Jun 2018 13:53:07 +0000 (15:53 +0200)]
package/gdb: add version 8.1

https://sourceware.org/ml/gdb-announce/2018/msg00001.html

gdb 8.1 has a new optional dependency on mpfr, which according to the
NEWS file:

   GDB now uses the GNU MPFR library, if available, to emulate target
   floating-point arithmetic during expression evaluation when the
   target uses different floating-point formats than the host.  At
   least version 3.1 of GNU MPFR is required.

So for the target gdb, this is unnecessary, and therefore we
forcefully disable mpfr support by passing --without-mpfr.

For the host gdb, it would potentially be useful, but since it's a new
feature that isn't essential, we for now keep it disabled as well. An
option may be added later if needed.

To avoid gnulib issues with uClibc/musl, we need to pass additional
configure/make variables, like is done in OpenEmbedded [1].

[1] http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools/gdb/gdb_8.1.bb?id=02664a8dcd1ebb6cd77248e1b97a78390ea06033#n9

We re-add the same patches as the ones present for gdb 8.0.1, except
0004-nat-linux-ptrace.c-add-missing-gdb_byte-cast.patch, which was
merged upstream.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: change mpfr handling.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: rework dependency for C++11
Thomas Petazzoni [Sun, 24 Jun 2018 13:53:06 +0000 (15:53 +0200)]
package/gdb: rework dependency for C++11

As we are about to switch to 8.0 as the default gdb version, we
need to adjust how the gdb dependencies are handled. Indeed, from 8.0
onwards, gdb needs a C++11 capable compiler, i.e at least gcc 4.8.

Until now, Config.in.host was making sure that gdb 8.0 was not
selectable if the cross-compilation toolchain did not have C++ support
with gcc >= 4.8. This worked fine because the default version of gdb,
used as the target gdb version when no host gdb is built, was 7.11,
and did not require C++11.

With the switch to 8.0 as the default version, when target gdb is
enabled but not host gdb, 8.0 is used, which means we need a C++11
capable compiler. The dependencies in Config.in.host are no longer
sufficient.

So instead, we remove the target-related dependencies from
Config.in.host and move them properly to Config.in. The overall logic
is the following:

 - In Config.in.host, BR2_PACKAGE_HOST_GDB_ARCH_SUPPORTS ensures that
   we have at least host gcc 4.8 if we're on ARC, because the ARC gdb
   needs C++11. We remove the target toolchain related dependencies
   from here.

 - In Config.in.host, the version selection ensures that 8.0 cannot be
   selected if the host toolchain does not have at least gcc 4.8. We
   remove the target toolchain related dependencies from here.

 - In Config.in.host, we introduce a BR2_PACKAGE_GDB_NEEDS_CXX11
   option, that indicates whether the currently selected version of
   gdb requires C++11 support in the toolchain to build the target
   variant. Even though this option is more related to the target
   variant of gdb, we keep it in Config.in.host so that it appears
   next to the definition of BR2_GDB_VERSION, to make sure they are
   kept in sync.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agouboot: don't override HOSTCC/HOSTLDFLAGS for kconfig
Peter Korsgaard [Sun, 24 Jun 2018 14:12:42 +0000 (16:12 +0200)]
uboot: don't override HOSTCC/HOSTLDFLAGS for kconfig

So the host ncurses includes and library are used instead of a mix of both,
causing corrupted characters.  Similar to the linux fix in commit
6d3d09e23213e8 (linux: don't override HOSTCC for kconfig), except that we
pass the linker flags in HOSTLDFLAGS.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodos2unix: fix static build
Baruch Siach [Sun, 24 Jun 2018 18:15:00 +0000 (21:15 +0300)]
dos2unix: fix static build

Pass the -static flag to the final link command. Otherwise, the
generated executables are not static when the external toolchain
provides both shared and static libraries.

Should also fix:
http://autobuild.buildroot.net/results/a5a/a5a64bc3ff5a91a8680ac52f3505362491923b26/
http://autobuild.buildroot.net/results/ebf/ebfe81e65751d7a5ca3aa4e20cc708a24ba65204/

Cc: David Bachelart <david.bachelart@bbright.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocollectd: use --disable-werror
Fabrice Fontaine [Sun, 24 Jun 2018 15:44:52 +0000 (17:44 +0200)]
collectd: use --disable-werror

Since version 5.6.0, --disable-werror is available:
https://github.com/collectd/collectd/pull/1222

So use this option, instead of adding a hook to remove it from
Makefile.in

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-tornado: bump to version 5.0.2
Jan Dohl [Wed, 13 Jun 2018 14:28:16 +0000 (16:28 +0200)]
python-tornado: bump to version 5.0.2

Tornado got a requirement on the SSL module in version 5.0.2
which is also checked in the setup.py script before installing.
Since the check in buildroot runs against the host-python which
is built without SSL support, these checks fail.

Adding OpenSSL support to host-python does not make sense since the
Python on the target will be a different one. Instead, remove the
checks (which, according to the source code comments essentially check
for Python >= 2.7.9 / Python3 >= 3.4 which is true for current
Buildroot) and select the SSL option of Python/Python3 when Tornado is
selected.

Signed-off-by: Jan Dohl <polygon@wh2.tu-dresden.de>
[Thomas: adjust commit title, convert patch to a Git formatted one.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboost: bump to version 1.67.0
Fabrice Fontaine [Sun, 24 Jun 2018 10:03:37 +0000 (12:03 +0200)]
boost: bump to version 1.67.0

Remove fifth patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodomoticz: bump to version 4.9700
Fabrice Fontaine [Sun, 24 Jun 2018 09:56:37 +0000 (11:56 +0200)]
domoticz: bump to version 4.9700

Remove patch (not needed anymore)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocollectd: fix license
Fabrice Fontaine [Sun, 24 Jun 2018 12:03:23 +0000 (14:03 +0200)]
collectd: fix license

- Since version 5.5, daemon is licensed under MIT:
  https://github.com/collectd/collectd/commit/889e5e6bd51d38d490289332053a238a4f1c70b3
- Plugins are licensed under MIT, GPL-2.0 or LGPL-2.1
- Add libltdl/COPYING.LIB to license files to have a copy of LGPL-2.1 as
  it is not in COPYING
- Add hash for both license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohost-protobuf-c: fix build with gcc 4.8
Fabrice Fontaine [Sun, 24 Jun 2018 08:52:19 +0000 (10:52 +0200)]
host-protobuf-c: fix build with gcc 4.8

protobuf requires C++11 so add -std=c++11 for host-protobuf-c as it is
experimental in gcc 4.8

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodavfs2: new package
Roman Gorbenkov [Fri, 22 Jun 2018 13:33:25 +0000 (15:33 +0200)]
davfs2: new package

davfs2 is a Linux file system driver that allows to
mount a WebDAV resource. WebDAV is an extension to HTTP/1.1
that allows remote collaborative authoring of Web resources.

[Peter: Add patch to drop -fstack-protector-strong and update dependencies,
Not available on musl and nommu, fixup .hash file comments,
Fix _SITE and drop autoreconf, update DEVELOPERS]
Signed-off-by: Roman Gorbenkov <roman.gorbenkov@ens2m.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf: add dependency on gcc >= 4.8
Fabrice Fontaine [Sat, 23 Jun 2018 15:32:32 +0000 (17:32 +0200)]
protobuf: add dependency on gcc >= 4.8

Since version 3.6.0, protobuf requires C++11

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosh: fix build with protobuf 3.6.0
Fabrice Fontaine [Sat, 23 Jun 2018 19:59:45 +0000 (21:59 +0200)]
mosh: fix build with protobuf 3.6.0

protobuf now requires C++11

Fixes:
 - http://autobuild.buildroot.net/results/6e4550e080a9d558b441dcc735b6be14f39fb03f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocmake: fix build with libuv 1.21.0
Fabrice Fontaine [Sat, 23 Jun 2018 20:24:56 +0000 (22:24 +0200)]
cmake: fix build with libuv 1.21.0

Retrieve patch from
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229255#c1

Fixes:
 - http://autobuild.buildroot.net/results/86d67e5d30f7e3ba9a4932c06640a7924202d3f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf-c: fix build with protobuf 3.6
Fabrice Fontaine [Sat, 23 Jun 2018 16:40:18 +0000 (18:40 +0200)]
protobuf-c: fix build with protobuf 3.6

Add two patches retrieved from upstream

Fixes:
 - http://autobuild.buildroot.net/results/26b84f2614f75ac101078a59afeb63bc4c0d28b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: fix rdma build
Fabrice Fontaine [Sat, 23 Jun 2018 19:25:06 +0000 (21:25 +0200)]
iproute2: fix rdma build

Retrieve upstream patch

Fixes:
 - http://autobuild.buildroot.net/results/63229f485f58be32238916cd997cbe92ac3ca953

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Baruch Siach <baruch@tkos.co.il>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre2: bump version to 10.31
Bernd Kuhls [Sat, 23 Jun 2018 18:57:52 +0000 (20:57 +0200)]
package/pcre2: bump version to 10.31

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pcre: bump version to 8.42
Bernd Kuhls [Sat, 23 Jun 2018 18:56:44 +0000 (20:56 +0200)]
package/pcre: bump version to 8.42

Updated license hash after upstream commit
https://vcs.pcre.org/pcre/code/tags/pcre-8.42/LICENCE?r1=1674&r2=1726

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:36 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARMeb toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:35 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro ARM toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05
Romain Naour [Sat, 23 Jun 2018 09:19:34 +0000 (11:19 +0200)]
toolchain-external: bump version of Linaro AArch64 toolchain to 7.3-2018.05

https://releases.linaro.org/components/toolchain/binaries/7.3-2018.05

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/erlang: fix host build with host-pcre package
Bernd Kuhls [Sat, 23 Jun 2018 13:34:10 +0000 (15:34 +0200)]
package/erlang: fix host build with host-pcre package

https://git.buildroot.net/buildroot/commit/?id=bd12cd7d4633200ce01663df6528fd061d64b784
added an incompletely rebased patch to fix host-erlang when pcre is
available on the host.

Fixes
http://autobuild.buildroot.net/results/484/484a54b005764958073674bf07f6a760bfedb071/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add a trailing slash for libuv
Peter Korsgaard [Sat, 23 Jun 2018 15:17:36 +0000 (17:17 +0200)]
DEVELOPERS: add a trailing slash for libuv

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gdb: fix gdbserver build for m68k
Romain Naour [Fri, 22 Jun 2018 21:09:49 +0000 (23:09 +0200)]
package/gdb: fix gdbserver build for m68k

As for strace [1], when <sys/reg.h> is included after <linux/ptrace.h>,
the build fails on m68k with the following diagnostics:

In file included from ./../nat/linux-ptrace.h:28:0,
                 from linux-low.h:27,
                 from linux-m68k-low.c:20:
[...]/usr/include/sys/reg.h:26:3: error: expected identifier before numeric constant
   PT_D1 = 0,
   ^
[...]usr/include/sys/reg.h:26:3: error: expected « } » before numeric constant
[...]usr/include/sys/reg.h:26:3: error: expected unqualified-id before numeric constant
In file included from linux-m68k-low.c:27:0:
[...]usr/include/sys/reg.h:99:1: error: expected declaration before « } » token
 };
 ^

Fix this by moving <sys/reg.h> on top of "linux-low.h".

Fixes:
https://gitlab.com/free-electrons/toolchains-builder/-/jobs/72006385

[1] https://github.com/strace/strace/commit/6ebf6c4f9e5ebca123a5b5f24afe67cf0473cf92

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself to package/libuv
Asaf Kahlon [Sat, 23 Jun 2018 09:11:07 +0000 (12:11 +0300)]
DEVELOPERS: add myself to package/libuv

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowiringpi: bump version to 2.46
Atanas Palavrov Updating wiringPi to add support for RPi3B+ [Fri, 22 Jun 2018 07:33:33 +0000 (10:33 +0300)]
wiringpi: bump version to 2.46

Signed-off-by: Atanas Palavrov <palavrov@gmail.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump to version 1.21.0
Asaf Kahlon [Sat, 23 Jun 2018 05:49:56 +0000 (08:49 +0300)]
libuv: bump to version 1.21.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agostrongswan: bump to version 5.6.3
Paresh Chaudhary [Wed, 20 Jun 2018 21:04:33 +0000 (16:04 -0500)]
strongswan: bump to version 5.6.3

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibxml2: bump to version 2.9.8
Fabrice Fontaine [Fri, 22 Jun 2018 21:12:18 +0000 (23:12 +0200)]
libxml2: bump to version 2.9.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibnss: bump to version 3.38
Fabrice Fontaine [Fri, 22 Jun 2018 21:25:26 +0000 (23:25 +0200)]
libnss: bump to version 3.38

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add systemd init script
Fabrice Fontaine [Fri, 22 Jun 2018 21:08:58 +0000 (23:08 +0200)]
apache: add systemd init script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-raven: bump to version 6.9.0
Joseph Kogut [Fri, 22 Jun 2018 20:01:21 +0000 (13:01 -0700)]
python-raven: bump to version 6.9.0

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoprotobuf: bump to 3.6.0
Matt Weber [Wed, 20 Jun 2018 21:41:19 +0000 (16:41 -0500)]
protobuf: bump to 3.6.0

(also bumps protobuf-python)

Fixes the following issue and brauto builds
https://github.com/google/protobuf/issues/3937
http://autobuild.buildroot.net/results/982f727495c1d3524685015c34b1cbb1e0bbb4b0
http://autobuild.buildroot.net/results/adbd3088e24d7e681c995f8c3d1db0e14ac500ba

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add reload target to sysv init script
Fabrice Fontaine [Fri, 22 Jun 2018 16:36:28 +0000 (18:36 +0200)]
apache: add reload target to sysv init script

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoimx-usb-loader: make the byte swap macro more robust
Baruch Siach [Fri, 22 Jun 2018 11:44:05 +0000 (14:44 +0300)]
imx-usb-loader: make the byte swap macro more robust

The local 16-bit byte swap implementation that was introduced in commit
b05f8f439681 (imx-usb-loader: fix build with older gcc) is not robust
enough. It suffers from double evaluation, and operators precedence
breakage. Use a better implementation suggested by Arnout Vandecappelle.

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{14, 16}.x series
Fabio Estevam [Wed, 20 Jun 2018 21:29:32 +0000 (18:29 -0300)]
linux-headers: bump 4.{14, 16}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agognutls: drop wchar dependency
Baruch Siach [Fri, 22 Jun 2018 05:38:41 +0000 (08:38 +0300)]
gnutls: drop wchar dependency

Commit 19448f40a0 (gnutls: use included unistring unless libunistring is
selected) made libunistring an optional dependency.  So now gnutls no longer
depend on wchar.

Drop wchar dependency of libmicrohttpd and libsoup, which are gnutls
reverse dependencies that do not depend themselves on wchar.

Update the comments in libsoup and taskd; the wchar dependency is now
not due to gnutls.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiproute2: bump to version 4.17.0
Baruch Siach [Fri, 22 Jun 2018 04:48:32 +0000 (07:48 +0300)]
iproute2: bump to version 4.17.0

Drop upstream patch.

Cc: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agostrace: bump to version 4.23
Baruch Siach [Fri, 22 Jun 2018 03:57:53 +0000 (06:57 +0300)]
strace: bump to version 4.23

Add reference to tarball signature verification key.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoedid-decode: update upstream locations
Baruch Siach [Fri, 22 Jun 2018 03:19:28 +0000 (06:19 +0300)]
edid-decode: update upstream locations

edid-decode moved to linuxtv.org. Update homepage link and download
site.

https://www.spinics.net/lists/linux-media/msg136517.html

Cc: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopulseaudio: remove autoreconf
Baruch Siach [Thu, 21 Jun 2018 20:11:18 +0000 (23:11 +0300)]
pulseaudio: remove autoreconf

Commit 08c7b77803285 (package/pulseaudio: bump version to 12.0) removed
configure.ac patch, but forgot to drop autoreconf. Fix that.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pulseaudio: bump version to 12.0
Bernd Kuhls [Thu, 21 Jun 2018 18:59:29 +0000 (20:59 +0200)]
package/pulseaudio: bump version to 12.0

Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/12.0/

Added license hashes, removed all patches after being applied upstream:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=66885ad633db0f371693475c72133e91f1e09ee5
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=dfb0460fb4743aec047cdf755a660a9ac2d0f3fb

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoapache: add init sysv script
Fabrice Fontaine [Wed, 20 Jun 2018 21:00:21 +0000 (23:00 +0200)]
apache: add init sysv script

sysv init script is just a wrapper to apachectl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump version to 0.0.20180613
Peter Korsgaard [Wed, 20 Jun 2018 13:08:06 +0000 (15:08 +0200)]
wireguard: bump version to 0.0.20180613

Contains a fix for a crash when forwarding packets from devices that use
flow offloading and a x86 FPU issue on -rt kernels.

Also add a post-release upstream patch fixing a compilation issue related to
memcpy().

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/erlang: bump version to 21.0
Bernd Kuhls [Wed, 20 Jun 2018 20:33:43 +0000 (22:33 +0200)]
package/erlang: bump version to 21.0

Release notes: http://www.erlang.org/news/123

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/berkeleydb: fix build error with gcc8
Bernd Kuhls [Wed, 20 Jun 2018 19:58:04 +0000 (21:58 +0200)]
package/berkeleydb: fix build error with gcc8

Fixes

../src/dbinc/atomic.h:179:19: error: definition of 'int __atomic_compare_exchange(db_atomic_t*,
 atomic_value_t, atomic_value_t)' ambiguates built-in declaration 'bool
 __atomic_compare_exchange(unsigned int, volatile void*, void*, void*, int, int)'
 static inline int __atomic_compare_exchange(
                   ^~~~~~~~~~~~~~~~~~~~~~~~~

To reproduce the build error use this defconfig

BR2_GCC_VERSION_8_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_BERKELEYDB=y
BR2_PACKAGE_BERKELEYDB_COMPAT185=y
BR2_PACKAGE_BERKELEYDB_TOOLS=y

Please note that to trigger the error BR2_TOOLCHAIN_BUILDROOT_CXX=y
is needed although berkeleydb does not depend on c++.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/mx51evk: Bump U-Boot and kernel
Fabio Estevam [Tue, 19 Jun 2018 23:32:00 +0000 (20:32 -0300)]
configs/mx51evk: Bump U-Boot and kernel

Bump U-Boot to 2018.05 and kernel to 4.17.2 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogcc: fix uclibc runtime issue with gcc-8 for xtensa
Max Filippov [Tue, 19 Jun 2018 20:27:06 +0000 (13:27 -0700)]
gcc: fix uclibc runtime issue with gcc-8 for xtensa

gcc-8.1 for xtensa miscompiles uClibc dynamic linker due to gcc PR
target/65416. The build completes successfully, but the binary is
non-functional because the following fragment in the _dl_get_ready_to_run
in ld-uClibc.so overwrites register spill area on stack causing register
corruption in the previous call frame and a subsequent crash:

    419f:       f0c1b2          addi    a11, a1, -16
    41a2:       1ba9            s32i.n  a10, a11, 4
    41a4:       0bc9            s32i.n  a12, a11, 0
    41a6:       5127f2          l32i    a15, a7, 0x144
    41a9:       1765b2          s32i    a11, a5, 92
    41ac:       4e2782          l32i    a8, a7, 0x138
    41af:       146af2          s32i    a15, a10, 80
    41b2:       001b10          movsp   a1, a11

The crash terminates the init process and causes kernel panic.
The fix prevents reordering of movsp opcode and any access to the stack
frame memory and is applicable to all existing gcc versions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoimx-usb-loader: fix build with older gcc
Baruch Siach [Tue, 19 Jun 2018 14:44:41 +0000 (17:44 +0300)]
imx-usb-loader: fix build with older gcc

Since the last version bump imx-usb-loader uses __builtin_bswap16 which
is not universally available in gcc older than version 4.8. Add a patch
switching to a local 16-bit bytes swap implementation.

Should fix:
http://autobuild.buildroot.net/results/a63/a63b593b7ef3b6d32e755afe42b77d47dbf0276e/
http://autobuild.buildroot.net/results/48c/48c95cfc65f99fa02be81a11303ba8999f57091a/
http://autobuild.buildroot.net/results/c9d/c9d4f99b49ddb9b2ce08fce7672dd7c70cf62912/

Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobluez5_utils: bump to version 5.50
Jörg Krause [Tue, 19 Jun 2018 19:57:19 +0000 (21:57 +0200)]
bluez5_utils: bump to version 5.50

Drop upstream patch and remove `AUTORECONF = YES`.

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agocargo-bin: add hash for powerpc64le
Fabrice Fontaine [Tue, 19 Jun 2018 18:19:38 +0000 (20:19 +0200)]
cargo-bin: add hash for powerpc64le

Fixes:
 - http://autobuild.buildroot.net/results/1e790bd13745cc0b3f03e6182e700c07d3b8a21c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/powerpc-utils: Add sha256 hash for the COPYING file
Vasant Hegde [Tue, 19 Jun 2018 17:42:35 +0000 (23:12 +0530)]
package/powerpc-utils: Add sha256 hash for the COPYING file

Suggested-by: Peter Korsgaard <peter@korsgaard.com>
CC: Joel Stanley <joel@jms.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosquitto: fix build with some glibc
Fabrice Fontaine [Mon, 18 Jun 2018 18:06:40 +0000 (20:06 +0200)]
mosquitto: fix build with some glibc

Add patch to define _GNU_SOURCE before using S_IF{DIR,REG}

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/freeswitch: enable mod_timerfd
Bernd Kuhls [Mon, 18 Jun 2018 20:14:00 +0000 (22:14 +0200)]
package/freeswitch: enable mod_timerfd

Mod_timerfd uses the Linux kernel timerfd API to create and use a kernel
timer that delivers timer expire notifications via a file descriptor,
for details read

https://freeswitch.org/confluence/display/FREESWITCH/mod_timerfd
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/waylandpp: bump version to 0.2.3
Bernd Kuhls [Mon, 18 Jun 2018 20:21:08 +0000 (22:21 +0200)]
package/waylandpp: bump version to 0.2.3

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopowerpc-utils: Bump version to 1.3.5
Vasant Hegde [Tue, 19 Jun 2018 06:00:28 +0000 (11:30 +0530)]
powerpc-utils: Bump version to 1.3.5

CC: Joel Stanley <joel@jms.id.au>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosynopsys/axs10x: Update /etc/inittab by post-build
Evgeniy Didin [Tue, 19 Jun 2018 11:30:52 +0000 (14:30 +0300)]
synopsys/axs10x: Update /etc/inittab by post-build

To not maintain custom copy of inittab file lets adopt approach
used in raspberrypi adding post-build script for synopsys/axs10x
boards.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/download.html: fix latest LTS version number
Peter Korsgaard [Tue, 19 Jun 2018 11:45:20 +0000 (13:45 +0200)]
docs/website/download.html: fix latest LTS version number

Latest is naturally .3, not .1

Reported-by: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agojpeg-turbo: bump to version 1.5.3
Fabrice Fontaine [Mon, 18 Jun 2018 18:18:45 +0000 (20:18 +0200)]
jpeg-turbo: bump to version 1.5.3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agojson-for-modern-cpp: bump to version 3.1.2
Fabrice Fontaine [Mon, 18 Jun 2018 18:16:24 +0000 (20:16 +0200)]
json-for-modern-cpp: bump to version 3.1.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself to some packages
Fabrice Fontaine [Mon, 18 Jun 2018 18:14:36 +0000 (20:14 +0200)]
DEVELOPERS: add myself to some packages

Add my entry to json-c, libsoup, libsoxr, libxslt and tinymembench

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolvm2: add license hashes
Peter Korsgaard [Mon, 18 Jun 2018 08:43:27 +0000 (10:43 +0200)]
lvm2: add license hashes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-decorator: add license file and hash
Peter Korsgaard [Mon, 18 Jun 2018 08:38:50 +0000 (10:38 +0200)]
python-decorator: add license file and hash

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.02.3
Peter Korsgaard [Mon, 18 Jun 2018 18:19:39 +0000 (20:19 +0200)]
docs/website: update for 2018.02.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02.3
Peter Korsgaard [Mon, 18 Jun 2018 17:43:04 +0000 (19:43 +0200)]
Update for 2018.02.3

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit f44524f61ad304e5db7cb933704bb4951ab031d3)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>