buildroot.git
6 years agopackage/linux-headers: add support for fetching from custom tarball/git
Mark Corbin [Sun, 23 Sep 2018 19:43:12 +0000 (21:43 +0200)]
package/linux-headers: add support for fetching from custom tarball/git

Add support for building toolchains against custom headers. Allows
the selection of a manual version, custom tarball or custom git
repository for the kernel headers. This enables toolchains to be
built against custom kernel headers without having to build a full
kernel.

This is particularly useful for new architectures, such as RISC-V
where updated kernel headers may not have made it into the mainline
kernel yet.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: prepare to support custom tarball/git
Mark Corbin [Sun, 23 Sep 2018 19:33:51 +0000 (21:33 +0200)]
linux-headers: prepare to support custom tarball/git

This commit reworks how linux-headers.mk is written to prepare adding
support for custom tarball/git fetching for the Linux kernel headers.

Basically, the idea is to have a single condition at the beginning of
the file that defines a number of LINUX_HADERS_* variables depending
on whether "kernel headers same as kernel" is used or not, and then
use these variables in the rest of the .mk file.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: split from the original patch "package/linux-headers: add
support for custom headers" from Mark. The commit log is entirely
mine.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux: add hash file
Mark Corbin [Wed, 12 Sep 2018 10:22:51 +0000 (11:22 +0100)]
linux: add hash file

Added a hash file for the Linux kernel. Hashes have been copied
from the appropriate sha256sums.asc files on kernel.org.
The Linux hash file is also shared with the linux-headers package
via a symbolic link.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: update hashes with recent linux-headers changes.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agochrony: bump to version 3.4
Ferdinand van Aartsen [Fri, 21 Sep 2018 15:35:16 +0000 (17:35 +0200)]
chrony: bump to version 3.4

Patch 0002-util-fall-back-to-reading-dev-urandom-when-getrandom.patch
was applied upstream in this version, so it can be deleted.

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibuv: bump to version 1.23.1
Asaf Kahlon [Fri, 21 Sep 2018 15:41:08 +0000 (18:41 +0300)]
libuv: bump to version 1.23.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoigmpproxy: bump to version 0.2.1
Fabrice Fontaine [Fri, 21 Sep 2018 21:29:07 +0000 (23:29 +0200)]
igmpproxy: bump to version 0.2.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoigmpproxy: fix license
Fabrice Fontaine [Fri, 21 Sep 2018 21:29:06 +0000 (23:29 +0200)]
igmpproxy: fix license

mrouted part of igmpproxy is licensed under BSD-3-Clause so add this in
IGMPPROXY_LICENSE and add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobusybox: bump version to 1.29.3
Ferdinand van Aartsen [Sat, 22 Sep 2018 14:06:41 +0000 (16:06 +0200)]
busybox: bump version to 1.29.3

Remove 0003-Revert-libbb-remove-unnecessary-variable-in-xmalloc_.patch
It caused a segfault which was fixed in this release.

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodvblast: bump to version 3.3
Fabrice Fontaine [Sat, 22 Sep 2018 20:01:05 +0000 (22:01 +0200)]
dvblast: bump to version 3.3

Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodvblast: drop NPTL dependency
Fabrice Fontaine [Sat, 22 Sep 2018 20:00:45 +0000 (22:00 +0200)]
dvblast: drop NPTL dependency

The latest uClibc-ng version (1.0.30) provides clock_nanosleep() even
for non NPTL configurations.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnfs: fix license and add hashes for license files
Fabrice Fontaine [Sat, 22 Sep 2018 19:44:42 +0000 (21:44 +0200)]
libnfs: fix license and add hashes for license files

As specified in COPYING, examples are licensed under GPL-3.0+ and .x
files are licensed under BSD-2-Clause.

So update LIBNFS_LICENSE, add COPYING, LICENCE-BSD.txt and
LICENCE-GPL-3.txt to LIBNFS_LICENSE_FILES and add hash for all license
files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoncmpc: bump to version 0.31
Fabrice Fontaine [Sun, 23 Sep 2018 13:44:13 +0000 (15:44 +0200)]
ncmpc: bump to version 0.31

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocan-utils: drop NPTL dependency
Fabrice Fontaine [Sun, 23 Sep 2018 12:20:58 +0000 (14:20 +0200)]
can-utils: drop NPTL dependency

The latest uClibc-ng version (1.0.30) provides clock_nanosleep() even
for non NPTL configurations.

Don't keep a dependency on threads as can-utils doesn't need it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomonkey: add license file hash
Baruch Siach [Sun, 23 Sep 2018 04:22:35 +0000 (07:22 +0300)]
monkey: add license file hash

Cc: Morgan Delestre <m.delestre@sinters.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomonkey: switch to cmake package
Baruch Siach [Sun, 23 Sep 2018 04:22:34 +0000 (07:22 +0300)]
monkey: switch to cmake package

Since version 1.6.x the configure script is a wrapper around cmake. Use
cmake directly since we want to make sure that cmake is available.

monkey no longer provides the libmonkey.so shared library. Remove the
BR2_PACKAGE_MONKEY_SHARED option.

Fixes:
http://autobuild.buildroot.net/results/b07/b077720c16857b752f4f38b73619a6a62862f35f/
http://autobuild.buildroot.net/results/799/799bcbd332f254fbf3d3547e5e52ac9463d58bcc/
http://autobuild.buildroot.net/results/3b0/3b095ca77a900af724fbc79d9cc20cbb9931fe15/

