buildroot.git
4 years agopackage/urandom-scripts: new package
Christoph Müllner [Mon, 20 Jul 2020 15:20:10 +0000 (17:20 +0200)]
package/urandom-scripts: new package

The init script S20urandom is used to preserve the kernel's RNG
seed between reboots. This functionality is not required for the
package "initscripts". Further there are use-cases where this script
should not be installed at all (e.g. systems that only have read-only
partitions), but that's currently not possible as the script is
a mandatory part of the package "initscripts".

Let's move the script into its own package "urandom-scripts" and select it,
if the default skeleton is enabled. This maintains backward-compatibility
and allows to deselect it.

Signed-off-by: Christoph Müllner <christoph.muellner@theobroma-systems.com>
[yann.morin.1998@free.fr:
  - extend help text
  - default y if initscripts (instead of skeleton default)
  - allow use with openRC, but not systemd
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoboot/arm-trusted-firmware: bump to version 2.2
Dick Olsson [Sun, 19 Jul 2020 18:09:45 +0000 (18:09 +0000)]
boot/arm-trusted-firmware: bump to version 2.2

Release notes:
https://trustedfirmware-a.readthedocs.io/en/latest/change-log.html#version-2-2

Take this opportunity to fix the hash file spacing.

Signed-off-by: Dick Olsson <hi@senzilla.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/resiprocate: new package
Ryan Barnett [Mon, 20 Jul 2020 14:32:45 +0000 (09:32 -0500)]
package/resiprocate: new package

reSIProcate is a framework that aims to fully implement the SIP
protocol in first class C++. It is intended for use in other
applications, such as the repro SIP proxy.

Signed-off-by: Ryan Barnett <ryan.barnett@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: bump version to 3.8.4
Adam Duskett [Mon, 20 Jul 2020 17:12:41 +0000 (10:12 -0700)]
package/python3: bump version to 3.8.4

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/bison: bump version to 3.6.4
Sergio Prado [Sun, 19 Jul 2020 23:48:48 +0000 (20:48 -0300)]
package/bison: bump version to 3.6.4

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ltris: bump to version 1.2
Fabrice Fontaine [Sun, 19 Jul 2020 08:38:03 +0000 (10:38 +0200)]
package/ltris: bump to version 1.2

Drop patch (already in version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libzip: bump version to 1.7.3
Bernd Kuhls [Sun, 19 Jul 2020 06:14:18 +0000 (08:14 +0200)]
package/libzip: bump version to 1.7.3

Release notes: https://libzip.org/news/

Updated license hash due to copyright year bump:
https://github.com/nih-at/libzip/commit/40098f0445599d53eb85254777734ccef6ce6915

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnupg2: bump vesion to 2.2.21
Bernd Kuhls [Sun, 19 Jul 2020 06:09:39 +0000 (08:09 +0200)]
package/gnupg2: bump vesion to 2.2.21

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgcrypt: bump version to 1.8.6
Bernd Kuhls [Sun, 19 Jul 2020 06:09:38 +0000 (08:09 +0200)]
package/libgcrypt: bump version to 1.8.6

Release notes:
https://lists.gnupg.org/pipermail/gnupg-announce/2020q3/000445.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libvorbis: bump version to 1.3.7
Bernd Kuhls [Sun, 19 Jul 2020 05:33:28 +0000 (07:33 +0200)]
package/libvorbis: bump version to 1.3.7

Removed patches which were applied upstream.

Reformatted hashes,

Updated license hash after copyright year update:
https://gitlab.xiph.org/xiph/vorbis/-/commit/eb40ca5fbd0c60d8bd1fd33be07f02defc21e5d7

Switched _SITE to https.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libevdev: bump version to 1.9.1
Peter Seiderer [Sat, 18 Jul 2020 22:29:11 +0000 (00:29 +0200)]
package/libevdev: bump version to 1.9.1

For details see [1].

- drop 0001-meson.build-use-local-include-path-for-tools.patch
  (upstream [2])
- drop 0003-meson.build-enable-static-library-build.patch
  (upstream [3])

[1] https://lists.freedesktop.org/archives/input-tools/2020-July/001541.html
[2] https://gitlab.freedesktop.org/libevdev/libevdev/-/commit/fe8238a71ae3ad8a776ee35a88fc292f1f006ec7
[3] https://gitlab.freedesktop.org/libevdev/libevdev/-/commit/a9d324f82bd5e822ea57224000fea43cb64aa214

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/avro-c: fix build without C++
Fabrice Fontaine [Sun, 19 Jul 2020 08:27:44 +0000 (10:27 +0200)]
package/avro-c: fix build without C++

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cdrkit: fix build with GCC 10
Urja Rannikko [Sun, 19 Jul 2020 17:42:36 +0000 (20:42 +0300)]
package/cdrkit: fix build with GCC 10

This patch adds a missing extern on the outfile
variable in genisoimage.h.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Tested-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix build with ccache
Alejandro González [Sun, 19 Jul 2020 10:29:46 +0000 (12:29 +0200)]
package/exim: fix build with ccache

When using ccache to build the exim package, the HOSTCC value contains
spaces, that are incorrectly interpreted by exim's Makefilei, which uses
the first word of ${CC} to test compiler options. This breaks the build
with "unrecognized option" ccache errors.

Fix that by wrapping the HOSTCC variable in double quotes, as it is done
for other variables that follow.

Signed-off-by: Alejandro González <alejandro.gonzalez.correo@gmail.com>
[yann.morin.1998@free.fr: slight rewording of commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exiv2: fix compiler flags detection
Thomas Petazzoni [Sun, 19 Jul 2020 14:34:04 +0000 (16:34 +0200)]
package/exiv2: fix compiler flags detection

Add a patch, which has been submitted upstream, to properly detect the
availability of compiler flags before using them.

This will fix the build of exiv2 on CPU architectures for which gcc
doesn't implement -fcf-protection.

Fixes:

  http://autobuild.buildroot.net/results/ef6a6fa2309e66a7a36fface626ae0da1a7ec633/
  (and many similar build failures on other architectures)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - fix indentation s/TAB/spaces/
  - fix CRLF dropped by patchwork
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/meson: fix LDFLAGS rpath match pattern
James Hilliard [Sun, 19 Jul 2020 01:21:40 +0000 (19:21 -0600)]
package/meson: fix LDFLAGS rpath match pattern

The upstream change in d7235c5905fa98207d90f3ad34bf590493498d5b is not
sufficient to prevent rpaths from being stripped in some cases due to
a bug in how it matches rpaths in LDFLAGS.

Add a patch fixing the LDFLAGS rpath match pattern.

Fixes:
http://autobuild.buildroot.net/results/f2f/f2f912416ab11d454479ef3d22ed6b757207f84f/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unclutter-xfixes: new package
Joseph Kogut [Tue, 23 Jun 2020 21:41:54 +0000 (14:41 -0700)]
package/unclutter-xfixes: new package

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[Thomas:
 - Fix incorrect "select"
 - Simplify the build command, to allow the package Makefile to use
   pkg-config, so added host-pkgconf
 - Use a full destination path for the installation step
 - Use the Github macro]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jq: needs threads
Fabrice Fontaine [Sat, 18 Jul 2020 21:11:34 +0000 (23:11 +0200)]
package/jq: needs threads

threads is a strong requirement since
https://github.com/stedolan/jq/commit/cf4b48c7ba30cb30e116b523cff036ea481459f6

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage./systemd: disable utmp
Norbert Lange [Sat, 18 Jul 2020 20:37:02 +0000 (22:37 +0200)]
package./systemd: disable utmp

From wikipedia:

    utmp maintains a full accounting of the current status of the
    system, system boot time (used by uptime), recording user
    logins at which terminals, logouts, system events etc.

This is seldom use, if at all, on an embedded device, and may expose
users' behaviour to others (by observing who logs in from where, for
example).

Forcibly disable support for utmp.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr: split off to its own patch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: remove SysV compatibility feature
Norbert Lange [Fri, 17 Jul 2020 23:43:12 +0000 (01:43 +0200)]
package/systemd: remove SysV compatibility feature

Systemd enables compatibility with SysV services and utmp by default,
none of which is needed for buildroot as the packages' .mk will install
only the files for the chosen init system.

Furthermore, SysV support requires a setup where *both* /etc/init.d and
/etc/rc.d exists (the latter for the usual /etc/rcN.d). However, in
Buildroot, the latter does not exist; so we would not be able to provide
a working SysV support anyway.

So, just forcibly disable SysV support.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - expand commit log
  - disable utmp in its own patch
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fmt: bump version to 7.0.1
Bernd Kuhls [Sat, 18 Jul 2020 20:16:25 +0000 (22:16 +0200)]
package/fmt: bump version to 7.0.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/spdlog: bump version to 1.7.0
Bernd Kuhls [Sat, 18 Jul 2020 20:16:24 +0000 (22:16 +0200)]
package/spdlog: bump version to 1.7.0

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nano: bump version to 4.9.3
Bernd Kuhls [Sat, 18 Jul 2020 20:14:45 +0000 (22:14 +0200)]
package/nano: bump version to 4.9.3

Release notes: https://www.nano-editor.org/news.php

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dbus: use /run for runtime data
Norbert Lange [Fri, 17 Jul 2020 21:55:20 +0000 (23:55 +0200)]
package/dbus: use /run for runtime data

All init systems supported by Buildroot have a /run directory and have
a symlink for /var/run -> /run.

Use the /run directory directly.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoConfig.in: update BR2_OPTIMIZE_FAST prompt and help text
Fabrice Fontaine [Thu, 16 Jul 2020 21:44:51 +0000 (23:44 +0200)]
Config.in: update BR2_OPTIMIZE_FAST prompt and help text

Update label as suggested by Stéphane Veyret, as -Ofast is potentially
dangerous, and may break packages.

Fixes:

 - https://bugs.buildroot.org/show_bug.cgi?id=13046

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnftnl: bump to version 1.1.7
Fabrice Fontaine [Thu, 16 Jul 2020 21:33:43 +0000 (23:33 +0200)]
package/libnftnl: bump to version 1.1.7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: bump to version 0.9.6
Fabrice Fontaine [Thu, 16 Jul 2020 21:31:38 +0000 (23:31 +0200)]
package/nftables: bump to version 0.9.6

- Drop patch (already in version)
- Drop host-bison and host-flex, not needed since version 0.9.5 and
  https://git.netfilter.org/nftables/commit/?id=2885cf2e65042b3dbc44fc232fd35840df255935

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/a10disp: add license file
Sergio Prado [Thu, 16 Jul 2020 22:42:58 +0000 (19:42 -0300)]
package/a10disp: add license file

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/alsa-lib: bump version to 1.2.3.2
Sergio Prado [Thu, 16 Jul 2020 23:10:10 +0000 (20:10 -0300)]
package/alsa-lib: bump version to 1.2.3.2

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/meson: bump to version 0.55.0
James Hilliard [Fri, 17 Jul 2020 08:03:56 +0000 (02:03 -0600)]
package/meson: bump to version 0.55.0

Drop fix rpath patch which is no longer needed.

Drop g-ir-scanner/g-ir-compiler override patch which is now upstream.

Rebase remaining patches.

Meson now requires single quotes for cross-compilation.conf, replace
double quotes with single quotes.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/e2fsprogs: explicitly do not install udev and systemd files for host variant
Antoine Tenart [Fri, 17 Jul 2020 12:06:54 +0000 (14:06 +0200)]
package/e2fsprogs: explicitly do not install udev and systemd files for host variant

Explicitly do not install udev rules and systemd units when installing
the host version of e2fsprogs, as we do not need those files when
calling host tools provided by e2fsprogs from Buildroot.

This fixes a weird issue I encountered: host-e2fsprogs was built and
installed without any issue when building an image from scratch. But
any attempt to rebuild host-e2fsprogs alone was failing during the
installation steps as it tried to install files to the host system.

This is because e2fsprogs' build system (autotools) is using the
prefix given at configuration time when installing its binaries,
configuration files, man pages, etc... but not when installing its
systemd units and udev rules.

The issue did not arise when building it from scratch, as
host-e2fsprogs do not have a dependency on host-udev/systemd, so its
configure script did not automatically enable udev/systemd
installation steps at first.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/clamav: security bump version to 0.102.4
Bernd Kuhls [Fri, 17 Jul 2020 17:18:31 +0000 (19:18 +0200)]
package/clamav: security bump version to 0.102.4

Release notes:
https://blog.clamav.net/2020/07/clamav-01024-security-patch-released.html

Fixes CVE-2020-3481, CVE-2020-3327 & CVE-2020-3350.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kodi-pvr-mythtv: bump version to 5.10.19-Leia
Bernd Kuhls [Fri, 17 Jul 2020 17:23:28 +0000 (19:23 +0200)]
package/kodi-pvr-mythtv: bump version to 5.10.19-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libftdi1: fix install path with FTDIPP
Fabrice Fontaine [Fri, 17 Jul 2020 19:34:19 +0000 (21:34 +0200)]
package/libftdi1: fix install path with FTDIPP

This will fix a build failure with libsigrok and libftdi1 in version
1.5.0

Fixes:
 - http://autobuild.buildroot.org/results/1427f44e36752c337791597fab47a1889552a2fe

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/go: bump version to 1.13.14
Christian Stewart [Fri, 17 Jul 2020 19:37:18 +0000 (12:37 -0700)]
package/go: bump version to 1.13.14

go1.13.14 (released 2020/07/16) includes fixes to the compiler, vet, and
the database/sql, net/http, and reflect packages.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rtty: bump version to 7.1.4
Jianhui Zhao [Sat, 18 Jul 2020 02:52:19 +0000 (10:52 +0800)]
package/rtty: bump version to 7.1.4

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/x11r7/xapp_xev: bump version to 1.2.4
Bernd Kuhls [Sat, 18 Jul 2020 07:17:39 +0000 (09:17 +0200)]
package/x11r7/xapp_xev: bump version to 1.2.4

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/armadillo: bump version to 9.900.2
Sergio Prado [Sat, 18 Jul 2020 09:40:37 +0000 (06:40 -0300)]
package/armadillo: bump version to 9.900.2

Also remove upstream hashes not available anymore.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnids: ignore CVE-2010-0751
Guillaume W. Bres [Sat, 18 Jul 2020 08:11:54 +0000 (10:11 +0200)]
package/libnids: ignore CVE-2010-0751

This CVE is falsely reported because it was fixed in package version
1.24 (which we are using). Ignore this CVE until the database is
updated.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mtd: disable crypto for host
Fabrice Fontaine [Sat, 18 Jul 2020 09:03:46 +0000 (11:03 +0200)]
package/mtd: disable crypto for host

Commit f1d1347bde41d35630d65898d27d87b99a519cb8 added the optional
openssl dependency for mtd however nothing was done for host-mtd

As a result, crypto support on host-mtd depends on the availability of
host-openssl which is not listed in HOST_MTD_DEPENDENCIES

Moreover, crypto support needs host linux-headers as it includes
<linux/hash_info.h> since version 2.1.2 and
https://github.com/sigma-star/mtd-utils/commit/a739b59efe7996e3bdcbe8b17743dc05ac7c110a

So just disable crypto support for host-mtd

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosystem: replace nogroup with nobody
Norbert Lange [Fri, 17 Jul 2020 21:52:07 +0000 (23:52 +0200)]
system: replace nogroup with nobody

Currently, we define the so-called "overflow group" as 'nogroup'.

However, one practical issue is that systemd-sysusers will otherwise
create a 'nobody' group with gid 999, because that's is what is usual to
define the overflow group: users and groups are defined in LSB (Linux
Standard Base):

    https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/usernames.html

Quoting: "If the username exists on a system,then they should be in the
suggested corresponding group".

Only Debian and derivatives depart from this custom, naming it 'nogroup'
(hence the rationale for commit 908198e756b4 (system/skeleton: remove
spurious group 'nobody').

See also commit 9c67af2c52 (system/skeleton: use uid/gid 65534 for
nobody/nogroup), and a related discussion on LWN.net (key is "overflow
UID" which also applies to GID):

    https://lwn.net/Articles/695478/

Use the recommended groupname 'nobody'. Adapt packages accordingly.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - reword commit log
  - extend commit log with more references (commits and LWN)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: cosmetic rearrange list of users
Norbert Lange [Mon, 15 Jun 2020 07:20:44 +0000 (09:20 +0200)]
package/systemd: cosmetic rearrange list of users

Group the udev users first, to make clear which software
requires them.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: register NSS plugins in nsswitch.conf
Norbert Lange [Fri, 10 Jul 2020 22:12:20 +0000 (00:12 +0200)]
package/systemd: register NSS plugins in nsswitch.conf

This supports 4 plugins, each will be added at the right spot if
enabled, based on the template coming with systemd.

The sed replacements are carefully written to be idempotent, and to
be robust enough to be combined with the other available packages
(nss_mdns4) in any installation order.

nss-systemd is used for the DynamicUser features, which is a defacto
necessity for systemd. It handles transient users/groups without
touching the /etc/{passwd,group} files on disk. To support the
'SupplementaryGroups' feature, groups should be merged.

nss-myhostname allows resolving the hostname, again without touching
files in /etc.

nss-mymachines adds name resolution from containers supported by
machined. Users from the containers might end up in system groups, so
groups should be merged.

nss-resolve, part of resolved, is required for consistent dns lookups.
As per the documentation (nss-resolve(8)), DNS queries shall not
continue past the resolve service, unless the service is not available.

We anchor nss_resolve to appear after files, if mymachines is also used,
remove that first (and add it back later). Other packages (mdns4) move
around the dns entry, so replacing that is not a good option.

If mdns4 is installed aswell, then resolved will take precedence for
host lookups.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - exp[lain why 'host: resolve' uses !UNAVAIL=return
  - rewrap commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoMakefile: use order-only dependency so symlinks are made only once
Danomi Manchego [Mon, 13 Jul 2020 01:13:21 +0000 (21:13 -0400)]
Makefile: use order-only dependency so symlinks are made only once

The rule to create the staging symlink has it depend on BASE_DIR, and
the symlink is created in BASE_DIR, which means that when the symlink
is created, BASE_DIR is updated, and thus made more recent than the
symlink itself.

As a consequence, every time one runs 'make', the symlink will be older
than BASE_DIR, and so will be re-created.

Ditto for the host symlink when the user has elected to have an
out-of-tree host dir.

Fix that by changing to using an order-only dependency.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/lm-sensors: always pass TARGET_CONFIGURE_OPTS
Fabrice Fontaine [Mon, 13 Jul 2020 09:37:29 +0000 (11:37 +0200)]
package/lm-sensors: always pass TARGET_CONFIGURE_OPTS

lm-sensors dropped MACHINE variable since version 3.6.0 and
https://github.com/lm-sensors/lm-sensors/commit/0863eff8fa1d32797e3aec19672878aff893b0ae
instead it uses $(CC) -dumpmachine to guess the architecture

However, as $(TARGET_CONFIGURE_OPTS) is only passed to build step and
not to install steps, this result in some binaries being built for the
host during install step and raising a build failure on some autobuilders

Fixes:
 - http://autobuild.buildroot.org/results/0180989afdd9272ecd5010a787931e0b10a6cdcf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/exim: bump to version 4.94
Fabrice Fontaine [Thu, 16 Jul 2020 19:40:11 +0000 (21:40 +0200)]
package/exim: bump to version 4.94

- Drop seventh patch (already in version with
  https://git.exim.org/exim.git/commitdiff/302e7912253bd1f1a88f04d9a8a71d8a3c9b93fc)
- Update indentation in 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/freescale-imx/firmware-imx: refine vpu and sdma copies
Gary Bisson [Thu, 16 Jul 2020 16:14:13 +0000 (18:14 +0200)]
package/freescale-imx/firmware-imx: refine vpu and sdma copies

In latest patch the SDMA installation was limited to platforms whose
name was mentioned in the binary but this approach wasn't flexible to
manage cases like imx8m using imx7 sdma binary, so this patch does:
- change VPU/SDMA FW options to string to allow specifying the name
  (suggested by Thomas)
- remove imx27 sdma case as non-existent
- add imx8m family support (using imx7d binary)
- get rid of FIRMWARE_IMX_PLATFORM_LOWER macro

Fixes: fad2df39b9 ("package/freescale-imx/firmware-imx: clarify installation of firmware files")
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.0.p2.4
Gary Bisson [Thu, 16 Jul 2020 14:48:37 +0000 (16:48 +0200)]
package/freescale-imx/kernel-module-imx-gpu-viv: bump to version 6.4.0.p2.4

- Same version as NXP release 5.4.24-2.1.0
- No changelog provided by NXP
- Tested on Nitrogen8M device with Weston (DRM backend) as follows:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-gpu-viv: bump to version 6.4.0.p2.4
Gary Bisson [Thu, 16 Jul 2020 14:48:36 +0000 (16:48 +0200)]
package/freescale-imx/imx-gpu-viv: bump to version 6.4.0.p2.4

- Same version as NXP release 5.4.24-2.1.0
- No changelog provided by NXP
- COPYING/EULA update: LA_OPT_NXP_Software_License v11 February 2020
- Tested on Nitrogen8M device with Weston (DRM backend) as follows:
 # cd /usr/share/examples/viv_samples/vdk/
 # ./tutorial7

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/freescale-imx/imx-gpu-g2d: bump to version 6.4.0.p2.4
Gary Bisson [Thu, 16 Jul 2020 14:48:35 +0000 (16:48 +0200)]
package/freescale-imx/imx-gpu-g2d: bump to version 6.4.0.p2.4

- Same version as NXP release 5.4.24-2.1.0
- No changelog provided by NXP
- COPYING/EULA update: LA_OPT_NXP_Software_License v11 February 2020

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump u-boot revision
Gary Bisson [Thu, 16 Jul 2020 14:29:23 +0000 (16:29 +0200)]
configs/nitrogen*: bump u-boot revision

Changelog:
- Add Android security features support (AVB, BCB)
- Add HAB security support (+ helper scripts)
- Integrate Nano BootROM issues workaround
- Add MIPI to LVDS converter support

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/nitrogen*: bump kernel version to 5.4.x_2.1.0
Gary Bisson [Thu, 16 Jul 2020 14:29:22 +0000 (16:29 +0200)]
configs/nitrogen*: bump kernel version to 5.4.x_2.1.0

- based on NXP imx_5.4.24_2.1.0 release
- includes latest stable releases, hence 5.4.x naming
- includes support for all Boundary Devices platforms + accessories

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/swupdate: backport fixes
Joris Offouga [Thu, 16 Jul 2020 09:03:49 +0000 (11:03 +0200)]
package/swupdate: backport fixes

This brings to the swupdate package two fixes [2][3] that have also
been backported in the meta-swupdate Yocto layer, see [1].

[1]: https://github.com/sbabic/meta-swupdate/commit/3fccf23e2816b176075588309e3e4702a318dfc7
[2]: https://github.com/sbabic/swupdate/commit/1078af97a5ac5c3091c8e601b836cd69a7aab7fc
[3]: https://github.com/sbabic/swupdate/commit/e3a6b120ff88f6dc34570002de97754b607966ec

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libvncserver: disable gtk example
Fabrice Fontaine [Thu, 16 Jul 2020 19:36:10 +0000 (21:36 +0200)]
package/libvncserver: disable gtk example

gtkvncviewer has been added since version 0.9.13 and
https://github.com/LibVNC/libvncserver/commit/2650cfc17bb7718e42bfff8510c15f011eda1b1f,
disable it as it is only an example

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/go: bump version to 1.13.13
Christian Stewart [Thu, 16 Jul 2020 18:56:15 +0000 (11:56 -0700)]
package/go: bump version to 1.13.13

go1.13.13 (released 2020/07/14) includes security fixes to the
crypto/x509 and net/http packages.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lxc: fix license
Fabrice Fontaine [Thu, 16 Jul 2020 18:53:45 +0000 (20:53 +0200)]
package/lxc: fix license

Commit 5a393677314dfdaa6a4bd6a847b642ae54517538 forgot to update
license which has been changed from COPYING to LICENSE.GPL2 and
LICENSE.LGPL2.1 since version 4.0.0 and
https://github.com/lxc/lxc/commit/cc73685dd09315b292968ee91a08a8f295376b35

It should be noted that COPYING describes GPLv3, see upstream answer
here: https://github.com/lxc/lxc/issues/3484

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gpm: fix build failure with gcc 10
Heiko Thiery [Thu, 16 Jul 2020 18:45:27 +0000 (20:45 +0200)]
package/gpm: fix build failure with gcc 10

Add a patch from upstream [1] to fix -fno-common build failure

[1] https://github.com/telmich/gpm/commit/f04f24dd5ca5c1c13608b144ab66e2ccd47f106a

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/imx6ullevk: new defconfig
Fabio Estevam [Thu, 16 Jul 2020 00:25:59 +0000 (21:25 -0300)]
configs/imx6ullevk: new defconfig

Add support for imx6ullevk_defconfig that allows booting a mainline
kernel and mainline U-Boot.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xtables-addons: bump version to 3.9
Sergio Prado [Thu, 16 Jul 2020 00:04:18 +0000 (21:04 -0300)]
package/xtables-addons: bump version to 3.9

Separate the fields in the hash file by two spaces and remove hash of
old version.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xterm: bump version to 358
Sergio Prado [Wed, 15 Jul 2020 23:35:24 +0000 (20:35 -0300)]
package/xterm: bump version to 358

Separate the fields in the hash file by two spaces.

Change the hash of the license:
- Copyright message changed from 2018,2019 to 2019,2020

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/{openjdk,openjdk-bin}: bump to version 11.0.8+10
Adam Duskett [Wed, 15 Jul 2020 23:29:48 +0000 (16:29 -0700)]
package/{openjdk,openjdk-bin}: bump to version 11.0.8+10

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xxhash: bump version to 0.7.4
Sergio Prado [Wed, 15 Jul 2020 23:09:32 +0000 (20:09 -0300)]
package/xxhash: bump version to 0.7.4

Change the hash of the license:
- Copyright message changed from 'present' to 2020
- Link to BSD 2-Clause License changed from http to https

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xz: bump version to 5.2.5
Sergio Prado [Wed, 15 Jul 2020 22:57:39 +0000 (19:57 -0300)]
package/xz: bump version to 5.2.5

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zlog: bump version to 1.2.15
Sergio Prado [Wed, 15 Jul 2020 22:41:02 +0000 (19:41 -0300)]
package/zlog: bump version to 1.2.15

Also separate the fields in the hash file by two spaces.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mender/mender.mk: add missing backslash
Adam Duskett [Wed, 15 Jul 2020 23:19:16 +0000 (16:19 -0700)]
package/mender/mender.mk: add missing backslash

Without this backslash, any attempt to run make will result in the error:
package/mender/mender.mk:44: *** recipe commences before first target.  Stop

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mender: add support for update modules
Adam Duskett [Wed, 15 Jul 2020 17:37:07 +0000 (10:37 -0700)]
package/mender: add support for update modules

Mender has support for performing other types of updates other than
just overwriting the rootfs partition that isn't currently in use on
the target.

Some of the default provided modules provide support for:
  - Updating a docker container.
  - Running a script.
  - Installing an RPM.
  - Overwriting a directory.
  - Updating a single-file.

The single-file update module is used by upstream for onboarding a new
device to a server, and this fails with Buildroot devices because the
modules are currently not installed.

Install the directory, script, and single-file modules by default, and
install the docker or rpm script if their respective packages are
selected.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mender: set the default script version to 3
Adam Duskett [Wed, 15 Jul 2020 17:37:06 +0000 (10:37 -0700)]
package/mender: set the default script version to 3

Version 3 scripts have been supported since version 2.0 and should be the
default.

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mender: bump version to 2.3.0
Adam Duskett [Wed, 15 Jul 2020 17:37:05 +0000 (10:37 -0700)]
package/mender: bump version to 2.3.0

Update the following license file hashes due to copyright year changes:
  - vendor/github.com/mendersoftware/mendertesting/LICENSE
  - vendor/github.com/mendersoftware/mender-artifact/LICENSE

Remove hashes for the the following removed files:
  - vendor/github.com/mendersoftware/log/LICENSE
  - vendor/github.com/mendersoftware/scopestack/LICENSE

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mender-artifact: bump version to 3.4.0
Adam Duskett [Wed, 15 Jul 2020 17:37:04 +0000 (10:37 -0700)]
package/mender-artifact: bump version to 3.4.0

Update the following license file hashes due to copyright year changes:
  - vendor/github.com/mendersoftware/mendertesting/LICENSE
  - vendor/github.com/davecgh/go-spew/LICENSE
  - vendor/github.com/stretchr/testify/LICENSE

Add hashes for the the following new files:
  - vendor/github.com/minio/sha256-simd/LICENSE
  - vendor/gopkg.in/yaml.v2/LICENSE
  - vendor/github.com/klauspost/compress/LICENSE
  - vendor/github.com/russross/blackfriday/v2/LICENSE.txt
  - vendor/github.com/klauspost/pgzip/LICENSE
  - vendor/github.com/cpuguy83/go-md2man/v2/LICENSE.md
  - vendor/github.com/shurcooL/sanitized_anchor_name/LICENSE

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx53loco: bump U-Boot and kernel versions
Fabio Estevam [Wed, 15 Jul 2020 17:27:03 +0000 (14:27 -0300)]
configs/mx53loco: bump U-Boot and kernel versions

Bump to U-Boot 2020.07 and kernel 5.7.8 versions.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/network-manager: disable introspection
Fabrice Fontaine [Wed, 15 Jul 2020 20:34:42 +0000 (22:34 +0200)]
package/network-manager: disable introspection

Build will fail if gobject-introspection is built before network-manager
but python-gobject is not:

configure: error: "--enable-introspection aims to build the settings documentation. This requires GObject introspection for python (pygobject)

To avoid this build failure and because we don't need documentation,
just disable introspection

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gupnp: disable documentation
Fabrice Fontaine [Wed, 15 Jul 2020 20:53:27 +0000 (22:53 +0200)]
package/gupnp: disable documentation

gupnp always builds man page since version 1.2.3 and
https://gitlab.gnome.org/GNOME/gupnp/-/commit/23f54c2a1e8718e836224d68dafded091604a677

This will raise the following build failure on some of our autobuilders:

FAILED: doc/gupnp-binding-tool-1.2.1
/usr/bin/xsltproc --nonet --xinclude --path /home/naourr/work/instance-0/output-1/build/gupnp-1.2.3/doc:/home/naourr/work/instance-0/output-1/build/gupnp-1.2.3/build/doc --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.th.extra1.suppress 1 --stringparam man.authors.section.enabled 1 --stringparam man.copyright.section.enabled 1 -o doc/gupnp-binding-tool-1.2.1 http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl ../doc/gupnp-binding-tool.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

This issue has been reported upstream, until we got more feedback, just
revert the commit

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mtd: bump to version 2.1.2
Heiko Thiery [Wed, 15 Jul 2020 20:58:38 +0000 (22:58 +0200)]
package/mtd: bump to version 2.1.2

- drop patch included in version
- update hash file formatting (2 spaces)

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zstd: fix build without st_mtime
Fabrice Fontaine [Wed, 15 Jul 2020 19:29:05 +0000 (21:29 +0200)]
package/zstd: fix build without st_mtime

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gvfs: needs dynamic library
Fabrice Fontaine [Wed, 15 Jul 2020 19:52:44 +0000 (21:52 +0200)]
package/gvfs: needs dynamic library

Since commit 35e240105f1db3e91fb769616efd8bdb90fb1b24, gvfs needs
dynamic library as it uses shared_module to build libgvfs_dbus and
libgioremote_volume_monitor

Fixes:
 - http://autobuild.buildroot.org/results/89a02fda05e75bfc9bd4fa17fea3bec23fd5da3d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-networkx: needs python3
Fabrice Fontaine [Wed, 15 Jul 2020 20:25:15 +0000 (22:25 +0200)]
package/python-networkx: needs python3

python3 is mandatory since version 2.3 and
https://github.com/networkx/networkx/commit/8f4845e94709dd62a4ebf3775fe02ca777ec49f2

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libglib2: bump version to 2.64.4
Adam Duskett [Wed, 15 Jul 2020 17:53:49 +0000 (10:53 -0700)]
package/libglib2: bump version to 2.64.4

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/warp7: bump Kernel and U-Boot version
Pierre-Jean Texier [Wed, 15 Jul 2020 19:02:38 +0000 (21:02 +0200)]
configs/warp7: bump Kernel and U-Boot version

Bump U-Boot to 2020.07 and kernel to version 5.7.8

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-networkx: bump to 2.4
Antoine Tenart [Wed, 15 Jul 2020 15:38:45 +0000 (17:38 +0200)]
package/python-networkx: bump to 2.4

python-networkx wasn't upgraded for a while due to incompatibilities
with setools not supporting versions above 1.11. With the recent version
bump of setools this is no longer true and we can bump python-networkx
to 2.4.

The license checksum had to be updated while bumping the package, but
only the year of the copyright has changed.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gvfs: add optional libfuse3 dependency
Fabrice Fontaine [Tue, 14 Jul 2020 17:38:10 +0000 (19:38 +0200)]
package/gvfs: add optional libfuse3 dependency

libfuse3 is an optional dependency since version 1.41.1 and
https://github.com/GNOME/gvfs/commit/7a0a06186b6fef07b8fce2360c04fd075fc84ed1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-client: fix static build
Fabrice Fontaine [Tue, 14 Jul 2020 22:23:12 +0000 (00:23 +0200)]
package/optee-client: fix static build

Add a patch that fix a build failure on version 3.9.0

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mongodb: security bump to version 4.2.8
Fabrice Fontaine [Wed, 15 Jul 2020 06:33:01 +0000 (08:33 +0200)]
package/mongodb: security bump to version 4.2.8

Fix the following security issues:
- SERVER-45514 [FLE] Reject document validators with encryption-related
  keywords if the validationAction is “warn”
- SERVER-48039 Unrecognized option: net.ssl.clusterCertificateSelector
  in MongoDB v4.2
- SERVER-45803 mongodecrypt needs a ServiceContext
- SERVER-46834 Use monotonic time in UserCacheInvalidator
- SERVER-47113 LDAP connection pool acquisition state should own host
  list

https://docs.mongodb.com/manual/release-notes/4.2

Also:
- Update indentation in hash file (two spaces)
- Tweak version to be "compliant" with https://release-monitoring.org
- Use official tarball

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uboot: bump to version 2020.07
Fabio Estevam [Tue, 14 Jul 2020 23:15:32 +0000 (20:15 -0300)]
boot/uboot: bump to version 2020.07

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/setools: bump to 4.3.0
Antoine Tenart [Wed, 15 Jul 2020 13:07:40 +0000 (15:07 +0200)]
package/setools: bump to 4.3.0

setools is no longer hosted on https://github.com/TresysTechnology/setools/.
Update the source location to its new home,
https://github.com/SELinuxProject/setools/.

Refresh patches 0001-remove-werror-flag-from-setup.patch and
0002-Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch for
4.3.0 and remove patch 0003-setup.py-drop-path-prefix-from-man-install.patch
that is now upstream.

Add a new dependency on host-python-cython, as setup.py now depends on
it.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/selinux-python: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:39 +0000 (15:07 +0200)]
package/selinux-python: bump to 20200710

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/semodule-utils: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:38 +0000 (15:07 +0200)]
package/semodule-utils: bump to 20200710

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/restorecond: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:37 +0000 (15:07 +0200)]
package/restorecond: bump to 20200710

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/checkpolicy: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:36 +0000 (15:07 +0200)]
package/checkpolicy: bump to 20200710

Patch 0001-checkpolicy-remove-unused-te_assertions.patch is now part of
the upstream release 20200710.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/policycoreutils: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:35 +0000 (15:07 +0200)]
package/policycoreutils: bump to 20200710

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libselinux: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:34 +0000 (15:07 +0200)]
package/libselinux: bump to 20200710

