Commit Graph

70157 Commits

Author SHA1 Message Date
Arnout Vandecappelle
9e447e8b2f package/pkg-python.mk: replace $(_BASE_ENV) with $($(SETUP_TYPE)_ENV)
The _BASE_ENV variable is set based on the setup type, and only based on
the setup type. Because of this, we have a large conditional tree in
inner-python-package which makes things hard to read.

Rather than conditions, it's also possible to use indirect variables.
Concretely, we can use $(PKG_PYTHON_$($(PKG)_SETUP_TYPE)_ENV) instead
of $($(PKG)_BASE_ENV) to dispatch to the right ENV variable.

Once we do the same for all other variables that are set in the
condition tree, we'll be able to remove the condition tree entirely.

Because $($(PKG)_SETUP_TYPE) is lowercase (e.g. 'setuptools' or
'pep517'), while the existing _ENV variables have uppercase names (e.g.
PKG_PYTHON_SETUPTOOLS_ENV), we need to convert the setup type to
uppercase. Introduce the variable $(PKG)_SETUP_TYPE_UPPER for this.

flit was reusing the _BASE_ENV definition from pep517, and flit-bootstrap
also didn't have its own _ENV definition yet, so those have to be added.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 22:02:11 +01:00
Arnout Vandecappelle
aae25fb55e package/pkg-python.mk: split the commands in a target and host section
Only define the _CMDS variables that are relevant for the target resp.
host variant. Duplicate the _BUILD_CMDS. This will allow us to
differentiate part of the _BUILD_CMDS definition in a follow-up patch.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 16:41:41 +01:00
Arnout Vandecappelle
ba27abf356 package/pkg-python.mk: remove _BASE_BUILD_OPTS variable
This variable can just as well be merged into _BASE_BUILD_CMD. This is
how it's done for the install opts. And anyway it's only used by
distutils and nowhere else.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 16:40:30 +01:00
Arnout Vandecappelle
0ff5d3df05 package/pkg-python.mk: remove $(2)_PYTHON_INTERPRETER variable
This is a leftover from python 2/3. Since the interpreter is now always
python3, we can simply call it like that - like is done in all the other
places where python is called.

While we're at it, call python3 explicitly rather than relying on the
symlink.

Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 16:38:17 +01:00
James Hilliard
e241419490 utils/scanpypi: add flit package support
These packages don't have a setup.py so we instead need to parse their
pyproject.toml file.

It is possible that such a package does not define a project_urls config
item, so ensure we do not choke on it (None.get() would raise).

