buildroot.git
4 years agopackage/python-markdown2: fix CVE-2020-11888
Fabrice Fontaine [Mon, 11 May 2020 19:22:37 +0000 (21:22 +0200)]
package/python-markdown2: fix CVE-2020-11888

python-markdown2 through 2.3.8 allows XSS because element names are
mishandled unless a \w+ match succeeds. For example, an attack might use
elementname@ or elementname- with an onclick attribute.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/sysrepo: bump version to 1.4.58
Heiko Thiery [Mon, 11 May 2020 19:56:52 +0000 (21:56 +0200)]
package/sysrepo: bump version to 1.4.58

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: bump to version 1.1.24
Heiko Thiery [Mon, 11 May 2020 19:56:50 +0000 (21:56 +0200)]
package/libnetconf2: bump to version 1.1.24

The LICENSE file hash changed due to Copyright year updating to include 2020.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libyang: bump to version 1.0.167
Heiko Thiery [Mon, 11 May 2020 19:56:48 +0000 (21:56 +0200)]
package/libyang: bump to version 1.0.167

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sdl2: enable 3DNOW only if it's supported by the target
Nicolas Robin [Fri, 15 May 2020 17:53:57 +0000 (19:53 +0200)]
package/sdl2: enable 3DNOW only if it's supported by the target

Signed-off-by: Nicolas Robin <nrosfs@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoarch/x86: adds BR2_X86_CPU_HAS_3DNOW flag
Nicolas Robin [Fri, 15 May 2020 17:53:56 +0000 (19:53 +0200)]
arch/x86: adds BR2_X86_CPU_HAS_3DNOW flag

Signed-off-by: Nicolas Robin <nrosfs@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sdl2: enable SSE only if it's supported by the target
Nicolas Robin [Fri, 15 May 2020 17:53:55 +0000 (19:53 +0200)]
package/sdl2: enable SSE only if it's supported by the target

Signed-off-by: Nicolas Robin <nrosfs@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ltp-testsuite: bump to version 20200515
Petr Vorel [Fri, 15 May 2020 14:53:44 +0000 (16:53 +0200)]
package/ltp-testsuite: bump to version 20200515

Also update list of tests incompatible with musl.
Removed patch backported from this release.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/luv: bump to version 1.36.0-0
Jörg Krause [Fri, 15 May 2020 05:53:35 +0000 (07:53 +0200)]
package/luv: bump to version 1.36.0-0

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-multidict: bump to version 4.7.6
James Hilliard [Fri, 15 May 2020 05:37:00 +0000 (23:37 -0600)]
package/python-multidict: bump to version 4.7.6

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/upmpdcli: bump to version 1.4.9
Jörg Krause [Fri, 15 May 2020 05:32:58 +0000 (07:32 +0200)]
package/upmpdcli: bump to version 1.4.9

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mpd: bump to version 0.21.23
Jörg Krause [Fri, 15 May 2020 05:28:13 +0000 (07:28 +0200)]
package/mpd: bump to version 0.21.23

Changelog:
https://raw.githubusercontent.com/MusicPlayerDaemon/MPD/v0.21.23/NEWS

Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/barebox: bump version to 2020.05.0
Bartosz Bilas [Thu, 14 May 2020 17:56:44 +0000 (19:56 +0200)]
boot/barebox: bump version to 2020.05.0

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/postgresql: bump version to 12.3
Bernd Kuhls [Thu, 14 May 2020 16:14:36 +0000 (18:14 +0200)]
package/postgresql: bump version to 12.3

Changelog: https://www.postgresql.org/about/news/2038/

Fixes CVE-2020-10733 which is only relevant for Windows.

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireguard-linux-compat: bump version to 1.0.20200506
Peter Korsgaard [Sun, 10 May 2020 21:37:46 +0000 (23:37 +0200)]
package/wireguard-linux-compat: bump version to 1.0.20200506

Synchronizes with upstream 5.7-rc5.  For details, see the announcement:
https://lists.zx2c4.com/pipermail/wireguard/2020-May/005408.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/at-spi2-atk: bump to version 2.34.2
Fabrice Fontaine [Sun, 3 May 2020 09:01:11 +0000 (11:01 +0200)]
package/at-spi2-atk: bump to version 2.34.2

