buildroot.git
4 years agopackage/python3-regex: add special package variant for the host build
Yegor Yefremov [Mon, 23 Mar 2020 10:49:04 +0000 (11:49 +0100)]
package/python3-regex: add special package variant for the host build

Needed to build mongodb.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-regex: new package
Yegor Yefremov [Mon, 23 Mar 2020 10:49:03 +0000 (11:49 +0100)]
package/python-regex: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireguard-linux-compat: depend on headers < 5.6
James Hilliard [Fri, 10 Apr 2020 21:34:14 +0000 (15:34 -0600)]
package/wireguard-linux-compat: depend on headers < 5.6

Since wireguard is built into kernels 5.6 and later we can't build
wireguard-linux-compat on them, so we need to depend on
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_6.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo175: needs host-openssl for kernel build
Lubomir Rintel [Thu, 23 Apr 2020 22:18:33 +0000 (00:18 +0200)]
configs/olpc_xo175: needs host-openssl for kernel build

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/517918177

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: fixing installation os detection
Angelo Compagnucci [Fri, 24 Apr 2020 10:47:23 +0000 (12:47 +0200)]
package/apparmor: fixing installation os detection

Actually the install target of some tools like the parser tries to do
an os detection to understand what install and where.
Incidentally, when the install is invoked on SuSE, this will trig a bug
in parallel install which manifests as "target/lib/apparmor: File exists"
error. For this problem, a patch is already sent upstream.

For buildroot instead, the os detection is useless so we disable it
and use a generic install method.

Fixes:
http://autobuild.buildroot.net/results/b18c6a9ce67065dcb7968c6f473b3b403d2925d2

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libuhttpd: disable test plugin
Fabrice Fontaine [Fri, 24 Apr 2020 09:27:32 +0000 (11:27 +0200)]
package/libuhttpd: disable test plugin

test plugin needs dynamic library support

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libtasn1: needs autoreconf
Fabrice Fontaine [Fri, 24 Apr 2020 09:18:24 +0000 (11:18 +0200)]
package/libtasn1: needs autoreconf

Commit 6e1fde98e4deda8506e694c6d3ffba3fbd4d1d0e forgot to set
LIBTASN1_AUTORECONF

Fixes:
 - http://autobuild.buildroot.org/results/383e3cba56894df0e3dd53bfe9cee3f4bb80d412

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add dependency to host-pkgconf]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apache: fixing apxs path mangling
Angelo Compagnucci [Fri, 24 Apr 2020 08:31:59 +0000 (10:31 +0200)]
package/apache: fixing apxs path mangling

Latest version of Apache introduce a new apxs with a slightly modified
path handling logic. In order to simplify the crosscompilation, the
software removes the common prefix from bin install dir and build
install dir, but for this to work they both should have a common prefix.

So we introduce a new regexp to fix /usr/bin to staging dir, the regexps
are also fixed to replace only the exact path between double quotes, to
avoid replacing the she-bang line.

Fixes:
http://autobuild.buildroot.net/results/c41f31566974209897a3a1ec35afe2536fb248cc
http://autobuild.buildroot.net/results/b93f19976ce96e79ea159c25ed74a7377c78f334

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - add the last few words about the she-bang blurb
  - do not use quotes in the existing /sur/bin regexp
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sqlite: bump version to 3.31.1
Bernd Kuhls [Fri, 24 Apr 2020 05:12:30 +0000 (07:12 +0200)]
package/sqlite: bump version to 3.31.1

Changelog: https://sqlite.org/releaselog/3_31_1.html

Reformated hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exfatprogs: bump to version 1.0.2
James Hilliard [Fri, 24 Apr 2020 07:22:29 +0000 (01:22 -0600)]
package/exfatprogs: bump to version 1.0.2

Drop patch that is now upstream.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/evtest: switch to Gitlab
Sébastien Szymanski [Wed, 22 Apr 2020 09:36:33 +0000 (11:36 +0200)]
package/evtest: switch to Gitlab

Downloading from the cgit repo is now broken and it is a mirror of the
Gitlab repo so use the Gitlab repo.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump u-boot revision
Gary Bisson [Wed, 22 Apr 2020 08:49:56 +0000 (10:49 +0200)]
configs/nitrogen*: bump u-boot revision

Latest bump introduced a regression for Nitrogen8MM, now fixed.

Changelog:
- Fix Nitrogen8MM SPL regression
- Add multi-rank lpddr4 training support
- Improve fastboot support
- Add Android AVB / BCB support

Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/517918160
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: fix xtensa PR ld/25861
Max Filippov [Thu, 23 Apr 2020 03:11:45 +0000 (20:11 -0700)]
package/binutils: fix xtensa PR ld/25861

Handle link-time relaxation of full 16-bit difference values correctly
in xtensa linker. This fixes the following kind of build errors:

.../five-point.cpp:338:(.debug_line+0x3b12):
        dangerous relocation: overflow after relaxation

Backported from:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=30ce8e47fad9b057b6d7af9e1d43061126d34d20
Fixes:
http://autobuild.buildroot.net/results/67a5545779bbe8ca2b21da1f3ff2002053710ce1/
http://autobuild.buildroot.net/results/87f38998d2d60b6bce3128589973187ef9596e28/

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-gpu-g2d: fix the file name for ARM
Timo Ketola [Thu, 23 Apr 2020 04:51:49 +0000 (07:51 +0300)]
package/freescale-imx/imx-gpu-g2d: fix the file name for ARM

NXP apparently changed file naming convention for this particular file.

