buildroot.git
3 years agopackage/boost: drop BOOST_IGNORE_CVES
Fabrice Fontaine [Tue, 5 Jan 2021 17:17:10 +0000 (18:17 +0100)]
package/boost: drop BOOST_IGNORE_CVES

Not needed since commit 63332c33aa0771532807fd2684d4eee4eb952435

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/open62541: add patch to allow building without a C++ compiler
Thomas Petazzoni [Thu, 7 Jan 2021 21:14:55 +0000 (22:14 +0100)]
package/open62541: add patch to allow building without a C++ compiler

This patch was intended to be added in commit
b36ea68b5ad0f89ffd92cac3f91654e180683b1c ("package/open62541: new
package") but was missed, causing open62541 to not build on
configurations that lack a C++ compiler. This patch removes the need
for a C++ compiler by properly declaring the CMake project.

Fixes:

  http://autobuild.buildroot.net/results/86ca6a5a01ecfc7030c6be0da81924436b41d057/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/jasper: Bump to 2.0.24
Michael Vetter [Mon, 4 Jan 2021 09:33:45 +0000 (10:33 +0100)]
package/jasper: Bump to 2.0.24

Changes:
* Add JAS_VERSION_MAJOR, JAS_VERSION_MINOR, JAS_VERSION_PATCH for
  easier access to the JasPer version.
* Fixes stack overflow bug on Windows, where variable-length
  arrays are not available. (#256)

Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agoDEVELOPERS: Add Romain Naour for qemu package
Romain Naour [Thu, 7 Jan 2021 16:14:14 +0000 (17:14 +0100)]
DEVELOPERS: Add Romain Naour for qemu package

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/pkgconf: bump to version 1.6.3
Francois Perrad [Thu, 7 Jan 2021 18:22:21 +0000 (19:22 +0100)]
package/pkgconf: bump to version 1.6.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agoDEVELOPERS: add myself for php
Bernd Kuhls [Thu, 7 Jan 2021 18:02:16 +0000 (19:02 +0100)]
DEVELOPERS: add myself for php

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/php: security bump version to 7.4.14
Bernd Kuhls [Thu, 7 Jan 2021 18:02:15 +0000 (19:02 +0100)]
package/php: security bump version to 7.4.14

Fixes CVE-2020-7071: https://bugs.php.net/bug.php?id=77423

Release notes: https://news-web.php.net/php.announce/304
Changelog: https://www.php.net/ChangeLog-7.php#7.4.14

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/sigrok-cli: bump to version 0.7.1
Fabrice Fontaine [Mon, 4 Jan 2021 17:16:24 +0000 (18:16 +0100)]
package/sigrok-cli: bump to version 0.7.1

https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blob;f=NEWS;h=614c910b791228203dd144f0c092204ba0491e8f;hb=6bb3c3dd27c0477705a5c0684a8c3fd506a35f48

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/minizip: bump to version 2.10.6
Fabrice Fontaine [Mon, 4 Jan 2021 17:14:19 +0000 (18:14 +0100)]
package/minizip: bump to version 2.10.6

https://github.com/nmoinvaz/minizip/releases/tag/2.10.6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/minicom: bump to version 2.8
Giulio Benetti [Tue, 5 Jan 2021 15:47:53 +0000 (16:47 +0100)]
package/minicom: bump to version 2.8

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/c-periphery: bump to v2.3.1
Ryan Barnett [Tue, 5 Jan 2021 14:05:40 +0000 (08:05 -0600)]
package/c-periphery: bump to v2.3.1

Signed-off-by: Ryan Barnett <ryanbarnett3@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/libcap: bump to version 2.46
Francois Perrad [Tue, 5 Jan 2021 13:19:41 +0000 (14:19 +0100)]
package/libcap: bump to version 2.46

remove merged patch

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/libwebsockets: bump to version 4.0.21
Francois Perrad [Tue, 5 Jan 2021 13:20:00 +0000 (14:20 +0100)]
package/libwebsockets: bump to version 4.0.21

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/libgtk3: bump to version 3.24.24
Francois Perrad [Tue, 5 Jan 2021 07:51:05 +0000 (08:51 +0100)]
package/libgtk3: bump to version 3.24.24

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/libgtk2: bump to version 2.24.33
Fabrice Fontaine [Mon, 4 Jan 2021 17:13:40 +0000 (18:13 +0100)]
package/libgtk2: bump to version 2.24.33

Update indentation in hash file (two spaces)

https://gitlab.gnome.org/GNOME/gtk/-/blob/2.24.33/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/openjpeg: security bump to version 2.4.0
Fabrice Fontaine [Mon, 4 Jan 2021 17:10:42 +0000 (18:10 +0100)]
package/openjpeg: security bump to version 2.4.0

- Drop upstreamed patches
- Update indentation in hash file (two spaces)
- Fix CVE-2020-27814, CVE-2020-27823, CVE-2020-27824 and
  CVE-2020-27841 to CVE-2020-27845

https://github.com/uclouvain/openjpeg/releases/v2.4.0

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/ytree: bump version to 2.03
Bernd Kuhls [Tue, 5 Jan 2021 19:29:56 +0000 (20:29 +0100)]
package/ytree: bump version to 2.03

Changelog: https://www.han.de/~werner/ytree.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dav1d: bump version to 0.8.1
Bernd Kuhls [Tue, 5 Jan 2021 19:27:06 +0000 (20:27 +0100)]
package/dav1d: bump version to 0.8.1

Changelog: https://code.videolan.org/videolan/dav1d/-/blob/master/NEWS

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xfont_font-misc-ethiopic: bump version to 1.0.4
Bernd Kuhls [Tue, 5 Jan 2021 19:26:00 +0000 (20:26 +0100)]
package/x11r7/xfont_font-misc-ethiopic: bump version to 1.0.4

Added hashes provided by upstream.

Release notes:
https://lists.x.org/archives/xorg-announce/2020-August/003055.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xfont_font-alias: bump version to 1.0.4
Bernd Kuhls [Tue, 5 Jan 2021 19:25:59 +0000 (20:25 +0100)]
package/x11r7/xfont_font-alias: bump version to 1.0.4

Added hashes provided by upstream.

Release notes:
https://lists.x.org/archives/xorg-announce/2020-August/003054.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/x11r7/xapp_fonttosfnt: bump version to 1.2.1
Bernd Kuhls [Tue, 5 Jan 2021 19:17:29 +0000 (20:17 +0100)]
package/x11r7/xapp_fonttosfnt: bump version to 1.2.1

Release notes:
https://lists.x.org/archives/xorg-announce/2020-December/003068.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/libmicrohttpd: bump version to 0.9.72
Bernd Kuhls [Tue, 5 Jan 2021 18:59:09 +0000 (19:59 +0100)]
package/libmicrohttpd: bump version to 0.9.72

Release notes:
https://lists.gnu.org/archive/html/libmicrohttpd/2020-12/msg00023.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/stellarium: bump version to 0.20.4
Bernd Kuhls [Tue, 5 Jan 2021 18:23:33 +0000 (19:23 +0100)]
package/stellarium: bump version to 0.20.4

Release notes:
http://stellarium.org/release/2020/12/28/stellarium-0.20.4.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dovecot-pigeonhole: bump version to 0.5.13
Bernd Kuhls [Tue, 5 Jan 2021 17:22:08 +0000 (18:22 +0100)]
package/dovecot-pigeonhole: bump version to 0.5.13

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-January/000449.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agopackage/dovecot: security bump version to 2.3.13
Bernd Kuhls [Tue, 5 Jan 2021 17:22:07 +0000 (18:22 +0100)]
package/dovecot: security bump version to 2.3.13

Updated license hash due to upstream commit:
https://github.com/dovecot/core/commit/bf7952d33e39358a1258697505ed25c050e14bbb

Fixes the following CVEs:

CVE-2020-24386:
https://dovecot.org/pipermail/dovecot-news/2021-January/000450.html

CVE-2020-25275:
https://dovecot.org/pipermail/dovecot-news/2021-January/000451.html

Release notes:
https://dovecot.org/pipermail/dovecot-news/2021-January/000448.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
3 years agosupport/scripts/pkg-stats: fix flake8 errors
Arnout Vandecappelle (Essensium/Mind) [Tue, 5 Jan 2021 22:23:31 +0000 (23:23 +0100)]
support/scripts/pkg-stats: fix flake8 errors

support/scripts/pkg-stats:81:22: E211 whitespace before '('
support/scripts/pkg-stats:404:1: E305 expected 2 blank lines after class or function definition, found 1
support/scripts/pkg-stats:561:12: E713 test for membership should be 'not in'
support/scripts/pkg-stats:567:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:595:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:1051:1: E302 expected 2 blank lines, found 1
support/scripts/pkg-stats:1057:1: E302 expected 2 blank lines, found 1

Also fix:
support/scripts/pkg-stats:1054:5: E722 do not use bare 'except'
found by a more recent flake8 version. The exception may be either
IndexError or AttributeError, so use Exception to catch either.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
3 years agopackage/nginx: use /var/cache/nginx instead of /var/tmp/nginx
Pascal de Bruijn [Thu, 23 Jan 2020 08:36:41 +0000 (09:36 +0100)]
package/nginx: use /var/cache/nginx instead of /var/tmp/nginx

move
  http-client-body-temp-path
  http-proxy-temp-path
  http-fastcgi-temp-path
  http-scgi-temp-path
  http-uwsgi-temp-path

from /var/tmp/nginx to /var/cache/nginx

this allows the use of systemd constructs

  LogsDirectory=nginx
  CacheDirectory=nginx

to replace

  ExecStartPre=/usr/bin/mkdir -p /var/log/nginx /var/tmp/nginx

as there isn't a similar construct for /var/tmp.

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/open62541: new package
Yann CARDAILLAC [Thu, 16 Jan 2020 22:05:39 +0000 (23:05 +0100)]
package/open62541: new package

Signed-off-by: Yann CARDAILLAC <ycardaillac@sepro-group.com>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/olsr: add pud plugin
Fabrice Fontaine [Sat, 18 Jan 2020 16:36:18 +0000 (17:36 +0100)]
package/olsr: add pud plugin

pud plugin needs gpsd and has a specific license

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/perl: add option to enable threads
Hector Kesari [Tue, 21 Jan 2020 19:29:16 +0000 (13:29 -0600)]
package/perl: add option to enable threads

Add config option for Perl to enable threads usage.

Signed-off-by: Hector Kesari <hector.kesari@rockwellcollins.com>
Signed-off-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/spi-tools: bump to version 0.8.6
Francois Perrad [Mon, 4 Jan 2021 21:04:02 +0000 (22:04 +0100)]
package/spi-tools: bump to version 0.8.6

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/pango: bump to version 1.48.0
Francois Perrad [Mon, 4 Jan 2021 21:03:37 +0000 (22:03 +0100)]
package/pango: bump to version 1.48.0

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/lighttpd: bump to version 1.4.58
Francois Perrad [Mon, 4 Jan 2021 21:03:10 +0000 (22:03 +0100)]
package/lighttpd: bump to version 1.4.58

the part concerning pdf is merged upstream

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libsecret: bump to version 0.20.4
Francois Perrad [Mon, 4 Jan 2021 21:02:42 +0000 (22:02 +0100)]
package/libsecret: bump to version 0.20.4

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/harfbuzz: bump to version 2.7.4
Francois Perrad [Mon, 4 Jan 2021 21:02:11 +0000 (22:02 +0100)]
package/harfbuzz: bump to version 2.7.4

remove merged patch

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/dash: bump to version 0.5.11.3
Francois Perrad [Mon, 4 Jan 2021 21:01:37 +0000 (22:01 +0100)]
package/dash: bump to version 0.5.11.3

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/librelp: bump to version 1.9.0
David GOUARIN [Mon, 4 Jan 2021 16:49:54 +0000 (17:49 +0100)]
package/librelp: bump to version 1.9.0

Signed-off-by: David GOUARIN <david.gouarin@thalesgroup.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage: provide CPE ID details for numerous packages
Matt Weber [Fri, 4 Dec 2020 15:46:01 +0000 (16:46 +0100)]
package: provide CPE ID details for numerous packages

This patch adds CPE ID information for a significant number of
packages.

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/scripts/pkg-stats: improve rendering of CVE information
Thomas Petazzoni [Fri, 4 Dec 2020 15:46:00 +0000 (16:46 +0100)]
support/scripts/pkg-stats: improve rendering of CVE information

This commit improves pkg-stats to fill in pkg.status['cve'] depending
on the situation for CVEs affecting this package. They are then used
in the HTML rendering.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/scripts/pkg-stats: ignore packages with no valid infra and no version for...
Thomas Petazzoni [Fri, 4 Dec 2020 15:45:59 +0000 (16:45 +0100)]
support/scripts/pkg-stats: ignore packages with no valid infra and no version for CVE checking

Virtual packages (with in pkg-stats speak have "no valid
infrastructure") and packages that have no version specified cannot be
used for CVE checking. They trigger a bunch of warnings from the CVE
checking code, as it cannot parse their version: they don't have any
version. So instead, we simply skip those packages.

A follow-up commit will improve the reporting to be able to
distinguish those packages from packages that have seen their CVEs
checked and don't have any reported.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/scripts/{pkg-stats, cve.py}: support CPE ID based matching
Thomas Petazzoni [Fri, 4 Dec 2020 15:45:58 +0000 (16:45 +0100)]
support/scripts/{pkg-stats, cve.py}: support CPE ID based matching

This commit modifies cve.py, as well as its users cve-checker and
pkg-stats to support CPE ID based matching, for packages that have CPE
ID information.

One of the non-trivial thing is that we can't simply iterate over all
CVEs, and then iterate over all our packages to see which packages
have CPE ID information that match the CPEs affected by the
CVE. Indeed, this is an O(n^2) operation.

So instead, we do a pre-filtering of packages potentially affected. In
check_package_cves(), we build a cpe_product_pkgs dict that associates
a CPE product name to the packages that have this CPE product
name. The CPE product name is either derived from the CPE information
provided by the package if available, and otherwise we use the package
name, which is what was used prior to this patch.

And then, when we look at CVEs, we only consider the packages that
have a CPE product name matching the CPE products affected by the
CVEs. This is done in check_package_cve_affects().

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/script/pkg-stats: show CPE ID in results
Gregory CLEMENT [Fri, 4 Dec 2020 15:45:57 +0000 (16:45 +0100)]
support/script/pkg-stats: show CPE ID in results

This commit improves the pkg-stats script to show the CPE ID of
packages, if available. For now, it doesn't use CPE IDs to match CVEs.

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-modbus-tk: bump to version 1.1.2
Pierre-Jean Texier [Mon, 4 Jan 2021 18:49:01 +0000 (19:49 +0100)]
package/python-modbus-tk: bump to version 1.1.2

Also Remove md5 hash

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libarchive: bump to version 3.5.1
Pierre-Jean Texier [Mon, 4 Jan 2021 18:47:19 +0000 (19:47 +0100)]
package/libarchive: bump to version 3.5.1

Libarchive 3.5.1 is a bugfix release.

Update COPYRIGHT hash due to clarification about 'archive_entry.c' source
file:

 - https://github.com/libarchive/libarchive/commit/fde4660d7bda7debe8e6c8166d49fe9fa62db61d

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/mongoose: bump to to version 7.0
Pierre-Jean Texier [Mon, 4 Jan 2021 18:46:25 +0000 (19:46 +0100)]
package/mongoose: bump to to version 7.0

Update LICENSE hash; copyright year update:

-Copyright (c) 2004-2013 Sergey Lyubka <valenok@gmail.com>
-Copyright (c) 2013-2018 Cesanta Software Limited
+Copyright (c) 2004-2013 Sergey Lyubka
+Copyright (c) 2013-2020 Cesanta Software Limited

See https://github.com/cesanta/mongoose/releases/tag/7.0

Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/waf: bump to v2.0.21
Titouan Christophe [Mon, 4 Jan 2021 18:47:12 +0000 (19:47 +0100)]
package/waf: bump to v2.0.21

Also add a comment in waf.hash about the mechanism for LICENSE hash check

Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/htop: bump to version 3.0.4
Francois Perrad [Sun, 3 Jan 2021 09:23:31 +0000 (10:23 +0100)]
package/htop: bump to version 3.0.4

remove merged patch

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python3: add optional support for lib2to3
Bernd Kuhls [Sun, 3 Jan 2021 15:03:06 +0000 (16:03 +0100)]
package/python3: add optional support for lib2to3

Kodi is in transition to support python3 instead of python2:
https://kodi.wiki/view/General_information_about_migration_to_Python_3

"For Kodi 18 (Leia), only addons that are compatible with both Python 2
 and 3 will be accepted to the official addon repository."

Some of these addons depend on the Kodi addon script.module.future to
provide support for both python versions.

The script.module.future addon contains python-future:
https://kodi.wiki/view/General_information_about_migration_to_Python_3#Future
which in turn needs lib2to3 to be included in the target build of
python3: http://python-future.org/automatic_conversion.html

Kodi addons depending on the script.module.future addon are crashing on
buildroot due to lib2to3 missing in the build.

LibreELEC added lib2to3 to python3 to fix the problem:
https://forum.libreelec.tv/thread/21239-lib2to3-pgen2-parse-missing/
https://github.com/LibreELEC/LibreELEC.tv/pull/4146

This patch provides the Config.in option to be used by Kodi 19.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr:
  - fix conflicts due to local changes in author's tree
  - fix typ in variabl name (PYTHON_CONF_OPTS -> PYTHON3_CONF_OPTS)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/quickjs: link with libatomic
Peter Seiderer [Sun, 3 Jan 2021 20:19:59 +0000 (21:19 +0100)]
package/quickjs: link with libatomic

Link with libatomic if available.

Fixes:

  - http://autobuild.buildroot.net/results/e0766eef95a2559d51e58d1a81a9c40df84ae509

  .../build/quickjs-2020-11-08/quickjs.c:12229: undefined reference to `__atomic_fetch_xor_1'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr:
  - make it a generic variable, not tied to -latomic
  - pass it in all step, like CROSS_PREFIX
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/quickjs: needs host gcc >= 4.9 (C11/stdatomic.h)
Peter Seiderer [Sun, 3 Jan 2021 20:19:58 +0000 (21:19 +0100)]
package/quickjs: needs host gcc >= 4.9 (C11/stdatomic.h)

Fixes:

  - http://autobuild.buildroot.net/results/c7882cc2d66984350f54d619f39cfee5065d941a

  gcc -g -Wall -MMD -MF .obj/libregexp.host.o.d -Wno-array-bounds -Wno-format-truncation -D_GNU_SOURCE -DCONFIG_VERSION=\"2020-11-08\" -DCONFIG_BIGNUM -O2 -flto -c -o .obj/libregexp.host.o libregexp.c
  quickjs.c:112:23: fatal error: stdatomic.h: No such file or directory
   #include <stdatomic.h>
                         ^
  compilation terminated.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/bind: disable backtrace support
Peter Seiderer [Sun, 3 Jan 2021 19:25:48 +0000 (20:25 +0100)]
package/bind: disable backtrace support

Disable backtrace support, fixes linking failure for uclibc/musl based
toolchains.

Fixes:

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

  .../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP'

  - http://autobuild.buildroot.net/results/f0db5fe7fc6860b7270c784989c451e2e7aa2afb/

  .../arm-buildroot-linux-uclibcgnueabi/bin/ld: ../isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP'

  - http://autobuild.buildroot.net/results/cb963298885df37f1e5c4d3ab3989773c01c54fc/

  .../arm-buildroot-linux-musleabihf/bin/ld: ../isc/.libs/libisc.so: undefined reference to `_Unwind_GetIP'

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/libmdbx: fix build with glibc < 2.12
Fabrice Fontaine [Sun, 3 Jan 2021 13:52:46 +0000 (14:52 +0100)]
package/libmdbx: fix build with glibc < 2.12

Set CMAKE_BUILD_TYPE to Release to avoid the following build failure
with glibc < 2.12:

/home/buildroot/autobuild/run/instance-1/output-1/build/libmdbx-0.9.2/mdbx.c:487:5: error: #warning "libmdbx was only tested with GLIBC >= 2.12." [-Werror=cpp]
 #   warning "libmdbx was only tested with GLIBC >= 2.12."
     ^~~~~~~
cc1: all warnings being treated as errors

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Leonid Yuriev <leo@yuriev.ru>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/trace-cmd: installs nothing in staging/
Yann E. MORIN [Sun, 3 Jan 2021 20:21:53 +0000 (21:21 +0100)]
package/trace-cmd: installs nothing in staging/

Since its introduction in Buildroot in 2013 with commit 07203d78c24d
(trace-cmd: new package), trace-cmd has declared installing in staging.

But trace-cmd is a generic-package, and has never, ever provided any
commands for staging installation.

Drop this declaration.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/nfs-utils: rpcbind is only needed for rpc.nfsd
Angelo Compagnucci [Mon, 16 Nov 2020 11:40:33 +0000 (12:40 +0100)]
package/nfs-utils: rpcbind is only needed for rpc.nfsd

rpcbind is only used by nfsd to export nfs share supporting older
v2, v3 protocols.

Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com>
[yann.morin.1998@free.fr:
  - move the select to the corresponding symbol
  - tweak the commit title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/trace-cmd: bump to version 2.9.1
Norbert Lange [Thu, 3 Dec 2020 10:48:40 +0000 (11:48 +0100)]
package/trace-cmd: bump to version 2.9.1

The layout of the pacakge direcotry has changed, as upstream has added
more than just trace-cmd in the repository (e.g. kernel-shark).

However, the buildsystem for trace-cmd is... unconventional:

  - the top-level Makefile will recurse into the trace-cmd/
    sub-directory, but does not pass any variable on the $(MAKE) command
    line; instead, it exports them in the environment, e.g.:
        export CFLAGS

  - the top-level Makefile appends some definitions to CFLAGS et al.,
    sometimes with a simple append-assignment, sometimes with an
    overriden append-assignment, e.g.:
        CFLAGS += -DVSOCK
        override CFLAGS += -DNO_PTRACE

  - the top-level Makefile does not export all the variables. For
    example, LDFLAGS is not exported;

  - the Makefile in the trace-cmd/ sub-directory expects some variables
    to be set, which is done by the top-level Makefile.

As a consequence, we can no longer pass our variable definitions as make
variable defintions on the command line; we must pass them in the
environment. Note that for some, like CFLAGS, that would still work, but
it would not for others, like LDFLAGS; for consistency, we put all in
the environment.

We can however use the provided 'make install', that behaves as
expected. But we must repeat most environment variables; especially, we
duplicate TARGET_CONFIGURE_OPTS as it has PATH et al. which are needed
by the top-level Makefile to properly detect tools (e.g. swig), which it
uses to decide what it should install.

Drop upstreamed patch.

Update the licensing information: new license files have been added in a
sub-directory, and the top-level COPYING now only references those two
(rather than being the actual text of the GPL-2).

Use two spaces in hash file.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
[yann.morin.1998@free.fr:
  - keep using a git clone
  - unbreak the build:
    - use the default make target rule, or the plugins and python
      bindings be built at install time, with the host compiler
    - use the default install target rule
  - expand commit log:
    - detail buildsystem issues
  - add new license files and their hashes
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/python3: bump version to 3.9.1
Bernd Kuhls [Sun, 3 Jan 2021 10:11:08 +0000 (11:11 +0100)]
package/python3: bump version to 3.9.1

Release notes:
https://www.python.org/downloads/release/python-391/

Changelog:
https://docs.python.org/release/3.9.1/whatsnew/changelog.html

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-mwclient: update help text in Config.in
Bernd Kuhls [Sun, 3 Jan 2021 09:42:19 +0000 (10:42 +0100)]
package/python-mwclient: update help text in Config.in

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-mwclient: fix legal info
Bernd Kuhls [Sun, 3 Jan 2021 09:42:18 +0000 (10:42 +0100)]
package/python-mwclient: fix legal info

Needed due to upstream commit
https://github.com/mwclient/mwclient/commit/213ecd23c77a6e60e1996a33cfafae1e467ee2ff

Fixes:
http://autobuild.buildroot.net/results/d40/d40f3a5122e758aaa5ff7b10d273908849e27bc7/

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/multipath-tools: bump to version 0.8.5
Alexander Egorenkov [Sat, 21 Nov 2020 10:44:12 +0000 (11:44 +0100)]
package/multipath-tools: bump to version 0.8.5

Change github URL to https://github.com/opensvc/multipath-tools
which offers proper releases.

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/systemd: don't fail if getty service directory already exists
Bartosz Bilas [Mon, 16 Nov 2020 12:30:35 +0000 (13:30 +0100)]
package/systemd: don't fail if getty service directory already exists

Add -p argument that ignore that specified directory already exists.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[yann.morin.1998@free.fr:
  - split to its own patch
  - rewrite commit title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/syslog-ng: don't fail if systemd service directory already exists
Bartosz Bilas [Mon, 16 Nov 2020 12:30:35 +0000 (13:30 +0100)]
package/syslog-ng: don't fail if systemd service directory already exists

Add -p argument that ignore that specified directory already exists.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[yann.morin.1998@free.fr:
  - split to its own patch
  - rewrite commit title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/luarocks: fix copying our custom command if dest dir exists
Bartosz Bilas [Sun, 3 Jan 2021 08:35:26 +0000 (09:35 +0100)]
package/luarocks: fix copying our custom command if dest dir exists

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[yann.morin.1998@free.fr:
  - use $(INSTALL), not "mkdir -p + cp"
  - split to its own patch
  - rewrite commit title
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/c-ares: bump to version 1.17.1
Fabrice Fontaine [Thu, 19 Nov 2020 21:58:26 +0000 (22:58 +0100)]
package/c-ares: bump to version 1.17.1

Drop patch (not needed since
https://github.com/c-ares/c-ares/commit/b83731ddb6b7834fa0e1eb14a523603c3c040298)
and so autoreconf

https://c-ares.haxx.se/changelog.html

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoconfigs/microchip_sam9x60ek: new defconfigs
Eugen Hristev [Tue, 24 Nov 2020 11:19:34 +0000 (13:19 +0200)]
configs/microchip_sam9x60ek: new defconfigs

Add the new SAM9X60 Evaluation Kit with linux4sam_2020.04
components.  Update README file with new defconfigs.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/x11r7/xapp_xload: disable gettext detection when not needed
Bernd Kuhls [Fri, 4 Dec 2020 20:50:52 +0000 (21:50 +0100)]
package/x11r7/xapp_xload: disable gettext detection when not needed

Patch originates from FreeBSD:
https://lists.freebsd.org/pipermail/freebsd-x11/2015-July/016528.html
https://svnweb.freebsd.org/ports/head/x11/libXpm/Makefile?r1=384234&r2=391122&pathrev=391122

Fixes:
http://autobuild.buildroot.net/results/2ad/2ad27875ce5c16a111d54d452eb395257e9b5e2b/

Similar to how xlib_libXpm was fixed back in 2018, with 6653b0929f
(package/x11r7/xlib_libXpm: disable gettext detection when not needed).

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/boost: atomics needs always lockfree atomic bytes
Fabrice Fontaine [Sat, 5 Dec 2020 22:15:25 +0000 (23:15 +0100)]
package/boost: atomics needs always lockfree atomic bytes

Since version 1.74.0, boost atomics needs a toolchain that always
supports lockfree atomic bytes so add dependendy on
BR2_TOOLCHAIN_SUPPORTS_ALWAYS_LOCKFREE_ATOMIC_INTS:
https://github.com/boostorg/atomic/issues/42

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[yann.morin.1998@free.fr:
  - add the new dependency as its own 'depends on' line
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/php: needs pcre2
Bernd Kuhls [Sun, 27 Dec 2020 18:31:45 +0000 (19:31 +0100)]
package/php: needs pcre2

Since 2008 pcre is a hard-dependency of php:
https://github.com/php/php-src/commit/aa64c6727c2d33a647bdbd9769215044f7cf2967

Instead of optionally depending on the pcre2 package and building the
bundled pcre2 code of php in case BR2_PACKAGE_PCRE2 was not selected
we let php depend on pcre2.

While being at it rename the pcre-related configure option due to
upstream commit:
https://github.com/php/php-src/commit/c1a22f3d4e69cb87f8deeed7d03d9434e6901537

Fixes:
http://autobuild.buildroot.net/results/4a5/4a582af6b66c59a61b75a7047d8530202972ebdd/
because the pcre2 package already contains the fix for mips r6.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[yann.morin.1998@free.fr: keep the JIT option]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agopackage/linphone: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:17:03 +0000 (21:17 +0100)]
package/linphone: bump to version 4.4.8

Set GIT_EXECUTABLE to OFF to avoid the following build failure:

CMake Error at /home/fabrice/br-test-pkg/br-arm-cortex-a9-glibc/host/arm-buildroot-linux-gnueabihf/sysroot/usr/share/bctoolbox/cmake/bctoolboxCMakeUtils.cmake:162 (message):
  invalid git describe version: ''
Call Stack (most recent call first):
  CMakeLists.txt:125 (bc_compute_lib_version)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mediastreamer: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:17:02 +0000 (21:17 +0100)]
package/mediastreamer: bump to version 4.4.8

C++14 is required since version 4.4.0 and
https://github.com/BelledonneCommunications/mediastreamer2/commit/c177f06a802a8ff062a31f8ad0aa012668367eae

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ortp: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:17:01 +0000 (21:17 +0100)]
package/ortp: bump to version 4.4.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/belr: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:17:00 +0000 (21:17 +0100)]
package/belr: bump to version 4.4.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/belle-sip: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:16:59 +0000 (21:16 +0100)]
package/belle-sip: bump to version 4.4.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/bctoolbox: bump to version 4.4.8
Fabrice Fontaine [Tue, 17 Nov 2020 20:16:58 +0000 (21:16 +0100)]
package/bctoolbox: bump to version 4.4.8

The license has changed from GPL-2.0+ to GPL-3.0+.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/mosquitto: bump to v2.0.4
Titouan Christophe [Thu, 31 Dec 2020 14:10:21 +0000 (15:10 +0100)]
package/mosquitto: bump to v2.0.4

mosquitto 2.0.3 and 2.0.4 are bugfixe releases, read the detailed announcements:
  * https://mosquitto.org/blog/2020/12/version-2-0-4-released/
  * https://mosquitto.org/blog/2020/12/version-2-0-3-released/

Also drop the 3 patches that were released in 2.0.3.

Signed-off-by: Titouan Christophe <titouanchristophe@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoboot/boot-wrapper-aarch64: bump version
Vincent Stehlé [Fri, 4 Dec 2020 13:30:19 +0000 (14:30 +0100)]
boot/boot-wrapper-aarch64: bump version

Bump bootwrapper to the latest version.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/wqy-zenhei: new package
Klaus Heinrich Kiwi [Fri, 4 Dec 2020 14:17:37 +0000 (11:17 -0300)]
package/wqy-zenhei: new package

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/delve: new package
Christian Stewart [Thu, 10 Dec 2020 07:27:20 +0000 (23:27 -0800)]
package/delve: new package

Delve is a debugger for the Go programming language.

Signed-off-by: Christian Stewart <christian@paral.in>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agosupport/testing: fix flake8 issue in CPE ID test
Yann E. MORIN [Sat, 2 Jan 2021 17:06:24 +0000 (18:06 +0100)]
support/testing: fix flake8 issue in CPE ID test

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
3 years agoRevert ".flake8: fix check for 80/132 columns"
Yann E. MORIN [Sat, 2 Jan 2021 10:56:05 +0000 (11:56 +0100)]
Revert ".flake8: fix check for 80/132 columns"

Commit 7d17ae2acf63 (.flake8: fix check for 80/132 columns) introduced a
difference in how flake8 behaves between the automatic checks done in
the CI, where the maximum line length is 132, and the local checks,
where the maximum line length is 80.

The rationale at the time was that we recommend 80 char lines, but that
we accept 132 when it makes sense for readability.

However, this is very annoying when running flake8 locally, because of
two reasons:

 1. human reviews on python scripts have not been as thorough as we did
    expect; indeed, we've let a lot of long lines slip through; this
    causes a lot of spurious failures that hide away the actual errors;

 2. when hacking on a python script, the issues reported will not be
    caused by the current changes, so the many reported failures
    actually hide away the newly introduced issues.

Additionally, our 'make check-flake8' rule already enforces the 132-char
limit, and the issues reported are different than when manually running
flake8 on individual files.

Furthermore, the readability rationale for the 80-char limit is
definitely shattered by the mere rationale of allowing 132-char limit
for... readability...

We've arrived to a point where this separation is causing our checks
around flake8 to become mostly unusable and useless, as they do not
report meaningful issues, and people are no longer paying attention, and
this has caused actual issues to be introduced.

Finally, terminal emulators of today have long lifted the 80-char limit,
and are more than capable of displaying 132-char wide lines.

Switch back to using a 132-char limit.

This reverts commit 7d17ae2acf63810495cc480da38127c4612e4da9.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoconfigs/nitrogen8m*: new uboot requires host ssl
Gary Bisson [Sat, 2 Jan 2021 16:29:27 +0000 (17:29 +0100)]
configs/nitrogen8m*: new uboot requires host ssl

Fixes: 8f75e63ec4 ("configs/nitrogen*: bump u-boot to version 2020.10")
https://gitlab.com/buildroot.org/buildroot/-/jobs/938922366
https://gitlab.com/buildroot.org/buildroot/-/jobs/938922367
https://gitlab.com/buildroot.org/buildroot/-/jobs/938922368

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rpm: don't set openmp
Fabrice Fontaine [Thu, 3 Dec 2020 17:37:10 +0000 (18:37 +0100)]
package/rpm: don't set openmp

Don't set openmp to fix a build failure with codesourcery toolchain that
doesn't have OpenMP >= 4.5 indeed upstream doesn't want to remove the
build failure if the user provides --enable-openmp and OpenMP is < 4.5:
https://github.com/rpm-software-management/rpm/pull/1433

Fixes:
 - http://autobuild.buildroot.org/results/05dd945d24e8684aad6a2343ba7f6f8a7cea8349

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/linux-firmware: add option for Broadcom Tigon3 ethernet cards
Peter Seiderer [Mon, 23 Nov 2020 22:11:39 +0000 (23:11 +0100)]
package/linux-firmware: add option for Broadcom Tigon3 ethernet cards

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agoutils/checkpackagelib/lib_mk.py: handle 'else' and 'elif' statements
Thomas De Schampheleire [Wed, 9 Dec 2020 15:32:18 +0000 (16:32 +0100)]
utils/checkpackagelib/lib_mk.py: handle 'else' and 'elif' statements

An 'else' or 'elif' clause inside a make conditional should not be indented
in the same way as the if/endif clause. check-package did not recognize the
else statement and expected an indentation.

For example:

ifdef FOOBAR
interesting
else
more interesting
endif

would, according to check-package, need to become:

ifdef FOOBAR
interesting
else
more interesting
endif

Treat 'else' and 'elif' the same as if-like keywords in the Indent test, but
take into account that 'else' is also valid shell, so we need to correctly
handle line continuation to prevent complaining about the 'else' in:

ifdef FOOBAR
if true; \
    ... \
else \
    ... \
fi
endif

We don't add the 'else' and 'elif' statements to start_conditional, because
it would cause incorrect nesting counting in class OverriddenVariable.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/popperjs: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:16:38 +0000 (19:16 +0100)]
package/popperjs: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/datatables-responsive: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:05:28 +0000 (19:05 +0100)]
package/datatables-responsive: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/datatables-fixedcolumns: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:05:27 +0000 (19:05 +0100)]
package/datatables-fixedcolumns: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/datatables-buttons: move files to $(@D)
Thomas Petazzoni [Sat, 2 Jan 2021 11:06:11 +0000 (12:06 +0100)]
package/datatables-buttons: move files to $(@D)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/datatables-buttons: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:05:26 +0000 (19:05 +0100)]
package/datatables-buttons: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/datatables: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:05:25 +0000 (19:05 +0100)]
package/datatables: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/jszip: new package
Joeri Barbarien [Tue, 8 Dec 2020 18:05:24 +0000 (19:05 +0100)]
package/jszip: new package

