buildroot.git
6 years agomsmtp: bump to version 1.8.0
Fabrice Fontaine [Sun, 18 Nov 2018 11:58:40 +0000 (12:58 +0100)]
msmtp: bump to version 1.8.0

- Update site to https://marlam.de/msmtp/ (see
  https://sourceforge.net/projects/msmtp)
- Replace libidn by libidn2:
  https://github.com/marlam/msmtp-mirror/commit/0d8be2a35f0c7757d1f423e2d21f042626fec60e
- Disable msmtpd (minimal SMTP server) as it uses fork:
  https://github.com/marlam/msmtp-mirror/commit/e0bc975fbfb8b26a6dfaac87ebc64d3f37ef1e36

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobinutils: Get rid of obsolete patches
Alexey Brodkin [Sun, 21 Oct 2018 18:18:30 +0000 (21:18 +0300)]
binutils: Get rid of obsolete patches

Some patches for Binutils seems to not be really needed.
Moreover for some of them I was not able to find any justification
for their introduction.

1. 0002-ld-makefile.patch

   This one I may track down to at least 2.15.92.0.2 here [1].
   Commit message just says: "Integrate some debian patches,
   extracted from binutils_2.15-4.diff"

   But in OpenEmbedded they got rid of it long ago on switch to 2.26, see [2].

2. 0003-check-ldrunpath-length.patch

   The same story here.

3. 0004-add-sysroot-fix-from-bug-3049.patch

   Bug mentioned in this patch was marked as "fixed" in 2012, see [3].

[1] https://git.buildroot.org/buildroot/commit/?id=ce2722a8f2abee5b60862bc896333b77a7502c82
[2] https://github.com/openembedded/openembedded-core/commit/3c7fe424f850af70989ad682dd9c5be70cd02ca5
[3]https://sourceware.org/bugzilla/show_bug.cgi?id=10340

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Romain Naour <romain.naour@smile.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-utils: bump to version to 1.1.7
Zenichi Amano [Sun, 4 Nov 2018 11:53:35 +0000 (20:53 +0900)]
package/alsa-utils: bump to version to 1.1.7

Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-lib: bump to version to 1.1.7
Zenichi Amano [Sun, 4 Nov 2018 11:48:11 +0000 (20:48 +0900)]
package/alsa-lib: bump to version to 1.1.7

Signed-off-by: Zenichi Amano <crow.misia@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotoolchain: Bump ARC tools to arc-2018.09-rc1
Evgeniy Didin [Thu, 8 Nov 2018 11:32:07 +0000 (14:32 +0300)]
toolchain: Bump ARC tools to arc-2018.09-rc1

This commit bumps ARC toolchain to arc-2018.09-rc1.
We want to test how new toolchain-rc1 builds packages,
so we can make fixes before release of toolcain.

ARC GNU tools of version arc-2018.09-rc1 bring some quite significant changes like:
* Binutils v2.31.1 with additional ARC patches
* GCC 8.2.1 with additional ARC patches
* glibc 2.28 with additional ARC patches

Please note that it is a release candidate and it might contain some
breakages, please don't use it for production builds.

Signed-off-by: Evgeniy Didin <didin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: arc-buildroot@synopsys.com
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowebsocketpp: new package
Ryan Barnett [Wed, 14 Nov 2018 21:43:25 +0000 (15:43 -0600)]
websocketpp: new package

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
[Peter: fix alphabetical ordering as suggested by Ryan]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopulseview: bump version to 0.4.1
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:03 +0000 (15:12 +0100)]
pulseview: bump version to 0.4.1

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibsigrokdecode: bump version to 0.5.2
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:02 +0000 (15:12 +0100)]
libsigrokdecode: bump version to 0.5.2

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibsigrok: bump version to 0.5.1
Bartosz Golaszewski [Sat, 17 Nov 2018 14:12:01 +0000 (15:12 +0100)]
libsigrok: bump version to 0.5.1

