buildroot.git
3 years agopackage/rwmem: needs wchar
Fabrice Fontaine [Sun, 5 Sep 2021 19:32:52 +0000 (21:32 +0200)]
package/rwmem: needs wchar

rwmmem needs wchar because of fmt dependency since its addition in
commit 51a282bcb8dfc26d3a27723383c5a1767653a19d

Fixes:
 - http://autobuild.buildroot.org/results/1c06c27d70aae8bdb39ae43fbe74896e536293c6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoboot/uboot: fix check-package
Yann E. MORIN [Sun, 12 Sep 2021 12:03:03 +0000 (14:03 +0200)]
boot/uboot: fix check-package

Fix check-package issues introduced with commit af99e7a5f386
(boot/uboot: copy IMX firmware files to uboot package dir).

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pipewire: add option to build examples
James Hilliard [Fri, 10 Sep 2021 00:37:25 +0000 (18:37 -0600)]
package/pipewire: add option to build examples

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pipewire: bump to version 0.3.35
James Hilliard [Thu, 9 Sep 2021 23:09:53 +0000 (17:09 -0600)]
package/pipewire: bump to version 0.3.35

Update download to use official gitlab source url.

Drop patches that are now upstream.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 10, 13, 14}.x series
Peter Korsgaard [Sun, 12 Sep 2021 07:53:53 +0000 (09:53 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 10, 13, 14}.x series

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/boost: fix math with no atomics
Michael Nosthoff [Sun, 12 Sep 2021 09:12:16 +0000 (11:12 +0200)]
package/boost: fix math with no atomics

Boost 1.77.0 broke the build of the math component on architectures
without lockfree atomics. This was reported in [0].

This patch adds the relevant patches from the upstream patchset[1] which fix the build
and removes the dependency on BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS

[0] https://github.com/boostorg/math/issues/673
[1] https://github.com/boostorg/math/pull/684

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/util-linux: disable raw with kernel >= 5.14
Fabrice Fontaine [Sun, 12 Sep 2021 09:11:36 +0000 (11:11 +0200)]
package/util-linux: disable raw with kernel >= 5.14

raw has been dropped from kernel since version 5.14 and
https://github.com/torvalds/linux/commit/603e4922f1c81fc2ed3a87b4f91a8d3aafc7e093
resulting in the following build failure:

configure: error: raw selected, but required raw.h header file not available

https://github.com/karelzak/util-linux/issues/1442

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/uboot: copy IMX firmware files to uboot package dir
Heiko Thiery [Sun, 12 Sep 2021 05:09:06 +0000 (07:09 +0200)]
boot/uboot: copy IMX firmware files to uboot package dir

The mainline U-Boot can create an i.MX specific firmware image (e.g. flash.bin).
For this the i.MX firmware files (DDR, HDMI) must be in the toplevel directory.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
[yann.morin.1998@free.fr: simplify hook]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/rpm: support lua v5.3+
James Knight [Sun, 12 Sep 2021 00:42:13 +0000 (20:42 -0400)]
package/rpm: support lua v5.3+

The version bump [1] for the rpm package to v4.17 added the newly
required dependency to Lua; however, the change limited support to only
v5.3 (and not higher). Correcting support for v5.3 or higher by making
a dependency on the Lua package and omitting older versions which are
not supported (specifically, the v5.1 series)

[1]: 429e247b869027f6ecd4efa0f31bccd2765e3875

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/linux-headers: drop 5.11.x / 5.12.x headers
Peter Korsgaard [Sat, 11 Sep 2021 13:37:46 +0000 (15:37 +0200)]
package/linux-headers: drop 5.11.x / 5.12.x headers

The 5.11.x and 5.12.xx series are now EOL, so drop them.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/openjdk: needs host gcc >= 4.9
Fabrice Fontaine [Sat, 11 Sep 2021 21:40:35 +0000 (23:40 +0200)]
package/openjdk: needs host gcc >= 4.9

openjdk needs host gcc >= 4.9 since bump to version 16.0.1+9 in commit
057e27029c9811ba8cc4922e30cc3878bed98807 and
https://github.com/openjdk/jdk/commit/2a8f92e7e71f7c1ed4010fa31f4b413758c8752a:

configure: Using gcc BuildC compiler version 4.8.5 [cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)]
configure: Using gcc BuildC++ compiler version 4.8.5 [g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)]
configure: Using gcc build linker version 2.27 [GNU ld version 2.27-44.base.el7]

[...]

g++: error: unrecognized command line option '-std=c++14'

Add a dependency on host gcc >= 4.9 for the OpenJDK 16 version only, so
that users can still use OpenJDK 11 on older distributions.

Fixes:
 - http://autobuild.buildroot.org/results/7072308d148ccb8237180729551df65c87a76f11

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: limit the dependency to OpenJDK 16]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/rpm: fix recursive dependency
Fabrice Fontaine [Sat, 11 Sep 2021 21:17:24 +0000 (23:17 +0200)]
package/rpm: fix recursive dependency

Fix the following recursive dependency added with commit
429e247b869027f6ecd4efa0f31bccd2765e3875:

package/openssl/Config.in:4:error: recursive dependency detected!
package/openssl/Config.in:4: symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_LIBGCRYPT
package/libgcrypt/Config.in:1: symbol BR2_PACKAGE_LIBGCRYPT is selected by BR2_PACKAGE_OPENSSL

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/uboot: copy ATF bl31 binary to uboot package dir
Heiko Thiery [Fri, 10 Sep 2021 14:09:27 +0000 (16:09 +0200)]
boot/uboot: copy ATF bl31 binary to uboot package dir

If the ATF binary is used by U-Boot, the file is expected to be in the
toplevel directory.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/freescale-imx/firmware-imx: copy all (lp)ddr files unconditionaly
Heiko Thiery [Fri, 10 Sep 2021 14:09:25 +0000 (16:09 +0200)]
package/freescale-imx/firmware-imx: copy all (lp)ddr files unconditionaly