- Remove double space in AT_SPI2_ATK_SITE
- Add link to upstream sha256 file
- License is LPGL-2.1+ since
  https://gitlab.gnome.org/GNOME/at-spi2-atk/-/commit/468b527d8ad73e934dd03a2de6745995d8304435
- Switch to meson-package
- Add a patch to disable tests to avoid adding libxml2 dependency
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/atk: bump to version 2.36.0
Fabrice Fontaine [Sun, 3 May 2020 09:01:10 +0000 (11:01 +0200)]
package/atk: bump to version 2.36.0

Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/at-spi2-core: bump to version 2.36.0
Fabrice Fontaine [Sun, 3 May 2020 09:01:09 +0000 (11:01 +0200)]
package/at-spi2-core: bump to version 2.36.0

- Drop patch (already in version)
- Add upstream link on sha256
- License is LGPL-2.1+ since
  https://gitlab.gnome.org/GNOME/at-spi2-core/-/commit/1256988c433cf8b9e0780c13d66374cb057f7329
- Update indentation of hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/umtprd: bump to version 1.3.6
Paul Cercueil [Mon, 4 May 2020 10:20:46 +0000 (12:20 +0200)]
package/umtprd: bump to version 1.3.6

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wayland: bump to version 1.18.0
James Hilliard [Mon, 4 May 2020 08:13:41 +0000 (02:13 -0600)]
package/wayland: bump to version 1.18.0

Rebase/update disable tests patch.

Replace autotools build system with meson as autotools is deprecated
and will be removed.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libpng: enable neon support for aarch64
Romain Naour [Sun, 3 May 2020 23:07:53 +0000 (01:07 +0200)]
package/libpng: enable neon support for aarch64

NEON support is enabled by default on aarch64, so we
can enable it unconditionaly.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/minetest_game: bump to version 5.2.0
Romain Naour [Sun, 3 May 2020 23:07:52 +0000 (01:07 +0200)]
package/minetest_game: bump to version 5.2.0

Update mods/player_api/license.txt hash due to [1][2].

Update indentation of hash file (two spaces)

[1] https://github.com/minetest/minetest_game/commit/7caa5d36f26de6ac84592216899ab10152b5aa99
[2] https://github.com/minetest/minetest_game/commit/258332578a2b8d117f83c0a87f0c658f2e51c227

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/minetest: bump to version 5.2.0
Romain Naour [Sun, 3 May 2020 23:07:51 +0000 (01:07 +0200)]
package/minetest: bump to version 5.2.0

Update indentation of hash file (two spaces)

See:
https://dev.minetest.net/Changelog#5.1.0_.E2.86.92_5.2.0

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openssh: allow separate selection of client, server, keyutils
Thomas De Schampheleire [Mon, 4 May 2020 10:55:52 +0000 (12:55 +0200)]
package/openssh: allow separate selection of client, server, keyutils

The openssh package comprises three separate entities: the SSH client, SSH
server, and some SSH key utilities. One may want the client but not the
server, the server but not the client, or maybe only the key utilities.

Add separate options for each entity and update the files installed on
target accordingly.

On an ARM Cortex-A53 configuration, size of stripped binaries are:

Client programs: 2213118 bytes (2161 KB)
usr/bin/ssh,657180
usr/bin/scp,99836
usr/bin/ssh-add,312800
usr/bin/ssh-agent,296428
usr/libexec/ssh-keysign,398908
usr/libexec/ssh-pkcs11-helper,292316
usr/bin/sftp,144992
usr/bin/ssh-copy-id,10658

Server programs: 806840 bytes (787 KB)
usr/libexec/sftp-server,112140
usr/sbin/sshd,694168
etc/init.d/S50sshd,532

