buildroot.git
5 years agosupport/scripts/graph-depends: use proper rootpkg in remove_extra_deps()
Thomas Petazzoni [Sun, 2 Dec 2018 09:04:34 +0000 (10:04 +0100)]
support/scripts/graph-depends: use proper rootpkg in remove_extra_deps()

The remove_extra_deps() function removes dependencies that we are not
interested in seeing in the dependency graph. It does this for all
packages, except the 'all' package, which on full dependency graphs is
the root of the tree.

However, this doesn't take into account package-specific dependency
graphs (i.e make <pkg>-graph-depends) where the root is not 'all', but
'<pkg>'. Due to this, dependencies on "mandatory deps" were not
visible at all, i.e the toolchain package (and its dependencies) and
the skeleton package (and its dependencies) were not displayed in
package-specific dependency graphs.

To fix this, we use the existing rootpkg variable instead of
hardcoding 'all'.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/graph-depends: drop legacy target-exceptions
Yann E. MORIN [Sun, 2 Dec 2018 09:04:33 +0000 (10:04 +0100)]
support/graph-depends: drop legacy target-exceptions

Currently, we avoid drawing the dependencies that we call 'target
exceptions', becasue they initially were returned by 'show-targets',
when they in fact were not really packages and thus should not be on
the graph.

However, those two exceptions have no longer been reported in the output
of show-targets since we merged very old initial top-level parallel
build way back in 2014, with commit a24877586a56 (Makefile: add support
for top-level parallel make), where they had been converted into purely
internal rules.

4 years have passed, we can now drop those exceptions from the
graph-depends script.

This concludes the cleanup initiated three years ago with commit
0b32791f0076 (graph-depends: remove absent targets from
TARGET_EXCEPTIONS).

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>
5 years agoDEVELOPERS: drop Bryan Brinsko entry
Thomas Petazzoni [Mon, 3 Dec 2018 13:10:58 +0000 (14:10 +0100)]
DEVELOPERS: drop Bryan Brinsko entry

His e-mail @rockwellcollins.com is bouncing:

<bryan.brinsko@rockwellcollins.com>: host
    mail05.rockwellcollins.com[205.175.227.28] said: 550 #5.1.0 Address
    rejected. (in reply to RCPT TO command)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pulseview: fix a build error with libsigrokdecode disabled
Bartosz Golaszewski [Mon, 3 Dec 2018 14:34:03 +0000 (15:34 +0100)]
package/pulseview: fix a build error with libsigrokdecode disabled

Add a patch that fixes a build error occuring when libsigrokdecode is
not selected.

Fixes:

  http://autobuild.buildroot.net/results/79ed29bdd1eec9bf7cb5003202da5ceaeb8101b6/

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pps-tools: bump version to fix usage without bash
Thomas Petazzoni [Mon, 3 Dec 2018 13:03:54 +0000 (14:03 +0100)]
package/pps-tools: bump version to fix usage without bash

As reported in bug #11426, the ppsfind shell script uses /bin/bash,
but the Buildroot pps-tools package doesn't depend on bash. In fact,
upstream has fixed the problem, and the script can now be used with a
POSIX shell, and the shebang is /bin/sh.

This commit therefore bumps pps-tools to the latest upstream commit,
which is precisely this fix.

Fixes bug #11426.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/keyutils: bump to version 1.6
Baruch Siach [Mon, 3 Dec 2018 12:07:34 +0000 (14:07 +0200)]
package/keyutils: bump to version 1.6

Refresh patch 0001.

Drop patch 0003; no longer needed after upstream headers rearrange.

Add license hash.

Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lynx: add dependency on host-pkgconf
Thomas Petazzoni [Mon, 3 Dec 2018 14:51:52 +0000 (15:51 +0100)]
package/lynx: add dependency on host-pkgconf

The Lynx configure script uses pkg-config when available:

checking for nios2-buildroot-linux-gnu-pkg-config... /home/thomas/projets/buildroot/output/host/bin/pkg-config
checking pkg-config for openssl... yes
[...]
checking pkg-config for ncurses... yes

Using pkg-config avoids build failures such as:

checking for _nc_freeall... no
configure: error: Configuration does not support color-styles
make: *** [/home/test/autobuild/run/instance-1/output/build/lynx-2.8.9rel.1/.stamp_configured] Error 1

When building with "make lynx", so that pkg-config is not built
before. The issue is that in this case, lynx configure script picks up
the ncurses6-config script for the host ncurses instead of the one in
staging. Using pkg-config solves that nicely.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolinux: ensure images/ exist before creating files there
Yann E. MORIN [Mon, 3 Dec 2018 19:12:19 +0000 (20:12 +0100)]
linux: ensure images/ exist before creating files there

When using an initramfs, on the first-pass build, we create a dummy cpio
so that the build succeeeds. The real cpio will come later, and we'll do
a second-pass build to use the actual cpio.

However, when we touch that dummy cpio, the images/ directory may not
yet exist, since commit d0f4f95e39 (Makefile: rework main directory
creation logic) removed its creation at the begining of the build, to
only at the moment we need it, i.e. during the *_INSTALL_IMAGES_CMDS
steps.

However, the linux build is not a _INSTALL_IMAGES_CMDS step, so there is
no guarantee that images/ already exist at that time.

Fix that by explicitly creating images/ before touching the dummy cpio.

Reported-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-aiohttp: add missing zlib dependency
James Hilliard [Wed, 5 Dec 2018 07:07:01 +0000 (15:07 +0800)]
package/python-aiohttp: add missing zlib dependency

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/civetweb: fix build without sync
Fabrice Fontaine [Tue, 4 Dec 2018 21:15:36 +0000 (22:15 +0100)]
package/civetweb: fix build without sync

If BR2_TOOLCHAIN_HAS_SYNC_4 is not set, define -DNO_ATOMICS=1 to
fallback on lock

