buildroot.git
4 years agopackage/libfuse3: bump to version 3.10.0
Asaf Kahlon [Fri, 9 Oct 2020 12:32:23 +0000 (15:32 +0300)]
package/libfuse3: bump to version 3.10.0

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unrar: bump to version 5.9.4
Francois Perrad [Tue, 13 Oct 2020 15:47:49 +0000 (17:47 +0200)]
package/unrar: bump to version 5.9.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5lottie: new package
Peter Seiderer [Mon, 12 Oct 2020 21:16:17 +0000 (23:16 +0200)]
package/qt5/qt5lottie: new package

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/manual: add section about br2-external init
Brandon Maier [Tue, 13 Oct 2020 22:36:05 +0000 (17:36 -0500)]
docs/manual: add section about br2-external init

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
[yann.morin.1998@free.fr:
  - move before skeletons
  - select the custom 'mine' skeleton, not the sysv one
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosystem: support br2-external init systems
Brandon Maier [Tue, 13 Oct 2020 22:36:04 +0000 (17:36 -0500)]
system: support br2-external init systems

Some externals may wish to provide custom init systems for tightly
integrated boot. This has been supported through the BR2_INIT_NONE,
however a downside to the BR2_INIT_NONE is it forces the custom init
system to use either skeleton-custom and roll a custom skeleton for
each target, or skeleton-init-none which isn't a complete skeleton.

Allowing br2-external to define custom BR2_INIT_* means they can now
safely 'select' the BR2_PACKAGE_SKELETON_INIT_*, and re-use any of the
skeletons in Buildroot, or one from a br2-external tree.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosystem: Move skeleton-init-* selection to init
Brandon Maier [Tue, 13 Oct 2020 22:36:03 +0000 (17:36 -0500)]
system: Move skeleton-init-* selection to init

In preparation for supporting br2-external inits, move the 'select' for
the BR2_PACKAGE_SKELETON_INIT_* to their respective init systems. This
will allow a br2-external init to 'select' which skeleton it needs as a
default skeleton.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
[yann.morin.1998@free.fr:
  - add comment to init choice, to remind why selecting skeletons is OK
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agodocs/manual: add section about br2-external skeleton
Brandon Maier [Tue, 13 Oct 2020 22:36:02 +0000 (17:36 -0500)]
docs/manual: add section about br2-external skeleton

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
[yann.morin.1998@free.fr:
  - alphabetical order (skeleton before toolchain)
  - leave the list of choices 'open'
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agosystem: support br2-external skeleton packages
Brandon Maier [Tue, 13 Oct 2020 22:36:01 +0000 (17:36 -0500)]
system: support br2-external skeleton packages

Today, the BR2_ROOTFS_SKELETON_CUSTOM is the only way to build a custom
skeleton. But it's limiting as users must provide a pre-built skeleton
for each target. Supporting a br2-external package allows users to build
up a skeleton and customize it with their own KConfig options.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/librelp: bump to version 1.8.0
David GOUARIN [Tue, 13 Oct 2020 16:28:45 +0000 (18:28 +0200)]
package/librelp: bump to version 1.8.0

1.8.0 adds support for both openssl and gnutls

Signed-off-by: David GOUARIN <dgouarin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-waf.mk: allow for override of <pkg>_WAF directive
David GOUARIN [Tue, 13 Oct 2020 19:49:45 +0000 (21:49 +0200)]
package/pkg-waf.mk: allow for override of <pkg>_WAF directive

Some packages have their own waf copy, but not located at the
top-level directory. In order to support those packages, we allow
packages to override the default <pkg>_WAF location.

Signed-off-by: David GOUARIN <dgouarin@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: rebase patches with incorrect offsets for python 3.9.0
James Hilliard [Wed, 14 Oct 2020 18:54:17 +0000 (12:54 -0600)]
package/python3: rebase patches with incorrect offsets for python 3.9.0

This rebases the remaining patches for python 3.9.0 not included in
f26ce577605e843ebf0f5583242ee9ff3cd08ac3.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/jquery: bump to version 3.5.1
Ignacy Gawędzki [Wed, 14 Oct 2020 11:08:24 +0000 (13:08 +0200)]
package/jquery: bump to version 3.5.1

Signed-off-by: Ignacy Gawędzki <ignacy.gawedzki@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: group all journal-remote tools under a single option
Michael Nosthoff [Wed, 14 Oct 2020 15:12:50 +0000 (17:12 +0200)]
package/systemd: group all journal-remote tools under a single option

The -Dremote=true flag enables three tools: systemd-journal-gatewayd,
systemd-journal-remote and systemd-journal-upload.

It is not possible with simple means to install them seperately. So use
the systemd-journal-remote option to enable or disable them all together.

Drop systemd-journal-gatewayd option and add it to legacy.

Fixes: #12301
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: use libqrencode independently of remote tools
Michael Nosthoff [Wed, 14 Oct 2020 15:12:49 +0000 (17:12 +0200)]
package/systemd: use libqrencode independently of remote tools

systemds libqrencode support is independent from journal-gatewayd. In
v247 it will additionally be used in homectl for recovery key
generation.

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/18xx-ti-utils: use short version string
Baruch Siach [Wed, 14 Oct 2020 12:29:37 +0000 (15:29 +0300)]
package/18xx-ti-utils: use short version string

This is compatible with release-monitoring.org, so it allows easier
tracking of update status.

There appears to be no easy way to use anything other than tag/commit
for _VERSION with the git download method. git.ti.com offers snapshot
download over https, so use use that instead. As added bonus, the https
download method is more firewall friendly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python3: bump to version 3.9.0
James Hilliard [Wed, 14 Oct 2020 10:18:48 +0000 (04:18 -0600)]
package/python3: bump to version 3.9.0

Minimal rebase of patches on 3.9.0.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libuhttpd: bump version to 3.4.0
Jianhui Zhao [Wed, 14 Oct 2020 14:31:10 +0000 (22:31 +0800)]
package/libuhttpd: bump version to 3.4.0

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fakeroot: bump version to 1.25.3
Norbert Lange [Wed, 14 Oct 2020 14:58:09 +0000 (16:58 +0200)]
package/fakeroot: bump version to 1.25.3

This version adds wrappers for getgroups and statx, the latter is used
by coreutils 8.32.

Removed patches that are now in upstream.

Added a patch to fix failure when installing.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157*: bump kernel version
Shlomi Vaknin [Wed, 7 Oct 2020 14:49:44 +0000 (17:49 +0300)]
configs/stm32mp157*: bump kernel version

Since kernel 5.7 is EOL now, this upgrades it to version 5.8.13.

Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/stm32mp157*: switch to use TF-A based configurations
Shlomi Vaknin [Wed, 7 Oct 2020 14:49:43 +0000 (17:49 +0300)]
configs/stm32mp157*: switch to use TF-A based configurations

This commit changes the stm32mp1 configurations to use the TF-A ->
U-Boot boot flow (called "trusted boot flow" by ST) instead of the
U-Boot SPL -> U-Boot boot flow. ST recommands this trusted boot, and
it's also the only one that allows to use the STM32 Cube Programmer
for reflashing devices.

As part of this, the genimage configuration file is now generated, as
it contains some file names that depend on the platform. Removing
partition-type from genimage.cfg is mandatory, since it would cause a
hybrid MBR partition table to be created, which itself would prevent
ATF from finding the ssbl parition.

Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uboot: add stm32 binary format
Shlomi Vaknin [Wed, 7 Oct 2020 14:49:42 +0000 (17:49 +0300)]
boot/uboot: add stm32 binary format

Add `.stm32` binary format that U-Boot generates for the trusted
configuration of STM32MP platforms.

Signed-off-by: Shlomi Vaknin <shlomi.39sd@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6sx_udoo_neo: bump kernel and U-Boot versions
Sergey Matyukevich [Sat, 10 Oct 2020 06:30:18 +0000 (09:30 +0300)]
configs/mx6sx_udoo_neo: bump kernel and U-Boot versions

Bump Linux kernel to 5.8.13 and U-Boot to 2020.10.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfig/odroidc2: force host kernel version to 5.7
Dagg Stompler [Sat, 10 Oct 2020 12:56:48 +0000 (15:56 +0300)]
config/odroidc2: force host kernel version to 5.7

as the current kernel version used for this board is 5.7,
make sure that the host kernel version is the same to prevent
build failure due to version miss match.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/779210973

Signed-off-by: Dagg Stompler <daggs@gmx.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6cubox: bump U-Boot version
Francois Perrad [Tue, 13 Oct 2020 10:37:50 +0000 (12:37 +0200)]
configs/mx6cubox: bump U-Boot version

now, the build requires host-swig
which is given by BR2_TARGET_UBOOT_NEEDS_PYLIBFDT

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sslh: bump to version 1.21c
Fabrice Fontaine [Mon, 12 Oct 2020 20:18:49 +0000 (22:18 +0200)]
package/sslh: bump to version 1.21c

- Drop patch (already in version)
- libbsd is an optional dependency since version 1.21b and
  https://github.com/yrutschle/sslh/commit/0380a4309f826062a4ab772e65077c0566d8fbd4
- libconfig is optional since version 1.21c and
  https://github.com/yrutschle/sslh/commit/2c93a015ea1d261a934df00285691522e6a6d211
- 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/sslh: drop C++ dependency
Fabrice Fontaine [Mon, 12 Oct 2020 20:18:48 +0000 (22:18 +0200)]
package/sslh: drop C++ dependency

sslh is written in plain C so drop C++ dependency

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/quazip: fix legal info
Fabrice Fontaine [Mon, 12 Oct 2020 18:57:04 +0000 (20:57 +0200)]
package/quazip: fix legal info

Update hash of COPYING (QuaZIP renamed into QuaZip since version 1.0 and
https://github.com/stachenov/quazip/commit/5bd87270bd9c0dbe99c102e5b442e1fe142166be)

While at it, update indentation (two spaces)

Fixes:
 - http://autobuild.buildroot.org/results/4a8dc1be76d9f08d44b158f39734932793348a03

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/snort: bump to version 2.9.16.1
Bernd Kuhls [Mon, 12 Oct 2020 16:20:00 +0000 (18:20 +0200)]
package/snort: bump to version 2.9.16.1

- Added md5 hash provided by upstream.
- Update indentation in hash file (two spaces)
- Fix build failure with gcc 10

Fixes:
 - http://autobuild.buildroot.org/results/16e1fa98a80182d96e62365491d5a71ed269aa47

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/daq: bump version to 2.0.7
Bernd Kuhls [Mon, 12 Oct 2020 16:19:59 +0000 (18:19 +0200)]
package/daq: bump version to 2.0.7

- Add a comment about autoreconf
- Update indentation in hash file

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/daq: fix parallel build
Bernd Kuhls [Mon, 12 Oct 2020 16:19:58 +0000 (18:19 +0200)]
package/daq: fix parallel build

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/website: update for 2020.02.7
Peter Korsgaard [Mon, 12 Oct 2020 22:00:26 +0000 (00:00 +0200)]
docs/website: update for 2020.02.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.02.7
Peter Korsgaard [Mon, 12 Oct 2020 21:33:22 +0000 (23:33 +0200)]
Update for 2020.02.7

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit d8082db677046e004a6537828b3e4f4b9a818a4f)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agodocs/website: update for 2020.05.3
Peter Korsgaard [Mon, 12 Oct 2020 21:09:40 +0000 (23:09 +0200)]
docs/website: update for 2020.05.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.05.3
Peter Korsgaard [Mon, 12 Oct 2020 17:56:39 +0000 (19:56 +0200)]
Update for 2020.05.3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 0269b2e6e224bd0ca04e4f25ccef86809108df0c)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/kontron_smarc_sal28: remove kernel config fragment
Michael Walle [Mon, 12 Oct 2020 08:33:17 +0000 (10:33 +0200)]
configs/kontron_smarc_sal28: remove kernel config fragment

Starting with linux kernel v5.9 all required configuration options are
available in the default config.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years ago{linux, linux-headers}: add version 5.9
Michael Walle [Mon, 12 Oct 2020 08:33:16 +0000 (10:33 +0200)]
{linux, linux-headers}: add version 5.9

Signed-off-by: Michael Walle <michael@walle.cc>
Tested-by: Bilal Wasim <bilal.wasim@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6cubox: bump U-Boot version
Francois Perrad [Sun, 11 Oct 2020 15:32:51 +0000 (17:32 +0200)]
configs/mx6cubox: bump U-Boot version

Since 2020.04 version, the enumeration of MMC has changed, so the boot
script must be updated

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/chromebook_elm: bump to Linux v5.9
Bilal Wasim [Mon, 12 Oct 2020 14:33:14 +0000 (19:33 +0500)]
configs/chromebook_elm: bump to Linux v5.9

Update the chromebook elm configuration to use v5.9 instead of an
intermediate release candidate.

At the latter stages of the v5.9 release, a patch was added which
broke the Chromebook Elm HDMI. Therefore add a revert patch to get rid
of this problem. The fix (and the revert) are already on the mailing
list (https://lkml.org/lkml/2020/10/10/32) and should become available
with v5.10

Signed-off-by: Bilal Wasim <bilal.wasim@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ruby: bump to 2.7.2
Waldemar Brodkorb [Mon, 12 Oct 2020 13:48:44 +0000 (15:48 +0200)]
package/ruby: bump to 2.7.2

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zlib-ng: bump to version 1.9.9-b1
Fabrice Fontaine [Mon, 12 Oct 2020 06:55:43 +0000 (08:55 +0200)]
package/zlib-ng: bump to version 1.9.9-b1

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/zlib: update architectures for zlib-ng
Fabrice Fontaine [Mon, 12 Oct 2020 06:54:56 +0000 (08:54 +0200)]
package/zlib: update architectures for zlib-ng

- powerpc is supported since
  https://github.com/zlib-ng/zlib-ng/commit/b81f4ee96dcbdf1db34b00727b6f1829a2ba1edb
- s390x is supported since
  https://github.com/zlib-ng/zlib-ng/commit/8e30d1173699412c11880db10de2bc10893a2448

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/unixodbc: bump to version 2.3.9
Fabrice Fontaine [Mon, 12 Oct 2020 19:41:44 +0000 (21:41 +0200)]
package/unixodbc: bump to version 2.3.9

- libedit is an optional dependency since version 2.3.9 and
  https://github.com/lurcher/unixODBC/commit/6ebf06767e398dc0b7d4aa090e20f7814c2ae383
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/unixodbc: drop non upstreamable patch
Fabrice Fontaine [Mon, 12 Oct 2020 19:41:43 +0000 (21:41 +0200)]
package/unixodbc: drop non upstreamable patch

Drop patch that is not upstreamable and replace it by using
--{dis,en}able-threads option

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/apparmor: bump to version 3.0.0
Angelo Compagnucci [Sun, 11 Oct 2020 16:11:53 +0000 (18:11 +0200)]
package/apparmor: bump to version 3.0.0

This patch bumps apparmor and libapparmor to version 3.0.0

Of all our patches, one was already a backport, one is no longer
applicable (file largely rewritten), and the four others have been
applied upstream now.

The hash for the tarball is available on the homepage, so use that
as a reference.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - expand commit log to explain why we drop all the patches
  - add a reference for the hash for the source tarball
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agodocs/website: update for 2020.08.1
Peter Korsgaard [Mon, 12 Oct 2020 14:04:37 +0000 (16:04 +0200)]
docs/website: update for 2020.08.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoUpdate for 2020.08.1
Peter Korsgaard [Mon, 12 Oct 2020 12:54:23 +0000 (14:54 +0200)]
Update for 2020.08.1

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 91107e16a7c2fcbd0b1b73e5a46d295fd9190d17)
[Peter: drop Makefile changes]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/easy-rsa: bump to version 3.0.8
Julien Viard de Galbert [Wed, 7 Oct 2020 10:49:02 +0000 (12:49 +0200)]
package/easy-rsa: bump to version 3.0.8

https://github.com/OpenVPN/easy-rsa/releases/tag/v3.0.8

Signed-off-by: Julien Viard de Galbert <julien@vdg.name>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoRevert "package/cups-filters: bump to version 1.28.4"
Peter Korsgaard [Mon, 12 Oct 2020 08:23:14 +0000 (10:23 +0200)]
Revert "package/cups-filters: bump to version 1.28.4"

This reverts commit 6afc5eb69649f1629111b47f76bc15bff48a552b.  This should
not have been applied yet, but got pushed by accident.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-sentry-sdk: drop asyncio files for python 2.x to fix pycompile issue
Peter Korsgaard [Sun, 11 Oct 2020 13:02:03 +0000 (15:02 +0200)]
package/python-sentry-sdk: drop asyncio files for python 2.x to fix pycompile issue

sentry-sdk has a set of optional "integrations", some of which use asyncio.

pycompile unfortunately errors out on these files when running under Python
2.x:

../scripts/pycompile.py ..
error:   File "/usr/lib/python2.7/site-packages/sentry_sdk/integrations/sanic.py", line 64
    async def sentry_handle_request(self, request, *args, **kwargs):
            ^
SyntaxError: invalid syntax

As a workaround, simply drop the unusable files from TARGET_DIR if building
for python 2.x.

Fixes:
http://autobuild.buildroot.net/results/9e4/9e47ee2a56153379e4e7bc839be5972a2302ba9f/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/bash: update to patch level 18
Peter Korsgaard [Sun, 11 Oct 2020 12:37:58 +0000 (14:37 +0200)]
package/bash: update to patch level 18

Fixes a regression introduced in patch level 16.

Rename the 2 uClibc patches so the upstream patch numbering matches ours.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-pymodbus: drop asyncio files for python 2.x to fix pycompile issue
Peter Korsgaard [Sun, 11 Oct 2020 09:09:30 +0000 (11:09 +0200)]
package/python-pymodbus: drop asyncio files for python 2.x to fix pycompile issue

Pymodbus has optional support for asyncio.  Pycompile unfortunately errors
out on these files when running under Python 2.x:

../scripts/pycompile.py ..
error:   File "/usr/lib/python2.7/site-packages/pymodbus/client/asynchronous/asyncio/__init__.py", line 257
    yield from self._connect()
             ^
SyntaxError: invalid syntax

As a workaround, simply drop the unusable files from TARGET_DIR if building
for python 2.x.

Fixes:
http://autobuild.buildroot.net/results/cc4/cc48927cbe9ae6c2d8b12d65467ec40df82febf6/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/htpdate: bump to version 1.2.5
Angelo Compagnucci [Sun, 11 Oct 2020 22:21:57 +0000 (00:21 +0200)]
package/htpdate: bump to version 1.2.5

Drop now upstreamed patch.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/grep: bump to version 3.5
Angelo Compagnucci [Sun, 11 Oct 2020 21:34:39 +0000 (23:34 +0200)]
package/grep: bump to version 3.5

This patch bumps grep to version 3.5

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/cups-filters: bump to version 1.28.4
Angelo Compagnucci [Sun, 11 Oct 2020 21:28:44 +0000 (23:28 +0200)]
package/cups-filters: bump to version 1.28.4

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years ago{linux, linux-headers}: bump 4.19.x / 5.{4, 8}.x series
Peter Korsgaard [Sun, 11 Oct 2020 17:13:51 +0000 (19:13 +0200)]
{linux, linux-headers}: bump 4.19.x / 5.{4, 8}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/quazip: bump to 1.1
Zoltan Gyarmati [Sun, 11 Oct 2020 17:12:59 +0000 (19:12 +0200)]
package/quazip: bump to 1.1

Also dropping upstream patch.
With this release quazip drops the qmake build in favour of cmake.
It still ships the pkgconfig .pc file, so it's possible to link to
it by using CMake's find_package() or with pkgconfig.

Signed-off-by: Zoltan Gyarmati <zgyarmati@zgyarmati.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mongodb: security bump to version 4.2.10
Fabrice Fontaine [Sun, 11 Oct 2020 19:35:51 +0000 (21:35 +0200)]
package/mongodb: security bump to version 4.2.10

SERVER-50463 Make PooledLDAPConnection::refresh take self-ownership

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zlib-ng: disable tests
Fabrice Fontaine [Sun, 11 Oct 2020 19:43:57 +0000 (21:43 +0200)]
package/zlib-ng: disable tests

Tests are enabled by default and can be disabled since
https://github.com/zlib-ng/zlib-ng/commit/b0730d030a9ce5c53faa88bd8259c9afccce6881

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zlib-ng: drop unrecognized CC variable
Fabrice Fontaine [Sun, 11 Oct 2020 19:43:56 +0000 (21:43 +0200)]
package/zlib-ng: drop unrecognized CC variable

Drop unneeded CC variable which is not recognized by cmake:

CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_DOC
    BUILD_DOCS
    BUILD_EXAMPLE
    BUILD_EXAMPLES
    BUILD_TEST
    BUILD_TESTING
    BUILD_TESTS
    CC

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua: bump to version 5.4.1
Francois Perrad [Fri, 9 Oct 2020 19:08:23 +0000 (21:08 +0200)]
package/lua: bump to version 5.4.1

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/botan: security bump to version 2.16
Fabrice Fontaine [Fri, 9 Oct 2020 16:10:36 +0000 (18:10 +0200)]
package/botan: security bump to version 2.16

Fix a memory leak in GCM where if passed an unsuitable block cipher (eg
not 128 bit) it would throw an exception and leak the cipher object.

https://github.com/randombit/botan/blob/2.16.0/news.rst

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/wireshark: security bump to version 3.2.7
Fabrice Fontaine [Sat, 10 Oct 2020 20:06:46 +0000 (22:06 +0200)]
package/wireshark: security bump to version 3.2.7

- Fix CVE-2020-25862: In Wireshark 3.2.0 to 3.2.6, 3.0.0 to 3.0.13, and
  2.6.0 to 2.6.20, the TCP dissector could crash. This was addressed in
  epan/dissectors/packet-tcp.c by changing the handling of the invalid
  0xFFFF checksum.
- Fix CVE-2020-25863: In Wireshark 3.2.0 to 3.2.6, 3.0.0 to 3.0.13, and
  2.6.0 to 2.6.20, the MIME Multipart dissector could crash. This was
  addressed in epan/dissectors/packet-multipart.c by correcting the
  deallocation of invalid MIME parts.
- Fix CVE-2020-25866: In Wireshark 3.2.0 to 3.2.6 and 3.0.0 to 3.0.13,
  the BLIP protocol dissector has a NULL pointer dereference because a
  buffer was sized for compressed (not uncompressed) messages. This was
  addressed in epan/dissectors/packet-blip.c by allowing reasonable
  compression ratios and rejecting ZIP bombs.

https://www.wireshark.org/docs/relnotes/wireshark-3.2.7.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/jansson: bump to version 2.13.1
Fabrice Fontaine [Sat, 10 Oct 2020 19:46:29 +0000 (21:46 +0200)]
package/jansson: bump to version 2.13.1

- Update hash of LICENSE file (update in year:
  https://github.com/akheron/jansson/commit/2882ead5bb90cf12a01b07b2c2361e24960fae02)
- Update indentation in hash file (two spaces)

https://jansson.readthedocs.io/en/2.13/changes.html#version-2-13-1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoDEVELOPERS: add c-periphery to my package watch list
Ryan Barnett [Tue, 6 Oct 2020 23:03:53 +0000 (18:03 -0500)]
DEVELOPERS: add c-periphery to my package watch list

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/c-periphery: bump to v2.2.4
Ryan Barnett [Tue, 6 Oct 2020 23:03:52 +0000 (18:03 -0500)]
package/c-periphery: bump to v2.2.4

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/suricata: security bump to version 4.1.9
Fabrice Fontaine [Thu, 8 Oct 2020 20:00:16 +0000 (22:00 +0200)]
package/suricata: security bump to version 4.1.9

These are the second releases after Suricata joined the Oss-Fuzz
program, leading to discovery of a number of (potential) security
issues. We recommend upgrading as soon as possible.

https://suricata-ids.org/2020/10/08/suricata-4-1-9-and-5-0-4-released

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libhtp: bump to version 0.5.35
Fabrice Fontaine [Thu, 8 Oct 2020 20:00:15 +0000 (22:00 +0200)]
package/libhtp: bump to version 0.5.35

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 agoconfigs/warp7: bump Kernel and U-Boot version
Pierre-Jean Texier [Wed, 7 Oct 2020 20:03:28 +0000 (22:03 +0200)]
configs/warp7: bump Kernel and U-Boot version

Bump U-Boot to 2020.10 and kernel to version 5.8.13

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.10
Pierre-Jean Texier [Wed, 7 Oct 2020 20:03:27 +0000 (22:03 +0200)]
boot/uboot: bump to version 2020.10

See: https://lists.denx.de/pipermail/u-boot/2020-October/428516.html

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libinput: bump version to 1.16.2
Peter Seiderer [Thu, 8 Oct 2020 21:24:25 +0000 (23:24 +0200)]
package/libinput: bump version to 1.16.2

For details see [1].

[1] https://lists.freedesktop.org/archives/wayland-devel/2020-October/041640.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/botan: update supported architectures
Fabrice Fontaine [Thu, 8 Oct 2020 20:06:11 +0000 (22:06 +0200)]
package/botan: update supported architectures

- aarch64, powerpc64le and s390x are supported since version 2.5.0 and
  https://github.com/randombit/botan/commit/5f55f0eac95cd6f1c2962aef261af285bf37bfb6
- sparc64 is supported since version 2.5.0 and
  https://github.com/randombit/botan/commit/7e6aea7a9bff0714756aff5c7470c5c55cb31e0c
- riscv is supported since version 2.8.0 and
  https://github.com/randombit/botan/commit/b9aafd67002be96bf00eea4e7791804693ba4b1f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5/qt5remoteobjects: fix license files
Fabrice Fontaine [Thu, 8 Oct 2020 20:05:36 +0000 (22:05 +0200)]
package/qt5/qt5remoteobjects: fix license files

There is no LICENSE.FDL

Fixes:
 - http://autobuild.buildroot.org/results/486563913e0fd4add2350f3c352db94ed86bce55

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6cubox: bump Linux and U-Boot versions
Francois Perrad [Tue, 6 Oct 2020 10:39:55 +0000 (12:39 +0200)]
configs/mx6cubox: 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 agoconfigs/mx6cubox: install all variants of dt included in kernel 5.4
Francois Perrad [Tue, 6 Oct 2020 10:39:54 +0000 (12:39 +0200)]
configs/mx6cubox: install all variants of dt included in kernel 5.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6cubox: switch uboot to Kconfig build system
Francois Perrad [Tue, 6 Oct 2020 10:39:53 +0000 (12:39 +0200)]
configs/mx6cubox: switch uboot to Kconfig build system

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/mx6cubox: use recommended layout
Francois Perrad [Tue, 6 Oct 2020 10:39:52 +0000 (12:39 +0200)]
configs/mx6cubox: use recommended layout

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openvpn: use start-stop-daemon to perform start/stop actions
Maxim Kochetkov [Fri, 2 Oct 2020 06:47:21 +0000 (09:47 +0300)]
package/openvpn: use start-stop-daemon to perform start/stop actions

Using 'start-stop-daemon' prevents multiple instances creation by
'/etc/init.d/S60openvpn start'.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/timescaledb: new package
Maxim Kochetkov [Mon, 5 Oct 2020 10:19:51 +0000 (13:19 +0300)]
package/timescaledb: new package

TimescaleDB is an open-source database designed to make SQL scalable
for time-series data.  It is engineered up from PostgreSQL and
packaged as a PostgreSQL extension, providing automatic partitioning
across time and space (partitioning key), as well as full SQL support.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/postgresql: add configure and includedir-server output to pg_config
Maxim Kochetkov [Mon, 5 Oct 2020 10:19:50 +0000 (13:19 +0300)]
package/postgresql: add configure and includedir-server output to pg_config

Some external packages call pg_config to determine the installed
PostgreSQL server includedir and configure options. Add this output to
Buildroots own pg_config, so these packages correctly compile.

Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/18xx-ti-utils: bump to version R8.8
Baruch Siach [Mon, 5 Oct 2020 07:45:45 +0000 (10:45 +0300)]
package/18xx-ti-utils: bump to version R8.8

Format hashes with two spaces delimiter.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/fail2ban: fix fail2ban-python symlink
Peter Korsgaard [Mon, 5 Oct 2020 05:58:08 +0000 (07:58 +0200)]
package/fail2ban: fix fail2ban-python symlink

Fixes (reproducible):
http://autobuild.buildroot.net/results/50f/50f199bfe06d054cc6770760e73ac0de594a0670/diffoscope-results.txt

Fail2ban installs the fail2ban-python symlink pointing to the host python
intepreter used to run setup.py, which is naturally not valid at runtime and
breaks the reproducible tests as shown in the diffoscope results:

│ -lrwxrwxrwx   0        0        0        0 2020-10-04 10:50:38.000000 ./usr/bin/fail2ban-python -> /home/naourr/work/instance-0/output-1/host/bin/python
│ +lrwxrwxrwx   0        0        0        0 2020-10-04 10:50:38.000000 ./usr/bin/fail2ban-python -> /home/naourr/work/instance-0/output-2/host/bin/python

As a workaround, update the symlink after installation to point to the
correct target python.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-engineio: drop asyncio files for python 2.x to fix pycompile issue
Peter Korsgaard [Sun, 4 Oct 2020 21:49:02 +0000 (23:49 +0200)]
package/python-engineio: drop asyncio files for python 2.x to fix pycompile issue

engineio has conditional logic to load asyncio files when running under
Python 3.x:

if sys.version_info >= (3, 5):  # pragma: no cover
    from .asyncio_server import AsyncServer
    from .asyncio_client import AsyncClient
    from .async_drivers.asgi import ASGIApp
    try:
        from .async_drivers.tornado import get_tornado_handler
    except ImportError:
        get_tornado_handler = None
else:  # pragma: no cover
    AsyncServer = None
    AsyncClient = None
    get_tornado_handler = None
    ASGIApp = None

pycompile unfortunately errors out on these files when running under Python
2.x:

../scripts/pycompile.py ..
error:   File "/usr/lib/python2.7/site-packages/engineio/asyncio_socket.py", line 13
    async def poll(self):
            ^
SyntaxError: invalid syntax

As a workaround, simply drop the unusable file from TARGET_DIR if building
for python 2.x.

Fixes:
http://autobuild.buildroot.net/results/72c/72cfdffeb4d0fb7c3032b52f0a26a4758eea6762/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-socketio: drop asgi/asyncio files for python 2.x to fix pycompile...
Peter Korsgaard [Sun, 4 Oct 2020 21:49:01 +0000 (23:49 +0200)]
package/python-socketio: drop asgi/asyncio files for python 2.x to fix pycompile issue

socketio has conditional logic to load asgi/asyncio files when running under
Python 3.x:

if sys.version_info >= (3, 5):  # pragma: no cover
    from .asyncio_client import AsyncClient
    from .asyncio_server import AsyncServer
    from .asyncio_manager import AsyncManager
    from .asyncio_namespace import AsyncNamespace, AsyncClientNamespace
    from .asyncio_redis_manager import AsyncRedisManager
    from .asyncio_aiopika_manager import AsyncAioPikaManager
    from .asgi import ASGIApp
else:  # pragma: no cover
    AsyncClient = None
    AsyncServer = None
    AsyncManager = None
    AsyncNamespace = None
    AsyncRedisManager = None
    AsyncAioPikaManager = None

pycompile unfortunately errors out on these files when running under Python
2.x:

../scripts/pycompile.py ..
error:   File "/usr/lib/python2.7/site-packages/socketio/asyncio_server.py", line 84
    async def emit(self, event, data=None, to=None, room=None, skip_sid=None,
            ^
SyntaxError: invalid syntax

As a workaround, simply drop the unusable file from TARGET_DIR if building
for python 2.x.

Fixes:
http://autobuild.buildroot.net/results/455f3e09a590f7a6724ab8cd1b86bdf2bba8071a/

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/strongswan: bump to version 5.9.0
Fabrice Fontaine [Sun, 4 Oct 2020 21:27:37 +0000 (23:27 +0200)]
package/strongswan: bump to version 5.9.0

- Drop patches (already in version)
- wolfssl is an optional dependency since version 5.8.0 and
  https://github.com/strongswan/strongswan/commit/c92eade82c814e9f6b55f80d715bb51d28d5e1fb
- Update indentation of hash file (two spaces)

https://wiki.strongswan.org/versions/78

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/motion: bump to version 4.3.1
Fabrice Fontaine [Sun, 4 Oct 2020 21:08:07 +0000 (23:08 +0200)]
package/motion: bump to version 4.3.1

- Drop patch (already in version)
- Call gettextsize and add a non upstreamable patch to remove
  po/Makefile.in: https://github.com/Motion-Project/motion/issues/1028
- --with-mysql-{include,lib} and --with-pgsql-{include,lib} have been
  dropped since version 4.3.0 and
  https://github.com/Motion-Project/motion/commit/0dc2ae9372cfd2705110ef25c8c85b246adb2dc6
- 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/haproxy: bump to version 2.2.4
Fabrice Fontaine [Sun, 4 Oct 2020 19:40:30 +0000 (21:40 +0200)]
package/haproxy: bump to version 2.2.4

https://www.mail-archive.com/haproxy@formilux.org/msg38543.html
http://www.haproxy.org/download/2.2/src/CHANGELOG

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ltp-testsuite: bump to version 20200930
Petr Vorel [Fri, 2 Oct 2020 22:10:32 +0000 (00:10 +0200)]
package/ltp-testsuite: bump to version 20200930

Drop patch form this version add 2 new patches for fixing build.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ltp-testsuite: Fix m68k build
Petr Vorel [Fri, 2 Oct 2020 22:10:31 +0000 (00:10 +0200)]
package/ltp-testsuite: Fix m68k build

Backport upstream proposal for fix.

Fixes: br-m68k-68040-full failure.
Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: switch to use 2.34 as the default version
Romain Naour [Fri, 2 Oct 2020 15:57:51 +0000 (17:57 +0200)]
package/binutils: switch to use 2.34 as the default version

Now that binutils 2.35.1 has been released, it is time to move to
binutils 2.34 as the default binutils version, instead of 2.33.1.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/binutils: add version 2.35.1
Romain Naour [Fri, 2 Oct 2020 15:57:50 +0000 (17:57 +0200)]
package/binutils: add version 2.35.1

See:
https://sourceware.org/pipermail/binutils/2020-July/112530.html (2.35)
https://sourceware.org/pipermail/binutils/2020-September/113375.html (2.35.1)

Tested by https://gitlab.com/kubu93/buildroot/-/pipelines/197379288

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agofs/jffs2: copy xattrs
Antoine Tenart [Thu, 8 Oct 2020 09:08:36 +0000 (11:08 +0200)]
fs/jffs2: copy xattrs

This patch sets the --with-xattr option when generating an image with
mkfs.jffs2, so that SELinux security contexts and other extended
attributes will be kept and available in jffs2 images.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mtd: add host-acl dependency for host
Antoine Tenart [Thu, 8 Oct 2020 09:08:35 +0000 (11:08 +0200)]
package/mtd: add host-acl dependency for host

When compiling the host version of mtd, --with-jffs and --with-ubifs are
always set, meaning --with-xattr is set by default. The xattr support
only work if 'sys/acl.h' is available, otherwise the feature is silently
dropped (a warning is shown during the configuration step).

This patch adds a dependency on host-acl for host-mtd, so that the xattr
feature is correctly supported. Logic to have xattr support is already
there and working for the non-host flavour.

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/nut: use pkg-config to find gd
Fabrice Fontaine [Wed, 7 Oct 2020 20:24:43 +0000 (22:24 +0200)]
package/nut: use pkg-config to find gd

Drop gdlib-config and use pkg-config to find gd because gdlib-config
has been dropped from version 2.3.0

gdlib.pc is available since version 2.1.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/cukinia: fix dependency on gawk
Fabrice Fontaine [Thu, 8 Oct 2020 17:13:09 +0000 (19:13 +0200)]
package/cukinia: fix dependency on gawk

gawk can't be selected when busybox is not available as gawk needs
wchar:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_GAWK
  Depends on [n]: BR2_USE_WCHAR [=n] && BR2_USE_MMU [=y] && BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=y]
  Selected by [y]:
  - BR2_PACKAGE_CUKINIA [=y] && !BR2_PACKAGE_BUSYBOX [=n]

So replace this "select" by a "depends on", as already done by
BR2_PACKAGE_APPARMOR_UTILS_EXTRA

Fixes:
 - http://autobuild.buildroot.org/results/66dacfe7b0783c7df29052fff20f3e79ecbcf054

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoDEVELOPERS: Fix warning with get-developers
Pierre-Jean Texier [Wed, 7 Oct 2020 20:10:19 +0000 (22:10 +0200)]
DEVELOPERS: Fix warning with get-developers

There is a typo between 'N' (for Firstname Lastname <email>) & 'F'
(for file pattern or directory)

$: ./utils/get-developers outgoing/*
WARNING: 'Sven Fischer <sven@leiderfischer.de>' doesn't match any file

Fixes: e7ebc7cd0905d7 ("package/qt5/qt5remoteobjects: new package")
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodefconfigs: use BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_
Matt Weber [Wed, 7 Oct 2020 13:20:52 +0000 (08:20 -0500)]
defconfigs: use BR2_PACKAGE_HOST_UBOOT_TOOLS_ENVIMAGE_

For defconfigs that create a boot envimage, add the host package
uboot-tools and update the script variable names.

Add BR2_PACKAGE_HOST_UBOOT_TOOLS=y just before the existing
BR2_TARGET_UBOOT_ENVIMAGE option. Note that for the defconfigs that are
not manually formatted (i.e. just the result of 'make savedefconfig'),
this puts them in the wrong place. However, it's easier this way, and
it's more consistent in general to have the definition of the envimage
close to BR2_TARGET_UBOOT itself.

Related to 78559d699ae4b5c22ae77cfb7994560e0267be96

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agodefconfigs: use BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_
Matt Weber [Wed, 7 Oct 2020 13:20:51 +0000 (08:20 -0500)]
defconfigs: use BR2_PACKAGE_HOST_UBOOT_TOOLS_BOOT_SCRIPT_

For defconfigs that create a boot script, add the host package
uboot-tools and update the script variable names.

Add BR2_PACKAGE_HOST_UBOOT_TOOLS=y just before the existing
BR2_TARGET_UBOOT_BOOT_SCRIPT option. Note that for the defconfigs that
are not manually formatted (i.e. just the result of 'make
savedefconfig'), this puts them in the wrong place. However, it's easier
this way, and it's more consistent in general to have the definition of
the script close to BR2_TARGET_UBOOT itself.

Special cases:
- nanopi_* had the definition of the _SCRIPT variable in a weird place.
  These are moved to close to BR2_TARGET_UBOOT.
- Same for orangepi_plus.
- orangpi_pc_* already had BR2_PACKAGE_HOST_UBOOT_TOOLS=y so it's not
  added there.

Related to db2b6841263c3062fa1661dcfda3110415779fa2

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
4 years agopackage/uclibc: use simpler BR2_RISCV_{32,64} variables
Thomas Petazzoni [Tue, 6 Oct 2020 21:37:42 +0000 (23:37 +0200)]
package/uclibc: use simpler BR2_RISCV_{32,64} variables

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/scripts/apply-patches.sh: do not blindly remove *.orig files
Peter Korsgaard [Tue, 6 Oct 2020 20:46:20 +0000 (22:46 +0200)]
support/scripts/apply-patches.sh: do not blindly remove *.orig files

apply-patches currently blindly removes *.orig / .*.orig files as GNU patch
by default writes these as backup files when patches only apply with fuzz.

This is unfortunate as package sources may contain files ending in .orig as
well, breaking the build.  Luckily GNU patch can be told to not write these
backup files using the --no-backup-if-mismatch option, so used that instead
of the .orig removal step.

--no-backup-if-mismatch is supported since GNU patch 2.3.8 (1997-06-17) and
busybox patch if built with CONFIG_DESKTOP, but E.G.  isn't supported by the
BSD patch, so add logic to dependencies.sh to error out if patch doesn't
support the flag.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogenrandconfig: uboot-tools env/scr creation test files
Matt Weber [Thu, 24 Sep 2020 19:29:12 +0000 (14:29 -0500)]
genrandconfig: uboot-tools env/scr creation test files

Normally the kconfig stings would end up empty and cause a build
error.  This patch provides test files to allow testing the creation
of uboot environment and script bin files from user provided txt files.

Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>