Key utilities: 789648 bytes (771 KB)
usr/bin/ssh-keygen,398924
usr/bin/ssh-keyscan,390724

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-gobject: bump version to 3.36.1
Adam Duskett [Thu, 7 May 2020 23:41:51 +0000 (16:41 -0700)]
package/python-gobject: bump version to 3.36.1

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rsyslog: bump to 8.2004.0
Matt Weber [Mon, 4 May 2020 12:36:24 +0000 (07:36 -0500)]
package/rsyslog: bump to 8.2004.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libcurl: bump to 7.70.0
Matt Weber [Mon, 4 May 2020 12:30:03 +0000 (07:30 -0500)]
package/libcurl: bump to 7.70.0

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/network-manager: don't explicitly select QMI/MBIM support
Aleksander Morgado [Tue, 5 May 2020 12:06:06 +0000 (14:06 +0200)]
package/network-manager: don't explicitly select QMI/MBIM support

When NetworkManager is built with ModemManager support, it should only
require the generic ModemManager dependency; it shouldn't configure
which features ModemManager provides.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5quicktimeline: new package
Peter Seiderer [Sat, 9 May 2020 10:57:30 +0000 (12:57 +0200)]
package/qt5quicktimeline: new package

Fixes bug #12871

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/modem-manager: bump version to 1.12.10
Aleksander Morgado [Sat, 9 May 2020 13:36:00 +0000 (15:36 +0200)]
package/modem-manager: bump version to 1.12.10

https://lists.freedesktop.org/archives/modemmanager-devel/2020-May/007828.html

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libqmi: bump to version 1.24.12
Aleksander Morgado [Sat, 9 May 2020 12:33:02 +0000 (14:33 +0200)]
package/libqmi: bump to version 1.24.12

https://lists.freedesktop.org/archives/libqmi-devel/2020-May/003296.html

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nodejs: bump to version 12.16.3
James Hilliard [Thu, 7 May 2020 22:43:21 +0000 (16:43 -0600)]
package/nodejs: bump to version 12.16.3

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: bump version to 0.9.4
Adam Duskett [Thu, 7 May 2020 23:11:50 +0000 (16:11 -0700)]
package/nftables: bump version to 0.9.4

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnftnl: bump version to 1.1.6
Adam Duskett [Thu, 7 May 2020 23:11:49 +0000 (16:11 -0700)]
package/libnftnl: bump version to 1.1.6

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/gnuconfig: update to 2020-04-26
Yann E. MORIN [Sat, 9 May 2020 11:00:39 +0000 (13:00 +0200)]
support/gnuconfig: update to 2020-04-26

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/gnuconfig: add update script
Yann E. MORIN [Sat, 9 May 2020 11:00:38 +0000 (13:00 +0200)]
support/gnuconfig: add update script

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agosupport/gnuconfig: reference the correct sha1 we're using
Yann E. MORIN [Sat, 9 May 2020 11:00:37 +0000 (13:00 +0200)]
support/gnuconfig: reference the correct sha1 we're using

In commit ff9f778c66f4 (support/gnuconfig: update to 2019-05-28), we
forgot to update the README to reference the sha1 we're using, keeping
the old one from 2016...

Update it now.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/genimage: bump to version 13
Pierre-Jean Texier [Fri, 8 May 2020 21:27:34 +0000 (23:27 +0200)]
package/genimage: bump to version 13

Also update hash file formatting (2 spaces)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: bump version to 1.3
Nicola Di Lieto [Sat, 9 May 2020 09:06:36 +0000 (11:06 +0200)]
package/uacme: bump version to 1.3

Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/modem-manager: bump version to 1.12.8
Aleksander Morgado [Tue, 5 May 2020 12:07:35 +0000 (14:07 +0200)]
package/modem-manager: bump version to 1.12.8

https://lists.freedesktop.org/archives/modemmanager-devel/2020-March/007729.html

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/samba4: bump version to 4.11.9
Bernd Kuhls [Tue, 5 May 2020 20:23:56 +0000 (22:23 +0200)]
package/samba4: bump version to 4.11.9

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: bump to 2.27.1
Chris Packham [Thu, 7 May 2020 03:46:30 +0000 (15:46 +1200)]
package/syslog-ng: bump to 2.27.1