Signed-off-by: Joeri Barbarien <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/rng-tools: add jitterentropy library option
Yegor Yefremov [Tue, 8 Dec 2020 14:53:38 +0000 (15:53 +0100)]
package/rng-tools: add jitterentropy library option

Add a menu entry to enable/disable jitterentropy library. Make it
enabled by default to preserve the old behavior.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/ti-sgx-um: drop ti-sgx-libgbm comment
Fabrice Fontaine [Sun, 13 Dec 2020 21:59:47 +0000 (22:59 +0100)]
package/ti-sgx-um: drop ti-sgx-libgbm comment

Commit 814bfc5ec1ab49188d1c8cb7f0d8d857b92d6a03 forgot to drop comment
from ti-sgx-um

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/sdl_ttf: bump to de50cffd41e6
Gleb Mazovetskiy [Thu, 10 Dec 2020 18:18:06 +0000 (18:18 +0000)]
package/sdl_ttf: bump to de50cffd41e6

There is unlikely to be a new SDL_ttf release for the foreseeable future:
https://bugzilla.libsdl.org/show_bug.cgi?id=5344#c1

The unreleased version from HEAD as of 2020-11-09 has several bugfixes
and DPI scaling support:
https://hg.libsdl.org/SDL_ttf/rev/7dbd7cd826d6