Cc: Morgan Delestre <m.delestre@sinters.fr>
Cc: David Pierret <david.pierret@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibxslt: point to the correct xml2-config location
Ferdinand van Aartsen [Fri, 21 Sep 2018 14:58:36 +0000 (16:58 +0200)]
libxslt: point to the correct xml2-config location

Currently libxslt configure finds native /usr/bin/xml2-config.

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-setuptools: use pypi package
Adam Duskett [Fri, 21 Sep 2018 15:01:50 +0000 (11:01 -0400)]
python-setuptools: use pypi package

The releases on Github produces a setuptools version that isn't PEP518
compliant because a .post number is attached to the .egg file
(IE: 40.0.0.post20180820) which can cause a python package using setuptools
to fail if looking for a setuptools version.

Instead, using the official release from pypi is recommended as it does not
produce a  .post version on the egg file.

Another benefit is not having to run bootstrap.py either.

See https://github.com/pypa/setuptools/issues/1462 for more details about
the issue

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoblktrace: drop NPTL dependency
Fabrice Fontaine [Fri, 21 Sep 2018 21:54:41 +0000 (23:54 +0200)]
blktrace: drop NPTL dependency

The latest uClibc-ng version (1.0.30) provides clock_nanosleep() even
for non NPTL configurations.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxfsprogs: bump to version 4.18.0
Fabrice Fontaine [Sun, 16 Sep 2018 18:07:13 +0000 (20:07 +0200)]
xfsprogs: bump to version 4.18.0

- Update second patch because crc32 moved from libxfs to libfrog:
  https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=973de649842b6f96db32e5060b62e8fbcc05f033
- Update XFSPROGS_LICENSE_FILES because doc/COPYING has been replaced by
  LICENSES/GPL-2.0 and LICENSES/LGPL-2.1, see:
  https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/commit/?id=959ef98176005b1aa69619dd76b1d46cf112dfc4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutils/check-package: detect the use of ${} in .mk files
Ricardo Martincoski [Mon, 9 Jul 2018 01:56:47 +0000 (22:56 -0300)]
utils/check-package: detect the use of ${} in .mk files

And warn to use $() instead.
For examples see [1] and [2].

In the regexp, search for ${VARIABLE} but:
 - ignore comments;
 - ignore variables to be expanded by the shell "$${}".

[1] http://lists.busybox.net/pipermail/buildroot/2018-July/225211.html
[2] https://github.com/buildroot/buildroot/commit/36305380db1312442623128689fe5067d9058381

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoscancpan: skip Dist::Zilla
Christopher McCrory [Mon, 20 Aug 2018 11:16:22 +0000 (04:16 -0700)]
scancpan: skip Dist::Zilla

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutils/scancpan: support more licenses
Christopher McCrory [Mon, 20 Aug 2018 11:16:23 +0000 (04:16 -0700)]
utils/scancpan: support more licenses

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
Reviewed-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinycbor: fix undefined encode_half in json2cbor
Fabrice Fontaine [Thu, 20 Sep 2018 17:34:19 +0000 (19:34 +0200)]
tinycbor: fix undefined encode_half in json2cbor

encode_half has been moved from compilersupport_p.h to cborinternal_p.h
in commit
https://github.com/intel/tinycbor/commit/bfc40dcf909f1998d7760c2bc0e1409979d3c8cb
so include this file in json2cbor to avoid the following build failure
on tinycbor 0.5.2:

/home/buildroot/autobuild/run/instance-0/output/host/bin/microblazeel-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os    -c -o tools/json2cbor/json2cbor.o tools/json2cbor/json2cbor.c
tools/json2cbor/json2cbor.c: In function 'decode_json_with_metadata':
tools/json2cbor/json2cbor.c:295:50: warning: implicit declaration of function 'encode_half' [-Wimplicit-function-declaration]
                                          (half = encode_half(v), cbor_encode_half_float(encoder, &half));
                                                  ^~~~~~~~~~~
/home/buildroot/autobuild/run/instance-0/output/host/bin/microblazeel-linux-gcc -o bin/json2cbor  tools/json2cbor/json2cbor.o lib/libtinycbor.so -lcjson -lm
tools/json2cbor/json2cbor.o: In function `decode_json_with_metadata':
(.text+0xe54): undefined reference to `encode_half'
collect2: error: ld returned 1 exit status
Makefile:151: recipe for target 'bin/json2cbor' failed

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocppcms: bump to version 1.2.1
Fabrice Fontaine [Tue, 18 Sep 2018 21:34:04 +0000 (23:34 +0200)]
cppcms: bump to version 1.2.1

cppcms is now licensed under MIT so update license and add hash for
MIT.TXT

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocppcms: fix license
Fabrice Fontaine [Tue, 18 Sep 2018 21:34:03 +0000 (23:34 +0200)]
cppcms: fix license

cppcms contains embedded third party software so add
THIRD_PARTY_SOFTWARE.TXT to CPPCMS_LICENSE_FILES as well as the
additional licenses to CPPCMS_LICENSE.
Also add hash for COPYING.TXT and THIRD_PARTY_SOFTWARE.TXT

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/kconfig: bump to kconfig from Linux 4.17-rc2
Petr Vorel [Wed, 19 Sep 2018 11:36:15 +0000 (13:36 +0200)]
support/kconfig: bump to kconfig from Linux 4.17-rc2

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/xloader: add upstream URL in Config.in help
Matt Weber [Thu, 20 Sep 2018 13:24:50 +0000 (08:24 -0500)]
boot/xloader: add upstream URL in Config.in help

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/bandwidthd: put upstream URL on separate lines in Config.in help
Matt Weber [Thu, 20 Sep 2018 13:24:53 +0000 (08:24 -0500)]
package/bandwidthd: put upstream URL on separate lines in Config.in help

