buildroot.git
6 years agolua-*: fix upstream URL in Config.in
Francois Perrad [Wed, 10 Oct 2018 06:56:10 +0000 (08:56 +0200)]
lua-*: fix upstream URL in Config.in

like in https://git.busybox.net/buildroot/commit/?id=05200ad01434ce297a166c6e1bebc8196c18f7dc

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxerces: don't disable network without curl
Fabrice Fontaine [Tue, 9 Oct 2018 17:25:19 +0000 (19:25 +0200)]
xerces: don't disable network without curl

curl is not the only network accessor, xerces can also use the socket
API if sys/socket is available.
So replace --disable-network by --disable-netaccessor-curl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5base: fix qt_open64 related compile failure
Peter Seiderer [Tue, 9 Oct 2018 18:27:18 +0000 (20:27 +0200)]
qt5base: fix qt_open64 related compile failure

Add upstream patch fixing ([1], [2]):

  .obj/qlinuxfbscreen.o: In function `QLinuxFbScreen::initialize()':
  qlinuxfbscreen.cpp:(.text+0xa6c): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x1042): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x10aa): undefined reference to `qt_open64(char const*, int, unsigned int)'
  qlinuxfbscreen.cpp:(.text+0x1746): undefined reference to `qt_open64(char const*, int, unsigned int)'

[1] http://autobuild.buildroot.net/results/66f55a311dcf9d54ca6148b232287973ba226999
[2] http://autobuild.buildroot.net/results/a4759e8cea09a597dbeb82f6c673ddc531d419e8

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/waffle: new package
Romain Naour [Sat, 22 Sep 2018 10:56:25 +0000 (12:56 +0200)]
package/waffle: new package

waffle has four "backends", each having their own dependencies.
At least one "backend" must be enabled, otherwise Waffle will refuse to
build. The "backends" are:

 - glx, which needs full OpenGL + x11-xcb
 - wayland, which needs wayland-client, wayland-egl and EGL
 - x11-egl, which needs x11-xcb and EGL
 - gbm, which needs gbm, libudev and EGL

Backport an upstream patch fixing a build issue with musl toolchains.
Add a new patch fixing build with Wayand without X11.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
[Thomas: drop GLES dependency, it is not mandatory.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-numpy: add host variant for piglit
Romain Naour [Sat, 22 Sep 2018 10:56:24 +0000 (12:56 +0200)]
package/python-numpy: add host variant for piglit

host-python-numpy is required by piglit buildsystem for crosscompiling.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocollectd: fix build with latest gpsd
Baruch Siach [Tue, 9 Oct 2018 17:18:11 +0000 (20:18 +0300)]
collectd: fix build with latest gpsd

The last bump of gpsd to version 3.18 broke the build due to a change
in the gps_read() prototype. Add a patch fixing that.

Fixes:
http://autobuild.buildroot.net/results/b08/b0829bc3343d6dc3065078e94896725b1c808bc1/
http://autobuild.buildroot.net/results/1a6/1a6f2fcf1a88ecc5b598dd11c5914dcacf0e1e6b/
http://autobuild.buildroot.net/results/63a/63a4f980d7cdb4b0823840f747589803fcd0d69f/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-engineio: bump to version 2.3.2
Asaf Kahlon [Tue, 9 Oct 2018 16:22:26 +0000 (19:22 +0300)]
python-engineio: bump to version 2.3.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogpsd: fix greis driver build with reconfigure disabled
Baruch Siach [Tue, 9 Oct 2018 16:16:39 +0000 (19:16 +0300)]
gpsd: fix greis driver build with reconfigure disabled

Add a patch fixing undefined function build failure when reconfigure
support is disabled.

Fixes:
http://autobuild.buildroot.net/results/a13/a13a5d852c83cd1fc9f2d1fc2b7302db515278b8/
http://autobuild.buildroot.net/results/185/18599ea12a35b9715a67c1f4e5c4e56906235c94/
http://autobuild.buildroot.net/results/c00/c00d22a6dcadb82a19afab6eacea654d3c41b4c5/

Cc: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pysmi: new package
Asaf Kahlon [Sat, 22 Sep 2018 19:36:30 +0000 (22:36 +0300)]
python-pysmi: new package

SNMP SMI/MIB Parser.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-ply: new package
Asaf Kahlon [Sat, 22 Sep 2018 19:36:29 +0000 (22:36 +0300)]
python-ply: new package

No license file was found in the repo and README.md seems
to be the closest (license type was mentioned in setup.py).

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
[Thomas: use the right SPDX license tag.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/setools: host variant needs host-python-enum34
Matt Weber [Fri, 28 Sep 2018 20:04:35 +0000 (15:04 -0500)]
package/setools: host variant needs host-python-enum34

The enum34 dependency is required for python2.7 for both the host and
target builds.  This patch adds the host dependency to match what is
already in place for the target.

The host build is used by the setools package seinfo tool offline for
host based policy analysis. The analysis is easiest performed offline
as the policy is checked for path/reachability, which is something
that occurs by taking the policy file and using debug libraries to
perform test cases.

Fixes the following runtime error:

$ ./output/host/bin/sesearch
Traceback (most recent call last):
[...]
  File "/home/test/buildroot/output/host/lib/python2.7/site-packages/setools-4.1.1-py2.7-linux-x86_64.egg/setools/policyrep/util.py", line 21, in <module>
    from enum import Enum
ImportError: No module named enum

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-enum34: enable host build
Matt Weber [Fri, 28 Sep 2018 20:04:34 +0000 (15:04 -0500)]
package/python-enum34: enable host build

This is initially used by the setools package to do offline
policy analysis using host tools.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pigpio: new package
Grzegorz Blach [Fri, 28 Sep 2018 18:00:34 +0000 (20:00 +0200)]
python-pigpio: new package

Pigpio is a Python module for the Raspberry Pi
which talks to the pigpio daemon to allow control
of the general purpose input outputs (GPIO).

http://abyz.co.uk/rpi/pigpio/python.html

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas: use proper SPDX license tag]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopigpio: new package
Grzegorz Blach [Fri, 28 Sep 2018 18:00:33 +0000 (20:00 +0200)]
pigpio: new package

Pigpio is a library for the Raspberry Pi which allows
control of the General Purpose Input Outputs (GPIO).

http://abyz.me.uk/rpi/pigpio/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
[Thomas:
 - Use proper SPDX tag for The Unlicense
 - Add missing dependency on !BR2_STATIC_LIBS, since the Makefile is
   unconditionally building a shared library
 - Use BR2_arm instead of BR2_ARM_EABIHF, there's nothing that makes
   it EABIHF specific.
 - Use -D and full destination paths during the installation.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/asterisk: add optional spandsp support
Yann E. MORIN [Wed, 3 Oct 2018 13:13:58 +0000 (15:13 +0200)]
package/asterisk: add optional spandsp support

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/spandsp: new package
Yann E. MORIN [Wed, 3 Oct 2018 13:13:57 +0000 (15:13 +0200)]
package/spandsp: new package

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Bernd:
 - bumped version to 20180108
 - removed 0001-fix-msse4.x.patch, applied upstream
 - removed autoreconf after patch removal
 - added license hash (Arnout)
 - added SPDX license codes (Arnout)]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas:
 - add entry to DEVELOPERS file]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/asterisk: bump version to 14.7.8
Bernd Kuhls [Wed, 3 Oct 2018 13:13:55 +0000 (15:13 +0200)]
package/asterisk: bump version to 14.7.8

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxerces: enable threads if available
Fabrice Fontaine [Sat, 6 Oct 2018 20:13:08 +0000 (22:13 +0200)]
xerces: enable threads if available

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Matt Weber &lt;<a href="mailto:matthew.weber@rockwellcollins.com" target="_blank">matthew.weber@rockwellcollins.com</a>&gt;<br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquid: bump to version 4.3
Baruch Siach [Tue, 9 Oct 2018 11:49:34 +0000 (14:49 +0300)]
squid: bump to version 4.3

Drop get_certificate test avoidance patch; upstream made the test cross
compile friendly in commit 958ae827cabf (Fix cross-compile issues with
SSL_get_certificate())

Drop the patch adding <time.h>; the code does not call time() anymore.

Restore netfilter support under musl libc. Squid build fine with current
musl version.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinc: security bump to version 1.0.35
Peter Korsgaard [Tue, 9 Oct 2018 08:39:59 +0000 (10:39 +0200)]
tinc: security bump to version 1.0.35

Fixes the following security issues:

CVE-2018-16758: Michael Yonli discovered that tinc 1.0.34 and earlier allow
a man-in-the-middle attack that, even if the MITM cannot decrypt the traffic
sent between the two endpoints, when the MITM can correctly predict when an
ephemeral key exchange message is sent in a TCP connection between two
nodes, allows the MITM to force one node to send UDP packets in plaintext.
The tinc 1.1pre versions are not affected by this.

CVE-2018-16738: Michael Yonli discoverd that tinc versions 1.0.30 to 1.0.34
allow an oracle attack, similar to CVE-2018-16737, but due to the
mitigations put in place for the Sweet32 attack in tinc 1.0.30, it now
requires a timing attack that has only a limited time to complete.  Tinc
1.1pre16 and earlier are also affected if there are nodes on the same VPN
that still use the legacy protocol from tinc version 1.0.x.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/manual: document the new get-developers -e option
Peter Korsgaard [Tue, 9 Oct 2018 08:28:31 +0000 (10:28 +0200)]
docs/manual: document the new get-developers -e option

Explain how this can be used with git send-email, and how git can be
configured to use it automatically.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-plack: re-indent Config.in help text
Thomas Petazzoni [Tue, 9 Oct 2018 12:21:59 +0000 (14:21 +0200)]
perl-plack: re-indent Config.in help text

Fixes the following check-package warning:

package/perl-plack/Config.in:18: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobird: new package
Adrien Gallouët [Thu, 27 Sep 2018 22:21:01 +0000 (22:21 +0000)]
bird: new package

The BIRD project aims to develop a dynamic IP routing daemon with full
support of all modern routing protocols, easy to use configuration
interface and powerful route filtering language

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
[Thomas:
 - Do not make ncurses/readline mandatory dependencies, since they are
   not. They are only needed when building the BIRD client. Added a
   Config.in sub-option to enable/disable the client. As part of this,
   added ncurses/readline to <pkg>_DEPENDENCIES.
 - Add a patch to fix the installation when the BIRD client is
   disabled, the patch has been submitted upstream.
 - Added host-flex and host-bison to <pkg>_DEPENDENCIES since
   flex/bison are used during the build process.
 - Add BR2_USE_MMU dependency, the code uses fork()
 - Fix alphabetic ordering in DEVELOPERS file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoljlinenoise: fix upstream URL in Config.in
Thomas Petazzoni [Tue, 9 Oct 2018 08:06:59 +0000 (10:06 +0200)]
ljlinenoise: fix upstream URL in Config.in

The current URL no longer exists, as detected by the new pkg-stats.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts/pkg-stats: URL check using threads
Matt Weber [Tue, 2 Oct 2018 02:37:29 +0000 (21:37 -0500)]
support/scripts/pkg-stats: URL check using threads

Adds a pool of worker threads to accelerate connection testing.

~7.5MB and 2% CPU per thread on a Intel i5-3230M CPU @ 2.60GHz.

Runtime is ~3min in parallel vs ~15min.

CC: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/scripts/pkg-stats: URL checking support
Matt Weber [Tue, 2 Oct 2018 02:37:28 +0000 (21:37 -0500)]
support/scripts/pkg-stats: URL checking support

- Adds support to check if a package has a URL and if that URL
  is valid by doing a header request.
- Reports this information as part of the generated html output

The URL data is currently gathered from the URL string provided
in the Kconfig help sections for each package.

This check helps ensure the URLs are valid and can be used
for other scripting purposes as the product's home site/URL.
CPE XML generation is an example of a case that could use this
product URL as part of an automated update generation script.

CC: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialport: fix 5.6.3 license file hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:37 +0000 (23:16 +0200)]
qt5serialport: fix 5.6.3 license file hashes

Fixes [1]:

  ERROR: LICENSE.FDL has wrong sha256 hash:
  ERROR: expected: ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d
  ERROR: got     : e1251235ce9853eecfecfa905da9ee29e9b76e4db2a1c9c4a20699f460419b08

[1] http://autobuild.buildroot.net/results/320db38e94d68b2ea4451c3cc0bd7742c125cedb

We take this opportunity to split the license file hashes in
per-version hash files.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: split in per-version hash files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialbus: split 5.11.2 license file hashes into a separate file
Thomas Petazzoni [Tue, 9 Oct 2018 07:40:31 +0000 (09:40 +0200)]
qt5serialbus: split 5.11.2 license file hashes into a separate file

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5serialbus: fix 5.6.3 license file hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:36 +0000 (23:16 +0200)]
qt5serialbus: fix 5.6.3 license file hashes

Fixes [1]:

  ERROR: LICENSE.FDL has wrong sha256 hash:
  ERROR: expected: ed8742a95cb9db653a09b050e27ccff5e67ba69c14aa2c3137f2a4e1892f6c0d
  ERROR: got     : f827ad079686ba92cc94811e35492d0e8966f704008b6da9eeda0b659fb58a8d

[1] http://autobuild.buildroot.net/results/f8dba48bc1e71332f3983e78c40989e5f864abf3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt5connectivity: add license files hashes
Peter Seiderer [Tue, 2 Oct 2018 21:16:35 +0000 (23:16 +0200)]
qt5connectivity: add license files hashes

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: split in per-version hash files, add missing hash for
LGPL_EXCEPTION.txt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonmap: update license
Fabrice Fontaine [Mon, 8 Oct 2018 20:52:22 +0000 (22:52 +0200)]
nmap: update license

nmap is licensed under GPL-2.0 but with additional restrictions (see
COPYING, especially the "IMPORTANT NMAP LICENSE TERMS" part).

So, following advices of Yann and Arnout (see
https://patchwork.ozlabs.org/patch/979081), set license to nmap license

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobrltty: use gcc instead of ld to link shared objects
Fabrice Fontaine [Mon, 8 Oct 2018 21:05:07 +0000 (23:05 +0200)]
brltty: use gcc instead of ld to link shared objects

Bump to version 5.6 has reintroduced the issue fixed by patch 854093 on
version 5.5.

Indeed, third patch was merged upstream but it was then reverted:
https://github.com/brltty/brltty/commit/9e7d62c869d3c1cbe12dda8b0291a4692c193416

Moreover, since commit 3a2e3f6fa5ef0a210ffeba5ed05c79965d0cc3c7, MKOBJ
was renamed into MKREL. So, patch again brltty, overwrite
MKREL to use "gcc -shared -o" instead of "ld -r -o" if gcc is available
(as suggested by Arnout: https://patchwork.ozlabs.org/patch/972614).

Fixes:
 - http://autobuild.buildroot.org/results/31f682838b3d3b2c7103b5c51f2aba0b89d4f630

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoleveldb: fix parallel build
Fabrice Fontaine [Mon, 8 Oct 2018 21:13:51 +0000 (23:13 +0200)]
leveldb: fix parallel build

Build of leveldb sometimes fails on:
Fatal error: can't create out-shared/db/db_bench.o: No such file or directory

Patch is not upstreamable as upstream switched to cmake

Fixes:
 - http://autobuild.buildroot.net/results/945bb8096c1f98f307161a6def5a9f7f25b2454a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofile: explicitly disable libseccomp support for host
Peter Korsgaard [Mon, 8 Oct 2018 20:28:34 +0000 (22:28 +0200)]
file: explicitly disable libseccomp support for host

Fixes:
http://autobuild.buildroot.net/results/8a2/8a2ea2e4426416447705492237f526fc84b595d7/
http://autobuild.buildroot.net/results/a1f/a1f2369d31c2387efdec908877e0bcaa728b5aeb/

file-5.33 added optional seccomp support, but the filters did not cover all
needed syscalls, leading to errors when the freshly built host-file is
executed as part of the build on distributions with seccomp support (E.G.
Arch Linux):

checking for seccomp_init in -lseccomp... yes
..
../src/file -C -m magic
make[3]: *** [Makefile:764: magic.mgc] Bad system call

This has been fixed in file-5.34, but it anyway makes sense to explicitly
disable libseccomp support for consistency as we do not need it for the host
build.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-cpu: fix build failures due to <sys/unistd.h>
Christopher McCrory [Thu, 27 Sep 2018 14:46:46 +0000 (07:46 -0700)]
perl-sys-cpu: fix build failures due to <sys/unistd.h>

This commit adds a patch that drops an unneeded <sys/unistd.h>
include, as it causes build failures on uClibc/musl.

Fixes:

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

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-sys-cpu: disable in static configurations
Christopher McCrory [Thu, 27 Sep 2018 14:46:45 +0000 (07:46 -0700)]
perl-sys-cpu: disable in static configurations

The perl-sys-cpu package builds a native shared library, which makes
it incompatible with static-only configurations.

Fixes:

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

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibaio: link against libgcc and libc to avoid unresolved symbols
Alexey Brodkin [Fri, 28 Sep 2018 13:37:34 +0000 (16:37 +0300)]
libaio: link against libgcc and libc to avoid unresolved symbols

For some weird reason, the libaio build system passes -nostdlib
-nostartfiles, which causes libgcc to not be linked in, even if it's
needed. Due to this, on some architectures, with specific optimization
features, the build fails with unresolved symbols, as gcc emits code
that uses functions implemented in libgcc.

The fix proposed by Debian developers is to simply drop -nostdlib
-nostartfiles.

Fixes build failures of blktrace, lvm2 and the like users of libaio.

A couple of examples below:
blktrace: http://autobuild.buildroot.net/results/5528ab59f1939a7eff7e85318f3b36283019cc50/
lvm2:     http://autobuild.buildroot.net/results/a5dfc87f94b97135e5cc84f6a876114891ed9dd9/

And since we solve the problem in libaio sources there's no need to
mess with compilation flags in Buildroot, thus partially revert
commit ce6536ae500f ("libaio: work-around for PowerPC issue").

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to libgphoto2
Bernd Kuhls [Sun, 30 Sep 2018 19:03:23 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to libgphoto2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to sdl
Bernd Kuhls [Sun, 30 Sep 2018 19:03:22 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to sdl

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: add optional dependency to opencv3
Bernd Kuhls [Sun, 30 Sep 2018 19:03:21 +0000 (21:03 +0200)]
package/mjpg-streamer: add optional dependency to opencv3

According to
https://github.com/jacksonliam/mjpg-streamer/blob/master/mjpg-streamer-experimental/plugins/input_opencv/README.md
the plugin does not support OpenCV 2.x.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mjpg-streamer: bump version
Bernd Kuhls [Sun, 30 Sep 2018 19:03:20 +0000 (21:03 +0200)]
package/mjpg-streamer: bump version

The currently used github repo from oliv3r does not exist anymore.
https://sourceforge.net/projects/mjpg-streamer/ shows that the status of
the original project site is "Inactive" and points to
https://github.com/jacksonliam/mjpg-streamer as the new site.

The new maintainer is active so we bump the package to HEAD of its
master branch which fixes a glibc-related build error:
http://autobuild.buildroot.net/results/4c8/4c8aac898d4580ed0b8b52cef7779d0f6f6a631f/

Further changes due to this bump:
- removed patch 0001, fix was applied upstream:
  https://github.com/jacksonliam/mjpg-streamer/commit/eb4dafd802b366d9b0310e91e7bb93a1082e7657#diff-511ff6908e8db4543e5a59d0ea4a2f1f
- switched to CMake

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyroute2: bump to version 0.5.3
Asaf Kahlon [Sun, 30 Sep 2018 18:29:34 +0000 (21:29 +0300)]
python-pyroute2: bump to version 0.5.3

The python sqlite module is also needed.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-ipython: bump to version 5.8.0
Asaf Kahlon [Sat, 29 Sep 2018 05:28:35 +0000 (08:28 +0300)]
python-ipython: bump to version 5.8.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibuv: bump to version 1.23.2
Asaf Kahlon [Mon, 8 Oct 2018 18:31:38 +0000 (21:31 +0300)]
libuv: bump to version 1.23.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireless-regdb: use BR2_KERNEL_MIRROR for download site
Peter Seiderer [Thu, 4 Oct 2018 20:48:24 +0000 (22:48 +0200)]
wireless-regdb: use BR2_KERNEL_MIRROR for download site

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireless-regdb: install crda files only if used
Peter Seiderer [Thu, 4 Oct 2018 20:48:23 +0000 (22:48 +0200)]
wireless-regdb: install crda files only if used

Since linux-4.15 the kernel supports loading the files
regulatory.db/regulatory.db.p7s directly from the /lib/firmware
directory, for earlier versions the crda helper application
is needed.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowireless-regdb: bump version to 2018.09.07
Peter Seiderer [Thu, 4 Oct 2018 20:48:22 +0000 (22:48 +0200)]
wireless-regdb: bump version to 2018.09.07

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocmocka: bump to version 1.1.3
Joel Carlson [Wed, 3 Oct 2018 16:58:53 +0000 (10:58 -0600)]
cmocka: bump to version 1.1.3

Removes patch for upstream commit
d677b564c2193a5cd381925c2eeaad6b23c6af2f

Adds hash for license file.

Adds patch to fix a build error encountered by br-mips64-n64-full
toolchain about uintptr_t being declared twice.

Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-firmware: fix hash of WHENCE license file
Giulio Benetti [Wed, 3 Oct 2018 14:11:20 +0000 (16:11 +0200)]
linux-firmware: fix hash of WHENCE license file

In linux-firmware.hash WHENCE sha256 is wrong causing make legal-info to
fail, due to the latest version bump of linux-firmware.

The changes to the WHENCE file are summarized below:
- update mrvl/usb8801_uapsta.bin to version W14.68.36.p131
- remove amdgpu/vegam_me_2.bin
- add qed/qed_init_values_zipped-8.37.7.0.bin
- add brcm/brcmfmac43430-sdio.AP6212.txt and
  brcm/brcmfmac43430-sdio.MUR1DX.txt config files under GPLv2
- update ti-connectivity/wl18xx-fw-4.bin to version 8.9.0.0.79
- update intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq to version
  BT_StonePeak_D1_REL_52_00005
- update intel/ibt-11-5.ddc to version LnP/SfP_REL0487
- update intel/ibt-11-5.sfi to version BT_LightningPeak_REL0487
- update intel/ibt-12-16.ddc to version BT_WindStormPeak_REL0244
- update intel/ibt-12-16.sfi to version BT_WindStormPeak_REL0244
- update intel/ibt-17-16-1.* to version BT_JeffersonPeak_B0_B0_REL0329
- update intel/ibt-17-2.* to version BT_JeffersonPeak_B0_B0_REL0329
- update intel/ibt-18-16-1.* to version BT_ThunderPeak_B0_B0_REL0329
- update intel/ibt-18-2.* to version BT_ThunderPeak_B0_B0_REL0329
- add rtl_bt/rtl8822cu_fw.bin
- add mediatek/mt7622pr2h.bin version 20180621204904
- add mediatek/mt7610u.bin version 2.6
- add mediatek/mt7662u.bin version 1.5
- add mediatek/mt7662u_rom_patch.bin version 0.0.2_P48
- point to LICENCE.mediatek for Mediatek binaries above
- update netronome/flower version to AOTC-2.9.A.31
- update Qualcomm venus-5.2 version to 5.2-00023
- add mellanox/mlxsw_spectrum-13.1702.6.mfa2 and
  mellanox/mlxsw_spectrum-13.1703.4.mfa2 under new Copyright covering
  2017-2018
- add cadence/mhdp8546.bin version 1.2.12 pointing to LICENCE.cadence
  for licensing informations

Recalculate locally and update it.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tvheadend: bump version
Bernd Kuhls [Wed, 3 Oct 2018 08:23:35 +0000 (10:23 +0200)]
package/tvheadend: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x264: bump version to 20181002-2245
Bernd Kuhls [Wed, 3 Oct 2018 08:23:34 +0000 (10:23 +0200)]
package/x264: bump version to 20181002-2245

Switch to upstream provided tarball of the git repo.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/libhdhomerun: bump version to 20180817
Bernd Kuhls [Wed, 3 Oct 2018 08:23:33 +0000 (10:23 +0200)]
package/libhdhomerun: bump version to 20180817

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/dtv-scan-tables: bump version
Bernd Kuhls [Wed, 3 Oct 2018 08:23:32 +0000 (10:23 +0200)]
package/dtv-scan-tables: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxapian: new package
Gilles Talis [Sun, 7 Oct 2018 09:17:01 +0000 (11:17 +0200)]
xapian: new package

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Thomas:
 - add zlib to the DEPENDENCIES variable
 - add missing Config.in comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/qt5base: drop remnants patches from previous version
Yann E. MORIN [Fri, 5 Oct 2018 20:05:02 +0000 (22:05 +0200)]
package/qt5base: drop remnants patches from previous version

When the bump to 5.11.2 was applied, master gained a new patch for 5.11.1
in-between the bump submission and the moment it was applied. That patch
still lingers around now.

Since that patch has been applied upstream (it is detected as a revert
when applied to 5.11.2), we simply drop it.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Seiderer <ps.report@gmx.net>
Cc: Peter Korsgaard <peter@korsgaard.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutils/get-developers: add -e flag to only list email addresses for git send-email
Peter Korsgaard [Mon, 8 Oct 2018 07:43:33 +0000 (09:43 +0200)]
utils/get-developers: add -e flag to only list email addresses for git send-email

When called with a list of patches, get-developers prints the entire git
send-email invocation line:

./utils/get-developers 0001-git-security-bump-to-version-2.16.5.patch
git send-email --to buildroot@buildroot.org --cc "Matt Weber <matthew.weber@rockwellcollins.com>"

This may be handy when creating an entire patch series and editing a cover
letter, but it does mean that this has to be explicitly executed and
get-developers cannot be used directly by the --cc-cmd option of git
send-email to automatically CC affected developers.

So add an -e flag to only let get-developers print the email addresses of
the affected developers in the one-email-per-line format expected by git
send-email, similar to how get_maintainer.pl works in the Linux kernel.

With this and a suitable git configuration:

git config sendemail.to buildroot@buildroot.org
git config sendemail.ccCmd "$(pwd)/utils/get-developers -e"

You can simply do:

git send-email master

To automatically mail the buildroot list and CC affected developers on
patches.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqemu: security bump to 2.12.1
Peter Korsgaard [Mon, 8 Oct 2018 07:08:42 +0000 (09:08 +0200)]
qemu: security bump to 2.12.1

>From the release notes:

This update contains new mitigation functionality for CVE-2018-3639
(Speculative Store Bypass) in x86. There are also bug fixes for
migration, Intel IOMMU emulation, block layer/image handling, ARM
emulation, and various other areas.

https://www.mail-archive.com/qemu-devel@nongnu.org/msg553574.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomanual: add expected order of 'depends on'
Arnout Vandecappelle (Essensium/Mind) [Sun, 7 Oct 2018 20:04:28 +0000 (22:04 +0200)]
manual: add expected order of 'depends on'

As discussed in [1], our guideline for the ordering of 'depends on'
lines is not written down. Fix that.

[1] http://lists.busybox.net/pipermail/buildroot/2018-October/232413.html

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogpsd: upgrade to 3.18
Zoltan Gyarmati [Sun, 7 Oct 2018 19:29:45 +0000 (21:29 +0200)]
gpsd: upgrade to 3.18

Removing previously upstreamed build fix patch and add config
option for the newly introduced Greis driver

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-plack: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:24 +0000 (18:55 +0200)]
perl-plack: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Thomas: split too long DEPENDENCIES line.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-file-sharedir: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:23 +0000 (18:55 +0200)]
perl-file-sharedir: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-file-sharedir-install: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:22 +0000 (18:55 +0200)]
perl-file-sharedir-install: new package

Only the host variant is added, needed as a build time dependency of
the target perl-file-sharedir package.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-http-headers-fast: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:21 +0000 (18:55 +0200)]
perl-http-headers-fast: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-http-entity-parser: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:20 +0000 (18:55 +0200)]
perl-http-entity-parser: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobitstream: fix hash file
Thomas Petazzoni [Mon, 8 Oct 2018 10:27:43 +0000 (12:27 +0200)]
bitstream: fix hash file

In commit d52e17701d73749fe81495b7c956268362ca0bbd
("package/bitstream: bump version to 1.4"), the hash file of the
bitstream package was not properly updated, with the md5 line being
wrong. This commit fixes this problem, which was noticed by
check-package:

package/bitstream/bitstream.hash:2: expected three fields (http://nightly.buildroot.org/#adding-packages-hash)
package/bitstream/bitstream.hash:2: hash size does not match type (http://nightly.buildroot.org/#adding-packages-hash)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-cookie-baker: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:19 +0000 (18:55 +0200)]
perl-cookie-baker: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-apache-logformat-compiler: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:18 +0000 (18:55 +0200)]
perl-apache-logformat-compiler: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-module-build-tiny: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:17 +0000 (18:55 +0200)]
perl-module-build-tiny: new package

Only the host variant is added, which is needed as a build dependency
of perl-apache-logformat-compiler.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-extutils-installpaths: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:16 +0000 (18:55 +0200)]
perl-extutils-installpaths: new package

Only the host variant is added, which is needed as a dependency of
perl-module-build-tiny (host), itself needed for
perl-apache-logformat-compiler (target).

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-extutils-helpers: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:15 +0000 (18:55 +0200)]
perl-extutils-helpers: new package

Only the host variant is added, which is needed as a dependency of
perl-module-build-tiny (host), itself needed for
perl-apache-logformat-compiler (target).

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-extutils-config: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:14 +0000 (18:55 +0200)]
perl-extutils-config: new package

Only the host variant is added, which is needed as a dependency of
perl-module-build-tiny (host), itself needed for
perl-apache-logformat-compiler (target).

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-www-form-urlencoded: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:13 +0000 (18:55 +0200)]
perl-www-form-urlencoded: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-stream-buffered: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:12 +0000 (18:55 +0200)]
perl-stream-buffered: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-posix-strftime-compiler: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:11 +0000 (18:55 +0200)]
perl-posix-strftime-compiler: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-http-multipartparser: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:10 +0000 (18:55 +0200)]
perl-http-multipartparser: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-hash-multivalue: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:09 +0000 (18:55 +0200)]
perl-hash-multivalue: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-filesys-notify-simple: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:08 +0000 (18:55 +0200)]
perl-filesys-notify-simple: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-devel-stacktrace-ashtml: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:07 +0000 (18:55 +0200)]
perl-devel-stacktrace-ashtml: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-devel-stacktrace: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:06 +0000 (18:55 +0200)]
perl-devel-stacktrace: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoperl-class-inspector: new package
Francois Perrad [Sat, 6 Oct 2018 16:55:05 +0000 (18:55 +0200)]
perl-class-inspector: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-ubjson: bump to version 0.12.0
Asaf Kahlon [Sat, 6 Oct 2018 14:33:31 +0000 (17:33 +0300)]
python-ubjson: bump to version 0.12.0

Also add license hash.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mariadb: bump version to 10.3.10
Peter Seiderer [Sun, 7 Oct 2018 17:06:37 +0000 (19:06 +0200)]
package/mariadb: bump version to 10.3.10

Release notes:
https://mariadb.com/kb/en/library/mariadb-10310-release-notes/

Changelog: https://mariadb.com/kb/en/mariadb-10310-changelog/

This bump also fixes broken atomic support for
BR2_TOOLCHAIN_HAS_LIBATOMIC=y with mariadb-10.2:

[ 59%] Linking CXX executable mariabackup
../../storage/innobase/libinnobase.a(handler0alter.cc.o): In function `my_atomic_add64':
/home/bernd/buildroot/output/build/mariadb-10.2.17/include/my_atomic.h:274:
 undefined reference to `__sync_fetch_and_add_8'

with this defconfig

BR2_arcle=y
BR2_archs38=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2018.02-926-gb393c24.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_MYSQL=y
BR2_PACKAGE_MARIADB=y
BR2_PACKAGE_MARIADB_SERVER=y

Adding "-latomic" to CXXFLAGS and/or adding -DHAVE_GCC_ATOMIC_BUILTINS=1
to CONF_OPTS, like we do for mariadb-10.3, does not fix the build error
with mariadb-10.2. There the build would stop even earlier without these
options:

/home/bernd/buildroot/output/build/mariadb-10.2.17/include/my_atomic.h:138:2:
 error: #error atomic ops for this platform are not implemented
 #error atomic ops for this platform are not implemented

Mariadb-10.3 contains improved atomic support, this build error does
not occur here.

Updated license hash of README.md after upstream commits:
https://github.com/MariaDB/server/commits/10.3/README.md

my-small.cnf.sh is not provided anymore by upstream:
https://github.com/MariaDB/server/commit/7fee164faf8fce7be4ebe322d2178efd3d075eae

[Peter Seiderer: bumped to version 10.3.7]
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Bernd: bumped to version 10.3.10, fixed atomic support,
 fixed my-small.cnf.sh, updated license hash]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mariadb: handle missing ucontext_t
Bernd Kuhls [Sun, 7 Oct 2018 17:06:36 +0000 (19:06 +0200)]
package/mariadb: handle missing ucontext_t

On some archs uclibc does not provide ucontext_t, for details see
https://git.buildroot.net/buildroot/commit/?id=f1cbfeea95e6287c7a666aafc182ffa318eff262

This patch fixes a build error

In file included from /home/bernd/buildroot/output/build/mariadb-10.2.17/libmariadb/plugins/pvio/pvio_socket.c:32:0:
/home/bernd/buildroot/output/build/mariadb-10.2.17/libmariadb/include/ma_context.h:62:3: error: unknown type name ‘ucontext_t’
   ucontext_t base_context;
   ^~~~~~~~~~

using this defconfig:

BR2_arcle=y
BR2_archs38=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arcle-hs38-full-2018.02-926-gb393c24.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_7=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_1=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_PACKAGE_MYSQL=y
BR2_PACKAGE_MARIADB=y
BR2_PACKAGE_MARIADB_SERVER=y

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocs/website/sponsors: add sponsors of the Buildroot Developers Meeting @ ELCE 2018
Thomas Petazzoni [Mon, 8 Oct 2018 07:32:40 +0000 (09:32 +0200)]
docs/website/sponsors: add sponsors of the Buildroot Developers Meeting @ ELCE 2018

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/sponsors: credit Scaleway for the Hackathon
Thomas Petazzoni [Mon, 8 Oct 2018 07:32:39 +0000 (09:32 +0200)]
docs/website/sponsors: credit Scaleway for the Hackathon

Better late than never: let's thank Scaleway who provided some
excellent hosting conditions for our March 2018 Hackathon in Paris.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website/sponsors: remove "current sponsors", update "past sponsors"
Thomas Petazzoni [Mon, 8 Oct 2018 07:32:38 +0000 (09:32 +0200)]
docs/website/sponsors: remove "current sponsors", update "past sponsors"

This commit removes Google and Mind as "Current sponsors" and credits
them as "Past sponsors" for the FOSDEM 2018 Buildroot Developers
Meeting.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agogit: security bump to version 2.16.5
Peter Korsgaard [Sun, 7 Oct 2018 10:47:21 +0000 (12:47 +0200)]
git: security bump to version 2.16.5

Fixes CVE-2018-17456: RCE issue in handling of git submodules

For more details, see the announcement:
https://marc.info/?l=git&m=153875888916397&w=2

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/linux-headers: really drop the 4.17 choice
Yann E. MORIN [Thu, 4 Oct 2018 20:00:30 +0000 (22:00 +0200)]
package/linux-headers: really drop the 4.17 choice

Currently, the build fails when the kernel headers 4.17 are selected:

    package/linux-headers/linux-headers.mk:149: *** LINUX_HEADERS_SITE
    cannot be empty when LINUX_HEADERS_SOURCE is not.  Stop.

This is caused by an hickup during the last merge of the next branch,
where the value for 4.17 got dropped from BR2_DEFAULT_KERNEL_HEADERS,
but the choice entry was left in.

The correct fix against that hickup would be to restore the 4.17 value.
But since 4.17 is no longer maintained, the proper fix is to really drop
4.17 altogether.

For good this time! ;-)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolegacy: don't select kernel headers
Yann E. MORIN [Thu, 4 Oct 2018 20:00:29 +0000 (22:00 +0200)]
legacy: don't select kernel headers

The kernel headers versions are parts of a choice, so we can't select
them.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosunxi-mali-mainline-driver: bump version
Giulio Benetti [Fri, 5 Oct 2018 14:58:56 +0000 (16:58 +0200)]
sunxi-mali-mainline-driver: bump version

For adding license information.

git shortlog --invert-grep --grep travis --no-merges 8e6b7d25b13089d53dbfc1ebd9e8737b0dc809cb..
Giulio Benetti (1):
      LICENSE: add license file according to ARM base code

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/qpdf: bump to version 8.2.1
Olivier Schonken [Fri, 5 Oct 2018 13:30:47 +0000 (15:30 +0200)]
package/qpdf: bump to version 8.2.1

[Peter: fix version number in hash comment]
Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-txtorcon: bump to version 18.2.0
Asaf Kahlon [Fri, 5 Oct 2018 05:27:25 +0000 (08:27 +0300)]
python-txtorcon: bump to version 18.2.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-django: bump to version 2.1.2
Asaf Kahlon [Fri, 5 Oct 2018 04:46:36 +0000 (07:46 +0300)]
python-django: bump to version 2.1.2

Django has dropped support for Python 2.x

Fixes:
http://autobuild.buildroot.org/results/423/423d480271b8bfdd9319a11cd97f9229681478e4

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libdrm: bump version to 2.4.95
Bernd Kuhls [Thu, 4 Oct 2018 17:41:25 +0000 (19:41 +0200)]
package/libdrm: bump version to 2.4.95

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.08.1
Peter Korsgaard [Sun, 7 Oct 2018 09:46:29 +0000 (11:46 +0200)]
docs/website: update for 2018.08.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.08.1
Peter Korsgaard [Sun, 7 Oct 2018 09:32:23 +0000 (11:32 +0200)]
Update for 2018.08.1

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 5cb24d72b2835defb03b0448ac51c5ee1d9ee3b0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.02.6
Peter Korsgaard [Sun, 7 Oct 2018 07:57:11 +0000 (09:57 +0200)]
docs/website: update for 2018.02.6

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.02.6
Peter Korsgaard [Sun, 7 Oct 2018 07:19:35 +0000 (09:19 +0200)]
Update for 2018.02.6

[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 67d61cbef5ff190b803745b332d0f7d7177210fc)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodocs/website: update for 2018.05.3
Peter Korsgaard [Sun, 7 Oct 2018 06:40:57 +0000 (08:40 +0200)]
docs/website: update for 2018.05.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.05.3
Peter Korsgaard [Sat, 6 Oct 2018 07:52:12 +0000 (09:52 +0200)]
Update for 2018.05.3

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