Fixes: 1d0ea8d433 (package/freescale-imx/imx-gpu-g2d: bump to version 6.4.0.p1.0)
Signed-off-by: Timo Ketola <timo.ketola@exertus.fi>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.0.5
Bernd Kuhls [Thu, 23 Apr 2020 05:31:23 +0000 (07:31 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.0.5

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iwd: fix build with glibc < 2.24
Fabrice Fontaine [Wed, 22 Apr 2020 08:16:28 +0000 (10:16 +0200)]
package/iwd: fix build with glibc < 2.24

Fixes:
 - http://autobuild.buildroot.org/results/63f983aa22ca5303a55bc55e004f05a94e5f7259

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: bump version to v245.5
Adam Duskett [Thu, 23 Apr 2020 17:40:05 +0000 (10:40 -0700)]
package/systemd: bump version to v245.5

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/paho-mqtt-c: fix bump to version 1.3.2
Fabrice Fontaine [Wed, 22 Apr 2020 08:07:51 +0000 (10:07 +0200)]
package/paho-mqtt-c: fix bump to version 1.3.2

Commit e69b8ddd43292b03b8f30f748ee2279b8df64c47 bumped paho-mqtt-c to
version 1.3.2 but hash was wrong moreover licence has changed to EPL-2.0
since
https://github.com/eclipse/paho.mqtt.c/commit/1e91229cb6403e3a9b02dfdc11c71b04c0518cff

So fix that and add LICENSE to the list of license files

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: always depend on threads
James Hilliard [Wed, 22 Apr 2020 06:49:42 +0000 (00:49 -0600)]
package/apcupsd: always depend on threads

Fixes:
http://autobuild.buildroot.net/results/aa2ad7bdb37da611a4ec863ed2e986f34ea5228b/build-end.log

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luafilesystem: bump to version 1.8.0
Francois Perrad [Thu, 23 Apr 2020 06:33:19 +0000 (08:33 +0200)]
package/luafilesystem: bump to version 1.8.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: bump version to 1.2.3
Nicola Di Lieto [Thu, 23 Apr 2020 05:51:04 +0000 (07:51 +0200)]
package/uacme: bump version to 1.2.3

This version fixes https://github.com/ndilieto/uacme/issues/22

Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libva: bump version to 2.7.1
Bernd Kuhls [Wed, 22 Apr 2020 16:46:44 +0000 (18:46 +0200)]
package/libva: bump version to 2.7.1

Changelog:
https://github.com/intel/libva/blob/5cef34fdf55b5f8a08fbfdfe5c5f8cc13b1d77ed/NEWS

Added upstream sha1 hash.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libva-utils: add upstream sha1 hash
Bernd Kuhls [Wed, 22 Apr 2020 16:46:43 +0000 (18:46 +0200)]
package/libva-utils: add upstream sha1 hash

Reformat remaining hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtasn1: bump to version 4.16.0
Fabrice Fontaine [Wed, 22 Apr 2020 16:44:13 +0000 (18:44 +0200)]
package/libtasn1: bump to version 4.16.0

- Add patch to fix build
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python: bump version to 2.7.18
Bernd Kuhls [Wed, 22 Apr 2020 16:43:45 +0000 (18:43 +0200)]
package/python: bump version to 2.7.18

Release notes:
https://pythoninsider.blogspot.com/2020/04/python-2718-last-release-of-python-2.html

Updated license hash due to upstream commit:
https://github.com/python/cpython/commit/aa5b196c180d4c1dbe5a8593e55066e630d38c09

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/protobuf-c: bump to 1.3.3
Matt Weber [Wed, 22 Apr 2020 14:57:26 +0000 (09:57 -0500)]
package/protobuf-c: bump to 1.3.3

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-colorama: bump to 0.4.3
Matt Weber [Wed, 22 Apr 2020 14:34:22 +0000 (09:34 -0500)]
package/python-colorama: bump to 0.4.3

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linknx: bump to version 0.0.1.38
Fabrice Fontaine [Thu, 23 Apr 2020 10:44:41 +0000 (12:44 +0200)]
package/linknx: bump to version 0.0.1.38

- Drop first and second patches (already in version)
- Retrieve third patch from upstream
- Retrieve an additionnal patch from upstream
- host-gettext is needed for AM_ICONV since
  https://github.com/linknx/linknx/commit/0512f6d0a07d50df33bfdca22d48360d164922a8
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-wcwidth: bump to version 0.1.9
Fabrice Fontaine [Thu, 23 Apr 2020 10:14:59 +0000 (12:14 +0200)]
package/python-wcwidth: bump to version 0.1.9

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{openjdk, openjdk-bin}: add support for building either lts or latest
Adam Duskett [Wed, 22 Apr 2020 19:21:18 +0000 (12:21 -0700)]
package/{openjdk, openjdk-bin}: add support for building either lts or latest

As Java is used quite a bit in the enterprise world, having the option to
build the LTS version of OpenJDK is quite convenient and also a requirement
for many companies wanting to use Java.

As such, there are three options:
  1) Continue only to support the latest version of OpenJDK.
  2) Downgrade our existing OpenJDK package from 14 to 11.
  3) Add an option to support either OpenJDK 11 or 14.

OpenJDK 11 and 14 currently have:
  - The same configure options.
  - The same license files and hashes for those license files.
  - The same dependencies.
  - The same method to build and install.

As such, supporting both 11 and 14 is not only an easy option to add to
Buildroot, but also a nice feature for users who wish to use Java in an
embedded environment with a company that mandates the use of the LTS version.

To make it explicit that this choice really is about LTS vs. latest, and
not about 11 vs. 14, the options are really named with LTS and LATEST,
so that future defconfigs will not have to migrate when the versions
changes (e.g. we update from 14->15, or from 11 to the next LTS).

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - keep latest as the default, for existing defconfigs
  - rename options: drop numbers, use LTS and LATEST
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-jedi: add missing license
Fabrice Fontaine [Thu, 23 Apr 2020 10:14:03 +0000 (12:14 +0200)]
package/python-jedi: add missing license

