Commit Graph

4579 Commits

Author SHA1 Message Date
Jeffery To b078e01f0c python-semantic-version: Add new host-only package
From the README:

This small python library provides a few tools to handle SemVer in
Python. It follows strictly the 2.0.0 version of the SemVer scheme.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:55 -07:00
Jeffery To cb8648679b python-typing-extensions: Update to 4.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:21 -07:00
Jeffery To 423235b40a python-trove-classifiers: Update to 2023.9.19
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:40:11 -07:00
Jeffery To c12e4e873d python-setuptools: Update to 68.2.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-27 16:39:52 -07:00
Michael Heimpold ad1816fb53
Merge pull request #22187 from mhei/php8-pecl-redis-update-to-6.0.0
php8-pecl-redis: update to 6.0.1
2023-09-27 18:25:18 +02:00
Christian Marangi a865a7b4ed
luajit2: replace arch dependency to common config HAS_LUAJIT_ARCH
Replace arch dependency to common config HAS_LUAJIT_ARCH from luajit
package.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-25 17:42:02 +02:00
Christian Marangi 5eea661fdb
luajit: move arch dependency to dedicated config HAS_LUAJIT_ARCH
Move arch dependency for luajit to dedicated config HAS_LUAJIT_ARCH to
workaround recursive dependency limitation.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-25 17:42:02 +02:00
Michael Heimpold bf1cb463f4 php8-pecl-redis: update to 6.0.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-09-25 08:11:45 +02:00
Jeffery To 0434413108 python-bidict: Update to 0.22.1
The package no longer has a build dependency on setuptools-scm.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-23 18:43:37 -07:00
Jeffery To 49af2d58ac python-exceptiongroup: Remove package
There are no longer any packages in the packages repo that depend on
this package. Since this package backports exception groups from Python
3.11, and Python in the packages repo has been updated to 3.11, there
should be no future need for this package.

This package will be added to the abandoned packages feed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-23 18:43:19 -07:00
Javier Marcet 382a089d08
luajit2: add OpenResty's mantained branch of luajit
Add OpenResty's mantained branch of luajit. Required for nginx lua
module to work correctly with their custom patches.

