buildroot.git
3 years agopackage/libgit2: disable NTLM support unconditionally.
Nicolas Cavallari [Mon, 24 May 2021 17:33:10 +0000 (19:33 +0200)]
package/libgit2: disable NTLM support unconditionally.

NTLM is an old authentication protocol depending on DES and MD4 and
its creator, Microsoft, discourage its use since 2010, because it is
weak and vulnerable to many attacks.

libgit2 has support for NTLM and it is enabled by default if openssl
is used, however, since commit a83d41867c8d ("package/libopenssl: add
option to enable some features"), support for DES and MD4 can be
disabled in openssl.

Since openssl is an optional dependency to libgit2 and getting rid of
NTLM is a goal in itself for many windows administrators, disable NTLM
by default.

Fixes: http://autobuild.buildroot.net/results/efb4ce2174cb6944558e895ce852182ba2738a70
Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libepoxy: bump to version 1.5.7
Adrian Perez de Castro [Wed, 19 May 2021 21:14:39 +0000 (00:14 +0300)]
package/libepoxy: bump to version 1.5.7

This update includes a build fix for the RaspberryPi 4 (from 1.5.7)
and a fix for the GL library loader when GLX is involved (from 1.5.6)
Release notes:

  https://github.com/anholt/libepoxy/releases/tag/1.5.6
  https://github.com/anholt/libepoxy/releases/tag/1.5.7

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[francois.perrad@gadz.org: fix indent in hash file]
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[yann.morin.1998@free.fr: meld Adrian and François' patches together]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsoup: bump to version 2.72.0
Adrian Perez de Castro [Mon, 24 May 2021 15:01:12 +0000 (18:01 +0300)]
package/libsoup: bump to version 2.72.0

Among other fixes, switching to the current stable version plugs a few
memory leaks; solves many WebSocket bugs; makes NTLM authentication work;
allows building gobject-introspection data when cross-building (to be
enabled in a separate patch); fixes message cancellation; adds support
for HTTP 308 permanent redirects, same-site cookies, secure cookies,
HSTS, and Brotli compression.

This also removes the unneeded LIBSOUP_CONF_ENV which defined an
autoconf variable, and updates the Meson build configuration options
to follow the changes done by upstream.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[yann.morin.1998@free.fr:
  - reorder options and move them one per line
  - while at it, do the same for dependencies
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/{protobuf, python-protobuf}: bump to version 3.17
Michael Nosthoff [Thu, 20 May 2021 13:28:40 +0000 (15:28 +0200)]
package/{protobuf, python-protobuf}: bump to version 3.17

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsoup: bump to version 2.66.5
Adrian Perez de Castro [Fri, 21 May 2021 10:37:37 +0000 (13:37 +0300)]
package/libsoup: bump to version 2.66.5

Change libsoup to version 2.66.5, which introduces many fixes. This
needs adding the libpsl dependency, and switching over to Meson as the
autotools based build system is no more. The existing patch is not
needed anymore.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libpsl: new package
Adrian Perez de Castro [Fri, 21 May 2021 10:37:36 +0000 (13:37 +0300)]
package/libpsl: new package

Package libpsl is a new non-optional dependency of future libsoup
versions.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[yann.morin.1998@free.fr: reorder some variables]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/sqlite: bump to version 3350500
Francois Perrad [Sat, 22 May 2021 19:14:26 +0000 (21:14 +0200)]
package/sqlite: bump to version 3350500

Release notes: https://www.sqlite.org/releaselog/3_35_5.html

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kodi-inputstream-adaptive: bump version to 2.6.16-Matrix
Bernd Kuhls [Sat, 22 May 2021 09:40:24 +0000 (11:40 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.6.16-Matrix

Changelog:
https://github.com/xbmc/inputstream.adaptive/blob/Matrix/inputstream.adaptive/addon.xml.in#L22

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/xmrig: new package
Bernd Kuhls [Mon, 24 May 2021 12:29:01 +0000 (14:29 +0200)]
package/xmrig: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[me:
  - introduce XMRIG_SUFFIX
  - extend comment about installation commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsndfile: add external libs support
Fabrice Fontaine [Sun, 23 May 2021 10:11:20 +0000 (12:11 +0200)]
package/libsndfile: add external libs support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: dependencies fit on a single line]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsndfile: bump to version 1.0.31
Fabrice Fontaine [Sun, 23 May 2021 10:11:19 +0000 (12:11 +0200)]
package/libsndfile: bump to version 1.0.31

- Switch site to github to get latest release
- Drop all patches (already in version)
- Update indentation in hash file (two spaces)

https://github.com/libsndfile/libsndfile/releases/tag/1.0.31

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pifmrds: use pkg-config
Fabrice Fontaine [Sun, 23 May 2021 10:11:21 +0000 (12:11 +0200)]
package/pifmrds: use pkg-config

Use pkg-config to retrieve libsndfile dependencies

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 888546e5273d77d49bec564a515e85d7acee6bdd)
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/makedumpfile: bump to version 1.6.9
Alexander Egorenkov [Sun, 23 May 2021 10:35:08 +0000 (10:35 +0000)]
package/makedumpfile: bump to version 1.6.9

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/fluidsynth: bump to version 2.2.1
Julien Olivain [Sun, 23 May 2021 20:44:47 +0000 (22:44 +0200)]
package/fluidsynth: bump to version 2.2.1

For change log since v2.2.0, see:
- https://github.com/FluidSynth/fluidsynth/releases/tag/v2.2.1

./utils/test-pkg --package fluidsynth
6 builds, 2 skipped, 0 build failed, 0 legal-info failed

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wpa_supplicant: enable MD4 in openssl
Sergey Matyukevich [Sat, 22 May 2021 20:12:09 +0000 (23:12 +0300)]
package/wpa_supplicant: enable MD4 in openssl

Hostapd/wpa_supplicant crypto backend assumes that openssl always
provides MD4 support. However MD4 support in openssl has become
optional since  commit a83d41867c8d ("package/libopenssl: add
option to enable some features").

Select openssl MD4 support in wpa_supplicant Kconfig to avoid
build failures.

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/hostapd: enable MD4 in openssl
Sergey Matyukevich [Sat, 22 May 2021 19:48:45 +0000 (22:48 +0300)]
package/hostapd: enable MD4 in openssl

Hostapd assumes that openssl always provides MD4 support. However MD4
support in openssl has become optional since  commit a83d41867c8d
("package/libopenssl: add option to enable some features").

Select openssl MD4 support in hostapd Kconfig to avoid build failures.

Fixes:
http://autobuild.buildroot.net/results/09ce1d8009da98cd2a3f2c8488abaa9f060a9d6b/

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-bleak: bump to version 0.11.0
Marcin Niestroj [Fri, 7 May 2021 17:42:29 +0000 (19:42 +0200)]
package/python-bleak: bump to version 0.11.0

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/openocd: add optional dependency on libgpiod
Sébastien Szymanski [Fri, 21 May 2021 08:32:11 +0000 (10:32 +0200)]
package/openocd: add optional dependency on libgpiod

To make the Linux GPIOD bitbang adapter driver through libgpiod
available.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/openocd: bump to 0.11.0
Sébastien Szymanski [Fri, 21 May 2021 08:32:10 +0000 (10:32 +0200)]
package/openocd: bump to 0.11.0

Remove upstream patches.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/webkitgtk: make gst-gl depend on _HAS_PLATFORM
Adrian Perez de Castro [Wed, 19 May 2021 21:45:23 +0000 (00:45 +0300)]
package/webkitgtk: make gst-gl depend on _HAS_PLATFORM

The GStreamer-GL usage in WebKitGTK is usable as long as GStreamer
is configured with a valid platform API (GLX+OpenGL, EGL+OpenGL,
EGL+GLES, etc.), which is exactly what the symbol
BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM represents.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wpewebkit: make gst-gl depend on _HAS_PLATFORM
Adrian Perez de Castro [Wed, 19 May 2021 21:42:00 +0000 (00:42 +0300)]
package/wpewebkit: make gst-gl depend on _HAS_PLATFORM

The GStreamer-GL usage in WPE WebKit is usable as long as GStreamer
is configured with a valid platform API (GLX+OpenGL, EGL+OpenGL,
EGL+GLES, etc.), which is exactly what the symbol
BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL_HAS_PLATFORM represents.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/webkitgtk: select missing multimedia deps
Adrian Perez de Castro [Wed, 19 May 2021 21:38:27 +0000 (00:38 +0300)]
package/webkitgtk: select missing multimedia deps

Select a few missing multimedia related dependencies:

- BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT is needed for
  "autoaudiosink"; not having this element can cause a crash as
  it is used unconditionally.
- BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_MATROSKA and
  BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX are needed for
  WebM video playback.

Note that BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_VPX depends on THREADS
(because of libvpx), but webktigtk already depend on libgtk3, which
depends on THREADS. The probability that GTK3 drops the dependency on
THREADS is sufficiently close to zero that we need not account for that.
So we do not propagate the THREADS dependency for this option.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wpewebkit: select gstreamer autoaudiosink
Adrian Perez de Castro [Wed, 19 May 2021 21:32:37 +0000 (00:32 +0300)]
package/wpewebkit: select gstreamer autoaudiosink

Select BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_AUTODETECT when multimedia
support is enabled. This is needed at runtime to automatically select
a suitable audio output element, otherwise WebKit will crash at an
assertion due to the missing "autoaudiosink" element. More here:

  https://wpewebkit.org/about/faq.html#why-does-the-browser%2Flauncher-(e.g.-cog)-crash-when-trying-to-play-audio%3F

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/uclibc: enable linuxthreads for all supported architectures
Mircea GLIGA [Fri, 21 May 2021 13:41:22 +0000 (16:41 +0300)]
package/uclibc: enable linuxthreads for all supported architectures

Synchronize the list of architectures that have LinuxThreads support
with the ones from uClibc-ng.

Signed-off-by: Mircea GLIGA <mgliga@bitdefender.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/audit: bump to version 3.0.1
Adam Duskett [Thu, 20 May 2021 17:46:49 +0000 (10:46 -0700)]
package/audit: bump to version 3.0.1

Drop all upstream patches as they no longer are applicable.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/setools: bump to version 4.4.0
Adam Duskett [Thu, 20 May 2021 17:46:48 +0000 (10:46 -0700)]
package/setools: bump to version 4.4.0

- Remove upstream patch 0001-remove-werror-flag-from-setup.patch
- Refactor Do-not-export-use-setools.InfoFlowAnalysis-and-setoo.patch to apply
  to 4.4.0

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/selinux-python: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:47 +0000 (10:46 -0700)]
package/selinux-python: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/semodule-utils: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:46 +0000 (10:46 -0700)]
package/semodule-utils: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/restorecond: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:45 +0000 (10:46 -0700)]
package/restorecond: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/checkpolicy: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:44 +0000 (10:46 -0700)]
package/checkpolicy: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/policycoreutils: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:43 +0000 (10:46 -0700)]
package/policycoreutils: bump to version 3.2

