buildroot.git
4 years agopackage/checkpolicy: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:20 +0000 (07:59 -0500)]
package/checkpolicy: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/semodule-utils: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:19 +0000 (07:59 -0500)]
package/semodule-utils: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/restorecond: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:18 +0000 (07:59 -0500)]
package/restorecond: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/policycoreutils: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:17 +0000 (07:59 -0500)]
package/policycoreutils: bump version to 3.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:16 +0000 (07:59 -0500)]
package/libsepol: bump version to 3.0

Other changes:
  - Add policy version 32 as a default version of toolchains build with kernel
    headers 5.5 or later.

  - Add Help text for the above.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: fix help text for BR2_PACKAGE_LIBSEPOL_POLICY_VERSION
Thomas Petazzoni [Fri, 17 Apr 2020 20:27:56 +0000 (22:27 +0200)]
package/libsepol: fix help text for BR2_PACKAGE_LIBSEPOL_POLICY_VERSION

The help text was wrong, as it didn't match the actual default values
we were specifying. Indeed, when we specify:

        default 31 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_13
        default 30 if BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_3

It means that the policy version 30 is supported starting from Linux
4.3 included, and that 31 is supported from Linux 4.13 included.

So we shouldn't have:

  > 4.3 <= 4.13    30
  > 4.13           31

but:

  >= 4.3 < 4.13    30
  >= 4.13          31

This patch fixes that for all versions.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsemanage: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:15 +0000 (07:59 -0500)]
package/libsemanage: bump version to 3.0

Other changes:
  - Remove the Python2 check, as 3.0 has removed support for Python2.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libselinux: bump version to 3.0
Adam Duskett [Wed, 15 Apr 2020 12:59:14 +0000 (07:59 -0500)]
package/libselinux: bump version to 3.0

Other changes:
  - Remove upstream patches.
  - Modify existing patches to work with 3.0.
  - Remove Python2 check, as 3.0 has removed Python2 support.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: add patch to fix reported version
Heiko Thiery [Wed, 15 Apr 2020 10:46:40 +0000 (12:46 +0200)]
package/libssh: add patch to fix reported version

The released libssh package does wrongly reports the previous version.
This patch fixes the version field in the lib.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-treq: bump to version 20.3.0
James Hilliard [Thu, 16 Apr 2020 00:59:18 +0000 (18:59 -0600)]
package/python-treq: bump to version 20.3.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openrc: enable selinux support when libselinux is enabled
Adam Duskett [Thu, 16 Apr 2020 03:21:37 +0000 (00:21 -0300)]
package/openrc: enable selinux support when libselinux is enabled

OpenRC suports SELinux, so there is no reason to forcibly disable it.

Notice this only allows OpenRC to perform the initial policy load and
set the enforcing mode. In order really use SELinux it's also
necessary to select refpolicy, which provides a policy, and
policycoreutils, which provides restorecon and other SELinux
utilities.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Carlos Santos <unixmania@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dpkt: remove Python2 only dependency
Yegor Yefremov [Thu, 16 Apr 2020 05:27:54 +0000 (07:27 +0200)]
package/python-dpkt: remove Python2 only dependency

python-dpkt supports both Python flavors.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/warp7: bump kernel and U-Boot version
Pierre-Jean Texier [Thu, 16 Apr 2020 20:55:29 +0000 (22:55 +0200)]
configs/warp7: bump kernel and U-Boot version

Bump U-Boot to 2020.04 and kernel to version 5.6.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/wandboard: bump U-Boot and kernel versions
Fabio Estevam [Thu, 16 Apr 2020 20:07:25 +0000 (17:07 -0300)]
configs/wandboard: bump U-Boot and kernel versions

Bump U-Boot to version 2020.04 and kernel to 5.6.3.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/glorytun: bump version to 0.3.4
Adrien Gallouët [Fri, 17 Apr 2020 13:59:40 +0000 (13:59 +0000)]
package/glorytun: bump version to 0.3.4

The hash of the license file has changed due to year update:

-Copyright (c) 2015-2019, Adrien Gallouët <adrien@gallouet.fr>
+Copyright (c) 2015-2020, Adrien Gallouët <adrien@gallouet.fr>

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/php: security bump version to 7.4.5
Bernd Kuhls [Thu, 16 Apr 2020 17:41:35 +0000 (19:41 +0200)]
package/php: security bump version to 7.4.5

Changelog: https://www.php.net/ChangeLog-7.php#7.4.5

Fixes CVE-2020-7067.