In mainline u-boot more and more imx8 boards are switched to binman
to create the imx specific image (flash.bin). To support this the
(lp)ddr firmware training files are needed. For this to work all files
should be made available to the U-Boot build.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libcamera: bump to version e355ca0087cd93ef80f74c61018e9e9228a93313
James Hilliard [Thu, 9 Sep 2021 23:56:35 +0000 (17:56 -0600)]
package/libcamera: bump to version e355ca0087cd93ef80f74c61018e9e9228a93313

Drop patch that is now upstream.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/boost: fix fiber dependencies
Fabrice Fontaine [Sun, 5 Sep 2021 18:25:08 +0000 (20:25 +0200)]
package/boost: fix fiber dependencies

Commit d39d8f7cee9b4634e6f490020204f63fae419e8e forgot to update fiber
dependencies resulting in the following build failure:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_BOOST_FILESYSTEM
  Depends on [n]: BR2_PACKAGE_BOOST [=y] && BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS [=n]
  Selected by [y]:
  - BR2_PACKAGE_BOOST_FIBER [=y] && BR2_PACKAGE_BOOST [=y] && BR2_PACKAGE_BOOST_CONTEXT_ARCH_SUPPORTS [=y] && BR2_TOOLCHAIN_HAS_THREADS_NPTL [=y] && !BR2_MIPS_CPU_MIPS32 [=n] && !BR2_MIPS_CPU_MIPS64 [=n] && (BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS [=n] || BR2_TOOLCHAIN_GCC_AT_LEAST_6 [=y]) && !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 [=n]

Fixes:
 - http://autobuild.buildroot.org/results/40b8af6ce273ebd5fca56d6734f64dacd562efb1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/osm2pgsql: needs gcc >= 4.9
Fabrice Fontaine [Sun, 5 Sep 2021 08:40:45 +0000 (10:40 +0200)]
package/osm2pgsql: needs gcc >= 4.9

osm2pgsql needs C++14 since bump to version 1.5.1 in commit
a71661ffb216c7423dcd02ec9e8d703252dbcbad and
https://github.com/openstreetmap/osm2pgsql/commit/d35dd358d6e4a88a792be60c85bf55d2360c1a71
to avoid the following build failure:

/home/buildroot/autobuild/instance-1/output-1/build/osm2pgsql-1.5.1/src/db-copy.cpp: In member function 'void db_copy_thread_t::sync_and_wait()':
/home/buildroot/autobuild/instance-1/output-1/build/osm2pgsql-1.5.1/src/db-copy.cpp:108:16: error: 'make_unique' is not a member of 'std'
     add_buffer(std::make_unique<db_cmd_sync_t>(std::move(barrier)));
                ^

Fixes:
 - http://autobuild.buildroot.org/results/30ae4b9405454919437098d29abbd743638c9423

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Maxim Kochetkov <fido_max@inbox.ru>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/tvheadend: fix python3 detection
Bernd Kuhls [Sun, 5 Sep 2021 06:50:36 +0000 (08:50 +0200)]
package/tvheadend: fix python3 detection

Fixes:
http://autobuild.buildroot.net/results/101/101d1caa355c2d7ee1762b394c1bf4e29350bd06//

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoutils/getdeveloperlib.py: force foward-slash for pattern matching
James Knight [Sun, 5 Sep 2021 01:35:20 +0000 (21:35 -0400)]
utils/getdeveloperlib.py: force foward-slash for pattern matching

Force relative file path resolution of DEVELOPERS file entries to use
forward-slash separators since pattern matching assumes forward slashes.
This is to help permit uses invoking `get-developers` on Platforms where
`os.sep` may not be a forward slash.

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/rpm: introduce rpm2archive option
James Knight [Sat, 4 Sep 2021 20:40:25 +0000 (16:40 -0400)]
package/rpm: introduce rpm2archive option

Adjust the inclusion of the rpm2archive command as an option, to allow a
developer to opt-out of building/including the command if it is not
desired/needed for the target.

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/rpm: explicit audit option
James Knight [Sat, 4 Sep 2021 20:40:24 +0000 (16:40 -0400)]
package/rpm: explicit audit option

Support for Linux audit has existed [1] since a v4.15 release; manage
the configuration option explicitly.

[1]: https://github.com/rpm-software-management/rpm/commit/ad16a04b6e41612cdef6ab8755ad31c8b880a9fd

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/rpm: bump version to 4.17.0
James Knight [Sat, 4 Sep 2021 20:40:23 +0000 (16:40 -0400)]
package/rpm: bump version to 4.17.0

Bumping the version of the rpm package to v4.17. This new release
includes a series of key changes [1], notables includes:

 - Explicit requirement for lua v5.3+.
 - Berkeley DB database backend has been dropped.
 - beecrypt and NSS crypto backends have been dropped.

The argument `--with-external-db` was tied to Berkeley-related support,
which was removed in an older revision [2]. The argument
`--without-hackingdocs` was dropped in an older revision [3].

[1]: https://rpm.org/wiki/Releases/4.17.0
[2]: https://github.com/rpm-software-management/rpm/commit/e1d3811883dc9fe79fe7b5ff90f69b9998611128
[3]: https://github.com/rpm-software-management/rpm/commit/3017eae9a3952823f80932e84a7a1e81f983639a

Signed-off-by: James Knight <james.d.knight@live.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/uboot-tools: fix MKIMAGE_ARCH handling
Fabrice Fontaine [Wed, 8 Sep 2021 16:45:36 +0000 (18:45 +0200)]
package/uboot-tools: fix MKIMAGE_ARCH handling

Fix MKIMAGE_ARCH handling to avoid the following build failure:

/home/buildroot/autobuild/instance-0/output-1/build/host-uboot-tools-2021.07/tools/mkimage -C none -A openrisc -T script -d /home/buildroot/autobuild/instance-0/output-1/boot_script.txt /home/buildroot/autobuild/instance-0/output-1/build/host-uboot-tools-2021.07/tools/boot.scr