Fixes:
 - http://autobuild.buildroot.org/results/7b3bc71d64aedf617dde35798099e16d7ae46713

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: invert condition.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/stress-ng: fix build without threads
Fabrice Fontaine [Tue, 4 Dec 2018 20:47:59 +0000 (21:47 +0100)]
package/stress-ng: fix build without threads

semaphore.h is available only if HAVE_LIB_PTHREAD and
HAVE_SEM_POSIX are defined

Fixes:
 - http://autobuild.buildroot.org/results/1c95898b2833683a22bbe2ff8471fa08d94210e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: update upstream status of the patch.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: update my e-mail
Gaël PORTAY [Mon, 3 Dec 2018 23:54:00 +0000 (18:54 -0500)]
DEVELOPERS: update my e-mail

Signed-off-by: Gaël PORTAY <gael.portay@collabora.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libiscsi: add optional dependency to cunit
Yann E. MORIN [Tue, 4 Dec 2018 10:25:00 +0000 (11:25 +0100)]
package/libiscsi: add optional dependency to cunit

libiscsi uses cunit for its test suite, and autodetects its presence.

Usually, we just try to disable tests altogether, but there is no way to
do so. So, ensure proper ordering.

Note: there is an ac_cv_have_cunit variable, but it is not a true
ac_cv* cache variable, and the value provided on the command line or
environment is properly ignored.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libiscsi: do not built the manpages
Yann E. MORIN [Tue, 4 Dec 2018 09:57:12 +0000 (10:57 +0100)]
package/libiscsi: do not built the manpages

The pre-rendered, bundled ones are still installed, though, but they
get removed in target-finalize anyway.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libiscsi: fix build due to warnings
Yann E. MORIN [Tue, 4 Dec 2018 09:31:52 +0000 (10:31 +0100)]
package/libiscsi: fix build due to warnings

Fixes:
    http://autobuild.buildroot.org/results/55b/55bf50fc7dcd465b71b5757434887dd3d0b25abc/
    http://autobuild.buildroot.org/results/98d/98dcfe5c9fc3babd5c8d3116d5128d437715c44e/

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agolxc: fix build without stack protector
Fabrice Fontaine [Tue, 4 Dec 2018 20:15:53 +0000 (21:15 +0100)]
lxc: fix build without stack protector

Stack protector has been added in version 3.0.3 by
https://github.com/lxc/lxc/commit/2268c27754152aa538db2c9e3753d72d19bcd17a

However, some compilers could missed the needed library (-lssp or
-lssp_nonshared) at linking step so use ax_check_link_flag instead of
ax_check_compile_flag

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lxc: fix missing include for va_list
Fabrice Fontaine [Tue, 4 Dec 2018 20:15:52 +0000 (21:15 +0100)]
package/lxc: fix missing include for va_list

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Thomas: update upstream status]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/eudev: fix build with kernel < 4.8
Fabrice Fontaine [Wed, 5 Dec 2018 07:25:30 +0000 (08:25 +0100)]
package/eudev: fix build with kernel < 4.8

KEY_ALS_TOGGLE has been added in kernel 4.8 with
https://github.com/torvalds/linux/commit/9ee27487127461b5cf71670b708ed5b2b8da568c