Removed patch applied upstream.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-lyaml: bump to version 6.2.5
Francois Perrad [Thu, 16 Apr 2020 12:00:44 +0000 (14:00 +0200)]
package/lua-lyaml: bump to version 6.2.5

diff LICENSE:
- Copyright (C) 2013-2019 Gary V. Vaughan
+ Copyright (C) 2013-2020 Gary V. Vaughan

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python{, 3}-mako: bump to version 1.1.2
James Hilliard [Thu, 16 Apr 2020 09:56:02 +0000 (03:56 -0600)]
package/python{, 3}-mako: bump to version 1.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crossbar: bump to version 20.4.2
James Hilliard [Thu, 16 Apr 2020 09:50:02 +0000 (03:50 -0600)]
package/python-crossbar: bump to version 20.4.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 20.4.2
James Hilliard [Thu, 16 Apr 2020 09:42:24 +0000 (03:42 -0600)]
package/python-autobahn: bump to version 20.4.2

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

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fbgrab: bump to version 1.3.3
Timo Ketola [Thu, 16 Apr 2020 05:50:16 +0000 (08:50 +0300)]
package/fbgrab: bump to version 1.3.3

The pixfmt report bug has been fixed upstream.

Signed-off-by: Timo Ketola <timo.ketola@exertus.fi>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-simpleaudio: bump to version 1.0.4
James Hilliard [Thu, 16 Apr 2020 11:28:08 +0000 (05:28 -0600)]
package/python-simpleaudio: bump to version 1.0.4

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-secretstorage: bump to version 3.1.2
James Hilliard [Thu, 16 Apr 2020 11:22:55 +0000 (05:22 -0600)]
package/python-secretstorage: bump to version 3.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-psycopg2: bump to version 2.8.5
James Hilliard [Thu, 16 Apr 2020 11:13:26 +0000 (05:13 -0600)]
package/python-psycopg2: bump to version 2.8.5

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-mbstrdecoder: bump to version 1.0.0
James Hilliard [Thu, 16 Apr 2020 10:58:41 +0000 (04:58 -0600)]
package/python-mbstrdecoder: bump to version 1.0.0

Commit hash change is due to line endings change not in upstream
git repo.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-more-itertools: bump to version 8.2.0
James Hilliard [Thu, 16 Apr 2020 10:54:52 +0000 (04:54 -0600)]
package/python-more-itertools: bump to version 8.2.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-dataproperty: bump to version 0.48.1
James Hilliard [Thu, 16 Apr 2020 10:49:57 +0000 (04:49 -0600)]
package/python-dataproperty: bump to version 0.48.1

Commit hash change is due to line endings change not in upstream
git repo.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-tabledata: bump to version 1.1.2
James Hilliard [Thu, 16 Apr 2020 10:42:01 +0000 (04:42 -0600)]
package/python-tabledata: bump to version 1.1.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python{3}-setuptools: bump to version 44.0.0
James Hilliard [Thu, 16 Apr 2020 10:38:01 +0000 (04:38 -0600)]
package/python{3}-setuptools: bump to version 44.0.0

This is the latest version of setuptools that supports python2.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-requests: bump to version 2.23.0
James Hilliard [Thu, 16 Apr 2020 10:27:13 +0000 (04:27 -0600)]
package/python-requests: bump to version 2.23.0

Drop patch that is now upstream.

License hash change is due to date change in upstream commit:
https://github.com/psf/requests/commit/a29be8f9ccf13c887e0f8861c2a35fb5289b9e3f

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pyzmq: bump to version 19.0.0
James Hilliard [Thu, 16 Apr 2020 10:15:00 +0000 (04:15 -0600)]
package/python-pyzmq: bump to version 19.0.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycparser: bump to version 2.20
James Hilliard [Thu, 16 Apr 2020 10:07:58 +0000 (04:07 -0600)]
package/python-pycparser: bump to version 2.20

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pycairo: bump to version 1.19.1
James Hilliard [Thu, 16 Apr 2020 10:04:28 +0000 (04:04 -0600)]
package/python-pycairo: bump to version 1.19.1

License hash change is due to upstream commit:
https://github.com/pygobject/pycairo/commit/886ecfd5286a8af2202e521ef2d4d7fac18f1d6f

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sysrepo: drop unneeded dependencies
Heiko Thiery [Thu, 16 Apr 2020 12:18:16 +0000 (14:18 +0200)]
package/sysrepo: drop unneeded dependencies