Since commit 79034d4f39f7 ("strutil: Locale independent snprintf()
and vsnprintf() functions") libsigrok now needs to know locale_t.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agodoxygen: bump version to 1.8.14
Bartosz Golaszewski [Sat, 17 Nov 2018 14:25:12 +0000 (15:25 +0100)]
doxygen: bump version to 1.8.14

Patches are now upstream - remove both.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomemcached: bump to version 1.5.12
Fabrice Fontaine [Sat, 17 Nov 2018 13:35:47 +0000 (14:35 +0100)]
memcached: bump to version 1.5.12

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosdl2: bump to version 2.0.9
Fabrice Fontaine [Sat, 17 Nov 2018 13:25:27 +0000 (14:25 +0100)]
sdl2: bump to version 2.0.9

Remove patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibpng: bump to 1.6.35
Nasser Afshin [Sat, 17 Nov 2018 07:07:52 +0000 (10:37 +0330)]
libpng: bump to 1.6.35

Also use https instead of http to retrieve the hashes.

Note that the only changes in the LICENSE file is the copy-right date and
the version number.

Signed-off-by: Nasser Afshin <afshin.nasser@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-setuptools: bump to version 40.6.2
Asaf Kahlon [Thu, 15 Nov 2018 18:23:46 +0000 (20:23 +0200)]
python-setuptools: bump to version 40.6.2

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibuv: bump to version 1.24.0
Asaf Kahlon [Thu, 15 Nov 2018 18:23:45 +0000 (20:23 +0200)]
libuv: bump to version 1.24.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopaho-mqtt-c: bump to version 1.3.0
Julien Grossholtz [Fri, 16 Nov 2018 11:39:57 +0000 (12:39 +0100)]
paho-mqtt-c: bump to version 1.3.0

paho-mqtt-c 1.3.0 is the current stable version of paho-mqtt-c.

The patch 0001-Declare-mqtt-tests-as-a-C-only-project.patch is no longer
required, a similar fix was applied upstream with:
a87450ebcefed573ad4cdac77e2c893a3c314762.

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/pkg-luarocks: use <pkg>_EXTRACT_DEPENDENCIES
Thomas Petazzoni [Fri, 16 Nov 2018 13:53:00 +0000 (14:53 +0100)]
package/pkg-luarocks: use <pkg>_EXTRACT_DEPENDENCIES

The host luarocks tool is needed when *extracting* luarocks
packages. Since regular dependencies are only available at the
configure step, it caused the "luarocks" program to be available too
late to be used to extract luarocks packages.

To work around this, host-luarocks was manually added as a dependency
of the extract step of luarocks packages. While this worked fine until
now, it breaks badly with per-package folders, because host-luarocks
is not recorded as an extract dependency of luarocks packages, and
therefore is not copied to the per-package host folder, causing a
failure.

In the mean time, the <pkg>_EXTRACT_DEPENDENCIES mechanism was added,
which aims at fixing exactly this problem, so let's use it and
simplify pkg-luarocks.mk.

Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni &lt;<a href="mailto:thomas.petazzoni@bootlin.com" target="_blank">thomas.petazzoni@bootlin.com</a>&gt;<br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-tools: bump to version 3.1.3
Carlos Santos [Fri, 16 Nov 2018 02:52:17 +0000 (00:52 -0200)]
tpm2-tools: bump to version 3.1.3

- Drop C++ requirement, which came from tpm2-tss.
- Drop musl restriction.
- Drop the patch to build with LibreSSL, which is not required anymore.
- Update the patch for the "variable may be used uninitialized" error to
  match tpm2-tss 2.1.0, which defines TPM2_ALG_ERROR, not TPM_ALG_ERROR.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-abrmd: bump to version 2.0.3
Carlos Santos [Fri, 16 Nov 2018 02:52:16 +0000 (00:52 -0200)]
tpm2-abrmd: bump to version 2.0.3

- Drop C++ requirement, which came from tpm2-tss.
- Drom musl restriction.
- Update daemon command-line options in init script.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agotpm2-tss: bump to version 2.1.0
Carlos Santos [Fri, 16 Nov 2018 02:52:15 +0000 (00:52 -0200)]
tpm2-tss: bump to version 2.1.0

- Drop C++ requirement (tmp2-tss is pure C now).
- Add explicit dependency on openssl (gnutls can be used too but this
  option will be added by a subsequent patch).
- Drop the patch on tcti_socket.cpp, which is not applicable.
- Add a patch already submitted upstream to support using libressl[1].
- Update LICENSE hash. The terms are is still BSD-2-Clause but the file
  now contains a SPDX license identifier.

1. https://github.com/tpm2-software/tpm2-tss/pull/1207

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibressl: bump to version 2.8.2
Carlos Santos [Fri, 16 Nov 2018 02:41:15 +0000 (00:41 -0200)]
libressl: bump to version 2.8.2

See release notes since 2.7.4 at

  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.0-relnotes.txt
  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.1-relnotes.txt
  https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.8.2-relnotes.txt

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoeudev: bump to version 3.2.7
Peter Korsgaard [Thu, 15 Nov 2018 21:51:52 +0000 (22:51 +0100)]
eudev: bump to version 3.2.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiwd: new package
Peter Seiderer [Fri, 9 Nov 2018 23:17:25 +0000 (00:17 +0100)]
iwd: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoell: bump version to 0.14
Peter Seiderer [Fri, 9 Nov 2018 23:17:24 +0000 (00:17 +0100)]
ell: bump version to 0.14

- remove superseeded patch 0001-ell-signal.h-use-standard-sigset_t-fixes-musl-compil.patch
- add patch for missing l_genl_family_set_unicast_handler symbol export

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/proftpd: add sendfile
Jared Bents [Mon, 12 Nov 2018 16:45:21 +0000 (10:45 -0600)]
package/proftpd: add sendfile

Enables sendfile to ProFTPD for zero-copy transfers.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopackage/proftpd: add enable buffer size
Jared Bents [Mon, 12 Nov 2018 16:45:20 +0000 (10:45 -0600)]
package/proftpd: add enable buffer size

Enable buffer size as a compile time option to change internal
buffer size.

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years ago.gitlab-ci.yml: add trigger per type of job
Ricardo Martincoski [Sun, 28 Oct 2018 23:58:37 +0000 (20:58 -0300)]
.gitlab-ci.yml: add trigger per type of job

Currently the user has 2 sets of jobs that can be triggered on a GitLab
pipeline.
 - to trigger all defconfigs, all runtime tests and all check-* jobs:
   $ git tag <name>
   $ git push gitlab <name>                     # currently 260 jobs
 - to trigger only the check-* jobs:
   $ git push gitlab HEAD:<name>                # currently   4 jobs

This is not much versatile, so the user ends up hand-editing the
.gitlab-ci.yml in order to trigger some subsets, even the common ones,
for instance all runtime tests.

Add 2 more subsets that can be triggered based on the name of the
branch pushed.
 - to trigger all defconfigs and all check-* jobs:
   $ git push gitlab HEAD:<name>-defconfigs     # currently 192 jobs
 - to trigger all runtime tests and all check-* jobs:
   $ git push gitlab HEAD:<name>-runtime-tests  # currently  72 jobs

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
6 years agopython-cchardet: new package
James Hilliard [Sun, 11 Nov 2018 23:23:12 +0000 (07:23 +0800)]
python-cchardet: new package

cChardet is high speed universal character encoding detector.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/acpid: add systemd service
Alexander Sverdlin [Tue, 13 Nov 2018 20:17:28 +0000 (21:17 +0100)]
package/acpid: add systemd service

This one is based on Archlinux's service file.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agonftables: bump to version 0.9.0
Baruch Siach [Tue, 13 Nov 2018 20:00:09 +0000 (22:00 +0200)]
nftables: bump to version 0.9.0

Switch to https download site to save a redirect.

Optionally depend on the jansson for the newly introduced JSON output
support.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibnftnl: bump to version 1.1.2
Baruch Siach [Tue, 13 Nov 2018 20:00:08 +0000 (22:00 +0200)]
libnftnl: bump to version 1.1.2

Update patch 0001.

Switch to https for download site to save a redirect.

Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/linux-tools: add support for pcitest tool
Gustavo Pimentel [Tue, 13 Nov 2018 05:55:53 +0000 (06:55 +0100)]
package/linux-tools: add support for pcitest tool

Add support for selection and compiling the pcitest tool on buildroot.

This tool is available to be compiled since kernel 4.20.

Signed-off-by: Gustavo Pimentel <gustavo.pimentel@synopsys.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add python-crossbar tests
Yegor Yefremov [Sat, 10 Nov 2018 02:16:09 +0000 (00:16 -0200)]
support/testing: add python-crossbar tests

This test invokes "crossbar version" command, that checks all
dependencies found in setup.py files and prints some system related
information.
Add haveged to the target to generate enough entropy so crossbar ->
pynacl -> libsodium don't hang waiting for /dev/random.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
[Ricardo: move test script to a separate file, remove Python 2 variant,
 add haveged to target to add entropy and avoid hanging]
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-txtorcon
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:08 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-txtorcon

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-txaio
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:07 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-txaio

Move the test scripts to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-twisted
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:06 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-twisted

Move the test script to be run on the target from inline in the test
case to a separate file.

Get the base defconfig fragment from the immediate parent class and not
directly from TestPythonBase because it is the correct way of doing
this. This way the base class TestPythonTwisted could even be placed in
a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-incremental
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:05 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-incremental

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-cryptography
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:04 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-cryptography

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: use TestPythonPackageBase for python-autobahn
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:03 +0000 (00:16 -0200)]
support/testing: use TestPythonPackageBase for python-autobahn