So add it to missing.h to fix build with kernel older than 4.8

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.con>
[Thomas: update upstream status.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ejabberd: fix ejabberdctl permissions
Johan Oudinet [Wed, 5 Dec 2018 16:11:31 +0000 (17:11 +0100)]
package/ejabberd: fix ejabberdctl permissions

Allow ejabberd user to run ejabberdctl.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/qt5base: fix build when system awk is mawk, not gawk
Yann E. MORIN [Wed, 5 Dec 2018 11:02:23 +0000 (12:02 +0100)]
package/qt5base: fix build when system awk is mawk, not gawk

Commit c2ea056a1b (package/qt5/qt5base: use ccache for building host
code) introduced a tweak to qt5's mkspec file, to define the compilers
(C and C++) to use to build qmake.

In doing so, it changed the variables in that file, from this layout:
    VAR = value

to this:
    VAR=value

During its configuration phase, qt5 will parse that file using the
system awk.

However, the system awk is not necessarily GNU awk; some systems,
especially Debian ones, use mawk as the default awk implementation.

mawk does not behave the same as GNU awk, and this causes qt5 to extract
empty values, and thus leads to build failures.

Fix that by replacing the variables with similar layout, keeping the
spaces around the equal signs.

Fixes:
    http://autobuild.buildroot.org/results/cb5/cb555a124bb3bdb9c5a3465673c21022d94cf2ca/

Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump 4.{9, 14, 19}.x series
Peter Korsgaard [Thu, 6 Dec 2018 20:01:29 +0000 (21:01 +0100)]
{linux, linux-headers}: bump 4.{9, 14, 19}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain: fix URLs for ARC gcc/binutils/gdb
Evgeniy Didin [Thu, 6 Dec 2018 14:17:33 +0000 (17:17 +0300)]
toolchain: fix URLs for ARC gcc/binutils/gdb

In commit cd9d58f1fc285bcc09f1e0e29ee300a8a9053053 ("toolchain: bumb
ARC tools to arc-2018.09 release"), the ARC-specific binutils, gcc and
gdb versions were updated to use the 2018.09 release. However, they
are mistakenly pointing to a branch rather than a tag. This commit
fixes that by using the proper release tag.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
[Thomas: rework commit log]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopython-idna: bump to version 2.8
Asaf Kahlon [Tue, 4 Dec 2018 18:43:47 +0000 (20:43 +0200)]
python-idna: bump to version 2.8

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopython-django: bump to version 2.1.4
Asaf Kahlon [Tue, 4 Dec 2018 18:43:46 +0000 (20:43 +0200)]
python-django: bump to version 2.1.4

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agofs/common.mk: make sure that static devices from packages are created
Thomas Petazzoni [Mon, 3 Dec 2018 21:05:08 +0000 (22:05 +0100)]
fs/common.mk: make sure that static devices from packages are created

The static devices defined by packages are currently added to the full
device table when two conditions are met:

 (1) ROOTFS_DEVICE_TABLES is non-empty
 (2) BR2_ROOTFS_DEVICE_CREATION_STATIC=y

(2) is obviously correct. However, depending on (1) is not correct: if
the user doesn't provide any custom permission table and custom device
table, then ROOTFS_DEVICE_TABLES will be empty.

So instead, move the addition of the package-defined static devices
outside of condition (1), and have it only under condition (2).

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agofs/common.mk: allow user provided permissions to override packages permissions
Yann E. MORIN [Mon, 3 Dec 2018 21:05:07 +0000 (22:05 +0100)]
fs/common.mk: allow user provided permissions to override packages permissions

Reported-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Matthew Weber <matthew.weber@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agofs/common.mk: rename FULL_DEVICE_TABLE to ROOTFS_FULL_DEVICES_TABLE
Thomas Petazzoni [Mon, 3 Dec 2018 21:05:06 +0000 (22:05 +0100)]
fs/common.mk: rename FULL_DEVICE_TABLE to ROOTFS_FULL_DEVICES_TABLE

In commit 6b50f988ad0a6044530b30344d52139da2994237 ("fs/common.mk:
rename internal variable"), USERS_TABLE was renamed to
ROOTFS_FULL_USERS_TABLE.

This commit follows the same direction by renaming the
FULL_DEVICE_TABLE variable to ROOTFS_FULL_DEVICE_TABLE.

In addition, for consistency, the file itself is renamed
full_device_table.txt.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
5 years agoDEVELOPERS: add myself for asterisk
Bernd Kuhls [Sun, 14 Oct 2018 09:01:53 +0000 (11:01 +0200)]
DEVELOPERS: add myself for asterisk

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/clinfo: new package
Valentin Korenblit [Sat, 20 Oct 2018 22:14:37 +0000 (00:14 +0200)]
package/clinfo: new package

This tool allows to verify if the OpenCL environment is set up correctly
and provides information related to the supported OpenCL platforms.

Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
[Thomas:
 - use the libopencl virtual package
 - add LICENSE to the license files]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/nvidia-driver: become an OpenCL provider
Thomas Petazzoni [Sat, 20 Oct 2018 22:14:36 +0000 (00:14 +0200)]
package/nvidia-driver: become an OpenCL provider

We need to install the mesa3d-headers, because the CL headers are not
provided by nvidia-driver (just like it didn't provide the OpenGL
headers).

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/nvidia-driver: use += where appropriate
Thomas Petazzoni [Sat, 20 Oct 2018 22:14:35 +0000 (00:14 +0200)]
package/nvidia-driver: use += where appropriate

Within the BR2_PACKAGE_NVIDIA_DRIVER_XORG condition, some "="
assignements are used for various variables, which are also appended
in other conditions below in nvidia-driver.mk.

It works fine because those assignements appear earlier in the .mk,
but it is a bit error-prone, so let's use += when adding values to
those variables.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d-headers: install OpenCL headers when needed
Thomas Petazzoni [Sat, 20 Oct 2018 22:14:34 +0000 (00:14 +0200)]
package/mesa3d-headers: install OpenCL headers when needed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mesa3d: enable OpenCL support
Valentin Korenblit [Sat, 20 Oct 2018 22:14:33 +0000 (00:14 +0200)]
package/mesa3d: enable OpenCL support

This patch provides Clover, the OpenCL 1.1 API implementation by Mesa
for AMD GPUs. It generates libOpenCL.so.

Add --disable-opencl-icd because in Mesa 18 it defaults to on.  When
disabled, the shared library is named libOpenCL instead of
libMesaOpenCL and CL headers are installed.

Given that clc headers are being installed to a non-standard location,
it is necessary to specify this path in configure.ac. Otherwise,
pkg-config will output the absolute path to these headers located in
STAGING_DIR, which will cause a runtime error when calling
clBuildProgram.

Signed-off-by: Valentin Korenblit <valentin.korenblit@smile.fr>
Signed-off-by: Valentin Korenblit <valentinkorenblit@gmail.com>
[Thomas:
 - improve the description of the patch, based on input from Romain
 - register as a libopencl provider]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Valentin Korenblit <a class="moz-txt-link-rfc2396E" href="mailto:valentin.korenblit@smile.fr">&lt;valentin.korenblit@smile.fr&gt;</a>
Signed-off-by: Valentin Korenblit <a class="moz-txt-link-rfc2396E" href="mailto:valentinkorenblit@gmail.com">&lt;valentinkorenblit@gmail.com&gt;</a>
Signed-off-by: Thomas Petazzoni <a class="moz-txt-link-rfc2396E" href="mailto:thomas.petazzoni@bootlin.com">&lt;thomas.petazzoni@bootlin.com&gt;</a>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-wtforms: new package
Grzegorz Blach [Wed, 7 Nov 2018 15:59:53 +0000 (16:59 +0100)]
package/python-wtforms: new package

A flexible forms validation and rendering library for
Python web development.

https://wtforms.readthedocs.io/

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/sunxi-tools: support all tools
Alex Kaplan [Tue, 13 Nov 2018 07:09:58 +0000 (23:09 -0800)]
package/sunxi-tools: support all tools

This patch allows to select the installation of additional commands
which are part of the sunxi-tools. It's now possible to e.g. install
sunxi-fel on the target device. The corresponding options have been
added to Config.in and sunxi-tools.mk has been modified respectively.
The default setting is to only build sunxi-nand-part.

On the host building of the misc-tools target is added, which provides
sunxi-nand-image-builder and phoenix_info.

Signed-off-by: Alex Kaplan <kaplan2539@gmail.com>
[Thomas:
 - properly format Config.in
 - do not select BR2_PACKAGE_HOST_LIBUSB in Config.in.host, since this
   option doesn't exist
 - properly indent code in sunxi-tools.mk]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libbsd: fix display of Config.in comment
Fabrice Fontaine [Mon, 3 Dec 2018 21:03:20 +0000 (22:03 +0100)]
package/libbsd: fix display of Config.in comment

Commit e13855c48f21eaee07a81f8b02678839be274a45 wrongly added
depends on BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU
to display the comment "libbsd needs a toolchain w/ threads, wchar"
The same error has also been made for minizip.

To fix this issue, move dependency
!(BR2_TOOLCHAIN_USES_UCLIBC && !BR2_USE_MMU) under
BR2_PACKAGE_LIBBSD_ARCH_SUPPORTS.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: fix flake8 warnings
Thomas Petazzoni [Mon, 3 Dec 2018 21:25:42 +0000 (22:25 +0100)]
utils/genrandconfig: fix flake8 warnings

Fixes:

utils/genrandconfig:369:17: E231 missing whitespace after ','
utils/genrandconfig:370:1: E101 indentation contains mixed spaces and tabs
utils/genrandconfig:370:1: W191 indentation contains tabs
utils/genrandconfig:372:1: E101 indentation contains mixed spaces and tabs

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/ejabberd: add a comment for runtime dependencies
Johan Oudinet [Mon, 3 Dec 2018 15:22:39 +0000 (16:22 +0100)]
package/ejabberd: add a comment for runtime dependencies

Both p1_oauth2 and jiffy are runtime dependencies. Mark the
corresponding select in the Config.in file with a # runtime
comment.

Signed-off-by: Johan Oudinet <johan.oudinet@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/genrandconfig: test with BR2_OPTIMIZE_2=y
Evgeniy Didin [Mon, 3 Dec 2018 17:54:30 +0000 (20:54 +0300)]
utils/genrandconfig: test with BR2_OPTIMIZE_2=y

Currently all random defconfigs which are used in autobuilder use size
optimizaion (-Os), since BR2_OPTIMIZE_S=y is the default.

Adding "-O2" optimization will give better test coverage.

In many cases software gets built with speed optimization rather than
size optimization. So let's add Level 2 optimizaion option to be
generated in random defconfigs, so we could be able to test how
packages are built with "-O2" in autobuilder.

Signed-off-by: Evgeniy Didin <Evgeniy.Didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agofs/common.mk: rename internal variable
Yann E. MORIN [Mon, 12 Nov 2018 17:33:13 +0000 (18:33 +0100)]
fs/common.mk: rename internal variable

In preparation of more renames, rename the variable that points to the
final users table.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: as suggested by Arnout, use ROOTFS_FULL_USERS_TABLE instead
of ROOTFS_FINAL_USERS_TABLE.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/{mesa3d, mesa3d-headers}: bump version to 18.2.6
Bernd Kuhls [Mon, 3 Dec 2018 18:53:52 +0000 (19:53 +0100)]
package/{mesa3d, mesa3d-headers}: bump version to 18.2.6

Added mandatory dependency to xlib_libXxf86vm
https://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?h=18.2&id=f05ce9dc514427a661696bc6b908e30841b6eb9d

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libcurl: use GnuTLS's default cert path
Trent Piepho [Fri, 16 Nov 2018 20:17:39 +0000 (20:17 +0000)]
package/libcurl: use GnuTLS's default cert path

libcurl doesn't find any trust path for CA certs when it cross-compiles.
When using OpenSSL, it is explicitly configured to use the SSL cert
directory with OpenSSL style hash files in it.  But with GnuTLS, it gets
nothing.

Rather than configure libcurl to use the OpenSSL directory or a bundle
file, configure it to use the GnuTLS default.  This way the CA certs
path can be configured in one place (gnutls) and then libcurl and anyone
else who uses gnutls can default to that.

Also, when libcurl with gnutls is configured to use a directory, it ends
up loading each cert three times.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/gnutls: give library a default trust location
Trent Piepho [Fri, 16 Nov 2018 20:17:32 +0000 (20:17 +0000)]
package/gnutls: give library a default trust location

Gnutls is building with no default location to look for CA certs.  Since
there are buildroot packages to provide these, configure it to use them
by default.

Configure gnutls to find them using the bundle file which contains all
certs, rather than looking in the cert directory.  When gnutls is told
to use the directory, it loads *every* file in it.  This means it loads
the bundle with all certs, then loads each cert a second time using the
individual pem files, and then loads them all the third time via the
hash symlinks to the pem files.

When p11-kit is enabled, use its trust module instead of the bundle
file.  p11-kit can be configured to use the bundle (the default), but it
can do other things too, such as integrate with the "trust" command for
adding and removing trust anchors.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/docker-cli: fix comment header
Thomas Petazzoni [Mon, 3 Dec 2018 20:24:21 +0000 (21:24 +0100)]
package/docker-cli: fix comment header

Fixes the following check-package warning:

package/docker-cli/docker-cli.mk:1: should be 80 hashes (http://nightly.buildroot.org/#writing-rules-mk)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoDEVELOPERS: add entry for package/docker-cli/
Thomas Petazzoni [Mon, 3 Dec 2018 20:11:59 +0000 (21:11 +0100)]
DEVELOPERS: add entry for package/docker-cli/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/docker-engine: split docker-{cli, engine}, bump to v18.09.0
Christian Stewart [Tue, 27 Nov 2018 08:56:55 +0000 (00:56 -0800)]
package/docker-engine: split docker-{cli, engine}, bump to v18.09.0

Docker upstream has split the Docker daemon and CLI into separate
codebases:

 - github.com/docker/engine: daemon, "dockerd" binary
 - github.com/docker/cli: "docker" command line interface

This commit splits the docker-engine package into docker-engine and
docker-cli.  Conveniently, the Docker project has begun maintaining
two separate release-tagged repositories for the CLI and daemon as of
v18.06-ce-rc1. Previous versions were tagged in a common "docker-ce"
repository which makes compilation awkward for Buildroot, especially
due to some limitations in the new Go package infrastructure.

Docker repositories "engine" and "cli" recently started tagging
releases. Select the latest stable release, v18.09.0.

The CLI is no longer automatically included with the engine. Users
will need to select BR2_PACKAGE_DOCKER_CLI to produce a both docker
and dockerd target binaries.

Docker CLI can be statically compiled. This enables usage of the
system docker client binary to access the parent daemon API from
within containers, where shared libraries are not available.

While at it, drop the useless host-go dependency from docker-engine,
since it's already added by the golang-package infrastructure.

Signed-off-by: Christian Stewart <christian@paral.in>
[Thomas: drop the host-go dependency from both docker-cli and
docker-engine]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-xml-libxml test
Francois Perrad [Sat, 24 Nov 2018 09:07:22 +0000 (10:07 +0100)]
support/testing: add perl-xml-libxml test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872335]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-x10 test
Francois Perrad [Sat, 24 Nov 2018 09:07:21 +0000 (10:07 +0100)]
support/testing: add perl-x10 test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872334]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-mail-dkim test
Francois Perrad [Sat, 24 Nov 2018 09:07:20 +0000 (10:07 +0100)]
support/testing: add perl-mail-dkim test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872333]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-libwww-perl test
Francois Perrad [Sat, 24 Nov 2018 09:07:19 +0000 (10:07 +0100)]
support/testing: add perl-libwww-perl test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872332]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-gdgraph test
Francois Perrad [Sat, 24 Nov 2018 09:07:18 +0000 (10:07 +0100)]
support/testing: add perl-gdgraph test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872330]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl-class-load test
Francois Perrad [Sat, 24 Nov 2018 09:07:17 +0000 (10:07 +0100)]
support/testing: add perl-class-load test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
[https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/124872329]
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoutils/scancpan: add generation of test
Francois Perrad [Sat, 24 Nov 2018 09:07:16 +0000 (10:07 +0100)]
utils/scancpan: add generation of test