Allows scripting of URL checking to be simplier

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/arp-scan: update upstream URL in Config.in help
Matt Weber [Thu, 20 Sep 2018 13:24:52 +0000 (08:24 -0500)]
package/arp-scan: update upstream URL in Config.in help

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/android-tools: update upstream URL in Config.in help
Matt Weber [Thu, 20 Sep 2018 13:24:51 +0000 (08:24 -0500)]
package/android-tools: update upstream URL in Config.in help

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/at91bootstrap3: add upstream URL in Config.in help text
Matt Weber [Thu, 20 Sep 2018 13:24:48 +0000 (08:24 -0500)]
boot/at91bootstrap3: add upstream URL in Config.in help text

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/vexpress-firmware: add upstream URL in Config.in help text
Matt Weber [Thu, 20 Sep 2018 13:24:57 +0000 (08:24 -0500)]
boot/vexpress-firmware: add upstream URL in Config.in help text

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/connman: simplify upstream URL
Matt Weber [Thu, 20 Sep 2018 13:24:54 +0000 (08:24 -0500)]
package/connman: simplify upstream URL

The "For more information, see" is a bit useless, and not having the
URL alone on its own line prevents scripted URL checking.

Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibv4l: fix build with glibc 2.28
Baruch Siach [Wed, 19 Sep 2018 19:55:23 +0000 (22:55 +0300)]
libv4l: fix build with glibc 2.28

Add two upstream patches adding the needed header for the major/minor
macros.

Fixes:
http://autobuild.buildroot.net/results/f38/f3858970c1bbb7b0201389f7656c9ccf15a59fda/

Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-paramiko: bump to version 2.4.2
Asaf Kahlon [Wed, 19 Sep 2018 19:10:21 +0000 (22:10 +0300)]
python-paramiko: bump to version 2.4.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/strongswan: install dev headers
Matt Weber [Thu, 20 Sep 2018 15:16:27 +0000 (10:16 -0500)]
package/strongswan: install dev headers

Adds '--with-dev-headers' configure option to install
development headers into staging.  The package provides
these headers to enable linking against pluggins.

Signed-off-by: Paresh Chaudhary <paresh.chaudhary@rockwellcollins.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 18}.x series
Fabio Estevam [Thu, 20 Sep 2018 15:27:04 +0000 (12:27 -0300)]
linux-headers: bump 4.{4, 9, 14, 18}.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.18.9
Fabio Estevam [Thu, 20 Sep 2018 15:27:03 +0000 (12:27 -0300)]
linux: bump default to version 4.18.9

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomusl: add upstream patch to fix race condition in file locking
Thomas Petazzoni [Wed, 19 Sep 2018 06:44:24 +0000 (08:44 +0200)]
musl: add upstream patch to fix race condition in file locking

According to [1]:

  musl 1.1.20 introduced a regression in stdio FILE locking that can
  cause soft deadlocks with >2 threads contending for a
  FILE. Users/dists should apply
  https://git.musl-libc.org/cgit/musl/commit/?id=0db393d3a77bb9f300a356c6a5484fc2dddb161d.

[1] https://twitter.com/musllibc/status/1042292786568024070

This commit therefore adds the corresponding patch to the musl
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoe2fsprogs: drop unicode space in comment
Peter Korsgaard [Wed, 19 Sep 2018 05:01:43 +0000 (07:01 +0200)]
e2fsprogs: drop unicode space in comment

Commit c1cf9ba80 (e2fsprogs: disable parallel build for host installation)
added a unicode (non-breaking) space in a comment.  Replace it with a normal
ASCII space for consistency with elsewhere.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agozsh: bump to version 5.6.2
Fabrice Fontaine [Tue, 18 Sep 2018 20:10:36 +0000 (22:10 +0200)]
zsh: bump to version 5.6.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobrltty: bump to version 5.6
Fabrice Fontaine [Sun, 16 Sep 2018 14:55:11 +0000 (16:55 +0200)]
brltty: bump to version 5.6

- Remove first, second and third patch (already in version)
- Fix major/minor build failure with glibc 2.28, see:
  https://github.com/brltty/brltty/commit/cee581fac78d29bdf9acb6d1378cf4d005ff3afd
- Update web site URL to brltty.app, see
  https://github.com/brltty/brltty/commit/97efaecd6cfb665c0b5f0ac8ec69416618d45635
- Update license to LPGL-2.1+, see:
  https://github.com/brltty/brltty/commit/16ccb7d13f018e7557633a24fc02866b85871fa0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobrltty: add license
Fabrice Fontaine [Sun, 16 Sep 2018 14:55:10 +0000 (16:55 +0200)]
brltty: add license

brltty 5.5 is licensed under GPL-2.0+ with exceptions in LGPL-2.1+ for
data and client side as specified in README so add this information in
BRLTTY_LICENSE, update BRLTTY_LICENSE_FILES and add hash for README

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoMakefile: fix issue with printvars executing giant shell command
Trent Piepho [Mon, 17 Sep 2018 18:10:54 +0000 (11:10 -0700)]
Makefile: fix issue with printvars executing giant shell command

The underlying problem is that $(foreach V,1 2 3,) does not evaluate to
an empty string.  It evaluates to "  ", three empty strings separated by
whitespace.