Move the test script to be run on the target from inline in the test
case to a separate file.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: create default test case for python packages
Ricardo Martincoski [Sat, 10 Nov 2018 02:16:02 +0000 (00:16 -0200)]
support/testing: create default test case for python packages

Test cases for python packages are very similar among each other: run a
simple script in the target that minimally tests the package.
So create a new helper class named TestPythonPackageBase that holds all
the logic to run a script on the target.

TestPythonPackageBase adds in build time one or more sample scripts to
be run on the target. The test case for the python package must
explicitly list them in the "sample_scripts" property. The test case
then automatically logins to the target, checks the scripts are really
in the rootfs (it calls "md5sum" instead of "ls" or "test" in an attempt
to make the logfile more friendly, since someone analysing a failure can
easily check the expected script was executed) and then calls the python
interpreter passing the sample script as parameter.
An optional property "timeout" exists for the case the sample script
needs more time to run than the default timeout from the test infra
(currently 5 seconds).

A simple test case for a package that only supports Python 2 will look
like this:

|from tests.package.test_python import TestPythonPackageBase
|
|
|class TestPythonPy2<Package>(TestPythonPackageBase):
|    __test__ = True
|    config = TestPythonPackageBase.config + \
|        """
|        BR2_PACKAGE_PYTHON=y
|        BR2_PACKAGE_PYTHON_<PACKAGE>=y
|        """
|    sample_scripts = ["tests/package/sample_python_<package>.py"]
|    timeout = 15

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Asaf Kahlon <asafka7@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-aiodns: new package
James Hilliard [Mon, 12 Nov 2018 08:09:16 +0000 (16:09 +0800)]
python-aiodns: new package

Simple DNS resolver for asyncio.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopython-pycares: new package
James Hilliard [Mon, 12 Nov 2018 08:09:15 +0000 (16:09 +0800)]
python-pycares: new package

Python interface for c-ares.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: Don't need --without-(ssl/gnutls/nss/mbedtls) twice
Trent Piepho [Tue, 13 Nov 2018 00:24:02 +0000 (00:24 +0000)]
libcurl: Don't need --without-(ssl/gnutls/nss/mbedtls) twice