Invalid architecture, supported are:
alpha            Alpha
arc              ARC
arm              ARM
arm64            AArch64
avr32            AVR32
blackfin         Blackfin
ia64             IA64
invalid          Invalid ARCH
m68k             M68K
microblaze       MicroBlaze
mips             MIPS
mips64           MIPS 64 Bit
nds32            NDS32
nios2            NIOS II
or1k             OpenRISC 1000
powerpc          PowerPC
riscv            RISC-V
s390             IBM S390
sandbox          Sandbox
sh               SuperH
sparc            SPARC
sparc64          SPARC 64 Bit
x86              Intel x86
x86_64           AMD x86_64
xtensa           Xtensa

Strangely enough, we only have autobuilder failures since July 2021 even
as or1k has been used since the addition of openriscv support in 2012:
https://github.com/u-boot/u-boot/commit/3ddcaccda3824e1c7f7266d543e4c0eb3ea9851c

For x86)64, we incorrectly mangle it to x86.

Finally, the comment about mips64 is wrong: mips64 *is* a valid
archtecture, and we anyway had no code to tweak that case.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: extend commit log for mips64 and x86_64]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/nginx-dav-ext: needs libxslt
Fabrice Fontaine [Sat, 4 Sep 2021 11:36:32 +0000 (13:36 +0200)]
package/nginx-dav-ext: needs libxslt

Build is broken since bump to version 3.0.0 in commit
45524f10cd84855868c9be3901c2bd6ea1c9f079 because libxslt is needed
instead of expat since
https://github.com/arut/nginx-dav-ext-module/commit/37772c545314aa4a250066f4e7cbc8806d406fa8:

adding module in /tmp/instance-0/output-1/build/nginx-dav-ext-3.0.0
 + ngx_http_dav_ext_module was configured
checking for PCRE library ... found
checking for PCRE JIT support ... found
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxslt', required by 'virtual:world', not found
Package libxslt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libxslt.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libxslt', required by 'virtual:world', not found
checking for libxslt ... not found
checking for libxslt in /usr/local/ ... not found
checking for libxslt in /usr/pkg/ ... not found
checking for libxslt in /opt/local/ ... not found

./configure: error: the HTTP XSLT module requires the libxml2/libxslt
libraries. You can either do not enable the module or install the libraries.

Fixes:
 - http://autobuild.buildroot.org/results/8735d20ca7ccf4eda2f79f9400bed70474855b40

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libvirt: fix build with lvm2
Fabrice Fontaine [Sat, 4 Sep 2021 09:54:03 +0000 (11:54 +0200)]
package/libvirt: fix build with lvm2

libvirt needs a lvm2 standard install since its addition in commit
ccfc90e1010e42e6529afae3a5ea8bf7226dabc1 to avoid the following build
failure:

../output-1/build/libvirt-7.4.0/meson.build:1831:6: ERROR: Program 'pvcreate' not found

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection: Add QEMU_USERMODE_ARGS support
Adam Duskett [Fri, 3 Sep 2021 16:20:27 +0000 (09:20 -0700)]
package/gobject-introspection: Add QEMU_USERMODE_ARGS support

Now that the qemu package has the BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string,
the gobject-introspection g-ir-scanner-qemuwrapper script can pass that string
to qemu.

Add the QEMU_USERMODE_ARGS to g-ir-scanner-qemuwrapper.in and unconditionally
sed @QEMU_USERMODE_ARGS@ with BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS.

Fixes:
http://autobuild.buildroot.org/results/2e9dbc0d36600c09fa9e59ab1b1903c9f40661e8