Update to 2.27.1 and drop patch applied upstream.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pigpio: bump to version 76
Grzegorz Blach [Wed, 6 May 2020 15:52:36 +0000 (17:52 +0200)]
package/pigpio: bump to version 76

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoUpdate for 2020.05-rc1
Thomas Petazzoni [Thu, 7 May 2020 20:26:18 +0000 (22:26 +0200)]
Update for 2020.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoCHANGES: update with list of issues fixed in 2020.05-rc1
Thomas Petazzoni [Thu, 7 May 2020 19:56:30 +0000 (21:56 +0200)]
CHANGES: update with list of issues fixed in 2020.05-rc1

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoCHANGES: start updating for 2020.05-rc1 release
Thomas Petazzoni [Tue, 5 May 2020 20:54:40 +0000 (22:54 +0200)]
CHANGES: start updating for 2020.05-rc1 release

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-redis: Bump to version 3.5.0
Grzegorz Blach [Mon, 4 May 2020 18:33:02 +0000 (20:33 +0200)]
package/python-redis: Bump to version 3.5.0

Signed-off-by: Grzegorz Blach <grzegorz@blach.pl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnss: bump version to 3.52
Giulio Benetti [Mon, 4 May 2020 15:10:36 +0000 (17:10 +0200)]
package/libnss: bump version to 3.52

Bump version to 3.52 and drop all patches since they've all been
upstreamed.

Release notes:
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/zziplib: bump to version 0.13.71
Romain Naour [Mon, 4 May 2020 14:52:12 +0000 (16:52 +0200)]
package/zziplib: bump to version 0.13.71

Remove upstream patches and CVE tags.

Switch the dependency to python3 added by [1].

Update indentation of hash file (two spaces).

[1] https://github.com/gdraheim/zziplib/commit/a144bec8d06302e7be11f0f46e02947b0becf574

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/solarus: bump to version 1.6.4
Romain Naour [Mon, 4 May 2020 14:37:42 +0000 (16:37 +0200)]
package/solarus: bump to version 1.6.4

Add glm dependency since the bundled version is gone [1].

Update indentation of hash file (two spaces).

[1] https://gitlab.com/solarus-games/solarus/commit/5285c8e1afa538bbcd4c8654f9bbfb270cc7f52

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libsepol: fix -fno-common build faiures
Matt Weber [Mon, 4 May 2020 15:41:07 +0000 (10:41 -0500)]
package/libsepol: fix -fno-common build faiures

Add upstream patch for
    libsepol: remove leftovers of cil_mem_error_handler
    libsepol: fix CIL_KEY_* build errors with -fno-common

Fixes:
http://autobuild.buildroot.net/results/3d133ce6e83833f0c70a91270d0c49304c3413f6/

Cc: Romain Naour <romain.naour@gmail.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-waf: use host-python3
Titouan Christophe [Tue, 4 Feb 2020 21:59:50 +0000 (22:59 +0100)]
package/pkg-waf: use host-python3

This is the last of an unconsolidated series of patches that
removes the need for host-python(2) for all waf-based packages.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cage: bump to latest upstream version
Gilles Talis [Sun, 3 May 2020 14:43:55 +0000 (16:43 +0200)]
package/cage: bump to latest upstream version

cage v0.1.1 can't build with wlroots 0.10.1, as it uses
a set of wlroots API that are no longer available.

Moving to latest upstream version fixes the issue.

Also:
- added license file information
- updated license file hash

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wlroots: add license file information
Gilles Talis [Sun, 3 May 2020 14:43:56 +0000 (16:43 +0200)]
package/wlroots: add license file information

Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/znc: bump version to 1.8.0
Bernd Kuhls [Sun, 3 May 2020 17:45:03 +0000 (19:45 +0200)]
package/znc: bump version to 1.8.0

Reformatted hashes.

Changelog: https://wiki.znc.in/ChangeLog/1.8.0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/supertuxkart: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:27 +0000 (19:12 +0200)]
package/supertuxkart: remove libglu dependency

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Supertuxkart already uses -DGLEW_NO_GLU:
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L224

This patch only removes the dependency to libglu and depends on the
previous patch of this series which removes glu from glew.pc.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libglew: do not depend on libglu
Bernd Kuhls [Sun, 3 May 2020 17:12:26 +0000 (19:12 +0200)]
package/libglew: do not depend on libglu

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