Note that this currently doesn't handle flit package dependency
resolution.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com>
[yann.morin.1998@free.fr:
  - add sentence about the project_urls rewrite
  - fix flake8 errors
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:47:10 +01:00
James Hilliard
efb5d3fbd8 package/python-pyelftools: bump to version 0.30
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:53 +01:00
James Hilliard
20af13d17f package/python-pydyf: bump to version 0.8.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:45 +01:00
James Hilliard
618ad13422 package/python-pydal: bump to version 20231114.3
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:38 +01:00
James Hilliard
66f94d372f package/python-pycryptodomex: bump to version 3.19.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:31 +01:00
James Hilliard
ecc9da5277 package/python-pycrate: bump to version 0.7.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:24 +01:00
James Hilliard
bdbaab9770 package/python-pycares: bump to version 4.4.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:16 +01:00
James Hilliard
1f096a04de package/python-pycairo: bump to version 1.25.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:09 +01:00
James Hilliard
0bfd7351e1 package/python-pyasn1-modules: bump to version 0.3.0
Update github url to new repository.

License hash changed due to year update:
848e7d6a6e

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:26:02 +01:00
James Hilliard
3223987c93 package/python-psycopg2: bump to version 2.9.9
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:55 +01:00
James Hilliard
778fddf9e2 package/python-psutil: bump to version 5.9.6
License hash changed due to quote removal:
bea3cf2d16

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:48 +01:00
James Hilliard
7748d228e6 package/python-prompt-toolkit: bump to version 3.0.41
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:41 +01:00
James Hilliard
90eeb05910 package/python-portend: bump to version 3.2.0
License hash changed due to notice removal:
5957d58266

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:34 +01:00
James Hilliard
58a920e5fb package/python-pip: bump to version 23.3.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:27 +01:00
James Hilliard
96980b4738 package/python-pillow: bump to version 10.1.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:20 +01:00
James Hilliard
35744a2c02 package/python-periphery: bump to version 2.4.1
License hash changed due to year update:
c0e6741ee2

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:13 +01:00
James Hilliard
47d43fe906 package/python-pbr: bump to version 6.0.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:25:05 +01:00
James Hilliard
c3f74b50da package/python-pathvalidate: bump to version 3.2.0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:58 +01:00
James Hilliard
31d7d32380 package/python-pathspec: bump to version 0.11.2
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:50 +01:00
James Hilliard
6c70212a09 package/python-paramiko: bump to version 3.3.1
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:41 +01:00
James Hilliard
c4749c6f82 package/python-packaging: bump to version 23.2
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:34 +01:00
James Hilliard
134e65f023 package/python-outcome: bump to version 1.3.0.post0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:27 +01:00
James Hilliard
0cdce6d53f package/python-mako: bump to version 1.3.0
License hash changed due to year update:
272f5d8cc9

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:20 +01:00
James Hilliard
a7d2810bc9 package/python-orjson: bump to version 3.9.10
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-25 12:24:11 +01:00
Kalpesh Panchal
a743087593 package/memtest86: bump to version 6.20
- bumped package version to 6.20
- as 6.20 prebuilt version is not available on same download site but
  source code is released at https://github.com/memtest86plus/memtest86plus/releases
  so updated mk file to download source from git release
- prebuilt binary not found in 6.20 package and also README.md
  does not mention any toolchain limitation for compilation
  so added source build command depending on 32-bit or 64-bit x86 target.
- corrected License file name
- installed memtest binaries to image folder like other bootable
  images(grub , kernel) are copied.
- updated config help as per package README.md

Signed-off-by: Kalpesh Panchal <kalpesh.panchal2@collins.com>
Signed-off-by: Abhishek Anand <abhishek.anand@collins.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
[yann.morin.1998@free.fr:
  - fix check-package errors
  - fix hash file
  - better install commands
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 19:23:51 +01:00
James Hilliard
b41d4494a6 package/python-logbook: bump to version 1.7.0.post0
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 16:06:01 +01:00
Giulio Benetti
da909bf238 package/harfbuzz: bump to version 8.3.0
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:55:12 +01:00
José Luis Salvador Rufo
d153e58d13 package/zfs: bump version to 2.2.0
Removed backported patch:
- bc3f12bfac.patch

Updated ZFS test to pass this new version; drop the explicit /pool
mountpoint option to rely on the default location (which happens to be
/pool already).

Signed-off-by: José Luis Salvador Rufo <salvador.joseluis@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:51:39 +01:00
Julien Olivain
b6d4b0170f package/octave: bump package to version 8.4.0
See release note:
https://octave.org/news/release/2023/11/05/octave-8.4.0-released.html

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:37:27 +01:00
Michael Nosthoff
aea790392a package/libabseil-cpp: bump to version 20230802.1
abseil and other google tools are now subject to
"Google's Foundational C++ Support Policy" [0][1]. This currently mandates
gcc 7.3.1 and C++14 as minimum versions.

Since we don't have guards for patch versions of gcc 7 use gcc 8 as minimum.

[0] https://github.com/abseil/abseil-cpp/releases/tag/20230125.0
[1] b842c39db8/foundational-cxx-support-matrix.md

Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:36:06 +01:00
Julien Olivain
6a172ffe6b package/openblas: bump to version v0.3.25
For change log since v0.3.24, see:
https://github.com/xianyi/OpenBLAS/releases/tag/v0.3.25

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:32:39 +01:00
Francois Perrad
3afe877f52 package/lua-testmore: bump to version 0.3.7
diff COPYRIGHT:
    -Copyright (C) 2009-2021 Francois Perrad.
    +Copyright (C) 2009-2023 Francois Perrad.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:21:30 +01:00
Francois Perrad
00df263377 package/lualdap: bump to version 1.4.0
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:21:24 +01:00
Giulio Benetti
40038a5632 package/rtl8192eu: bump to version 2023-11-13 on branch 5.11.2.1
It supports up to Linux 6.7.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:16:43 +01:00
Giulio Benetti
44f138f440 package/rtl8723ds: bump to 2023-11-14 version
It supports up to Linux 6.7.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:16:37 +01:00
Francois Perrad
dbcb9554d5 package/open62541: bump to version 1.3.8
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 15:16:23 +01:00
Saeed Kazemi
1cb0853489 package/procs: bump to version 0.14.3
Release notes:
https://github.com/dalance/procs/releases/tag/v0.14.3

Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 14:57:22 +01:00
Saeed Kazemi
986a160cbe package/eza: bump to version 0.16.0
Release notes:
https://github.com/eza-community/eza/releases/tag/v0.16.0

Signed-off-by: Saeed Kazemi <kazemi.ms@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 14:57:16 +01:00
Adam Duskett
0a1d415dc3 package/systemd: bump version to 254.6
Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-18 14:45:16 +01:00
Peter Korsgaard
5c9f4d64de Update for 2023.11-rc1
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-14 08:25:01 +01:00
Peter Korsgaard
f1ee7015a4 support/dependencies/check-host-tar.sh: blacklist tar 1.35+
GNU tar 1.35 changed the behaviour for the devmajor/devminor fields,
breaking the download hash validation.  For details, see:

https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html
https://patchwork.ozlabs.org/project/buildroot/patch/20231018141155.533944-1-vfazio@gmail.com/

To work around this issue, blacklist tar 1.35+ similar to how we do it for
pre-1.27 versions so Buildroot falls back to building host-tar (which is
currently 1.34).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:51:20 +01:00
Peter Korsgaard
ad0bb50dc7 package/tar: add upstream security patch for CVE-2022-48303
Fixes CVE-2022-48303: GNU Tar through 1.34 has a one-byte out-of-bounds read
that results in use of uninitialized memory for a conditional jump.
Exploitation to change the flow of control has not been demonstrated.  The
issue occurs in from_header in list.c via a V7 archive in which mtime has
approximately 11 whitespace characters.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
[Peter: add _IGNORE_CVES entry]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:51:01 +01:00
Peter Korsgaard
f2b23a6320 Revert "package/tar: security bump to version 1.35"
This reverts commit d4d483451f.

Tar 1.35 unfortunately changes the behaviour for the devmajor/devminor
fields, breaking the download hash validation.  From the release notes:

* Leave the devmajor and devminor fields empty (rather than zero) for
  non-special files, as this is more compatible with traditional tar.

https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html

So revert the bump for now.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:49:36 +01:00
Peter Korsgaard
b32a46e2a8 Revert "package/tar: allowing building even on non-Y2038 compliant systems"
This reverts commit 7f1088f9ca.

We're going back to tar 1.34, so this needs to be reverted as well.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:49:27 +01:00
Dario Binacchi
bcd879d5e2 package/uuu: bump to version 1.5.141
- Increase default timeout to 10s (1.5.140)
- Hot Fixed for SPDS crash for some images (1.5.141)

Release notes:
https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.140
https://github.com/nxp-imx/mfgtools/releases/tag/uuu_1.5.141

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:48:37 +01:00
Giulio Benetti
b368f78a4e DEVELOPERS: add Giulio Benetti to mongoose and swupdate
Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-11-13 22:47:25 +01:00