buildroot.git
6 years agoe2fsprogs: fix musl compile (__GNUC_PREREQ related)
Peter Seiderer [Tue, 25 Sep 2018 20:21:04 +0000 (22:21 +0200)]
e2fsprogs: fix musl compile (__GNUC_PREREQ related)

Add void-linux provided patch to use __GNUC_PREREQ macro only
in case it is defined (patch taken from [1]).

Fixes [2]:

  In file included from ../../lib/ext2fs/ext2fs.h:97:0,
                   from feature.c:20:
  ../../lib/ext2fs/hashmap.h:20:19: error: missing binary operator before token "("
   #if __GNUC_PREREQ (4, 8)
                     ^
  ../../lib/ext2fs/hashmap.h:25:19: error: missing binary operator before token "("
   #if __GNUC_PREREQ (4, 8)
                     ^

Problem already upstream reported by Baruch Siach (see [3]).

[1] https://raw.githubusercontent.com/void-linux/void-packages/1f3b51493031cc0309009804475e3db572fc89ad/srcpkgs/e2fsprogs/patches/fix-glibcism.patch
[2] http://autobuild.buildroot.net/results/e49d9333086ed714fa193b79b49c53e9cc511fec
[3] https://www.spinics.net/lists/linux-ext4/msg62290.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-firmware: bump version and fix hash
Erico Nunes [Wed, 26 Sep 2018 22:38:06 +0000 (00:38 +0200)]
linux-firmware: bump version and fix hash

Bump the package to the most up to date version and fix the sha256 hash.
linux-firmware was failing due to an incorrect sha256 hash, as follows:

Fetching all references
warning: redirecting to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
remote: Counting objects: 6972, done.
remote: Total 6972 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (6972/6972), 196.63 MiB | 4.22 MiB/s, done.
Resolving deltas: 100% (4516/4516), done.
>From http://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware
 * [new branch]      master     -> origin/master
warning: redirecting to https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
warning: refname '8d69bab7a3da1913113ea98cefb73d5fa6988286' is ambiguous.
Git normally never creates a ref that ends with 40 hex characters
because it will be ignored when you just specify 40-hex. These refs
may be created by mistake. For example,

  git checkout -b $br $(git rev-parse ...)

where "$br" is somehow empty and a 40-hex ref is created. Please
examine these refs and maybe delete them. Turn this message off by
running "git config advice.objectNameWarning false"
ERROR: linux-firmware-8d69bab7a3da1913113ea98cefb73d5fa6988286.tar.gz has wrong sha256 hash:
ERROR: expected: 905be20e4e2d7628dea4e2e99195520fc0cce8b247faabdc52fc44a3ff2ceb04
ERROR: got     : b9fce72a7b0b55eb311701dfd47914bc9e037134fa401d33e6e73ab9ebc9d116
ERROR: Incomplete download, or man-in-the-middle (MITM) attack

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoquazip: upgrade to 0.7.6
Zoltan Gyarmati [Wed, 26 Sep 2018 21:08:55 +0000 (23:08 +0200)]
quazip: upgrade to 0.7.6

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoconfigs/pc: bump kernel version
Erico Nunes [Wed, 26 Sep 2018 22:38:39 +0000 (00:38 +0200)]
configs/pc: bump kernel version

Bump the kernel version to 4.18.10.
Tested with qemu 2.11.2 on bios and UEFI virtual machines.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonilfs-utils: drop NPTL dependency
Fabrice Fontaine [Wed, 26 Sep 2018 18:20:45 +0000 (20:20 +0200)]
nilfs-utils: 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: Peter Korsgaard <peter@korsgaard.com>
6 years agonilfs-utils: no comment if BR2_USE_MMU is true
Fabrice Fontaine [Wed, 26 Sep 2018 18:20:44 +0000 (20:20 +0200)]
nilfs-utils: no comment if BR2_USE_MMU is true

