buildroot.git
4 years agopackage/eigen: use cmake-package infra
Julien Olivain [Mon, 15 Jun 2020 18:49:11 +0000 (20:49 +0200)]
package/eigen: use cmake-package infra

The eigen package was introduced as a generic package, but upstream was
in fact using CMake.

The motivation of this change is to fix package detection with CMake.

Eigen3 library normally installs a signature file named
"signature_of_eigen3_matrix_library" to help library detection:
https://gitlab.com/libeigen/eigen/-/blob/3.3.7/CMakeLists.txt#L423

The library also provide a CMake macro that use this file to
detect it:
https://gitlab.com/libeigen/eigen/-/blob/3.3.7/cmake/FindEigen3.cmake#L76

Without the signature file installed, packages searching for this
library with this method will fail. Other packages usings pkg-config are
not affected by this issue.

By using the cmake-package infrastructure, all the needed files
are now installed, fixing this CMake detection issue.

Other changes in this patch:
- Updated the Eigen git repository to the new url:
  https://gitlab.com/libeigen/eigen
- Removed all build and install staging commands
  (now included in upstream cmake)
- Package needs EIGEN_SUPPORTS_IN_SOURCE_BUILD = NO
- Removed the BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES option,
  as this option is not proposed by the upstream CMake.
  Unsupported module header files are now unconditionally installed. As
  such, no need to introduce a legacy entry for
  BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES: users that had it enabled will
  still get the files installed, while those that did not will get them
  installed now.
- Updated hash for source package, because the first component in the
  stored paths changed from eigen-eigen-323c052e1731/ to eigen-3.3.7/
  and some mercurial related files (.hg_archival.txt, .hgtags) got
  dropped after the conversion to git.
- Reformat hash file with two spaces delimiters
- Define EIGEN_CONF_OPTS to set pkg-config .pc install path

Signed-off-by: Julien Olivain <juju@cotds.org>
Tested-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pkg-python: use a shell expansion for sysconfigdata_name
Adam Duskett [Fri, 5 Jun 2020 20:59:20 +0000 (13:59 -0700)]
package/pkg-python: use a shell expansion for sysconfigdata_name

Currently, GNU Make expands the Python SYSCONFIGDATA_NAME variable;
however, when building with per-package directories, this variable is
not set because the evaluation of this variable occurs before buildroot
creates the per-package directories of a given package.

This can be easily demonstrated with that trivial Makefile:

    $ cat Makefile
    BLA = $(wildcard bla)
    all:
        @echo 'BLA=$(BLA)'
        @touch bla
        @echo 'BLA=$(BLA)'

    $ make
    BLA=
    BLA=

    $ make
    BLA=bla
    BLA=bla

I.e. the variables are evaluated at the beginning of a recipe, not for
each line of the recipe.