python-jedi bundles its own copy of typeshed since version 0.14.0 and
https://github.com/davidhalter/jedi/commit/7d2b7bb3c1c4f79f325ccbde9d2b2734aa872312

So add it to the license files (and update indentation of hash file to
two spaces while at it)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 5, 6}.x series
Peter Korsgaard [Thu, 23 Apr 2020 16:23:13 +0000 (18:23 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 5, 6}.x series

Notice: 5.5.x is now EOL, so should be dropped at the next version bump.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/perl: bump perl-cross to version 1.3.3
Francois Perrad [Thu, 23 Apr 2020 12:24:16 +0000 (14:24 +0200)]
package/perl: bump perl-cross to version 1.3.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fio: bump to 3.19
Heiko Thiery [Wed, 22 Apr 2020 20:38:29 +0000 (22:38 +0200)]
package/fio: bump to 3.19

- add upstream patch to fix build on musl
- update indentation of hash file (two spaces)

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libspatialindex: bump to version 1.9.3
Fabrice Fontaine [Wed, 22 Apr 2020 16:01:04 +0000 (18:01 +0200)]
package/libspatialindex: bump to version 1.9.3

- Drop patch (already in version)
- Update indentation in hash file (two spaces)
- Add upstream to allow building static library

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iproute2: bump to version 5.6.0
Petr Vorel [Wed, 22 Apr 2020 19:38:06 +0000 (21:38 +0200)]
package/iproute2: bump to version 5.6.0

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts/boot-qemu-image.py: wait before using expect
Romain Naour [Tue, 21 Apr 2020 23:00:05 +0000 (01:00 +0200)]
support/scripts/boot-qemu-image.py: wait before using expect

As reported by a gitlab runtime test [1] and on the mailing list
[2], some runtime tests are failing on slow host machines when
the qemu-system-<arch> is missing on the host.

The boot-qemu-image.py script need to wait some time after
calling pexpect.spawn() in order to make sure that the qemu
process has been executed in start-qemu.sh.

If start-qemu.sh failed due to missing qemu-system binary
an exception will be thrown by child.expect() and should be
catched by the error handling (pexpect.EOF).

After spending a lot of time to investigate with Yann E. MORIN
[3]. It seems that short-lived child processes are a corner-case
that is not very correctly handled...

Without adding a sleep(1), child.expect() can trigger an
exception before setting the exitstatus of the spawned
process. This issue can be reproduced on a gitlab runner or
by adding "exit 1" in the first line of start-qemu.sh
(after the shebang).

There is even the same workaround in some pexpect examples [4].

Thanks to Yann for the help while investigating the issue.

Tested:
https://gitlab.com/kubu93/buildroot/pipelines/138472925

[1] https://gitlab.com/kubu93/buildroot/pipelines/135487475
[2] http://lists.busybox.net/pipermail/buildroot/2020-April/280037.html
[3] http://patchwork.ozlabs.org/project/buildroot/patch/20200418161023.1221799-1-romain.naour@gmail.com/
[4] https://github.com/pexpect/pexpect/blob/master/examples/ssh_tunnel.py#L80

Fixes:
https://gitlab.com/kubu93/buildroot/-/jobs/509053135

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr: reorder imports]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ltp-testsuite: fix build with musl 1.2.0
Fabrice Fontaine [Wed, 22 Apr 2020 09:02:46 +0000 (11:02 +0200)]
package/ltp-testsuite: fix build with musl 1.2.0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{openjdk, openjdk-bin}: bump version to 14.0.1+7
Adam Duskett [Wed, 22 Apr 2020 19:21:17 +0000 (12:21 -0700)]
package/{openjdk, openjdk-bin}: bump version to 14.0.1+7

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackageJopenjdk: add support for building the full jdk
Adam Duskett [Sat, 18 Apr 2020 19:07:01 +0000 (12:07 -0700)]
packageJopenjdk: add support for building the full jdk

Some users may require the full JDK on the target to debug their programs.
This change is relatively trivial to add.

While the full JDK does have programs used for compiling on a target,
which is against Buildroot policy, the JDK also has several utilities used for
debugging purposes, which the JRE target does not build, and Buildroot supports
applications used for debugging purposes such as GDB.

As such, JDK support should be available for debugging purposes, and a note in
the Config.in file has been added under the JDK section, which informs the user
that JDK support is for debugging purposes only and that developing on a
target is not supported by Buildroot.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Reviewed-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
[yann.morin.1998@free.fr:
  - s/OPENJDK_INSTALL_DIR/OPENJDK_VARIANT/
  - slightly rewrap help text
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openjdk: Remove sparc support
Adam Duskett [Wed, 22 Apr 2020 17:01:08 +0000 (10:01 -0700)]
package/openjdk: Remove sparc support

Sparc support is deprecated and may be removed in future releases. There are
two choices to fix this issue:

1) Set --enable-deprecated-ports=yes in the CONF_OPTS to supress the error.
2) Remove support for Sparc.

Because this port is deprecated, it's safer to remove support alltogether.

Fixes:
    http://autobuild.buildroot.net/results/692820b4b6d4da42cd557fa7badbbd11806bbeba/

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/openjdk: copy all directories and files when installing
Adam Duskett [Sat, 18 Apr 2020 19:07:00 +0000 (12:07 -0700)]
package/openjdk: copy all directories and files when installing