Don't display comment if BR2_USE_MMU is true
Moreover, move BR2_USE_MMU dependency at the top of dependency list

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Kurt Van Dijck <dev.kurt@vandijck-laurijssen.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosedutil: new package
Peter Korsgaard [Wed, 26 Sep 2018 07:52:05 +0000 (09:52 +0200)]
sedutil: new package

Utilities to configure self encrypting drives that comply with the TCG OPAL
2.00 standard.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireguard: bump version to 0.0.20180925
Peter Korsgaard [Wed, 26 Sep 2018 17:47:40 +0000 (19:47 +0200)]
wireguard: bump version to 0.0.20180925

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoncmpc: fix build with gcc 4.9
Fabrice Fontaine [Wed, 26 Sep 2018 17:15:54 +0000 (19:15 +0200)]
ncmpc: fix build with gcc 4.9

Add upstream patch to fix build on gcc 4.9

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agochrony: fix build failure due to missing inclusion of util.h
Giulio Benetti [Thu, 27 Sep 2018 10:15:44 +0000 (12:15 +0200)]
chrony: fix build failure due to missing inclusion of util.h

During build package stops with linker error:
hash_intmd5.o: In function `HSH_Hash':
hash_intmd5.c:(.text+0x963): undefined reference to `MIN'

This is due to missing util.h inclusion.
util.h contains MIN() macro definition.

Add upstream patch:
https://git.tuxfamily.org/chrony/chrony.git/commit/?id=948ecf84314f78da82e0e2b07b6570ca9cff86c8
to add #include "util.h" in hash_intmd5.c

Fixes:
http://autobuild.buildroot.net/results/8f0/8f0d53b1d5a899e56540c859b908cbc1eaa223d5/
http://autobuild.buildroot.net/results/3c6/3c609f94aff182c9ab47ef8ec4b9de03a4d20ffb/
http://autobuild.buildroot.net/results/f1f/f1fcae399fb640c19cf88c9333a92cbfab547932/

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoDEVELOPERS: add myself for python-lxml
Asaf Kahlon [Wed, 26 Sep 2018 04:22:56 +0000 (07:22 +0300)]
DEVELOPERS: add myself for python-lxml

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux-headers: bump 4.{4, 9, 14, 18}.x series
Fabio Estevam [Wed, 26 Sep 2018 12:44:59 +0000 (09:44 -0300)]
linux-headers: bump 4.{4, 9, 14, 18}.x series

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: bump default to version 4.18.10
Fabio Estevam [Wed, 26 Sep 2018 12:44:58 +0000 (09:44 -0300)]
linux: bump default to version 4.18.10

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoccache: bump to version 3.4.3
Asaf Kahlon [Fri, 21 Sep 2018 10:05:02 +0000 (13:05 +0300)]
ccache: bump to version 3.4.3

Update LICENSE.adoc: change was zlib and year bump.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-lxml: bump to version 4.2.5
Asaf Kahlon [Fri, 21 Sep 2018 09:59:48 +0000 (12:59 +0300)]
python-lxml: bump to version 4.2.5

Also add hashes for license files.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agocppzmq: bump to version v4.3.0
Fabrice Fontaine [Thu, 20 Sep 2018 22:03:19 +0000 (00:03 +0200)]
cppzmq: bump to version v4.3.0

- move to cmake-infrastructure
- add patch to fix install without static libzmq
- 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 agodomoticz: depends on gcc >= 4.8
Fabrice Fontaine [Thu, 20 Sep 2018 22:01:18 +0000 (00:01 +0200)]
domoticz: depends on gcc >= 4.8

sleep_for is not always defined with gcc <= 4.7, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52680

To fix this issue, add a dependency to gcc >= 4.8

Fixes:
 - http://autobuild.buildroot.net/results/0dada8dd727f32a4500670f6620adb05943ed0b7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxlib_libXdmcp: add missing dependency on host-pkgconf
Thomas Petazzoni [Fri, 21 Sep 2018 12:13:50 +0000 (14:13 +0200)]
xlib_libXdmcp: add missing dependency on host-pkgconf