Refresh patch 0002-Do-not-use-PYCEXT-and-rely-on-the-installed-file-nam.patch
for 3.1; and remove patch 0003-fix-building-against-musl-and-uclibc-libraries.patch
that is now upstream.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsemanage: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:33 +0000 (15:07 +0200)]
package/libsemanage: bump to 20200710

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: bump to 20200710
Antoine Tenart [Wed, 15 Jul 2020 13:07:32 +0000 (15:07 +0200)]
package/libsepol: bump to 20200710

Patches 0002-libsepol-fix-CIL_KEY_-build-errors-with-fno-common.patch
and 0003-libsepol-remove-leftovers-of-cil_mem_error_handler.patch are
now upstream.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libodb-mysql: fix static build
Fabrice Fontaine [Tue, 14 Jul 2020 21:18:04 +0000 (23:18 +0200)]
package/libodb-mysql: fix static build

Use mysql_config to help libodb-mysql to retrieve mysql dependencies
such as -lz

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/open2300: use mysql_config to retrieve cflags and libs
Fabrice Fontaine [Tue, 14 Jul 2020 21:10:17 +0000 (23:10 +0200)]
package/open2300: use mysql_config to retrieve cflags and libs

oracle-mysql won't built its own bundled zlib since commit
6fed83a03047535d4a9c849352f8c21b30177fcd so don't unconditionally link
with zlib instead use mysql_config to retrieve cflags and libs as
suggested by Thomas Petazzoni in review of first iteration