Several directories and files are currently not installed during the
target installation, these include:
  - conf
    Several configuration files, including security configuration files which
    may be necessary for running various java applications.

  - legal
    This directory contains legal notices that some java applications may
    require, as they may print legal information and will throw exceptions at
    runtime if the legal files are not present on the system.

  - release
    This file contains a list of modules included in the image.

Because these directories take up less than of megabyte extra, it is not an
issue to install all of them.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Reviewed-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/qemu_riscv{32, 64}_virt: remove BR2_TARGET_GENERIC_GETTY_PORT
Bin Meng [Sat, 7 Mar 2020 12:20:30 +0000 (04:20 -0800)]
configs/qemu_riscv{32, 64}_virt: remove BR2_TARGET_GENERIC_GETTY_PORT

Giving an explicit getty port is not really needed, as we already
spawn a getty on the "console" device, which will match the serial
port passed as console= argument on the kernel command line.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openjdk: fix installation with merged usr directories
Adam Duskett [Sat, 18 Apr 2020 19:06:59 +0000 (12:06 -0700)]
package/openjdk: fix installation with merged usr directories

Currently, Buildroot installs the jre libraries using
cp -dprf /build/linux-*-release/images/jre/lib/* $(TARGET_DIR)/usr/lib/

However, if a system has a merged /usr directory, and there is a built kernel
before installing OpenJDK, the installation fails because jre/lib has binary
modules file, which causes the following error: cp: cannot overwrite directory
'/usr/lib/modules with non-directory

The obvious fix is to install the modules to /usr/lib/jvm/ and set the
appropriate rpaths via the --with-extra-ldflags conf option. However, this fix
does not work because the built binaries themselves do not link against
libjava.so

Indeed, running readelf on the built java binary reports the following:
"(RUNPATH) Library runpath: [/usr/lib/jvm]" and /usr/lib/jvm/libjava.so exists.
However, when running the Java binary on the target, the following error
occurs: "Error: could not find libjava.so."

The following is the result of "strace java" ran on the target:
faccessat(AT_FDCWD, "/usr/lib/libjava.so", F_OK) = -1 ENOENT
faccessat(AT_FDCWD, "/usr/jre/lib/libjava.so", F_OK) = -1 ENOENT
newfstatat(AT_FDCWD, "/usr/lib/libjava.so", 0x7ffe7b4af8, 0) = -1 ENOENT
newfstatat(AT_FDCWD, "/usr/lib/jvm/libjli.so", [sic] AT_SYMLINK_NOFOLLOW) = 0

As seen above, the java binary searches for libjli.so in /usr/lib/jvm,
which demonstrates that the java binary searches for some of the
DT_NEEDED libraries using the correct rpath. But libjava.so is not
searched from the rpath; it is instead dl-opened manually, looked for in
the search paths hardcoded to the following directories:
  - /usr/lib/
  - /usr/jre/lib/
  - $(dirname $0)/../lib/

The reason behind the hardcoded paths given by the maintainers is due to
historical purposes for the need to support several java versions at the
same time on a single system, and that changing the above behavior is not
likely to ever happen.

As such, most distributions such as Redhat do the following:
  - Create the directory /usr/lib/jvm/java-$(JAVA_VERSION)/
  - Install all directories and files found in images/jre to that directory.
  - Symlink the binaries to in /usr/lib/jvm/java-$(JAVA_VERSION)/bin to
    /usr/bin.

However, because Buildroot does not need to support multiple versions of java
concurrently, there is no need for the additional java-$(JAVA_VERSION)
directory.

To fix the above issue, the following changes are performed:
  - Introduce the variable "OPENJDK_INSTALL_BASE" which points to /usr/lib/jvm
  - Set the --with-extra-ldflags conf_opt to
      "-Wl,-rpath,$(OPENJDK_INSTALL_BASE)/lib,-rpath,
      $(OPENJDK_INSTALL_BASE)/lib/$(OPENJDK_JVM_VARIANT)"
  - Run "mkdir -p $(TARGET_DIR)/usr/lib/jvm/" in the INSTALL_TARGET_CMDS step.
  - Copy both the lib and bin directories to /usr/lib/jvm/
  - Symlink the binaries in /usr/lib/jvm/bin/ to /usr/bin.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12751
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Reviewed-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Tested-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
[yann.morin.1998@free.fr: fix two remaining mis-placed '/']
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-markdown: fix Python version dependency
Yegor Yefremov [Tue, 10 Mar 2020 11:41:01 +0000 (12:41 +0100)]
package/python-markdown: fix Python version dependency

Since upstream commit
https://github.com/Python-Markdown/markdown/commit/dab931f597cdc5b57d4e2458840fb991606506bc,
merged since version 3.2 of python-markdown, the Python 2.x support
has been dropped.

So our commit 6e538bf642d3584032d63bb54d24b88ab57e4283
("package/python-markdown: bump to version 3.2.1") should have made
python-markdown available only for Python 3.x.

Fixes:
http://autobuild.buildroot.net/results/6d1e796f6658accb3eafef265935db5e464638fe

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Reviewed-by: Asaf Kahlon <asafka7@gmail.com>
Tested-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libglib2: restore use of system printf
John Keeping [Wed, 11 Mar 2020 11:22:56 +0000 (11:22 +0000)]
package/libglib2: restore use of system printf

Prior to commit 4102db0f7a ("package/libglib2: bump to version 2.60.3")
which converted libglib2 to meson, Buildroot used to set a range of
autoconf options to bypass tests that require running binaries.

The meson version of libglib2's build system has many fewer of these
checks, but there are still some and these can be fed the "correct"
answer by adding properties to cross-compilation.conf.

Add the necessary properties to indicate that we have C99 compliant
print functions to avoid pulling in the gnulib fallback.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: bump version to 1.2.2
Nicola Di Lieto [Sat, 18 Apr 2020 21:26:17 +0000 (23:26 +0200)]
package/uacme: bump version to 1.2.2

This version includes a new binary named "ualpn", a proxying
ACMEv2 tls-alpn-01 responder.

Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crossbar: needs cbor2
Thomas Petazzoni [Tue, 21 Apr 2020 06:11:14 +0000 (08:11 +0200)]
package/python-crossbar: needs cbor2

Since upstream commit 71f81bf83d3a1d4c564131ed7408f4d7ffe79242, cbor2
is needed by crossbar. This commit first appeared in crossbar release
v19.3.1, which means it is needed since the version bump that took
place in Buildroot commit 44a9f390efc282f41052b39716eab04cd76b1680.

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/517918425

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: add patch to fix regression
Heiko Thiery [Tue, 21 Apr 2020 08:46:51 +0000 (10:46 +0200)]
package/libssh: add patch to fix regression

The libssh server is used by libnetconf2. With libssh version 0.9.4 a
regression was introduced that wrongly leads to session closed after the
poll timeout.

The patch comes from upstrem:
https://git.libssh.org/projects/libssh.git/commit/?id=6417f5a3cac8537ac6f6ff7fc1642dfaa0917fb4

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/midori: needs gcc >= 7
Fabrice Fontaine [Tue, 21 Apr 2020 17:26:32 +0000 (19:26 +0200)]
package/midori: needs gcc >= 7

Commit ec1ff802df9a0f17dd2b734ba536a5e206aa5aa4 forgot to propagate
gcc >= 7 dependency to midori

Fixes:
 - http://autobuild.buildroot.org/results/736a99dcaa72fba3f06775d08c4395f506fce944

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/collectd: fix dependency of network-gcrypt
Fabrice Fontaine [Tue, 21 Apr 2020 17:12:20 +0000 (19:12 +0200)]
package/collectd: fix dependency of network-gcrypt

Commit c8b8744a1aeebeba4035fdba9556226696ac2abd forgot to propagate
libgcrypt reverse dependency

Fixes:
 - http://autobuild.buildroot.org/results/98c7734dccb4e01c02f4680cfbdf82ee59e17935

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libopenssl: security bump to v1.1.1g
Titouan Christophe [Tue, 21 Apr 2020 13:36:51 +0000 (15:36 +0200)]
package/libopenssl: security bump to v1.1.1g

This fixes CVE-2020-1967:
Server or client applications that call the SSL_check_chain() function during
or after a TLS 1.3 handshake may crash due to a NULL pointer dereference as a
result of incorrect handling of the "signature_algorithms_cert" TLS extension.
The crash occurs if an invalid or unrecognised signature algorithm is received
from the peer. This could be exploited by a malicious peer in a Denial of
Service attack. OpenSSL version 1.1.1d, 1.1.1e, and 1.1.1f are affected by this
issue. This issue did not affect OpenSSL versions prior to 1.1.1d.

See https://www.openssl.org/news/secadv/20200421.txt

Also update the hash file to the new two spaces convention

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/qemu_riscv*: remove BR2_TARGET_OPENSBI_USE_PLAT
Romain Naour [Tue, 21 Apr 2020 17:26:45 +0000 (19:26 +0200)]
configs/qemu_riscv*: remove BR2_TARGET_OPENSBI_USE_PLAT

This option never existed in opensbi package.

This fixes the new defconfig check.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/qemu_ppc_virtex_ml507_defconfig: select BR2_POWERPC_SOFT_FLOAT
Romain Naour [Tue, 21 Apr 2020 17:26:44 +0000 (19:26 +0200)]
configs/qemu_ppc_virtex_ml507_defconfig: select BR2_POWERPC_SOFT_FLOAT

The BR2_SOFT_FLOAT option is lost while loading the defconfig with:
make qemu_ppc_virtex_ml507_defconfig

On powerpc, BR2_POWERPC_SOFT_FLOAT must be used to enable soft
floating point support.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olimex_a20_olinuxino_lime{, 2}_defconfig: use a glibc toolchain
Romain Naour [Tue, 21 Apr 2020 17:26:43 +0000 (19:26 +0200)]
configs/olimex_a20_olinuxino_lime{, 2}_defconfig: use a glibc toolchain

Since 2e71b396a171594d5b913d8b8c11079d376198ed, this defconfig needs
a glibc toolchain to select sunxi-mali-mainline package.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/engicam_imx6qdl_icore_qt5_defconfig: needs udev to select glmark2
Romain Naour [Tue, 21 Apr 2020 17:26:42 +0000 (19:26 +0200)]
configs/engicam_imx6qdl_icore_qt5_defconfig: needs udev to select glmark2

The BR2_PACKAGE_GLMARK2 is lost while loading the defconfig with:
make engicam_imx6qdl_icore_qt5_defconfig

In order to select gmark2 package, BR2_PACKAGE_GLMARK2_FLAVOR_ANY option
must be set.

Based on the defconfig without X11 and wayland package, the only missing
option to select BR2_PACKAGE_GLMARK2_FLAVOR_ANY is BR2_PACKAGE_HAS_UDEV.
The only possible option is to enable one of the udev provider
(eudev or systemd). Select eudev package for /dev management.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs: remove BR2_PACKAGE_QT5BASE_LICENSE_APPROVED
Romain Naour [Tue, 21 Apr 2020 17:26:41 +0000 (19:26 +0200)]
configs: remove BR2_PACKAGE_QT5BASE_LICENSE_APPROVED

This option has been removed since 6836f2a70acd259a846c88968924d60afef8cc16.

This fixes the new defconfig check.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nanopi_r1_defconfig: remove BR2_TARGET_UBOOT_BOARD_DEFCONFIG
Romain Naour [Tue, 21 Apr 2020 17:26:40 +0000 (19:26 +0200)]
configs/nanopi_r1_defconfig: remove BR2_TARGET_UBOOT_BOARD_DEFCONFIG

This defconfig use a custom defconfig file located
in board/friendlyarm/nanopi-r1/uboot/nanopi_r1_defconfig.

BR2_TARGET_UBOOT_BOARD_DEFCONFIG is used to provide the name
of a in-tree defconfig. Since a custom defconfig is used,
this option is lost while loading the defconfig with:
make nanopi_r1_defconfig

This fixes the new defconfig check.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs:minnowboard_max-graphical_defconfig: re-enable GLX support
Romain Naour [Tue, 21 Apr 2020 17:26:39 +0000 (19:26 +0200)]
configs:minnowboard_max-graphical_defconfig: re-enable GLX support

This defconfig loses mesa3d-demo and glmark2 package since commit
5cb821d5635626b7327d5d704555c412e5ed5a1f that introduced an
explicit option to enable GLX support.

This fixes the new defconfig check.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs: fix typo BR2_TARGET_ROOTFS_EXT2_4
Romain Naour [Tue, 21 Apr 2020 17:26:38 +0000 (19:26 +0200)]
configs: fix typo BR2_TARGET_ROOTFS_EXT2_4

The ext4 option is BR2_TARGET_ROOTFS_EXT2_4 not
BR2_TARGET_ROOTFS_EXT_4.

This fixes the new defconfig check.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/amarula_a64_relic: add missing BR2_PACKAGE_HOST_ANDROID_TOOLS=y
Romain Naour [Tue, 21 Apr 2020 17:26:37 +0000 (19:26 +0200)]
configs/amarula_a64_relic: add missing BR2_PACKAGE_HOST_ANDROID_TOOLS=y

board/amarula/a64-relic/readme.txt makes use the host fastboot utility
to flash the board. However, BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT
(which is enabled in the defconfig) has a dependency on
BR2_PACKAGE_HOST_ANDROID_TOOLS, which is not enabled in the
defconfig. Due to this, BR2_PACKAGE_HOST_ANDROID_TOOLS_FASTBOOT=y is
lost when loading the defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
[Thomas: change to add BR2_PACKAGE_HOST_ANDROID_TOOLS=y]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openresolv: bump to 3.10.0
Matt Weber [Tue, 21 Apr 2020 18:55:55 +0000 (13:55 -0500)]
package/openresolv: bump to 3.10.0

License file change was a date update to 2020
https://github.com/rsmarples/openresolv/commit/e114fa2672a86a3b827599d4c4c5ec2ead0a94c2#diff-9879d6db96fd29134fc802214163b95a

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mbuffer: fix build with c89 or c99
Fabrice Fontaine [Tue, 21 Apr 2020 18:50:29 +0000 (20:50 +0200)]
package/mbuffer: fix build with c89 or c99

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libqmi: bump to 1.24.10
Matt Weber [Tue, 21 Apr 2020 18:49:28 +0000 (13:49 -0500)]
package/libqmi: bump to 1.24.10

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/git: bump to 2.26.1
Matt Weber [Tue, 21 Apr 2020 18:47:41 +0000 (13:47 -0500)]
package/git: bump to 2.26.1

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/logrotate: bump to 3.16.0
Matt Weber [Tue, 21 Apr 2020 18:40:36 +0000 (13:40 -0500)]
package/logrotate: bump to 3.16.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rsyslog: bump to 8.2002.0
Matt Weber [Tue, 21 Apr 2020 18:37:27 +0000 (13:37 -0500)]
package/rsyslog: bump to 8.2002.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/yaml-cpp: build shared library if needed
Fabrice Fontaine [Tue, 21 Apr 2020 18:35:43 +0000 (20:35 +0200)]
package/yaml-cpp: build shared library if needed

yaml-cpp builds only a static library by default, this will raise a
build failure with upcoming mongodb 4.2.x as reported by Ryan Barnett
due to mongodb linking with a static library that obviously will miss
-fPIC

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iw: bump to 5.4
Matt Weber [Tue, 21 Apr 2020 18:30:09 +0000 (13:30 -0500)]
package/iw: bump to 5.4

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/tini: bump to 0.19.0
Matt Weber [Tue, 21 Apr 2020 18:25:20 +0000 (13:25 -0500)]
package/tini: bump to 0.19.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unionfs: bump to 2.1
Matt Weber [Tue, 21 Apr 2020 18:17:53 +0000 (13:17 -0500)]
package/unionfs: bump to 2.1

Dropped 0001-include-asm-ioctl.h-for-_IOC_SIZE.patch
 https://github.com/rpodgorny/unionfs-fuse/commit/dea8e4ddbef946b1ff53782dd1669daa44564173#diff-25d902c24283ab8cfbac54dfa101ad31

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libupnp18: bump to version 1.8.7
Fabrice Fontaine [Tue, 21 Apr 2020 13:03:29 +0000 (15:03 +0200)]
package/libupnp18: bump to version 1.8.7

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lirc-tools: fix build with musl 1.2.0
Fabrice Fontaine [Tue, 21 Apr 2020 12:01:42 +0000 (14:01 +0200)]
package/lirc-tools: fix build with musl 1.2.0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/paho-mqtt-c: bump to version 1.3.2
Julien Grossholtz [Tue, 21 Apr 2020 11:48:49 +0000 (13:48 +0200)]
package/paho-mqtt-c: bump to version 1.3.2

paho-c-mqtt 1.3.2 is a maintenance release. It fixes many bugs
including memory leaks and segmentation faults.

Release notes: https://github.com/eclipse/paho.mqtt.c/milestone/7?closed=1

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoDEVELOPERS: fix typo in nanopi-neo4 board name
Thomas Petazzoni [Tue, 21 Apr 2020 19:30:41 +0000 (21:30 +0200)]
DEVELOPERS: fix typo in nanopi-neo4 board name

Commit 84ba2e8bf5f1e3a9d0d01a577f72cfd51f88a7b6 got the path to
board/friendlyarm/nanopi-neo4/ wrong in the DEVELOPERS file when
adding a new defconfig nanopi_neo4_defconfig. Let's fix the typo.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/selinux-python: fix dependency
Fabrice Fontaine [Tue, 21 Apr 2020 14:53:15 +0000 (16:53 +0200)]
package/selinux-python: fix dependency

Commit 791292c48d5165515ca08f35d8cbc1ef78d3ed95 forgot to add
!BR2_PACKAGE_PYTHON dependency, without it the following error will be
raised if the user selects BR2_PACKAGE_PYTHON and python-selinux:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON3
  Depends on [n]: !BR2_PACKAGE_PYTHON [=y] && BR2_USE_WCHAR [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]
  Selected by [y]:
  - BR2_PACKAGE_SELINUX_PYTHON [=y] && BR2_USE_MMU [=y] && BR2_USE_WCHAR [=y] && BR2_TOOLCHAIN_HAS_THREADS [=y] && !BR2_STATIC_LIBS [=n]

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: add dependency on MMU]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mbuffer: needs threads
Fabrice Fontaine [Tue, 21 Apr 2020 12:25:27 +0000 (14:25 +0200)]
package/mbuffer: needs threads

mbuffer unconditionally uses pthread.h and semaphore.h

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mbuffer: add hash for license file
Fabrice Fontaine [Tue, 21 Apr 2020 12:07:38 +0000 (14:07 +0200)]
package/mbuffer: add hash for license file

Add hash for license file and update indentation (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: add Angelo Compagnucci for 'apparmor'
Thomas Petazzoni [Tue, 21 Apr 2020 09:10:21 +0000 (11:10 +0200)]
DEVELOPERS: add Angelo Compagnucci for 'apparmor'

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: add missing Config.in comment about C++ dependency
Thomas Petazzoni [Tue, 21 Apr 2020 06:49:59 +0000 (08:49 +0200)]
package/apcupsd: add missing Config.in comment about C++ dependency

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/apcupsd: uses fork(), needs MMU
Thomas Petazzoni [Tue, 21 Apr 2020 06:48:57 +0000 (08:48 +0200)]
package/apcupsd: uses fork(), needs MMU

Fixes:

  http://autobuild.buildroot.net/results/19af985de6e26813b841e7019051da3043c2b7d1/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpam-tacplus: fix build on musl
Fabrice Fontaine [Mon, 20 Apr 2020 13:48:46 +0000 (15:48 +0200)]
package/libpam-tacplus: fix build on musl

Retrieve two upstream patches to fix build on musl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-pam: enable back on musl
Fabrice Fontaine [Mon, 20 Apr 2020 13:48:45 +0000 (15:48 +0200)]
package/linux-pam: enable back on musl

Add two upstream patches to fix build on musl

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/stellarium: bump version to 0.20.1
Bernd Kuhls [Tue, 21 Apr 2020 05:42:11 +0000 (07:42 +0200)]
package/stellarium: bump version to 0.20.1

Removed patch applied upstream, adjust spaces in hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gerbera: bump to version 1.4.0
Jörg Krause [Mon, 20 Apr 2020 06:48:17 +0000 (08:48 +0200)]
package/gerbera: bump to version 1.4.0

Also:
 * Drop patch 0001 (fix static linking of libmagic) applied upstream
 * Add optional dependency on libmatroska
 * Add upstream patch to fix building with libmatroska
 * Adjust spacing in hash file to 2 spaces

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-utf8: bump to version 0.1.2
Francois Perrad [Mon, 20 Apr 2020 06:07:15 +0000 (08:07 +0200)]
package/lua-utf8: bump to version 0.1.2

switch of rocks maintainer
from https://luarocks.org/modules/dannote/utf8
to https://luarocks.org/modules/xavier-wang/luautf8

the upstream author stays http://github.com/starwing/luautf8

now, the version scheme is aligned on the upstream one,
and the version 0.1.2 was released on 06 Apr 2020.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/oniguruma: bump to version 6.9.5
Fabrice Fontaine [Mon, 20 Apr 2020 13:53:24 +0000 (15:53 +0200)]
package/oniguruma: bump to version 6.9.5

Update hash of COPYING (update in year):
https://github.com/kkos/oniguruma/commit/1952e8970a7449d5ca42a7f3bd9ce26ec6e32f43

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/stella: drop unneeded patches
Fabrice Fontaine [Mon, 20 Apr 2020 15:04:51 +0000 (17:04 +0200)]
package/stella: drop unneeded patches

Patches are not needed since bump to version 6.1.1 thanks to
https://github.com/stella-emu/stella/commit/72932aa09e022ef38a9b58721d89a02a66c29aa4
https://github.com/stella-emu/stella/commit/74450028fcf28f521951631570093494f17c4d95

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/olpc_xo1: needs host-openssl for kernel build
Thomas Petazzoni [Tue, 21 Apr 2020 06:21:32 +0000 (08:21 +0200)]
configs/olpc_xo1: needs host-openssl for kernel build

Fixes:

  https://gitlab.com/buildroot.org/buildroot/-/jobs/517918178

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agotoolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC
Vincent Fazio [Tue, 4 Feb 2020 21:35:48 +0000 (15:35 -0600)]
toolchain/toolchain-buildroot: PPC64(LE) support in musl requires ALTIVEC

musl currently assumes all PPC64(LE) CPUs support ALTIVEC instructions.

However, there are exceptions (such as the e5500) for which musl builds
ultimately generate illegal instructions for the targets.

Disable musl if the PPC64(LE) CPU does not support ALTIVEC instructions.

This patch addresses the issues seen here:
  https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092743
  https://gitlab.com/kubu93/toolchains-builder/-/jobs/418092744

musl mailing list thread:
  https://www.openwall.com/lists/musl/2020/02/03/10

Signed-off-by: Vincent Fazio <vfazio@xes-inc.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/armadillo: fix build when host has hdf5
Gwenhael Goavec-Merou [Mon, 20 Apr 2020 16:07:48 +0000 (18:07 +0200)]
package/armadillo: fix build when host has hdf5

When host computer has hdf5 library installed, armadillo fails to build with:

    [...]
    aarch64-buildroot-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/hdf5/serial'
    make[3]: *** [CMakeFiles/armadillo.dir/build.make:63: CMakeFiles/armadillo.dir/src/wrapper1.cpp.o] Error 1
    aarch64-buildroot-linux-gnu-g++: ERROR: unsafe header/library path used in cross-compilation: '-I/usr/include/hdf5/serial'
    [...]

This issue seems known and is mentionned in a message, displayed at detection step:

    [...]
    -- *** If use of HDF5 is causing problems,
    -- *** rerun cmake with HDF5 detection disabled:
    -- *** cmake -D DETECT_HDF5=false .
    --
    [...]

nce hdf5 in not supported by buildroot, this patch force disabling this
detection.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
[yann.morin.1998@free.fr: fix pacakge name in title]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pixman: bump version to 0.40.0
Bernd Kuhls [Mon, 20 Apr 2020 18:04:00 +0000 (20:04 +0200)]
package/pixman: bump version to 0.40.0

Upstream now provides sha256 & sha512 hashes only.

Switch _SITE to https and use upstream-provided xz tarball.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libzip: bump version to 1.6.1
Bernd Kuhls [Mon, 20 Apr 2020 18:14:30 +0000 (20:14 +0200)]
package/libzip: bump version to 1.6.1

Use new upstream URL libzip.org.

Add optional dependency to liblzma introduced with version 1.6.0:
https://libzip.org/news/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libselinux: fix glibc build with old toolchains
Fabrice Fontaine [Mon, 20 Apr 2020 20:00:58 +0000 (22:00 +0200)]
package/libselinux: fix glibc build with old toolchains

For an unknown reason, since bump to version 3.0.0, we got build failure
due to -D_FILE_OFFSET_BITS==64:

/home/naourr/work/instance-2/output-1/host/arm-buildroot-linux-gnueabi/sysroot/usr/include/fts.h:41:3: error: #error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
 # error "<fts.h> cannot be used with -D_FILE_OFFSET_BITS==64"
   ^

Update our workaround to also filter CPPFLAGS fix the issue and seems
right as we're doing it for all the other affected packages
(restorecond, elfutils ...)

Fixes:
 - http://autobuild.buildroot.org/results/200fd0accf6a1926251243b05e600fbf591bb3a2

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackages/exim: enable parallel make
Luca Ceresoli [Mon, 20 Apr 2020 16:36:45 +0000 (18:36 +0200)]
packages/exim: enable parallel make

Parallel make used to be broken in exim, as reported in its docs. Now that
line has disappeared from the docs, and parallel make is actually working.

Tested with 'make exim-dirclean ; time make BR2_JLEVEL=999 exim': builds
still succeed and the build time decreases from 34 to 11 seconds on my
host.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mc: do not install mc.lib twice
Fabrice Fontaine [Mon, 20 Apr 2020 20:16:44 +0000 (22:16 +0200)]
package/mc: do not install mc.lib twice

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mc: fix build with NLS
Fabrice Fontaine [Mon, 20 Apr 2020 20:16:43 +0000 (22:16 +0200)]
package/mc: fix build with NLS

gettext is an optional dependency since version 4.8.24 and
https://github.com/MidnightCommander/mc/commit/f30e6ff283f4bc86177e4360de94dad794678395

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libfuse3: fix build without C++
Fabrice Fontaine [Mon, 20 Apr 2020 19:32:30 +0000 (21:32 +0200)]
package/libfuse3: fix build without C++

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/stella: fix legal-info
Fabrice Fontaine [Mon, 20 Apr 2020 14:23:09 +0000 (16:23 +0200)]
package/stella: fix legal-info

Commit a7210c24e343a13e58d1d45b7e0c4bdb51854857 forgot to update hash of
Copyright which has changed due to update in year:

https://github.com/stella-emu/stella/commit/275666b0af3e029b44be7e676526b8172da44736
https://github.com/stella-emu/stella/commit/9ad47ae5f3457693944a3754432ff1236c67203c

While at it, update indentation of hash file to two spaces

Fixes:
 - http://autobuild.buildroot.org/results/38fa47221f36f3db603ee54c86b9747b0c6ca5d7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lvm2: add missing dependency to lvmetad
Fabrice Fontaine [Mon, 20 Apr 2020 15:25:57 +0000 (17:25 +0200)]
package/lvm2: add missing dependency to lvmetad

Commit 9889b8ce7fcef50fb5089f6e3e84b54f730d0ca6 forgot to propagate
dependency from lvm2-app-library to lvmetad

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>