The libXdmcp configure script uses pkg-config, but the Buildroot
package does not depend on host-pkgconf. This is not seen by the
autobuilders most likely because another package that is always built
before libXdmcp builds pkg-config.

However, running:

$ make xlib_libXdmcp

triggers the following build failure:

checking pkg-config is at least version 0.9.0... ./configure: line 12323: /home/thomas/projets/buildroot/output/host/bin/pkg-config: No such file or directory
no
[...]
checking for XDMCP... configure: error: in `/home/thomas/projets/buildroot/output/build/xlib_libXdmcp-1.1.2':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

This was detected using per-package target/host folders, because with
this, only the dependencies explicitly expressed by a package are
available to the package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:18 +0000 (22:36 +0200)]
gst1-rtsp-server: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-bad: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:17 +0000 (22:36 +0200)]
gst1-plugins-bad: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-base: add missing license file hash
Peter Seiderer [Tue, 25 Sep 2018 20:36:16 +0000 (22:36 +0200)]
gst1-plugins-base: add missing license file hash

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst-omx: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:15 +0000 (22:36 +0200)]
gst-omx: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1-editing-services: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:14 +0000 (22:36 +0200)]
gstreamer1-editing-services: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-rtsp-server: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:13 +0000 (22:36 +0200)]
gst1-rtsp-server: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-vaapi: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:12 +0000 (22:36 +0200)]
gst1-vaapi: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-libav: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:11 +0000 (22:36 +0200)]
gst1-libav: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-validate: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:10 +0000 (22:36 +0200)]
gst1-validate: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-ugly: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:09 +0000 (22:36 +0200)]
gst1-plugins-ugly: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-bad: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:08 +0000 (22:36 +0200)]
gst1-plugins-bad: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-good: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:07 +0000 (22:36 +0200)]
gst1-plugins-good: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogst1-plugins-base: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:06 +0000 (22:36 +0200)]
gst1-plugins-base: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogstreamer1: bump version to 1.14.3
Peter Seiderer [Tue, 25 Sep 2018 20:36:05 +0000 (22:36 +0200)]
gstreamer1: bump version to 1.14.3

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agominizip: bump to version 2.5.3
Fabrice Fontaine [Sun, 23 Sep 2018 12:11:42 +0000 (14:11 +0200)]
minizip: bump to version 2.5.3

- Move to cmake infrastructure
- Do not enforce zlib dependency
- Add optional bzip2 dependency
- Add mandatory host-pkgconf and libbsd dependency
- Remove miniunzip from Config.in, miniunzip (miniunz) has been merged
  with minizip:
  https://github.com/nmoinvaz/minizip/commit/a66cc31fac61e47a34bced08569ddec38b81bbef
- 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 agoutils/scancpan: refactor license name adjustment
Francois Perrad [Sat, 22 Sep 2018 06:53:23 +0000 (08:53 +0200)]
utils/scancpan: refactor license name adjustment

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: add dependency on the woff2 package
Adrian Perez de Castro [Sat, 22 Sep 2018 23:53:30 +0000 (02:53 +0300)]
webkitgtk: add dependency on the woff2 package

The woff2 dependency is used to support Web fonts in WOFF2 format.
This is a Web-facing feature that Web sites expect WebKit to support,
and it is recommended to be unconditionally enabled. While it is
possible to disable the feature at build time, upstream only recommends
doing so if the target system cannot provide a woff2 package.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agowebkitgtk: bump to version 2.22.2
Adrian Perez de Castro [Sat, 22 Sep 2018 23:53:29 +0000 (02:53 +0300)]
webkitgtk: bump to version 2.22.2

Release notes:

    https://webkitgtk.org/2018/09/03/webkitgtk2.22.0-released.html
    https://webkitgtk.org/2018/09/20/webkitgtk2.22.1-released.html
    https://webkitgtk.org/2018/09/21/webkitgtk2.22.2-released.html

No corresponding security advisories for 2.22.x have been published.
Nevertheless, due to skipping over versions in the 2.20.x series,
the following 2.20.x advisories apply:

    https://webkitgtk.org/security/WSA-2018-0003.html
    https://webkitgtk.org/security/WSA-2018-0004.html
    https://webkitgtk.org/security/WSA-2018-0005.html
    https://webkitgtk.org/security/WSA-2018-0006.html

This also bumps the required GCC version, due to the WebKit code
now using more modern C++ features which were introduced in version
6.x of the compiler. The dependency is propagated to the midori
package as well. Last but not least, BR2_PACKAGE_WEBP_DEMUX and
BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_MPEGTSDEMUX are selected as
they are unconditionally needed by the newer WebKitGTK+ releases
when multimedia support is enabled.

An upstream patch for 32-bit ARM which did not make it to be included
in this new version is included as well, and can be removed once it
gets picked in a new release.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: bump to version 1.4.0
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:41 +0000 (18:32 +0200)]
irqbalance: bump to version 1.4.0

- Add hash for license file
- Add optional ncurses and systemd dependencies
- Remove --without-glib2 option, see:
  https://github.com/Irqbalance/irqbalance/commit/1d2f6a9b6c6ef3b195f28af5f0271cf83ed02818

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add optional libcap-ng dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:40 +0000 (18:32 +0200)]
irqbalance: add optional libcap-ng dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add mandatory libglib2 dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:39 +0000 (18:32 +0200)]
irqbalance: add mandatory libglib2 dependency

If libglib2 is not found or disable through --without-glib2, irqbalance
will use its own implementation of glib2 so add a mandatory libglib2
dependency especially as upstream now enforce it:
https://github.com/Irqbalance/irqbalance/commit/1d2f6a9b6c6ef3b195f28af5f0271cf83ed02818

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoirqbalance: add optional numactl dependency
Fabrice Fontaine [Sun, 23 Sep 2018 16:32:38 +0000 (18:32 +0200)]
irqbalance: add optional numactl dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/x11r7/xutil_makedepend: add missing dependency on host-pkgconf
Thomas Petazzoni [Sun, 23 Sep 2018 13:50:07 +0000 (15:50 +0200)]
package/x11r7/xutil_makedepend: add missing dependency on host-pkgconf

The configure script of xutil_makedepend uses PKG_CHECK_MODULES(), so
it should depend on host-pkgconf. Otherwise, a "make
host-xutil_makedepend" fails with:

"""
checking for X... configure: error: in `/home/thomas/projets/buildroot/output/build/host-xutil_makedepend-1.0.5':
configure: error: The pkg-config script could not be found or is too old.  Make sure it
is in your PATH or set the PKG_CONFIG environment variable to the full
path to pkg-config.