Signed-off-by: Adam Duskett <aduskett@gmail.com>
[Arnout: don't add QEMU_USERMODE_ARGS variable to shell script]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string
Adam Duskett [Fri, 3 Sep 2021 16:20:26 +0000 (09:20 -0700)]
package/qemu: add BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS string

For specific architectures, running qemu in user mode without any additional
options may fail if the host processor does not have the necessary instructions
to properly run qemu in user mode, which results in the following error:
"qemu: uncaught target signal 4 (Illegal instruction) - core dumped"

CoreI7 is one such architecture that has had consistent auto-build failures.

Add a new string in qemu/Config.in.host: BR2_PACKAGE_HOST_QEMU_USER_MODE_ARGS.
The default for the Corei7 architecture is directly from the OpenEmbedded
project found in meta/conf/machine/include/x86/tune-corei7.inc:
"-cpu Nehalem,check=false." Other architectures may be added to this string at
a later date if other failures occure.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection/g-ir-compiler.in: Fix shellcheck warnings, switch to sh
Adam Duskett [Fri, 3 Sep 2021 16:20:25 +0000 (09:20 -0700)]
package/gobject-introspection/g-ir-compiler.in: Fix shellcheck warnings, switch to sh

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection/g-ir-scanner-lddwrapper.in: Fix shellcheck warnings...
Adam Duskett [Fri, 3 Sep 2021 16:20:24 +0000 (09:20 -0700)]
package/gobject-introspection/g-ir-scanner-lddwrapper.in: Fix shellcheck warnings, switch to sh

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection/g-ir-scanner.in: Fix shellcheck warnings, switch to sh
Adam Duskett [Fri, 3 Sep 2021 16:20:23 +0000 (09:20 -0700)]
package/gobject-introspection/g-ir-scanner.in: Fix shellcheck warnings, switch to sh

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agog-ir-scanner-qemuwrapper.in: Fix shellcheck warnings, switch to sh
Adam Duskett [Fri, 3 Sep 2021 16:20:22 +0000 (09:20 -0700)]
g-ir-scanner-qemuwrapper.in: Fix shellcheck warnings, switch to sh

- Add double quotes to prevent globbing and word splitting.
  - Add indentations of continuation lines.
  - Disable SC2181 and SC2016 as we explicitly do not want the variables
    expanded in the echo.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection/g-ir-scanner-qemuwrapper.in: Fix latent bug if GIR_EXTR...
Adam Duskett [Fri, 3 Sep 2021 16:20:21 +0000 (09:20 -0700)]
package/gobject-introspection/g-ir-scanner-qemuwrapper.in: Fix latent bug if GIR_EXTRA_LIBS_PATH is empty

If GIR_EXTRA_LIBS_PATH is empty, the LD_LIBRARY_PATH variable is
":.libs:$(dirname $0)/../lib:$(dirname $0)/../../lib".

As discussed with Yann Morin, add a new variable, "GOI_LIBRARY_PATH" and
prepend ${GIR_EXTRA_LIBS_PATH:+${GIR_EXTRA_LIBS_PATH}:} to the path to fix the
above bug.

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/systemd: bump to version 249.4
James Hilliard [Fri, 3 Sep 2021 10:39:24 +0000 (04:39 -0600)]
package/systemd: bump to version 249.4

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopru-software-support: bump to latest version 5.8.0
Ash Charles [Wed, 1 Sep 2021 12:48:37 +0000 (08:48 -0400)]
pru-software-support: bump to latest version 5.8.0

Update to the latest version of the PRU software support [1]. The
license file remains the same.

[1] https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libglib2: fix build with glibc >= 2.34
Fabrice Fontaine [Sat, 4 Sep 2021 22:31:15 +0000 (00:31 +0200)]
package/libglib2: fix build with glibc >= 2.34

Fix the following build failure with glibc >= 2.34:

../glib/gspawn.c: In function 'safe_closefrom':
../glib/gspawn.c:1497:7: error: too few arguments to function 'close_range'
 1497 |   if (close_range (lowfd, G_MAXUINT) != 0 && errno == ENOSYS)
      |       ^~~~~~~~~~~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Tested-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/zip: fix musl static build
Fabrice Fontaine [Tue, 31 Aug 2021 19:58:12 +0000 (21:58 +0200)]
package/zip: fix musl static build

Fix the following static build failure on musl which is raised because
the "Check for directory libraries" in configure wrongly adds -DNO_DIR
when no directory library is needed:

/tmp/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -c -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -I. -DUNIX -DUIDGID_NOT_16BIT -DBZIP2_SUPPORT -DLARGE_FILE_SUPPORT -DUNICODE_SUPPORT -DNO_MKTIME -DNO_DIR -DHAVE_DIRENT_H -DHAVE_TERMIOS_H unix/unix.c
unix/unix.c:70:14: error: conflicting types for 'DIR'
   70 | typedef FILE DIR;
      |              ^~~

Fixes:
 - http://autobuild.buildroot.org/results/83a6e0c8c4ad026cb0261246e3b1a80d754454bd

Patch not sent upstream since upstream is dead.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain/toolchain-external: update Arm AArch64 BE toolchain 10.3-2021.07
Romain Naour [Tue, 31 Aug 2021 19:27:29 +0000 (21:27 +0200)]
toolchain/toolchain-external: update Arm AArch64 BE toolchain 10.3-2021.07

Update to gcc 10.3, gdb 10.2, binutils 2.36.1, glibc 2.33.

Remove BR2_TOOLCHAIN_HAS_NATIVE_RPC since the support for obsolete
RPC was finally dropped in glibc in 2.32 (2020-08-04).

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain/toolchain-external: update Arm AArch64 toolchain 10.3-2021.07
Romain Naour [Tue, 31 Aug 2021 19:27:28 +0000 (21:27 +0200)]
toolchain/toolchain-external: update Arm AArch64 toolchain 10.3-2021.07

Update to gcc 10.3, gdb 10.2, binutils 2.36.1, glibc 2.33.

Remove BR2_TOOLCHAIN_HAS_NATIVE_RPC since the support for obsolete
RPC was finally dropped in glibc in 2.32 (2020-08-04).

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_aarch64_virt_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain/toolchain-external: update Arm ARM toolchain 10.3-2021.07
Romain Naour [Tue, 31 Aug 2021 19:27:27 +0000 (21:27 +0200)]
toolchain/toolchain-external: update Arm ARM toolchain 10.3-2021.07

Update to gcc 10.3, gdb 10.2, binutils 2.36.1, glibc 2.33.

Remove BR2_TOOLCHAIN_HAS_NATIVE_RPC since the support for obsolete
RPC was finally dropped in glibc in 2.32 (2020-08-04).

See "Release Note":
https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads#

Tested with qemu_arm_vexpress_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/ruby: fix build failure due to gcc bug 83143
Giulio Benetti [Tue, 31 Aug 2021 17:38:00 +0000 (19:38 +0200)]
package/ruby: fix build failure due to gcc bug 83143

The ruby package exhibits gcc bug 83143 when built for the SH4 architecture
with optimization enabled, which causes a build failure.

Differentely from other packages in Buildroot where we work around this
gcc bug by setting optimization to -O0 we can use -freorder-blocks-algorithm=simple
as suggested here [1] if BR2_TOOLCHAIN_HAS_GCC_BUG_83143=y.

Fixes:
http://autobuild.buildroot.net/results/f57/f5742e7fb6e8142bcdb53b7f4f5e9c1bea3558cd/

[1]: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143#c15

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agotoolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_83143
Giulio Benetti [Tue, 31 Aug 2021 17:37:59 +0000 (19:37 +0200)]
toolchain: introduce BR2_TOOLCHAIN_HAS_GCC_BUG_83143

ruby package fails to build for the SH4 architecture with optimization
enabled with gcc = 9.3.0:
http://autobuild.buildroot.net/results/f57/f5742e7fb6e8142bcdb53b7f4f5e9c1bea3558cd/

It's already been reported upstream:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83143

Anyway let's assume all SuperH(BR2_sh) have this bug according to:
http://lists.busybox.net/pipermail/buildroot/2021-August/621906.html

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gcc: bump version 11.x to 11.2.0
Michael Fischer [Tue, 31 Aug 2021 07:35:55 +0000 (09:35 +0200)]
package/gcc: bump version 11.x to 11.2.0

patch 0001: already applied upstream

Signed-off-by: Michael Fischer <mf@go-sys.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoconfigs/stm32mp157c_odyssey: new defconfig
Simon Doppler [Tue, 31 Aug 2021 07:21:12 +0000 (07:21 +0000)]
configs/stm32mp157c_odyssey: new defconfig

STM32MP157C-Odyssey reference:
https://wiki.seeedstudio.com/ODYSSEY-STM32MP157C/

Signed-off-by: Simon Doppler <dopsi@dopsi.ch>
[Arnout: use default rootfs size, remove version-specific dir from
         patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/polkit: switch to meson-package
Fabrice Fontaine [Mon, 30 Aug 2021 21:50:32 +0000 (23:50 +0200)]
package/polkit: switch to meson-package

Switch to meson-package to fix the following build failure raised since
bump of gobject-introspection to version 1.68.0 in commit
abc110e3624aa4e8a9bd8595b3fdc0aec60845e0:

Could not find GIR file 'Gio-2.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file Polkit-1.0.gir: Failed to parse included gir Gio-2.0
If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the .mk file should help.
Typically like this: PKG_MAKE_ENV += GIR_EXTRA_LIBS_PATH="$(@D)/.libs"

Fixes:
 - http://autobuild.buildroot.org/results/26bcb21900b403db690d6005dbef0a76ff494d6c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/harfbuzz: work around arc gcc10 bug
Giulio Benetti [Wed, 8 Sep 2021 21:57:40 +0000 (23:57 +0200)]
package/harfbuzz: work around arc gcc10 bug

With BR2_GCC_VERSION_ARC=y(arc gcc10) harfbuzz package exhibits a gcc bug
that makes build to fail. This bug is found only in official arc gcc10
provided by Synopsis, so we can't use the BR2_TOOLCHAIN_HAS_GCC_BUG_
approach since bug can't be even filed in gcc bugzilla.
To work around this, if BR2_GCC_VERSION_ARC=y we force using -O0.

Fixes:
http://autobuild.buildroot.net/results/e4d/e4da9ba40c8f4567601d404e20dd6a0b322210c2/

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/xmrig: bump version to 6.15.0
Bernd Kuhls [Thu, 2 Sep 2021 04:44:51 +0000 (06:44 +0200)]
package/xmrig: bump version to 6.15.0

Changelog:
https://github.com/xmrig/xmrig/blob/master/CHANGELOG.md

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/ibm-sw-tpm2: bump version to 1661
Philippe Reynes [Thu, 2 Sep 2021 16:24:51 +0000 (18:24 +0200)]
package/ibm-sw-tpm2: bump version to 1661

Bump the version to 1661 and remove the patch
0002-Remove-unused-global-variable-to-fix-compilation-with-GCC-10.patch.
This patch is no longer needed because the fix has been added upstream.

Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/environment-setup/environment-setup: add zsh
Krzysztof Kanas [Thu, 2 Sep 2021 11:28:50 +0000 (13:28 +0200)]
package/environment-setup/environment-setup: add zsh

environment-setup uses BASH_SOURCE which is bash specific. For other
shells, this variable is empty, leading to an error message and empty
SDK_PATH.
Zsh Uses $0. Unfortunately POSIX is not specifying how exactly $0
should behave when in sourced (or using special dot utility). So other
shell support have to be implemented in different manner.

Signed-off-by: Krzysztof Kanas <kkanas@fastmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/modem-manager: bump version to 1.16.10
Petr Vorel [Wed, 1 Sep 2021 17:48:18 +0000 (19:48 +0200)]
package/modem-manager: bump version to 1.16.10

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/mc: security bump version to 4.8.27
Bernd Kuhls [Thu, 2 Sep 2021 15:43:59 +0000 (17:43 +0200)]
package/mc: security bump version to 4.8.27

Removed patch which was backported from upstream and is now included in
this release.

Changelog: https://midnight-commander.org/wiki/NEWS-4.8.27

Fixes CVE-2021-36370:
https://mail.gnome.org/archives/mc/2021-August/msg00010.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/iproute2: bump version to 5.14.0
Petr Vorel [Wed, 1 Sep 2021 17:46:25 +0000 (19:46 +0200)]
package/iproute2: bump version to 5.14.0

Drop patch from this release.

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gobject-introspection: fix --includedir
Fabrice Fontaine [Wed, 1 Sep 2021 19:13:06 +0000 (21:13 +0200)]
package/gobject-introspection: fix --includedir

Set includedir to $(STAGING_DIR)/usr/share/gir-1.0 instead of . in
Makefile.introspection or g-ir-compiler won't find .gir files resulting
in a build failure for autotools-based based programs such as gconf
since bump of gobject-introspection to version 1.68.0 in commit
abc110e3624aa4e8a9bd8595b3fdc0aec60845e0:

Could not find GIR file 'GObject-2.0.gir'; check XDG_DATA_DIRS or use --includedir
error parsing file GConf-2.0.gir: Failed to parse included gir GObject-2.0

Fixes:
 - http://autobuild.buildroot.org/results/8180d893cbd27512915a7f8a3adb232b93a98ceb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/smcroute: prune old smcroute compat script
Joachim Wiberg [Mon, 30 Aug 2021 15:30:56 +0000 (17:30 +0200)]
package/smcroute: prune old smcroute compat script

Long ago, before SMCRoute had yet become a proper daemon and standalone
control tool, it was both.  After the metamorphosis commands and options
had changed, a compat script was added to provide a smooth transition.

The compat script is still shipped in the tarball, and installed, but
only Debian still relies on it, so we prune it here to keep confusion
to a minimum, hopefully.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/smcroute: add sysv init script
Joachim Wiberg [Mon, 30 Aug 2021 15:30:55 +0000 (17:30 +0200)]
package/smcroute: add sysv init script

Same start order as mrouted, start after networking is up.

Custom command line options, like startup delay, or disable multicast
routing by default, can be added to the optional /etc/default/smcroute
env. file.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/smcroute: bump version to v2.5.2
Joachim Wiberg [Mon, 30 Aug 2021 15:30:54 +0000 (17:30 +0200)]
package/smcroute: bump version to v2.5.2

- Upstream has changed to tar.gz
 - Drop _SOURCE, fixes check-package warning
 - setpgrp not used anymore, no need to override configure cache
 - Makefile no longer uses CC?=, drop comment
 - Enable MRDISC build option, must be activated per phyint in
   smcroute.conf, so safe to enable as a default build option

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/vuejs-router: bump version to 4.0.11
Thomas Claveirole [Mon, 30 Aug 2021 11:24:31 +0000 (13:24 +0200)]
package/vuejs-router: bump version to 4.0.11

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/vuejs: bump version to 3.2.6
Thomas Claveirole [Mon, 30 Aug 2021 11:24:30 +0000 (13:24 +0200)]
package/vuejs: bump version to 3.2.6

Also correct the comment about installing the minified js file, which
was changed with the update to 3.0.5 in commit 42bf38dca.

Signed-off-by: Thomas Claveirole <thomas.claveirole@green-communications.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libiio: fix python build
Fabrice Fontaine [Sun, 5 Sep 2021 19:26:48 +0000 (21:26 +0200)]
package/libiio: fix python build

python bindings needs setuptools since bump to version 0.23 in commit
50b6d7d69f880e940d7c281c493a6a6694d6ebe3 and
https://github.com/analogdevicesinc/libiio/commit/21023a538b125dee966bf496dcad019ee20967bd

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libiio: fix C# build
Fabrice Fontaine [Sun, 5 Sep 2021 19:25:48 +0000 (21:25 +0200)]
package/libiio: fix C# build

C# build is broken since bump to version 0.23 in commit
50b6d7d69f880e940d7c281c493a6a6694d6ebe3:

/tmp/instance-0/output-1/build/libiio-0.23/bindings/csharp/Device.cs(211,32): error CS0106: The modifier `readonly' is not valid for this item

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/libiio: drop unrecognized options
Fabrice Fontaine [Sun, 29 Aug 2021 21:57:38 +0000 (23:57 +0200)]
package/libiio: drop unrecognized options

MATLAB_BINDINGS and WITH_MATLAB_BINDINGS_API have been dropped since
version 0.21 and
https://github.com/analogdevicesinc/libiio/commit/b968f81375b8e3e03467e2765173434dc6e1922c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-pvr-vuplus: bump version to 7.4.11-Matrix
Bernd Kuhls [Sun, 29 Aug 2021 11:39:15 +0000 (13:39 +0200)]
package/kodi-pvr-vuplus: bump version to 7.4.11-Matrix

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-pvr-iptvsimple: bump version to 7.6.10-Matrix
Bernd Kuhls [Sun, 29 Aug 2021 11:39:14 +0000 (13:39 +0200)]
package/kodi-pvr-iptvsimple: bump version to 7.6.10-Matrix

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-pvr-filmon: bump version to 6.1.3-Matrix
Bernd Kuhls [Sun, 29 Aug 2021 11:39:13 +0000 (13:39 +0200)]
package/kodi-pvr-filmon: bump version to 6.1.3-Matrix

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: add progress/usb services
James Hilliard [Sun, 29 Aug 2021 02:46:32 +0000 (20:46 -0600)]
package/swupdate: add progress/usb services

Install progress/usb services for swupdate based on meta-swupdate
configs.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: prevent systemd from removing swupdate tmp folders
James Hilliard [Sun, 29 Aug 2021 02:46:31 +0000 (20:46 -0600)]
package/swupdate: prevent systemd from removing swupdate tmp folders

Ensure these folders are excluded from being cleaned up by systemd.

Fixes:
[ERROR] : SWUPDATE failed [0] ERROR : I cannot open /tmp/scripts/format.lua 2
[ERROR] : SWUPDATE failed [0] ERROR : extracting script to /tmp/scripts/ failed
[ERROR] : SWUPDATE failed [1] Installation failed !

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: add webserver config option
James Hilliard [Sun, 29 Aug 2021 02:46:30 +0000 (20:46 -0600)]
package/swupdate: add webserver config option

Since the website depends on the webserver being enabled we should
add a config option for it and make the website depend on that.

We should also ensure that the mongoose(webserver) config is present.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: add comment on origin of services/configs
James Hilliard [Sun, 29 Aug 2021 02:46:29 +0000 (20:46 -0600)]
package/swupdate: add comment on origin of services/configs

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: enable/disable systemd support automatically
James Hilliard [Sun, 29 Aug 2021 02:46:28 +0000 (20:46 -0600)]
package/swupdate: enable/disable systemd support automatically

This needs to be set properly so that services work correctly.

Enable disable automatically based on BR2_PACKAGE_SYSTEMD state.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: use package make install for target install
James Hilliard [Sun, 29 Aug 2021 02:46:27 +0000 (20:46 -0600)]
package/swupdate: use package make install for target install

This ensures all tools/libraries will be properly installed.

Update SWUPDATE_BUILD_CMDS param ordering for consistency.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: don't require website for services
James Hilliard [Sun, 29 Aug 2021 02:46:26 +0000 (20:46 -0600)]
package/swupdate: don't require website for services

The swupdate services do not depend on
BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE, so install them unconditionally.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/swupdate: let buildroot handle stripping
James Hilliard [Sun, 29 Aug 2021 02:46:25 +0000 (20:46 -0600)]
package/swupdate: let buildroot handle stripping

In buildroot, stripping for the target is configured and implemented
with the global `BR2_STRIP_strip` option that drive the stripping in
the target-finalize step.

So, we explicitly disable stripping at build time for swupdate.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-pvr-zattoo: bump version to 19.7.10-Matrix
Bernd Kuhls [Sat, 28 Aug 2021 08:40:01 +0000 (10:40 +0200)]
package/kodi-pvr-zattoo: bump version to 19.7.10-Matrix

Release notes:
https://github.com/rbuehlma/pvr.zattoo/releases/tag/19.7.10-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-pvr-nextpvr: bump version to 8.2.7-Matrix
Bernd Kuhls [Sat, 28 Aug 2021 08:40:00 +0000 (10:40 +0200)]
package/kodi-pvr-nextpvr: bump version to 8.2.7-Matrix

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

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/kodi-audiodecoder-nosefart: bump version to 19.0.0-Matrix
Bernd Kuhls [Sat, 28 Aug 2021 08:39:59 +0000 (10:39 +0200)]
package/kodi-audiodecoder-nosefart: bump version to 19.0.0-Matrix

Release notes:
https://github.com/xbmc/audiodecoder.nosefart/releases/tag/19.0.0-Matrix

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agoconfigs/kontron_smarc_sal28: use kernel 5.14
Michael Walle [Mon, 6 Sep 2021 15:55:26 +0000 (17:55 +0200)]
configs/kontron_smarc_sal28: use kernel 5.14

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years ago{linux, linux-headers}: add version 5.14
Michael Walle [Mon, 6 Sep 2021 15:55:25 +0000 (17:55 +0200)]
{linux, linux-headers}: add version 5.14

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dovecot-pigeonhole: bump version to 0.5.16
Bernd Kuhls [Sat, 28 Aug 2021 08:32:07 +0000 (10:32 +0200)]
package/dovecot-pigeonhole: bump version to 0.5.16

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-August/000464.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/dovecot: bump version to 2.3.16
Bernd Kuhls [Sat, 28 Aug 2021 08:32:06 +0000 (10:32 +0200)]
package/dovecot: bump version to 2.3.16

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-August/000463.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/{bluez5_utils, bluez5_utils-headers}: bump to version 5.61
Bernd Kuhls [Sat, 28 Aug 2021 07:46:44 +0000 (09:46 +0200)]
package/{bluez5_utils, bluez5_utils-headers}: bump to version 5.61

Release notes: http://www.bluez.org/release-of-bluez-5-61/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/qemu: fix fuse-lseek on uclibc-ng and musl
Fabrice Fontaine [Fri, 27 Aug 2021 22:05:31 +0000 (00:05 +0200)]
package/qemu: fix fuse-lseek on uclibc-ng and musl

Fix the following build failure on uclibc-ng raised since bump to
version 6.0.0 in commit 6b86c9335fc3ff381878156c6243454d4b688df9:

../block/export/fuse.c: In function 'fuse_lseek':
../block/export/fuse.c:641:19: error: 'SEEK_HOLE' undeclared (first use in this function)
  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
      |                   ^~~~~~~~~
../block/export/fuse.c:641:19: note: each undeclared identifier is reported only once for each function it appears in
../block/export/fuse.c:641:42: error: 'SEEK_DATA' undeclared (first use in this function); did you mean 'SEEK_SET'?
  641 |     if (whence != SEEK_HOLE && whence != SEEK_DATA) {
      |                                          ^~~~~~~~~
      |                                          SEEK_SET

Fixes:
 - http://autobuild.buildroot.org/results/33c90ebf04997f4d3557cfa66abc9cf9a3076137

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/pipewire: alsa needs seq
Fabrice Fontaine [Wed, 8 Sep 2021 06:31:23 +0000 (08:31 +0200)]
package/pipewire: alsa needs seq

alsa unconditionally uses seq since version 0.2.90 and
https://github.com/PipeWire/pipewire/commit/818fb9e904a3ea43ba313994e404f1b63833c548
which will result in the following build failure since commit
a6d88d3ba5e30e11f4d726f341bc56c1be7c71c9:

In file included from ../spa/plugins/alsa/alsa-seq-bridge.c:44:
../spa/plugins/alsa/alsa-seq.h:71:2: error: unknown type name 'snd_seq_addr_t'
   71 |  snd_seq_addr_t addr;
      |  ^~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/65e3a9185b3b84ad78cd05f788f741b8734d2bbc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agosupport/testing/tests/fs: test OCI format
Matthew Weber via buildroot [Fri, 27 Aug 2021 20:54:30 +0000 (15:54 -0500)]
support/testing/tests/fs: test OCI format

This patch adds runtime testing of the OCI archive created by the
sloci scripting. It launches a containerd instance, imports, and
runs the OCI container.

The existing QEMU AARCH64 kernel config was extended to enable common
options used by a container runtime (cgroup and overlayfs).

Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout: adapt file name which is arm64 now; add to DEVELOPERS]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agofs: new OCI filesystem type
Sergio Prado [Fri, 27 Aug 2021 20:54:29 +0000 (15:54 -0500)]
fs: new OCI filesystem type

Add support to generate OCI (Open Container Initiative) images.

An OCI image consists of a manifest, an image index (optional), a set of
filesystem layers, and a configuration. The complete specification is
available in the link below:

https://github.com/opencontainers/image-spec/blob/master/spec.md

The image is generated with the host tool sloci-image, and config
options can be used to configure image parameters.

By default, the image is generated in a directory called rootfs-oci:

$ cd output/images
$ ls rootfs-oci/
blobs  index.json  oci-layout

Optionally, the image can be packed into a tar archive.

The image can be pushed to a registry using containers tools like
skopeo:

$ skopeo copy --dest-creds <user>:<pass> oci:rootfs-oci:<tag> \
docker://<user>/<image>[:tag]

And then we can pull/run the container image with tools like docker:

$ docker run -it <user>/<image>[:tag]

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout:
 - mention in help text that options are space separated;
 - use GO_GOARCH and GO_GOARM for architecture;
 - quote all arguments;
 - don't cd to BINARIES_DIR;
 - remove ROOTFS_OCI_IMAGE_NAME variable;
 - remove wildcard from rm.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/sloci-image: new host package
Sergio Prado [Fri, 27 Aug 2021 20:54:28 +0000 (15:54 -0500)]
package/sloci-image: new host package

sloci-image is a simple CLI tool for packing rootfs into a single-layer
OCI image.

Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com>
Signed-off-by: Matthew Weber <matthew.weber@collins.com>
[Arnout: correctly set PREFIX, add Matt to DEVELOPERS, add additional
         patch]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/gnuradio: fix build with boost 1.77.0
Fabrice Fontaine [Fri, 10 Sep 2021 06:37:42 +0000 (08:37 +0200)]
package/gnuradio: fix build with boost 1.77.0

Fix the following build failure raised since commit
d39d8f7cee9b4634e6f490020204f63fae419e8e:

In file included from /home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/boost/math/common_factor.hpp:14,
                 from /home/buildroot/autobuild/instance-3/output-1/build/gnuradio-3.8.2.0/gr-digital/lib/symbol_sync_cc_impl.cc:30:
/home/buildroot/autobuild/instance-3/output-1/host/x86_64-buildroot-linux-musl/sysroot/usr/include/boost/math/common_factor_ct.hpp:17:68: error: _Pragma takes a parenthesized string literal
   17 | BOOST_MATH_HEADER_DEPRECATED("<boost/integer/common_factor_ct.hpp>");
      |

Fixes:
 - http://autobuild.buildroot.org/results/7b4/7b46f51588144bca1d323230c378ce7f6ee999a8/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/autofs: fix build with glibc >= 2.34
Fabrice Fontaine [Fri, 10 Sep 2021 20:59:23 +0000 (22:59 +0200)]
package/autofs: fix build with glibc >= 2.34

Fix the following build failure with glibc >= 2.34:

In file included from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/local_lim.h:81,
                 from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/posix1_lim.h:161,
                 from /tmp/instance-0/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/dirent.h:233,
                 from automount.c:22:
automount.c:87:37: error: initializer element is not constant
   87 | size_t detached_thread_stack_size = PTHREAD_STACK_MIN * 144;
      |                                     ^~~~~~~~~~~~~~~~~

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/openssl: fix spurious spaces
Fabrice Fontaine [Fri, 10 Sep 2021 21:05:32 +0000 (23:05 +0200)]
package/openssl: fix spurious spaces

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gst1-plugins-bayer2rgb-neon: enable for BR2_aarch64
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:26 +0000 (16:55 +0200)]
package/gst1-plugins-bayer2rgb-neon: enable for BR2_aarch64

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gst1-plugins-bayer2rgb-neon: bump to 0.6.1
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:25 +0000 (16:55 +0200)]
package/gst1-plugins-bayer2rgb-neon: bump to 0.6.1

Update SITE to be synced with bayer2rgb-neon.
Use git as METHOD because no tarball is available for this version.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: enable for BR2_aarch64
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:24 +0000 (16:55 +0200)]
package/bayer2rgb-neon: enable for BR2_aarch64

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: bump version to 0.6.1
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:23 +0000 (16:55 +0200)]
package/bayer2rgb-neon: bump version to 0.6.1

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bayer2rgb-neon: update URL in Config.in file
Sébastien Szymanski [Wed, 8 Sep 2021 14:55:22 +0000 (16:55 +0200)]
package/bayer2rgb-neon: update URL in Config.in file

The URL pointing to phytec.de is obsolete and not even used by
Buildroot.

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agotoolchain: reorder gcc bugs by number
Giulio Benetti [Wed, 8 Sep 2021 21:33:32 +0000 (23:33 +0200)]
toolchain: reorder gcc bugs by number

Reorder gcc bugs by number

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoDEVELOPERS: add myself to harfbuzz package
Giulio Benetti [Wed, 8 Sep 2021 22:15:16 +0000 (00:15 +0200)]
DEVELOPERS: add myself to harfbuzz package

Add myself to harfbuzz package.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/harfbuzz: bump to version 2.9.1
Giulio Benetti [Wed, 8 Sep 2021 22:15:15 +0000 (00:15 +0200)]
package/harfbuzz: bump to version 2.9.1

Bump to version 2.9.1

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/xscreensaver: needs xserver SELinux module
Fabrice Fontaine [Thu, 9 Sep 2021 06:01:29 +0000 (08:01 +0200)]
package/xscreensaver: needs xserver SELinux module

xserver is needed to fix the following build failure raised since commit
613827c5b0a2bf71320047954639dc9003524db0:

Compiling targeted policy.33
env LD_LIBRARY_PATH="/data/buildroot-autobuilder/instance-0/output-1/host/lib:/data/buildroot-autobuilder/instance-0/output-1/host/usr/lib" /data/buildroot-autobuilder/instance-0/output-1/host/usr/bin/checkpolicy -c 33 -U deny -S -O -E policy.conf -o policy.33
policy.conf:3071:ERROR 'attribute input_xevent_type is not declared' at token ';' on line 3071:
type xscreensaver_helper_t;
type xscreensaver_input_xevent_t, input_xevent_type, xevent_type;
checkpolicy:  error(s) encountered while parsing configuration
make[1]: *** [Rules.monolithic:79: policy.33] Error 1

Fixes:
 - http://autobuild.buildroot.org/results/2b5/2b546153ff8b9a11a5bb8475b918f220dd5b1787/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/sox: install to staging
Adrian Amaglio [Thu, 9 Sep 2021 09:14:53 +0000 (11:14 +0200)]
package/sox: install to staging

sox also provides one or more libraries with headers, so also install
sox to staging.

Signed-off-by: Adrian Amaglio <nainformatique@gresille.org>
[Giulio: reword commit log]
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr:
  - further refine commit log
  - move assignment in a more sensible location
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/gnuradio: drop gr-pager (gr-flex) option
Fabrice Fontaine [Fri, 10 Sep 2021 06:53:05 +0000 (08:53 +0200)]
package/gnuradio: drop gr-pager (gr-flex) option

gr-pager (labeled 'gr-flex' in our menuconfig) is not available since
bump to version 3.8.0.0 in commit 0d6a7b2981d4 (package/gnuradio: bump
to version 3.8.0.0) and upstream commit:
    https://github.com/gnuradio/gnuradio/commit/2d2caa205f3c3059deab7c82660908656167fd90

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/haproxy: security bump to version 2.4.4
Peter Korsgaard [Fri, 10 Sep 2021 14:02:40 +0000 (16:02 +0200)]
package/haproxy: security bump to version 2.4.4

Fixes the following security issues:

- CVE-2021-40346: An integer overflow exists in HAProxy 2.0 through 2.5 in
  the htx_add_header() can be exploited to perform an HTTP request smuggling
  attack, allowing an attacker to bypass all configured http-request HAProxy
  ACLs and possibly other ACLs.

For more details, see the advisory:
https://www.mail-archive.com/haproxy@formilux.org/msg41114.html

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libgcrypt: bump to version 1.9.4
Francois Perrad [Thu, 9 Sep 2021 08:35:25 +0000 (10:35 +0200)]
package/libgcrypt: bump to version 1.9.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>