Fixes:
 - No autobuilder failures yet

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/microchip_sama5d27_wlsom1_ek: new defconfigs
Eugen Hristev [Tue, 12 Nov 2019 15:24:33 +0000 (15:24 +0000)]
configs/microchip_sama5d27_wlsom1_ek: new defconfigs

Add the new SAMA5D27 WLSOM1 Evaluation Kit with linux4sam_6.2
components.  Update README file with new defconfigs and new
packages/website.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/umtprd: fix build on musl
Fabrice Fontaine [Tue, 23 Jun 2020 21:38:03 +0000 (23:38 +0200)]
package/umtprd: fix build on musl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libubootenv: bump to version 86bd30a
Pierre-Jean Texier [Wed, 24 Jun 2020 11:05:59 +0000 (13:05 +0200)]
package/libubootenv: bump to version 86bd30a

This includes the following changes:

86bd30a Restore ability to feed script file via stdin, using `-s -`.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zd1211-firmware: bump version to 1.5
Peter Seiderer [Fri, 26 Jun 2020 07:25:25 +0000 (09:25 +0200)]
package/zd1211-firmware: bump version to 1.5

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnfc: bump to version 1.8.0
Fabrice Fontaine [Thu, 25 Jun 2020 22:10:25 +0000 (00:10 +0200)]
package/libnfc: bump to version 1.8.0