Also refactor patches to apply cleanly.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libselinux: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:42 +0000 (10:46 -0700)]
package/libselinux: bump to version 3.2

Also drop upstream patch
0003-libselinux-rename-gettid-to-something-which-never-conflicts.patch

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsemanage: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:41 +0000 (10:46 -0700)]
package/libsemanage: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsepol/Config.in: Add policy version 33
Adam Duskett [Thu, 20 May 2021 17:46:40 +0000 (10:46 -0700)]
package/libsepol/Config.in: Add policy version 33

Policy version 33 was added starting with kernel 5.8.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsepol: bump to version 3.2
Adam Duskett [Thu, 20 May 2021 17:46:39 +0000 (10:46 -0700)]
package/libsepol: bump to version 3.2

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Tested-by: Matthew Weber <matthew.weber@collins.com>
Tested-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/arm-trusted-firmware: bump to version 2.5
Heiko Thiery [Fri, 21 May 2021 09:13:33 +0000 (11:13 +0200)]
boot/arm-trusted-firmware: bump to version 2.5

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

The existing qemu_aarch64_sbsa_defconfig was using an unpinned version
of ATF, so to avoid any regression, it is pinned to the previous
version, 2.4.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
[yann.morin.1998@free.fr: pin ATF version in qemu_aarch64_sbsa_defconfig]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libbpf: new package
Romain Naour [Sun, 20 Dec 2020 15:12:01 +0000 (16:12 +0100)]
package/libbpf: new package