There are two solutions to fix this problem:

  - add a step between "patch" and "configure," which would evaluate all
    of the variables after creating the per-package directories;

  - evaluate SYSCONFIGDATA_NAME via a shell expansion instead of
    Makefile, to postpone the effective ex[ansion to until after the
    file has been created.

Even though the first option is semantically the best solution, this is
also very intrusive, especially since python3 is so far the only case
where we would need it. The second option however is more expedient, adn
so this is what we're doing here.

We introduce PKG_PYTHON_SYSCONFIGDATA_PATH to avoid duplication and to
make the following line easier to read.

Then PKG_PYTHON_SYSCONFIGDATA_NAME is actually defined as a back-tick
shell expansion (although back-ticks have their drawbacks, using $(...)
in Makefile is not trivial either):

  - we test that the file does exist, to cover the python2 and python3
    cases: with python2, the file does not exist, so we want to expand
    to an empty string; 'basename' only works on the filename, and does
    not check the file actually exists;

  - if the file exist, we get its basename without the .py extension,
    and this makes our expansion;

  - the "|| true" is added to ensure the old behavior of returning an
    empty string if the file does not exist still works, when the
    expansion is attempted in a shell where 'set -e' is in effect (the
    test would fail with python2, but this is not an error).

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12941
Signed-off-by: Adam Duskett <Aduskett@gmail.com>
[yann.morin.1998@free.fr: slight rewording in commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopkg-python.mk: use PYTHON3_PATH instead of duplicating its value
Asaf Kahlon [Mon, 15 Jun 2020 18:46:32 +0000 (21:46 +0300)]
pkg-python.mk: use PYTHON3_PATH instead of duplicating its value

Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/readline: update homepage link
Baruch Siach [Mon, 15 Jun 2020 09:47:47 +0000 (12:47 +0300)]
package/readline: update homepage link

The old link is dead since 2017.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: sync user comments to upstream
Norbert Lange [Mon, 15 Jun 2020 07:20:45 +0000 (09:20 +0200)]
package/systemd: sync user comments to upstream

The necessary system users are documented in the projects README.

Description is matched to the ones in the upstream sysusers.d
files. Remove homedirectory (upstream doesnt care either).

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: create "remote" user if the feature is enabled
Norbert Lange [Mon, 15 Jun 2020 07:20:43 +0000 (09:20 +0200)]
package/systemd: create "remote" user if the feature is enabled

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/systemd: remove unused user accounts
Norbert Lange [Mon, 15 Jun 2020 07:20:42 +0000 (09:20 +0200)]
package/systemd: remove unused user accounts

Since V235 the "gateway" and "upload" services use DynamicUsers,
requiring no entries in /etc/passwd.
This functionality requires nss-systemd, which is always
enabled in buildroot.

The "bus-proxy" user was removed in V230.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy Rosen <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agoconfigs/orangepi_zero_defconfig: use python 3.x
Sergey Matyukevich [Mon, 15 Jun 2020 07:59:47 +0000 (10:59 +0300)]
configs/orangepi_zero_defconfig: use python 3.x

Orange Pi Zero defconfig has been updated to use U-Boot 2020.04 by
commit 9e2bfccf4da8 (configs/orangepi_zero: bump kernel and uboot
versions). Since then it requires Python 3.x on the host.

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

Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agocore/br2-external: report better error messages
Yann E. MORIN [Fri, 22 May 2020 21:39:05 +0000 (23:39 +0200)]
core/br2-external: report better error messages

The error is misleading: it reports that no name was provided,
when in fact the external.desc file is missing.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>p
Reviewed-by: Romain Naour <romain.naour@gmail.com>
4 years agocore/br2-external: fix reporting errors
Yann E. MORIN [Fri, 22 May 2020 21:15:52 +0000 (23:15 +0200)]
core/br2-external: fix reporting errors

When a br2-external tree has an issue, e.g. a missing file, or does not
have a name, or the name uses invalid chars, we report that condition by
setting the variable BR2_EXTERNAL_ERROR.

That variable is defined in the script support/scripts/br2-external,
which outputs it on stdout, and checked by the Makefile.

Before d027cd75d09, stdout was explicitly redirected to the generated
.mk file, with   exec >"${ofile}"   as the Makefile and Kconfig
fragments were generated each with their own call to the script, and
the validation phase would emit the BR2_EXTERNAL_ERROR variable in the
Makefile fragment.

But with d027cd75d09, both the Makefile and Kconfig fragments were now
generated with a single call to the script, and as such the semantics of
the scripts changed, and only each of the actual generators, do_mk and
do_kconfig, had their out put redirected. Which left do_validate with
the default stdout. Which would emit BR2_EXTERNAL_ERROR on stdout.

In turn, the stdout of the script would be interpreted by as part of the
Makefile. But this does not end up very well when a br2-external tree
indeed has an error:

  - missing a external.desc file:

    Makefile:184: *** multiple target patterns.  Stop.

  - empty external.desc file:

    Config.in:22: can't open file "output/.br2-external.in.paths"

So we must redirect the output of the validation step to the
Makefile fragment, so that the error message is correctly caught by the
top-level Makefile.

Note that we don't need to append in do_mk, and we can do an overwrite
redirection: if we go so far as to call do_mk, it means there was no
error, and thus the fragment is empty.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Tested-by: Romain Naour <romain.naour@gmail.com>
4 years agopackage/dbus: security bump to version 1.12.18
Fabrice Fontaine [Sun, 14 Jun 2020 19:44:01 +0000 (21:44 +0200)]
package/dbus: security bump to version 1.12.18

- Fix CVE-2020-12049: An issue was discovered in dbus >= 1.3.0 before
  1.12.18. The DBusServer in libdbus, as used in dbus-daemon, leaks file
  descriptors when a message exceeds the per-message file descriptor
  limit. A local attacker with access to the D-Bus system bus or another
  system service's private AF_UNIX socket could use this to make the
  system service reach its file descriptor limit, denying service to
  subsequent D-Bus clients.
- Also update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agotoolchain: adjust version check to allow for single numbers
Norbert Lange [Wed, 10 Jun 2020 23:53:12 +0000 (01:53 +0200)]
toolchain: adjust version check to allow for single numbers

A gcc compiler, which was configured with
--with-gcc-major-version-only, will only return a single
number. (debian does this for example).

A simple modification allows the check to work with both
single numbers (eg. '9') and full versions (eg. '9.2.1').

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boost: drop first patch
Fabrice Fontaine [Sun, 14 Jun 2020 18:46:47 +0000 (20:46 +0200)]
package/boost: drop first patch

First patch is not needed since version 1.67.0 and
https://github.com/boostorg/locale/commit/90dd8146fbb01fd0a1b0473ad5a5d28644b65e87

Indeed, since this bump, the patch is wrongly patching
virtual string_type format(double value,size_t &code_points) const

instead of:
virtual string_type format(int64_t value,size_t &code_points) const

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/linux-pam: fix build on musl
Fabrice Fontaine [Sun, 14 Jun 2020 16:55:49 +0000 (18:55 +0200)]
package/linux-pam: fix build on musl

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/linux-pam: fix build with uclibc
Fabrice Fontaine [Thu, 11 Jun 2020 11:28:20 +0000 (13:28 +0200)]
package/linux-pam: fix build with uclibc

Fixes:
 - http://autobuild.buildroot.org/results/92b3dd7c984d2b843ac9aacacd69eec99f28743e

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/php: bump version to 7.4.7
Bernd Kuhls [Sat, 13 Jun 2020 08:32:14 +0000 (10:32 +0200)]
package/php: bump version to 7.4.7

Changelog: https://www.php.net/ChangeLog-7.php#7.4.7

Contrary to the release notification on the mailinglist
https://news-web.php.net/php.announce/287
which declares this release as "security bug fix release" no CVE IDs
could be found on the bugtracker entries mentioned in the Changelog.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libzip: bump to version 1.7.1
Pierre-Jean Texier [Sat, 13 Jun 2020 13:31:33 +0000 (15:31 +0200)]
package/libzip: bump to version 1.7.1

See https://github.com/nih-at/libzip/releases

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-platform: bump version
Bernd Kuhls [Sun, 14 Jun 2020 14:22:19 +0000 (16:22 +0200)]
package/kodi-platform: bump version

Sent patch upstream and added URL for reference.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/pcsc-lite: bump to version 1.9.0
Fabrice Fontaine [Sun, 14 Jun 2020 15:45:57 +0000 (17:45 +0200)]
package/pcsc-lite: bump to version 1.9.0

ChangeLog:
- SCardEndTransaction(): greatly improve performances (x300)
- tokenparser: accept any Unicode character in a reader name
- Use /run instead of /var/run by default
- Fix a memory leak from a polkit call
- Some other minor improvements

Also update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/boost: bump version to 1.73.0
Bernd Kuhls [Sat, 13 Jun 2020 15:35:09 +0000 (17:35 +0200)]
package/boost: bump version to 1.73.0

Changelog: https://www.boost.org/users/history/version_1_73_0.html

Removed patch 0004 which was committed upstream:
https://github.com/boostorg/predef/commit/4bc7cc02eda854e4c8ac73caecfee37717083a6b

Reformatted hash file.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/fmt: bump version to 6.2.1
Bernd Kuhls [Sat, 13 Jun 2020 16:03:37 +0000 (18:03 +0200)]
package/fmt: bump version to 6.2.1

Changelog: https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst

Removed patch included in this version bump.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/faad2: bump version to 2.9.2
Bernd Kuhls [Sat, 13 Jun 2020 15:41:21 +0000 (17:41 +0200)]
package/faad2: bump version to 2.9.2

Changelog: https://github.com/knik0/faad2/blob/master/ChangeLog

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/alsa-utils: bump version to 1.2.3
Bernd Kuhls [Sat, 13 Jun 2020 15:58:04 +0000 (17:58 +0200)]
package/alsa-utils: bump version to 1.2.3

Removed _AUTORECONF added with
https://git.buildroot.net/buildroot/commit/?id=e10cf295c900790d96d777cc7ff0aea287afd056
because we do not patch alsa.m4 anymore.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/alsa-lib: bump version to 1.2.3
Bernd Kuhls [Sat, 13 Jun 2020 15:58:03 +0000 (17:58 +0200)]
package/alsa-lib: bump version to 1.2.3

Changelog: https://www.alsa-project.org/wiki/Changes_v1.2.2_v1.2.3

Added patch to fix uClibc build.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr:
  - actually backport the patch now it has been applied upstream
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/earlyoom: new package
Joseph Kogut [Fri, 12 Jun 2020 17:40:29 +0000 (10:40 -0700)]
package/earlyoom: new package

EarlyOOM daemon for triggering Linux OOM killer before running out of
memory, avoiding situations where the machine becomes unresponsive from
out of control swapping.

Some desktop distributions are installing and enabling this daemon by
default to prevent unresponsive machines in OOM scenarios.

https://fedoraproject.org/wiki/Changes/EnableEarlyoom
Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
[yann.morin.1998@free.fr: two spaces in hash file]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/icu: bump version to 67-1
Bernd Kuhls [Sat, 13 Jun 2020 16:30:31 +0000 (18:30 +0200)]
package/icu: bump version to 67-1

Release notes:
http://site.icu-project.org/download/66
http://site.icu-project.org/download/67

Removed patches applied upstream:

0005:
https://github.com/unicode-org/icu/commit/4a3a457b38cd828b7b3fa4fdbc6e2504a57275e9

0006 - 0008:
https://github.com/unicode-org/icu/commit/b7facd487444508c5724f8217d53bc41a76a8950

Reformatted hash file, locally computed tarball hash, upstream does not
provide hashes anymore. Updated license hash due to update in copyright
years (2019 -> 2020):
https://github.com/unicode-org/icu/commit/d95621c57f2becc1efd1be1d5c914624a715dac0

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: further explain the license hash change]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/tvheadend: bump version
Bernd Kuhls [Sun, 14 Jun 2020 10:52:37 +0000 (12:52 +0200)]
package/tvheadend: bump version

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/x11r7/xdriver_xf86-video-intel: bump version
Bernd Kuhls [Sun, 14 Jun 2020 10:56:51 +0000 (12:56 +0200)]
package/x11r7/xdriver_xf86-video-intel: bump version

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/meson: fix shared build issue due to --static flag always passed to pkg-config
Romain Naour [Sun, 14 Jun 2020 12:50:02 +0000 (14:50 +0200)]
package/meson: fix shared build issue due to --static flag always passed to pkg-config

Since cf75d7da98596580eee5a9b5e1a3e156ad832099 we have a build failures when
building libgbm.so when valgrind package is selected because --static is always
passed to pkg-config even for shared build.

Even if -Dvalgrind=false on meson command line to build mesa, the valgrind
libraries come from pkg-config libdrm...

output/host/bin/pkg-config libdrm --libs --static
-L[...]/sysroot/usr/lib -ldrm -lm -L[...]/sysroot/usr/lib/valgrind
-lcoregrind-arm64-linux -lvex-arm64-linux -lgcc

... and break the build.

See initial discussions:
http://lists.busybox.net/pipermail/buildroot/2020-June/284543.html

This is due to a wrong condition test added by the patch
0004-mesonbuild-dependencies-base.py-add-pkg_config_stati.patch.

Indeed, pkg_config_static is a string, not a boolean; it is set to
either 'true' or 'aflse' by our meson package infra. Since the returned
object is a string, do not pass a boolean, but pas None (we only want to
test against the 'true' string, so we don't care what we get back when
it is not set, which never happens in Buildroot).

Before this patch, the issue can be reproduced using the following defconfig:
    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_PACKAGE_VALGRIND=y
    BR2_PACKAGE_MESA3D=y
    BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y

Fixes:
http://autobuild.buildroot.net/results/1b5/1b58d73ecbbe1af2c3e140563d696cf32d1c4a5a/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: James Hilliard <james.hilliard1@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: slightly reword the commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-pvr-zattoo: new package
Bernd Kuhls [Sun, 14 Jun 2020 08:49:06 +0000 (10:49 +0200)]
package/kodi-pvr-zattoo: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-pvr-octonet: new package
Bernd Kuhls [Sun, 14 Jun 2020 08:49:05 +0000 (10:49 +0200)]
package/kodi-pvr-octonet: new package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/qt5quicktimeline: fix hash
Fabrice Fontaine [Sun, 14 Jun 2020 08:41:03 +0000 (10:41 +0200)]
package/qt5quicktimeline: fix hash

Commit e47ec96e80635d0b459a748a4ec3fd4eb6f24032 forgot to update
hash of qt5quicktimeline

Fixes:
 - http://autobuild.buildroot.org/results/203008f23aebe60ea59bd1e316e4d78f93da76f8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iwd: needs dbus (runtime)
Peter Seiderer [Fri, 12 Jun 2020 23:24:31 +0000 (01:24 +0200)]
package/iwd: needs dbus (runtime)

Fixes (on startup):

  $ usr/libexec/iwd
  Wireless daemon version 1.7
  Failed to initialize D-Bus

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
  - move MMU dependency first
  - split long line in comment dependencies
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agokodi-pvr-nextpvr: bump version to 3.3.20-Leia
Bernd Kuhls [Fri, 22 May 2020 20:41:50 +0000 (22:41 +0200)]
kodi-pvr-nextpvr: bump version to 3.3.20-Leia

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi*: mass reformatting of hash files
Bernd Kuhls [Sun, 14 Jun 2020 07:40:46 +0000 (09:40 +0200)]
package/kodi*: mass reformatting of hash files

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: fix nextpvr mismatch]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/kodi-peripheral-steamcontroller: remove package
Bernd Kuhls [Sun, 14 Jun 2020 07:33:00 +0000 (09:33 +0200)]
package/kodi-peripheral-steamcontroller: remove package