Remove the --without-* options from the yes side of the TLS libraries
selection checks.

Since the --without-* option is now specified when the corresponding TLS
library is not being used, it's no longer necessary when enabling a TLS
library to explicity list all the other TLS libs that curl should not
use.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoipset: bump to version 7.0
Baruch Siach [Mon, 12 Nov 2018 19:52:36 +0000 (21:52 +0200)]
ipset: bump to version 7.0

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoethtool: bump to version 4.19
Baruch Siach [Mon, 12 Nov 2018 18:48:23 +0000 (20:48 +0200)]
ethtool: bump to version 4.19

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiucode-tool: rewrite init script
Carlos Santos [Sun, 4 Nov 2018 21:02:41 +0000 (19:02 -0200)]
iucode-tool: rewrite init script

- Indent with tabs.
- Use a function for start.
- Pass "-q" to iucode_tool to inhibit usual output that would otherwise
  interfere with the operation status report.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
[Peter: drop dummy function with sed invocation not compatible with busybox]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoiucode-tool: bump to version 2.3.1
Carlos Santos [Sun, 4 Nov 2018 21:02:40 +0000 (19:02 -0200)]
iucode-tool: bump to version 2.3.1

Brings several fixes and enhancements. Check the change log at

    https://gitlab.com/iucode-tool/iucode-tool/raw/v2.3.1/ChangeLog

Tested on an equipment with Intel C3000 processor.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agointel-microcode: bump to version 20180807a
Carlos Santos [Sun, 4 Nov 2018 21:02:39 +0000 (19:02 -0200)]
intel-microcode: bump to version 20180807a

The big "intel-microcode.dat" text file is gone. Only binary files are
provided, in the "intel-ucode" directory. Install it at /lib/firmware/,
like linux-firmware does, and update the iucode-tool init script to use
that path.

We don't install the microcode under "intel-ucode-with-caveats", since
it needs special commits in the Linux kernel (see "relnotes" for more
information).

Tested on an equipment with Intel C3000 processor.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolinux: enable MICROCODE_INTEL if intel-microcode is selected
Carlos Santos [Sun, 4 Nov 2018 21:02:38 +0000 (19:02 -0200)]
linux: enable MICROCODE_INTEL if intel-microcode is selected

We already turn on kernel features for several packages, so let's do it
for intel-microcode too, otherwise it's impossible to load the microcode
(by means of iucode-tools).

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibcurl: Allow selection of TLS package libcurl will use
Trent Piepho [Thu, 8 Nov 2018 22:25:31 +0000 (22:25 +0000)]
libcurl: Allow selection of TLS package libcurl will use

Instead of defaulting to OpenSSL, allow selection of package to use
through a choice in libcurl's config.  The default will be to select the
first enabled TLS provider in the same preference order as is used now,
i.e. no change from current behavior.

Some of the alternative libraries have advantages over OpenSSL in
certain areas.

For example, gnutls has vastly superior PKCS11 support.  One can use
client TLS private keys by supplying a PKCS11 URI instead of a private
key file name.  The TLS server cert trust store can be a PKCS11 URI,
e.g. configure libcurl with a ca-bundle of "pkcs11:model=p11-kit-trust".
Now server certs can be stored in a software and/or hardware HSM(s).
This doesn't work with OpenSSL.

However, some software only supports OpenSSL for TLS or other crypto
functions.  So it might be necessary to enable OpenSSL for that reason.

Signed-off-by: Trent Piepho <tpiepho@impinj.com>
[Peter: add BR2_PACKAGE_LIBCURL_TLS_SUPPORT and use it to hide choice &
comment, explitly pass --without-foo if option is not enabled,
only do .pc fixup if BR2_PACKAGE_LIBCURL_OPENSSL is enabled]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agolibmicrohttpd: bump to version 0.9.60
Fabrice Fontaine [Sat, 10 Nov 2018 16:18:07 +0000 (17:18 +0100)]
libmicrohttpd: bump to version 0.9.60

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibkrb5: bump to version 1.16.2
Fabrice Fontaine [Sun, 11 Nov 2018 17:57:06 +0000 (18:57 +0100)]
libkrb5: bump to version 1.16.2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotrace-cmd: bump to version 2.7
Fabrice Fontaine [Sat, 10 Nov 2018 17:48:47 +0000 (18:48 +0100)]
trace-cmd: bump to version 2.7

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 agotrace-cmd: fix site
Fabrice Fontaine [Sat, 10 Nov 2018 17:48:46 +0000 (18:48 +0100)]
trace-cmd: fix site

Replace $(BR2_KERNEL_MIRROR) by https://git.kernel.org/pub, which
fixes the download of this package:

>>> trace-cmd trace-cmd-v2.6.1 Downloading
Initialized empty Git repository in /home/thomas/dl/trace-cmd/git/.git/
Fetching all references
fatal: repository 'https://cdn.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/' not found
Detected a corrupted git cache.
Removing it and starting afresh.
Initialized empty Git repository in /home/thomas/dl/trace-cmd/git/.git/
Fetching all references
fatal: repository 'https://cdn.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git/' not found
Detected a corrupted git cache.
This is the second time in a row; bailing out
--2018-11-11 21:08:00--  http://sources.buildroot.net/trace-cmd/trace-cmd-trace-cmd-v2.6.1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.25.210.19, 104.25.211.19, 2606:4700:20::6819:d313, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.25.210.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1859835 (1.8M) [application/x-gtar-compressed]

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoutil-linux: bump to version 2.33
Carlos Santos [Thu, 8 Nov 2018 00:16:34 +0000 (22:16 -0200)]
util-linux: bump to version 2.33