The following dependencies are no longer needed:
- libev
- libavl
- protobuf-c

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libgit2: Bump to version 1.0.0
Nicolas Cavallari [Fri, 17 Apr 2020 07:28:01 +0000 (09:28 +0200)]
package/libgit2: Bump to version 1.0.0

This version changes the required dependencies as well as introducing
new bundled ones...

- Switch to the tarball released by upstream.
- Start depending on httpparser, instead of using the bundled one.
- Force using regcomp instead of using a bundled pcre.
- Add license for a bundled wildmatch and sha1.

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
[yann.morin.1998@free.fr: reorder licenses; two spaces in hash file.]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/sysrepo: bump to version 1.4.2
Heiko Thiery [Tue, 14 Apr 2020 08:17:17 +0000 (10:17 +0200)]
package/sysrepo: bump to version 1.4.2

- Align hashes to the new spacing convention
- Drop patches upstreamed applied

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libyang: bump to version 1.0.130
Heiko Thiery [Tue, 14 Apr 2020 08:17:16 +0000 (10:17 +0200)]
package/libyang: bump to version 1.0.130

- Align hashes to the new spacing convention

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: bump to version 1.1.7
Heiko Thiery [Tue, 14 Apr 2020 08:17:15 +0000 (10:17 +0200)]
package/libnetconf2: bump to version 1.1.7

- Align hashes to the new spacing convention

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/macchiatobin*: drop vendor defconfig, rename mainline defconfig
Sergey Matyukevich [Wed, 15 Apr 2020 13:41:36 +0000 (16:41 +0300)]
configs/macchiatobin*: drop vendor defconfig, rename mainline defconfig

The support for MacchiatoBin board in U-Boot and Linux has been
significantly improved in the past years. So it no longer makes much
sense to have a separate build configuration based on older vendor
Linux kernel and U-Boot. This commit drops the configuration based on
vendor kernel and U-Boot and renames the mainline-based defconfig.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/solidrun_macchiatobin_mainline: bump Linux and U-Boot versions
Sergey Matyukevich [Wed, 15 Apr 2020 13:41:35 +0000 (16:41 +0300)]
configs/solidrun_macchiatobin_mainline: bump Linux and U-Boot versions

Bump Linux to 5.6.3, U-Boot to 2020.01. New kernel and modules based
on arm64 defconfig do not fit into default size filesystem anymore.
So increase filesystem size to 120M.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtirpc: bump to version 1.2.6
Petr Vorel [Wed, 15 Apr 2020 18:21:53 +0000 (20:21 +0200)]
package/libtirpc: bump to version 1.2.6

This fixes build on riscv64:

http://autobuild.buildroot.net/results/a334f774e95fb7805568fc3868d5cf1d790a6e73
http://autobuild.buildroot.net/results/9cf80bdd4d329788c89596b56205ef215ee09c35

There is also a fix for build with -fno-common (default for gcc-10)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/acmesystems*: drop BR2_TARGET_ROOTFS_EXT2_LABEL options
Thomas Petazzoni [Wed, 15 Apr 2020 20:50:10 +0000 (22:50 +0200)]
configs/acmesystems*: drop BR2_TARGET_ROOTFS_EXT2_LABEL options

BR2_TARGET_ROOTFS_EXT2_LABEL now defaults to "rootfs", so repeating
that in those defconfigs is no longer necessary.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agofs/ext2: pass a default string to filesystem label
Fabio Estevam [Wed, 15 Apr 2020 12:36:56 +0000 (09:36 -0300)]
fs/ext2: pass a default string to filesystem label

Currently the volume-label for the root filesystem partition is a string
wit the following pattern: ad09a287-46a9-4790-ba97-fbbb549e5e96.

Specify the volume-label as "rootfs" to make it easier to identify it.

Suggested-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboard/freescale: specify the volume-label for FAT partition
Fabio Estevam [Wed, 15 Apr 2020 12:36:55 +0000 (09:36 -0300)]
board/freescale: specify the volume-label for FAT partition

Currently the volume-label for the vfat partition is a string with
the following pattern: 5934-861D.

Specify the volume-label as "boot" to make it easier to identify it.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libid3tag: needs host-gperf
Fabrice Fontaine [Wed, 15 Apr 2020 20:36:31 +0000 (22:36 +0200)]
package/libid3tag: needs host-gperf

Since switch to debian in commit
210ccaef5784011bc035d0ae13611cb4e76f389f, host-gperf is needed to
generate frametype.c because debian/patches/add-m4-directory.patch
patches Makefile.am. As a side effect, libid3tag tries to generate
frametype.c from frametype.gperf due to following rule:

