Commit Graph
3926 Commits
Author SHA1 Message Date
Tianling Shen bb3082a1c5 rust: fix build with glibc
Don't set musl-specific options/ldflags when using glibc.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen 09d482c3b2 rust: enable use of prebuilt llvm toolchain
llvm-bpf is not ready for generic usage, so use prebuilt llvm toolchain
provided by the rust project to speedup build (~1hour faster).

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen 094a1b4d14 maturin: Update to 0.14.15
Fixed a build error:
> unresolved import `time::macros`

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen 65ce42c401 maturin: adapt new rust build standard
While at it, move maturin out of rust directory.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen e7016bb4bc rust: refactor build helper
Added new RustBinPackage, RustBinHostBuild wrapper.
Added new RUST_PKG_FEATURES flag.
Moved CARGO_HOME to STAGING_DIR_HOSTPKG.
Overrode default Build/Compile and Host/Compile to Cargo build.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen 473bc722ea rust: remove useless target dependencies and configuration
They are for the target build which is not supported yet, drop them.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Tianling Shen 513f751bcb rust: remove useless tarball package
These tarball cannot be reused, so simply drop them.

Also move cargo config to a file instead of using echo command.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-24 02:08:47 +08:00
Hirokazu MORIKAWA 94345b0325 node: bump to v18.15.0
Update to v18.15.0
Fixed bug using system-icu

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-03-21 17:29:35 +08:00
Michael Heimpold 953805ddbb Merge pull request #20665 from mhei/php8-update-8.2.3
php8: update to 8.2.3
2023-03-16 07:30:05 +01:00
Michael Heimpold 0729764f96 php8: update to 8.2.3
This fixes:
    - CVE-2023-0567
    - CVE-2023-0568
    - CVE-2023-0662

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-03-14 21:47:06 +01:00
Jeffery To 8677ed11e3 golang: Update to 1.19.7
Includes fix for CVE-2023-2453 (crypto/elliptic: specific unreduced
P-256 scalars produce incorrect results).

This also includes makefile updates for Go 1.19.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-14 14:23:35 +08:00
Luca Barbato e784c54b76 rust-lang: update to 1.68.0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-03-13 19:48:34 +08:00
Luca Barbato 2d3e0da711 rust-lang: Add an Host/Compile helper as well
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-03-10 14:24:16 +00:00
Luca BarbatoandTianling Shen 44d1d22a16 rust-lang: Apply suggestions from code review
Co-authored-by: Tianling Shen <cnsztl@gmail.com>
Signed-off-by: Luca Barbato <luca.barbato@gmail.com>
2023-03-10 14:24:16 +00:00
Luca Barbato 674bad0559 maturin: Add package
Build tool for rust-python packages.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-03-10 14:24:16 +00:00
Luca Barbato 83785a7ce0 rust-lang: Add the rust language support
Based on work from Donald Hoskins <grommish@gmail.com>.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-03-10 14:24:16 +00:00
Jianhui Zhao 772db8c11b lua-eco: update to 2.2.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-03-10 17:15:44 +08:00
Jianhui Zhao 926617ec4d lua-eco: update to 2.1.0
* updated description
* switched default SSL engine to mbedtls
* added new network module

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-03-09 08:06:54 +08:00
Tianling Shen de085a237a perl-ack: Update to 3.7.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 26b92db22c9a051447ee445acaa11a795fb35a4e)
2023-03-08 15:37:07 +08:00
Jianhui Zhao 3291f1004c lua-eco: update to 2.0.0
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2023-03-01 16:46:32 +08:00
Stan Grishin fded4e584e Merge pull request #20540 from stangri/master-curl
curl: update to 7.88.1
2023-02-26 23:32:08 -07:00
Hirokazu MORIKAWA 0ca0faafc4 node: bump to v18.14.2
Update to v18.14.2
Support for OpenSSL v3.0.x

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-02-27 10:56:04 +08:00
Stan Grishin f51a784a83 perl-www-curl: add patch to ensure compatibility with curl 7.88
Patch comes from
https://github.com/openwrt/packages/pull/20540#issuecomment-1439537287

Fixes:
/home/username/works/openwrt/staging_dir/target-x86_64_glibc_custom/usr/include/curl/curl.h:2515:3: note: declared here
 2515 |   CURLFORM_CONTENTTYPE     CURL_DEPRECATED(7.56.0, "Use curl_mime_type()"),
      |   ^~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:347: Curl.o] Error 1

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2023-02-27 03:21:37 +01:00
Tianling Shen 0cdd7b8c0e golang: Update to 1.19.6
go1.19.6 (released 2023-02-14) includes security fixes to the
crypto/tls, mime/multipart, net/http, and path/filepath packages,
as well as bug fixes to the go command, the linker, the runtime,
and the crypto/x509, net/http, and time packages.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-02-22 14:48:10 +08:00
Eneas U de Queiroz eb05e6b0ed Merge pull request #20525 from nxhack/node_16191
node: bump to v16.19.1
2023-02-20 09:38:07 -03:00
Alexandru Ardelean 2ecde63118 django: bump to version 4.1.7
Fixes:
   https://nvd.nist.gov/vuln/detail/CVE-2023-23969

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-17 19:32:46 +02:00
Hirokazu MORIKAWA 6cd5a2c57f node: bump to v16.19.1
Thursday February 16 2023 Security Releases