A mirror of bpf-next linux tree bpf-next/tools/lib/bpf
directory plus its supporting header files. The version
of the package reflects the version of ABI.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Qais Yousef <qais.yousef@arm.com>
Reviewed-by: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[Arnout: add hash file]

3 years agopackage/llvm: add BPF backend
Jugurtha BELKALEM [Sun, 20 Dec 2020 15:11:59 +0000 (16:11 +0100)]
package/llvm: add BPF backend

bcc is a front-end tool for eBPF :
https://github.com/iovisor/bcc/blob/master/README.md.
eBPF is the most powerful Linux tracer, and bcc
allows to write eBPF scripts in C and PYTHON3.

BCC requires enabling LLVM backend BPF support.

Signed-off-by: Jugurtha BELKALEM <jugurtha.belkalem@smile.fr>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Qais Yousef <qais.yousef@arm.com>
Reviewed-by: Qais Yousef <qais.yousef@arm.com>
Cc: Qais Yousef <qais.yousef@arm.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libglib2: bump version to 2.68.2
Adam Duskett [Thu, 20 May 2021 17:25:08 +0000 (10:25 -0700)]
package/libglib2: bump version to 2.68.2

Includes an important bugfix: #2387 json-glib does not build with glib 2.68.1

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gobject-introspection: bump to version 1.68.0
Adam Duskett [Sat, 1 May 2021 19:56:20 +0000 (12:56 -0700)]
package/gobject-introspection: bump to version 1.68.0