The package is broken:
https://github.com/kodi-game/peripheral.steamcontroller/pull/8#issuecomment-441469406
https://github.com/kodi-game/peripheral.steamcontroller/issues/10#issuecomment-467551856

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libwebsockets: add support for unix-domain sockets
Martin Elshuber [Fri, 12 Jun 2020 11:31:53 +0000 (13:31 +0200)]
package/libwebsockets: add support for unix-domain sockets

libwebsockets allows the usage of unix-domain-sockets since 2016, so
explicitly enable it (size increase is a ridiculous 12 bytes on ARM).

Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>
Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
[yann.morin.1998@free.fr: always enable, don't add a menuconfig entry]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/mesa3d: disable --as-needed linker flag for Codesourcery ARM 2014.05 toolchain
Romain Naour [Sat, 13 Jun 2020 10:47:08 +0000 (12:47 +0200)]
package/mesa3d: disable --as-needed linker flag for Codesourcery ARM 2014.05 toolchain

Meson build system enable by default -Wl,--as-needed [1][2] in the linker command line
and due to this the libmesa_dri_drivers.so build fail with the Codesourcery ARM and
Aarch64 2014.05 toolchain:

/home/buildroot/autobuild/run/instance-1/output-1/host/bin/arm-none-linux-gnueabi-g++
  -o src/mesa/drivers/dri/libmesa_dri_drivers.so
  -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group
  -Wl,-soname,libmesa_dri_drivers.so -Wl,--whole-archive
  src/mesa/drivers/dri/radeon/libr100.a src/mesa/drivers/dri/nouveau/libnouveau_vieux.a
  -Wl,--no-whole-archive
  src/mesa/drivers/dri/common/libmegadriver_stub.a
  src/mesa/drivers/dri/common/libdricommon.a
  src/mapi/shared-glapi/libglapi.so.0.0.0
  src/mesa/libmesa_classic.a src/mesa/libmesa_common.a
  src/compiler/glsl/libglsl.a src/compiler/glsl/glcpp/libglcpp.a
  src/util/libmesa_util.a src/util/format/libmesa_format.a
  src/compiler/nir/libnir.a src/compiler/libcompiler.a
  src/util/libxmlconfig.a
  [...]

src/mesa/drivers/dri/common/libmegadriver_stub.a(megadriver_stub.c.o): In function `megadriver_stub_init':
megadriver_stub.c:(.text.startup+0x20): undefined reference to `dladdr'
megadriver_stub.c:(.text.startup+0xbc): undefined reference to `dlsym'
collect2: error: ld returned 1 exit status

This problem seems to be specific to this toolchain release (ARM and aarch64)
CodeSourcery 2014.05: gcc 4.8.3-prerelease; binutils 2.24.51.20140217; glibc 2.18

The following prebuilt toolchain has been tested and doesn't trigger this issue:
Linaro 4.9-4.9-2014.11: gcc 4.9.3; binutils 2.24.0; glibc 2.19
CodeSourcery 2014.11: gcc 4.9.1; binutils 2.24.51.20140217; glibc 2.20

Older toolchains doesn't have a recent enough glibc or linux-headers version
to breaking the build with mesa3d 20.1.0 or libdrm 2.4.102.

In order to build mesa3d with the CodeSourcery 2014.05 using --as-needed would be
reorder the static librairies:

 diff --git a/src/mesa/drivers/dri/meson.build b/src/mesa/drivers/dri/meson.build
 index b09ca16e38a..9ac6731c522 100644
 --- a/src/mesa/drivers/dri/meson.build
 +++ b/src/mesa/drivers/dri/meson.build
 @@ -59,7 +59,7 @@ if _dri_drivers != []
      [],
      link_whole : _dri_drivers,
      link_with : [
 -      libmegadriver_stub, libdricommon, libglapi,
 +      libdricommon, libmegadriver_stub, libglapi,
        libmesa_classic,
      ],

Instead, we can disable --as-needed from the meson build system using
"-Db_asneeded=false" only for this toolchain.

[1] https://mesonbuild.com/Builtin-options.html
[2] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed

Fixes:
http://autobuild.buildroot.net/results/eec39a4fbfbfaa58980fab36f2fd902a16eecf0f/build-end.log

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libhttpserver: needs gcc >= 5
Fabrice Fontaine [Sat, 13 Jun 2020 19:57:30 +0000 (21:57 +0200)]
package/libhttpserver: needs gcc >= 5

libhtpserver uses the following constructor since version 0.18.0 and
https://github.com/etr/libhttpserver/commit/9cdc90177e12902adf4063300fd688fcfdbe8168:

http_request(http_request&& b) noexcept = default;

This raises the following build failure on gcc 4.8:

In file included from http_request.cpp:22:0:
httpserver/http_request.hpp:234:9: error: function 'httpserver::http_request::http_request(httpserver::http_request&&)' defaulted on its first declaration with an exception-specification that differs from the implicit declaration 'httpserver::http_request::http_request(httpserver::http_request&&)'
         http_request(http_request&& b) noexcept = default;
         ^

This build failure is due to the following gcc bug:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59526

Instead of adding BR2_TOOLCHAIN_HAS_GCC_BUG_59526, simply add a
dependency on gcc >= 5

Fixes:
 - http://autobuild.buildroot.org/results/18a29056e0191d9f23e1f9c6f72b13c07d03b300/

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/i2pd: bump to version 2.32.1
Fabrice Fontaine [Sun, 7 Jun 2020 10:03:54 +0000 (12:03 +0200)]
package/i2pd: bump to version 2.32.1

Drop patch, not needed since version 2.32.0 and
https://github.com/PurpleI2P/i2pd/commit/db6a0e6ad9124ef9b6217af487b3c844234ba5e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/c-periphery: disable tests
Fabrice Fontaine [Sun, 7 Jun 2020 08:01:24 +0000 (10:01 +0200)]
package/c-periphery: disable tests

Add a patch to disable tests, it should be noted that -DBUILD_TESTS=OFF
is already passed by cmake-infrastructure

Fixes:
 - http://autobuild.buildroot.org/results/6bbc4de3f857dcb7ff5e6f9fa1441ba4e0af1338

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/mraa: bump to version 2.1.0
Yegor Yefremov [Sun, 7 Jun 2020 14:05:39 +0000 (16:05 +0200)]
package/mraa: bump to version 2.1.0

Change the upstream URL as the project is now under Eclipse umbrella.

Remove obsolete options like IPK nad RPM and disable JSONPLAT option
that is enabled by default but requires c-json package.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-web2py: bump version to 2.20.4
Angelo Compagnucci [Sun, 7 Jun 2020 17:02:38 +0000 (19:02 +0200)]
package/python-web2py: bump version to 2.20.4

This patch bumps ptyhon-web2py to version 2.20.4

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pydal: bump to version v20200531.1
Angelo Compagnucci [Sun, 7 Jun 2020 17:02:37 +0000 (19:02 +0200)]
package/python-pydal: bump to version v20200531.1

This patch bumps python-pydal to version v20200531.1.
It updates alse the LICENSE hash cause the file was cleaned and revised by the
author, the license remains the same.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/brltty: fix input_event related compile failure
Heiko Thiery [Sun, 7 Jun 2020 18:11:17 +0000 (20:11 +0200)]
package/brltty: fix input_event related compile failure

Add a patch to fix input_event time related compile failure. The problem
is reported and fixed upstream.

Fixes:
http://autobuild.buildroot.net/results/7c5278c0ff2b2d8f88803e256803b31a75904efe/build-end.log

./system_linux.c: In function 'writeInputEvent':
./system_linux.c:962:23: error: 'struct input_event' has no member named 'time'; did you mean 'type'?
   gettimeofday(&event.time, NULL);
                       ^~~~
                       type

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/wayland: switch to https
Fabrice Fontaine [Sun, 7 Jun 2020 21:19:55 +0000 (23:19 +0200)]
package/wayland: switch to https

--2020-06-07 20:39:28--  http://wayland.freedesktop.org/releases/wayland-1.18.0.tar.xz
Resolving wayland.freedesktop.org (wayland.freedesktop.org)... 35.227.58.183
Connecting to wayland.freedesktop.org (wayland.freedesktop.org)|35.227.58.183|:80... connected.
HTTP request sent, awaiting response... 308 Permanent Redirect
2020-06-07 20:39:29 ERROR 308: Permanent Redirect.

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nftables: fix build with gcc <= 4.8
Fabrice Fontaine [Sun, 7 Jun 2020 21:41:13 +0000 (23:41 +0200)]
package/nftables: fix build with gcc <= 4.8

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agoconfigs/raspberrypi*: bump kernel version to 676fd5a
Peter Seiderer [Sun, 7 Jun 2020 22:01:36 +0000 (00:01 +0200)]
configs/raspberrypi*: bump kernel version to 676fd5a

Now based on 4.19.126 (from 4.19.113).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/lua-cqueues: bump to version 20200603
Francois Perrad [Mon, 8 Jun 2020 10:35:10 +0000 (12:35 +0200)]
package/lua-cqueues: bump to version 20200603

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/nodejs: install to staging
Yegor Yefremov [Mon, 8 Jun 2020 10:32:10 +0000 (12:32 +0200)]
package/nodejs: install to staging

Install header files and libraries into the staging area. Some
packages like mraa (if enabled for Node.js) search for node.h
and v8.h. Hence, Node.js development file must be installed to
the staging area.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/util-linux: bump to version 2.35.2
Fabrice Fontaine [Mon, 8 Jun 2020 17:18:24 +0000 (19:18 +0200)]
package/util-linux: bump to version 2.35.2

- Drop fourth and sixth patches (already in version)
- Update indentation in hash file (two spaces)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/haveged: bump to version 1.9.9
Norbert Lange [Tue, 9 Jun 2020 22:41:16 +0000 (00:41 +0200)]
package/haveged: bump to version 1.9.9

Format hash file with two spaces delimiters.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-pybind: new package
Guillaume W. Bres [Mon, 8 Jun 2020 21:30:43 +0000 (23:30 +0200)]
package/python-pybind: new package

PyBind is a light (headers only) package for C++/Python and Python/C++
bindings.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-xlib: bump to version 0.27
Joseph Kogut [Tue, 9 Jun 2020 21:11:08 +0000 (14:11 -0700)]
package/python-xlib: bump to version 0.27

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/bats-core: bump version to 1.2.0
Peter Korsgaard [Tue, 9 Jun 2020 05:47:16 +0000 (07:47 +0200)]
package/bats-core: bump version to 1.2.0

And adjust the .hash spacing.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-webob: bump version to 1.8.6
Peter Korsgaard [Tue, 9 Jun 2020 13:31:16 +0000 (15:31 +0200)]
package/python-webob: bump version to 1.8.6

And adjust the .hash spacing.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/linux-pam: bump to version 1.4.0
Fabrice Fontaine [Tue, 9 Jun 2020 05:48:25 +0000 (07:48 +0200)]
package/linux-pam: bump to version 1.4.0

- Drop first patch, not needed since
  https://github.com/linux-pam/linux-pam/commit/4dd9b97b762cc73816cb867d49c9d0d0b91d642c
- Drop other patches (already in version)
- Drop autoreconf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libgit2: bump to version 1.0.1
Nicolas Cavallari [Tue, 9 Jun 2020 07:31:46 +0000 (09:31 +0200)]
package/libgit2: bump to version 1.0.1

Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/python-semver: bump version to 2.10.1
Peter Korsgaard [Tue, 9 Jun 2020 06:16:28 +0000 (08:16 +0200)]
package/python-semver: bump version to 2.10.1

And adjust the .hash spacing.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/znc: security bump version to 1.8.1
Bernd Kuhls [Sun, 7 Jun 2020 12:49:08 +0000 (14:49 +0200)]
package/znc: security bump version to 1.8.1

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

Fixes CVE-2020-13775.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/librsync: bump to version 2.3.1
Pierre-Jean Texier [Sun, 7 Jun 2020 13:33:50 +0000 (15:33 +0200)]
package/librsync: bump to version 2.3.1

This is a patch release that adds peformance improvements. See [1]

Also:
 - Remove upstream patches
 - update hash file formatting (2 spaces).

[1] - https://github.com/librsync/librsync/releases/tag/v2.3.1

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-pillow: bump to version 7.1.2
Angelo Compagnucci [Sun, 7 Jun 2020 16:15:19 +0000 (18:15 +0200)]
package/python-pillow: bump to version 7.1.2

This package bumps python-pillow to version 7.1.2.
It updates also the LICENSE hash cause of a copyright year update.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/python-can: bump to version 3.3.3
Angelo Compagnucci [Sun, 7 Jun 2020 16:03:05 +0000 (18:03 +0200)]
package/python-can: bump to version 3.3.3

This patch bumps python-can to version 3.3.3.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/stm32mp157c_dk2: Bump Kernel and U-Boot
Joris Offouga [Sun, 7 Jun 2020 15:06:14 +0000 (17:06 +0200)]
configs/stm32mp157c_dk2: Bump Kernel and U-Boot

Bump kernel to version 5.7.1 and U-Boot to 2020.04

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/stm32mp157a_dk1: Bump Kernel and U-Boot
Joris Offouga [Sun, 7 Jun 2020 15:06:13 +0000 (17:06 +0200)]
configs/stm32mp157a_dk1: Bump Kernel and U-Boot

Bump kernel to version 5.7.1 and U-Boot to 2020.04

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/warp7: Bump Kernel version
Joris Offouga [Sun, 7 Jun 2020 15:06:12 +0000 (17:06 +0200)]
configs/warp7: Bump Kernel version

Bump kernel to version 5.7.1

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agoconfigs/imx7dpico: Bump Kernel version
Joris Offouga [Sun, 7 Jun 2020 15:06:11 +0000 (17:06 +0200)]
configs/imx7dpico: Bump Kernel version

Bump kernel to version 5.7.1

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years ago{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 6, 7}.x series
Joris Offouga [Sun, 7 Jun 2020 15:06:10 +0000 (17:06 +0200)]
{linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 6, 7}.x series

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/systemd: move preset-all HOOK to fakeroot stage
Norbert Lange [Thu, 6 Feb 2020 09:36:24 +0000 (10:36 +0100)]
package/systemd: move preset-all HOOK to fakeroot stage

User can drop in more systemd units or presets
in an rootfs overlay, which will be copied over *after*
the TARGET_FINALIZE_HOOKS are run.

Instead, run preset-all afterwards from ROOTFS_PRE_CMD_HOOKS

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Reviewed-by: Jérémy ROSEN <jeremy.rosen@smile.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/acpica: bump version to 20200528
Heiko Thiery [Sun, 7 Jun 2020 09:31:31 +0000 (11:31 +0200)]
package/acpica: bump version to 20200528

- Update the hash file to the new 2 spaces convention
- Update the hash of the license file due to license date change
   - * Copyright (C) 2000 - 2019, Intel Corp.
   + * Copyright (C) 2000 - 2020, Intel Corp.

Fixes:
http://autobuild.buildroot.net/results/fe58e834bb67a9aab640e1d913588b47eaf7e4f5/

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/docker-cli: bump to version 19.03.11
Christian Stewart [Sat, 6 Jun 2020 21:09:53 +0000 (14:09 -0700)]
package/docker-cli: bump to version 19.03.11

For details, see the release notes:
https://docs.docker.com/engine/release-notes/

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/docker-engine: security bump to version 19.03.11
Christian Stewart [Sat, 6 Jun 2020 21:09:52 +0000 (14:09 -0700)]
package/docker-engine: security bump to version 19.03.11

Fixes the following security issues:

- CVE-2020-13401: Disable IPv6 Router Advertisements to prevent address
  spoofing
  An attacker in a container, with the CAP_NET_RAW capability, can craft
  IPv6 router advertisements, and consequently spoof external IPv6 hosts,
  obtain sensitive information, or cause a denial of service.

In addition, 19.03.9..11 fixes a number of issues. For details, see:

https://docs.docker.com/engine/release-notes/

Signed-off-by: Christian Stewart <christian@paral.in>
[Peter: mention security impact, extend commit message]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agopackage/go: bump version to 1.13.12
Christian Stewart [Sat, 6 Jun 2020 20:36:47 +0000 (13:36 -0700)]
package/go: bump version to 1.13.12

go1.13.9 (released 2020/03/19) includes fixes to the go command, tools, the
runtime, the toolchain, and the crypto/cypher package.

go1.13.10 (released 2020/04/08) includes fixes to the go command, the runtime,
and the os/exec and time packages.

go1.13.11 (released 2020/05/14) includes fixes to the compiler.

go1.13.12 (released 2020/06/01) includes fixes to the runtime, and the go/types
and math/big packages.

Release notes: https://golang.org/doc/go1.13

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
4 years agolinux: rename config option
Yann E. MORIN [Sun, 7 Jun 2020 07:21:12 +0000 (09:21 +0200)]
linux: rename config option

Commit a4eef9a3959 (linux: introduce BR2_KERNEL_DTB_KEEP_DIRNAME)
introduced a new config option, but its name was not matching the
naming-scheme of the other config options.

Rename it.

We don't need legacy handling, because that config option was added very
recently and was never part of a release.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/libvips: add gobject-introspection support
Fabrice Fontaine [Sat, 6 Jun 2020 22:36:49 +0000 (00:36 +0200)]
package/libvips: add gobject-introspection support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/librsvg: add gobject-introspection support
Fabrice Fontaine [Sat, 6 Jun 2020 22:33:06 +0000 (00:33 +0200)]
package/librsvg: add gobject-introspection support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agogitlab-ci: regenerate after freescale_imx8mnevk_defconfig addition
Romain Naour [Sat, 6 Jun 2020 21:52:39 +0000 (23:52 +0200)]
gitlab-ci: regenerate after freescale_imx8mnevk_defconfig addition

Fixes: 2c01eeece96ce449163e066566c787bfc2a10651
https://gitlab.com/buildroot.org/buildroot/-/jobs/584436394

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/jailhouse: bump version to 0.12
Mario Mintel [Thu, 28 May 2020 14:43:32 +0000 (16:43 +0200)]
package/jailhouse: bump version to 0.12

Signed-off-by: Mario Mintel <mariomintel@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/qt5: bump version to 5.15.0
Peter Seiderer [Thu, 28 May 2020 22:14:11 +0000 (00:14 +0200)]
package/qt5: bump version to 5.15.0

qt5declarative:
  - rebased 0002-examples-fix-parallel-install.patch

qt5tools:
  - rebased 0001-Disable-designer-tool-fixes-configure-error.patch

qt5webengine
  - 3rdparty hash update

qt5webkit-examples
  - add 0003-Fix-QPainterPath-include.patch to fix compile because
    of missing QPainterPath include

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/rust: remove unneded patch
Romain Naour [Sat, 30 May 2020 13:43:44 +0000 (15:43 +0200)]
package/rust: remove unneded patch

The previous commit [1] added a patch to remove python2 from the configure script.
While this script is used by the Fedora rust package [2], it is not used by rust.mk.

The configure script is an alternative build system provided by upstream, and
finally calls x.py [3].

Thanks to Thomas for noticing the mistake [4].

[1] 02703108eca8353ff45c0842d9b882a0dc37c04b
[2] https://src.fedoraproject.org/rpms/rust/blob/216b2d27716bf1031c526dbd0e01a1fa8e6d5aa2/f/rust.spec#_314
[3] https://github.com/rust-lang/rust/blob/1.33.0/README.md#configure-and-make
[4] http://lists.busybox.net/pipermail/buildroot/2020-May/283610.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Titouan Christophe <titouan.christophe@railnova.eu>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/optee-benchmark: fix gcc 10 warning
Romain Naour [Sat, 30 May 2020 17:14:28 +0000 (19:14 +0200)]
package/optee-benchmark: fix gcc 10 warning

The function yaml_mapping_start_event_initialize()
take yaml_mapping_style_t style as last argument:

int yaml_mapping_start_event_initialize(
    yaml_event_t *event,
    const yaml_char_t *anchor,
    const yaml_char_t *tag,
    int implicit,
    yaml_mapping_style_t style)

Use YAML_ANY_MAPPING_STYLE instead of YAML_ANY_SEQUENCE_STYLE

Fixes:
main.c:173:5: error: implicit conversion from ‘enum yaml_sequence_style_e’ to ‘yaml_mapping_style_t’ {aka ‘enum yaml_mapping_style_e’} [-Werror=enum-conversion]
  173 |     YAML_ANY_SEQUENCE_STYLE))
      |     ^~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Etienne Carriere <etienne.carriere@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/uacme: bump version to 1.4.1
Nicola Di Lieto [Sat, 30 May 2020 20:49:00 +0000 (22:49 +0200)]
package/uacme: bump version to 1.4.1

Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/xr819-xradio: bumped to version 6bf0e2e2
Gonçalo Salazar [Sun, 31 May 2020 12:11:25 +0000 (13:11 +0100)]
package/xr819-xradio: bumped to version 6bf0e2e2

Bumped xr819-xradio package to the latest version to fix some compilation issues when using kernel 5.6 for the orangepi-zero

Signed-off-by: Gonçalo Salazar <glbsalazar@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libtorrent-rasterbar: bump to version 1.2.7
Fabrice Fontaine [Sun, 31 May 2020 14:24:40 +0000 (16:24 +0200)]
package/libtorrent-rasterbar: bump to version 1.2.7

https://github.com/arvidn/libtorrent/releases/tag/libtorrent_1_2_7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/asterisk: bump version to 16.10.0
Felix Vollmer [Thu, 4 Jun 2020 21:25:09 +0000 (23:25 +0200)]
package/asterisk: bump version to 16.10.0

Release Notes:
https://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current-summary.html

Signed-off-by: Felix Vollmer <FelixVollmer@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libarchive: bump to version 3.4.3
Pierre-Jean Texier [Mon, 1 Jun 2020 13:14:25 +0000 (15:14 +0200)]
package/libarchive: bump to version 3.4.3

Libarchive 3.4.3 is a feature and bugfix release.

See https://github.com/libarchive/libarchive/releases/tag/v3.4.3

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: add option to enable gr-dtc support
Gwenhael Goavec-Merou [Fri, 5 Jun 2020 13:24:32 +0000 (15:24 +0200)]
package/gnuradio: add option to enable gr-dtc support

gr-dtv provides support for a series of gnuradio blocks for digital
television standards.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gnuradio: re-enable gr-qtgui
Gwenhael Goavec-Merou [Fri, 5 Jun 2020 13:24:31 +0000 (15:24 +0200)]
package/gnuradio: re-enable gr-qtgui

Since commit fcd9c85475b65c6e8f22d5f9b4ac7c7ecb93dc6a, gr-qtgui has
been removed because this Qt GUI was based on Qt4 which was no longer
supported by Buildroot.

However, gnuradio 3.8 brings a Qt5-based GUI, and therefore the option
BR2_PACKAGE_GNURADIO_QTGUI can be re-introduced.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/dbus: fix group and mode for the launcher
Norbert Lange [Fri, 5 Jun 2020 22:52:45 +0000 (00:52 +0200)]
package/dbus: fix group and mode for the launcher

The D-Bus installation process installs dbus-daemon-launch-helper as
follows:

  chown root:$(DBUS_USER) $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper$(EXEEXT); \
  chmod 4750 $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper$(EXEEXT); \

And when the installation does not take place as root (like is the
case in the context of Buildroot), it prints:

  echo "Not installing $(DESTDIR)$(libexecdir)/dbus-daemon-launch-helper binary setuid!"; \
  echo "You'll need to manually set permissions to root:$(DBUS_USER) and permissions 4750"; \

So let's adjust the installation logic of dbus-daemon-launch-helper to
match these requirements.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/openssh: add optional dependency on audit
Norbert Lange [Fri, 5 Jun 2020 22:59:01 +0000 (00:59 +0200)]
package/openssh: add optional dependency on audit

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libxml2: remove helper script from target
Norbert Lange [Fri, 5 Jun 2020 22:57:18 +0000 (00:57 +0200)]
package/libxml2: remove helper script from target

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/syslog-ng: drop unused systemd file
Danomi Manchego [Sat, 6 Jun 2020 19:50:28 +0000 (15:50 -0400)]
package/syslog-ng: drop unused systemd file

Commit 54ea03ccd7d68bcf846a7cb8fa58b9fb3ac0b914 ("package/syslog-ng:
implement systemd enablement using DefaultInstance") replaced the lines
installing the syslog-ng@default file with printf lines creating a file
in a syslog-ng@.service.d/ directory on-the-fly.  Since then, nothing
uses the syslog-ng@default file, so let's delete it.

Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
4 years agopackage/iproute2: add optional dependencies on libselinux and libcap
Norbert Lange [Fri, 5 Jun 2020 22:55:54 +0000 (00:55 +0200)]
package/iproute2: add optional dependencies on libselinux and libcap

The configure script will automatically detect used pkg-config if
libcap or libselinux are available.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/edid-decode: fix build with gcc <= 5
Fabrice Fontaine [Sat, 6 Jun 2020 12:28:10 +0000 (14:28 +0200)]
package/edid-decode: fix build with gcc <= 5

Pass -std=c++11 to fix the following build failure with gcc <= 5:

/tmp/instance-0/output-1/host/bin/mips64el-linux-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Os       -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -g -DSHA="not available" -o edid-decode edid-decode.cpp parse-base-block.cpp parse-cta-block.cpp parse-displayid-block.cpp parse-ls-ext-block.cpp parse-di-ext-block.cpp parse-vtb-ext-block.cpp -lm
edid-decode.cpp: In member function 'std::__cxx11::string edid_state::dtd_type()':
edid-decode.cpp:192:17: error: 'to_string' is not a member of 'std'
  unsigned len = std::to_string(preparse_total_dtds).length();
                 ^

Also add a dependency on gcc 4.7

Fixes:
 - http://autobuild.buildroot.org/results/71e4a50542c4551797f1d0404d27244612b427d7

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/edid-decode: use TARGET_CONFIGURE_OPTS
Fabrice Fontaine [Sat, 6 Jun 2020 12:28:09 +0000 (14:28 +0200)]
package/edid-decode: use TARGET_CONFIGURE_OPTS

Do not use CXX to set the "$(TARGET_CXX) $(TARGET_CXXFLAGS)
$(TARGET_LDFLAGS)" variables and instead use TARGET_CONFIGURE_OPTS to
pass variables using the "standard" variables.

LDFLAGS is supported since
https://git.linuxtv.org/edid-decode.git/commit/?id=0a454bcbba5e172c64236811ed98c161689372f1

CFLAGS is supported since
https://git.linuxtv.org/edid-decode.git/commit/?id=b202b675e38578b33494fc45c2869917e66ba22d

edid-decode did not switch CFLAGS to CXXFLAGS in
https://git.linuxtv.org/edid-decode.git/commit/Makefile?id=e00579c128ced87a69df29a01caaaf0cd4a4c8cc
so use CFLAGS to pass TARGET_CXXFLAGS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agodocs/manual/adding-packages-generic.txt: fix typo
Fabrice Fontaine [Sat, 6 Jun 2020 12:36:38 +0000 (14:36 +0200)]
docs/manual/adding-packages-generic.txt: fix typo

LIBTOO_SOURCE -> LIBFOO_SOURCE

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/pango: add gobject-introspection support
Fabrice Fontaine [Sat, 6 Jun 2020 08:34:38 +0000 (10:34 +0200)]
package/pango: add gobject-introspection support

This will fix the following build failure when enabling introspection on
libgtk2:

Couldn't find include 'Pango-1.0.gir' (search path: '['/home/fabrice/buildroot/output/host/bin/../mipsel-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/home/fabrice/buildroot/output/host/share', '/usr/share/gnome/gir-1.0', '/usr/local/share/gir-1.0', '/usr/share/gir-1.0', '/home/fabrice/buildroot/output/host/share/gir-1.0', '/usr/share/gir-1.0']')

Fixes:
 - http://autobuild.buildroot.org/results//86c6f55e0bd1a0fe3b70c9e97193aaad94d72a7f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/gdk-pixbuf: add gobject-introspection support
Fabrice Fontaine [Sat, 6 Jun 2020 08:34:37 +0000 (10:34 +0200)]
package/gdk-pixbuf: add gobject-introspection support

This will fix the following build failure when enabling introspection on
libgtk2:

Couldn't find include 'GdkPixbuf-2.0.gir' (search path: '['/tmp/instance-0/output-1/host/bin/../mipsel-buildroot-linux-gnu/sysroot/usr/bin/../share/gir-1.0', '../gdk', '/tmp/instance-0/output-1/host/share', 'gir-1.0', '/tmp/instance-0/output-1/host/share/gir-1.0', '/usr/share/gir-1.0']')

Fixes:
 - http://autobuild.buildroot.org/results//86c6f55e0bd1a0fe3b70c9e97193aaad94d72a7f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/libnetconf2: add patch to fix incompatiblity with libssh
Heiko Thiery [Sat, 6 Jun 2020 07:16:02 +0000 (09:16 +0200)]
package/libnetconf2: add patch to fix incompatiblity with libssh

The libnetconf2 upstream project rejects building with ssh support for
libssh 0.9.3 and 0.9.4 due to an existing regression.

This libssh regression bug is already fixed upstream. The libssh buildroot
package has the patch (39099153d9404cd6f107f0fd92ce8686bbd1beb2).

Thus we can remove the libnetconf2 cmake check.

Fixes:
http://autobuild.buildroot.net/results/f72fcccafe70ecb6b2ba21e8d19c5827a09ffec7/

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
4 years agopackage/upx: security bump to version 3.96
Fabrice Fontaine [Sat, 6 Jun 2020 19:20:33 +0000 (21:20 +0200)]
package/upx: security bump to version 3.96

- Switch site to github to get latest release
- Fix CVE-2019-20805: p_lx_elf.cpp in UPX before 3.96 has an integer
  overflow during unpacking via crafted values in a PT_DYNAMIC segment.
- Fix CERT-FI Case 829767 UPX command line tools segfaults.

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