This patch prevents libglu being added to the "Requires:" section of
glew.pc fixing libglew detection in the supertuxkart package

-- Checking for module 'glew>=2.1'
--   Package 'glu', required by 'glew', not found

after libglu is removed as dependency of supertuxkart.

Supertuxkart already uses -DGLEW_NO_GLU:
https://github.com/supertuxkart/stk-code/blob/master/CMakeLists.txt#L224

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/supertux: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:25 +0000 (19:12 +0200)]
package/supertux: remove libglu dependency

"The inclusion of GLU is historical. [...] It's not needed for GLEW to
 build or run, but it's opt-out that reason. I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Each package using glew.h has to decide whether to use the opt-out for
glu or not. Since supertux does not need libglu we can safely remove
the dependency by adding -DGLEW_NO_GLU to TARGET_CXXFLAGS.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ogre: remove libglu dependency
Bernd Kuhls [Sun, 3 May 2020 17:12:24 +0000 (19:12 +0200)]
package/ogre: remove libglu dependency

"The inclusion of GLU is historical. [...] I'd recommend using
 -DGLEW_NO_GLU since GLU is rarely seen in modern codebases nowadays."
https://github.com/nigels-com/glew/issues/192#issuecomment-411641657

Add -DGLEW_NO_GLU to get rid of the libglu dependency.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr:
  - fix mismatch between OGRE_CXX_FLAGS and OGRE_CXXFLAGS
  - also use OGRE_CFLAGS for symetry with OGRE_CXXFLAGS
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ne10: drop arch-related comment
Baruch Siach [Sat, 2 May 2020 20:53:46 +0000 (23:53 +0300)]
package/ne10: drop arch-related comment

Commit e845f9364c2b8 ("ne10: bump to v1.2.1") removed arm arch
dependency from the comment. This comment is only relevant to arm.

Furthermore, if a target does not have a NEON unit, there is
nothing a user can do about that condition in Buildroot. Showing
a comment would not be useful, and we're not usually showing any
arch-related comment.

Cc: Cody Guldner <cody.guldner@rockwellcollins.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
[yann.morin.1998@free.fr: drop the comment, explain why]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/qemu_riscv64_virt: update defconfigs to Linux 5.4.35
Romain Naour [Sun, 26 Apr 2020 10:04:48 +0000 (12:04 +0200)]
configs/qemu_riscv64_virt: update defconfigs to Linux 5.4.35

Contrary to riscv32, the qemu_riscv64_virt defconfig doesn't needs
any specific change. It could have been updated to Linux 5.4.35 in
the commit 80a044703a40bd7418a2b906ff08362ef5460b87.

So, update the kernel version to 5.4.35.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-jedi: bump to version 0.17.0
Fabrice Fontaine [Sat, 2 May 2020 17:20:30 +0000 (19:20 +0200)]
package/python-jedi: bump to version 0.17.0

Drop flask license as the old flask theme has been replaced with the
sphinx_rtd_theme since version 0.17.0 and
https://github.com/davidhalter/jedi/commit/8f96cbdabff671325a2987eb23ba91de90381c15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/exim: fix parallel build
Luca Ceresoli [Sat, 2 May 2020 18:15:04 +0000 (20:15 +0200)]
package/exim: fix parallel build

exim does build in parallel correctly, but has a concurrency bug in
generating version info files which happens either in the build step or in
the install step.

Add a patch to fix the bug.

Fixes:
  http://autobuild.buildroot.net/results/ebf/ebfccad007e216564889645a07f5487747116331//
  http://autobuild.buildroot.net/results/56a/56a8457efcb32579ad6da99a769b6438dd0db267//
  http://autobuild.buildroot.net/results/6a1/6a1f8a352649baf767b094cb6bbe2a7397fa7fac//
  http://autobuild.buildroot.net/results/5ed/5ed1c42b3d33198f32d1267e5cc2b1fa1211495a//
  http://autobuild.buildroot.net/results/b30/b304569948fd481ce33ecd052a1036153c5d459e//
  http://autobuild.buildroot.net/results/d2c/d2c7abfe08672e53ff890127f787f8d2e84860f4//

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/rtl8723bu: bump version to c9549d172a4f9d6ccf6d528682640246a41c2f0c
Michael Fischer [Thu, 30 Apr 2020 12:58:17 +0000 (14:58 +0200)]
package/rtl8723bu: bump version to c9549d172a4f9d6ccf6d528682640246a41c2f0c