Alternatively, you may set the environment variables X_CFLAGS
and X_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

To get pkg-config, see <http://pkg-config.freedesktop.org/>.
"""

This was detected using per-package host/target directories, but can
be reproduced without it.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoxlib_libxshmfence: drop AUTORECONF
Thomas Petazzoni [Sun, 23 Sep 2018 13:37:59 +0000 (15:37 +0200)]
xlib_libxshmfence: drop AUTORECONF

In commit 2524acd4179fccc627a72ff188bf51c95fed9867
("package/x11r7/xlib_libxshmfence: bump version to 1.3"), the patch
0001-configure.ac-call-AC_USE_SYSTEM_EXTENSIONS.patch was dropped, but
the corresponding AUTORECONF = YES was not dropped.

This causes a build issue if just xlib_libxshmfence is built (using
"make xlib_libxshmfence" or using per-package host/target directories):

  >>> xlib_libxshmfence 1.3 Autoreconfiguring
  configure.ac:40: error: must install xorg-macros 1.3 or later before running autoconf/autogen
  configure.ac:40: the top level

This commit fixes that by dropping the no longer needed
AUTORECONF = YES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/pkg-waf: properly escape HOST_DIR when defining <pkg>_WAF
Thomas Petazzoni [Sun, 23 Sep 2018 13:38:17 +0000 (15:38 +0200)]
package/pkg-waf: properly escape HOST_DIR when defining <pkg>_WAF

When <pkg>_NEEDS_EXTERNAL_WAF is set to YES, <pkg>_WAF is set to
$(HOST_DIR)/bin/waf within the inner-waf-package macro. This reference
to $(HOST_DIR) should use $$(HOST_DIR) so that it is properly expanded
at the time of use, and not at the time of the macro expansion.

In the current Buildroot, this doesn't cause any visible problem
because $(HOST_DIR) points to the same directory for all
packages. However, with per-package host/target directories, this is
no longer the case. It causes a build issue because it tries to use
"waf" from the global host directory, which doesn't exist during the
build.

This commit fixes the following build issue with per package
host/target directories:

/home/test/autobuild/run/instance-2/output/per-package/mpv/host/bin/python2: can't open file '/home/test/autobuild/run/instance-2/output/host/bin/waf': [Errno 2] No such file or directory
make: *** [/home/test/autobuild/run/instance-2/output/build/mpv-0.27.2/.stamp_configured] Error 2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonumactl: bump to version 2.0.12
Fabrice Fontaine [Sun, 23 Sep 2018 16:30:15 +0000 (18:30 +0200)]
numactl: bump to version 2.0.12

- README has been renamed into README.md so update NUMACTL_LICENSE_FILES
- 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 agoimlib2: bump to version 1.5.1
Fabrice Fontaine [Sun, 23 Sep 2018 20:11:50 +0000 (22:11 +0200)]
imlib2: bump to version 1.5.1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Tested-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoimlib2: update license
Fabrice Fontaine [Sun, 23 Sep 2018 20:11:49 +0000 (22:11 +0200)]
imlib2: update license

- Use SPDX short identifier (Imlib2) instead of full name
- Add COPYING-PLAIN to license files
- Add hash for license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage: clean up remaining references to $(HOST_DIR)/usr
Ferdinand van Aartsen [Sun, 23 Sep 2018 22:04:59 +0000 (00:04 +0200)]
package: clean up remaining references to $(HOST_DIR)/usr

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiputils: Add hash for ninfod/COPYING license file
Petr Vorel [Mon, 24 Sep 2018 00:14:46 +0000 (02:14 +0200)]
iputils: Add hash for ninfod/COPYING license file

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoiputils: Bump to version s20180629
Petr Vorel [Mon, 24 Sep 2018 00:14:45 +0000 (02:14 +0200)]
iputils: Bump to version s20180629

Add upstream patch to fix build error:
ping.c: In function â€˜main’:
ping.c:212:23: error: â€˜AI_CANONIDN’ undeclared (first use in this function); did you mean â€˜AI_CANONNAME’?
   hints.ai_flags &= ~ AI_CANONIDN;

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonetsniff-ng: bump to version 0.6.5
Tobias Klauser [Tue, 25 Sep 2018 09:11:52 +0000 (11:11 +0200)]
netsniff-ng: bump to version 0.6.5

Cc: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosqlite: bump to version 3.25.1
Ferdinand van Aartsen [Mon, 24 Sep 2018 09:42:45 +0000 (11:42 +0200)]
sqlite: bump to version 3.25.1

Make use of https for sqlite.org.

Signed-off-by: Ferdinand van Aartsen <ferdinand@ombud.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibesmtp: update/fix site URL
Marcel Patzlaff [Tue, 25 Sep 2018 14:48:48 +0000 (16:48 +0200)]
libesmtp: update/fix site URL

The old URL was not working for quite some time.

Signed-off-by: Marcel Patzlaff <m.patzlaff@pilz.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoconfigs/qemu_riscv64_virt: new defconfig
Mark Corbin [Wed, 12 Sep 2018 10:22:56 +0000 (11:22 +0100)]
configs/qemu_riscv64_virt: new defconfig

Add RISC-V 64-bit defconfig for QEMU virt machine.

Tested with QEMU 2.12.1

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoboot/riscv-pk: add bootloader for RISC-V architecture
Mark Corbin [Wed, 12 Sep 2018 10:22:55 +0000 (11:22 +0100)]
boot/riscv-pk: add bootloader for RISC-V architecture

Add the RISC-V Proxy Kernel (pk) package which provides the Berkeley
Boot Loader for booting RISC-V kernel images.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas:
 - fix prompt of option to be just "riscv-pk"
 - add blank line between help text and upstream URL in Config.in file
 - use $(INSTALL) instead of cp to install the generated image]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: add support for RISC-V 64-bit (riscv64) architecture
Mark Corbin [Wed, 12 Sep 2018 10:22:54 +0000 (11:22 +0100)]
arch: add support for RISC-V 64-bit (riscv64) architecture

This enables a riscv64 system to be built with a Buildroot generated
toolchain (gcc >= 7.x, binutils >= 2.30, glibc only).

This configuration has been used to successfully build a qemu-bootable
riscv-linux-4.15 kernel (https://github.com/riscv/riscv-linux.git).

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas:
 - simplify arch.mk.riscv by directly setting GCC_TARGET_ARCH
 - simplify glibc.mk changes by using GLIBC_CONF_ENV.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoglibc: move autoconf cache variables to GLIBC_CONF_ENV
Thomas Petazzoni [Sun, 23 Sep 2018 20:54:57 +0000 (22:54 +0200)]
glibc: move autoconf cache variables to GLIBC_CONF_ENV

glibc is not using the autotools-package infrastructure, so we are
calling the ./configure script manually. Currently, the few autoconf
cache variables are passed as arguments to the ./configure script,
while we pass them through the environment in the autotools-package
infrastructure.

So let's pass them in the environment, and use a GLIBC_CONF_ENV
variable to store them. This will allow in a follow-up commit to
conditionally add more autoconf cache variables to the glibc build.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch/arch.mk: fix check-package warnings
Thomas Petazzoni [Sun, 23 Sep 2018 21:41:19 +0000 (23:41 +0200)]
arch/arch.mk: fix check-package warnings

"make check-package" is not happy with the formatting of the recently
introduced arch.mk:

arch/arch.mk:1: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:2: should be 1 hash (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:4: should be 1 hash (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:5: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk)
arch/arch.mk:6: should be a blank line (http://nightly.buildroot.org/#writing-rules-mk)

Let's fix this by adding a comment header that makes check-package
happy.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat: add sha256 for legal-info files
Giulio Benetti [Thu, 20 Sep 2018 16:59:13 +0000 (18:59 +0200)]
at: add sha256 for legal-info files

Copyright and COPYING file sha256 are missing.

Add them calculating locally.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoat: change upstream site, bump version
Giulio Benetti [Thu, 20 Sep 2018 16:59:12 +0000 (18:59 +0200)]
at: change upstream site, bump version

At is now available on a git repository at:
https://salsa.debian.org/debian/at

Main changes 3.1.16 -> 3.1.23:
- add support for SELinux, multiple files
- improve atd.service, see bug report 892819
- fix various bugs and warnings
- finalized script to release software

So:
- change AT_SITE_METHOD to git pointing to release/3.1.23
- update tarball sha256 in hash file
- improved S99at script:
  if /var/spool is linked to /tmp, .SEQ file will be lost and atd won't
  work neither for a live session. Create .SEQ file if not found, warning
  during start that after reboot atjobs could be lost.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoarch: allow GCC target options to be optionally overwritten
Mark Corbin [Wed, 12 Sep 2018 10:22:53 +0000 (11:22 +0100)]
arch: allow GCC target options to be optionally overwritten

The BR2_GCC_TARGET_* configuration variables are copied to
corresponding GCC_TARGET_* variables which may then be optionally
modified or overwritten by architecture specific makefiles.

All makefiles must use the new GCC_TARGET_* variables instead
of the BR2_GCC_TARGET_* versions.

Signed-off-by: Mark Corbin <mark.corbin@embecosm.com>
[Thomas: simplify include of arch/arch.mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
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>