- Update "basic set" help to include the new "choom" utility.
- Re-generate checksums for license files, whose names now follow the
  SPDX License List.
- Pull a patch already applied upstream that make rtcwake use poweroff
  if shutdown is not found (e.g. Busybox, which the default init system
  on Buldroot).
- Pull a patch already submitted upstream to fix the output of escaped
  characters by agetty.

Signed-off-by: Carlos Santos <casantos@datacom.com.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoUpdate for 2018.11-rc1
Peter Korsgaard [Fri, 9 Nov 2018 21:56:48 +0000 (22:56 +0100)]
Update for 2018.11-rc1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoCHANGES: add additional resolved issues since 2018.08
Peter Korsgaard [Fri, 9 Nov 2018 21:48:50 +0000 (22:48 +0100)]
CHANGES: add additional resolved issues since 2018.08

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoCHANGES: add recent changes
Peter Korsgaard [Fri, 9 Nov 2018 21:31:17 +0000 (22:31 +0100)]
CHANGES: add recent changes

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libmpdclient: bump to version 2.16
Jörg Krause [Mon, 5 Nov 2018 07:17:49 +0000 (08:17 +0100)]
package/libmpdclient: bump to version 2.16

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mpd-mpc: bump to version 0.31
Jörg Krause [Mon, 5 Nov 2018 07:12:21 +0000 (08:12 +0100)]
package/mpd-mpc: bump to version 0.31

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/mpd: bump to version 0.20.23
Jörg Krause [Mon, 5 Nov 2018 07:09:44 +0000 (08:09 +0100)]
package/mpd: bump to version 0.20.23

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/meson: bump to version 0.47.2
Jörg Krause [Mon, 5 Nov 2018 00:05:18 +0000 (01:05 +0100)]
package/meson: bump to version 0.47.2

Note, that there is already a patch [1] to bump the version to 0.48.1.
However, the bump to version 0.48.x has some unresolved issues.

In the meantime, until the issue with 0.48 is resolved, bump to latest
version of the 0.47 branch.

[1] http://patchwork.ozlabs.org/patch/986260/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agovalgrind: disable for mips64r6/mips64elr6
Peter Seiderer [Thu, 8 Nov 2018 21:49:32 +0000 (22:49 +0100)]
valgrind: disable for mips64r6/mips64elr6

Fixes [1]:

  /tmp/ccBAUqbI.s: Assembler messages:
  /tmp/ccBAUqbI.s:622: Error: opcode not supported on this processor: mips64r6 (mips64r6) `movn $2,$4,$7'
  /tmp/ccBAUqbI.s:2607: Error: opcode not supported on this processor: mips64r6 (mips64r6) `movn $2,$4,$7'

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

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/python-mwclient: bump version to 0.9.2
Bernd Kuhls [Thu, 8 Nov 2018 20:56:22 +0000 (21:56 +0100)]
package/python-mwclient: bump version to 0.9.2

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibffi: bump to version 3.3-rc0
Fabrice Fontaine [Fri, 9 Nov 2018 18:00:04 +0000 (19:00 +0100)]
libffi: bump to version 3.3-rc0

- Update site to github (for the time being, as 3.3-rc0 is a release
  candidate, it is not published on the official ftp)
- Update third patch
- Remove fourth and fifth patches (already in version)
- Remove uneeded hooks, as public headers are now installed in the
  standard path since
  https://github.com/libffi/libffi/commit/982b89c01aca99c7bc229914fc1521f96930919b
- New risc-v support:
  https://github.com/libffi/libffi/commit/3840d49aaa831d649b1597518a2903dfed0d57f3

Fixes:
 - http://autobuild.buildroot.org/results/3edf66362ea5a83291f19373e4b6f2e5cce98d7b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/sconeserver: bump version
Bernd Kuhls [Thu, 8 Nov 2018 21:00:30 +0000 (22:00 +0100)]
package/sconeserver: bump version

https://github.com/sconemad/sconeserver/commit/6b932d7d8dbb700b830205e7111e469cefff490c
adds support for OpenSSL 1.1

Added license hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotoolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops
Alexey Brodkin [Fri, 9 Nov 2018 20:09:49 +0000 (23:09 +0300)]
toolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops

Initially we had a port only for ARCv2 cores but then with a simple
change ARCompact cores got supported as well.

So we generalize from BR2_archs to BR2_arcle as we haven't tried to
get glibc working on big-endian ARCs yet.

Also we never bothered to check avaialbility of atomic instructions in
the core but in case of Glibc for ARC this is really a must, so we add
this check here.

Note in case of uClibc we may have system w/o HW atomics but:

 1. Only single-core systems are allowed
 2. Atomic instructions are emulated via arc_usr_cmpxchg syscall

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agolibgpiod: bump version to v1.2
Bartosz Golaszewski [Fri, 9 Nov 2018 11:01:44 +0000 (12:01 +0100)]
libgpiod: bump version to v1.2