Signed-off-by: Michael Fischer <mf@go-sys.de>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qemu: disable curl for the host variant
Romain Naour [Wed, 29 Apr 2020 22:56:54 +0000 (00:56 +0200)]
package/qemu: disable curl for the host variant

Under certain circumstances (host distribution, openssl version),
the qemu-system binary fail to start:

qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

There is no problem when only host-qemu is built, but it's linked with /lib64/libcurl.so.4
$ make host-qemu
$ ldd output/host/bin/qemu-system-aarch64
        [...]
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007fb21cb57000)
libssh.so.4 => /lib64/libssh.so.4 (0x00007fb21c35d000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007fb21c34a000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007fb21c2b4000)

Note: /lib64/libcurl.so.4 is linked with libssh and libssl:
$ ldd /lib64/libcurl.so.4
[...]
libssh.so.4 => /lib64/libssh.so.4 (0x00007f90d8efd000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f90d8eea000)
libssl.so.1.1 => /lib64/libssl.so.1.1 (0x00007f90d8e54000)

Continue the build.
$ make

We can notice that qemu_aarch64_virt_defconfig set
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y

So host-openssl package is built and this is the problem:

$ ldd output/host/bin/qemu-system-aarch64
[...]
libcurl.so.4 => /lib64/libcurl.so.4 (0x00007f3adb444000)
libssh.so.4 => /lib64/libssh.so.4 (0x00007f3adac4a000)
libpsl.so.5 => /lib64/libpsl.so.5 (0x00007f3adac37000)
libssl.so.1.1 => /home/naourr/buildroot/test/qemu_aarch64_virt_defconfig-master/host/lib/libssl.so.1.1 (0x00007f3adaba8000)

qemu-system-aarch64: symbol lookup error: /lib64/libssh.so.4: undefined symbol: EVP_KDF_ctrl, version OPENSSL_1_1_1b

This is due to the build system trying to find libcurl using
pkg-config or curl-config.

libcurl is used by the QEMU Block driver for CURL images and
elf2dmp tool which is not needed.
Instead of adding host-libcurl dependency, we can disable it
entierely.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vlc: bump version to 3.0.10
Bernd Kuhls [Thu, 30 Apr 2020 17:24:30 +0000 (19:24 +0200)]
package/vlc: bump version to 3.0.10

Release notes: https://www.videolan.org/developers/vlc-branch/NEWS

Added optional dependency to dav1d, reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/python-msgfy: bump to version 0.1.0
Fabrice Fontaine [Fri, 1 May 2020 13:32:50 +0000 (15:32 +0200)]
package/python-msgfy: bump to version 0.1.0

- python 2 support has been dropped since version 0.1.0 and
  https://github.com/thombashi/msgfy/commit/8ddfd20132b8d4825214252189a65570b562619f
- Update indentation of 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/python-parso: bump to version 0.7.0
Fabrice Fontaine [Fri, 1 May 2020 13:19:32 +0000 (15:19 +0200)]
package/python-parso: bump to version 0.7.0

Update indentation of 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/libgeotiff: bump to version 1.6.0
Fabrice Fontaine [Fri, 1 May 2020 13:14:03 +0000 (15:14 +0200)]
package/libgeotiff: bump to version 1.6.0

- Drop patches (already in version) and so AUTORECONF
- 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/proj: bump to version 7.0.1
Fabrice Fontaine [Fri, 1 May 2020 13:14:02 +0000 (15:14 +0200)]
package/proj: bump to version 7.0.1

- curl and tiff are optional dependencies since version 7.0.0 and
  https://github.com/OSGeo/PROJ/commit/db31b6dfa9c8fe37d5706d95ce81012b8db3c3b9