This commit extends the scancpan script to automatically generate a
test for the Perl module, either if the Perl module uses native
library, or if it has more than one dependency.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosupport/testing: add perl test
Francois Perrad [Sat, 24 Nov 2018 09:07:15 +0000 (10:07 +0100)]
support/testing: add perl test

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/dt-utils: fix build with glibc 2.28
Thomas Petazzoni [Mon, 3 Dec 2018 12:38:00 +0000 (13:38 +0100)]
package/dt-utils: fix build with glibc 2.28

This commit backports an upstream patch that fixes the build of
dt-utils with glibc 2.28+.

Fixes bug #11536.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/wine: bump to version 3.0.4
André Hentschel [Sun, 2 Dec 2018 17:32:50 +0000 (18:32 +0100)]
package/wine: bump to version 3.0.4

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/perl: bump to version 5.28.1
Francois Perrad [Sun, 2 Dec 2018 16:53:09 +0000 (17:53 +0100)]
package/perl: bump to version 5.28.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/atk: remove unrecognized configure options
Fabrice Fontaine [Mon, 3 Dec 2018 07:30:42 +0000 (08:30 +0100)]
package/atk: remove unrecognized configure options

Remove --disable-glibtest and --enable-explicit-deps, these options are
not recognized:
configure: WARNING: unrecognized options: --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-glibtest, --enable-explicit-deps

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x series
Peter Korsgaard [Sun, 2 Dec 2018 19:59:07 +0000 (20:59 +0100)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/tpm2-abrmd: fix build without stack smashing protection (SSP)
Carlos Santos [Wed, 21 Nov 2018 17:43:37 +0000 (15:43 -0200)]
package/tpm2-abrmd: fix build without stack smashing protection (SSP)

The configuration environment setup that disables SSP if the toolchain
does not support it must be updated after the bump to version 2.0.3.

Fixes:
  http://autobuild.buildroot.net/results/bd9005eeb24678aa530179a80bbc99b2176f8559
  http://autobuild.buildroot.net/results/feff61dcb481a94f5f030117830984c5e09727ea

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/uclibc: add upstream patch to fix aarch64 issues
Waldemar Brodkorb [Sun, 2 Dec 2018 09:03:27 +0000 (10:03 +0100)]
package/uclibc: add upstream patch to fix aarch64 issues

fstatfs/statfs on aarch64 seems broken, add a patch from uClibc-ng
upstream git to fix it.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/lxc: security bump to version 3.0.3
Fabrice Fontaine [Sun, 2 Dec 2018 09:08:38 +0000 (10:08 +0100)]
package/lxc: security bump to version 3.0.3

This bump also includes the fix for CVE-2018-6556 released in 3.0.2 via
commit "CVE 2018-6556: verify netns fd in lxc-user-nic": lxc-user-nic
when asked to delete a network interface will unconditionally open a
user provided path:
https://github.com/lxc/lxc/commit/c1cf54ebf251fdbad1e971679614e81649f1c032

This code path may be used by an unprivileged user to check for the
existence of a path which they wouldn't otherwise be able to reach. It
may also be used to trigger side effects by causing a (read-only) open
of special kernel files (ptmx, proc, sys).

Also add a dependency on gcc >= 4.7
(https://github.com/lxc/lxc/issues/2592)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fontconfig: fix static build
Fabrice Fontaine [Sun, 2 Dec 2018 13:53:10 +0000 (14:53 +0100)]
package/fontconfig: fix static build

Retrieved patch from upstream to fix static build

Fixes:
 - http://autobuild.buildroot.org/results/17e5f9ce5e7566f5a88abfd27b7db5614c1a3086

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoRevert "package/libglib2: bump to version 2.58.1"
Thomas Petazzoni [Mon, 3 Dec 2018 07:55:53 +0000 (08:55 +0100)]
Revert "package/libglib2: bump to version 2.58.1"

This reverts commit 178eb1d7ea165d87460224d297ce615bb63090f0. This
bump causes too many build failures in reverse dependencies of
libglib2, for which a proper solution needs to be found.

See also the analysis from Yann E. Morin:

  http://lists.busybox.net/pipermail/buildroot/2018-December/237663.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libglib2: bump to version 2.58.1
Fabrice Fontaine [Sun, 14 Oct 2018 07:58:52 +0000 (09:58 +0200)]
package/libglib2: bump to version 2.58.1

- Update second patch
- Remove third and fifth patches (already in version)
- Add a new patch to fix a missing header
- Add LIBGLIB2_GTK_DOC_HOOK so autoreconf do not fail on the following
  error:
  automake: error: cannot open < gtk-doc.make: No such file or directory

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/pkg-generic: use readlink instead of realpath
Yann E. MORIN [Sat, 1 Dec 2018 21:51:55 +0000 (22:51 +0100)]
package/pkg-generic: use readlink instead of realpath

realpath is missing on oldish distributions, like Debian 7, which is
still used in the wild.

Use readlink instead; that has been available since the dawn of ages now
(well, coreutils had it in 2003).

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>
5 years agoMerge branch 'next'
Peter Korsgaard [Sun, 2 Dec 2018 07:15:26 +0000 (08:15 +0100)]
Merge branch 'next'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agodocs/website/news.html: add 2018.11 announcement link
Peter Korsgaard [Sun, 2 Dec 2018 07:08:17 +0000 (08:08 +0100)]
docs/website/news.html: add 2018.11 announcement link

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoKickoff 2019.02 cycle
Peter Korsgaard [Sat, 1 Dec 2018 22:36:34 +0000 (23:36 +0100)]
Kickoff 2019.02 cycle

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/libtorrent-rasterbar: new package
Philipp Richter [Fri, 23 Nov 2018 18:14:25 +0000 (19:14 +0100)]
package/libtorrent-rasterbar: new package

libtorrent is a feature complete C++ bittorrent implementation
focusing on efficiency and scalability.

https://www.libtorrent.org/

Signed-off-by: Philipp Richter <richterphilipp.pops@gmail.com>
[Thomas: license is BSD-3c, not BSD-2c]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoUpdate for 2018.11
Peter Korsgaard [Sat, 1 Dec 2018 22:06:49 +0000 (23:06 +0100)]
Update for 2018.11

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agotoolchain/toolchain-external-codescape-img-mips: rewrap Config.in help text
Thomas Petazzoni [Sat, 1 Dec 2018 21:58:36 +0000 (22:58 +0100)]
toolchain/toolchain-external-codescape-img-mips: rewrap Config.in help text

Fixes the following check-package warnings:

toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in:13: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in:14: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
toolchain/toolchain-external/toolchain-external-codescape-img-mips/Config.in:15: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/toolchain-external-codescape-mti-mips: rewrap Config.in.help text
Thomas Petazzoni [Sat, 1 Dec 2018 21:57:40 +0000 (22:57 +0100)]
toolchain/toolchain-external-codescape-mti-mips: rewrap Config.in.help text

Fix the following check-package warnings:

toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in:14: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in:15: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)
toolchain/toolchain-external/toolchain-external-codescape-mti-mips/Config.in:16: help text: <tab><2 spaces><62 chars> (http://nightly.buildroot.org/#writing-rules-config-in)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/luarocks: rework configuration file for per-package directories
Thomas Petazzoni [Fri, 30 Nov 2018 10:38:29 +0000 (11:38 +0100)]
package/luarocks: rework configuration file for per-package directories

Currently, luarocks.mk generates a configuration file with hardcoded
STAGING_DIR, TARGET_DIR, TARGET_CC, LUAROCKS_CFLAGS and TARGET_LDFLAGS
values. This is not compatible with per-package directories, where the
value of STAGING_DIR, TARGET_DIR, TARGET_CC and possibly
TARGET_CFLAGS/TARGET_LDFLAGS may be different from one package to the
other.

Based on input from François Perrad, this commit:

 - Changes the Luarocks configuration file to use os_getenv() for the
   appropriate variables. Since the contents of this file is not
   fixed, it is no longer generated by luarocks.mk using a series of
   'echo' but simply concatenated with the rest of the Luarocks
   configuration file.

 - Adjusts LUAROCKS_RUNV_ENV so that the necessary environment
   variables are now passed.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agofs/common: allow filesystems to set the name of their output file
Carlos Santos [Sat, 1 Dec 2018 09:14:36 +0000 (10:14 +0100)]
fs/common: allow filesystems to set the name of their output file

Some filesystems may want to tweak their output names, rather than using
the fixed "rootfs.foo" scheme. Add a ROOTFS_FOO_IMAGE_NAME variable for
this purpose.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
[yann.morin.1998@free.fr: fix the patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/quagga: add nhrpd option
Fabrice Fontaine [Sat, 1 Dec 2018 20:40:48 +0000 (21:40 +0100)]
package/quagga: add nhrpd option

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/quagga: bump to version 1.2.3
Fabrice Fontaine [Sat, 1 Dec 2018 20:40:47 +0000 (21:40 +0100)]
package/quagga: bump to version 1.2.3

- Remove all patches except the first one as they are already in this
  version
- Remove AUTORECONF = YES as we're not patching any *.ac files anymore
- Disable new nhrpd option
- Add hash for license file

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/c-ares: bump to version 1.15.0
Fabrice Fontaine [Sat, 1 Dec 2018 20:42:46 +0000 (21:42 +0100)]
package/c-ares: bump to version 1.15.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/c-ares: use LICENSE.md
Fabrice Fontaine [Sat, 1 Dec 2018 20:42:45 +0000 (21:42 +0100)]
package/c-ares: use LICENSE.md

c-ares has a LICENSE.md file since version 1.12 and
https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a

So use it instead of one of the source file and add its hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/c-ares: use LICENSE.md
Fabrice Fontaine [Sat, 1 Dec 2018 20:42:45 +0000 (21:42 +0100)]
package/c-ares: use LICENSE.md

c-ares has a LICENSE.md file since version 1.12 and
https://github.com/c-ares/c-ares/commit/4e861351d9deaef7b78aee50ce9229325f4fc59a

So use it instead of one of the source file and add its hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fontconfig: add util-linux mandatory dependency
Fabrice Fontaine [Fri, 30 Nov 2018 20:19:00 +0000 (21:19 +0100)]
package/fontconfig: add util-linux mandatory dependency

uuid from util-linux is a mandatory dependency since version 2.12.91 and
https://cgit.freedesktop.org/fontconfig/commit/configure.ac?id=7b48fd3dd406b926f0e5240b211f72197ed538a9

Fixes:
 - http://autobuild.buildroot.org/results/49fa1d2da97be979cbc2cb4f83b40f5c2ad8c764

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-msgpack: bump to version 0.6.0
Asaf Kahlon [Fri, 30 Nov 2018 14:22:34 +0000 (16:22 +0200)]
package/python-msgpack: bump to version 0.6.0

Archive file name changed from msgpack-python to msgpack

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agosquid: fix static build with libxml2
Fabrice Fontaine [Sat, 1 Dec 2018 18:28:45 +0000 (19:28 +0100)]
squid: fix static build with libxml2

Use pkg-config to find libxml2 to fix static build of squid
Add SQUID_AUTORECONF = YES and remove ac_cv_libxml2_include (not needed
anymore)

Fixes:
 - http://autobuild.buildroot.org/results/7f23eb98c311b294c7f0e165279fa26909a5ff93

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoquagga: fix BR2_PACKAGE_QUAGGA_TCP_ZEBRA
Fabrice Fontaine [Sat, 1 Dec 2018 18:31:50 +0000 (19:31 +0100)]
quagga: fix BR2_PACKAGE_QUAGGA_TCP_ZEBRA

Since bump to version 0.99.21 and commit
b20c77321fa87f880ead2f27ecf19fd7c4f436da, BR2_PACKAGE_QUAGGA_TCP_ZEBRA
has been wrongly rename into BR2_PACKAGE_QUAGGA_TCP_ZERBRA

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-jsonmodels: bump to version 2.4
Asaf Kahlon [Sat, 1 Dec 2018 15:47:59 +0000 (17:47 +0200)]
package/python-jsonmodels: bump to version 2.4

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/toolchain-external-codescape-mti-mips: bump to 2018.09-02
Paul Burton [Fri, 30 Nov 2018 16:55:22 +0000 (16:55 +0000)]
toolchain/toolchain-external-codescape-mti-mips: bump to 2018.09-02

The 2016.05-06 toolchain we've had support for is pretty outdated at
this point, so update to the latest 2018.09-02 version.

Of note besides the typical component version bumps:

 - The toolchains are now provided by MIPS Tech LLC after its departure
   from Imagination Technologies.

 - The download site changed as a result of that.

 - The toolchains are now built targeting CentOS 6 rather than CentOS 5.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agotoolchain/toolchain-external-codescape-img-mips: bump to 2018.09-02
Paul Burton [Fri, 30 Nov 2018 16:55:21 +0000 (16:55 +0000)]
toolchain/toolchain-external-codescape-img-mips: bump to 2018.09-02

The 2016.05-06 toolchain we've had support for is pretty outdated at
this point, so update to the latest 2018.09-02 version.

Of note besides the typical component version bumps:

 - The toolchains are now provided by MIPS Tech LLC after its departure
   from Imagination Technologies.

 - The download site changed as a result of that.

 - The toolchains are now built targeting CentOS 6 rather than CentOS 5.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/shadowsocks-libev: bump to version 3.2.3
DUPONCHEEL Sébastien [Fri, 30 Nov 2018 16:39:43 +0000 (17:39 +0100)]
package/shadowsocks-libev: bump to version 3.2.3

Signed-off-by: DUPONCHEEL Sébastien <sebastien.duponcheel@corp.ovh.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoUpdate for 2018.11-rc3
Peter Korsgaard [Fri, 30 Nov 2018 12:27:09 +0000 (13:27 +0100)]
Update for 2018.11-rc3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agoglibc: bump version for post-2.28 security fixes
Peter Korsgaard [Fri, 30 Nov 2018 09:05:57 +0000 (10:05 +0100)]
glibc: bump version for post-2.28 security fixes

Fixes the following security vulnerability:

  CVE-2018-19591: A file descriptor leak in if_nametoindex can lead to a
  denial of service due to resource exhaustion when processing getaddrinfo
  calls with crafted host names.  Reported by Guido Vranken.

Adhemerval Zanella (2):
      Fix misreported errno on preadv2/pwritev2 (BZ#23579)
      x86: Fix Haswell CPU string flags (BZ#23709)

Alexandra Hájková (1):
      Add an additional test to resolv/tst-resolv-network.c

Andreas Schwab (2):
      Fix stack overflow in tst-setcontext9 (bug 23717)
      libanl: properly cleanup if first helper thread creation failed (bug 22927)

DJ Delorie (2):
      malloc: tcache double free check
      malloc: tcache double free check

Florian Weimer (9):
      conform: XFAIL siginfo_t si_band test on sparc64
      stdlib/test-bz22786: Avoid spurious test failures using alias mappings
      stdlib/test-bz22786: Avoid memory leaks in the test itself
      support_blob_repeat: Call mkstemp directory for the backing file
      stdlib/tst-strtod-overflow: Switch to support_blob_repeat
      nscd: Fix use-after-free in addgetnetgrentX [BZ #23520]
      support: Print timestamps in timeout handler
      Revert "malloc: tcache double free check" [BZ #23907]
      CVE-2018-19591: if_nametoindex: Fix descriptor for overlong name [BZ #23927]

H.J. Lu (2):
      i386: Use _dl_runtime_[resolve|profile]_shstk for SHSTK [BZ #23716]
      Check multiple NT_GNU_PROPERTY_TYPE_0 notes [BZ #23509]

Ilya Yu. Malakhov (1):
      signal: Use correct type for si_band in siginfo_t [BZ #23562]

Istvan Kurucsai (1):
      malloc: Additional checks for unsorted bin integrity I.

Joseph Myers (2):
      Update syscall-names.list for Linux 4.18.
      Update kernel version in syscall-names.list to 4.19.

Moritz Eckert (1):
      malloc: Mitigate null-byte overflow attacks

Paul Eggert (1):
      Fix tzfile low-memory assertion failure

Paul Pluzhnikov (2):
      Fix BZ#23400 (creating temporary files in source tree), and undefined behavior in test.
      [BZ #20271] Add newlines in __libc_fatal calls.

Pochang Chen (1):
      malloc: Verify size of top chunk.

Rafal Luzynski (1):
      kl_GL: Fix spelling of Sunday, should be "sapaat" (bug 20209).

Stefan Liebler (2):
      Fix race in pthread_mutex_lock while promoting to PTHREAD_MUTEX_ELISION_NP [BZ #23275]
      Test stdlib/test-bz22786 exits now with unsupported if malloc fails.

Szabolcs Nagy (2):
      i64: fix missing exp2f, log2f and powf symbols in libm.a [BZ #23822]
      Increase timeout of libio/tst-readline

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
5 years agopackage/qt5/qt5base: use ccache for building host code
Thomas Petazzoni [Sat, 20 Oct 2018 13:25:35 +0000 (15:25 +0200)]
package/qt5/qt5base: use ccache for building host code

qt5 currently doesn't use HOSTCC/HOSTCXX, so it doesn't use ccache
when building all its host code (especially qmake). This means that
even with ccache enabled and a hot cache, it still takes a long time
to build qt5base.

Before this patch, building qt5base takes:

 - 446 seconds with a cold ccache
 - 185 seconds with a hot ccache

This is because the ccache is not used for host code.

After this patch, building qt5base takes:

 - 450 seconds with a cold ccache
 - 15 seconds with a hot ccache

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/mini-snmpd: new package
Alexander Sverdlin [Thu, 22 Nov 2018 18:36:09 +0000 (19:36 +0100)]
package/mini-snmpd: new package

Mini SNMPd is a minimal implementation targeted at small or embedded
UNIX systems with limited resources.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
[Thomas: add hash file.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/libtool: reduce target package to libltdl only
Alexander Sverdlin [Mon, 26 Nov 2018 19:37:46 +0000 (20:37 +0100)]
package/libtool: reduce target package to libltdl only

This will save 1700K on target filesystem (as tested on ARM, i686).

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/fontconfig: bump version to 2.13.1
Peter Seiderer [Wed, 28 Nov 2018 19:11:26 +0000 (20:11 +0100)]
package/fontconfig: bump version to 2.13.1

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/civetweb: fix lua build
Fabrice Fontaine [Thu, 29 Nov 2018 20:52:13 +0000 (21:52 +0100)]
package/civetweb: fix lua build

dlfcn.h must be included in modlua.ini to be able to use dlopen
otherwise build will fail on:
src/mod_lua.inl:2845:41: error: 'RTLD_LAZY' undeclared (first use in this function)
  lib_handle_uuid = dlopen("libuuid.so", RTLD_LAZY);

Fixes:
 - http://autobuild.buildroot.org/results/7a189f49c5a8b6f7b3d4c57cda5982adc65dbc19

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pathlib2: bump to version 2.3.3
Asaf Kahlon [Fri, 30 Nov 2018 06:51:55 +0000 (08:51 +0200)]
package/python-pathlib2: bump to version 2.3.3

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-certifi: bump to version 2018.11.29
Asaf Kahlon [Fri, 30 Nov 2018 06:51:54 +0000 (08:51 +0200)]
package/python-certifi: bump to version 2018.11.29

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agovalgrind: disable for mips32r6/mips32elr6
Peter Seiderer [Thu, 29 Nov 2018 22:37:32 +0000 (23:37 +0100)]
valgrind: disable for mips32r6/mips32elr6

Fixes [1]:

  /tmp/ccD2Tule.s: Assembler messages:
  /tmp/ccD2Tule.s:682: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7'
  /tmp/ccD2Tule.s:2767: Error: opcode not supported on this processor: mips32r6 (mips32r6) `movn $2,$4,$7'

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agoqt5declarative: fix debug build with uclibc
Fabrice Fontaine [Fri, 30 Nov 2018 00:20:16 +0000 (01:20 +0100)]
qt5declarative: fix debug build with uclibc

Debug build of qsgtexture fails on uclibc since version 5.11 and
https://github.com/qt/qtdeclarative/commit/7c507eaac3f848f92f2ebdafe8ded4a064d68351:

scenegraph/util/qsgtexture.cpp:69:22: fatal error: execinfo.h: No such file or directory
 #include <execinfo.h>

Indeed, !defined(__UCLIBC__) has been replaced by defined(__GBLIBC__) to
fix build on musl but as a result, build fails on uclibc because uclibc
also defines __GLIBC__ (and it does not have execinfo like musl)

This error is raised only when building in debug mode because
CAN_BACKTRACE_EXECINFO is undefined if QT_NO_DEBUG is set

So keep defined(__GLIBC__), but put back !defined(__UCLIBC__)

Fixes:
 - http://autobuild.buildroot.org/results/6fce0ce5aea943e097532efbbc8d1e28f41e5866

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
5 years agopackage/python-pydal: bump to version v18.09
Angelo Compagnucci [Sun, 25 Nov 2018 15:32:31 +0000 (16:32 +0100)]
package/python-pydal: bump to version v18.09

This patch bumps pydal to version v18.09 and moves its download location
to github cause the version on pypi is not updated anymore.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>