Release notes:
  https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS?h=v1.2.x

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosquid: security bump to version 4.4
Peter Korsgaard [Fri, 9 Nov 2018 13:55:32 +0000 (14:55 +0100)]
squid: security bump to version 4.4

Fixes SQUID-2018_4:

Due to incorrect input handling, Squid is vulnerable to a Cross-Site
Scripting vulnerability when generating HTTPS response messages about TLS
errors.

For more details, see the advisory:

http://www.squid-cache.org/Advisories/SQUID-2018_4.txt

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/libnfs: add patch to fix musl build issue
Jörg Krause [Mon, 5 Nov 2018 01:02:29 +0000 (02:02 +0100)]
package/libnfs: add patch to fix musl build issue

Add a patch to fix build issues with the musl C library.

This patch fixes an autobuild issue when linking the mpd package
against libnfs. The header file libnfs.h uses `struct timeval` which is
defined in `<sys/time.h>` for POSIX systems. Unfortunately, upstream
only includes it conditionally, based on the system. Therefore, we
remove the check in the first patch.

Reported upstream:
https://github.com/sahlberg/libnfs/issues/272

Fixes:
http://autobuild.buildroot.org/results/452/4522014698b9fe50720a71b663e47a75805bcf54
http://autobuild.buildroot.org/results/b0a/b0a0c20ad1705e9fa7ba4a12eb9c182e8077ab0c
http://autobuild.buildroot.org/results/53c/53c87361923cc177de7889523b3d16ba6b1d3d0f
.. and more.

Previous patch: Changes requested
http://patchwork.ozlabs.org/patch/973605/

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/gcc: fix xtensa uclinux code generation
Max Filippov [Wed, 7 Nov 2018 21:20:50 +0000 (13:20 -0800)]
package/gcc: fix xtensa uclinux code generation

xtensa-uclinux uses bFLT executable file format that cannot relocate
fields representing offsets from data to code. C++ objects built as PIC
use offsets to encode FDE structures. As a result C++ exception handling
doesn't work correctly on xtensa-uclinux. Don't use PIC by default on
xtensa-uclinux.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoattr: Add a patch to fix an unconditional infinite recursion
Nicolas Cavallari [Fri, 9 Nov 2018 11:10:50 +0000 (12:10 +0100)]
attr: Add a patch to fix an unconditional infinite recursion

The bump to 2.4.48 introduced a bug that, according to the author,
only happen in certain cases on glibc. But under uclibc-ng, it happens
every time.

The bug essentially cause any program calling any libattr.so function
to enter an infinite recursion, because of a symbol conflict between
uclibc-ng and libattr wrappers, that causes the libattr wrappers to
call themselves.

This infinite recursion does not consume the stack, so programs
basically behave like they enter an infinite loop.

It is easy to reproduce with qemu_arm_versatile_defconfig +
BR2_PACKAGE_ATTR: "getfattr ." never returns and takes 100% CPU.

Upstream fixed it, but the patch is not part of a release yet,
so take the patch.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agonginx: security bump to 1.15.6
Peter Korsgaard [Fri, 9 Nov 2018 10:08:19 +0000 (11:08 +0100)]
nginx: security bump to 1.15.6

Fixes the following security issues:

CVE-2018-16843: Excessive memory usage in HTTP/2

CVE-2018-16844: Excessive CPU usage in HTTP/2

CVE-2018-16845: Memory disclosure in the ngx_http_mp4_module

Refreshed patch 0004 + 0007 as they no longer applied cleanly.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agomosquitto: security bump to version 1.5.4
Peter Korsgaard [Fri, 9 Nov 2018 08:15:07 +0000 (09:15 +0100)]
mosquitto: security bump to version 1.5.4

>From the announcement:

When using a TLS enabled websockets listener with require_certificate
enabled, the mosquitto broker does not correctly verify client certificates.
This is now fixed.  All other security measures operate as expected, and in
particular non-websockets listeners are not affected by this.

https://mosquitto.org/blog/2018/11/version-154-released/

Drop patch 0001, now applied upstream:
https://github.com/eclipse/mosquitto/pull/933

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agosupport/testing/tests/fs/test_f2fs: fix flake8 warning
Thomas Petazzoni [Thu, 8 Nov 2018 21:41:05 +0000 (22:41 +0100)]
support/testing/tests/fs/test_f2fs: fix flake8 warning

This commit fixes the following flake8 warnings:

support/testing/tests/fs/test_f2fs.py:6:1: E302 expected 2 blank lines, found 1
support/testing/tests/fs/test_f2fs.py:12:1: E302 expected 2 blank lines, found 1
support/testing/tests/fs/test_f2fs.py:38:23: E225 missing whitespace around operator

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years ago.gitlab-ci.yml: update after addition of TestF2FS test case
Thomas Petazzoni [Thu, 8 Nov 2018 21:38:45 +0000 (22:38 +0100)]
.gitlab-ci.yml: update after addition of TestF2FS test case

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agotwolame: fix static linking with libmagic
Fabrice Fontaine [Thu, 8 Nov 2018 20:15:32 +0000 (21:15 +0100)]
twolame: fix static linking with libmagic

