Commit Graph

62690 Commits

Author SHA1 Message Date
Fabrice Fontaine
21c07c0aaa package/expat: security bump to version 2.4.5
Security fixes:
 #562  CVE-2022-25235 -- Passing malformed 2- and 3-byte UTF-8
       sequences (e.g. from start tag names) to the XML
       processing application on top of Expat can cause
       arbitrary damage (e.g. code execution) depending
       on how invalid UTF-8 is handled inside the XML
       processor; validation was not their job but Expat's.
       Exploits with code execution are known to exist.
 #561  CVE-2022-25236 -- Passing (one or more) namespace separator
       characters in "xmlns[:prefix]" attribute values
       made Expat send malformed tag names to the XML
       processor on top of Expat which can cause
       arbitrary damage (e.g. code execution) depending
       on such unexpectable cases are handled inside the XML
       processor; validation was not their job but Expat's.
       Exploits with code execution are known to exist.
 #558  CVE-2022-25313 -- Fix stack exhaustion in doctype parsing
       that could be triggered by e.g. a 2 megabytes
       file with a large number of opening braces.
       Expected impact is denial of service or potentially
       arbitrary code execution.
 #560  CVE-2022-25314 -- Fix integer overflow in function copyString;
       only affects the encoding name parameter at parser creation
       time which is often hardcoded (rather than user input),
       takes a value in the gigabytes to trigger, and a 64-bit
       machine.  Expected impact is denial of service.
 #559  CVE-2022-25315 -- Fix integer overflow in function storeRawNames;
       needs input in the gigabytes and a 64-bit machine.
       Expected impact is denial of service or potentially
       arbitrary code execution.

https://blog.hartwork.org/posts/expat-2-4-5-released/
https://github.com/libexpat/libexpat/blob/R_2_4_5/expat/Changes

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-20 10:54:38 +01:00
Fabrice Fontaine
59a813d2a8 package/expat: fix tarball sha256
Commit ab71ac15dd forgot to update sha256

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr: update  hash for real ;-)]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-20 10:52:44 +01:00
Fabrice Fontaine
43e2a5e11f package/x11r7/xdriver_xf86-video-mga: don't override XDRIVER_XF86_VIDEO_MGA_CONF_OPTS
XDRIVER_XF86_VIDEO_MGA_CONF_OPTS is wrongly overridden in a conditional
since commit 105c7c7573

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:53:11 +01:00
Fabrice Fontaine
becc481460 package/socketcand: don't override SOCKETCAND_CONF_OPTS
SOCKETCAND_CONF_OPTS is wrongly overridden in a conditional since commit
53e498da2f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:47:47 +01:00
Fabrice Fontaine
9f96c4be57 package/perl-netaddr-ip: don't override PERL_NETADDR_IP_CONF_OPTS
PERL_NETADDR_IP_CONF_OPTS is wrongly overridden in a conditional since
commit 86658b0b18

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:47:45 +01:00
Fabrice Fontaine
37ba37d516 package/arp-scan: don't override ARP_SCAN_CONF_OPTS
ARP_SCAN_CONF_OPTS is wrongly overriden in a conditional since commit
df578c86ed

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:47:43 +01:00
Fabrice Fontaine
e3c1efd5d2 package/pcre: don't override PCRE_CONF_OPTS
PCRE_CONF_OPTS is wrongly overridden in a conditional since commit
9b28d48012

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:47:41 +01:00
Marcus Hoffmann
1f1e32f6d7 configs/friendlyarm_nanopi_r2s_defconfig: uboot needs openssl
Fixes the following compile error:

In file included from include/bootm.h:10,
                 from tools/image-host.c:12:
include/image.h:1178:12: fatal error: openssl/evp.h: No such file or directory
 1178 | #  include <openssl/evp.h>
      |            ^~~~~~~~~~~~~~~
compilation terminated.

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

Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:40:27 +01:00
Giulio Benetti
0711e91498 configs/kontron_bl_imx8mm_defconfig: U-Boot requires OpenSSL
Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/2103784267

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 22:40:20 +01:00
Fabrice Fontaine
0ce909afa9 package/cryptsetup: openssl is the default crypto backend
openssl is the default crypto backend since version 2.1.0 and
bc3d0feb5c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:49:30 +01:00
Moritz Bitsch
9badf18d97 package/cryptsetup: fix build failure with libgcrypt
The patch 0001-Add-check-program-for-symver-attribute.patch, introduced
in 683e8387d0, touches a autoconf relevant file which causes a
configure --recheck in the make step without proper CONF_ENV.