A construct of this format, with a giant list in the foreach, is part of
the printvars command.  This means that "@:$(foreach ....)", which is
intended to expand to a null command, in fact expands to "@:       "
with a great deal of whitespace.  Make chooses to execute this command
with:
    execve("/bin/sh", ["/bin/sh", "-c", ":       "]

But with far more whitespace.  So much that it can exceed shell command
line length limits.

This solution is to move the foreach to another step in the recipe.  The
"@:" is retained as the first line so the recipe is not Empty, which
would cause a change in make behavior when make builds the target.  The
2nd line, all whitespace, will be skipped by make.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomonkey: add option for SSL/TLS plugin compilation
David Pierret [Mon, 17 Sep 2018 13:05:49 +0000 (15:05 +0200)]
monkey: add option for SSL/TLS plugin compilation

This commit add an option to enable SSL/TLS plugin compilation who is
not build by default.

Signed-off-by: David Pierret <david.pierret@gmail.com>
[Thomas: add missing dependency on mbedtls.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomonkey: bump to version 1.6.9
David Pierret [Mon, 17 Sep 2018 13:05:48 +0000 (15:05 +0200)]
monkey: bump to version 1.6.9

This commit update monkey-server package to 1.6.9

The --datadir option have been moved to --webroot.
The --plugdir option does not exist anymore.

Signed-off-by: David Pierret <david.pierret@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodtc: Fix segfault reading powernv device tree
Joel Stanley [Tue, 18 Sep 2018 03:57:50 +0000 (13:27 +0930)]
dtc: Fix segfault reading powernv device tree

When running this command on a powernv machine, dtc crashes:

 dtc -f -I fs -O dts /sys/firmware/devicetree

Upstream has fixed the segfault but have not made a release yet so we
add the patch for now.

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotinycbor: bump to version 0.5.2
Fabrice Fontaine [Mon, 17 Sep 2018 20:51:55 +0000 (22:51 +0200)]
tinycbor: bump to version 0.5.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotzdump: bump to version e1a52ce12a701b8ea4163d6719713e38c0e53d35
Marcel Patzlaff [Tue, 18 Sep 2018 13:40:21 +0000 (15:40 +0200)]
tzdump: bump to version e1a52ce12a701b8ea4163d6719713e38c0e53d35

This brings the following changes:

$ git slog 65a10105564801094b18c3fcacf4dde4c44e4ab8..e1a52ce12a701b8ea4163d6719713e38c0e53d35
e1a52ce12a701b8ea4163d6719713e38c0e53d35 Merge pull request #2 from mcpat/master
21764c4bc373dc7f770f9d87d77c5efca50d2733 Wrap timezone abbreviations with angle brackets if required

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosmcroute: bump to version 2.4.2
Marcel Patzlaff [Tue, 18 Sep 2018 13:18:55 +0000 (15:18 +0200)]
smcroute: bump to version 2.4.2

While at it, add a hash for the license file.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
[Thomas: add hash for license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agos6-linux-utils: fix build with glibc 2.28
Baruch Siach [Tue, 18 Sep 2018 12:36:15 +0000 (15:36 +0300)]
s6-linux-utils: fix build with glibc 2.28

Add upstream patch that adds needed header for the major/minor macros.

Fixes:
http://autobuild.buildroot.net/results/974/9742dfabd9b244e1381983dd05edd3e65504f0fe/

Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/olimex_a20_olinuxino_lime_mali: rename to olimex_a20_olinuxino_lime_legacy
Francois Perrad [Tue, 18 Sep 2018 16:35:23 +0000 (18:35 +0200)]
configs/olimex_a20_olinuxino_lime_mali: rename to olimex_a20_olinuxino_lime_legacy

This commit renames olimex_a20_olinuxino_lime_mali to
olimex_a20_olinuxino_lime_legacy, because the upstream Linux kernel
now also supports using the Mali GPU.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mongodb: add patch to compile with glibc >= 2.28
Florian La Roche [Wed, 12 Sep 2018 08:34:47 +0000 (10:34 +0200)]
package/mongodb: add patch to compile with glibc >= 2.28

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

Signed-off-by: Florian La Roche <F.LaRoche@pilz.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agodocker-containerd: bump to v1.1.3
Christian Stewart [Thu, 13 Sep 2018 05:22:24 +0000 (22:22 -0700)]
docker-containerd: bump to v1.1.3

This commit bumps docker-containerd to v1.1.3.

This is a requisite bump for the upgrade of docker-engine to 2018.06.

The license file was renamed from LICENSE.code to LICENSE, so we take
this opportunity to add the hash for the license file. The only change
between LICENSE.code and LICENSE is:

-   Copyright 2013-2016 Docker, Inc.
+   Copyright The containerd Authors

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: fix legal info, add hash for license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agorunc: bump to 69663f0b
Christian Stewart [Thu, 13 Sep 2018 05:22:23 +0000 (22:22 -0700)]
runc: bump to 69663f0b

This commit bumps runc to the requisite version for Docker 2018.06.

Added note about where runc version dependency is declared:

RUNC_VERSION = 69663f0bd4b60df09991c08812a60108003fa340

We take this opportunity to add the hash for the license file.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: add hash for license file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gcc: glibc >= 2.27 needs gcc >= 5 on aarch64
Romain Naour [Sat, 15 Sep 2018 15:54:13 +0000 (17:54 +0200)]
package/gcc: glibc >= 2.27 needs gcc >= 5 on aarch64

With the following defconfig:
BR2_aarch64=y
BR2_BINUTILS_VERSION_2_28_X=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y

The build fail with this error:
In file included from ../sysdeps/ieee754/flt-32/math_config.h:23:0,
                 from ../sysdeps/ieee754/flt-32/e_expf.c:29:
../sysdeps/aarch64/fpu/math_private.h: In function 'roundtoint':
../sysdeps/aarch64/fpu/math_private.h:311:3: error: implicit declaration of function 'vrndn_f64' [-Werror=implicit-function-declaration]
   return vget_lane_f64 (vrndn_f64 (vld1_f64 (&x)), 0);
   ^
cc1: all warnings being treated as errors

vrndn_f64 function has been introduced in glibc code since version 2.27 [1].
So we can't build a glibc based toolchain with gcc 4.9 anymore.

Add a new dependency in the toolchain infra to avoid selecting
glibc toolchain using gcc 4.9.

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=72aa623345ada1276ed89dbc00fdff9639cb8eaf

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibssh2: fix build failure due to pointer dereferencing ambiguity
Giulio Benetti [Thu, 13 Sep 2018 08:08:54 +0000 (10:08 +0200)]
libssh2: fix build failure due to pointer dereferencing ambiguity

When dereferencing from *aes_ctr_cipher, being a pointer itself,
ambiguity can occur with compiler and build can fail reporting:
openssl.c:574:20: error: ‘*aes_ctr_cipher’ is a pointer; did you mean to use ‘->’?
     *aes_ctr_cipher->nid = type;

Add a patch to sorround every *aes_ctr_cipher-> occurence with
paranthesis like this (*aes_ctr_cipher)->

Fixes:
http://autobuild.buildroot.net/results/97c/97c43dd2122f55f3166683aa1b29ce1ca54bcb9c/
http://autobuild.buildroot.net/results/4b7/4b728d275f1399e3cb72d40482076ee54b35852a/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: switch to 8.1 as the default version
Romain Naour [Fri, 14 Sep 2018 21:48:15 +0000 (23:48 +0200)]
package/gdb: switch to 8.1 as the default version

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: bump to version 8.2
Romain Naour [Fri, 14 Sep 2018 21:48:14 +0000 (23:48 +0200)]
package/gdb: bump to version 8.2

Rebase existing patches on gdb 8.2.

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

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobotan: fix static build
Fabrice Fontaine [Sun, 16 Sep 2018 09:49:55 +0000 (11:49 +0200)]
botan: fix static build

Don't pass crs in AR as it is now done by botan, see:
https://github.com/randombit/botan/commit/a9e4eede3942748234d705cc616ecc106e3767a6

Fixes:
 - http://autobuild.buildroot.org/results/5c15fe739cb1b6079dacf234699ee048924b74fb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoowfs: bump to version 3.2p2
Fabrice Fontaine [Sat, 15 Sep 2018 10:35:44 +0000 (12:35 +0200)]
owfs: bump to version 3.2p2

Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoipsec-tools: needs host-bison
Fabrice Fontaine [Sat, 15 Sep 2018 09:59:06 +0000 (11:59 +0200)]
ipsec-tools: needs host-bison

Making all in racoon
/bin/sh ../../ylwrap cfparse.y y.tab.c cfparse.c y.tab.h `echo cfparse.c | sed -e s/cc$/hh/ -e s/cpp$/hpp/ -e s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output cfparse.output -- yacc -d
../../ylwrap: line 176: yacc: command not found
make[5]: *** [cfparse.c] Error 127

Fixes:
 - http://autobuild.buildroot.org/results/88c8bba943300df98b428646387c240f4522f40a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoluarocks: bump to version 3.0.3
Francois Perrad [Sun, 16 Sep 2018 06:51:43 +0000 (08:51 +0200)]
luarocks: bump to version 3.0.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoexfat-utils: bump to version 1.3.0
Fabrice Fontaine [Sat, 15 Sep 2018 21:08:04 +0000 (23:08 +0200)]
exfat-utils: bump to version 1.3.0

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoexfat: bump to version 1.3.0
Fabrice Fontaine [Sat, 15 Sep 2018 21:08:03 +0000 (23:08 +0200)]
exfat: bump to version 1.3.0

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agomemcached: bump to version 1.5.10
Fabrice Fontaine [Sat, 15 Sep 2018 20:52:52 +0000 (22:52 +0200)]
memcached: bump to version 1.5.10

Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofeh: add optional libexif dependency
Fabrice Fontaine [Sat, 15 Sep 2018 19:52:52 +0000 (21:52 +0200)]
feh: add optional libexif dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/samba4: bump version to 4.9.0
Bernd Kuhls [Sat, 15 Sep 2018 18:16:30 +0000 (20:16 +0200)]
package/samba4: bump version to 4.9.0

Release notes: https://www.samba.org/samba/history/samba-4.9.0.html

Added optional dependency to libarchive to fix configure error:

Checking for libarchive existence
Checking for header archive.h        : no
/home/buildroot/br5/output/build/samba4-4.9.0/source3/wscript:225:
 error: libarchive support not found. Try installing libarchive-dev or
 libarchive-devel. Otherwise, use --without-libarchive to build without
 libarchive support. libarchive support is required for the smbclient
 tar-file mode

Disabled gpgme support to fix configure error:

Checking for program gpgme-config    : not found
Checking for library gpgme           : not found
Checking for gpgme_new               : not found
/home/buildroot/br5/output/build/samba4-4.9.0/source4/dsdb/samdb/ldb_modules/wscript:40:
 error: GPGME support not found. Try installing libgpgme11-dev or
 gpgme-devel and python-gpgme. Otherwise, use --without-gpgme to build
 without GPGME support or --without-ad-dc to build without the Samba AD
 DC. GPGME support is required for the GPG encrypted password sync
 feature

Buildroot has no python-gpgme package atm so we disable this option
for now.

Disabled experimental LMDB LDB backend as well, this also needed an
addition to samba4-cache.txt.

AD DC support needs jansson, for details see release notes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 18}.x series
Fabio Estevam [Sat, 15 Sep 2018 15:35:54 +0000 (12:35 -0300)]
linux-headers: bump 4.{4, 9, 14, 18}.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.18.8
Fabio Estevam [Sat, 15 Sep 2018 15:35:53 +0000 (12:35 -0300)]
linux: bump default to version 4.18.8

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-ati: bump version to 18.1.0
Bernd Kuhls [Sat, 15 Sep 2018 14:44:02 +0000 (16:44 +0200)]
package/x11r7/xdriver_xf86-video-ati: bump version to 18.1.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xdriver_xf86-video-amdgpu: bump version to 18.1.0
Bernd Kuhls [Sat, 15 Sep 2018 14:44:01 +0000 (16:44 +0200)]
package/x11r7/xdriver_xf86-video-amdgpu: bump version to 18.1.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/rtorrent: requires gcc >= 4.9
Bernd Kuhls [Sat, 15 Sep 2018 14:01:50 +0000 (16:01 +0200)]
package/rtorrent: requires gcc >= 4.9

Upstream considers the build error as compiler bug:
https://github.com/rakshasa/rtorrent/issues/223

Building with gcc 4.9 works, tested with this defconfig:

BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
BR2_GCC_VERSION_4_9_X=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_RTORRENT=y

Fixes
http://autobuild.buildroot.net/results/990/990c9d62f3d275bd4e2ffad41bdb6d68c483cbb1/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xlib_libXft: remove autoreconf
Bernd Kuhls [Sat, 15 Sep 2018 12:18:06 +0000 (14:18 +0200)]
package/x11r7/xlib_libXft: remove autoreconf

Nine years ago we added autoreconf to fix libtool-related problems
with the matchbox package:

https://git.buildroot.net/buildroot/commit/?id=51ef5b81224c243aa7f937c4690b1a120c81ccbc

After building this defconfig with autoreconf removed from this package

BR2_x86_64=y
BR2_x86_core_avx2=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XLIB_LIBXFONT=y
BR2_PACKAGE_MATCHBOX=y
BR2_PACKAGE_MATCHBOX_SM=y
BR2_PACKAGE_MATCHBOX_COMMON=y
BR2_PACKAGE_MATCHBOX_COMMON_PDA=y
BR2_PACKAGE_MATCHBOX_DESKTOP=y
BR2_PACKAGE_MATCHBOX_KEYBOARD=y
BR2_PACKAGE_MATCHBOX_PANEL=y
BR2_PACKAGE_MATCHBOX_STARTUP_MONITOR=y

it is obvious that the problem which existed nine years ago seems to be
gone, therefore we remove autoreconf from this package because there is
no need for it anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xlib_libXfont: remove autoreconf
Bernd Kuhls [Sat, 15 Sep 2018 12:18:05 +0000 (14:18 +0200)]
package/x11r7/xlib_libXfont: remove autoreconf

Nine years ago we added autoreconf to fix libtool-related problems
with the matchbox package:

https://git.buildroot.net/buildroot/commit/?id=51ef5b81224c243aa7f937c4690b1a120c81ccbc

Autoreconf for this package needs the xutil_util-macros but after
building this defconfig with autoreconf removed from this package

BR2_x86_64=y
BR2_x86_core_avx2=y
BR2_TOOLCHAIN_BUILDROOT_LOCALE=y
BR2_TOOLCHAIN_BUILDROOT_CXX=y
BR2_PACKAGE_XORG7=y
BR2_PACKAGE_XLIB_LIBXFONT=y
BR2_PACKAGE_MATCHBOX=y
BR2_PACKAGE_MATCHBOX_SM=y
BR2_PACKAGE_MATCHBOX_COMMON=y
BR2_PACKAGE_MATCHBOX_COMMON_PDA=y
BR2_PACKAGE_MATCHBOX_DESKTOP=y
BR2_PACKAGE_MATCHBOX_KEYBOARD=y
BR2_PACKAGE_MATCHBOX_PANEL=y
BR2_PACKAGE_MATCHBOX_STARTUP_MONITOR=y

it is obvious that the problem which existed nine years ago seems to be
gone. So instead of fixing autoreconf we remove it from this package
because there is no need for it anymore.

Fixes
http://autobuild.buildroot.net/results/30c/30cf5cc139f9f6a9dc070953270f74e18b9310d4/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowine: Bump to version 3.0.3
André Hentschel [Sat, 15 Sep 2018 13:08:59 +0000 (15:08 +0200)]
wine: Bump to version 3.0.3

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogpm: fix major() build failure due to glibc 2.28
Giulio Benetti [Sat, 15 Sep 2018 13:23:59 +0000 (15:23 +0200)]
gpm: fix major() build failure due to glibc 2.28

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

This commit adds a patch to directly include <sys/sysmacros.h> into
open_console.c file where major() macro is used.

Patch has been taken from gpm upstream commit:
https://github.com/telmich/gpm/commit/b350aee4ea5785a75cb6ad770f6b768c506ebb70

Fixes:
http://autobuild.buildroot.net/results/f53/f5373a567de619375746f1dcfe312971b85bb810/
http://autobuild.buildroot.net/results/227/227a7edf9304d85645d3e7fa0f930fe2e9b6e752/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add myself for python-paramiko
Asaf Kahlon [Sat, 15 Sep 2018 04:54:42 +0000 (07:54 +0300)]
DEVELOPERS: add myself for python-paramiko

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosystem: update Config.in comment about systemd dependencies
Thomas Petazzoni [Wed, 12 Sep 2018 14:17:54 +0000 (16:17 +0200)]
system: update Config.in comment about systemd dependencies

In commit 879fa7f82a86ffdc6d1cf7c9bfbb5cf830583d69, the
BR2_INIT_SYSTEMD option was changed to allow selecting with a uClibc
toolchain. Unfortunately, the corresponding Config.in comment, which
was already bogus, was not updated to take into account the numerous
dependencies of BR2_INIT_SYSTEMD.

Due to this, even if you have uClibc enabled, the BR2_INIT_SYSTEMD
option may not be visible, and the Config.in comment may also not be
visible, leaving the user in the dark.

This commit fixes the dependencies of the Config.in comment so that
they match the one of the BR2_INIT_SYSTEMD option.

Reported-by: Raphael Jacob <r.jacob2002@gmail.com>
Cc: Raphael Jacob <r.jacob2002@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-paramiko: bump to version 2.4.1
Asaf Kahlon [Fri, 14 Sep 2018 06:52:38 +0000 (09:52 +0300)]
python-paramiko: bump to version 2.4.1

Add license hash.
Update dependencies: pyasn1 replaced pyasn.
pyasn1 is pure python, but C++ is still needed for python-cryptography.

Fixes:
http://autobuild.buildroot.org/results/25a/25abe547831f40bd3c041345bc7d41779fe137e6/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-pyasn1: new package
Asaf Kahlon [Fri, 14 Sep 2018 06:52:37 +0000 (09:52 +0300)]
python-pyasn1: new package

The pyasn1 library implements ASN.1 support in pure-Python.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/gdb: add patch fixing gnulib related issue with musl toolchains
Romain Naour [Fri, 14 Sep 2018 21:23:29 +0000 (23:23 +0200)]
package/gdb: add patch fixing gnulib related issue with musl toolchains

Backport the upstream patch fixing the gdb build with musl toolchains.

Only gdb 8.1.1 [1] and 8.2 [2] release are affected.

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

[1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2441702a72f324e41a1624dc042b334f375e2d81
[2] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=25e3c82c0e927398e759e2d5e35623012b8683f7

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agof2fs-tools: bump to version 1.11.0
Fabrice Fontaine [Thu, 13 Sep 2018 20:59:30 +0000 (22:59 +0200)]
f2fs-tools: bump to version 1.11.0

Fixes major/minor build failure, see:
https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git/commit/?id=4d4a9f2d4594f43b486cda79fff9f7d19e4a4d36

Fixes:
 - http://autobuild.buildroot.org/results/0748d8e38a00e94fe9da7e6dc5edd6269398ad0d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibssh: fix build with musl libc
Baruch Siach [Fri, 14 Sep 2018 13:59:21 +0000 (16:59 +0300)]
libssh: fix build with musl libc

libssh uses GNU extensions to the glob() API. Update the cmake test to
take that into account so that glob() is not used with musl libc.

Fixes:
http://autobuild.buildroot.net/results/0c2/0c2d17316fd6bd2bf1359e23a2a1273fa349cf2a/
http://autobuild.buildroot.net/results/936/936abac5362b33980fd1efe8b830409ee2f86f6b/
http://autobuild.buildroot.net/results/51b/51b1b136ab4209ee443c1b450a932341b2ff81b7/

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agohdparm: bump to version 9.56
Fabrice Fontaine [Fri, 14 Sep 2018 21:06:26 +0000 (23:06 +0200)]
hdparm: bump to version 9.56

- Add hash for license file
- Fix major/minor build failure with glibc 2.28, extract of Changelog:

hdparm-9.55:
 - added #include <sys/sysmacros.h> for major()/minor() macros

Fixes:
 - http://autobuild.buildroot.org/results/57a9b2c5e5bfb638b1c0b84711126fb7f48c80ce

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/uboot: needs bison/flex even for the legacy buildsystem
Yann E. MORIN [Thu, 13 Sep 2018 20:12:33 +0000 (22:12 +0200)]
boot/uboot: needs bison/flex even for the legacy buildsystem

When using the legacy buildsystem, the kconfig parser may still be used,
as reported by Thomas:

    >>> uboot 2018.09 Configuring
    ...]
     HOSTCC  scripts/basic/fixdep
     HOSTCC  scripts/kconfig/conf.o
     YACC    scripts/kconfig/zconf.tab.c
    bin/sh: 1: bison: not found
    ake[3]: *** [scripts/kconfig/zconf.tab.c] Error 127
    ake[3]: *** Waiting for unfinished jobs....
     LEX     scripts/kconfig/zconf.lex.c
    bin/sh: 1: flex: not found

However, in that case, the kconfig parser is only generated during the
'configure' step, so we can add bison/flex as standard dependencies.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoowfs: skip man pages preprocessing
Baruch Siach [Fri, 14 Sep 2018 04:54:59 +0000 (07:54 +0300)]
owfs: skip man pages preprocessing

owfs optionally uses soelim with the -r option to process its man pages.
Older versions of groff don't support this option, and we don't care
about documentation on target. So just skip the soelim run.

Fixes:
http://autobuild.buildroot.net/results/bf8/bf893f1ecabb9ecadceb5d56eaa5e4869832e330/
http://autobuild.buildroot.net/results/d36/d369e2c8b90558e84ffd5a44cfe1308111c88637/
http://autobuild.buildroot.net/results/4f3/4f3dfb3cfee1678e6d5da03d09e236d0f4b55b9f/

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoowfs: fix build with glibc 2.28
Baruch Siach [Fri, 14 Sep 2018 04:41:16 +0000 (07:41 +0300)]
owfs: fix build with glibc 2.28

Add upstream patch adding the necessary header for the major() macro.

Fixes:
http://autobuild.buildroot.net/results/53d/53d8832b11f8d63000c2d09ec6fd97048b7883dc/
http://autobuild.buildroot.net/results/90d/90dfdb982ae67f8c4d4923eb8a5495ccb919f6c6/

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopkg-perl: fix PERL_INC in generated Makefile
Francois Perrad [Fri, 14 Sep 2018 03:25:14 +0000 (05:25 +0200)]
pkg-perl: fix PERL_INC in generated Makefile

when directly setting PERL_INC with a path to STAGING_DIR,
the generated Makefile contains a PERL_INC with a path to HOST_DIR

when setting PERL_ARCHLIB, PERL_INC is generated as $(PERL_ARCHLIB)/CORE

fix this kind of build failure:
http://autobuild.buildroot.net/results/8934f2c203f8b61519dba94188985f1a9261de9a/

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonano: bump to version 3.0
Baruch Siach [Fri, 14 Sep 2018 11:58:47 +0000 (14:58 +0300)]
nano: bump to version 3.0

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agouemacs: bump to latest version
Baruch Siach [Fri, 14 Sep 2018 11:34:48 +0000 (14:34 +0300)]
uemacs: bump to latest version

musl provides a dummy XCASE definition since quite some time. No need to
patch XCASE out.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/beaglebone: bump U-Boot and Linux versions
Lothar Felten [Fri, 14 Sep 2018 18:55:21 +0000 (20:55 +0200)]
configs/beaglebone: bump U-Boot and Linux versions

Switch to Linux kernel version 4.14.40 from the TI SDK 05.00.00.15 (TI
SDK release date: 26.07.2018).

Bump u-boot version to 2018.07.

Tested on Beaglebone Black and Beaglebone White

Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agozeromq: fix static build with libatomic
Fabrice Fontaine [Thu, 13 Sep 2018 18:24:19 +0000 (20:24 +0200)]
zeromq: fix static build with libatomic

Second patch added support to link with -latomic if needed however using
LDFLAGS doesn't work when statically linking because LDFLAGS is added
before LIBS

Detection of atomic fails with:

configure:23230: /accts/mlweber1/instance-2/output/host/bin/sparc-linux-g++ -o conftest -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os   -static -static -pedantic -Werror -Wall -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -Wno-long-long -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -static -latomic conftest.cpp -lrt -lpthread -lstdc++ >&5
/tmp/ccgrvVTg.o: In function `main':
conftest.cpp:(.text.startup+0x10): undefined reference to `__atomic_fetch_add_4'
collect2: error: ld returned 1 exit status

So use LIBS instead of LDFLAGS

As second patch was already merged upstream, a new PR was sent:
https://github.com/zeromq/libzmq/pull/3250

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/php: security bump to version 7.2.10
Bernd Kuhls [Thu, 13 Sep 2018 18:51:29 +0000 (20:51 +0200)]
package/php: security bump to version 7.2.10

Changelog: http://de2.php.net/ChangeLog-7.php#7.2.10

Fixes https://bugs.php.net/bug.php?id=76582, CVE ID pending.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibusbgx: fix build with glibc-2.28
Gwenhael Goavec-Merou [Thu, 13 Sep 2018 13:27:13 +0000 (15:27 +0200)]
libusbgx: fix build with glibc-2.28

Since https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html sys/sysmacros.h
must be explicitly included.
Without sys/sysmacros.h and with glibc-2.28 build fails with error like:
src/.libs/libusbgx.so: undefined reference to minor' src/.libs/libusbgx.so: undefined reference tomajor'
src/.libs/libusbgx.so: undefined reference to `makedev'

backport pr #29 (https://github.com/libusbgx/libusbgx/pull/29) (now applied)

Fixes:

  http://autobuild.buildroot.net/results/872e2ab084c0c9bf466265d2f66140fbba692ee6/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogo: bump to v1.11
Christian Stewart [Thu, 13 Sep 2018 04:23:36 +0000 (21:23 -0700)]
go: bump to v1.11

Signed-off-by: Christian Stewart <christian@paral.in>
Reviewed-by: Anisse Astier <anisse@astier.eu>
Tested-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosysvinit: bump to version 2.90
Benjamin Calderon [Thu, 13 Sep 2018 04:18:00 +0000 (00:18 -0400)]
sysvinit: bump to version 2.90

This commit updates sysvinit package using the upstream tarball at
http://download.savannah.nongnu.org/releases/sysvinit/ instead of the
Debian tarball + patches currently in use

Signed-off-by: Benjamin Calderon <benj.calderon@gmail.com>
Tested-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/tor: bump version to 0.3.4.8
Bernd Kuhls [Thu, 13 Sep 2018 06:30:54 +0000 (08:30 +0200)]
package/tor: bump version to 0.3.4.8

Rebased patch 0001.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agobluez-alsa: correct LICENSE.txt hash
Giulio Benetti [Thu, 13 Sep 2018 12:56:53 +0000 (14:56 +0200)]
bluez-alsa: correct LICENSE.txt hash

After bumping from v1.3.0 to v1.3.1 hash has not been recalculated.

Changes in LICENSE.txt:
2018 Jörg Krause has been added to LICENSE.txt

Recalculate correct LICENSE.txt hash and add it to bluez-alsa.hash file.

Fixes:
http://autobuild.buildroot.net/results/40c/40c35c1c3470a5ece7e9f82525efaceabfaaf841/
http://autobuild.buildroot.net/results/a0b/a0bcd9c7a308cd09e8cfb7632970b52989d7bff7/
http://autobuild.buildroot.net/results/7de/7deb42c0b8325d211805a3211b5b475edc60ec57/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add myself for python-bcrypt
Asaf Kahlon [Thu, 13 Sep 2018 18:36:50 +0000 (21:36 +0300)]
DEVELOPERS: add myself for python-bcrypt

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>