libmagic (from file package) already provides the buffer_init function
so to avoid a build failure for applications wanting to statically link
with twolame and libmagic (for example sox), rename buffer_init into
bitbuffer_init (also rename buffer_deinit into bitbuffer_deinit and
buffer_sstell into bitbuffer_sstell for consistency)

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/php: bump version to 7.2.12
Bernd Kuhls [Thu, 8 Nov 2018 20:39:06 +0000 (21:39 +0100)]
package/php: bump version to 7.2.12

Changelog: http://www.php.net/ChangeLog-7.php#7.2.12

Rebased patch 0004 and updated license hash after white space removal:
https://github.com/php/php-src/commit/902d39a3a79c6efe93c8879575fdd5a759cf03de

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/samba4: bump version to 4.9.2
Bernd Kuhls [Thu, 8 Nov 2018 20:33:56 +0000 (21:33 +0100)]
package/samba4: bump version to 4.9.2

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agowireshark: disable build of user guide
Fabrice Fontaine [Thu, 8 Nov 2018 20:30:44 +0000 (21:30 +0100)]
wireshark: disable build of user guide

--disable-guides has been added since version 2.5.0:
https://github.com/wireshark/wireshark/commit/aa04d2355effb1cf611831b0a260cf1aff199b9a

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agoell: new package
Peter Seiderer [Mon, 5 Nov 2018 22:04:25 +0000 (23:04 +0100)]
ell: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: fix Config.in comment dependencies, add DEVELOPERS entry.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agosupport/testing: add test for the f2fs filesystem support
Grzegorz Blach [Tue, 6 Nov 2018 14:06:47 +0000 (15:06 +0100)]
support/testing: add test for the f2fs filesystem support

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/f2fs: simplify overprovision option handling
Grzegorz Blach [Tue, 6 Nov 2018 14:06:46 +0000 (15:06 +0100)]
fs/f2fs: simplify overprovision option handling

Setting overprovision to 0 and omitting this option has exactly
the same effect.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/f2fs: add option to define list of hot file extensions
Grzegorz Blach [Tue, 6 Nov 2018 14:06:45 +0000 (15:06 +0100)]
fs/f2fs: add option to define list of hot file extensions

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agofs/f2fs: clarify help messages
Grzegorz Blach [Tue, 6 Nov 2018 14:06:44 +0000 (15:06 +0100)]
fs/f2fs: clarify help messages

For BR2_TARGET_ROOTFS_F2FS_COLD_FILES clarify that extension list must
be a coma separated.

For BR2_TARGET_ROOTFS_F2FS_OVERPROVISION clarify that the default
overprovision ratio is autocalculated according to the partition size.

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-crossbar: bump to version 18.11.1
Asaf Kahlon [Tue, 6 Nov 2018 20:06:15 +0000 (22:06 +0200)]
python-crossbar: bump to version 18.11.1

Adjust patch to fit the new version.

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-autobahn: bump to version 18.11.1
Asaf Kahlon [Tue, 6 Nov 2018 19:39:22 +0000 (21:39 +0200)]
python-autobahn: bump to version 18.11.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/v4l2loopback: bump version to 0.12.0
Christian Stewart [Tue, 6 Nov 2018 22:37:54 +0000 (14:37 -0800)]
package/v4l2loopback: bump version to 0.12.0

Add license hash for COPYING file.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agogo: bump to v1.11.2
Christian Stewart [Tue, 6 Nov 2018 22:28:10 +0000 (14:28 -0800)]
go: bump to v1.11.2

Bumps Golang host-go compiler to 1.11.2 release.

Add hash for LICENSE.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoDEVELOPERS: add Christian Stewart for go
Christian Stewart [Wed, 7 Nov 2018 20:12:59 +0000 (12:12 -0800)]
DEVELOPERS: add Christian Stewart for go

I am now maintaining / submitting regular patches for the Go toolchain as well.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agoqt: disable static build for qt-zlib
Fabrice Fontaine [Thu, 8 Nov 2018 19:28:29 +0000 (20:28 +0100)]
qt: disable static build for qt-zlib

Static build of applications using qt-zlib and zlib (such as mpv) will
fail because zlib and qt-zlib defines the same functions (inflateReset,
inflatePrime ...)

So add a dependency on !BR2_STATIC_LIBS on BR2_PACKAGE_QT_QTZLIB

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopostgresql: security bump to version 11.1
Peter Korsgaard [Thu, 8 Nov 2018 19:54:42 +0000 (20:54 +0100)]
postgresql: security bump to version 11.1

Fixes the following security issue:

CVE-2018-16850: SQL injection in pg_upgrade and pg_dump, via CREATE TRIGGER
...  REFERENCING

For more details, see the advisory:

https://www.postgresql.org/about/news/1905/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopython-requests: bump to version 2.20.1
Asaf Kahlon [Thu, 8 Nov 2018 18:52:10 +0000 (20:52 +0200)]
python-requests: bump to version 2.20.1

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 years agopackage/alsa-lib: update upstream status of patches
Thomas Petazzoni [Thu, 1 Nov 2018 17:05:24 +0000 (18:05 +0100)]
package/alsa-lib: update upstream status of patches

The remaining two patches have been submitted upstream for inclusion,
so let's update their upstream status.