Running autoreconf prevents this.

Signed-off-by: Moritz Bitsch <moritz@h6t.eu>
[yann.morin.1998@free.fr: add comment,  add commit reference]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:39:05 +01:00
Peter Korsgaard
908e514de4 package/pkg-python.mk: drop references to PYTHON_{PATH, DIR}
With python 2.x support dropped these variables no longer exist, so
unconditionally use the python3 variant.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:32:42 +01:00
Fabrice Fontaine
3f5843cd07 package/libiconv: don't override LIBICONV_CONF_OPTS
LIBICONV_CONF_OPTS is wrongly overridden in a conditional since commit
0d711a64d4

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:21 +01:00
Fabrice Fontaine
293d8f727a package/urg: don't override URG_CONF_OPTS
URG_CONF_OPTS is wrongly overridden in a conditional since commit
d0433603e3

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:19 +01:00
Fabrice Fontaine
e389bf186f package/xz: don't override XZ_CONF_OPTS
XZ_CONF_OPTS is wrongly overridden in a conditional since commit
0dbc17abcb

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:17 +01:00
Fabrice Fontaine
83f9f0b881 package/libgsasl: don't override LIBGSASL_CONF_OPTS
LIBGSASL_CONF_OPTS is wrongly overridden in a conditional since commit
c4ff6bf227

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:15 +01:00
Fabrice Fontaine
862db5f610 package/psmisc: don't override PSMISC_CONF_OPTS
PSMISC_CONF_OPTS is overridden in a conditional since commit
953b0f4de8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:12 +01:00
Fabrice Fontaine
09a1511abd package/libglvnd: fix LIBGLVND_CONF_OPTS
LIBGLVND_CONF_OPTS are wrongly overridden in conditionals since the
addition of the package in commit
0378e2e5d9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-17 21:29:10 +01:00
Giulio Benetti
cc9470c2d8 utils/docker-run: hide docker run command
Since this is a helper script there is not much reason to show the
command that's been issued. Furthermore, the incantation has been
slightly extended since the script was introduced.

The only interesting reason to print the command is to know what image
it is being spawned into. However, this is prominently displayed by
docker the first time the script is run, as it can't find the image
locally and has to fetch it first. Afterwards, users can still use
'docker image ls' to see what images they have locally.