Other changes:
  - Change -Dgi_cross_use_host_gi=true to -Dgi_cross_use_prebuilt_gi=true as the
    option has changed.
  - Explicitly define python3 in both the host and target builds of
    g-ir-tool-template.in

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[yann.morin.1998@free.fr:
  - add hash for giscanner/scannerlexer.l used as license file
  - two spaces in hash file
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libglib2: add -Dxattr=true when libselinux is selected
Adam Duskett [Sat, 1 May 2021 19:56:19 +0000 (12:56 -0700)]
package/libglib2: add -Dxattr=true when libselinux is selected

Xattrs is required for SELinux. Explicitly enable the feature when the
libselinux package is selected.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libglib2: bump to version 2.68.1
Adam Duskett [Sat, 1 May 2021 19:56:18 +0000 (12:56 -0700)]
package/libglib2: bump to version 2.68.1

Other changes:
  - Drop 0002-allow-explicit-disabling-of-tests.patch as this patch has been
    upstreamed and the option is now simply "tests."
  - Add -Dglib_debug=disabled and -Dlibelf=disabled as defaults to both
    HOST_LIBGLIB2_CONF_OPTS and LIBGLIB2_CONF_OPTS
  - Refactor existing patches to apply to 2.68.1

Tested with test-pkg -p libglib2 -a.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/acmesystems_acqua_a5_*: use tested bootloader version
Edgar Bonet [Wed, 19 May 2021 19:43:50 +0000 (21:43 +0200)]
configs/acmesystems_acqua_a5_*: use tested bootloader version

The new branch "4.x" of at91bootstrap has dropped the contrib directory,
which holds the defconfigs used by the Acmesystems Acqua A5 boards. We
then cannot use the latest at91bootstrap anymore.

As commit e009816c67fc1335a9b2da8687b55c5ff6aa27cf introduced support
for at91bootstrap 4.x in the "next" branch, it had to work around this
by pinning these defconfigs to the "latest 3.x" version.

Avoid this and any future incompatibility problems by explicitly
requesting a tested version of at91bootstrap.

Signed-off-by: Edgar Bonet <bonet@grenoble.cnrs.fr>
[yann.morin.1998@free.fr: use a custom git, like other acme defconfigs]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboard/raspberrypi: add Compute Module 4/IO Board support (64 Bit)
Peter Seiderer [Wed, 19 May 2021 21:51:15 +0000 (23:51 +0200)]
board/raspberrypi: add Compute Module 4/IO Board support (64 Bit)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboard/raspberrypi: add Compute Module 4/IO Board support
Peter Seiderer [Wed, 19 May 2021 21:51:14 +0000 (23:51 +0200)]
board/raspberrypi: add Compute Module 4/IO Board support

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboard/raspberrypi: add rpi4 64 bit hint
Peter Seiderer [Wed, 19 May 2021 21:51:13 +0000 (23:51 +0200)]
board/raspberrypi: add rpi4 64 bit hint

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboard/raspberrypi: add rpi3 64 bit hint
Peter Seiderer [Wed, 19 May 2021 21:51:12 +0000 (23:51 +0200)]
board/raspberrypi: add rpi3 64 bit hint

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/raspberrypi-usbboot: enable for BR2_aarch64
Peter Seiderer [Wed, 19 May 2021 21:51:11 +0000 (23:51 +0200)]
package/raspberrypi-usbboot: enable for BR2_aarch64

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/raspberrypi-usbboot: bump version to 9324fd7
Peter Seiderer [Wed, 19 May 2021 21:51:10 +0000 (23:51 +0200)]
package/raspberrypi-usbboot: bump version to 9324fd7

- add license description/file/hash

- rebased 0001-Makefile-allow-passing-CFLAGS-LDFLAGS.patch

- removed 0002-Makefile-add-DESTDIR-support.patch
  (Makefile install target removed since [1])

- removed 0003-main.c-rework-logic-to-find-def1-def2-and-def3-files.patch
  (bootcode.bin/bootcode4.bin and start.elf/start4.elf compiled in since [2])

- change host install command

[1] https://github.com/raspberrypi/usbboot/commit/9e6ff777bbf271b75aa0b1aa24e6f12d7b768375
[2] https://github.com/raspberrypi/usbboot/commit/1bb4c2da4775329bcf5811616fc8f0ce78ee2121

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/{mesa3d, mesa3d-headers}: bump version to 21.1.1
Bernd Kuhls [Thu, 20 May 2021 05:00:24 +0000 (07:00 +0200)]
package/{mesa3d, mesa3d-headers}: bump version to 21.1.1

Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2021-May/000631.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libopenssl: md5 is not optional
Yann E. MORIN [Wed, 19 May 2021 20:49:35 +0000 (22:49 +0200)]
package/libopenssl: md5 is not optional

Commit a83d41867c8d (package/libopenssl: add option to enable some
features) made md5 an optional feature.

However, md5 has not been optional since 1.1.0, released in 2016.

Drop that option.

Fixes:
   - http://autobuild.buildroot.net/results/9d79c9f313ff989449e9b47c1ff0afd3a167fd2d/

Reported-by: "Weber, Matthew L Collins" <Matthew.Weber@collins.com>
Reviewed-by: "Matthew Weber" <Matthew.Weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/postgresql: select mandatory libopenssl features
Peter Seiderer [Wed, 19 May 2021 18:14:23 +0000 (20:14 +0200)]
package/postgresql: select mandatory libopenssl features

Select mandatory libopenssl features (which are selectable since
commit a83d41867c8d69a77d5cd0a665aa216af5340359):

- BR2_PACKAGE_LIBOPENSSL_ENABLE_BLOWFISH
- BR2_PACKAGE_LIBOPENSSL_ENABLE_CAST
- BR2_PACKAGE_LIBOPENSSL_ENABLE_DES

Fixes:

  - http://autobuild.buildroot.net/results/7fdcaa337a7369673ac4580ff7a2bbccc895dca2

  openssl.c:449:35: warning: implicit declaration of function 'EVP_bf_ecb'; did you mean 'EVP_sm4_ecb'? [-Wimplicit-function-declaration]
    449 |  if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
        |                                   ^~~~~~~~~~
        |                                   EVP_sm4_ecb
  openssl.c:449:35: warning: passing argument 2 of 'EVP_EncryptInit_ex' makes pointer from integer without a cast [-Wint-conversion]
    449 |  if (!EVP_EncryptInit_ex(evp_ctx, EVP_bf_ecb(), NULL, NULL, NULL))
        |                                   ^~~~~~~~~~~~
        |                                   |
        |                                   int
  In file included from openssl.c:34:
  .../host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/include/openssl/evp.h:583:53: note: expected 'const EVP_CIPHER *' {aka 'const struct evp_cipher_st *'} but argument is of type 'int'
    583 |                                   const EVP_CIPHER *cipher, ENGINE *impl,
        |                                   ~~~~~~~~~~~~~~~~~~^~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libcurl: make sure openssl supports DES
Baruch Siach [Wed, 19 May 2021 19:01:48 +0000 (22:01 +0300)]
package/libcurl: make sure openssl supports DES

DES support in openssl is optional since commit a83d41867c8d
("package/libopenssl: add option to enable some features"). curl uses
DES support in openssl when enabled. Select DES support to avoid build
failure.

Fixes:
http://autobuild.buildroot.net/results/8931fd2b71eb2490cdc041b47eff58377ac823da/
http://autobuild.buildroot.net/results/f159195adf05c375d7d314a270afd3a55d43ebdd/
http://autobuild.buildroot.net/results/e143c75bccd7bcd4216954b76099404a38cf9bc1/

Cc: Erwan GAUTRON <erwan.gautron@bertin.fr>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Matthew Weber <matthew.weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing: add python-dbus-next test
Marcin Niestroj [Sun, 9 May 2021 08:09:51 +0000 (10:09 +0200)]
support/testing: add python-dbus-next test

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python-dbus-next: new package
Marcin Niestroj [Sun, 9 May 2021 08:09:50 +0000 (10:09 +0200)]
package/python-dbus-next: new package

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/microchip_sama5d2_icp: new defconfigs
Eugen Hristev [Wed, 19 May 2021 12:30:11 +0000 (15:30 +0300)]
configs/microchip_sama5d2_icp: new defconfigs

Add the new SAMA5D2 ICP (Industrial Connectivity Board)
with linux4sam_2020.10 components.
Update README file with new defconfigs.

https://www.linux4sam.org/bin/view/Linux4SAM/Sama5d2IcpMainPage

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/at91bootstrap3: move BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
Yann E. MORIN [Wed, 19 May 2021 12:34:58 +0000 (14:34 +0200)]
boot/at91bootstrap3: move BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3

As spotted by Eugen, BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3 currently
is outside the at91bootstrap section, because it was inccorectly added
after the 'endif' statement rather than before, which makes the
menuconfig layout weird.

Move it around.

Reported-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/uevm5432: new defconfig
Vincent Stehlé [Sat, 8 May 2021 17:12:32 +0000 (19:12 +0200)]
configs/uevm5432: new defconfig

The OMAP5432 uEVM[1] is a development board from Texas Instruments.

It is similar to the OMAP4 Panda boards, from which this configuration is
inspired.

[1]: https://svtronics.com/5432

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libmdbx: bump version to 0.10.0
Leonid Yuriev [Sun, 9 May 2021 19:56:50 +0000 (22:56 +0300)]
package/libmdbx: bump version to 0.10.0

Release notes: https://github.com/erthink/libmdbx/releases/tag/v0.10.0

Signed-off-by: Leonid Yuriev <leo@yuriev.ru>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/dt-utils: bump version to 2021.03.0
Marcin Niestroj [Mon, 10 May 2021 09:28:52 +0000 (11:28 +0200)]
package/dt-utils: bump version to 2021.03.0

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/webkitgtk: bump to version 2.32.1
Adrian Perez de Castro [Tue, 18 May 2021 19:05:14 +0000 (22:05 +0300)]
package/webkitgtk: bump to version 2.32.1

Update to a new major release which bring in improvements and a few new
features. Release notes:

  https://webkitgtk.org/2021/03/26/webkitgtk2.32.0-released.html
  https://webkitgtk.org/2021/05/10/webkitgtk2.32.1-released.html

None of the new features in WebKitGTK 2.32.x need additional
dependencies.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/at91bootstrap3: add BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3
Eugen Hristev [Tue, 18 May 2021 21:37:48 +0000 (23:37 +0200)]
boot/at91bootstrap3: add BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3

Some at91bootstrap3 configurations now use Python scripts on the host
for NAND/PMEC related utilities. In order to be able to use those
scripts, this commit adds a new
BR2_TARGET_AT91BOOTSTRAP3_NEEDS_PYTHON3 which allows to express the
need for host-python3 as a dependency to build at91bootstrap3.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[Thomas: this was extracted from a patch from Eugen adding
at91bootstrap 4.x support.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/at91bootstrap3: bump 3.x series to 3.10.2
Thomas Petazzoni [Tue, 18 May 2021 21:37:47 +0000 (23:37 +0200)]
boot/at91bootstrap3: bump 3.x series to 3.10.2

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/at91bootstrap3: add support for at91bootstrap 4.x series
Eugen Hristev [Tue, 18 May 2021 21:37:46 +0000 (23:37 +0200)]
boot/at91bootstrap3: add support for at91bootstrap 4.x series

The project at https://github.com/linux4sam/at91bootstrap was until
now releasing 3.x versions, which were packaged using
boot/at91bootstrap3/ in Buildroot. Microchip has now started a new
branch of at91bootstrap, called 4.x, which will only support the
following devices: sam9x60, sama5d2, sama5d3, sama5d4, sama7g5. A
number of older devices from Microchip will only be supported by the
existing 3.x series.

Therefore, we cannot simply remove support for the 3.x series, and
allow using only the 4.x series.

So what this commit does is extend the boot/at91bootstrap3 package to
support building both 3.x and 4.x versions. In detail, this implies:

 * Having the BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION symbol point to
   the latest 4.x version. Indeed, we want
   BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION to really point to the
   latest upstream version, even if that means potential breakage for
   users. Users who want to use a fixed version of at91bootstrap
   should anyway not be using
   BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION.

 * Introduce BR2_TARGET_AT91BOOTSTRAP3_LATEST_VERSION_3X for users who
   would like to use the latest 3.x series.

 * Adjust the installation logic, as images to install are now in
   build/binaries/*.bin instead of binaries/*.bin. In order to not
   have to differentiate 3.x and 4.x, we simply use $(wildcard ...) to
   expand the list of files to install.

 * To make it clear that boot/at91bootstrap3 supports both 3.x and
   4.x, we also update the prompt of the package.

at911bootstrap does not carry a license file; so far we were using
main.c as the license file, as it carries the license blurb. Now that we
have a known alternate version, we would need a per-version hash for
that file. However, this is a bit too cumbersome to handle, so just drop
using main.c as the license file. When upstream introduces a proper
license file, we can revisit the situation.

Update the two defconfigs that were using the upstream 3.9.3 version;
all other defconfigs are using custom tarballs or custom git trees.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[Thomas: while this patch is based on previous work by Eugen, it was
reworked quite significantly.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr:
  - drop main.c as license file, explain why
  - update the two defconfigs
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/grpc: bump to version 1.37.1
Michael Nosthoff [Wed, 19 May 2021 07:59:38 +0000 (09:59 +0200)]
package/grpc: bump to version 1.37.1

Fixes from Changelog [0]:
 - Fix #25897 to avoid crashes when certificates are not yet updated
 - [Backport] Fix use-after-unref bug in fault_injection_filter.

[0] https://github.com/grpc/grpc/releases/tag/v1.37.1

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kodi-peripheral-joystick: bump version to 1.7.2-Matrix
Bernd Kuhls [Wed, 19 May 2021 04:52:02 +0000 (06:52 +0200)]
package/kodi-peripheral-joystick: bump version to 1.7.2-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/dependencies, scripts: accept patches with renames
Ryota Kinukawa [Wed, 19 May 2021 03:28:48 +0000 (12:28 +0900)]
support/dependencies, scripts: accept patches with renames

Currently, patches with renames are refused, as they reqire patch 2.7
or newer. So far, we did not require that version because it was too
recent to be widely available.

But patch 2.7 has been released in 2012, almost 9 years ago now; it is
old enough that we can start relying on it.

Add a check that patch is GNU patch 2.7 or newer, and so drop the common
check for patch, and drop the check about renames in apply-patches.sh.

Signed-off-by: Ryota Kinukawa <pojiro.jp@gmail.com>
[yann.morin.1998@free.fr:
  - drop common check
  - shorten variable names
  - drop now-incorrect comment about busybox w/desktop
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/rustc: add support for Tier 1 and Tier 2 platforms
Thomas Petazzoni [Tue, 18 May 2021 20:54:31 +0000 (22:54 +0200)]
package/rustc: add support for Tier 1 and Tier 2 platforms

This commit reworks how BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS is
defined to more clearly map with the list of platforms supported by
Rust as listed at
https://doc.rust-lang.org/nightly/rustc/platform-support.html. Indeed,
the situation is not as simple as a list of architectures, all
supported for both glibc and musl.

So instead, we take the approach of directly mapping with what's
described at
https://doc.rust-lang.org/nightly/rustc/platform-support.html, which
means:

 * A list of Tier 1 platforms (in fact just 3 platforms)

 * A list of Tier 2 platforms with host tools (i.e where rustc and
   cargo themselves are available for the target, something that isn't
   relevant for Buildroot)

 * A list of Tier 2 platforms with no host tools support.

For each platform, we add as a comment its Rust tuple name, as listed
at https://doc.rust-lang.org/nightly/rustc/platform-support.html, and
then the corresponding Buildroot architecture/libc dependency.

This is obviously more verbose than it was, but it is also a lot
easier to maintain.

With this, a total of 16 new platforms are supported, 13 of which are
musl-based. The additional non-musl platforms are ARMv5TE, RISC-V
64-bit and Sparc64.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/rustc: prepare for musl-based platforms support
Nathaniel Husted [Tue, 18 May 2021 20:54:30 +0000 (22:54 +0200)]
package/rustc: prepare for musl-based platforms support

The current rustc package only supports configurations based on glibc
and hardcodes this requirement. This patch prepares the addition of
support for musl-based platforms by using $(LIBC) instead of
hardcoding "gnu" as the C library specifier when defining
RUSTC_TARGET_NAME.

Signed-off-by: Nathaniel Husted <nathaniel.husted@outlook.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/abootimg: Update to 1ebeb39, switch to ajs124
Petr Vorel [Thu, 25 Mar 2021 19:19:11 +0000 (20:19 +0100)]
package/abootimg: Update to 1ebeb39, switch to ajs124

ajs124 [1] has 2 fixes over than original [2].

[1] https://gitlab.com/ajs124/abootimg
[2] https://github.com/ggrandou/abootimg.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr: also change homepage in Config.in]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/ltp-testsuite: enable ebizzy
Petr Vorel [Thu, 29 Apr 2021 19:21:03 +0000 (21:21 +0200)]
package/ltp-testsuite: enable ebizzy

ebizzy has been fixed in 20200930 (commit 967612c45).

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/imlib2: bump version to 1.7.1
Petr Vorel [Thu, 29 Apr 2021 19:07:09 +0000 (21:07 +0200)]
package/imlib2: bump version to 1.7.1

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/numactl: add -latomic to numa.pc
Fabrice Fontaine [Fri, 7 May 2021 17:07:01 +0000 (19:07 +0200)]
package/numactl: add -latomic to numa.pc

Instead of passing -latomic through LDFLAGS as done in commit
4ed540ddf59bec4b389be44d7f42820d2466904f, properly check for it in
configure.ac and add it to numa.pc or numactl users won't be able to get
it

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection/Config.in: Allow RISCV_32 builds
Adam Duskett [Fri, 7 May 2021 17:01:02 +0000 (10:01 -0700)]
package/gobject-introspection/Config.in: Allow RISCV_32 builds

Qemu 6.0.0 no longer segfaults when running qemu-riscv32. As such, it's now
possible to allow riscv32 to compile gobject-introspection.

This partially reverts commit c94a212390e33c122cf9db4c772caf8bf3804565.
The symbol BR2_PACKAGE_GOBJECT_INTROSPECTION_ARCH_SUPPORTS is kept, even
though it is now equivalent to BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS,
because it's likely that architecture dependencies will pop up again in
the future.

The configuration of a previously failing autobuilder [1] now passes.

[1] http://autobuild.buildroot.org/results/668397b1df42297505e6fc8353c4752290a5628d

Signed-off-by: Adam Duskett <aduskett@rivian.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qemu: bump version to 6.0.0
Adam Duskett [Fri, 7 May 2021 17:01:01 +0000 (10:01 -0700)]
package/qemu: bump version to 6.0.0

Other changes:
  - Drop patch 0003-hw-usb-host-libusb.c-fix-build-with-kernel-5.0.patch as it
    is part of 6.0.0.
  - Rename 0004-meson-add-tests-option.patch to
    0003-meson-add-tests-option.patch and refresh it for 6.0.0

Signed-off-by: Adam Duskett <aduskett@rivian.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/x11r7/xlib_libXfixes: bump version to 6.0.0
Bernd Kuhls [Tue, 18 May 2021 15:24:52 +0000 (17:24 +0200)]
package/x11r7/xlib_libXfixes: bump version to 6.0.0

Release notes:
https://lists.x.org/archives/xorg-announce/2021-May/003086.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mesa3d: bump version to 21.1.0
Bernd Kuhls [Tue, 11 May 2021 18:04:42 +0000 (20:04 +0200)]
package/mesa3d: bump version to 21.1.0

Removed kmsro-related options, these are now handled by the build
system:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=70813c1c13b99cb029c8fa3537163650bdd17b6d

Updated license hash due to typo fix in upstream commit:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=2f42c21221cf89f738225e3ac2aa2e85953c1dc1

Rebased patch 0003 due to upstream commit:
https://cgit.freedesktop.org/mesa/mesa/commit/?id=a9618e7c4214e29c97009870ad8904623746ffe9

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/openblas: install static library even if BR2_STATIC_LIBS is not set
Thomas De Schampheleire [Tue, 18 May 2021 08:05:19 +0000 (10:05 +0200)]
package/openblas: install static library even if BR2_STATIC_LIBS is not set

openblas has options 'NO_STATIC' and 'NO_SHARED' to steer the installation
of libopenblas.a and libopenblas.so. But this does not impact anything in
the build process, other than copying the respective file to the output
directory.

As openblas is very large (e.g. 3MB on ARM) but applications may only use a
small part of it, such applications may want to link statically with
openblas, even though the global BR2_STATIC_LIBS is not set and not desired.

One approach would have been to introduce options
BR2_PACKAGE_OPENBLAS_BUILD_SHARED_LIB and
BR2_PACKAGE_OPENBLAS_BUILD_STATIC_LIB which could be freely selected
regardless of BR2_STATIC_LIBS / BR2_SHARED_LIBS.

But since the installation of a static library does not have any negative
impact except for some disk space on the host system (.a files are removed
from the target in target-finalize anyway), change the installation rules to
install the static library unconditionally.

NO_SHARED is still passed for static-libs-only systems, because the
dynamic library would unnecessarily take up target disk space for such
systems.

Users that only need the static library would still need to remove the
shared library from a post-build script to actually save space.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/links: enable building graphics mode with only fb driver
Urja Rannikko [Tue, 27 Apr 2021 09:13:25 +0000 (12:13 +0300)]
package/links: enable building graphics mode with only fb driver

The "fb" framebuffer driver needs GPM (mouse support) to compile,
but not DirectFB or Xorg.

The .mk file already has an optional dependency on GPM, so it doesn't
need to be added there.

Also added a Kconfig comment for easier discovery of the GPM
requirement.

Signed-off-by: Urja Rannikko <urjaman@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/cage: bump to version 0.1.3
Adrian Perez de Castro [Tue, 18 May 2021 13:54:23 +0000 (16:54 +0300)]
package/cage: bump to version 0.1.3

Update to version 0.1.3, which is a matenance release which does not
add any new features but can be built against wlroots 0.13.0. A new
build option to toggle man pages is set to always disabled.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wlroots: use libseat when available
Adrian Perez de Castro [Tue, 18 May 2021 13:54:22 +0000 (16:54 +0300)]
package/wlroots: use libseat when available

Enable using libseat for seat management when possible.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/seatd: install init scripts
Adrian Perez de Castro [Tue, 18 May 2021 13:54:21 +0000 (16:54 +0300)]
package/seatd: install init scripts

Add commands to the seatd package to install the systemd unit included
in the source tarball and a SysV init script, and ensure that the
"video" group gets created.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
[yann.morin.1998@free.fr:
  - model the init script after package/busybox/S01syslogd
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/seatd: new package
Adrian Perez de Castro [Tue, 18 May 2021 13:54:20 +0000 (16:54 +0300)]
package/seatd: new package

Introduce a seatd package, which can be used by wlroots 0.12.0 and
newer. The package includes both a library (always built) and an
optional seat management daemon.

The library can use systemd-logind, the seatd daemon, or a simple
builtin in-process mode. Build options are introduced for the daemon
and the built-in mode, as to allow selecting the built-in mode as
default when both the daemon and systemd-logind are not being built.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wlroots: bump to version 0.13.0
Adrian Perez de Castro [Tue, 18 May 2021 13:54:19 +0000 (16:54 +0300)]
package/wlroots: bump to version 0.13.0

Update wlroots to version 0.13.0. This is a release which changes
API/ABI, applications which use wlroots need to be rebuilt. Currently in
Buildroot there is only cage, to be updated by a follow-up patch of the
series.

Additionally, remove usage of the xcb-icccm build option, which is no
longer available and update the dependencies needed by the X11 support.
Note that the dependencies neded by the X11 backend are a superset of
the ones needed for XWayland support, so we can make toggle both Meson
options at once.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kodi-inputstream-adaptive: bump version to 2.6.15-Matrix
Bernd Kuhls [Tue, 18 May 2021 15:38:32 +0000 (17:38 +0200)]
package/kodi-inputstream-adaptive: bump version to 2.6.15-Matrix

Changelog:
https://github.com/xbmc/inputstream.adaptive/blob/Matrix/inputstream.adaptive/addon.xml.in#L22

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/kodi-pvr-mediaportal-tvserver: bump version to 8.2.0-Matrix
Bernd Kuhls [Tue, 18 May 2021 15:36:28 +0000 (17:36 +0200)]
package/kodi-pvr-mediaportal-tvserver: bump version to 8.2.0-Matrix

Changelog:
https://github.com/kodi-pvr/pvr.mediaportal.tvserver/blob/Matrix/pvr.mediaportal.tvserver/changelog.txt

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/cog: bump to version 0.10.0
Adrian Perez de Castro [Tue, 18 May 2021 15:14:07 +0000 (18:14 +0300)]
package/cog: bump to version 0.10.0

Release notes:

  https://wpewebkit.org/release/cog-0.10.0.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wpewebkit: bump to version 2.32.1
Adrian Perez de Castro [Tue, 18 May 2021 15:14:06 +0000 (18:14 +0300)]
package/wpewebkit: bump to version 2.32.1

Update to a new major release which brings in improvements and a few new
features. Release notes:

  https://wpewebkit.org/release/wpewebkit-2.32.0.html
  https://wpewebkit.org/release/wpewebkit-2.32.1.html

None of the new features in WPE WebKit 2.32.x need additional
dependencies.

The existing patch for Musl compatibility is not needed anymore because
a better solution has been accepted upstream and backported to be
included in the 2.32.1 release.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/wpebackend-fdo: bump to version 1.9.92
Adrian Perez de Castro [Tue, 18 May 2021 15:14:05 +0000 (18:14 +0300)]
package/wpebackend-fdo: bump to version 1.9.92

Update to version 1.9.92 which, while even being a release candidate,
is more stable than the 1.8.1 present in Buildroot.

Release notes:

  https://wpewebkit.org/release/wpebackend-fdo-1.9.90.html
  https://wpewebkit.org/release/wpebackend-fdo-1.9.91.html
  https://wpewebkit.org/release/wpebackend-fdo-1.9.92.html

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libwpe: bump to version 1.10.0
Adrian Perez de Castro [Tue, 18 May 2021 15:14:04 +0000 (18:14 +0300)]
package/libwpe: bump to version 1.10.0

Release notes:

  https://wpewebkit.org/release/libwpe-1.10.0.html

The patch is removed, as it has been included upstream.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/poke: enable uClibc-ng support
Romain Naour [Mon, 17 May 2021 15:56:28 +0000 (17:56 +0200)]
package/poke: enable uClibc-ng support

poke bundle gnulib that doesn't support the case where
host_os='linux-uclibc'. When cross-compiling, the guessed
answers are mostly wrong and gnulib will try to replace
snprintf with rpl_snprintf. This lead to "undefined reference
to `rpl_snprintf'" errors.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/poke: add optional json-c dependency
Romain Naour [Mon, 17 May 2021 15:56:27 +0000 (17:56 +0200)]
package/poke: add optional json-c dependency

From [1]:
"The poke machine-interface uses a protocol to communicate with
clients, which is based on JSON.  poke uses the json-c library to
parse and build JSON strings.
If this library is not found, poke will build without machine-interface
support."

[1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jose E. Marchesi <jemarch@gnu.org>
Cc: Luca Saiu <positron@gnu.org>
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/poke: new package
Romain Naour [Mon, 17 May 2021 15:56:26 +0000 (17:56 +0200)]
package/poke: new package

Backport a patch to disable tcl/tk dependencies when gui support
is disabled.

Backport and rebase a patch to avoid host poisoning while
cross-compiling.

Add another local patch when HELP2MAN is missing.

Disable uClibc-ng toolchain for now due to issues with
bundled gnulib.

The license of gnulib is not easy to describe because
it bundle several sources files with different license [1][2].
Even if not SPDX compliant, use "gnulib license".

[1] https://git.savannah.gnu.org/cgit/gnulib.git/tree/COPYING
[2] https://src.fedoraproject.org/rpms/gnulib/blob/rawhide/f/gnulib.spec#_53

See:
http://www.jemarch.net/poke-1.0-relnotes.html
http://www.jemarch.net/poke-1.1-relnotes.html
http://www.jemarch.net/poke-1.2-relnotes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Jose E. Marchesi <jemarch@gnu.org>
Cc: Luca Saiu <positron@gnu.org>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
[yann.morin.1998@free.fr:
  - propagate BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS dependency to comment
  - select busybos-show-others
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs/beaglebone: bump kernel and U-Boot versions
Vincent Stehlé [Sun, 16 May 2021 18:09:52 +0000 (20:09 +0200)]
configs/beaglebone: bump kernel and U-Boot versions

- Bump kernel to version 5.10.30-ti-r3.
- Bump U-Boot to version 2021.04.

Add mdev to the beaglebone_defconfig. This gives us automatic USB support,
as the omap2plus kernel has most drivers as modules.

While at it, enable VFPv3 with 32 registers (instead of 16) and add a few
comments to the defconfig.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Cc: Lothar Felten <lothar.felten@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pipewire: fix uclibc compile (getrandom related)
Peter Seiderer [Wed, 12 May 2021 20:42:51 +0000 (22:42 +0200)]
package/pipewire: fix uclibc compile (getrandom related)

The getrandom() detection from meson.build failes with the following error
message:

  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t'
     27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
        |                                   ^~~~~~
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?

Fix it by adding stddef.h include to the meson getrandom() detection.

Fixes:

  - http://autobuild.buildroot.net/results/7e131bec458bf5c263ee1858d38ed5dc3cf704a6

  ../src/pipewire/impl-core.c:54:9: error: conflicting types for ‘getrandom’
     54 | ssize_t getrandom(void *buf, size_t buflen, unsigned int flags) {
        |         ^~~~~~~~~
  In file included from ../src/pipewire/impl-core.c:34:
  .../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:12: note: previous declaration of ‘getrandom’ was here
     27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
        |            ^~~~~~~~~

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pipewire: bump version to 0.3.27
Peter Seiderer [Wed, 12 May 2021 20:42:50 +0000 (22:42 +0200)]
package/pipewire: bump version to 0.3.27

- remove 0001-meson-prefer-libintl-on-FreeBSD.patch
  (from upstream [1])

[1] https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/4d064a37183a0bf8198914dd68b063b2c9def17e

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/ethtool: bump to version 5.12
Heiko Thiery [Mon, 17 May 2021 08:22:53 +0000 (10:22 +0200)]
package/ethtool: bump to version 5.12

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/mbuffer: bump to version 20210328
Mircea GLIGA [Mon, 17 May 2021 06:32:13 +0000 (09:32 +0300)]
package/mbuffer: bump to version 20210328

Signed-off-by: Mircea GLIGA <mgliga@bitdefender.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoconfigs: add espressobin ultra dts and bump kernel to 5.11.21
Joachim Wiberg [Mon, 17 May 2021 09:04:49 +0000 (11:04 +0200)]
configs: add espressobin ultra dts and bump kernel to 5.11.21

This patch adds support for the Globalscale EspressoBin Ultra, which is
an evolution of the EspressoBin family.  Same SoC and switchcore, more
Ethernet ports, including one PoE PD port.

Tested-by: Atallah Amine <amine_atallah@outlook.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gcc: enable secureplt for powerpc64
Romain Naour [Mon, 17 May 2021 20:13:27 +0000 (22:13 +0200)]
package/gcc: enable secureplt for powerpc64

GCC support enabling secureplt for powerpc64.

From [1]
"PowerPC has two PLT models: BSS-PLT and Secure-PLT. BSS-PLT uses
runtime code generation to generate the PLT stubs. Secure-PLT was
introduced with GCC 4.1 and Binutils 2.17 (base has GCC 4.2.1 and
Binutils 2.17), and is a more secure PLT format, using a read-only
linkage table, with the dynamic linker populating a non-executable
index table."

This option is always enabled by glibc testing script
called build-many-glibcs.py [1]. This script exist since
glibc 2.25.

Runtime tested with qemu_ppc64_e5500_defconfig.

[1] https://reviews.freebsd.org/D20598
[2] https://sourceware.org/git/?p=glibc.git;a=blob;f=scripts/build-many-glibcs.py;h=9c08ab7b326e6385abb835eb32dd143952a71942;hb=9826b03b747b841f5fc6de2054bf1ef3f5c4bdf3#l345

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Matt Weber <matthew.weber@collins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>