$(srcdir)/frametype.c: $(srcdir)/frametype.gperf Makefile.am
        cd $(srcdir) &&  \
        gperf -tCcTonD -K id -N id3_frametype_lookup -s -3 -k '*'  \
                frametype.gperf |  \
        sed -e 's/\(struct id3_frametype\);/\1/' |  \
        sed -e '/\$$''Id: /s/\$$//g' >frametype.c

If host-gperf is not available, frametype.c will be empty and build with
madplay will fail on:

configure:17243: checking for snd_pcm_open in -lasound
configure:17268: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/powerpc64-linux-gcc -o conftest -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=1  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  conftest.c -lasound  -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib -lasound  -L/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib -lid3tag  >&5
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/8.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/../powerpc64-buildroot-linux-gnu/sysroot/usr/lib/libid3tag.so: undefined reference to `id3_frametype_lookup'

Fixes:
 - http://autobuild.buildroot.org/results/15a8c7f6e34b26446179c04383719ea71495403e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: revert patch 003 removal
Gwenhael Goavec-Merou [Tue, 14 Apr 2020 08:51:54 +0000 (10:51 +0200)]
package/gnuradio: revert patch 003 removal

In commit 14476b7fcaf102dcc39b5d4919a4f08660f821de ("package/gnuradio:
bump to 3.8.1.0"), all gnuradio patches were dropped. However, it
turns out that the path
0003-gr-digital-glfsr.h-drop-boost-cstdint.hpp-and-use-cs.patch was
applied in gnuradio master branch but has not been backported to
maint-3.8.  So this patch can't be supressed as we are using gnuradio
3.8.1.0.

Fix:
  http://autobuild.buildroot.net/results/79a7dabc20016bcf11afe22e6a5691edbba2455b/
  http://autobuild.buildroot.net/results/7342833ebcc8f399d98ba05e63fce6b60403371e/
  http://autobuild.buildroot.net/results/1807c1b054623148f0a2e55dd998b0b428f48b47/

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-iptables: account for platform tag in extensions
Frank Vanbever [Wed, 11 Mar 2020 10:54:47 +0000 (11:54 +0100)]
package/python-iptables: account for platform tag in extensions

EXT_SUFFIX in Python versions > 3.5 contains a platform tag which only applies
to cpython extensions. Given that ctypes.util.find_library does not work on the
target due to the absence of the underlying tools '.so' needs to be added as a
possible suffix for libraries to enable python-iptables to find the iptables
shared libraries.

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-iptables: try known libc instead of find_library()
Frank Vanbever [Wed, 11 Mar 2020 10:54:45 +0000 (11:54 +0100)]
package/python-iptables: try known libc instead of find_library()

ctypes.util.find_library() depends on gcc and friends to detect the location of
a given shared library. Given that these are not available on the target and
that python-iptables depends on this functionality we need to work around this.
The SONAMEs of the libc are well known so we try the known ones for glibc,
uClibc and musl.

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12271
Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-iptables: add explicit dependency on dynamic libs
Frank Vanbever [Wed, 11 Mar 2020 10:54:44 +0000 (11:54 +0100)]
package/python-iptables: add explicit dependency on dynamic libs

The package uses ctypes.CDLL extensively which only makes sense when dynamic
libraries are available.

Signed-off-by: Frank Vanbever <frank.vanbever@essensium.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/strace: fix build without fork
Fabrice Fontaine [Tue, 14 Apr 2020 11:56:41 +0000 (13:56 +0200)]
package/strace: fix build without fork

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkcs11-helper: needs dynamic library
Fabrice Fontaine [Tue, 14 Apr 2020 12:07:15 +0000 (14:07 +0200)]
package/pkcs11-helper: needs dynamic library

pkcs11-helper unconditionally use dlfcn.h in lib/pkcs11h-core.c

Fixes:
 - http://autobuild.buildroot.org/results/3411074765312e67dab0f71876a254721911714f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xorgproto: bump version to 2020.1
Bernd Kuhls [Tue, 14 Apr 2020 18:47:57 +0000 (20:47 +0200)]
package/x11r7/xorgproto: bump version to 2020.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/comix-cursors: bump version to 0.9.1
Bernd Kuhls [Tue, 14 Apr 2020 17:02:35 +0000 (19:02 +0200)]
package/comix-cursors: bump version to 0.9.1

Changelog: https://gitlab.com/limitland/comixcursors/-/blob/master/NEWS

Original repository was moved to gitlab.com, changed _SITE accordingly.

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

- Fix CVE-2020-10932: fix side channel in ECC code that allowed an
  adversary with access to precise enough timing and memory access
  information (typically an untrusted operating system attacking a
  secure enclave) to fully recover an ECDSA private key.
- Fix a potentially remotely exploitable buffer overread in a DTLS
  client when parsing the Hello Verify Request message.
- Fix bug in DTLS handling of new associations with the same parameters
  (RFC 6347 section 4.2.8): after sending its HelloVerifyRequest, the
  server would end up with corrupted state and only send invalid records
  to the client. An attacker able to send forged UDP packets to the
  server could use that to obtain a Denial of Service. This could only
  happen when MBEDTLS_SSL_DTLS_CLIENT_PORT_REUSE was enabled in
  config.h (which it is by default).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/check: bump version to 0.14.0
Bernd Kuhls [Tue, 14 Apr 2020 16:36:31 +0000 (18:36 +0200)]
package/check: bump version to 0.14.0

Release notes: https://github.com/libcheck/check/releases/tag/0.14.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ccache: bump version to 3.7.9
Bernd Kuhls [Tue, 14 Apr 2020 16:32:43 +0000 (18:32 +0200)]
package/ccache: bump version to 3.7.9

Release notes: https://ccache.dev/releasenotes.html#_ccache_3_7_9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/btrfs-progs: bump version to 5.6
Bernd Kuhls [Tue, 14 Apr 2020 16:15:11 +0000 (18:15 +0200)]
package/btrfs-progs: bump version to 5.6

Changelog:
https://btrfs.wiki.kernel.org/index.php/Changelog#By_version_.28btrfs-progs.29

Removed patches applied upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9a03f6d41f8e6b3312dc0c87563d8dbd10eafafe
https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=4b3e22e988c26c6c814f9ad3f50f493cd4d9dd2a

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/brltty: bump version to 6.1
Bernd Kuhls [Tue, 14 Apr 2020 16:06:36 +0000 (18:06 +0200)]
package/brltty: bump version to 6.1

Changelog: https://brltty.app/doc/ChangeLog.txt

Removed patches committed upstream:
https://github.com/brltty/brltty/commit/0414ad2b4e8978a14343d920a5a1f11da892eaf3
https://github.com/brltty/brltty/commit/a2e3aa25e8ef5044422aeeaa65968f97550b5e8d

Updated hash of README due to non-license related commits:
https://github.com/brltty/brltty/commits/master/README

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/botan: bump version to 2.14.0
Bernd Kuhls [Tue, 14 Apr 2020 15:55:41 +0000 (17:55 +0200)]
package/botan: bump version to 2.14.0

Release notes: https://botan.randombit.net/news.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bitstream: bump version to 1.5
Bernd Kuhls [Tue, 14 Apr 2020 15:43:13 +0000 (17:43 +0200)]
package/bitstream: bump version to 1.5

Release notes:
https://mailman.videolan.org/pipermail/bitstream-devel/2018-November/000116.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cbor2: bump to version 5.1.0
James Hilliard [Mon, 13 Apr 2020 23:53:33 +0000 (17:53 -0600)]
package/python-cbor2: bump to version 5.1.0

Add missing host-python-setuptools-scm dependency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-cbor2: needs host-python-setuptools-scm
Asaf Kahlon [Tue, 14 Apr 2020 06:59:15 +0000 (09:59 +0300)]
package/python-cbor2: needs host-python-setuptools-scm

Fixes:
  http://autobuild.buildroot.net/results/124e1e628c78449fbaa027d74ab871b36d782343/

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-jinja2: bump to version 2.11.2
James Hilliard [Tue, 14 Apr 2020 02:00:50 +0000 (20:00 -0600)]
package/python-jinja2: bump to version 2.11.2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-influxdb: bump to version 5.3.0
James Hilliard [Tue, 14 Apr 2020 01:55:49 +0000 (19:55 -0600)]
package/python-influxdb: bump to version 5.3.0

As of upstream commit 3a5e6219a2b62af076caa4f37fab9258165ec266 msgpack
is now required.

License hash change is due to date update in upstream commit
cf83d1d429ecebb093f6eaab773bd41c251530ca.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-h2: bump to version 3.2.0
James Hilliard [Tue, 14 Apr 2020 01:49:20 +0000 (19:49 -0600)]
package/python-h2: bump to version 3.2.0

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-flatbuffers: bump to version 1.12
James Hilliard [Tue, 14 Apr 2020 01:46:14 +0000 (19:46 -0600)]
package/python-flatbuffers: bump to version 1.12

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-engineio: bump to version 3.12.1
James Hilliard [Tue, 14 Apr 2020 01:43:13 +0000 (19:43 -0600)]
package/python-engineio: bump to version 3.12.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-crossbar: bump to version 20.4.1
James Hilliard [Tue, 14 Apr 2020 01:39:26 +0000 (19:39 -0600)]
package/python-crossbar: bump to version 20.4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-httplib2: bump to version 0.17.2
James Hilliard [Tue, 14 Apr 2020 01:33:56 +0000 (19:33 -0600)]
package/python-httplib2: bump to version 0.17.2

License hash change is due to httplib2 package version number update.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-certifi: bump to version 2020.4.5.1
James Hilliard [Tue, 14 Apr 2020 01:26:24 +0000 (19:26 -0600)]
package/python-certifi: bump to version 2020.4.5.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-autobahn: bump to version 20.4.1
James Hilliard [Tue, 14 Apr 2020 01:22:42 +0000 (19:22 -0600)]
package/python-autobahn: bump to version 20.4.1

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/grep: bump to version 3.4
Baruch Siach [Mon, 13 Apr 2020 13:09:52 +0000 (16:09 +0300)]
package/grep: bump to version 3.4

Format hash file with two spaces delimiter.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/dnsmasq: bump to version 2.81
Baruch Siach [Mon, 13 Apr 2020 04:24:24 +0000 (07:24 +0300)]
package/dnsmasq: bump to version 2.81

Drop upstream patches.

Remove CVE annotation; issue fixed upstream.

Depend on MMU. Upstream removed support for fork-less targets (commit
48d12f14c9c).

Reformat hashes file with two spaces delimiter. Remove stale 2.79
tarball hash entry.

Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix log and pid file paths
Pascal de Bruijn [Mon, 2 Mar 2020 10:19:02 +0000 (11:19 +0100)]
package/exim: fix log and pid file paths

By default, exim stores its PID file in /var/spool/exim, and its log
file in /var/spool/exim/log, but it makes a lot more sense to have the
logs in /var/log/exim and the PID file in /var/run/exim.

Using binary name subdirectory in both cases allows for the use of
systemd's LogsDirectory and RuntimeDirectory statements

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libopenh264: bump version to 2.1.0
Bernd Kuhls [Mon, 13 Apr 2020 10:17:13 +0000 (12:17 +0200)]
package/libopenh264: bump version to 2.1.0

Removed patch applied upstream in updated form:
https://github.com/cisco/openh264/commit/2122fe08cc8fe69899c3e257d0ee030c28a64174

Added new patch to fix subsequent build error on mips.

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/privoxy: bump to version 3.0.28
Fabrice Fontaine [Sun, 1 Mar 2020 08:52:47 +0000 (09:52 +0100)]
package/privoxy: bump to version 3.0.28

- Update indentation of hash file (two spaces)
- Add sha256 hash

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-greenlet: new package
James Hilliard [Fri, 1 Nov 2019 08:01:35 +0000 (02:01 -0600)]
package/python-greenlet: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Thomas: add PSF-2.0 to the licenses and LICENSE.PSF to the license files.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unrar: bump version to 5.9.2
Bernd Kuhls [Mon, 13 Apr 2020 13:05:51 +0000 (15:05 +0200)]
package/unrar: bump version to 5.9.2

Release notes: https://www.rarlab.com/rarnew.htm

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/lzip: bump version to 1.21
Bernd Kuhls [Mon, 13 Apr 2020 12:57:25 +0000 (14:57 +0200)]
package/lzip: bump version to 1.21

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/sg3_utils: bump version to 1.45
Bernd Kuhls [Mon, 13 Apr 2020 12:53:04 +0000 (14:53 +0200)]
package/sg3_utils: bump version to 1.45

Changelog: http://sg.danny.cz/sg/p/ChangeLog

Removed patch applied upstream:
https://github.com/hreinecke/sg3_utils/commit/180a604b564ca4b3cb972f6d29e1492aa6698896#diff-480477e89f9b6ddafb30c4383dcdd705

Updated BSD license hash due to switch to 2-clause license:
https://github.com/hreinecke/sg3_utils/commit/cb84e1efb96c52dcaae41e9b62b8628bca3c87a4

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/collectd: add init script for SysV
Asaf Kahlon [Thu, 31 Oct 2019 20:28:59 +0000 (22:28 +0200)]
package/collectd: add init script for SysV

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Reviewed-by: Carlos Santos <unixmania@gmail.com>
Tested-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nanopi_r1: new defconfig
Davide Viti [Sun, 27 Oct 2019 19:50:46 +0000 (20:50 +0100)]
configs/nanopi_r1: new defconfig

Add initial support for Nanopi R1 board with below features:

  - U-Boot 2019.01
  - Linux 5.0
  - Default packages from buildroot

Configuration files taken from Armbian:

  https://github.com/armbian/build/blob/master/patch

Signed-off-by: Davide Viti <zinosat@gmail.com>
[Thomas: move U-Boot config and DT to board/friendlyarm/nanopi-r1/uboot/]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lsscsi: bump version to 0.31
Bernd Kuhls [Mon, 13 Apr 2020 12:53:03 +0000 (14:53 +0200)]
package/lsscsi: bump version to 0.31

Changelog: http://sg.danny.cz/scsi/lsscsi.ChangeLog

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/alsa-utils: bump version to 1.2.2
Bernd Kuhls [Mon, 13 Apr 2020 11:53:02 +0000 (13:53 +0200)]
package/alsa-utils: bump version to 1.2.2

Switched _SITE to https.

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/alsa-lib: bump version to 1.2.2
Bernd Kuhls [Mon, 13 Apr 2020 11:53:01 +0000 (13:53 +0200)]
package/alsa-lib: bump version to 1.2.2

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.1.2_v1.2.2

Removed patch applied upstream:
https://github.com/alsa-project/alsa-lib/commit/8e2c70add782f997f7c269ed3f722888e56ff024

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/libglfw: bump version to 3.3.2
Bernd Kuhls [Mon, 13 Apr 2020 11:43:37 +0000 (13:43 +0200)]
package/libglfw: bump version to 3.3.2

Changelog: https://www.glfw.org/changelog.html

Updated license hash due to upstream commit:
https://github.com/glfw/glfw/commit/f764836e58ec47b7e105687630c75f8161ffcaa8

xlib_libXi is now a mandatory dependency:
https://github.com/glfw/glfw/commit/9cc83cf07f47ac8acf46ae12f0f9312fe39cfd6e
https://github.com/glfw/glfw/commit/b383e70021bc875e6fb5c1a693e5aa85fbc160d5

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/libva-utils: switch back to upstream-provided tarball
Bernd Kuhls [Mon, 13 Apr 2020 13:47:12 +0000 (15:47 +0200)]
package/libva-utils: switch back to upstream-provided tarball

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libva: switch back to upstream-provided tarball
Bernd Kuhls [Mon, 13 Apr 2020 13:47:13 +0000 (15:47 +0200)]
package/libva: switch back to upstream-provided tarball

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions
Francois Perrad [Mon, 13 Apr 2020 18:05:18 +0000 (20:05 +0200)]
configs/olimex_a20_olinuxino_lime*: bump Linux and U-Boot versions

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lldpd: bump to version 1.0.5
Baruch Siach [Mon, 13 Apr 2020 16:54:57 +0000 (19:54 +0300)]
package/lldpd: bump to version 1.0.5

Add tarball signature information.

Use https for site.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libkrb5: bump to 1.18.1
André Hentschel [Mon, 13 Apr 2020 16:05:03 +0000 (18:05 +0200)]
package/libkrb5: bump to 1.18.1

The hash of the NOTICE file has changed due to update in copyright year

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uboot-tools: bump to version 2020.04
Pierre-Jean Texier [Mon, 13 Apr 2020 15:38:22 +0000 (17:38 +0200)]
package/uboot-tools: bump to version 2020.04

- Bump to version 2020.04

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uboot: bump to version 2020.04
Pierre-Jean Texier [Mon, 13 Apr 2020 15:38:21 +0000 (17:38 +0200)]
boot/uboot: bump to version 2020.04

See https://lists.denx.de/pipermail/u-boot/2020-April/406522.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libssh: security bump to version 0.9.4
Baruch Siach [Mon, 13 Apr 2020 14:47:24 +0000 (17:47 +0300)]
package/libssh: security bump to version 0.9.4

Fixes CVE-2020-1730: Possible DoS in client and server when handling
AES-CTR keys with OpenSSL.

Format hash file with two spaces delimiter.

Cc: Scott Fan <fancp2007@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agogitlab.yml.in*: enable Qemu gitlab testing
Jugurtha BELKALEM [Mon, 17 Feb 2020 20:50:30 +0000 (21:50 +0100)]
gitlab.yml.in*: enable Qemu gitlab testing

Used to launch qemu tests for various qemu architectures.
Neverthless to say that this file skips any other job
different from qemu (only qemu configurations are
runtime tested).

Add the log generated by Qemu to the build artefacts.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosupport/scripts/boot-qemu-image.py: boot Qemu images with Qemu-system.
Jugurtha BELKALEM [Mon, 17 Feb 2020 20:50:29 +0000 (21:50 +0100)]
support/scripts/boot-qemu-image.py: boot Qemu images with Qemu-system.

This script is intended to be used by gitlab CI to test at runtime Qemu
images generated by Buildroot's Qemu defconfigs.

This allows to troubleshoot different issues that may be associated with
defective builds by lanching a qemu machine, sending root password,
waiting for login shell and then perform a shutdown.

This script is inspired by toolchain builder [1] and the Buildroot
testing infrastructure.

The gitlab CI will call this script for each defconfig build but only
Qemu defconfig will be runtime tested, all others defconfig are ignored.

Some Qemu defconfig must be used with a specific Qemu version (fork)
that is not always available, so the script doesn't error out when it
can't spawn a missing command. That condition is anyway printed in the
log.

Finally, the script start Qemu like it's done for the Buildroot
testing infrastructure (using pexpect).

Note:
We noticed some timeout issues with pexpect when the Qemu machine is
powered off. That's because Qemu process doesn't stop even if the
system is halted (after "System halted"). So the script doesn't error
out when such timeout occure. The behaviour depends on the architecture
emulated by Qemu.

[1] https://github.com/bootlin/toolchains-builder/blob/master/build.sh

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/qemu*: use the post-image script with "$(BR2_DEFCONFIG)" as argument.
Romain Naour [Mon, 17 Feb 2020 20:50:28 +0000 (21:50 +0100)]
configs/qemu*: use the post-image script with "$(BR2_DEFCONFIG)" as argument.

This commit allow to use the post-image script previously added
for each qemu board.

Add "$(BR2_DEFCONFIG)" as post-image script argument to retried
the qemu command line.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/qemu: add post-image script for gitlab qemu testing
Romain Naour [Mon, 17 Feb 2020 20:50:27 +0000 (21:50 +0100)]
board/qemu: add post-image script for gitlab qemu testing

This commit add a post-image script to be used by each qemu board
defconfig in order to generate start-qemu.sh in BINARIES_DIR. The
start-qemu.sh script can be used by Buildroot user to start Qemu
or by a gitlab CI.

To find the correct qemu command line, we use the second post script
argument which must contain "$(BR2_DEFCONFIG)"

    BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"

The post-image script expect something like
"/path/to/qemu_aarch64_virt_defconfig" in BR2_DEFCONFIG.

Doing a basename allow to retrieve the name of the defconfig file that
should match on on the "tag" previously introduced in readme.txt files.

For running in the CI, as well as running from a remote machine (e.g. on
a remote build machine), it is better not to start in graphical mode,
but only with the serial line attached to the terminal. The post-build
script prepares two sets of arguments for each case, graphical or
serial, and stores them in the start-qemu.sh script, which then decodes
which to use, based on an argument on the command line (default is still
graphical)

sh4/sh4eb needs a special handling by adding "-serial stdio -display
none"; others only require "-nographics". Some qemu command lines
already contain "-serial stdio", but that does not play nicely with
"-nographics", we remove that when going serial-only (although this
might seem counter-intuitive).

Finally, we ensure the script uses our qemu-system (if it was built).

Signed-off-by: Romain Naour <romain.naour@smile.fr>
[yann.morin.1998@free.fr:
  - drop the knowledge about gitlab-ci, replace with an argument to
    pass to start-qemu.sh
  - adapt the commit log accordingly
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboard/qemu: add defconfig file name as tag after the qemu command line
Romain Naour [Mon, 17 Feb 2020 20:50:26 +0000 (21:50 +0100)]
board/qemu: add defconfig file name as tag after the qemu command line

This commit add the name of the Qemu defconfig file after each
qemu command line in order to retrieve it easily.

Since a readme.txt can be shared between several Qemu defconfig, we
need at least one qemu command line in readme.txt for each defconfig.

For now, ignore the qemu_arm_vexpress_tz_defconfig since it fail to build
due to python script issue [1]. Anyway the arm vexpress boot is tested
with qemu_arm_vexpress_defconfig.

[1] http://lists.busybox.net/pipermail/buildroot/2020-February/273738.html

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>