- Retrieve first patch from upstream (BUILD_EXAMPLES is already in
  CMakeLists.txt)
- Update indentation in 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/libvncserver: security bump to version 0.9.13
Fabrice Fontaine [Thu, 25 Jun 2020 22:00:58 +0000 (00:00 +0200)]
package/libvncserver: security bump to version 0.9.13

- Drop all patches (already in version)
- Fix CVE-2018-21247: An issue was discovered in LibVNCServer before
  0.9.13. There is an information leak (of uninitialized memory contents)
  in the libvncclient/rfbproto.c ConnectToRFBRepeater function.
- Fix CVE-2019-20839: libvncclient/sockets.c in LibVNCServer before
  0.9.13 has a buffer overflow via a long socket filename.
- Fix CVE-2019-20840: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/ws_decode.c can lead to a crash because of
  unaligned accesses in hybiReadAndDecode.
- Fix CVE-2020-14396: An issue was discovered in LibVNCServer before
  0.9.13. libvncclient/tls_openssl.c has a NULL pointer dereference.
- Fix CVE-2020-14397: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/rfbregion.c has a NULL pointer dereference.
- Fix CVE-2020-14398: An issue was discovered in LibVNCServer before
  0.9.13. An improperly closed TCP connection causes an infinite loop in
  libvncclient/sockets.c.
- Fix CVE-2020-14399: An issue was discovered in LibVNCServer before
  0.9.13. Byte-aligned data is accessed through uint32_t pointers in
  libvncclient/rfbproto.c.
- Fix CVE-2020-14400: An issue was discovered in LibVNCServer before
  0.9.13. Byte-aligned data is accessed through uint16_t pointers in
  libvncserver/translate.c.
- Fix CVE-2020-14401: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/scale.c has a pixel_value integer overflow.
- Fix CVE-2020-14402: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/corre.c allows out-of-bounds access via
  encodings.
- Fix CVE-2020-14403: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/hextile.c allows out-of-bounds access via
  encodings.
- Fix CVE-2020-14404: An issue was discovered in LibVNCServer before
  0.9.13. libvncserver/rre.c allows out-of-bounds access via encodings.
- Fix CVE-2020-14405: An issue was discovered in LibVNCServer before
  0.9.13. libvncclient/rfbproto.c does not limit TextChat size.

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