DPI scaling is used for rendering on HiDPI displays and displays
with non-square pixels.

Signed-off-by: Gleb Mazovetskiy <glex.spb@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/util-linux: bump version to 2.36.1
Bernd Kuhls [Thu, 10 Dec 2020 17:34:18 +0000 (18:34 +0100)]
package/util-linux: bump version to 2.36.1

Release notes:
https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.36/v2.36.1-ReleaseNotes

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/{python, python3}-requests: bump version to 2.25.1
Bernd Kuhls [Fri, 1 Jan 2021 19:41:13 +0000 (20:41 +0100)]
package/{python, python3}-requests: bump version to 2.25.1

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-requests-oauthlib: bump version to 1.3.0
Bernd Kuhls [Fri, 1 Jan 2021 19:41:12 +0000 (20:41 +0100)]
package/python-requests-oauthlib: bump version to 1.3.0

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-chardet: bump version to 4.0.0
Bernd Kuhls [Fri, 1 Jan 2021 19:41:11 +0000 (20:41 +0100)]
package/python-chardet: bump version to 4.0.0

Added sha256 hash provided by upstream, reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-mwscrape2slob: bump version
Bernd Kuhls [Fri, 1 Jan 2021 19:25:47 +0000 (20:25 +0100)]
package/python-mwscrape2slob: bump version

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-mwscrape: bump version for python3 support
Bernd Kuhls [Fri, 1 Jan 2021 19:25:46 +0000 (20:25 +0100)]
package/python-mwscrape: bump version for python3 support

Upstream ported the package to support python >= 3.6:
https://github.com/itkach/mwscrape/commit/568ccbe6e12dd6391277df02adf724ba0e5f9197

Remove dependency to python-futures package because it was only needed
for python2.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
3 years agopackage/python-mwclient: bump version to 0.10.1
Bernd Kuhls [Fri, 1 Jan 2021 19:25:45 +0000 (20:25 +0100)]
package/python-mwclient: bump version to 0.10.1

Reformatted hashes.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>