Commit Graph
4160 Commits
Author SHA1 Message Date
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