So let's remove 'set -x' before running docker.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
[yann.morin.1998@free.fr: reword and expand commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-16 22:55:15 +01:00
Arnout Vandecappelle (Essensium/Mind)
892834535c package/libusb/0002-linux_usbfs-fix-maybe-uninitialized-error.patch: remove N/M
Found by check-package:
package/libusb/0002-linux_usbfs-fix-maybe-uninitialized-error.patch:4: generate your patches with 'git format-patch -N'

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:54:35 +01:00
Bernd Kuhls
a14a68a57d package/kodi: fix build with python-3.10
Fixes build error:

CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find PythonLibs (missing: PYTHON_LIBRARIES) (found suitable
  version "3.10.2", minimum required is "3.5")

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:21 +01:00
Fabrice Fontaine
d08583faed package/libbpf: add LIBBPF_CPE_ID_VENDOR
cpe:2.3🅰️libbpf_project:libbpf is a valid CPE identifier for this
package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Alibbpf_project%3Alibbpf

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:17 +01:00
Fabrice Fontaine
a837937973 package/strongswan: security bump to version 5.9.5
Fixed a vulnerability in the EAP client implementation that was caused
by incorrectly handling early EAP-Success messages. It may allow to
bypass the client and in some scenarios even the server authentication,
or could lead to a denial-of-service attack. This vulnerability has been
registered as CVE-2021-45079:
https://www.strongswan.org/blog/2022/01/24/strongswan-vulnerability-(cve-2021-45079).html

https://github.com/strongswan/strongswan/releases/tag/5.9.5

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Reviewed-by: Quentin Schulz <foss+buildroot@0leil.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:15 +01:00
Fabrice Fontaine
63f40a109b package/safeclib: fix build with gcc 4.8
Add -std=c99 to fix the following build failure with gcc 4.8 raised
since bump to version 3.7.1 in commit
cc27267ae4:

In file included from abort_handler_s.c:35:0:
safeclib_private.h:167:18: error: anonymous variadic macros were introduced in C99 [-Werror=variadic-macros]
 #define slprintf(...) fprintf(stderr, __VA_ARGS__)
                  ^

Fixes:
 - http://autobuild.buildroot.org/results/5c3468585942879b47331e05058d25d324c8cc23

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:12 +01:00
Yann E. MORIN
0319170f50 support/pkg-stats: fix regression after cleanup in show-info
Commit 471ecea5ee (core/show-info: 'name' only applies to packages)
removed the 'name' field for rootfs (really, for non-package) entries,
thus breaking the pkg-stats processing.

We fix that by excluding any entry that has no 'name', on the assumption
that if it has no name, it is not a package.

Reported-by: Xogium on IRC
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:09 +01:00
Fabrice Fontaine
d7b999e947 package/gstreamer1/gst1-plugins-base: fix build with gcc 4.8
Fix the following build failure with gcc 4.8 raised since bump to
version 1.20.0 in commit 801131157d:

../gst-libs/gst/video/video-converter.c: In function 'convert_I420_v210':
../gst-libs/gst/video/video-converter.c:3771:7: error: 'for' loop initial declarations are only allowed in C99 mode
       for (int j = width * 4 - 1; j >= 0; j--) {
       ^

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:07 +01:00
Fabrice Fontaine
e253e41ce2 package/sdl2_ttf: add harfbuzz optional dependency
harfbuzz is an optional dependency (which is enabled by default) since
version 2.0.18 and
328bbed78d

If harfbuzz is not disabled and not found, builtin harfbuzz is enabled
resulting in the following build failure without C++ since commit
f4da031a77 and
9a7ef3fb64:

configure: error: *** A compiler with support for C++11 language features is required.

Fixes:
 - http://autobuild.buildroot.org/results/3fecb96a8063b1a28703682e9373714c1c9cfa24

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:04 +01:00
Fabrice Fontaine
81636b1ea1 package/sdl2_ttf: disable builtin freetype2
Disable builtin freetype2 which is enabled by default since bump to
version 2.0.18 in commit f4da031a77 and
834ec54127

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:38:01 +01:00
Fabrice Fontaine
997cd389eb package/sdl2_ttf: drop FREETYPE_CONFIG
FREETYPE_CONFIG is not used since version 2.0.15 and
50d72e5531

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:37:58 +01:00
Fabrice Fontaine
afe11e8457 package/sudo: drop openssl workaround
Drop workaround added by commit bf899e50d8
because sudo natively supports pkg-config for searching openssl (which
is enabled by default) since version 1.9.2 and
4cadd54951

As a side-effect, this will fix the following build failure when openssl
is not installed on host (as LIBS is set before AX_PROG_CC_FOR_BUILD):

configure:8162: checking whether the C compiler works
configure:8184: /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-2/output-1/host/include -I/home/buildroot/autobuild/instance-2/output-1/host/include -L/home/buildroot/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-2/output-1/host/lib conftest.c -L/home/buildroot/autobuild/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -lssl -L/home/buildroot/autobuild/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib -pthread -latomic -lcrypto -pthread -latomic  >&5
/usr/bin/ld: skipping incompatible /home/buildroot/autobuild/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssl.a when searching for -lssl
/usr/bin/ld: skipping incompatible /home/buildroot/autobuild/instance-2/output-1/host/bin/../arm-buildroot-linux-uclibcgnueabi/sysroot/usr/lib/libssl.a when searching for -lssl
/usr/bin/ld: cannot find -lssl

Fixes:
 - http://autobuild.buildroot.org/results/7a5d4dd22343be46a5ddd1c1a1a8e1799517d564

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:37:56 +01:00
Yann E. MORIN
7f2020f904 utils/docker-run: improve user experience
Currently, the docker-run script starts a container based on the
reference image, in which the user has UID:GID set to 1000:1000,
which may or may not be the same as local user uses, which may
prevent the commands in the container from creating files, which
foils the plan of using the container to run a build...

Additionally, the paths in the container differ from the paths
the user expects, as the current Buildroot tree is mounted over
the in-container user home directory. This is a bit confusing...

Finally, the container is left hanging around after the command
finishes, and thus there are as many lingering containers as the
user runs docker-run. This is not very nice...

We fix all of that (yeah, should be different patches, but meh):

  - we use --mount instead of -v, which allows us to bind-mount
    the Buildroot tree at the same place in the container, as
    Docker will create the destination if it does not exist, while
    -v seems to expect it to exist [0].

  - as a consequence, we can also set the working directory as the
    Buildroot top-directory;

  - use --user to force the same UID:GID in the container as the
    local user, so that files created in the container belong to
    the local user, and so that files from the local user are
    accessible from the container;

  - use --rm to remove the container once it terminates; starting
    a new container is very quick anyway, so it is as good as
    re-using a previous container.

[0] the documentation is not clear about that. It clearly states
that the host directory (i.e. the origin, the source) is created
if missing, but it says nothing of the destination:
    https://docs.docker.com/engine/reference/commandline/run/#mount-volume--v---read-only

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Luca Ceresoli <luca@lucaceresoli.net>
Cc: Giulio Benetti <giulio.benetti@benettiengineering.com>
Cc: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:27:24 +01:00
James Hilliard
cc60c732a1 package/python-tinycss2: bump to version 1.1.1
This update drops distutils support and requires flit package
infrastructure.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:22:34 +01:00
James Hilliard
29a12eb86a package/python-flit-core: new package/infrastructure
This adds pep517(needed for flit-core to build itself) and flit python
package types.

We need to add an installer script and pass it appropriate options for
installing pep517 wheels generated by python-pypa-build during the
build stage. Unfortunately it seems pep517 does not support builds
without using the wheel format.

We also need to add a patch fixing the version parser in flit-core.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[Arnout:
 - fix indentation in pkg-python.mk (tabs, not spaces);
 - use the new _CMD variables instead of duplicating the entire _CMDS
   definitions;
 - no need to filter dependencies (they're not self-referencing);
 - _NEEDS_HOST_PYTHON no longer exists;
 - host-python-pypa-build gets added to DEPENDENCIES automatically.
]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 22:16:43 +01:00
Fabrice Fontaine
6f0e2e567f package/dnsmasq: fix build with ubus and without dnssec
Fix the following build failure raised since bump to version 2.86 in
commit 5b29096f8f:

rfc1035.c: In function 'report_addresses':
rfc1035.c:978:49: error: 'struct dnsmasq_daemon' has no member named 'workspacename'
  978 |        if (!extract_name(header, len, &p, daemon->workspacename, 1, 0))
      |                                                 ^~

Fixes:
 - http://autobuild.buildroot.org/results/51242d4f532373544e3c7ea45036b8d41390b29b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-16 22:11:45 +01:00
Fabrice Fontaine
c7d3f5cd9f package/qt5/qt5webkit: needs execinfo.h
qt5webkit needs execinfo.h since bump to version 5.212.0-alpha4 in
commit df0b0fe691:

/tmp/instance-1/output-1/build/qt5webkit-5.212.0-alpha4/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp:54:10: fatal error: execinfo.h: No such file or directory
   54 | #include <execinfo.h>
      |          ^~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/351529f7d928e28fa2db22c6297dc70d21db562b

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-16 22:05:54 +01:00
Fabrice Fontaine
b2e6e376a2 package/python-pycli: fix build with python >= 3.10
Fix the following build failure raised since bump of python3 to version
3.10.1 in commit 25b1fc2898 due to the new
"Multiple Exception types without parentheses" exception
(https://docs.python.org/3/whatsnew/3.10.html)

error:   File "/usr/lib/python3.10/site-packages/cli/app.py", line 242
    except Exception, e:
           ^^^^^^^^^^^^
SyntaxError: multiple exception types must be parenthesized

Fixes:
 - http://autobuild.buildroot.org/results/8d7b0c23472abffc9447e4a6de273bdd04486d39

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-16 22:02:17 +01:00
Yegor Yefremov
d06737b27b package/libusb: fix maybe-uninitialized error
Initialize active_config to an invalid value to avoid the following
compilation error:

os/linux_usbfs.c: In function ‘op_get_configuration’:
os/linux_usbfs.c:1452:12: error: ‘active_config’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
 1452 |  *config = (uint8_t)active_config;

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-02-16 21:56:31 +01:00
Arnout Vandecappelle (Essensium/Mind)
c3810c1317 package/pkg-python.mk: refactor build/install opts
The python package infrastructure defines a number of helper variables
that are used to construct the build and install commands. However,
there are still a few parts (setup.py and its argument) that are set
explicitly in _BUILD_CMDS and _INSTALL_CMDS. This creates problems if we
want to add another setup type that does not use setup.py.

Therefore, move the setup.py part into the helper variables as well.
Since this means that the variable becomes a full command rather than
just options, rename them to _BUILD_CMD and _INSTALL_CMD.

While we're at it, also clean up the whitespace in the definition of
these variables. They were aligned on = at some point, but that
alignment was already broken.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 21:32:58 +01:00
Fabrice Fontaine
d1ca33e812 package/mutt: bump to version 2.2.0
libgsasl is an optional dependency since
68caf9140c

http://www.mutt.org/relnotes/2.2/
https://gitlab.com/muttmua/mutt/-/blob/mutt-2-2-rel/ChangeLog

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:47 +01:00
Fabrice Fontaine
f5a8485963 package/opentracing-cpp: bump to version 1.6.0
Update indentation in hash file (two spaces)

https://github.com/opentracing/opentracing-cpp/releases/tag/v1.6.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:46 +01:00
Julien Olivain
16ff948444 package/ola: reintroduce package at version 0.10.8
The ola package (Open Lighting Architecture) version 0.10.2 was
removed in commit e692e1f2b2 due to an
incompatibility with the protobuf version 3.2.0 present in Buildroot
at that time.

ola was fixed to support newer protobuf version in:
https://github.com/OpenLightingProject/ola/pull/1630

This commit reintroduce this package at version 0.10.8.
For changelogs since its removal at 0.10.2, see:
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.3
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.4
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.5
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.6
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.7
- https://github.com/OpenLightingProject/ola/releases/tag/0.10.8

This commit is based on the previously removed ola package, with the
following rework:
- Remove the dependency on BR2_HOST_GCC_AT_LEAST_4_5 as host gcc is
  now guaranteed to be at least 4.8.
- Update target gcc dependency to >= 4.8 to reflect protobuf
  requirement.
- Remove the BR2_PACKAGE_OLA_SLP option, which was removed in
  ola 0.9.4.
- Change the "DMX4Linux" plugin option name to "Open DMX" to better
  reflect the ola option (DMX4Linux is a legacy plugin for 2.6
  Kernels).
- Update Python support to version 3.x only
- Remove patches, as they are no longer needed
- Add options for ola plugins: ftdidmx, gpio, karate,
  openpixelcontrol, renard, spi, uartdmx, usbdmx
- Reorder options alphabetically
- Update project URL
- Add license hashes

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:46 +01:00
Kyle Harding
fad0f7a096 package/unbound: bump version to 1.15.0
Signed-off-by: Kyle Harding <kyle@balena.io>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:46 +01:00
Bartosz Bilas
9a2beaf778 boot/barebox: bump version to 2022.01.0
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:46 +01:00
Bernd Kuhls
6aca97d6e5 package/{mesa3d, mesa3d-headers}: bump version to 21.3.6
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2022-February/000663.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:49:46 +01:00
James Hilliard
795c473cfd package/python-setuptools: bump to version 60.8.2
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:25:20 +01:00
Bernd Kuhls
7b969c8c8c package/xmrig: bump version to 6.16.4
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:25:20 +01:00
Asaf Kahlon
80f480381b package/{libuv, uvw}: bump to versions 1.43.0, 2.11.0_libuv_v1.43
Signed-off-by: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-16 20:07:18 +01:00
James Hilliard
8bb2db8cb1 package/qt5/qt5location: remove unused qt5location-mapboxgl
This was only needed when the mapboxgl submodule was a separate
package(was never included in buildroot only a patch series).

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-02-16 14:14:17 +01:00
Fabrice Fontaine
91cc129d72 package/rng-tools: bump to version 6.15
Drop patches (already in version)

https://github.com/nhorman/rng-tools/releases/tag/v6.15

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-14 22:02:03 +01:00
Romain Naour
0fc614345f package/poke: bump to version 2.1
Tested locally with poke testsuite on aarch64 with Qemu:

         === poke Summary ===
 # of expected passes		6320
 # of unsupported tests		7

Build tested with test-pkg:
https://gitlab.com/kubu93/buildroot/-/pipelines/466516470

See:
http://www.jemarch.net/poke-2.0-relnotes.html
http://www.jemarch.net/poke-2.1-relnotes.html

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-14 22:02:00 +01:00