Signed-off-by: Javier Marcet <javier@marcet.info>
[ add commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-09-22 14:53:46 +02:00
Jeffery To 77cebb0d03 python3-networkx: Update to 3.1, rename source package
This renames the source package to python-networkx to match other Python
packages.

This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-22 00:25:02 +02:00
Hirokazu MORIKAWA 8635545409 node: bump to v18.18.0
Update to v18.18.0

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-09-21 08:42:41 +08:00
Tianling Shen 962aa1ab84
Merge pull request #22134 from jefferyto/rust-cargo-rustflags
rust: Set rustflags by environment variable
2023-09-21 08:41:55 +08:00
Jeffery To 37762abcb4
rust: Set rustflags by environment variable
In order to use $(RUSTC_TARGET_ARCH) in HOST_BUILD_DIR, the line to
include rust-values.mk in the Rust makefile was moved in
f489e019ac, causing it to be included
before package.mk is included.

This had the side effect of preventing "-lssp_nonshared" from being
added to RUSTC_LDFLAGS, because PKG_SSP is indirectly set by package.mk
(package.mk includes hardening.mk, hardening.mk sets PKG_SSP).

There is a deeper issue; it is the Rust package's PKG_SSP value that
causes RUSTC_LDFLAGS to be set and written to the Cargo config file. For
packages that use Rust to build, their PKG_SSP value does not affect the
linker flag.

This sets rustflags with the RUSTFLAGS environment variable, instead of
writing the value to the Cargo config file, allowing PKG_SSP from the
package being built to be used and for the package being built to modify
the rustflags used.

This also:

* Fix "-lssp_nonshared" being added to TARGET_CFLAGS instead of
  RUSTC_LDFLAGS, when CONFIG_PKG_CC_STACKPROTECTOR_STRONG is set.

* Remove the use of $(RUSTC_TARGET_ARCH) in HOST_BUILD_DIR and move the
  include line for rust-values.mk back to after package.mk.

  Since the host build directory was moved under the target build
  directory in efdbac38dc, it is no longer
  necessary to separate build directories with RUSTC_TARGET_ARCH;
  $(BUILD_DIR) already separates build directories by target.

* Add BUILDONLY:=1, as the Rust package does not build a target package.

* Install the Cargo config file as "config.toml" instead of "config", as
  this is the preferred form[1].

* Rename RUST_CFLAGS to RUSTC_CFLAGS and CONFIG_HOST_SUFFIX to
  RUSTC_HOST_SUFFIX, for consistency.

* Allow CARGO_VARS to be set before rust-values.mk is included.

[1]: https://doc.rust-lang.org/cargo/reference/config.html#hierarchical-structure

Fixes: f489e019ac ("rust: compile host package per target")
Fixes: 83785a7ce0 ("rust-lang: Add the rust language support")
Fixes: https://github.com/openwrt/packages/issues/22133

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-18 09:30:56 +08:00
Philip Prindeville a2438c834d
Merge pull request #22132 from pprindeville/perl-text-csv_xs-update-1.51
perl-text-csv_xs: Update to 1.51
2023-09-17 14:25:19 -06:00
Philip Prindeville 606e7b9f46 perl-text-csv_xs: Update to 1.51
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-09-17 13:51:59 -06:00
Philip Prindeville f459125b97 perl-cgi: Update to 4.57
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-09-17 13:44:03 -06:00
Jeffery To e309346104 python-setuptools: Update to 68.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:38:03 +08:00
Jeffery To 21eb9b7456 python-build: Update to 1.0.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-14 21:37:51 +08:00
Jeffery To 985738b399
rust: Move RUST_ARCH_DEPENDS into rust-values.mk
This allows other packages access to RUST_ARCH_DEPENDS by including
rust-values.mk, instead of rust-package.mk which also sets
Build/Compile.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-13 04:27:11 +08:00
Jeffery To d9a999521e
golang: Update to 1.21.1
Includes fixes for:

* CVE-2023-39318: html/template: improper handling of HTML-like comments
  within script contexts

* CVE-2023-39319: html/template: improper handling of special tags
  within script contexts

* CVE-2023-39320: cmd/go: go.mod toolchain directive allows arbitrary
  execution

* CVE-2023-39321 and CVE-2023-39322: crypto/tls: panic when processing
  partial post-handshake message in QUICConn.HandleData

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-11 03:57:45 +08:00
Alexandru Ardelean 9ca55bf34f
Merge pull request #22072 from commodo/python-updates1
chardet,numpy,django: bump versions
2023-09-10 20:02:01 +03:00
Alexandru Ardelean cac6c53d2e
Merge pull request #22043 from jefferyto/python-crcmod-package-section
python-crcmod: Fix package section
2023-09-10 16:18:35 +03:00
Alexandru Ardelean 46523843b9
Merge pull request #22030 from BKPepe/retake-packages
treewide: take maintainership from Karel
2023-09-10 16:17:11 +03:00
Alexandru Ardelean 681651db4f
Merge pull request #22039 from jefferyto/xmltodict-0.13.0
xmltodict: Update to 0.13.0, rename source package
2023-09-10 16:14:59 +03:00
Alexandru Ardelean d94a5cf585
Merge pull request #22038 from jefferyto/ruamel-yaml-0.17.32
ruamel-yaml: Update to 0.17.32, rename source package
2023-09-10 16:14:41 +03:00
Alexandru Ardelean ff83a84449
Merge pull request #22037 from jefferyto/python-zipp-3.16.2
python-zipp: Update to 3.16.2, update list of dependencies
2023-09-10 16:14:15 +03:00
Alexandru Ardelean f3f7f213e9
Merge pull request #22036 from jefferyto/python-zeroconf-0.97.0
python-zeroconf: Update to 0.97.0, update list of dependencies
2023-09-10 16:14:00 +03:00
Alexandru Ardelean 6cccbc7449
Merge pull request #22035 from jefferyto/python-yaml-6.0.1
python-yaml: Update to 6.0.1
2023-09-10 16:13:22 +03:00
Alexandru Ardelean 5215f65cd3
Merge pull request #22034 from jefferyto/python-build-1.0.0
python-build: Update to 1.0.0
2023-09-10 16:12:18 +03:00
Alexandru Ardelean 34ddaf88b4
Merge pull request #22041 from jefferyto/python-cryptodomex-3.18.0
python-cryptodomex: Update to 3.18.0, refresh patches
2023-09-10 16:11:52 +03:00
Alexandru Ardelean e5d80255bd
Merge pull request #22040 from jefferyto/python-cryptodome-3.18.0
python-cryptodome: Update to 3.18.0, refresh patches
2023-09-10 16:11:40 +03:00
Alexandru Ardelean ace91d3331
Merge pull request #22042 from jefferyto/python-pyserial-3.5
python-pyserial: Update to 3.5, update list of dependencies
2023-09-10 16:11:07 +03:00
Alexandru Ardelean 331b5f75f4 django: bump to version 4.2.5
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 13:46:11 +03:00
Alexandru Ardelean 50e655df8b numpy: bump to version 1.25.2
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 11:30:07 +03:00
Alexandru Ardelean 40a06febd2 python-chardet: bump to 5.2.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-09-09 11:27:37 +03:00
Michael Heimpold c663d8171f
Merge pull request #22062 from mhei/php8-update-to-8.2.10
php8: update to 8.2.10
2023-09-08 21:32:51 +02:00
Jeffery To e42c845039 python3: Update to 3.11.5, refresh patches
Includes fix for CVE-2023-40217 (Bypass TLS handshake on closed
sockets).

This also:

* Remove 027-install-python3-symlink-after-stdlib.patch

  This was merged upstream in
  https://github.com/python/cpython/pull/104693.

* Remove fix for unnecessary linking with libbsd
  (60bf01cb60)

  This was fixed upstream in
  https://github.com/python/cpython/pull/105236.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-08 19:01:47 +08:00
Jianhui Zhao 4af428ec71 lua-eco: update to 2.5.1
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-09-05 11:24:23 +08:00
Jeffery To 8e5ca3fc3e
python-crcmod: Fix package section
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:16:35 +08:00
Jeffery To 4f3a0fe623
python-pyserial: Update to 3.5, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:13:50 +08:00
Jeffery To a1b3595550
python-cryptodomex: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:09:42 +08:00
Jeffery To 03f1f4b9bb
python-cryptodome: Update to 3.18.0, refresh patches
This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 06:02:25 +08:00
Jeffery To 4872c32580
xmltodict: Update to 0.13.0, rename source package
This renames the source package to python-xmltodict to match other
Python packages.

This also updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:57:23 +08:00
Jeffery To fdff92f085
ruamel-yaml: Update to 0.17.32, rename source package
This renames the source package to python-ruamel-yaml to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:48:07 +08:00
Jeffery To 202140aeff
python-zipp: Update to 3.16.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:42:13 +08:00
Jeffery To 8957d34d09
python-zeroconf: Update to 0.97.0, update list of dependencies
The package changed to the poetry-core build backend (and also requiring
python-cython/host).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:34:46 +08:00
Jeffery To 60315a6638
python-yaml: Update to 6.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 05:29:19 +08:00
Michael Heimpold cb1070612b php8: update to 8.2.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-09-04 22:25:12 +02:00
Jeffery To ba17298db5
python-build: Update to 1.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-05 03:38:58 +08:00
Josef Schlehofer 1e1b2051db treewide: change my no longer used email
Since February 2023, I decided to no longer work with Turris, I mean CZ.NIC company
due to some reasons how the development goes and since that day my work address is not
available and not sure if there is some redirect to someone else, but if anyone wants to
reach me, use my email address, where they can find me.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-04 16:02:56 +02:00
Josef Schlehofer 14bb23f930 treewide: take maintainership from Karel
Both of us were working for Turris and using these devices on daily basis.
A few of these packages are still required and used by Turris. It would be great if
Turris people will take maintainership of these packages, but if they decide not to,
I can step in and take them.

Since Karel switched from using OpenWrt to NixOS and hopefully, I didn't reveal some
secret here, let's take maintainership of his packages.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-09-04 11:08:43 +02:00
Jeffery To 98453732e2 python-websockets: Update to 11.0.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:24 +08:00
Jeffery To 3684df0dc3 python-wcwidth: Update to 0.2.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:17 +08:00
Jeffery To 92d49899e4 python-voluptuous-serialize: Update to 2.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:11 +08:00
Jeffery To 6c7a53bd7d python-voluptuous: Update to 0.13.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:34:03 +08:00
Jeffery To 1b2811920a python-urllib3: Update to 2.0.4
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:33:57 +08:00
Jeffery To 99d8554bcd python-ubus: Update to 0.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-09-04 14:33:49 +08:00
Javier Marcet 49ea9e0412 python-websocket-client: update to 1.6.2
- Add support for SSLKEYLOGFILE environment variable
 - Add support for callable header arguments
 - Change handling of proxy environment variables, is_secure set to
 true now prevents http_proxy from getting used

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-09-03 22:58:53 +08:00
Quintin Hill 71c04c46ee python-ble2mqtt: update to 0.2.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-09-03 22:58:24 +08:00
Quintin Hill ac1c95d189 python-dbus-fast: update to 1.94.1
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-09-03 22:58:24 +08:00
Jianhui Zhao 1cd4324a0f lua-eco: update to 2.5.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-09-02 12:08:03 +03:00
Jeffery To 0b99bec49b python-wheel: Update to 0.41.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:16:19 +08:00
Jeffery To 88632b7b64 python-pluggy: Update to 1.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:16:07 +08:00
Jeffery To 6b6ea7efe1 python-trio: Update to 0.22.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:15:37 +08:00
Jeffery To e7a8d18385 python-tornado: Update to 6.3.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:15:12 +08:00
Jeffery To 8b6a817af2 python-sqlalchemy: Update to 2.0.20, update list of dependencies
This also adds a build dependency on python-cython/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:14:50 +08:00
Jeffery To 1ec68a6e98 python-slugify: Update to 8.0.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:14:29 +08:00
Jeffery To f279ae9418 python-sentry-sdk: Update to 1.29.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:14:08 +08:00
Jeffery To 8c7709b911 python-schema: Update to 0.7.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:13:49 +08:00
Jeffery To 53dadf2c50 python-schedule: Update to 1.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:13:37 +08:00
Jeffery To a694ed7b0c python-rsa: Update to 4.9, update list of dependencies
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-31 16:13:21 +08:00
Alexandru Ardelean 11ae2c3061
Merge pull request #21552 from jefferyto/python-platform-triplet
python3: Restore platform triplet to paths
2023-08-31 07:59:57 +03:00
Quintin Hill 8dc77f3267 python-ble2mqtt: update to 0.1.9
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-28 08:54:07 +08:00
Quintin Hill b915dbb7a2 python-dbus-fast: update to 1.93.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-28 08:54:07 +08:00
Tianling Shen 846ee0b9d0
rust: Update to 1.72.0
Version 1.72.0 (2023-08-24)
==========================

Language
--------
- [Replace const eval limit by a lint and add an exponential backoff warning](https://github.com/rust-lang/rust/pull/103877/)
- [expand: Change how `#![cfg(FALSE)]` behaves on crate root](https://github.com/rust-lang/rust/pull/110141/)
- [Stabilize inline asm for LoongArch64](https://github.com/rust-lang/rust/pull/111235/)
- [Uplift `clippy::undropped_manually_drops` lint](https://github.com/rust-lang/rust/pull/111530/)
- [Uplift `clippy::invalid_utf8_in_unchecked` lint](https://github.com/rust-lang/rust/pull/111543/)
- [Uplift `clippy::cast_ref_to_mut` lint](https://github.com/rust-lang/rust/pull/111567/)
- [Uplift `clippy::cmp_nan` lint](https://github.com/rust-lang/rust/pull/111818/)
- [resolve: Remove artificial import ambiguity errors](https://github.com/rust-lang/rust/pull/112086/)
- [Don't require associated types with Self: Sized bounds in `dyn Trait` objects](https://github.com/rust-lang/rust/pull/112319/)

Compiler
--------
- [Remember names of `cfg`-ed out items to mention them in diagnostics](https://github.com/rust-lang/rust/pull/109005/)
- [Support for native WASM exceptions](https://github.com/rust-lang/rust/pull/111322/)
- [Add support for NetBSD/aarch64-be (big-endian arm64).](https://github.com/rust-lang/rust/pull/111326/)
- [Write to stdout if `-` is given as output file](https://github.com/rust-lang/rust/pull/111626/)
- [Force all native libraries to be statically linked when linking a static binary](https://github.com/rust-lang/rust/pull/111698/)
- [Add Tier 3 support for `loongarch64-unknown-none*`](https://github.com/rust-lang/rust/pull/112310/)
- [Prevent `.eh_frame` from being emitted for `-C panic=abort`](https://github.com/rust-lang/rust/pull/112403/)
- [Support 128-bit enum variant in debuginfo codegen](https://github.com/rust-lang/rust/pull/112474/)
- [compiler: update solaris/illumos to enable tsan support.](https://github.com/rust-lang/rust/pull/112039/)

Refer to Rust's [platform support page][platform-support-doc]
for more information on Rust's tiered platform support.

Libraries
---------
- [Document memory orderings of `thread::{park, unpark}`](https://github.com/rust-lang/rust/pull/99587/)
- [io: soften ‘at most one write attempt’ requirement in io::Write::write](https://github.com/rust-lang/rust/pull/107200/)
- [Specify behavior of HashSet::insert](https://github.com/rust-lang/rust/pull/107619/)
- [Relax implicit `T: Sized` bounds on `BufReader<T>`, `BufWriter<T>` and `LineWriter<T>`](https://github.com/rust-lang/rust/pull/111074/)
- [Update runtime guarantee for `select_nth_unstable`](https://github.com/rust-lang/rust/pull/111974/)
- [Return `Ok` on kill if process has already exited](https://github.com/rust-lang/rust/pull/112594/)
- [Implement PartialOrd for `Vec`s over different allocators](https://github.com/rust-lang/rust/pull/112632/)
- [Use 128 bits for TypeId hash](https://github.com/rust-lang/rust/pull/109953/)
- [Don't drain-on-drop in DrainFilter impls of various collections.](https://github.com/rust-lang/rust/pull/104455/)
- [Make `{Arc,Rc,Weak}::ptr_eq` ignore pointer metadata](https://github.com/rust-lang/rust/pull/106450/)

Rustdoc
-------
- [Allow whitespace as path separator like double colon](https://github.com/rust-lang/rust/pull/108537/)
- [Add search result item types after their name](https://github.com/rust-lang/rust/pull/110688/)
- [Search for slices and arrays by type with `[]`](https://github.com/rust-lang/rust/pull/111958/)
- [Clean up type unification and "unboxing"](https://github.com/rust-lang/rust/pull/112233/)

Stabilized APIs
---------------
- [`impl<T: Send> Sync for mpsc::Sender<T>`](https://doc.rust-lang.org/nightly/std/sync/mpsc/struct.Sender.html#impl-Sync-for-Sender%3CT%3E)
- [`impl TryFrom<&OsStr> for &str`](https://doc.rust-lang.org/nightly/std/primitive.str.html#impl-TryFrom%3C%26'a+OsStr%3E-for-%26'a+str)
- [`String::leak`](https://doc.rust-lang.org/nightly/alloc/string/struct.String.html#method.leak)

These APIs are now stable in const contexts:

- [`CStr::from_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_bytes`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_bytes_with_nul`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)
- [`CStr::to_str`](https://doc.rust-lang.org/nightly/std/ffi/struct.CStr.html#method.from_bytes_with_nul)

Cargo
-----
- Enable `-Zdoctest-in-workspace` by default. When running each documentation
  test, the working directory is set to the root directory of the package the
  test belongs to.
  [docs](https://doc.rust-lang.org/nightly/cargo/commands/cargo-test.html#working-directory-of-tests)
  [#12221](https://github.com/rust-lang/cargo/pull/12221)
  [#12288](https://github.com/rust-lang/cargo/pull/12288)
- Add support of the "default" keyword to reset previously set `build.jobs`
  parallelism back to the default.
  [#12222](https://github.com/rust-lang/cargo/pull/12222)

Compatibility Notes
-------------------
- [Alter `Display` for `Ipv6Addr` for IPv4-compatible addresses](https://github.com/rust-lang/rust/pull/112606/)
- Cargo changed feature name validation check to a hard error. The warning was
  added in Rust 1.49. These extended characters aren't allowed on crates.io, so
  this should only impact users of other registries, or people who don't publish
  to a registry.
  [#12291](https://github.com/rust-lang/cargo/pull/12291)

Refreshed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-26 18:00:03 +08:00
Jianhui Zhao 9b38508b86 lua-lsqlite3: add build VARIANT for Lua5.3
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-08-25 23:32:07 +08:00
Michael Heimpold c2d7f6a02d
Merge pull request #21896 from mhei/php8-update-to-8.2.9
php8: update to 8.2.9
2023-08-25 08:05:59 +02:00
Jeffery To 0fe1011420
python3: Restore platform triplet to paths
This removes 014-remove-platform-so-suffix.patch and
016-adjust-config-paths.patch, restoring the platform triplet to paths
for:

* C extensions (*.cpython-311-*.so)

* Build config data directory (/usr/lib/python3.11/config-3.11-*/)

* sysconfig data file (/usr/lib/python3.11/_sysconfigdata_*.py)

Setting `_PYTHON_SYSCONFIGDATA_NAME` during package builds ensures that
sysconfig data for target Python is loaded, in particular so that C
extensions built will have the correct extension / platform triplet.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 02:24:38 +08:00
Jeffery To 5a0055df06
python3: Fix/expand platform triplet detection
Currently, configure does not find the correct platform triplet for musl
as the default build/host values passed by OpenWrt buildroot does not
contain the text "linux-musl".

This backports
c163d7f0b6
to add detection for mips soft float and musl.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 02:19:53 +08:00
Jeffery To b595362b85
python3: Centralize config file adjustments in Build/Install
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 01:47:43 +08:00
Jeffery To 2ffb87726b
python: Rework filespec install script
* Support wildcards in install (`+`) paths

* Add fourth parameter to set directory permissions

  If file permissions are given (third parameter), these will now apply
  to files only.

* Add non-recursive set permissions command (`==`)

* Be more strict about filespec format

  Blank lines and lines starting with `#` will be ignored. Other errors
  (unknown command, missing path parameter, etc.) will cause the script
  to exit.

* Be more strict about ensuring paths exist for all commands

* Avoid spawning subshells

This also removes outdated filespec paths in the python3 package; these
paths delete files that are no longer present.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 01:47:43 +08:00
Jeffery To 329f9a1391
python3: Fix package descriptions
* Fix default Python package description not included in individual
  package descriptions

* Update default Python package description text (from General Python
  FAQ, "What is Python?")

* Add package descriptions for Python module packages

* Reduce duplication in package titles

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 01:47:42 +08:00
Jeffery To 87631ecdd4
python3: Use regular package recipes for python3 package
There is no need to use Py3Package for python3 as it does not package
any Python files; it is an empty package with dependencies to install
the full Python installation.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-25 01:47:42 +08:00
Jeffery To 09e06f9594 python-setuptools: Update to 68.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:44 +08:00
Jeffery To bc32e54713 python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:35 +08:00
Jeffery To dd5146b208 python-click: Update to 8.1.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:25 +08:00
Jeffery To 6facae339e python-pytest-xdist: Update to 3.3.1, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:16 +08:00
Jeffery To b130986e17 python-pytest: Update to 7.4.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:21:07 +08:00
Jeffery To 383b8c1658 python-pyrsistent: Update to 0.19.3, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:58 +08:00
Jeffery To dbe5283ed0 python-pyparsing: Update to 3.1.1
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:49 +08:00
Jeffery To 001c2cbe0d python-pyotp: Update to 2.9.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:39 +08:00
Jeffery To a9b23f4683 python-pyfuse3: Update to 3.3.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:30 +08:00
Jeffery To f9e3847599 python-py: Update to 1.11.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-24 17:20:17 +08:00
Michael Heimpold d85bac4d1e php8: update to 8.2.9
This fixes:
    - CVE-2023-3824

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-21 17:57:22 +02:00
Jonas Jelonek c287e98af2 rust: correct mistake in previous host-build fix
Fixes the commit 105fa3920e which was intended to make rust/host build
on aarch64 darwin working again. However, the fix contains a mistake
because it sets RUSTC_TARGET_ARCH instead of RUSTC_HOST_ARCH. Thus, the
fix doesn't work.
This properly sets the correct variable RUSTC_HOST_ARCH.

Fixes: 105fa3920e ("rust: fix host build on aarch64 darwin")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2023-08-19 14:26:43 +08:00
Jianhui Zhao bd438b6937 lua-eco: update to 2.4.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-08-18 09:03:39 +08:00
Jeffery To 3d497b2bc4 python-trove-classifiers: Update to 2023.8.7
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:47:57 +08:00
Jeffery To 3a5f9999ca python-psycopg2: Update to 2.9.7, update list of dependencies
This also adds a source package (python-psycopg2-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:46:09 +08:00
Jeffery To 53d3fc6f44 python-msgpack: Update to 1.0.5, add host Cython dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:55 +08:00
Jeffery To 56bac94a03 python-psutil: Update to 5.9.5, replace patch
100_add_cross_platform_build_ability.patch was submitted upstream in
https://github.com/giampaolo/psutil/pull/2068, but that pull request was
closed without being merged.

This replaces that patch with a simpler version that only updates
setup.py, leaving the run-time library code unchanged.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:41 +08:00
Jeffery To 96880b435b python-more-itertools: Update to 10.1.0
The package has changed to the flit-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:45:03 +08:00
Jeffery To ec19051980 python-markdown: Update to 3.4.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:56 +08:00
Jeffery To 0068a50193 python-distro: Update to 1.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-17 18:44:42 +08:00
Jonas Jelonek 105fa3920e rust: fix host build on aarch64 darwin
rust/host failed to compile on macOS running on Apple Silicon M1 Pro
because the host target triple is autogenerated to be
'arm64-unknown-linux-'. Rust doesn't have such a target triple, thus the
build failes because there are no pre-built artifacts for bootstrapping.

Fix this by setting RUSTC_HOST_ARCH to 'aarch64-apple-darwin' in case
our host is HOST_ARCH=arm64 and HOST_OS=darwin.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2023-08-17 09:39:24 +02:00
Michael Heimpold 43b10ad9c1 php8: fix linking on riscv64 platform (again)
The initial fix was done in a2e76e497.
Later we could revert it with 5779ae4c5 since a global fix
in gcc was deployed.

But now, PHP itself applied a workaround/fix in 8.2.8,
so that we now require the initial fix again.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-08-16 21:38:54 +02:00
Quintin Hill 87d42fbe0e python3-ble2mqtt: update to 0.1.8
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-16 18:22:58 +08:00
Quintin Hill 3f7f1b6e66 python3-dbus-fast: update to 1.91.2
The patch is no longer required as host setuptools is now new enough.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-16 18:22:58 +08:00
Quintin Hill 8810da08f2 python3-aio-mqtt-mod: update to 0.3.4
python3-openssl is now optional.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-08-16 18:22:58 +08:00
Jeffery To a80af7e443
golang: Update to 1.21.0, remove patch
Upstream has updated the Go compiler to not use gold when building for
arm, and is waiting for a fix to binutils (released in 2.41) before
doing the same for aarch64.[1]

Based on the above, it does not appear that
https://github.com/golang/go/pull/49748 will be merged. This removes the
patch from that pull request.

[1]: https://github.com/golang/go/issues/22040

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-15 11:57:28 +08:00
Tianling Shen 565e79e736 ruby: fix riscv64 build
Fix build by adding missing macros.

The patch is taken from:
https://lists.openembedded.org/g/openembedded-core/message/161168

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-14 18:16:23 -03:00
Jeffery To 8a8991dfbf python-iniconfig: Update to 2.0.0
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:55:05 +08:00
Jeffery To 8bf67793bc python-jsonpath-ng: Update to 1.5.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:54 +08:00
Jeffery To cde28d04e6 python-jmespath: Update to 1.0.1
This also updates the Python dependency from python3 to python3-light.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:46 +08:00
Jeffery To 0bcbdf129b python-intelhex: Update to 2.3.0
This version includes the fix from the removed patch.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-13 10:54:38 +08:00
Josef Schlehofer 0662554483
Merge pull request #21748 from jefferyto/python-influxdb-5.3.1
python-influxdb: Update to 5.3.1
2023-08-13 00:28:04 +02:00
Josef Schlehofer 1583724fc3
Merge pull request #21795 from jefferyto/python-netdisco-3.0.0
python-netdisco: Update to 3.0.0, update list of dependencies
2023-08-12 23:59:13 +02:00
Jeffery To da25e99725
python-netdisco: Update to 3.0.0, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-12 01:51:19 +08:00
Jeffery To d219b6d28f
python-multidict: Update to 6.0.4, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-12 01:47:53 +08:00
Hirokazu MORIKAWA 23f3eb847d node: August 2023 Security Releases
Update to v18.17.1
This is a security release.

Notable Changes
The following CVEs are fixed in this release:
* CVE-2023-32002: Policies can be bypassed via Module._load (High)
* CVE-2023-32006: Policies can be bypassed by module.constructor.createRequire (Medium)
* CVE-2023-32559: Policies can be bypassed via process.binding (Medium)
* OpenSSL Security Releases  (Depends on shared library provided by OpenWrt)
    * OpenSSL security advisory 14th July.
    * OpenSSL security advisory 19th July.
    * OpenSSL security advisory 31st July

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-08-10 20:02:25 +03:00
Josef Schlehofer 1d08138c77
Merge pull request #21747 from jefferyto/python-ifaddr-0.2.0
python-ifaddr: Update to 0.2.0
2023-08-10 00:06:55 +02:00
Jeffery To d86deca765 python-click: Update to 8.1.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:11:28 +08:00
Jeffery To aa6aa15f4b python-wheel: Update to 0.41.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:11:18 +08:00
Jeffery To 68c434dd6a python-flask-seasurf: Update to 1.1.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:32 +08:00
Jeffery To d91ddd5d75 python-flask-login: Update to 0.6.2, update list of dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:23 +08:00
Jeffery To f5411f260a python-flask-httpauth: Update to 4.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:10:03 +08:00
Jeffery To c579a4ab0e python-flask-babel: Update to 3.1.0
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:09:41 +08:00
Jeffery To 58c9de9ede python-flask-socketio: Update to 5.3.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:08:50 +08:00
Jeffery To 7e931594c7 python-socketio: Update to 5.8.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:08:18 +08:00
Jeffery To 466dfed2f2 python-engineio: Update to 4.5.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-10 05:07:59 +08:00
Jeffery To 1e8d223683
Merge pull request #21734 from fractalclone/master
micropython: fix stackctrl compilation for GCC 13
2023-08-08 11:28:10 +08:00
Jean-Paul Etienne 4c1b74ede3 micropython: fix stackctrl compilation for GCC 13
On host PC using GCC 13, stackctrl.c fails to compile
with the following error:

../py/stackctrl.c: In function 'mp_stack_ctrl_init':
../py/stackctrl.c:32:32: error: storing the address of
   local variable 'stack_dummy'
   in 'mp_state_ctx.thread.stack_top' [-Werror=dangling-pointer=]
   32 |     MP_STATE_THREAD(stack_top) = (char *)&stack_dummy;
../py/stackctrl.c:31:18: note: 'stack_dummy' declared here
   31 |     volatile int stack_dummy;
      |                  ^~~~~~~~~~~
In file included from ../py/runtime.h:29,
                 from ../py/stackctrl.c:27:
../py/mpstate.h:296:23: note: 'mp_state_ctx' declared here
  296 | extern mp_state_ctx_t mp_state_ctx;
      |                       ^~~~~~~~~~~~
cc1: all warnings being treated as errors

Fixed accordingly by ignoring -dangling-pointer warning
inside mp_stack_ctrl_init function.

Signed-off-by: Jean-Paul Etienne <fractalclone@gmail.com>
2023-08-07 11:41:14 +02:00
Jeffery To f477ad0ef9
python-influxdb: Update to 5.3.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-07 14:04:27 +08:00
Jeffery To fbc3629eca
python-ifaddr: Update to 0.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-07 14:00:25 +08:00
Tianling Shen 19966aadf2
Merge pull request #21739 from jefferyto/golang-1.20.7
golang: Update to 1.20.7
2023-08-07 08:40:16 +08:00
Tianling Shen a896412813 rust: Update to 1.71.1
Version 1.71.1 (2023-08-03)
===========================

- Fix CVE-2023-38497: Cargo did not respect the umask when extracting dependencies
- Fix bash completion for users of Rustup
- Do not show `suspicious_double_ref_op` lint when calling `borrow()`
- Fix ICE: substitute types before checking inlining compatibility
- Fix ICE: don't use `can_eq` in `derive(..)` suggestion for missing method
- Fix building Rust 1.71.0 from the source tarball

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-08-07 02:36:02 +08:00
Jeffery To fb9c8f8b89
golang: Update to 1.20.7
Includes fix for CVE-2023-29409 (crypto/tls: verifying certificate
chains containing large RSA keys is slow).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-07 02:19:42 +08:00
Jeffery To 03f78eff74 python-dns: Update to 2.4.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:29 +08:00
Jeffery To c0552ae0d4 python-contextlib2: Update to 21.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:19 +08:00
Jeffery To 197c34e62d python-ciso8601: Update to 2.3.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:58:08 +08:00
Jeffery To 008de77a8a python-certifi: Update to 2023.7.22
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:56 +08:00
Jeffery To 2eabda9a1e python-cachetools: Update to 5.3.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:42 +08:00
Jeffery To d6d4222e97 python-cachelib: Update to 0.10.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:57:30 +08:00
Jeffery To 54f9f2777c python-colorama: Update to 0.4.6
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:55:02 +08:00
Jeffery To c2a725ec00 python-docutils: Update to 0.20.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:53:32 +08:00
Jeffery To 360427948e python-editables: Update to 0.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:52:23 +08:00
Jeffery To 31d02be16a python-pathspec: Update to 0.11.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-08-04 01:52:10 +08:00
Eneas U de Queiroz 219edcfa31 python-certifi: add github runtime test
This loads the module, which should return the path of the CA bundle
and verifies that the file exists.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2023-07-28 10:39:18 -03:00
Jeffery To 787e2ba027 python-gnupg: Update to 0.5.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:48:00 -07:00
Jeffery To 6e1785d148 python-wheel: Update to 0.41.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:49 -07:00
Jeffery To 211724c3fc python-awscli: Update to 1.29.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 182eaed42d python-boto3: Update to 1.28.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 1ac094d012 python-s3transfer: Update to 0.6.1, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 3d83c5c8d6 python-botocore: Update to 1.31.7, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:29 -07:00
Jeffery To 446e52ab26 python-awesomeversion: Update to 23.5.0, update dependencies
The package changed to the poetry-core build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:47:14 -07:00
Jeffery To d5ac6e103e python-atomicwrites: Update to 1.4.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:41 -07:00
Jeffery To aa44ed23ce python3-sqlparse: Update to 0.4.4, rename source package
This renames the source package to python-sqlparse to match other Python
packages.

This also updates the build dependencies; package now uses the flit-core
build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:27 -07:00
Jeffery To 2c1b66c886 python-aiohttp: Update 3.8.5, update dependencies
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 0eabbb8ef7 python-aiosignal: Add new package
From the README:

A project to manage callbacks in asyncio projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 9c8e4c4aef python-frozenlist: Add new package
From the README:

frozenlist.FrozenList is a list-like structure which implements
collections.abc.MutableSequence. The list is mutable until
FrozenList.freeze is called, after which list modifications raise
RuntimeError.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To 5ef294f64f python-charset-normalizer: Add new package
From the README:

A library that helps you read text from an unknown charset encoding.
Motivated by chardet, I'm trying to resolve the issue by taking a new
approach. All IANA character set names for which the Python core library
provides codecs are supported.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:46:12 -07:00
Jeffery To c5c02c060b python3-pyroute2: Update to 0.7.9, rename source package
This renames the source package to python-pyroute2 to match other Python
packages.

This also updates/simplifies the package dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:55 -07:00
Jeffery To bbf35edc5f python-apipkg: Update to 3.0.1
The package changed to the hatchling build backend.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:38 -07:00
Jeffery To ca7fdf61dc python3-maxminddb: Update to 2.4.0, rename source package
This renames the source package to python-maxminddb to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:26 -07:00
Jeffery To e0c13a145d python-async-timeout: Update to 4.0.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:45:11 -07:00
Jeffery To 0218c9067a python-execnet: Update to 2.0.2
The package changed to the hatchling build backend and removed the
dependency on apipkg.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:44:44 -07:00
Jeffery To 87fe943112 python-pip: Update to 23.2.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-24 22:42:05 -07:00
Hirokazu MORIKAWA 2282d2e664 node: bump to v18.17.0
Notable Changes:
*Ada 2.0
 Node.js v18.17.0 comes with the latest version of the URL parser, Ada. This update brings significant performance improvements to URL parsing, including enhancements to the url.domainToASCII and url.domainToUnicode functions in node:url.

*Web Crypto API
 Web Crypto API functions' arguments are now coerced and validated as per their WebIDL definitions like in other Web Crypto API implementations. This further improves interoperability with other implementations of Web Crypto API.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-07-23 18:45:09 +08:00
Tianling Shen efdbac38dc rust: put host build dir to target build dir
When user runs `make clean` command, everything in `$(STAGING_DIR)`
(where we installed rust) will be removed, but `$(BUILD_DIR_HOST)`
(where we compiled rust and stored build stage) is untouched.

So when user starts a new build after that, OpenWrt buildroot will
still consider `rust` is installed already, resulting the build error
"cargo: command not found".

Fix this by moving to target build dir as well.

Fixes: f489e019ac ("rust: compile host package per target")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-23 00:14:49 +08:00
Alexandru Ardelean 868f09900d
Merge pull request #21585 from commodo/python-updates2
django,numpy,lxml: bump versions
2023-07-21 10:53:02 +03:00
Josef Schlehofer d5c939160a
Merge pull request #21604 from jefferyto/python3-netifaces-0.11.0
python3-netifaces: Update to 0.11.0, rename source package
2023-07-21 08:23:26 +02:00
Jeffery To 35d6cdf8bb
python3-unidecode: Update to 1.3.6, rename source package
This renames the source package to python-unidecode to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-20 02:45:44 +08:00
Jeffery To 935f791e76
python3-netifaces: Update to 0.11.0, rename source package
This renames the source package to python-netifaces to match other
Python packages.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-20 01:10:00 +08:00
Tianling Shen 971d326768 rust: Update to 1.71.0
Refreshed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-18 04:49:50 +08:00
Orne Brocaar f489e019ac rust: compile host package per target
While the compiled binaries are intended to run on the host system, the
rust/host package does include the target matching the configured
OpenWrt target.

If using (for example) ./scripts/env to switch between different
OpenWrt configurations, this will cause issues if the different
configuration is for a different target. In such case there will be a
mismatch between the available Rust target and OpenWrt target and the
following error will be printed:

> error[E0463]: can't find crate for `core`
> note: the `XXX` target may not be installed

This fix will add the RUSTC_TARGET_ARCH as HOST_BUILD_DIR and CARGO_HOME
suffix, such that rust/host will be compiled in case an OpenWrt
configuration change causes the RUSTC_TARGET_ARCH to change.

Fixes: #21530

Signed-off-by: Orne Brocaar <info@brocaar.com>
[Applied Jeffery To's suggestion for build and install path]
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-07-18 04:49:50 +08:00
Jeffery To 5e66a69433 python-pip: Update to 23.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-17 11:44:53 -07:00
Jeffery To 8000a7f769
golang: Update to 1.20.6
Includes fix for CVE-2023-29406 (net/http: insufficient sanitization of
Host header).

This also updates the copyright information for various Go packaging
files.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-17 15:13:00 +08:00
Jeffery To 0174cea697 python-babel: Update to 2.12.1, add host build
Also updated dependencies for the new version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-16 17:00:04 -07:00
Alexandru Ardelean d6252bcb76 numpy: bump to version 1.25.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 22:09:55 +03:00
Alexandru Ardelean a5e58afe19 python-django: bump to 4.2.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 21:29:34 +03:00
Alexandru Ardelean 6c3899e6a4 python-lxml: bump to 4.9.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-16 21:29:34 +03:00
Alexandru Ardelean 640f4592db
Merge pull request #21566 from jefferyto/python-mako-reimport
python-mako: Re-import host-only package from abandoned packages repo
2023-07-16 21:06:07 +03:00
Alexandru Ardelean 11ebe528df pillow: bump to version 10.0.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:44:59 +03:00
Alexandru Ardelean 2c44ddcb83 pymysql: bump to version 1.1.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:42:38 +03:00
Alexandru Ardelean 04774bb720 python-requests: bump to version 2.31.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-07-14 21:42:38 +03:00
Jeffery To 666ea93977
python-mako: Re-import host-only package from abandoned packages repo
Mako was removed in 60ce07b9a1d5c7a53297f177f10af68f3304be9e; at the
time we were using host pip to install host Python packages and so
having this package was not necessary.

With the move away from host pip and toward proper host packages, it
would be better to have a Mako host-only package here to support the
mesa package in the video feed.

This re-imports the package from the abandoned packages feed, updates
the makefile with current Python package conventions, and updates the
package to the latest version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-14 19:32:20 +08:00
Jeffery To b68832d51e python-trove-classifiers: Update to 2023.7.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:17:48 -07:00
Jeffery To 5710f272db click: Update to 8.1.4, rename source package
This renames the source package to python-click to match other Python
packages.

This also updates the package dependencies, licence file, package title
and description.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:17:32 -07:00
Jeffery To 9a5f66acc3 python-editables: Update to 0.4
The build backend was changed from setuptools to flit-core.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 16:12:42 -07:00
Jeffery To 96c4a3f0c7 python-cython: Update to 0.29.36
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-13 15:03:06 -07:00
Michael Heimpold 75bd8ebde4 php8: update to 8.2.8
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-07-12 22:35:08 +02:00
Rosen Penev 7709b85f86 lua-rs232: fix compilation with GCC13
Patch taken from upstream.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-07-10 19:51:31 -07:00
Maxim Storchak 002400b873 luaposix: update to 36.2.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-07-10 19:48:19 -07:00
Javier Marcet c045680a62 python-docker: Update to 6.1.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Javier Marcet 47665d7ac0 python-docker: Update to 6.1.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-05 02:24:58 +08:00
Jeffery To 207d01c3a9 python-typing-extensions: Update to 4.7.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-03 07:30:34 -07:00
Javier Marcet 8f04b59b19 python-dotenv: update to v1.0.0
- 1.0.0:

  - What's Changed:
    - Handle situations where the cwd does not exist.
    - Add python-decouple as a related project
    - Drop support for python 3.7, add python 3.12-dev

- 0.21.1:

  - Added:
    - Use Python 3.11 non-beta in CI
    - Modernize variables code
    - Modernize main.py and parser.py code
    - Improve conciseness of cli.py and init.py
    - Improve error message for get and list commands when env file
    can't be opened
    - Updated Licence to align with BSD OSI template

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-03 07:29:50 -07:00
Javier Marcet db1c50e1ca python-websocket-client: update to 1.6.1
- 1.6.1
  - Fix Dispatcher keyboard interrupt. Should solve reconnect loop
  with rel

- 1.6.0
  - Fix teardown issue when ping thread is not properly ended
  - Fix double ping wait time on first ping
  - Minor typehints improvements

- 1.5.3
  - Add logic to avoid error in the case where content-length header
  does not exist, bug introduced in 1.5.2
  - Fix wsdump.py script typing, bug introduced in 1.5.2

- 1.5.2
  - Add typehints
  - Fix pytype errors
  - Fix args passed to logging function
  - Standardize PEP 3101 formatting
  - Add more verbose exception for unsuccessful handshake

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-02 16:30:20 +02:00
Javier Marcet 429f76316e python-stem: update to v1.8.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-07-02 16:29:57 +02:00
Jeffery To 2ec3b9f095 python-hatchling: Update to 1.18.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:45:46 -07:00
Jeffery To f6190a379b python-pluggy: Update to 1.2.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:45:35 -07:00
Jeffery To ff51716aaa python-markupsafe: Update to 2.1.3, add host build
The host build will be used for mako (to be added later).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:44:13 -07:00
Jeffery To e1ef13a30c python-service-identity: Update to 23.1.0
This adds new build dependencies as the package switched to
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:43:38 -07:00
Jeffery To 40b9f05a58 python-libmodbus: Update to 0.6.2
This also adds a source package (python3-libmodbus-src).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-07-01 04:43:26 -07:00
W. Michael Petullo 8617973c90 vala: add self as maintainer of unmaintained package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-06-30 22:06:05 +08:00
W. Michael Petullo dbf468f938 vala: patch to circumvent apparent pkgconf bug
There is an apparent bug in pkgconf 1.9 that broke building the OpenWrt
Vala package. This adds a patch to circumvent the bug. For the related
discussion, see:

https://github.com/openwrt/packages/issues/21359

The pkgconf bug appears similar to the one discussed here:

https://github.com/pkgconf/pkgconf/issues/268

Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-06-30 22:06:05 +08:00
Jeffery To 67af34188d python-gnupg: Update to 0.5.0
This also removes the dependency on gnupg as there are two packages for
gpg, gnupg and gnupg2; this library should work with either one.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 18:04:34 -07:00
Jeffery To acc915083d python-werkzeug: Update to 2.3.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-29 18:04:22 -07:00
Jeffery To c698a615f9 python-setuptools: Update to 68.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-27 07:25:11 +02:00
Jeffery To b5dbf77501 python-packages: Take over maintainership from Daniel Golle
This was requested in
https://github.com/openwrt/packages/pull/21227#issuecomment-1567676980.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-27 07:15:47 +02:00
Tianling Shen 7414d8c6dd
Merge pull request #21405 from jefferyto/selinux-update
selinux: Update selinux packages to 3.5, setools to 4.4.2, reorganize packages
2023-06-25 17:04:14 +08:00
Tianling Shen ec56b39423
Merge pull request #21419 from QuintinHill/ble2mqtt-install-fix
python-ble2mqtt: fix installation of python program
2023-06-22 13:22:08 +08:00
Hirokazu MORIKAWA 286d1d11ae node: June 20 2023 Security Releases
Update to v18.16.1

The following CVEs are fixed in this release:
* CVE-2023-30581: mainModule.__proto__ Bypass Experimental Policy Mechanism (High)
* CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
* CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
* CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
* CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)
* OpenSSL Security Releases (Depends on shared library provided by OpenWrt)
    * OpenSSL security advisory 28th March.
    * OpenSSL security advisory 20th April.
    * OpenSSL security advisory 30th May
* c-ares vulnerabilities: (Depends on shared library provided by OpenWrt)
    * GHSA-9g78-jv2r-p7vc
    * GHSA-8r8p-23f3-64c2
    * GHSA-54xr-f67r-4pc4
    * GHSA-x6mf-cxr9-8q6v

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-06-21 11:27:48 +09:00
Quintin Hill 5cf3046055 python-ble2mqtt: fix installation of python program
This was broken when the init script was added in 408502ee0.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-20 22:39:58 +01:00
Jeffery To 23ff8177f0
python3-libsemanage: Update to 3.5, rename source/target package
* Rename:

  * Source package from python3-libsemanage to python-semanage
  * Target package from python3-libsemanage to python3-semanage

* Update dependents with new target package name

* Update package title, license files, and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-19 15:47:09 +08:00
Jeffery To a205483547
python3-libselinux: Update to 3.5, rename source/target package
* Rename:

  * Source package from python3-libselinux to python-selinux
  * Target package from python3-libselinux to python3-selinux

* Update dependents with new target package name

* Remove patches:

  * 010-setup-py-custom-cc.patch: LDSHARED is already set as part of
    $(PYTHON3_VARS)

  * 020-Make-use-of-variables-when-defining-libdir-and-inclu.patch: This
    package doesn't install the libselinux.pc file

* Update package title and dependencies

* Remove Build/InstallDev (files not used by any other package)

* Use Py3Package to build Python bytecode and source packages

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-19 15:47:09 +08:00
Michael Heimpold 1db2070f00 php8: update to 8.2.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-14 08:43:04 +02:00
Michael Heimpold fdf1f7a85f
Merge pull request #21363 from mhei/revert-php8-riscv64-workaround
php8: revert workaround to fix linking on riscv64 platform
2023-06-14 08:34:38 +02:00
Quintin Hill e7181b3452 python-ble2mqtt: update to 0.1.7
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Quintin Hill 76306b1bbb python-bleak: upgrade to 0.20.2
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Quintin Hill 4105ce9294 python-dbus-fast: update to 1.86.0
Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-06-14 13:43:45 +08:00
Tianling Shen 81d53813d6
Merge pull request #21345 from jefferyto/python-3.11.4
python3: Update to 3.11.4, refresh patches
2023-06-13 11:00:22 +08:00
Michael Heimpold 5779ae4c5d Revert "php8: fix linking on riscv64 platform"
This reverts commit a2e76e4978.

Now that the issue is fixed on gcc side (see openwrt/openwrt@7b4a966),
we can revert this workaround here.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-12 18:52:39 +02:00
Jeffery To 4627ed7c43
python3: Update to 3.11.4, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-12 14:10:01 +08:00
Jeffery To 471ef14774
golang: Update to 1.20.5
Includes fixes for:

* CVE-2023-29402: cmd/go: cgo code injection
* CVE-2023-29403: runtime: unexpected behavior of setuid/setgid binaries
* CVE-2023-29404: cmd/go: improper sanitization of LDFLAGS
* CVE-2023-29405: cmd/go: improper sanitization of LDFLAGS

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-12 12:04:53 +08:00
Jeffery To b098f2ac40 python3-asgiref: Update to 3.7.2, rename source package
This renames the source package to python-asgiref to match other Python
packages.

This also updates the package title and URL.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-07 23:19:54 +03:00
Michael Heimpold c314348e8f
Merge pull request #21265 from mhei/php8-fix-linking-on-riscv64
php8: fix linking on riscv64 platform
2023-06-07 21:17:49 +02:00
Tianling Shen 5208b604b6
Merge pull request #21298 from 1715173329/rust
rust: enable riscv64 support
2023-06-07 23:01:35 +08:00
Jeffery To 0b35054fb0 python3-django-etesync-journal: Remove package
This package was originally added[1] as it was a dependency of
etesync-server 0.3.0. When etesync-server was renamed to etebase and
upgraded to 0.6.1[2], this dependency was removed. No other package in
the packages feed depends on this package.

Upstream has also archived the git repo[3] and stated that the
repo/package is deprecated. It does not appear that any newer version of
etebase uses this package.

This removes the python3-django-etesync-journal package; it will be
submitted to the abandoned packages repo.

[1]: https://github.com/openwrt/packages/pull/10469
[2]: https://github.com/openwrt/packages/pull/14063
[3]: https://github.com/etesync/journal-manager

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-07 17:46:12 +03:00
Tianling Shen 7ace3bb7d6
rust: enable riscv64 support
rust natively supports riscv64 so let's enable it.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-07 19:17:08 +08:00
Tianling Shen ba267237e7
rust: bump libc to 0.2.146
Fixes build with musl 1.2.4.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-07 15:06:34 +08:00
Jeffery To 5b965e4d79 passlib: Update to 1.7.4, rename source package
This renames the source package from passlib to python-passlib to match
other Python packages.

This also updates the package URL and list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-06 19:53:19 +03:00
Tianling Shen 4078ffa6b8
Merge pull request #21275 from jefferyto/python-typing-extensions-4.6.3
python-typing-extensions: Update to 4.6.3
2023-06-06 13:12:46 +08:00
Tianling Shen 96cd37e45d
Merge pull request #21274 from jefferyto/python-poetry-core-1.6.1
python-poetry-core: Update to 1.6.1
2023-06-06 13:12:36 +08:00
Tianling Shen 64613c0d13
Merge pull request #21273 from jefferyto/python-hatchling-1.17.1
python-hatchling: Update to 1.17.1
2023-06-06 13:12:24 +08:00
Tianling Shen a6980eb933 python3-bottle: Update to 0.12.25
Fix build with Python 3.11

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-05 11:31:42 +02:00
Tianling Shen 0e6fe09a34 python-yarl: Update to 1.9.2
Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-06-05 10:32:04 +02:00
Jeffery To b638f3f8c0
python-typing-extensions: Update to 4.6.3
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 15:43:15 +08:00
Jeffery To ac59c69237
python-poetry-core: Update to 1.6.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 15:17:17 +08:00
Luca Barbato 81add12294 rust: update to 1.70.0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-06-05 15:12:23 +08:00
Jeffery To 0aed79d2a7
python-hatchling: Update to 1.17.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-05 13:58:47 +08:00
Michael Heimpold a2e76e4978 php8: fix linking on riscv64 platform
The buildbots failed for the mentioned platform with the following error:
(I shortened the pathnames and broke long lines a little bit for readability)

.../lib/gcc/riscv64-openwrt-linux-musl/12.3.0/../../../../
  riscv64-openwrt-linux-musl/bin/ld: Zend/zend_execute_API.o: in function `.L533':
zend_execute_API.c:(.text+0x1b1c): undefined reference to `__atomic_exchange_1'
.../riscv64-openwrt-linux-musl/bin/ld: Zend/zend_atomic.o:
  in function `zend_atomic_bool_exchange':
zend_atomic.c:(.text+0xc): undefined reference to `__atomic_exchange_1'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:350: sapi/cli/php] Error 1

Inspired by the blog post[1], linking to libatomic explicitly seems to
do the trick.

[1] A RISC-V gcc pitfall revealed by a glibc update
https://blog.jiejiss.com/A-RISC-V-gcc-pitfall-revealed-by-a-glibc-update

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-06-04 22:02:23 +02:00
Jeffery To 3906e54c08
golang: Enable riscv64 for Go compiler and packages
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-04 01:08:00 +08:00
Jeffery To a83dcf0d5c
micropython-mpremote: Add new package
From the README:

This CLI tool provides an integrated set of utilities to remotely
interact with and automate a MicroPython device over a serial
connection.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To 9071deb1c7
python-hatch-requirements-txt: Add new host-only package
From the README:

Hatchling plugin to read project dependencies from requirements.txt

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To 9390bd0262
micropython-lib: Update to master, split target package
The package has been reworked to install the same files that are
available to be downloaded/installed by mip, the package manager new to
MicroPython 1.20.0.

This also splits the original target package into four:

* micropython-lib
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains mpy bytecode files

* micropython-lib-src
  * Includes packages common to all MicroPython ports (python-stdlib,
    python-ecosys, micropython)
  * Contains py source files

* micropython-lib-unix
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains mpy bytecode files
  * Installs a specific launcher (micropython-unix) that adds the Unix
    package directory into MicroPython's library path

* micropython-lib-unix-src
  * Includes packages specific to the MicroPython Unix port (unix-ffi)
  * Contains py source files

This also updates the package license, title, and description.

Patches:

* 001-build-unix-ffi.patch

  This enables the repo build script to also build the Unix-specific
  packages. Not sure if upstream is open to accepting this since the
  Unix-specific packages don't fit well into the existing package
  distribution mechanism.

* 002-add-unix-ffi-os-path.patch and 003-add-unix-ffi-uu.patch

  These fix instances where the unix-ffi version of the os package is
  overridden by the python-stdlib version. These have been submitted to
  upstream: https://github.com/micropython/micropython-lib/pull/672

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:58 +08:00
Jeffery To a4ae38494f
micropython: Update to 1.20.0, refresh/rework patches
Patches 000-Makefile-no-errors.patch and 020-mpy-cross-fix-flags.patch
are no longer necessary.

This also adds a Build/InstallDev recipe to install files necessary for
micropython-lib.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-06-02 21:39:44 +08:00
Jianhui Zhao 23531031a7 lua-eco: update to 2.3.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-06-02 12:38:56 +08:00
Jeffery To 574d43fca6 Werkzeug: Update to 2.3.4, rename source package
This renames the source package from Werkzeug to python-werkzeug to
match other Python packages.

This also updates the package title, description, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:49 +01:00
Jeffery To 5602cc85d3 MarkupSafe: Update to 2.1.2, rename source package
This renames the source package from MarkupSafe to python-markupsafe to
match other Python packages.

This also updates the package title and description.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:33 +01:00
Jeffery To 572387f0cb Jinja2: Update to 3.1.2, rename source package
This renames the source package from Jinja2 to python-jinja2 to match
other Python packages.

This also updates the package license files, title, and list of
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-30 03:19:21 +01:00
Jeffery To 67a854aee2 click-log: Update to 0.4.0, rename source package
This renames the source package from click-log to python-click-log to
match other Python packages.

This also updates the package to download from PyPI, and updates the
package title, URL, and dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:56 +03:00
Jeffery To f45f067f3f python-typing-extensions: Update to 4.6.2
This also updates the SPDX license identifier, title, description and
URL for the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:38 +03:00
Jeffery To 17007845bc python-trove-classifiers: Update to 2023.5.24
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:16:19 +03:00
Jeffery To a7d33e9e3a python-gmpy2: Update to 2.1.5
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:15:59 +03:00
Jeffery To f47802949c python-cython: Update to 0.29.35
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:15:05 +03:00
Jeffery To 9f8a5fb25b python-hatch-fancy-pypi-readme: Update to 23.1.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:14:46 +03:00
Jeffery To 3def783d3c bcrypt: Update to 3.2.2, rename source package
This is the last released version before bcrypt's Rust rewrite; this
package can be further updated after the OpenWrt Rust toolchain has
stablized.

This also renames the source package from bcrypt to python-bcrypt to
match other Python packages, and updates the list of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-29 18:14:14 +03:00
Maxim Storchak 236e36c198 luaposix: update to 36.1
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
2023-05-28 15:47:45 +03:00
Tianling Shen f02f3ee8c7 pyodbc: Update to 4.0.39
* Fixed build with Python 3.11
* Removed unnecessary build depends

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-28 09:31:24 +03:00
Jeffery To b76fa19b26 python-packages: Replace --global-option with --build-option
setuptools 64.0.0 deprecated the use of --global-option to pass build
parameters[1]. This replaces the use of --global-option with
--build-option.

[1]: https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-28 09:30:31 +03:00
Alexandru Ardelean 9f19a64e02
Merge pull request #21194 from 1715173329/pgr
python-greenlet: Update to 2.0.2
2023-05-27 21:17:35 +03:00
Alexandru Ardelean 0f858d5076
Merge pull request #21190 from jefferyto/python-split-packages
python3: Split venv into separate package, pip and setuptools into separate source packages
2023-05-27 21:15:06 +03:00
Tianling Shen e399e1ce2c python-greenlet: Update to 2.0.2
Fix build with Python 3.11.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-27 21:51:37 +08:00
Tianling Shen e7e66545b1
Merge pull request #21188 from jefferyto/python-tomli-remove-package
python-tomli: Remove package
2023-05-27 14:55:12 +08:00
Jeffery To b4975f8bbb
python3: Split setuptools into separate source package
Packaging setuptools from a separate source package allows it to stay
updated with upstream.

Host setuptools will remain installed as part of python3. Host
setuptools is used in a much more controlled way and so is less critical
for it to track upstream.

setuptools was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:06:24 +08:00
Jeffery To eee273507b
python3: Split pip into separate source package
Packaging pip from a separate source package allows it to stay updated
with upstream.

Host pip will remain installed as part of python3. Host pip is used in a
much more controlled way and so is less critical for it to track
upstream.

This also removes the python-pip-conf package and installs the pip.conf
file as part of python3-pip.

The patch 003-disable-pip-version-check.patch is originally from Debian:
bb079efb8c/debian/patches/disable-pip-version-check.patch

pip was in a separate source package that was removed in
a53d0c5a403d1669e2cf6c59c2be6a9d3ed633a0; this work is not based on that
earlier package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:06:08 +08:00
Jeffery To d53475ac21
python3: Split venv module from python3-light into separate package
This adds a new subpackage for the venv module. This also moves the
ensurepip module from python3-pip into python3-venv, as ensurepip is not
necessary for pip but often used for venv.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 22:01:41 +08:00
Jeffery To 0509d460c8
python-tomli: Remove package
Python added tomli to its standard library in 3.11. Now that Python in
the packages feed has been updated to 3.11, the separate tomli package
is no longer necessary.

This removes python-tomli and updates all dependant packages, removing
python-tomli from their lists of dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-26 17:51:53 +08:00
Alexandru Ardelean 8f176e30f3 numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-05-26 11:16:17 +03:00
Alexandru Ardelean de130fadb5
Merge pull request #21167 from jefferyto/python-packages-do-not-set-pyvenv-launcher
python-packages: Remove __PYVENV_LAUNCHER__ environment variable
2023-05-26 10:11:59 +03:00
Tianling Shen f17a701722
Merge pull request #21168 from jefferyto/python-poetry-core-1.6.0
python-poetry-core: Update to 1.6.0
2023-05-26 01:28:42 +08:00
Jeffery To 626c7efda9
python-poetry-core: Update to 1.6.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 15:30:08 +08:00
Jeffery To 9e95dff9ac
python-packages: Remove __PYVENV_LAUNCHER__ environment variable
Setting __PYVENV_LAUNCHER__ for Python package builds was added in
a91a992abb, but neither the commit message
nor the pull request[1] explain its purpose in detail.

My guess is this was done to set the shebang for installed Python
scripts. We now have a Makefile recipe to set the shebang, so it would
be unnecessary to set this variable for this purpose.

It appears that Python 3.11 has changed the handling of this (internal)
environment variable, and setting it appears to be causing build errors
for all Python packages.

This removes setting __PYVENV_LAUNCHER__ for Python package builds.

[1]: https://github.com/openwrt/packages/pull/525

Fixes: https://github.com/openwrt/packages/issues/21162
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 15:01:28 +08:00
Jeffery To 60bf01cb60
python3: Fix unnecessary linking with libbsd
configure will try to link with libbsd for the flock function, even when
flock is available without it.

Fixes: https://github.com/openwrt/packages/issues/21161
Fixes: 2445fe9fb2 ("python3: Update to 3.11.3, refresh/redo patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-25 13:42:00 +08:00
Jeffery To 6b8340d3ca python-flit-core: Update to 3.9.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:09:41 +03:00
Jeffery To 5059cfccae borgbackup: Move from lang/python into utils
lang/python is meant for Python libraries and other packages closely
related to the Python language. It makes more sense for borgbackup to be
in utils instead.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:08:51 +03:00
Oskari Rauta 96de355818 perl: fix tests
Enabling Perl tests causes failure during build.
Files that should be installed into packages, are
missing or in different location.

This PR removes missing files/paths and replaces
paths that have changed with working ones.

Most likely, test files have been relocated during
time and this portion hasn't been updated when
perl package has updated.

Fixes #21127

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-05-24 06:06:17 +03:00
Jeffery To 2445fe9fb2 python3: Update to 3.11.3, refresh/redo patches
* Removed patches:

  * 001-enable-zlib.patch: zlib module should be enabled automatically

  * 007-distutils-do-not-adjust-path.patch: Not necessary since we
    process shebang lines for all scripts (in python3-package.mk)

  * 030-bpo-43112-detect-musl-as-a-separate-SOABI-GH-24502.patch:
    Already merged

* Move configure vars from config.site back into Makefile

  Centralizing all build information into one file makes it easier to
  maintain

* No longer set ac_cv_header_uuid_h=yes as configure should detect
  libuuid

* Order configure args by enable-/disable-/with-/without-, then
  alphabetically

* Set ac_cv_working_openssl_hashlib=yes for host configure to bypass the
  OpenSSL API tests with LibreSSL

* Use the default Host/Compile recipe instead of picking out specific
  targets to make

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 02eb5c100c python3: Fix hashlib module not compiled for host Python
026-openssl-feature-flags.patch and
028-host-python-support-ssl-with-libressl.patch were removed in
4ecd9d67e9 to fix the ssl module after
libressl was upgraded to 3.7.0[1].

However, the cause of the ssl module build failure was only
028-host-python-support-ssl-with-libressl.patch.

Removing 026-openssl-feature-flags.patch caused a build failure for the
hashlib module.

This restores 026-openssl-feature-flags.patch with an updated version of
the patch from OpenBSD[2].

[1]: https://github.com/openwrt/packages/issues/20107
[2]: 26a04435bf/lang/python/3.10/patches/patch-Modules__hashopenssl_c

Fixes: 4ecd9d67e9 ("python3: fix ssl support by removing libressl patches")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 44fb4927f1 python3: Fix uuid module not compiled for host Python
This adds $(STAGING_DIR_HOST)/include/e2fsprogs to HOST_CFLAGS and
HOST_CPPFLAGS so that configure can find uuid/uuid.h.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To f006d0ea23 python3: Fix multiarch/local paths added when building host Python
By default, the Python build process will add /usr/local/{lib,include},
and multiarch paths (e.g. /usr/{lib,include}/x86_64-linux-gnu) if
building on Debian/Ubuntu, to its library and includes paths.

006-remove-multi-arch-and-local-paths.patch was added in
84202f17e1 to stop the Python build
process from adding these paths.

006-remove-multi-arch-and-local-paths.patch was removed in
48277ec915.

006-do-not-add-multiarch-paths-when-cross-compiling.patch was added in
0c8b0b0bf7 to stop the Python build
process from adding these paths for target Python.

These paths are still added by the Python build process when building
host Python.

This replaces the cross-compiling-only patch with the original patch,
renamed slightly and adapted for Python 3.10.

Fixes: 48277ec915 ("python3: bump to version 3.8")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 67e47f1196 python3: Fix race condition when doing parallel builds
When doing parallel builds, host Python can install the python3 symlink
before the Python standard library is installed completely.

When this occurs, it is possible for other packages to detect the
python3 symlink and try to use host Python before it is fully installed.

This adds a patch to make commoninstall (where the standard library is
installed) a prerequisite of bininstall (where the python3 symlink is
installed), so that commoninstall is fully completed before bininstall
begins.

Patch has been submitted upstream:
https://github.com/python/cpython/pull/104693

Fixes: https://github.com/openwrt/packages/issues/19241

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To e1a9578635 python3: Fix readelf program name not replaced in _sysconfigdata.py
The Makefile lines to add READELF to TARGET_CONFIGURE_OPTS was removed
in 4e05541782.

Without setting READELF, configure finds the symlink to
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-readelf) instead of
$(TARGET_CROSS)readelf (e.g. arm-openwrt-linux-muslgnueabi-readelf).

This leads to the symlink name being saved to _sysconfigdata.py, and so
the readelf name is not replaced correctly (in
Py3Package/python3-base/install).

This restores the removed Makefile lines.

Fixes: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 8a4da01790 python3: Fix __pycache__ files included in python3-light
003-do-not-run-distutils-tests.patch was removed in
4e05541782. This patch stopped "make
install" from, among other things, running compileall.

When this patch was removed, "make install" ran compileall as normal and
created bytecode files in __pycache__ directories. These files were then
packaged in python3-light.

This adds a patch to stop compileall from being run during "make
install".

Fixes: 4e05541782 ("python3: bump to version 3.10.0")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Jeffery To 3032e7063f python3: Remove --without-pymalloc
--without-pymalloc was added in 7bf1ae65a8
because leaving it enabled added an "m" flag/suffix to file names.

This flag/suffix was removed in Python 3.8[1], so disabling pymalloc is
no longer necessary.

[1]: https://docs.python.org/3.8/whatsnew/3.8.html#build-and-c-api-changes

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-24 06:04:33 +03:00
Michael Heimpold d82eb0eb2b php8-pecl-xdebug: update to 3.2.1
Some bugfixes, see changelog:
https://pecl.php.net/package-info.php?package=xdebug&version=3.2.1

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-21 10:31:22 +02:00
W. Michael Petullo 614eb9dba9 php8-pecl-mcrypt: update to 1.0.6
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:50 +08:00
W. Michael Petullo 09bf479e24 php8-pecl-krb5: update to 1.1.5
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:17:24 +08:00
W. Michael Petullo e24a92498e luasec: update to 1.3.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2023-05-20 13:16:26 +08:00
Tianling Shen 577679a572 python3-libselinux: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:07:15 +08:00
Tianling Shen b9481f55d8 perl: perlmod: append _LARGEFILE64_SOURCE flag for musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

Manually pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-05-20 13:05:19 +08:00
Tianling Shen aadc8d0001
Merge pull request #20981 from jefferyto/python3-packages-fix-build
python3-packages: Set PYTHON3_PKG_BUILD:=0
2023-05-20 08:01:25 +08:00
Michael Heimpold e6a133cb9d php8: update to 8.2.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Michael Heimpold 85bf0627b1 php8: fix compilation with musl 1.2.4
As noted in the release notes of musl 1.2.4, we can use
CFLAGS to pass -D_LARGEFILE64_SOURCE to allow to keep
using LFS64 definitions (as a short-term solution).

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-05-19 00:00:34 +08:00
Jeffery To 16779c2d6e python-packaging: Update to 23.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:18 +03:00
Jeffery To 7607e43be4 python-attrs: Update to 23.1.0
The package now uses pyproject.toml-based builds with additional build
dependencies.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 11:13:02 +03:00
Jeffery To d2ad1f47d3 python-automat: Update to 22.10.0, refresh patches
This also removes the patch to avoid setuptools-scm and adds a build
dependency on python-setuptools-scm/host.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-05-18 10:30:52 +03:00
Robert Marko 2251916df1 perl: fix compilation with musl 1.2.4
musl 1.2.4 deprecated legacy "LFS64" ("large file support") interfaces so
just having _GNU_SOURCE defined is not enough anymore.

_LARGEFILE64_SOURCE has to be defined in the source, or CFLAGS can be used
to pass -D_LARGEFILE64_SOURCE to allow to keep using LFS64 definitions.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-05-18 10:27:20 +03:00