While at it, I update @free-electrons.com to @bootlin.com in the first
patch.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-lib: drop patch 0002-alsa-lib-provide-dummy-definitions-of-RTLD_-if...
Thomas Petazzoni [Thu, 1 Nov 2018 17:05:23 +0000 (18:05 +0100)]
package/alsa-lib: drop patch 0002-alsa-lib-provide-dummy-definitions-of-RTLD_-if-neces.patch

The description of this patch was no longer correct: it no longer
provided dummy definitions of RTLD_* macros since commit
ccad7db515fa79d2331e4e949aafb32eca0b5214 ("alsa-lib: bump to version
1.1.6"). All it did is make two <dlfcn.h> inclusions optional.

However, this is no longer needed, since the alsa-lib code base
contains four inclusions of <dlfcn.h>, which are all properly handled:

 - include/local.h, the include is guarded by #ifdef HAVE_LIBDL

 - modules/mixer/simple/sbasedl.c, modules are only built if
   BUILD_MODULES is enabled, and BUILD_MODULES is only enabled if
   HAVE_LIBDL is enabled

 - src/mixer/simple_abst.c, this file is only built if BUILD_MODULES
   is enabled, which itself is only enabled if HAVE_LIBDL is enabled

 - src/pcm/pcm_meter.c, this file is only built if
   BUILD_PCM_PLUGIN_METER is enabled, and this is not enabled if
   HAVE_LIBDL is not enabled.

Conclusion: the patch can be dropped. The third patch is renumbered as
appropriate.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/alsa-utils: re-enable in BR2_STATIC_LIBS configuration
Thomas Petazzoni [Thu, 1 Nov 2018 17:05:22 +0000 (18:05 +0100)]
package/alsa-utils: re-enable in BR2_STATIC_LIBS configuration

In commit 4707383c5d501a9ad7698579e5d0a4e2ab758c7e ("alsa-utils: needs
dynamic library support"), we added a !BR2_STATIC_LIBS dependency
because topology/topology.c was including <dlfcn.h>.

However, it turns out that this include is not needed/used at all, so
we can instead drop it, and re-enable the package in BR2_STATIC_LIBS
configuration.

This was discovered when analyzing why we have
package/alsa-lib/0003-alsa-lib-conditionally-enable-libdl-in-AM_PATH_ALSA-.patch. This
patch fixes the AM_PATH_ALSA autoconf macro, used by alsa-utils, so
that ALSA_LIBS doesn't carry the -ldl option, fixing static-linking
scenarios. This patch had become useless since alsa-utils was no
longer available in BR2_STATIC_LIBS configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agofwts: Enable optional efi_runtime kernel module build
Sumit Garg [Mon, 5 Nov 2018 12:03:24 +0000 (17:33 +0530)]
fwts: Enable optional efi_runtime kernel module build

Firmware test suite does provides efi_runtime kernel module required
to run UEFI tests. So optionally enable this module build.

[Peter: fix -/_ in comment as suggested by Erico]
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Reviewed-by: Erico Nunes <nunes.erico@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agopackage/python-posix-ipc: enable also for python3
Daniel Fahlgren [Tue, 6 Nov 2018 14:06:31 +0000 (15:06 +0100)]
package/python-posix-ipc: enable also for python3

The python-posix-ipc package can be used both with python2 and python3.

Signed-off-by: Daniel Fahlgren <daniel@fahlgren.se>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobdwgc: update bdw-gc.pc to fix link with guile
Fabrice Fontaine [Tue, 6 Nov 2018 19:27:34 +0000 (20:27 +0100)]
bdwgc: update bdw-gc.pc to fix link with guile

When bdw-gc is linked with libatomic_ops, bdw-gc.pc must contain the
needed libraries (such as -latomic_ops) otherwise build of applications
such as guile will fail on link stage:

.libs/libguile_2.0_la-posix.o: In function `scm_tmpnam':
posix.c:(.text+0x2080): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
  CCLD     guile
/home/buildroot/autobuild/run/instance-2/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libgc.so: undefined reference to `AO_fetch_compare_and_swap_emulation'
/home/buildroot/autobuild/run/instance-2/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libgc.so: undefined reference to `AO_store_full_emulation'

So set ATOMIC_OPS_LIBS to -latomic_ops when a system atomic_ops library
is used and use ATOMIC_OPS_LIBS in bdw-gc.pc.in

Fixes:
 - http://autobuild.buildroot.org/results/2b23d445e57a5e0f417f5cb9417b0a668bb7bf1c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
6 years agobind: security bump to version 9.11.5
Peter Korsgaard [Wed, 7 Nov 2018 14:38:12 +0000 (15:38 +0100)]
bind: security bump to version 9.11.5

Fixes the following security issues:

- CVE-2018-5738: Some versions of BIND can improperly permit recursive query
  service to unauthorized clients

- CVE-2018-5740: A flaw in the "deny-answer-aliases" feature can cause an
  INSIST assertion failure in named

For more details, see the release notes:

https://ftp.isc.org/isc/bind9/9.11.5/RELEASE-NOTES-bind-9.11.5.html

Drop patch 0003-Rename-ptrsize-to-ptr_size.patch as the uClibc-ng issue was
fixed upstream in commit 931fd627f6195 (mips: fix clashing symbols), which
is included in uclibc-1.0.12 (January 2016).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>