- Update indentation of 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/mesa3d: drop pkgconfig workaround
James Hilliard [Sat, 2 May 2020 00:25:02 +0000 (18:25 -0600)]
package/mesa3d: drop pkgconfig workaround

This workaround is not needed as of commit
5cff3a8bdfba92e9f61d0984df08f1ecd205c072 which properly sets the
PKG_CONFIG_LIBDIR for native: true dependencies.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/wlroots: drop pkgconfig workaround
James Hilliard [Sat, 2 May 2020 00:32:54 +0000 (18:32 -0600)]
package/wlroots: drop pkgconfig workaround

This workaround is not needed as of commit
5cff3a8bdfba92e9f61d0984df08f1ecd205c072 which properly sets the
PKG_CONFIG_LIBDIR for native: true dependencies.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libfm-extra: fix dependency comment
Bernd Kuhls [Sat, 2 May 2020 09:54:07 +0000 (11:54 +0200)]
package/libfm-extra: fix dependency comment

According to the depends used the package does not need C++.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoDEVELOPERS: adjust e-mail address for Davide Viti
Davide Viti [Fri, 1 May 2020 20:54:58 +0000 (22:54 +0200)]
DEVELOPERS: adjust e-mail address for Davide Viti

Previous address is still valid but not used as primary address any
longer

Signed-off-by: Davide Viti <zinosat@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/binutils: fix XTENSA_NDIFF handling for PR ld/25861
Max Filippov [Thu, 30 Apr 2020 05:08:22 +0000 (22:08 -0700)]
package/binutils: fix XTENSA_NDIFF handling for PR ld/25861

Fix for xtensa PR ld/25861 introduced a regression in handling negative
symbol differences resulting in linker performing incorrect relaxation
or failing to link. Fix XTENSA_NDIFF relocation handling.

Backported from:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=d548f47df4d2e3d117d504a4c9977982c78a0556

Fixes: f0291ef4aba0 ("package/binutils: fix xtensa PR ld/25861")
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agone10: bump to v1.2.1
Cody Guldner [Fri, 1 May 2020 15:25:57 +0000 (10:25 -0500)]
ne10: bump to v1.2.1

Signed-off-by: Cody Guldner <cody.guldner@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/ghostscript: add cups support
Alexey Lukyanchuk [Fri, 1 May 2020 15:49:50 +0000 (18:49 +0300)]
package/ghostscript: add cups support

Allow ghostscript to be used by cups for printing.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/cups-filters: add image printing support
Alexey Lukyanchuk [Fri, 1 May 2020 15:55:24 +0000 (18:55 +0300)]
package/cups-filters: add image printing support