Notable Changes
The following CVEs are fixed in this release:
* CVE-2023-23918: Node.js Permissions policies can be bypassed via process.mainModule (High)
* CVE-2023-23919: Node.js OpenSSL error handling issues in nodejs crypto library (Medium)
* CVE-2023-23936: Fetch API in Node.js did not protect against CRLF injection in host headers (Medium)
* CVE-2023-24807: Regular Expression Denial of Service in Headers in Node.js fetch API (Low)
* CVE-2023-23920: Node.js insecure loading of ICU data through ICU_DATA environment variable (Low)
More detailed information on each of the vulnerabilities can be found in February 2023 Security Releases blog post.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-02-17 11:51:35 +09:00
Šimon Bořek 29e75d5ba8 Jinja2: pass maintainership to Michal Vasílek
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:18 +01:00
Šimon Bořek a6f227e0aa Flask: pass maintainership to Michal Vasílek
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:16 +01:00
Šimon Bořek b4c6c4e7c1 Jinja2: get rid of deprecated AUTORELEASE
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:14 +01:00
Šimon Bořek 76ed9d5218 Flask: get rid of deprecated AUTORELEASE
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2023-02-14 17:37:11 +01:00
Javier Marcet b064f6b5db python-websocket-client: update to 1.5.1
- 1.5.1
  - Fix logic bug that can cause disconnects

- 1.5.0
  - Refactor and improve ping/pong logic to resolve several issues,
  including an infinite loop issue during reconnect
  - Fix issue where `skip_utf8_validation = True` is ignored
  - Fix issue where sslopt `is_ssl` is ignored
  - Downgrade "websocket connected" message from logging.warning to
  logging.info
  - Update github actions to newer versions (669fe1b)

Signed-off-by: Javier Marcet <javier@marcet.info>
2023-02-12 12:01:30 +02:00
Michael Heimpold 258aa83988 php8: update to 8.2.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-02-07 07:52:10 +01:00
Alexandru Ardelean 23b09de42d python-evdev: bump to version 1.6.1
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-02-04 18:36:36 +02:00
Alexandru Ardelean e897824537 python-chardet: bump to version 5.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-02-04 18:36:31 +02:00
Alexandru Ardelean 0ab165f1ee Merge pull request #20387 from commodo/python3-venv-support
python3: add 'ensurepip' to python3-pip sub-package
2023-01-30 13:45:43 +02:00
Alexandru Ardelean 1f317dfb75 python3: add 'ensurepip' to python3-pip sub-package
Fixes:
  https://github.com/openwrt/packages/issues/12707

Seems to work.
Looking into the 'venv' lib, it seems it's installing pip & setuptools
inside a virtual environment.

`python3-pip` is already ~6 MB.
This adds another ~3 MB.

But, this gives users the ability to run Python virtual environments, which
is a pretty common feature of Python in production cases (usually web
stuff).

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-01-25 14:03:33 +02:00
Alexandru Ardelean 61f202c017 python-build: add support for pyproject.toml files
A new PEP 517 (https://www.python.org/dev/peps/pep-0517/) has defined that
Python packages can be shipped without any `setup.py` file, and that a
`pyproject.toml` file is sufficient.

A `setup.py` shim layer is suggested as a method for running the build.

For these cases, we will add a support in the OpenWrt build-system to
provide the default `setup.py` shim layer in case this file does not exist,
but there is a `pyproject.toml` file.

We also seem to need to tweak the shim layer with the PKG_VERSION,
otherwise the detected version is 0.0.0.
We will need to see if this will be fixed later in setuptools{-scm}.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 15:58:59 +01:00
Alexandru Ardelean 1f1bd5ade9 python-requests: bump to version 2.28.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Alexandru Ardelean 5257477a02 python-pytz: bump to version 2022.7.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Alexandru Ardelean acc96ee984 pillow: bump to version 9.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-22 10:42:24 +01:00
Paul Fertser 1e8584dc58 treewide: quote CC and CXX
When CC is set to e.g. "ccache mips-openwrt-linux-musl-gcc" it needs
to be quoted to avoid word splitting on substitution.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-01-20 17:44:14 -08:00
Julien Malik 5dffc0af0e borgbackup: bump to 1.2.3
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-01-17 13:22:14 +08:00
Julien Malik f04af1261c python-exceptiongroup: bump to 1.1.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-01-17 13:22:14 +08:00
Rosen Penev 947210e2d2 python3-libselinux: fix URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 23:52:53 -08:00
Rosen Penev c4d28c9ba4 python3-libsemanage: fix URL
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 23:52:34 -08:00
Rosen Penev 953eac0297 perl-compress-bzip2: update to 2.28
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-14 19:06:15 -08:00
Tianling Shen 5a25a731c6 golang: Update to 1.19.5
Go1.19.5 (released 2023-01-10) includes fixes to the compiler,
the linker, and the crypto/x509, net/http, sync/atomic,
and syscall packages.

Removed upstreamed patch.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-14 15:02:37 +08:00
Rosen Penev 2afc93540e vala: update to 0.56.3
Get rid of AUTORELEASE. This barely gets updated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-01-13 00:02:35 -08:00
Karl Palsson 4969de2bdf python-requests: update URL
The old 2.python-requests.org URL is not reachable on modern browsers,
and is not the current canonical URL for the project.  Update to the
current best URL for the project.

Signed-off-by: Karl Palsson <karlp@etactica.com>
2023-01-12 16:25:56 +01:00