Enable image filters, to directly print images from cups.

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
[yann.morin.1998@free.fr:
  - explicitly enable it, don;t rely on defaults
  -  reword commit log
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qpdf: fix 'no such file' exeption
Alexey Lukyanchuk [Fri, 1 May 2020 15:51:39 +0000 (18:51 +0300)]
package/qpdf: fix 'no such file' exeption

Without a source for randomness, qpdf will crash with 'no such file'
error. It's can me tested by command like 'qpd some_pdf.pdf -'.
This problem breaks cups printing.

This patch change configure options to '--with-random=/dev/urandom'

Signed-off-by: Alexey Lukyanchuk <skif@skif-web.ru>
[yann.morin.1998@free.fr: reword commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/vlc: enable gnutls if selected
Michele Comignano [Wed, 8 Apr 2020 19:48:33 +0000 (21:48 +0200)]
package/vlc: enable gnutls if selected

Signed-off-by: Michele Comignano <comick@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/{mesa3d, mesa3d-headers}: bump version to 20.0.6
Bernd Kuhls [Fri, 1 May 2020 18:19:22 +0000 (20:19 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 20.0.6

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/weston: drop pkgconfig workaround
James Hilliard [Tue, 28 Apr 2020 12:22:13 +0000 (06:22 -0600)]
package/weston: drop pkgconfig workaround

We no longer need this package specific pkconfig workaround as it is
now applied to all meson packages automatically.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pkg-meson.mk: set correct pkgconfig for native dependencies
James Hilliard [Tue, 28 Apr 2020 12:22:12 +0000 (06:22 -0600)]
package/pkg-meson.mk: set correct pkgconfig for native dependencies

This sets the correct build.pkg_config_path for all meson packages so
that dependencies with native: true will properly use the the host
pkgconfig instead of the target pkgconfig.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libapparmor: bear the kernel options munging
Thomas Petazzoni [Fri, 1 May 2020 13:46:58 +0000 (15:46 +0200)]
package/libapparmor: bear the kernel options munging

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/kernel-module-imx-gpu-viv: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:34 +0000 (14:10 +0200)]
package/kernel-module-imx-gpu-viv: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Refik Tuzakli <tuzakli.refik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libselinux: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:33 +0000 (14:10 +0200)]
package/libselinux: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Cc: Matt Weber <matthew.weber@rockwellcollins.com>
Cc: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wireguard-linux-compat: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:32 +0000 (14:10 +0200)]
package/wireguard-linux-compat: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xtables-addons: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:31 +0000 (14:10 +0200)]
package/xtables-addons: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/iptables: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:30 +0000 (14:10 +0200)]
package/iptables: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/sunxi-mali-mainline-driver: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:29 +0000 (14:10 +0200)]
package/sunxi-mali-mainline-driver: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/smack: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:28 +0000 (14:10 +0200)]
package/smack: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/systemd: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:27 +0000 (14:10 +0200)]
package/systemd: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pcm-tools: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:25 +0000 (14:10 +0200)]
package/pcm-tools: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/ktap: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:24 +0000 (14:10 +0200)]
package/ktap: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Anders Darander <anders@chargestorm.se>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/intel-micro-code: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:23 +0000 (14:10 +0200)]
package/intel-micro-code: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/audit: bear the kernel options munging
Yann E. MORIN [Sat, 4 Apr 2020 12:10:22 +0000 (14:10 +0200)]
package/audit: bear the kernel options munging

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Adam Duskett <aduskett@gmail.com>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: allow packages to set kernel config options
Yann E. MORIN [Sat, 4 Apr 2020 12:10:21 +0000 (14:10 +0200)]
linux: allow packages to set kernel config options

Currently, the linux kernel will apply some fixups on its .config file,
based on whether some packages are enabled or not. That list of
conditional fixups is getting bigger and bigger with each new package
that needs such fixups, culminating with the pending firewalld one [0].

Furthermore, these fixups are not accessible to packages in br2-external
trees.

Add a new per-package variable, that packages may set to the commands to
run to fixup the kernel .config file, which is added at the end of the
linux' own fixups.

This opens the possibility to write things like;

    define FOO_LINUX_CONFIG_FIXUPS
        $(call KCONFIG_ENABLE_OPT,BLA)
    endef

Of course, it also opens the way to run arbitrary commands in there, but
any alternative that would be declarative only, such as a list of
options to enable or disable (as an example):

    FOO_LINUX_CONFIG_FIXUPS = +BAR -FOO +BUZ="value"

.. is not very nice either, and such lists fall flat when a value would
have a space.

For packages that we have in-tree, we can ensure they won't play foul
with their _LINUX_CONFIG_FIXUPS. For packages in br2-external trees,
there's nothing we can do; users already have the opportunity to hack
into the linux configure process by providing LINUX_PRE_CONFIGURE_HOOKS
or LINUX_POST_CONFIGURE_HOOKS anyway...

.. which brings the question of why we don't use that to implement the
per-package fixups. We don't, because _PRE or _POST_CONFIGURE_HOOKS are
run after we run 'make oldconfig' to sanitise the mangled .config.

[0] http://lists.busybox.net/pipermail/buildroot/2020-March/278683.html

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agolinux: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:20 +0000 (14:10 +0200)]
linux: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/uclibc: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:19 +0000 (14:10 +0200)]
boot/uclibc: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoboot/swupdate: don't specify .config to munge
Yann E. MORIN [Sat, 4 Apr 2020 12:10:18 +0000 (14:10 +0200)]
boot/swupdate: don't specify .config to munge

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>