Commit graph

4492 commits

Author SHA1 Message Date
Jeffery To
b1a8e4769f
python-jsonschema: Add build dependencies
These will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To
8d81b67327
python-incremental: Update to 22.10.0, redo patch, add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:16 +08:00
Jeffery To
59b7a81964
python-exceptiongroup: Update to 1.1.1
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also removes the run-time dependency on python3-attrs; there is no
indication this package is required.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To
be90d8aecd
python-docker: Add missing build dependency
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To
68c0c77df6
python-dns: Update to 2.3.0
This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To
b78c8ff918
python-dbus-fast: Add build dependencies
These will be required for pyproject.toml-based builds.

This also includes a patch to unpin the version requirement for
setuptools, as the current in-repo version of setuptools does not
fulfill this requirement, and there does not appear to be any specific
reason why this version requirement is necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00
Jeffery To
0b5091bbff
python-cryptography: Update patch to disable Rust
This extends the patch to also apply for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To
159895b794
python-bleak: Add build dependency
This will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To
1a1b444571
python-astral: Update to 3.2
This adds a build dependency that will be required for
pyproject.toml-based builds.

This also marks the package as BROKEN (for now) as it requires proper
support for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To
6649314a03
borgbackup: Add missing build dependencies
setuptools-scm is a declared build dependency[1], and pkgconfig will
allow setup to find the required libraries, replacing the need to set
environment variables.

[1]: https://github.com/borgbackup/borg/blob/1.2.4/setup.py#L313

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:14 +08:00
Jeffery To
d7bc1deb0e
python-pkgconfig: Add new host-only package
From the README:

pkgconfig is a Python module to interface with the pkg-config command
line tool for Python 3.3+.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:13 +08:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Luca Barbato
1f9baddd43 rust: update to 1.69.0
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-04-21 06:09:47 +08:00
Michael Heimpold
8043007879 php8: update to 8.2.5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-04-16 16:39:10 +03:00
Jeffery To
f59b088adb
python-cython: Update to 0.29.34
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-15 19:22:06 +08:00
Hirokazu MORIKAWA
bc1ac271e8 node: bump to v18.16.0
Description:
Update to v18.16.0
Fixed a bug when selecting arm-fpu for vfpv3-d16.

Notable changes
Add initial support for single executable applications
Replace url parser with Ada

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2023-04-14 21:15:16 +08:00
Tianling Shen
f659dfe9f7
golang: Update to 1.20.3
Included fixes for:
- CVE-2023-24534
- CVE-2023-24536
- CVE-2023-24537
- CVE-2023-24538

Refreshed patches.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-04-14 00:28:12 +08:00
Luiz Angelo Daros de Luca
0cf46d43f4 ruby: update to 3.2.2
This release includes security fixes. Please check the topics below for
details.

- CVE-2023-28755: ReDoS vulnerability in URI
- CVE-2023-28756: ReDoS vulnerability in Time

See https://github.com/ruby/ruby/releases/tag/v3_2_2 for further details.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2023-04-11 16:48:16 -03:00
Luiz Angelo Daros de Luca
3456881e85 ruby: update to 3.2.1
Ruby 3.2 changes include:
* WASI based WebAssembly support
* Production-ready YJIT
* Regexp improvements against ReDoS
See: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

Ruby 3.2.1 changes includes:
* Bugfixes
See: https://www.ruby-lang.org/en/news/2023/02/08/ruby-3-2-1-released/

Package-related changes are:

* libyaml is no longer bundled, requiring OpenWrt to build it as a host
  library for ruby/host.
* Added sub-packages:
 - ruby-mjit: files for mJIT, although disabled during build
 - ruby-syntax_suggest: finds missing ends
* Backported patches dropped:
 - 001-fix-build-with-libressl-3.5.patch
 - 002-fix-operator-precedence.patch
* Usual dependencies adjustments

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2023-04-11 16:48:16 -03:00
Quintin Hill
408502ee0a python3-ble2mqtt: add init script
Note that init script won't do much without configuration provided.
The init script comes from the upstream README file.

Also add missing dependency.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Quintin Hill
3f977e711e python3-bleak: bump to 0.20.1
This has a small fix on top of 0.20.0.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-04-11 17:24:51 +08:00
Andre Heider
4400e97473 treewide: opt out of LTO usage
These fail to build or packages depending on them do when enabling
CONFIG_USE_LTO.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider
35f4ef76e0 treewide: refactor to use PKG_BUILD_FLAGS:=gc-sections
See commit da370098 "treewide: add support for "gc-sections" in
PKG_BUILD_FLAGS" on the main repository.

Note: This only touches packages which use all three parts
(-ffunction-sections, -fdata-sections and -Wl,--gc-sections) enabled by
this build flag. Some packages only use a subset, and these are left
unchanged for now.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Andre Heider
565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Alexandru Ardelean
c59cbd13f3 python-pytz: bump to version 2023.3
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:05:10 +03:00
Alexandru Ardelean
0b0232ed66 pillow: bump to version 9.5.0
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2023-04-03 10:04:04 +03:00
Luca Barbato
0db6a13526 rust: update to 1.68.2
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2023-04-03 02:30:53 +08:00
Jeffery To
c3996aff3a
Merge pull request #20657 from jefferyto/python-pyproject-host
python: Add pyproject.toml-based builds for host Python packages, add host packages
2023-03-31 15:51:55 +08:00
Jeffery To
8c2abb7403
python: Better host pip options
pip by default will read system-wide and per-user configuration
files[1]. Setting PIP_CONFIG_FILE=/dev/null instructs pip to not read
any config files[2].

pip will spawn child processes of itself to do work, but not all options
are passed down to the child processes[3]. Setting global options as
environment variables[4] ensures they are passed down to any child
processes.

[1]: https://pip.pypa.io/en/stable/topics/configuration/#configuration-files
[2]: https://pip.pypa.io/en/stable/topics/configuration/#pip-config-file
[3]: https://github.com/pypa/pip/issues/9081#issue-733819665
[4]: https://pip.pypa.io/en/stable/topics/configuration/#environment-variables

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To
6294cf26c7
python-hatch-fancy-pypi-readme: Add new host-only package
From the README:

hatch-fancy-pypi-readme is a Hatch metadata plugin for everyone who
cares about the first impression of their project’s PyPI landing page.
It allows you to define your PyPI project description in terms of
concatenated fragments that are based on static strings, files, and most
importantly: parts of files defined using cut-off points or regular
expressions.

Once you’ve assembled your readme, you can additionally run regular
expression-based substitutions over it. For instance to make relative
links absolute or to linkify users and issue numbers in your changelog.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:39 +08:00
Jeffery To
fb48859907
python-hatch-vcs: Add new host-only package
From the README:

This provides a plugin for Hatch that uses your preferred version
control system (like Git) to determine project versions.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To
5e832f44fc
python-hatchling: Add new host-only package
From the README:

This is the extensible, standards compliant build backend used by Hatch.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To
b453daa336
python-pluggy: Update to 1.0.0, add host build, add myself as maintainer
This also marks python3-pytest as BROKEN (for now) as the in-tree
version is not compatible with this version of pluggy.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:38 +08:00
Jeffery To
a1cfdba19c
python-pathspec: Add new host-only package
From the README:

pathspec is a utility library for pattern matching of file paths. So far
this only includes Git's wildmatch pattern matching which itself is
derived from Rsync's wildmatch. Git uses wildmatch for its gitignore
files.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:08:34 +08:00
Jeffery To
4465e57e5d
python-editables: Add new host-only package
From the README:

A Python library for creating "editable wheels"

This library supports the building of wheels which, when installed, will
expose packages in a local directory on sys.path in "editable mode". In
other words, changes to the package source will be reflected in the
package visible to Python, without needing a reinstall.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:49 +08:00
Jeffery To
bbc9b14470
python-flit-scm: Add new host-only package
From the README:

A PEP 518 build backend that uses setuptools_scm to generate a version
file from your version control system, then flit_core to build the
package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:48 +08:00
Jeffery To
82766de815
python-poetry-core: Add new host-only package
From the README:

A PEP 517 build backend implementation developed for Poetry. This
project is intended to be a light weight, fully compliant,
self-contained package allowing PEP 517 compatible build frontends to
build Poetry managed projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:07:28 +08:00
Jeffery To
3ee4e7297c
python-setuptools-scm: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of setuptools-scm to depend on the host
build.

This also removes the toml host pip requirements file as toml is not
used by any other package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:35 +08:00
Jeffery To
abf3f3d77c
python-typing-extensions: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To
aabe27a379
python-cffi: Update to 1.15.1, add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of cffi to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To
8f32fd202e
python-pycparser: Add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To
790beee430
python-ply: Add host build
The host build replaces the use of the host pip requirements file. This
also updates the dependants of ply to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:34 +08:00
Jeffery To
dcf551fbcf
python-cython: Add new host-only package
The host build replaces the use of the host pip requirements file. This
also updates the dependants of Cython to depend on the host build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:33 +08:00
Jeffery To
afd6f8e445
python-wheel: Add new host-only package
From the README:

This library is the reference implementation of the Python wheel
packaging standard, as defined in PEP 427.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:06:27 +08:00
Jeffery To
34fb0202f9
python-build: Add new host-only package
From the documentation:

A simple, correct PEP 517 build frontend.

build will invoke the PEP 517 hooks to build a distribution package. It
is a simple build tool and does not perform any dependency management.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To
f6d68782d9
python-pyproject-hooks: Add new host-only package
From the README:

This is a low-level library for calling build-backends in
pyproject.toml-based project. It provides the basic functionality to
help write tooling that generates distribution files from Python
projects.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To
7d171049fd
python-tomli: Add new host-only package
From the README:

Tomli is a Python library for parsing TOML. Tomli is fully compatible
with TOML v1.0.0.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To
e9dd1a1dfc
python-packaging: Update to 23.0, add host build
This also adds myself as maintainer, and marks the target package as
BROKEN (for now) as the update requires proper support for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:51 +08:00
Jeffery To
37caea7c93
python-installer: Add host-only package
From the README:

This is a low-level library for installing a Python package from a wheel
distribution. It provides basic functionality and abstractions for
handling wheels and installing packages from wheels.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-31 13:01:35 +08:00
Oskari Rauta
49782b3db4 rust: update to 1.68.1
also add new variable CARGO_VARS to make it possible
to pass environment variables for cargo process.
This is necessary when for example, cross-compiling
netavark.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-31 03:35:41 +08:00
Jeffery To
7bde374538
Merge pull request #20633 from QuintinHill/python-mqtt
Package dependencies for ble2mqtt python package
2023-03-30 12:28:10 +08:00
Jeffery To
2f37a616af
python-flit-core: Add host-only package
From the README:

This provides a PEP 517 build backend for packages using Flit. The only
public interface is the API specified by PEP 517, at flit_core.buildapi.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:05 +08:00
Jeffery To
fe78c07a31
python: Add pyproject.toml-based builds for host Python packages
Using pip to install host packages with pyproject.toml-based (PEP 517)
builds is problematic:

* If build isolation is used, pip will create an isolated build
  environment, install any build dependencies for the requested package,
  then build the requested package.

  It does not appear currently possible to have pip install the build
  dependencies with hash-checking mode enabled[1].

* If build isolation is not used, any build dependencies must be
  installed in the build environment before invoking pip to build the
  requested package[2].

  This would require creating a package dependency resolution system to
  install build dependencies, and any dependencies of dependencies, in
  the correct order.

* It is very difficult to patch the packages installed by pip.

This adds a new include file (python3-host-build.mk) with recipes to
install host Python packages with pyproject.toml-based builds. This is
backwards-compatible with packages that require running setup.py.

Besides addressing the above issues (the OpenWrt build system already
resolves dependencies between packages, checks all source downloads
against known hashes, and supports patching packages), host packages
also:

* Capture package licensing and maintainer information
* Enable uscan checking for package updates/CVEs
* Are a known concept for OpenWrt packagers/developers

The existing functionality of using host pip to install packages will
remain for now, but should be considered deprecated and expected to be
removed in the future.

This also updates Py3Build/CheckHostPipVersionMatch for the case where
the host-pip-requirements directory does not exist or is empty.

[1]: https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020
[2]: https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-no-build-isolation

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:05 +08:00
Jeffery To
6ef46bb919
python: Unset Python environment variables
This will prevent the user's environment variables from affecting host
Python, removing the need to manually override these variables.

It is also not necessary to set PYTHONPATH (when not working on target
Python packages) because the given directories are already included in
Python's search path by default.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-30 12:19:04 +08:00
Jeffery To
9da8dae1f7
Merge pull request #20693 from jefferyto/golang-1.20.2
golang: Update to 1.20.2, refresh patch
2023-03-30 12:11:46 +08:00
Philip Prindeville
5add7cc45b
Merge pull request #20733 from pprindeville/perl-text-csv_xs-update-1.50
perl-text-csv_xs: Update to 1.50
2023-03-29 09:45:23 -06:00
Philip Prindeville
8a9ab2758c
Merge pull request #20732 from pprindeville/perl-cgi-update-4.56
perl-cgi: Update to 4.56
2023-03-29 09:44:12 -06:00
Julien Malik
45a3afbfb7 borgbackup: bump to 1.2.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-03-27 09:34:50 +02:00
Julien Malik
1f25be97b6 borgbackup: add missing dependencies
The initial package submission was missing
some required and optional dependencies
due to lack of testing on a system without any python
related packages pre-installed.

Some optional but highly recommended dependencies
were discovered with the stdlib module as described in:
392a68e247/lang/python/README.md

Fixes #20441

Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2023-03-27 09:34:50 +02:00
Philip Prindeville
8450d5570e perl-text-csv_xs: Update to 1.50
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-03-26 18:26:45 -06:00
Philip Prindeville
5aaecff6d5 perl-cgi: Update to 4.56
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2023-03-26 18:18:51 -06:00
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
Quintin Hill
2af786a48d python-ble2mqtt: add package
This package allows interfacing between BLE sensors and MQTT.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-22 09:00:30 +00:00
Quintin Hill
661f14c46e python-bleak: add package
This package is a dependency of ble2mqtt.

python-asyncio is a runtime dependency of this package.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-22 09:00:30 +00: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
Quintin Hill
3c6a6746b0 python-dbus-fast: add package
This package is a dependency of bleak.  Building and installing this package via
pip on a router is not difficult and the build crashes when memory is
exhausted.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-20 13:32:04 +00:00
Jeffery To
8711653f1e
golang: Update to 1.20.2, refresh patch
Includes fixes for:

* 1.20.1:
  * CVE-2022-41722: path/filepath: path traversal in filepath.Clean on
    Windows
  * CVE-2022-41723: net/http: avoid quadratic complexity in HPACK
    decoding
  * CVE-2022-41724: crypto/tls: large handshake records may cause panics
  * CVE-2022-41725: net/http, mime/multipart: denial of service from
    excessive resource consumption

* 1.20.2:
  * CVE-2023-24532: crypto/elliptic: specific unreduced P-256 scalars
    produce incorrect results

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-03-20 14:43:52 +08:00
Quintin Hill
76b0a3c1ec python-aio-mqtt-mod: add package
This package is a dependency of ble2mqtt.

Signed-off-by: Quintin Hill <stuff@quintin.me.uk>
2023-03-17 23:38:22 +00: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 Barbato
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
Michael Heimpold
88e3cc6615
Merge pull request #20246 from mhei/php8-update-8.2.1
php8: update to 8.2.1
2023-01-09 20:44:09 +01:00
Alexandru Ardelean
d17862f68c django: bump to version 4.1.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Alexandru Ardelean
3052324b6f python-pytz: bump to version 2022.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Alexandru Ardelean
e6e3049cd7 python-lxml: bump to version 4.9.2
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2023-01-09 17:42:50 +02:00
Michael Heimpold
9a49eb2e0a php8: update to 8.2.1
This fixes:
    - CVE-2022-31631

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-01-08 10:55:36 +01:00
Javier Marcet
360383a997 python-docker: Update to 6.0.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:59 +08:00
Javier Marcet
b80213e65e python-jsonschema: Update to 4.17.3
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:50 +08:00
Javier Marcet
2ee0f893e3 python3-paramiko: update to version 2.12.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 16:35:40 +08:00
Javier Marcet
9fc88c846b python3-texttable: update to version 1.6.7
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 11:12:57 +08:00
Javier Marcet
21a558522d python-websocket-client: update to 1.4.2
Signed-off-by: Javier Marcet <javier@marcet.info>
2023-01-01 11:12:08 +08:00
Tianling Shen
35f33c99b1 golang: backport an upstream fix for non-retpoline-compatible error
This fixes the following build error:
```
Building targets
runtime
<autogenerated>:1: non-retpoline-compatible: 00200 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/time.go:915)       JMP     (R15)(R12*8)
<autogenerated>:1: non-retpoline-compatible: 00115 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/type.go:614)       JMP     (AX)(SI*8)
<autogenerated>:1: non-retpoline-compatible: 00028 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/time.go:452)       JMP     (R11)(R10*8)
<autogenerated>:1: non-retpoline-compatible: 00021 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/error.go:261)      JMP     (DX)(CX*8)
<autogenerated>:1: non-retpoline-compatible: 00050 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/time.go:691)       JMP     (CX)(R12*8)
<autogenerated>:1: non-retpoline-compatible: 00024 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/debuglog.go:616)   JMP     (CX)(SI*8)
<autogenerated>:1: non-retpoline-compatible: 00079 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/time.go:617)       JMP     (R9)(R8*8)
<autogenerated>:1: non-retpoline-compatible: 00025 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/cgocall.go:453)    JMP     (R9)(DX*8)
<autogenerated>:1: non-retpoline-compatible: 00018 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/type.go:66)        JMP     (DX)(CX*8)
<autogenerated>:1: non-retpoline-compatible: 00020 (/home/username/works/openwrt/staging_dir/hostpkg/lib/go-cross/src/runtime/alg.go:156)        JMP     (SI)(DX*8)
<autogenerated>:1: too many errors
```

Fixes: #20026

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-28 08:30:59 +08:00
W. Michael Petullo
2f3b939497 python3-networkx: update to 2.8.8
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-23 10:27:19 -08:00
Waldemar Konik
da564ae8cc python-curl: update to version 7.45.2
PycURL changeLog:

-----------------------------------------------------------------
PycURL 7.45.2 - 2022-12-16
-----------------------------------------------------------------
This release fixes several minor issues and adds support for several libcurl options.

-----------------------------------------------------------------
PycURL 7.45.1 - 2022-03-13
-----------------------------------------------------------------
This release fixes build when libcurl < 7.64.1 is used.

-----------------------------------------------------------------
PycURL 7.45.0 - 2022-03-09
-----------------------------------------------------------------
This release adds support for SecureTransport SSL backend (MacOS), adds ability to unset a number of multi options, adds ability to duplicate easy handles and permits pycurl classes to be subclassed.

-----------------------------------------------------------------
PycURL 7.44.1 - 2021-08-15
-----------------------------------------------------------------
This release repairs incorrect Python thread initialization logic which caused operations to hang.
-----------------------------------------------------------------

Signed-off-by: Waldemar Konik <informatyk74@interia.pl>

Compile tested: x86_64
2022-12-22 16:32:31 -08:00
W. Michael Petullo
a54c2caa9c luasocket: update to 3.1.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-22 16:32:17 -08:00
Daniel Golle
2262a023fe click: update to version 8.1.3
Version 8.1.3
Released 2022-04-28

  Use verbose form of typing.Callable for @command and @group.
  pallets/click#2255

  Show error when attempting to create an option with multiple=True,
  is_flag=True. Use count instead. pallets/click#2246

Version 8.1.2
Released 2022-03-31

  Fix error message for readable path check that was mixed up with the
  executable check. pallets/click#2236

  Restore parameter order for Path, placing the executable parameter at
  the end. It is recommended to use keyword arguments instead of
  positional arguments. pallets/click#2235

Version 8.1.1
Released 2022-03-30

  Fix an issue with decorator typing that caused type checking to
  report that a command was not callable. pallets/click#2227

Version 8.1.0
Released 2022-03-28

  Drop support for Python 3.6. pallets/click#2129

  Remove previously deprecated code. pallets/click#2130

    Group.resultcallback is renamed to result_callback.

    autocompletion parameter to Command is renamed to shell_complete.

    get_terminal_size is removed, use shutil.get_terminal_size instead.

    get_os_args is removed, use sys.argv[1:] instead.

  Rely on PEP 538 and PEP 540 to handle selecting UTF-8 encoding
  instead of ASCII. Click’s locale encoding detection is removed.
  pallets/click#2198

  Single options boolean flags with show_default=True only show the
  default if it is True. pallets/click#1971

  The command and group decorators can be applied with or without
  parentheses. pallets/click#1359

  The Path type can check whether the target is executable.
  pallets/click#1961

  Command.show_default overrides Context.show_default, instead of the
  other way around. pallets/click#1963

  Parameter decorators and @group handles cls=None the same as not
  passing cls. @option handles help=None the same as not passing help.
  pallets/click#1959

  A flag option with required=True requires that the flag is passed
  instead of choosing the implicit default value. pallets/click#1978

  Indentation in help text passed to Option and Command is cleaned the
  same as using the @option and @command decorators does. A command’s
  epilog and short_help are also processed. pallets/click#1985

  Store unprocessed Command.help, epilog and short_help strings.
  Processing is only done when formatting help text for output.
  pallets/click#2149

  Allow empty str input for prompt() when confirmation_prompt=True and
  default="". pallets/click#2157

  Windows glob pattern expansion doesn’t fail if a value is an invalid
  pattern. pallets/click#2195

  It’s possible to pass a list of params to @command. Any params
  defined with decorators are appended to the passed params.
  pallets/click#2131

  @command decorator is annotated as returning the correct type if a
  cls argument is used. pallets/click#2211

  A Group with invoke_without_command=True and chain=False will invoke
  its result callback with the group function’s return value.
  pallets/click#2124

  to_info_dict will not fail if a ParamType doesn’t define a name.
  pallets/click#2168

  Shell completion prioritizes option values with option prefixes over
  new options. pallets/click#2040

  Options that get an environment variable value using
  autoenvvar_prefix treat an empty value as None, consistent with a
  direct envvar. pallets/click#2146

Version 8.0.4
Released 2022-02-18

  open_file recognizes Path("-") as a standard stream, the same as the
  string "-". pallets/click#2106

  The option and argument decorators preserve the type annotation of
  the decorated function. pallets/click#2155

  A callable default value can customize its help text by overriding
  __str__ instead of always showing (dynamic). pallets/click#2099

  Fix a typo in the Bash completion script that affected file and
  directory completion. If this script was generated by a previous
  version, it should be regenerated. pallets/click#2163

  Fix typing for echo and secho file argument. pallets/click#2174,
  pallets/click#2185

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:31:21 -08:00
Daniel Golle
b5880a91a7 itsdangerous: update to version 2.1.2
Version 2.1.2
Released 2022-03-24

  Handle date overflow in timed unsign on 32-bit systems.
  pallets/itsdangerous#299

Version 2.1.1
Released 2022-03-09

  Handle date overflow in timed unsign. pallets/itsdangerous#296

Version 2.1.0
Released 2022-02-17

  Drop support for Python 3.6. pallets/itsdangerous#272

  Remove previously deprecated code. pallets/itsdangerous#273

  JWS functionality: Use a dedicated library such as Authlib instead.

  import itsdangerous.json: Import json from the standard library instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:31:11 -08:00
Daniel Golle
d99b5473e5 Werkzeug: update to version 2.2.2
Version 2.2.2
Released 2022-08-08

  Fix router to restore the 2.1 strict_slashes == False behaviour
  whereby leaf-requests match branch rules and vice versa.
  pallets/werkzeug#2489

  Fix router to identify invalid rules rather than hang parsing them,
  and to correctly parse / within converter arguments.
  pallets/werkzeug#2489

  Update subpackage imports in werkzeug.routing to use the import as
  syntax for explicitly re-exporting public attributes.
  pallets/werkzeug#2493

  Parsing of some invalid header characters is more robust.
  pallets/werkzeug#2494

  When starting the development server, a warning not to use it in a
  production deployment is always shown. pallets/werkzeug#2480

  LocalProxy.__wrapped__ is always set to the wrapped object when the
  proxy is unbound, fixing an issue in doctest that would cause it to
  fail. pallets/werkzeug#2485

  Address one ResourceWarning related to the socket used by run_simple.
  pallets/werkzeug#2421

Version 2.2.1
Released 2022-07-27

  Fix router so that /path/ will match a rule /path if strict slashes
  mode is disabled for the rule. pallets/werkzeug#2467

  Fix router so that partial part matches are not allowed i.e. /2df
  does not match /<int>. pallets/werkzeug#2470

  Fix router static part weighting, so that simpler routes are matched
  before more complex ones. pallets/werkzeug#2471

  Restore ValidationError to be importable from werkzeug.routing.
  pallets/werkzeug#2465

Version 2.2.0
Released 2022-07-23

  Deprecated get_script_name, get_query_string, peek_path_info,
  pop_path_info, and extract_path_info. pallets/werkzeug#2461

  Remove previously deprecated code. pallets/werkzeug#2461

  Add MarkupSafe as a dependency and use it to escape values when
  rendering HTML. pallets/werkzeug#2419

  Added the werkzeug.debug.preserve_context mechanism for restoring
  context-local data for a request when running code in the debug
  console. pallets/werkzeug#2439

  Fix compatibility with Python 3.11 by ensuring that end_lineno and
  end_col_offset are present on AST nodes. pallets/werkzeug#2425

  Add a new faster matching router based on a state machine.
  pallets/werkzeug#2433

  Fix branch leaf path masking branch paths when strict-slashes is
  disabled. pallets/werkzeug#1074

  Names within options headers are always converted to lowercase. This
  matches RFC 6266 that the case is not relevant. pallets/werkzeug#2442

  AnyConverter validates the value passed for it when building URLs.
  pallets/werkzeug#2388

  The debugger shows enhanced error locations in tracebacks in Python
  3.11. pallets/werkzeug#2407

  Added Sans-IO is_resource_modified and parse_cookie functions based
  on WSGI versions. pallets/werkzeug#2408

  Added Sans-IO get_content_length function. pallets/werkzeug#2415

  Don’t assume a mimetype for test responses. pallets/werkzeug#2450

  Type checking FileStorage accepts os.PathLike. pallets/werkzeug#2418

Version 2.1.2
Released 2022-04-28

  The development server does not set Transfer-Encoding: chunked for
  1xx, 204, 304, and HEAD responses. pallets/werkzeug#2375

  Response HTML for exceptions and redirects starts with <!doctype
  html> and <html lang=en>. pallets/werkzeug#2390

  Fix ability to set some cache_control attributes to False.
  pallets/werkzeug#2379

  Disable keep-alive connections in the development server, which are
  not supported sufficiently by Python’s http.server.
  pallets/werkzeug#2397

Version 2.1.1
Released 2022-04-01

  ResponseCacheControl.s_maxage converts its value to an int, like
  max_age. pallets/werkzeug#2364

Version 2.1.0
Released 2022-03-28

  Drop support for Python 3.6. pallets/werkzeug#2277

  Using gevent or eventlet requires greenlet>=1.0 or PyPy>=7.3.7.
  werkzeug.locals and contextvars will not work correctly with older
  versions. pallets/werkzeug#2278

  Remove previously deprecated code. pallets/werkzeug#2276

    Remove the non-standard shutdown function from the WSGI environ
    when running the development server. See the docs for alternatives.

    Request and response mixins have all been merged into the Request
    and Response classes.

    The user agent parser and the useragents module is removed. The
    user_agent module provides an interface that can be subclassed to
    add a parser, such as ua-parser. By default it only stores the
    whole string.

    The test client returns TestResponse instances and can no longer be
    treated as a tuple. All data is available as properties on the
    response.

    Remove locals.get_ident and related thread-local code from locals,
    it no longer makes sense when moving to a contextvars-based
    implementation.

    Remove the python -m werkzeug.serving CLI.

    The has_key method on some mapping datastructures; use key in data
    instead.

    Request.disable_data_descriptor is removed, pass shallow=True
    instead.

    Remove the no_etag parameter from Response.freeze().

    Remove the HTTPException.wrap class method.

    Remove the cookie_date function. Use http_date instead.

    Remove the pbkdf2_hex, pbkdf2_bin, and safe_str_cmp functions. Use
    equivalents in hashlib and hmac modules instead.

    Remove the Href class.

    Remove the HTMLBuilder class.

    Remove the invalidate_cached_property function. Use del obj.attr
    instead.

    Remove bind_arguments and validate_arguments. Use Signature.bind()
    and inspect.signature() instead.

    Remove detect_utf_encoding, it’s built-in to json.loads.

    Remove format_string, use string.Template instead.

    Remove escape and unescape. Use MarkupSafe instead.

  The multiple parameter of parse_options_header is deprecated.
  pallets/werkzeug#2357

  Rely on PEP 538 and PEP 540 to handle decoding file names with the
  correct filesystem encoding. The filesystem module is removed.
  pallets/werkzeug#1760

  Default values passed to Headers are validated the same way values
  added later are. pallets/werkzeug#1608

  Setting CacheControl int properties, such as max_age, will convert
  the value to an int. pallets/werkzeug#2230

  Always use socket.fromfd when restarting the dev server.
  pallets/werkzeug#2287

  When passing a dict of URL values to Map.build, list values do not
  filter out None or collapse to a single value. Passing a MultiDict
  does collapse single items. This undoes a previous change that made
  it difficult to pass a list, or None values in a list, to custom URL
  converters. pallets/werkzeug#2249

  run_simple shows instructions for dealing with “address already in
  use” errors, including extra instructions for macOS.
  pallets/werkzeug#2321

  Extend list of characters considered always safe in URLs based on RFC
  3986. pallets/werkzeug#2319

  Optimize the stat reloader to avoid watching unnecessary files in
  more cases. The watchdog reloader is still recommended for
  performance and accuracy. pallets/werkzeug#2141

  The development server uses Transfer-Encoding: chunked for streaming
  responses when it is configured for HTTP/1.1. pallets/werkzeug#2090,
  pallets/werkzeug#1327, pallets/werkzeug#2091

  The development server uses HTTP/1.1, which enables keep-alive
  connections and chunked streaming responses, when threaded or
  processes is enabled. pallets/werkzeug#2323

  cached_property works for classes with __slots__ if a corresponding
  _cache_{name} slot is added. pallets/werkzeug#2332

  Refactor the debugger traceback formatter to use Python’s built-in
  traceback module as much as possible. pallets/werkzeug#1753

  The TestResponse.text property is a shortcut for
  r.get_data(as_text=True), for convenient testing against text instead
  of bytes. pallets/werkzeug#2337

  safe_join ensures that the path remains relative if the trusted
  directory is the empty string. pallets/werkzeug#2349

  Percent-encoded newlines (%0a), which are decoded by WSGI servers,
  are considered when routing instead of terminating the match early.
  pallets/werkzeug#2350

  The test client doesn’t set duplicate headers for CONTENT_LENGTH and
  CONTENT_TYPE. pallets/werkzeug#2348

  append_slash_redirect handles PATH_INFO with internal slashes.
  pallets/werkzeug#1972, pallets/werkzeug#2338

  The default status code for append_slash_redirect is 308 instead of
  301. This preserves the request body, and matches a previous change
  to strict_slashes in routing. pallets/werkzeug#2351

  Fix ValueError: I/O operation on closed file. with the test client
  when following more than one redirect. pallets/werkzeug#2353

  Response.autocorrect_location_header is disabled by default. The
  Location header URL will remain relative, and exclude the scheme and
  domain, by default. pallets/werkzeug#2352

  Request.get_json() will raise a 400 BadRequest error if the
  Content-Type header is not application/json. This makes a very common
  source of confusion more visible. pallets/werkzeug#2339

Version 2.0.3
Released 2022-02-07

  ProxyFix supports IPv6 addresses. pallets/werkzeug#2262

  Type annotation for Response.make_conditional,
  HTTPException.get_response, and Map.bind_to_environ accepts Request
  in addition to WSGIEnvironment for the first parameter.
  pallets/werkzeug#2290

  Fix type annotation for Request.user_agent_class.
  pallets/werkzeug#2273

  Accessing LocalProxy.__class__ and __doc__ on an unbound proxy
  returns the fallback value instead of a method object.
  pallets/werkzeug#2188

  Redirects with the test client set RAW_URI and REQUEST_URI correctly.
  pallets/werkzeug#2151

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:30:59 -08:00
Daniel Golle
6957a4275a MarkupSafe: update to version 2.1.1
Version 2.1.1
Released 2022-03-14
  Avoid ambiguous regex matches in striptags. pallets/markupsafe#293

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-22 16:30:48 -08:00
W. Michael Petullo
38f2618c78 luasec: update to 1.2.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-22 16:26:16 -08:00
Hirokazu MORIKAWA
f8bd5eaa6e node: bump to v16.19.0
Notable Changes
*OpenSSL 1.1.1s
*Root certificates updated to NSS 3.85
*Time zone update to 2022f

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-12-22 16:25:53 -08:00
W. Michael Petullo
da806ee091 luaexpat: update to 1.5.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-12-22 16:25:34 -08:00
Nick Hainke
4ecd9d67e9 python3: fix ssl support by removing libressl patches
Remove libressl specific patches. With commit
("tools/libressl: update to 3.7.0") they are no longer needed,
rather they cause python3 to be compiled without working ssl-support.

Fixes: #20107
Suggested-by: Andre Heider <a.heider@gmail.com>
Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-12-21 14:27:06 +01:00
Daniel Golle
6e33a73f0c perl-mail-spamassassin: update to version 4.0.0
Apache SpamAssassin -- Version 4.0.0
See https://lwn.net/Articles/918145/ for details

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-12-20 01:45:56 +00:00
Toke Høiland-Jørgensen
ac892bb6f1
Merge pull request #20099 from tohojo/fix-flent-pkg
flent: fixup flent package
2022-12-19 15:27:42 +01:00
Michael Heimpold
b1bb8db946
Merge pull request #20075 from mhei/php8-update-8.2.0
php8: update to 8.2.0
2022-12-18 09:13:02 +01:00
Toke Høiland-Jørgensen
6818f1e521 flent: Rename and update package
Update the Flent package and move it to net/, renaming it to just 'flent'
instead of python3-flent (it's not a library, having the python3- prefix
makes no sense). Also add python3-defusedxml as a dependency to protect
against XML bombs if using the one of the backends that use XML-RPC, and
trim the dependencies to those used directly by Flent.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
2022-12-17 23:42:51 +01:00
Alexandru Ardelean
07a72eba59 python3-pytz: bump to version 2022.6
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-12-16 07:34:22 +01:00
Michael Heimpold
d1b08dbfe8 php8-pecl-redis: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
99397ebd54 php8-pecl-raphf: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
283e2982cb php8-pecl-krb5: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
a7ae6e3d8a php8-pecl-imagick: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
d106451fdf php8-pecl-http: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
7a33396cbb php8-pecl-dio: bump package release
We need to bump the package release number to force a rebuild
against new PHP ABI version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Michael Heimpold
f224e29528 php8-pecl-mcrypt: update to 1.0.5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-15 08:34:18 +01:00
Doug Thomson
6db2fe93cd perl: enable threading support for aarch64 by default
Perl threads seem to be supported and working for aarch64, and
including aarch64 here would allow packages like freeswitch-mod-perl
to become available from the standard OpwnWrt package repository for
popular routers such as the Linksys E8450 and Belkin RT3200.

Signed-off-by: Doug Thomson <dwt62f+github@gmail.com>
2022-12-14 22:13:40 +08:00
Fabian Lipken
85a4c5978b python-pycares: PKG_RELEASE:=1
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-13 11:08:12 +01:00
Michael Heimpold
ea282f9bb8 php8-pecl-xdebug: update to 3.2.0
This update brings support for PHP 8.2.0.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-12 21:14:04 +01:00
Michael Heimpold
94c4f13ce6 php8: update to 8.2.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-12-12 21:14:04 +01:00
Fabian Lipken
b0afdf5991 python-pycares: bump to 4.3.0
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-12-12 15:21:29 +01:00
Luiz Angelo Daros de Luca
3111bc81af
ruby: update to 3.1.3
This release includes a security fix.

- CVE-2021-33621: HTTP response splitting in CGI

For more details:
- https://www.ruby-lang.org/en/news/2022/11/24/ruby-3-1-3-released/

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-12-12 00:10:09 -03:00
Josef Schlehofer
f53eb1231a
Merge pull request #20037 from 1715173329/g1194
golang: Update to 1.19.4
2022-12-09 11:53:40 +01:00
Peter Stadler
d321db6409 django: bump version 4.1.3
fix CVE-2022-41323

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2022-12-08 08:35:31 +01:00
Tianling Shen
6a0ee524b1
golang: Update to 1.19.4
go1.19.4 (released 2022-12-06) includes security fixes to the net/http
and os packages, as well as bug fixes to the compiler, the runtime,
and the crypto/x509, os/exec, and sync/atomic packages.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-12-08 00:43:34 +08:00
Hannu Nyman
d115eec84f
Merge pull request #19973 from julienmalik/borg
borgbackup: initial commit
2022-11-29 16:57:10 +02:00
Michael Heimpold
056051da49 php8: update to 8.1.13
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-28 07:43:50 +01:00
Julien Malik
2ad61a4529 borgbackup: add package for 1.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik
17f58b94a7 python-pyfuse3: add package for 3.2.2
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik
07e29c3782 python-trio: add package for 0.22.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:05 +01:00
Julien Malik
f35f4dace7 python-sniffio: add package for 1.3.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik
750facea90 python-outcome: add package for 1.2.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik
8fe1dab371 python-async-generator: add package for 1.10
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik
a19f331b06 python-exceptiongroup: add package for 1.0.4
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:04 +01:00
Julien Malik
69655222fc python-sortedcontainers: add package for 2.4.0
Signed-off-by: Julien Malik <julien.malik@paraiso.me>
2022-11-26 15:24:03 +01:00
Tianling Shen
98e12e5860
Merge pull request #19652 from wormi4ok/lang-golang-update-1-19-2
golang: update to v1.19.2
2022-11-24 23:40:14 +08:00
Stanislav Petrashov
440dcd8d34
golang: update to v1.19.3
Signed-off-by: Stanislav Petrashov <s@petrashov.ru>
2022-11-23 22:06:14 +01:00
Michael Heimpold
59967db5f4 php8-pecl-xdebug: update to 3.1.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-16 15:43:28 +01:00
Stanislav Petrashov
0ad7a2fe18
golang: update to v1.19.2
Includes fixes for security vulnerabilities:
 * [CVE-2022-27664](https://github.com/advisories/GHSA-69cg-p879-7622) net/http: handle server errors after sending GOAWAY
 * [CVE-2022-32190](https://github.com/golang/go/issues/54385) net/url: JoinPath does not strip relative path components in all circumstances
 * [CVE-2022-2879](https://github.com/golang/go/issues/54853) archive/tar: unbounded memory consumption when reading headers
 * [CVE-2022-2880](https://github.com/golang/go/issues/54663) net/http/httputil: ReverseProxy should not forward unparseable query parameters
 * [CVE-2022-41715](https://github.com/golang/go/issues/55949) regexp/syntax: limit memory used by parsing regexps

Addresses the build failure:
* https://github.com/openwrt/packages/pull/19613

Signed-off-by: Stanislav Petrashov <s@petrashov.ru>
2022-11-14 20:23:44 +01:00
Josef Schlehofer
c33c2d8869 golang: update to version 1.18.8
Fixes following CVEs:
- CVE-2022-32189 (version 1.18.5 [1]]
- CVE-2022-27664 (version 1.18.6 [2])
- CVE-2022-32190 (version 1.18.6 [2])
- CVE-2022-2879 (version 1.18.7 [3])
- CVE-2022-2880 (version 1.18.7 [3])
- CVE-2022-41715 (version 1.18.7 [3])
- CVE-2022-41716 (version 1.18.8 [4])

and refreshed patch

[1] https://groups.google.com/g/golang-announce/c/YqYYG87xB10
[2] https://groups.google.com/g/golang-announce/c/x49AQzIVX-s
[3] https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
[4] https://groups.google.com/g/golang-announce/c/mbHY1UY3BaM

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-11-10 09:15:41 +01:00
Stijn Tintel
b051bbcad8 luaexpat: trim trailing spaces
Found with modified Kconfiglib.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2022-11-03 09:45:09 +01:00
Michael Heimpold
58b47869c0 php8: update to 8.1.12
This fixes:
    - CVE-2022-31630
    - CVE-2022-37454

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-11-02 07:21:20 +01:00
Alexandru Ardelean
69f5e34a65 python3-pytz: bump to version 2022.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-30 21:32:06 +01:00
Alexandru Ardelean
b8e20215a2 pillow: bump to version 9.3.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-30 21:32:06 +01:00
Hirokazu MORIKAWA
5851aa8062 node: bump to v16.18.0
Update to v16.18.0

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-10-23 18:35:47 +02:00
Eneas U de Queiroz
ec93df9f52 python-certifi: bump to 2022.9.24
This version updates the CA bundle, and needs urllib as dependency.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-21 15:10:00 -07:00
Eneas U de Queiroz
4a16e5eb8c python-docutils: bump to version 0.19
Package does not currently build because of distutil dependency.  Fix
this by updating to the latest version.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-10-21 15:03:31 -07:00
Alexandru Ardelean
7a6a6540b6 django-restframework: bump to version 3.14.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-11 19:16:18 +03:00
Michal Vasilek
e9ddc479f9
python3: update to 3.10.7
* fixes CVE-2021-28861
* adjust pip and setuptools versions
* refresh patches

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-10-10 16:59:12 +02:00
Alexandru Ardelean
a88277b101
Merge pull request #19554 from commodo/numpy
numpy: bump to version 1.23.3
2022-10-09 08:08:19 +03:00
Alexandru Ardelean
feaf88ddc5
Merge pull request #19552 from commodo/python-pytz
python3-pytz: bump to version 2022.4
2022-10-09 08:07:55 +03:00
David Bauer
193ffa68c1
Merge pull request #19529 from blocktrron/qcsuper
qcsuper: add Package w/ necessary dependencies
2022-10-08 04:00:50 +02:00
Alexandru Ardelean
5b9a66cd7c numpy: bump to version 1.23.3
Also bump Cython version to 0.29.32

And yeeeey: zip -> tar.gz

And they fixed the Intel AVX extension stuff/detection.
Which is why I deferred updating it until now.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-07 21:19:36 +03:00
Alexandru Ardelean
ad03d09c7f python3-pytz: bump to version 2022.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-07 10:34:15 +03:00
Daniel Golle
b9338331be
perl-net-dns: update to version 1.35
**** 1.35 Oct 4, 2022

    Improve SVCB error reporting.

Fix rt.cpan.org #144328
    accept_reply test fails with matched consecutive "random"
    generated packet->id

Fix rt.cpan.org #144299
    Spelling errors.

**** 1.34 May 30, 2022

    Improve robustness of EDNS option compose/decompose functions.
    Simplify code in Makefile.PL.

Fix rt.cpan.org #142426
    Avoid "Useless use of a constant in void context" warning.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-10-07 02:11:55 +01:00
David Bauer
e956e733c3 python-pycrate: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-06 12:16:14 +02:00
David Bauer
341b07f92e python-crcmod: add package
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-06 12:16:14 +02:00
Alexandru Ardelean
3468dda484 django: bump to version 4.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-10-06 11:36:47 +02:00
Michael Heimpold
864db40722
Merge pull request #19534 from mhei/php8-pecl-http-update-4.2.3
php8-pecl-http: update to 4.2.3
2022-10-06 07:40:56 +02:00
Hirokazu MORIKAWA
658621bf5e node: bump to v16.17.1
The following CVEs are fixed in this release:
* CVE-2022-32212: DNS rebinding in --inspect on macOS (High)
    * Insufficient fix for macOS devices on v18.5.0
* CVE-2022-32222: Node 18 reads openssl.cnf from /home/iojs/build/ upon startup on MacOS (Medium)
* CVE-2022-32213: HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)
    * Insufficient fix on v18.5.0
* CVE-2022-32215: HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)
    * Insufficient fix on v18.5.0
* CVE-2022-35256: HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)
* CVE-2022-35255: Weak randomness in WebCrypto keygen
More detailed information on each of the vulnerabilities can be found in September 22nd 2022 Security Releases blog post.

llhttp updated to 6.0.10
llhttp is updated to 6.0.10 which includes fixes for the following vulnerabilities.
* HTTP Request Smuggling - CVE-2022-32213 bypass via obs-fold mechanic (Medium)(CVE-2022-32213 ): The llhttp parser in the http module does not correctly parse and validate Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
* HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)(CVE-2022-32215): The llhttp parser in the http module does not correctly handle multi-line Transfer-Encoding headers. This can lead to HTTP Request Smuggling (HRS).
* HTTP Request Smuggling - Incorrect Parsing of Header Fields (Medium)(CVE-35256): The llhttp parser in the http does not correctly handle header fields that are not terminated with CLRF. This can lead to HTTP Request Smuggling (HRS).

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-10-05 23:28:49 +02:00
Michael Heimpold
ccc3b06724 php8-pecl-http: update to 4.2.3
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-05 20:52:38 +02:00
Petr Štetiar
845d81ca09 treewide: fix security issues by bumping all packages using libwolfssl
As wolfSSL is having hard time maintaining ABI compatibility between
releases, we need to manually force rebuild of packages depending on
libwolfssl and thus force their upgrade. Otherwise due to the ABI
handling we would endup with possibly two libwolfssl libraries in the
system, including the patched libwolfssl-5.5.1, but still have
vulnerable services running using the vulnerable libwolfssl-5.4.0.

So in order to propagate update of libwolfssl to latest stable release
done in commit ec8fb542ec3e4 ("wolfssl: fix TLSv1.3 RCE in uhttpd by
using 5.5.1-stable (CVE-2022-39173)") which fixes several remotely
exploitable vulnerabilities, we need to bump PKG_RELEASE of all packages
using wolfSSL library.

Same bump has been done in buildroot in commit f1b7e1434f66 ("treewide:
fix security issues by bumping all packages using libwolfssl").

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2022-10-04 00:58:29 -07:00
Michael Heimpold
cc6bf5f71e
Merge pull request #19512 from mhei/php8-update-8.1.11
php8: update to 8.1.11
2022-10-04 07:25:06 +02:00
Javier Marcet
e6cc43a7f0 python-stem: update to v1.8.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-10-03 15:04:06 -07:00
Michael Heimpold
e0db68ef0a php8: update to 8.1.11
This fixes:
    - CVE-2022-31628
    - CVE-2022-31629

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-10-03 11:08:08 +02:00
Michael Heimpold
91462f9034 php8-pecl-sodium: drop package, replaced by php8-mod-sodium (refs #18997)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-30 20:42:09 +02:00
Michael Heimpold
8b1b6caedf php8: add sodium extensions (refs #18997)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-30 20:42:09 +02:00
Rosen Penev
d09844e395 python3: use tools/expat for host build
Oversight from when the expat host build was removed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-09-28 00:58:17 -07:00
Eneas U de Queiroz
d9275521f1 lua-eco: adapt SSL choice to libwolfsslcpu-crypto
libwolfsslcpu-crypto has to be taken into consideration when selecting
the default SSL backend.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-09-26 09:30:25 -03:00
Karl Palsson
5a511e25ad lang: lua-penlight: update to 1.13.1
These are bugfix and feature releases.

Changes from 1.11->1.12:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1120-2022-jan-10
Changes from 1.12->1.13:
https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1130-2022-jul-22

Signed-off-by: Karl Palsson <karlp@etactica.com>
2022-09-26 09:38:00 +00:00
Michael Heimpold
61f84e17f9 php8-pecl-xdebug: add package (refs 19424)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-24 09:50:28 +02:00
Javier Marcet
6c553c35b3 python-jsonschema: Update to 4.16.0
- Improve the base URI behavior when resolving a $ref to a resolution
 URI which is different from the resolved schema's declared $id.
 - Accessing jsonschema.draftN_format_checker is deprecated. Instead,
 if you want access to the format checker itself, it is exposed as
 jsonschema.validators.DraftNValidator.FORMAT_CHECKER on any
 jsonschema.protocols.Validator.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Javier Marcet
617efbc02e python-jsonschema: Update to 4.15.0, broken since 4.6.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-17 12:58:04 -07:00
Michal Vasilek
7fd9d010a2
python-flask-socketio: update to 5.3.1
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-09-16 12:51:06 +02:00
Nick Hainke
c8bed78fb3 python3-iperf3: add iperf3 python wrapper
This wrapper gives us an easy to use api for using iperf3 in python.

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:37:44 -07:00
Nick Hainke
b8bfdc5cd6 python3-flent: add flent package
As described on GitHub page [0]:
  Flent is a Python wrapper to run multiple simultaneous
  netperf/iperf/ping instances and aggregate the results.

[0] - https://github.com/tohojo/flent

Signed-off-by: Nick Hainke <vincent@systemli.org>
2022-09-14 02:36:07 -07:00
Šimon Bořek
992fcd1bd8 python3: backport and fix target musl libc detection
Patch 030:
Backported from Python main branch[^1] for Python to distinguish between glibc and musl libc SOABI.

Patch 131:
Changes PLATFORM_TRIPLET -gnu/-musl suffix detection (performed by the backported patch)
to be based on the target OS instead of the building OS.

See included patches for more detailed descriptions.

Specifically this fixes cross-compilation for mpc8548 CPUs with SPE instructions[^2] enabled.

[^1]: merged to python:main as https://github.com/python/cpython/pull/24502 'bpo-43112: detect musl as a separate SOABI'
[^2]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Co-authored-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-09-12 14:20:14 -07:00
Javier Marcet
1c49d1a309 python-websocket-client: update to 1.4.1
- Fix stack growth bug when `run_forever` reconnects
  - Add doctest CI for sphinx docs code examples (d150099)
  - General docs improvements
  - Fix automatic reconnect with `run_forever`
  - Allow a timeout to be set when using a proxy

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:12 -07:00
Javier Marcet
bb44de8634 python-dotenv: update to v0.21.0
Added:

 - CLI: add support for invocations via 'python -m'.
 - load_dotenv function now returns False.
 - CLI: add --format= option to list command.

Fixed:

 - Drop Python 3.5 and 3.6 and upgrade GA
 - Use open instead of io.open.
 - Improve documentation for variables without a value
 - Add parse_it to Related Projects
 - Update README.md
 - Improve documentation with direct use of MkDocs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:18:01 -07:00
Javier Marcet
7b3ceb95d9 python-docker: Update to 6.0.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-09-09 15:17:54 -07:00
Michael Heimpold
026a672ad1 php8: update to 8.1.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-09-06 21:47:30 +02:00
Siger Yang
d9099da779 luaossl: update to rel-20220711
Signed-off-by: Siger Yang <siger.yang@outlook.com>
2022-08-31 13:33:28 -07:00
Alexandru Ardelean
552def0637
Merge pull request #19238 from dynasticorpheus/pycares
python-pycares: add new package
2022-08-28 20:59:42 +03:00
Josef Schlehofer
72cf350b08
Merge pull request #19253 from turris-cz/pyuci
python-uci: update to version 0.9.0
2022-08-26 16:55:12 +02:00
Josef Schlehofer
e340fe8a12
python-uci: update to version 0.9.0
- Release notes:
https://gitlab.nic.cz/turris/pyuci/-/tags/v0.9.0
- Update copyright while at it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-25 16:46:29 +02:00
Fabian Lipken
90ef79afd8 python-pycares: add new package
Signed-off-by: Fabian Lipken <dynasticorpheus@gmail.com>
2022-08-25 11:53:02 +02:00
Eneas U de Queiroz
f3a3184d32 lua-eco: rework SSL library dependency & selection
Currently, lua-eco will add dependencies to all SSL libraries that are
selected, even though it will only use one of them.  That means that the
package downloaded from the regular repository will install OpenSSL,
wolfSSL and mbedTLS, even though it will only use OpenSSL.

Fix that by adding a built option so that the default can be changed at
build-time.  To maintain the author's intention, a default symbol is
computed based on what libraries are being built into the image, or just
selected as a module.  Originally, the order or preference was OpenSSL,
wolfSSL, then mbedTLS.

One change was made to the original order: if OpenSSL and wolfSSL are
both selected as module, and mbedTLS is not built into the image,
wolfSSL will be preferred over OpenSSL.  This is being done to keep the
package consistent with OpenWRT's selection of wolfSSL as the default
SSL library.  If they are both included in the image, then OpenSSL will
be preferred.

The order of preference is:
1. If at least one library is included in the image, use the first of
   OpenSSL, wolfSSL, and mbedTLS that is included in the image.
2. If at least one library is selected, but none included in the image,
   prefer wolfSSL, then OpenSSL, then mbedTLS.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2022-08-24 13:23:35 -07:00
Alexandru Ardelean
c6ac0c497f
Merge pull request #19229 from commodo/python-updates1
django, python-{evdev,pytz}: bump versions
2022-08-24 12:29:43 +03:00
Tianling Shen
d04fefc2b7 perl-ack: Update to 3.6.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2022-08-23 16:37:16 -07:00
Hirokazu MORIKAWA
841b38f37a node: bump to v16.17.0
Notable Changes:
Experimental command-line argument parser API
Experimental ESM Loader Hooks API
Experimental test runner
Improved interoperability of the Web Crypto API

Dependency updates:
Updated Corepack to 0.12.1
Updated ICU to 71.1
Updated npm to 8.15.0
Updated Undici to 5.8.0

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-08-23 08:24:51 +02:00
Alexandru Ardelean
e706b0691b python-pytz: bump to version 2022.2.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 16:20:01 +03:00
Alexandru Ardelean
cbe023d285 django: bump to 4.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 10:00:47 +03:00
Alexandru Ardelean
f5f282f0bb python-evdev: bump to 1.6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-22 09:12:13 +03:00
Alexandru Ardelean
8bf399f78e
Merge pull request #19192 from turris-cz/cython-pip-requirements
host-pip-requirements: update Cython to version 0.29.28
2022-08-19 20:45:10 +03:00
Josef Schlehofer
e78352c043
host-pip-requirements: update Cython to version 0.29.28
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-17 16:07:16 +02:00
Alexandru Ardelean
222a8683c0 python3-simplejson: drop package
Was only used by Bigclown.
The project (Bigclown) has accepted the switch from simplejson to it's
built-in json lib, and we can now drop this lib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-08-16 13:12:33 -07:00
Josef Schlehofer
ce1679a07f
python-websockets: update to version 10.3
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-08-12 21:35:39 +02:00
Michael Heimpold
55e06d66fa php8: update to 8.1.9
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-08-08 00:58:45 +02:00
Šimon Bořek
a4a484fbca luajit: patch: PPC/e500 SPE: use soft float instead of failing
makes LuaJit builds for mpc85xx targets with SPE ISA extension
enabled possible

Quoting inner commit message:

This allows building LuaJit for systems with Power ISA SPE
extension[^1] support by using soft float on LuaJit side.

While e500 CPU cores support SPE instruction set extension
allowing them to perform floating point arithmetic natively,
this isn't required. They can function with software floating
point to integer arithmetic translation as well,
just like FPU-less PowerPC CPUs without SPE support.

Therefore I see no need to prevent them from running LuaJit
explicitly.

[^1]: https://www.nxp.com/docs/en/reference-manual/SPEPEM.pdf

Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-08-06 10:34:58 -07:00
Jan Hoffmann
52ae0a2018 python-paho-mqtt: add missing dependency
The uuid module has been split out into a separate package with the
update to Python 3.10.

Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2022-08-03 17:04:42 +02:00
Javier Marcet
500cdd1243 python-jsonschema: Update to 4.9.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-08-02 18:07:56 -07:00
Michael Heimpold
d413cdf17a
Merge pull request #18993 from mhei/php8-update-8.1.8
php8: update to 8.1.8
2022-07-28 10:31:41 +02:00
ZiMing Mo
fd1e3e2890 ruby: fix build with LibreSSL over v3.5
LibreSSL 3.5 and later provide and need to use
PEM_write_bio_PrivateKey_traditional()

upstream commit:
e25fb0d0d8
b02815271f

Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
2022-07-23 19:19:12 -07:00
Sebastian Kemper
6544b67f1f erlang: workaround LibreSSL-3.5.0 compat issues
Cherry-pick four upstream commits that prevent building of
otp_test_engine when LibreSSL-3.5.0 is used.

Since OpenWrt bumped LibreSSL to 3.5.3 the erlang host builds fail to
complete.

 CC	../priv/obj/x86_64-pc-linux-gnu/otp_test_engine.o
otp_test_engine.c: In function 'test_engine_md5_init':
otp_test_engine.c:144:34: error: dereferencing pointer to incomplete type 'EVP_MD_CTX' {aka 'struct env_md_ctx_st'}
 #define data(ctx) ((MD5_CTX *)ctx->md_data)
                                  ^~

Also switch to AUTORELEASE.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2022-07-23 12:45:10 -07:00
Andre Heider
bd6e205421 python3: update patches for libressl v3.5
Based upon patches from OpenBSD[0] and Gentoo[1].

Switched to the LibreSSL provided LIBRESSL_VERSION_NUMBER macro, which
makes OPENWRT_HOST_BUILD redundant.

[0] https://github.com/openbsd/ports/tree/master/lang/python/3.10/patches
[1] https://github.com/gentoo/libressl/tree/master/dev-lang/python/files

Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-07-23 12:28:55 -07:00
Alexandru Ardelean
0ae4a5195a
Merge pull request #18966 from commodo/django-bump
django: bump to version 4.0.6
2022-07-22 14:44:43 +03:00
Michael Heimpold
78f45bb651 php8: update to 8.1.8
This fixes:
    - CVE-2022-31627

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-07-20 21:47:20 +02:00
Michael Heimpold
61b31a3157
Merge pull request #18919 from mhei/php8-full-libiconv
php8: fixup libiconv usage (refs openwrt/openwrt#10024)
2022-07-19 19:20:11 +02:00
Alexandru Ardelean
b0ddec3161 django: bump to version 4.0.6
Fixes https://nvd.nist.gov/vuln/detail/CVE-2022-34265

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-18 17:46:36 +03:00
Jeffery To
60168651a2
golang: Update to 1.18.4
Includes fixes for:

* CVE-2022-1705: net/http: improper sanitization of Transfer-Encoding
  header
* CVE-2022-1962: go/parser: stack exhaustion in all Parse* functions
* CVE-2022-28131: encoding/xml: stack exhaustion in Decoder.Skip
* CVE-2022-30630: io/fs: stack exhaustion in Glob
* CVE-2022-30631: compress/gzip: stack exhaustion in Reader.Read
* CVE-2022-30632: path/filepath: stack exhaustion in Glob
* CVE-2022-30633: encoding/xml: stack exhaustion in Unmarshal
* CVE-2022-30635: encoding/gob: stack exhaustion in Decoder.Decode
* CVE-2022-32148: net/http/httputil: NewSingleHostReverseProxy - omit
  X-Forwarded-For not working

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-07-18 17:35:11 +08:00
Michael Heimpold
a24a76783e php8: fixup libiconv usage (refs openwrt/openwrt#10024)
Since the OpenWrt's stub libiconv implementation is now gone,
we can build against musl's internal one or the external libiconv
implementation.
This needs minor adjustements in the makefile to allow PHPs build
to choose the right path when cross-compiling.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-07-17 14:11:39 +02:00
Hirokazu MORIKAWA
8db0d09823 node: July 7th 2022 Security Releases
Update to v16.16.0

Release for the following issues:
HTTP Request Smuggling - Flawed Parsing of Transfer-Encoding (Medium)(CVE-2022-32213)
HTTP Request Smuggling - Improper Delimiting of Header Fields (Medium)(CVE-2022-32214)
HTTP Request Smuggling - Incorrect Parsing of Multi-line Transfer-Encoding (Medium)(CVE-2022-32215)
DNS rebinding in --inspect via invalid IP addresses (High)(CVE-2022-32212)

https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/

No vulnerabilities related with openssl (uses system openssl)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-07-10 22:38:20 +02:00
Alexandru Ardelean
884ac1e35b python-requests: bump to version 2.28.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean
44e880df4b python-lxml: bump to version 4.9.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean
ed8420cd97 pillow: bump to version 9.2.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Alexandru Ardelean
efd57e201d python-chardet: bump to version 5.0.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-07-07 10:35:14 -07:00
Jeffery To
9e3b7d7883
python-cryptography: Fix failing build
Fixes https://github.com/openwrt/packages/issues/18876.
Fixes https://github.com/openwrt/packages/issues/18879.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-07-07 17:35:41 +08:00
Javier Marcet
83de96fbb3 python-jsonschema: Update to 4.6.1
What's Changed:

 - Type annotate format checker methods by @sirosen
 - Fix fuzzer to include instrumentation by @DavidKorczynski
 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-07-01 14:42:19 +02:00
Michael Heimpold
8ec712ff61
Merge pull request #18823 from mhei/php8-update
php8: update to 8.1.7
2022-06-26 21:49:47 +02:00
Javier Marcet
766cfa19cf python-websocket-client: update to 1.3.3
- Fix unclosed socket error
 - Update header dict access
 - Add utf8 workaround to docs

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-25 10:42:22 -07:00
Rosen Penev
24c0007ea2 luajit: backport softfloat ppc support
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-22 12:48:32 -06:00
Michael Heimpold
f8f72420cd php8: update to 8.1.7
This fixes:
    - CVE-2022-31625
    - CVE-2022-31626

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-06-21 23:48:13 +02:00
Andy Walsh
cd49a8fb27 samba4: drop maintainership
drop maintainership:
* samba4
* ksmbd-tools
* perl-parse-yapp
* libtirpc
* softethervpn5
* wsdd2
* rpcsvc-proto

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2022-06-21 12:24:15 -06:00
Alexandru Ardelean
b9a47cc470 django: bump to version 4.0.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-19 09:03:03 +02:00
Alexandru Ardelean
7fddb0b6fb lxml: bump to version 4.9.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-19 09:03:03 +02:00
Jeffery To
57e2b656cb
python3: Update to 3.10.5, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-06-13 18:21:20 +08:00
Hirokazu MORIKAWA
d8dc54ceea node: bump to v16.15.1
Upgrade npm to 8.11.0
Suppressed unnecessary builds.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-06-09 21:07:59 -07:00
Javier Marcet
f7a00eb6ab python-jsonschema: Update to 4.6.0
What's Changed:

 - Add package_url for changelog by @fhightower
 - Only validate unevaluated properties/items on applicable types by
 @EpicWink
 - Mark library as typed (PEP-561) by @ssbarnea
 - Add v4.5.1 to changelog by @sirosen
 - Modernize the packaging setup via PEP 621 and Hatch. by @Julian

New Contributors:

 - @fhightower made their first contribution
 - @EpicWink made their first contribution

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-06-09 11:01:25 -07:00
Jeffery To
faa546ac0a micropython-lib: Update to latest master
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-06-06 15:09:51 -07:00
Jeffery To
112cf09031 golang: Update to 1.18.3
Includes fix for CVE-2022-30634 (crypto/rand: Read hangs when passed
buffer larger than 1<<32 - 1).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-06-06 15:08:39 -07:00
Alexandru Ardelean
5e1546c4c9 openpyxl: bump to version 3.0.10
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-03 21:30:45 -07:00
Alexandru Ardelean
e65d982541 pillow: bump to version 9.1.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-06-03 21:30:45 -07:00
Hirokazu MORIKAWA
fcfd2599d9 node: bump to v16.15.0
Description:
Update from  v16.15.0
Changed handling of host's npm problems due to npm updates.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-05-31 23:14:52 -07:00
Jeffery To
d71f082cdc
Merge pull request #18584 from mpratt14/golang-bootstrap-arch
golang: some makefile fixes
2022-05-31 14:59:04 +08:00
Michael Heimpold
fbcb35b33f php8: update to 8.1.6
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-05-29 11:05:11 +02:00
Michael Pratt
bb7c596028 golang: do not rely on Go script host detection
for some use cases, for example:
a system with 64 bit kernel
and 32 bit userspace programs

the local Go installation is "detected"
using the kernel "uname",
causing build failure if they happen to differ

by adding the argument GOHOSTARCH using the corresponding make variable
it would be fully controlled in the openwrt git tree
based on the HOST_ARCH make variable.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-05-27 02:39:52 -04:00
Michael Pratt
b99164aff4 golang: enable verbose output
allow the building script of Go to output verbose
when make is executed with "V=s..."

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-05-27 02:39:52 -04:00
Michael Pratt
abf28899a0 golang: split compile recipe into configure and compile
the default Configure recipe for packages
assumes that there is a "configure" script
in the source tree directory

Go does not have such a script,
configure and compile is done with the same script

so split the current Compile recipe
into both Configure and Compile recipes

Signed-off-by: Michael Pratt <mcpratt@pm.me>
2022-05-27 02:39:52 -04:00
Maciej Krüger
0b5eb86718 lua-openssl: update to version 0.8.2-1
Signed-off-by: Maciej Krüger <mkg20001@gmail.com>
2022-05-26 20:39:30 -07:00
Javier Marcet
f1ed3f5bc2 python-jsonschema: Update to 4.5.1
What's Changed:

 - Extend dynamicRef keyword by @nezhar
 - Add FORMAT_CHECKER attribute for Validator by @TiborVoelcker
 - Remove stray double-quote by @lurch
 - Ensure proper sorting of list in error message by @ssbarnea

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-25 17:04:47 -07:00
Javier Marcet
117e3d6a18 python3-paramiko: update to version 2.11.0
2.11.0:

 - [Feature] Add SSH config token expansion (eg %h, %p) when parsing
 ProxyJump directives. Patch courtesy of Bruno Inec.

 - [Support] (via #2011) Apply unittest skipIf to tests currently
 using SHA1 in their critical path, to avoid failures on systems
 starting to disable SHA1 outright in their crypto backends (eg RHEL
 9). Report & patch via Paul Howarth.

 - [Support] Update camelCase method calls against the threading
 module to be snake_case; this and related tweaks should fix some
 deprecation warnings under Python 3.10. Thanks to Karthikeyan
 Singaravelan for the report, @Narendra-Neerukonda for the patch,
 and to Thomas Grainger and Jun Omae for patch workshopping.

 - [Support] Recent versions of Cryptography have deprecated Blowfish
 algorithm support; in lieu of an easy method for users to remove it
 from the list of algorithms Paramiko tries to import and use, we’ve
 decided to remove it from our “preferred algorithms” list. This will
 both discourage use of a weak algorithm, and avoid warnings. Credit
 for report/patch goes to Mike Roest.

2.10.5:

 - [Bug] Windows-native SSH agent support as merged in 2.10 could
 encounter Errno 22 OSError exceptions in some scenarios (eg server
 not cleanly closing a relevant named pipe). This has been worked
 around and should be less problematic. Reported by Danilo Campana
 Fuchs and patched by Jun Omae.

 - [Bug] OpenSSH 7.7 and older has a bug preventing it from
 understanding how to perform SHA2 signature verification for RSA
 certificates (specifically certs - not keys), so when we added SHA2
 support it broke all clients using RSA certificates with these
 servers. This has been fixed in a manner similar to what OpenSSH’s
 own client does: a version check is performed and the algorithm used
 is downgraded if needed. Reported by Adarsh Chauhan, with fix
 suggested by Jun Omae.

 - [Bug] Align signature verification algorithm with OpenSSH re:
 zero-padding signatures which don’t match their nominal size/length.
 This shouldn’t affect most users, but will help Paramiko-implemented
 SSH servers handle poorly behaved clients such as PuTTY. Thanks to
 Jun Omae for catch & patch.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-25 17:03:28 -07:00
Jianhui Zhao
3d2c8121e2 lua-eco: Add package
Lua-eco is a `Lua coroutine` library which was implemented based on `IO event`.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
2022-05-15 05:49:13 -07:00
Jeffery To
659f87d5d4 golang: Update to 1.18.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-05-14 21:28:14 -07:00
Jeffery To
8550edbe85 micropython-lib: Update to latest master
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-05-14 21:27:21 -07:00
W. Michael Petullo
0320174ff2 python3-networkx: update to 2.8
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:50:42 -04:00
W. Michael Petullo
b1d67bd944 luasocket: update to 3.0.0
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:49:59 -04:00
W. Michael Petullo
3bac465051 luaexpat: update to 1.4.1
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2022-05-11 17:47:58 -04:00
Javier Marcet
b1159e8764 python3-paramiko: update to version 2.10.4
- [Bug] Servers offering certificate variants of hostkey algorithms
 (eg ssh-rsa-cert-v01@openssh.com) could not have their host keys
 verified by Paramiko clients, as it only ever considered non-cert key
 types for that part of connection handshaking. This has been fixed.

 - [Bug] PKey instances’ __eq__ did not have the usual safety guard in
 place to ensure they were being compared to another PKey object,
 causing occasional spurious BadHostKeyException (among other things).
 This has been fixed. Thanks to Shengdun Hua for the original report
 /patch and to Christopher Papke for the final version of the fix.

 - [Support] Update camelCase method calls against the threading
 module to be snake_case; this and related tweaks should fix some
 deprecation warnings under Python 3.10. Thanks to Karthikeyan
 Singaravelan for the report, @Narendra-Neerukonda for the patch, and
 to Thomas Grainger and Jun Omae for patch workshopping.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-05-02 12:48:21 -07:00
Josef Schlehofer
e670506a16
Merge pull request #18403 from turris-cz/change-Flask-Jinja2-maintainer
Flask, Jinja2: change maintainer
2022-04-28 13:03:01 +02:00
Alexandru Ardelean
66bf8fb484 django: bump to version 4.0.4
Fixes
https://nvd.nist.gov/vuln/detail/CVE-2022-28347
https://nvd.nist.gov/vuln/detail/CVE-2022-28346

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-28 08:32:24 +02:00
Šimon Bořek
b4fa391fe6
Jinja2: change maintainer to Šimon Bořek
As we are using this package in Turris OS
and Daniel Golle decided to no longer maintain this
and some other Python packages I'd like to take
this package maintainership as was originally
suggested in https://github.com/openwrt/packages/pull/17911
by Josef Schlehofer (@BKPepe).

Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-04-27 18:56:48 +02:00
Šimon Bořek
55bfe37ee8
Flask: change maintainer to Šimon Bořek
As we are using this package in Turris OS
and Daniel Golle decided to no longer maintain this
and some other Python packages I'd like to take
this package maintainership as was originally
suggested in https://github.com/openwrt/packages/pull/17911
by Josef Schlehofer (@BKPepe).

Signed-off-by: Šimon Bořek <simon.borek@nic.cz>
2022-04-27 18:42:21 +02:00
Michael Heimpold
ef1249f354 php8: update to 8.1.5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-04-26 21:14:22 +02:00
Luiz Angelo Daros de Luca
16ae59c1b3 ruby: update to 3.1.2
Ruby 3.1.0 major changes:
- YJIT: New experimental in-process JIT compiler
- debug gem: A new debugger
- error_highlight: Fine-grained error location in backtrace
- IRB Autocomplete and Documentation Display
- Many more. See:
  https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/

Ruby 3.1.1 changes:
- Many non-security bug fixes. See:
  https://www.ruby-lang.org/en/news/2022/02/18/ruby-3-1-1-released/

Ruby 3.1.2 changes:
- CVE-2022-28738: Double free in Regexp compilation
- CVE-2022-28739: Buffer overrun in String-to-Float conversion

Packaging changes:
- Dropped 100-musl.patch (upstream fix)
- Added: ruby-error_highlight, ruby-random_formatter,
  ruby-ruby2_keywords
- Removed: ruby-dbm, ruby-gdbm, ruby-fiber, ruby-gdbm, ruby-tracer
- ruby_find_pkgsdeps script:
  * cleaned some ignored and weak dependencies
- ruby_missingfiles script:
  * fix the example cmdline
  * let diff use all terminal columns

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2022-04-25 12:13:08 -07:00
Alexandru Ardelean
2c2a8990bb pillow: bump to version 9.1.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-19 07:38:45 +02:00
Jeffery To
43a380f953
python-twisted: Update to 22.4.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-04-18 19:12:27 +08:00
Hirokazu MORIKAWA
7636ffe654 node-serialport-bindings: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:03:08 -07:00
Hirokazu MORIKAWA
46ad7621a4 node-arduino-firmata: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:02:44 -07:00
Hirokazu MORIKAWA
de06db77ed node-cylon: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:02:14 -07:00
Hirokazu MORIKAWA
9dc5f7e328 node-serialport: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:01:53 -07:00
Hirokazu MORIKAWA
d2109d23f8 node-javascript-obfuscator: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

The modification method is different from other node modules.
The reason is due to the npm@8 issue.
https://github.com/npm/cli/issues/4027

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:01:38 -07:00
Hirokazu MORIKAWA
3e3b44b868 node-hid: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:01:24 -07:00
Hirokazu MORIKAWA
5c5fa73db1 node-yarn: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:01:06 -07:00
Hirokazu MORIKAWA
ef87dfec72 node-homebridge: Support for npm@8
With the upgrade of node.js to version 16, the npm version will also change to version 8.
This fix is to support npm@8. npm@6 can also build without problems.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:00:54 -07:00
Hirokazu MORIKAWA
5beac54277 node: Major update from v14 to v16
This update also changes npm from v6 to v8.
This change also requires node module packages to be modified.
Each package will be updated later.

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-04-16 11:00:20 -07:00
Jeffery To
86fd1ebbe4 golang: Fix conditionals not stripped
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-04-15 15:18:12 -07:00
Jeffery To
8c0477a895 golang: Update to 1.18.1
Includes fixes for:
* CVE-2022-24675 - encoding/pem: stack overflow
* CVE-2022-28327 - crypto/elliptic: generic P-256 panic when scalar has
  too many leading zeroes

This also adds -buildvcs=false to omit VCS information in Go programs.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-04-15 15:18:12 -07:00
Alexandru Ardelean
1f0244f0c5 django: bump to version 4.0.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-04-07 15:32:34 -07:00
Javier Marcet
a39470c44d python-websocket-client: update to 1.3.2
- Add support for pre-initialized stream socket in new WebSocketApp
 - Remove rel.saferead() in examples (f0bf03d)
 - Increase scope of linting checks (dca4022)
 - Start adding type hints (a8a4099)

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-04-05 11:10:58 +02:00
Michael Heimpold
8988b0a32f
Merge pull request #18143 from mhei/php8-pecl-redis-update
php8-pecl-redis: update to 5.3.7
2022-04-03 20:58:37 +02:00
Michael Heimpold
16a7a82e6c php8-pecl-redis: update to 5.3.7
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-04-03 11:17:15 +02:00
Michael Heimpold
5877d902e9 php8-pecl-imagick: update to 3.7.0
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-04-03 11:16:52 +02:00
Javier Marcet
b82d68e599 python-dotenv: update to v0.20.0
Added:

 - Add encoding (Optional[str]) parameter to get_key, set_key and
 unset_key. (by @bbc2)

Fixed:

 - Use dict to specify the entry_points parameter of setuptools.setup
 (by @mgorny).
 - Don't build universal wheels (by @bbc2).

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-31 06:01:58 -07:00
Alexandru Ardelean
306af23e08 python-evdev: bump to version 1.5.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-30 19:43:38 -07:00
Alexandru Ardelean
685826db73 python-pytz: bump to version 2022.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-30 19:43:38 -07:00
Javier Marcet
539f9d07a1 python3-paramiko: update to version 2.10.3
2.10.2:

 - [Bug] Fix Python 2 compatibility breakage introduced in 2.10.1.
 Spotted by Christian Hammond.

2.10.3:

 - [Bug] Switch from module-global to thread-local storage when
 recording thread IDs for a logging helper; this should avoid one
 flavor of memory leak for long-running processes. Catch & patch via
 Richard Kojedzinszky.

 - [Bug] Certificate-based pubkey auth was inadvertently broken when
 adding SHA2 support; this has been fixed. Reported by Erik Forsberg
 and fixed by Jun Omae.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-30 09:05:07 +03:00
Josef Schlehofer
189f078a35 vala: update to version 0.56.0 (LTS version)
According, to the project website [1], we were not using long-term
version, but stable one. Let's use LTS version.

Changelog can be found on their GitLab [2].

[1] https://wiki.gnome.org/Projects/Vala
[2] https://gitlab.gnome.org/GNOME/vala/raw/0.56/NEWS

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-28 20:47:35 -07:00
Jeffery To
478666b00b golang: Update to 1.18, update patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-28 19:42:59 -07:00
Jeffery To
d0efe27a8c python3: Update to 3.10.4
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-28 00:57:45 -07:00
Josef Schlehofer
474414dff1 vala: update to version 0.54.8
Changelog:
https://gitlab.gnome.org/GNOME/vala/raw/0.54/NEWS

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-26 10:19:37 -07:00
Daniel Golle
2366b26813
Jinja2: add Josef as the maintainer of this package
It seems that Turris guys is using this package in the Turris OS, where
it is used for reForis (simple, basic UI for users)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[replace Daniel as maintainer, add commit message]
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2022-03-24 22:41:57 +00:00
Josef Schlehofer
116c0d6c39
Flask: use AUTORELEASE
This helps in cases, when someone forgets to bump PKG_RELEASE

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-24 22:41:51 +00:00
Daniel Golle
934a7e22cd
Flask: add Josef as the maintainer of this package
It seems that Turris guys is using this package in the Turris OS, where
it is used for reForis (simple, basic UI for users)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[replace Daniel as maintainer, add commit message]
Signed-off-by: Josef Schlehofer <josef.schlehofer@nic.cz>
2022-03-24 22:41:36 +00:00
Jeffery To
bed8dc2132
python3: Update to 3.10.3, refresh patches
Includes fixes for:
* Windows builds updated to bzip2 1.0.8 to mitigate CVE-2016-3189 and
  CVE-2019-12900
* CVE-2022-26488: Escalation of privilege via Windows Installer

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-21 16:43:35 +08:00
Michael Heimpold
7c31879f78 php8: update to 8.1.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-03-20 22:58:55 +01:00
Michael Heimpold
d30b18257d php8-pecl-http: update to 4.2.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-03-19 23:09:50 +01:00
Daniel Golle
93a7806578 perl-net-dns: update to version 1.33
**** 1.33 Dec 16, 2021
 Fix rt.cpan.org #137768
    Test t/05-SVCB.t on Perl 5.18.0 fails with deep recursion.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Jeffery To
60ce07b9a1 Mako: Remove package
This package (more specifically, the host version) was added for mesa in
the video feed[1]; no packages in the packages feed require this
package.

As mesa will be updated to install Mako using host pip[2], there is no
need to continue maintaining the package here. It will be imported into
the abandoned packages repo[3].

[1]: 2e17cb9a1b (commitcomment-63047904)
[2]: https://github.com/openwrt/video/pull/25
[3]: https://github.com/openwrt/packages-abandoned/pull/26

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-18 13:17:22 +00:00
Jeffery To
2f81f907c2 python3: Add Py3Build/InstallBuildDepends recipe
This adds a recipe, Py3Build/InstallBuildDepends, that installs the
requirements listed in HOST_PYTHON3_PACKAGE_BUILD_DEPENDS. This allows
other (non-Python) packages to install host Python packages by calling
this recipe, without having to know the internals of python3-package.mk.

This also updates apparmor to call this recipe.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-17 11:38:19 -07:00
Javier Marcet
d09e1b23b2 python3-paramiko: update to version 2.10.1
2.10.1:

 - [Bug]: (CVE-2022-24302) Creation of new private key files using
 PKey subclasses was subject to a race condition between file creation
 & mode modification, which could be exploited by an attacker with
 knowledge of where the Paramiko-using code would write out such
 files.

 - This has been patched by using os.open and os.fdopen to ensure new
 files are opened with the correct mode immediately. We’ve left the
 subsequent explicit chmod in place to minimize any possible
 disruption, though it may get removed in future backwards-
 incompatible updates.

 - Thanks to Jan Schejbal for the report & feedback on the solution,
 and to Jeremy Katz at Tidelift for coordinating the disclosure.

2.10.0:

 - [Feature] Add support for OpenSSH’s Windows agent as a fallback
 when Putty/WinPageant isn’t available or functional. Reported by
 @benj56 with patches/PRs from @lewgordon and Patrick Spendrin.

 - [Feature] Add support for the %C token when parsing SSH config
 files. Foundational PR submitted by @jbrand42.

 - [Bug] Significantly speed up low-level read/write actions on
 SFTPFile objects by using bytearray/memoryview. This is unlikely to
 change anything for users of the higher level methods like
 SFTPClient.get or SFTPClient.getfo, but users of SFTPClient.open will
 likely see orders of magnitude improvements for files larger than a
 few megabytes in size.

 - Thanks to @jkji for the original report and to Sevastian Tchernov
 for the patch.

 - [Support] Add six explicitly to install-requires; it snuck into
 active use at some point but has only been indicated by transitive
 dependency on bcrypt until they somewhat-recently dropped it. This
 will be short-lived until we drop Python 2 support. Thanks to
 Sondre Lillebø Gundersen for catch & patch.

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-16 19:45:42 -07:00
Josef Schlehofer
405bc53c0c chicken-scheme: add conflict and small Makefile polishing
- No need to explicitly state two times section and category since this is
already done in define Package/chicken-scheme/Default
- Also add TITLE to Default

- Add conflict between chicken-scheme-interpreter and
  chicken-scheme-full
They both provide the same files:
/usr/lib/libchicken.so
/usr/lib/chicken/11/chicken.time.import.so
/usr/lib/chicken/11/chicken.fixnum.import.so
/usr/lib/chicken/11/chicken.internal.import.so
/usr/lib/chicken/11/chicken.tcp.import.so
/usr/lib/chicken/11/chicken.continuation.import.so
/usr/lib/chicken/11/chicken.port.import.so
/usr/lib/chicken/11/chicken.random.import.so
/usr/lib/chicken/11/chicken.compiler.user-pass.import.so
/usr/lib/chicken/11/chicken.process-context.import.so
/usr/lib/chicken/11/chicken.bitwise.import.so
/usr/lib/chicken/11/srfi-4.import.so
/usr/lib/chicken/11/chicken.load.import.so
/usr/lib/chicken/11/chicken.blob.import.so
/usr/lib/chicken/11/chicken.time.posix.import.so
/usr/lib/chicken/11/chicken.file.posix.import.so
/usr/lib/chicken/11/chicken.flonum.import.so
/usr/lib/chicken/11/chicken.condition.import.so
/usr/lib/chicken/11/chicken.pretty-print.import.so
/usr/lib/chicken/11/types.db
/usr/lib/chicken/11/chicken.foreign.import.so
/usr/lib/chicken/11/chicken.repl.import.so
/usr/lib/chicken/11/chicken.pathname.import.so
/usr/lib/chicken/11/chicken.sort.import.so
/usr/lib/chicken/11/chicken.keyword.import.so
/usr/lib/chicken/11/chicken.process.signal.import.so
/usr/lib/chicken/11/chicken.platform.import.so
/usr/lib/chicken/11/chicken.base.import.so
/usr/lib/chicken/11/chicken.syntax.import.so
/usr/lib/chicken/11/chicken.file.import.so
/usr/lib/chicken/11/chicken.memory.import.so
/usr/lib/chicken/11/chicken.gc.import.so
/usr/lib/chicken/11/chicken.io.import.so
/usr/lib/chicken/11/chicken.memory.representation.import.so
/usr/lib/chicken/11/chicken.process.import.so
/usr/lib/chicken/11/chicken.plist.import.so
/usr/lib/chicken/11/chicken.string.import.so
/usr/lib/chicken/11/chicken.errno.import.so
/usr/lib/chicken/11/chicken.format.import.so
/usr/lib/chicken/11/chicken.eval.import.so
/usr/lib/chicken/11/chicken.irregex.import.so
/usr/lib/chicken/11/chicken.process-context.posix.import.so
/usr/lib/chicken/11/chicken.read-syntax.import.so
/usr/lib/chicken/11/chicken.csi.import.so
/usr/lib/chicken/11/chicken.locative.import.so
/usr/bin/csi

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-03-16 19:39:59 -07:00
Alexandru Ardelean
a85bc94a76 python-asn1crypto: drop package
I can't seem to see any package that needs it.
This was added for cryptography, since it was needed up to version 2.7
asn1-crypto doesn't have a user since commit 9d892e3cf8
So, remove it.

Abandoned packaged PR: https://github.com/openwrt/packages-abandoned/pull/23

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-16 19:39:31 -07:00
Jeffery To
26f99270d2 python-packages: Remove unused library packages
With the removal of Seafile, these library packages no longer have any
in-repo users. They will be imported into the abandoned packages
repo[1].

[1]: https://github.com/openwrt/packages-abandoned/pull/24

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-16 19:38:32 -07:00
Jeffery To
4d0d6eedfa python-jsonschema: Update to 4.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-08 21:56:02 -08:00
Javier Marcet
0395f9d2a4 python-websocket-client: update to 1.3.1
- 1.3.1:
  - Fix 10 year old bug and improve dispatcher handling for
  run_forever
  - Fix run_forever to never return None, only return True or False,
  and add two tests
  - Remove Python 3.6 support, EOL in Dec 2021

- 1.3.0:
  - BREAKING: Set Origin header to use https:// scheme when wss://
  WebSocket URL is passed
  - Replace deprecated/broken WebSocket URLs with working ones
  (6ad5197)
  - Add documentation referencing rel for automatic reconnection with
  run_forever()
  - Add missing opcodes 1012, 1013
  - Add errno.ENETUNREACH to improve error handling (da1b050)
  - Minor documentation improvements and typo fixes

- 1.2.3:
  - Fix broken run_forever() functionality

- 1.2.2:
  - Migrate wsdump script in setup.py from scripts to newer
  entry_points
  - Add support for ssl.SSLContext for arbitrary SSL parameters
  - Remove keep_running variable
  - Remove HAVE_CONTEXT_CHECK_HOSTNAME variable (dac1692)
  - Replace deprecated ssl.PROTOCOL_TLS with ssl.PROTOCOL_TLS_CLIENT
  - Simplify code and improve Python 3 support
  - Fill default license template fields
  - Update CI tests
  - Improve documentation

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:19 -08:00
Javier Marcet
1232273626 python3-distro: update to version 1.7.0
- BACKWARD COMPATIBILITY:

  - Dropped support for EOL Pythons 2.7, 3.4 and 3.5
  - Dropped support for LSB and uname back-ends when --root-dir is
  specified
  - Moved distro.py to src/distro/distro.py

- ENHANCEMENTS:

  - Documented that distro.version() can return an empty string on
  - rolling releases
  - Documented support for Python 3.10
  - Added official support for Rocky Linux distribution
  - Added a shebang to distro.py to allow standalone execution
  - Added support for AIX platforms
  - Added compliance for PEP-561

- BUG FIXES:

  - Fixed include_uname parameter oversight
  - Fixed crash when uname -rs output is empty
  - Fixed Amazon Linux identifier in distro.id() documentation
  - Fixed OpenSuse >= 15 support
  - Fixed encoding issues when opening distro release files
  - Fixed linux_distribution regression

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-03-08 21:54:05 -08:00
Jeffery To
9704e900da golang: Update to 1.17.8
Includes fix for CVE-2022-24921 (regexp: stack overflow (process exit)
handling deeply nested regexp).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-06 19:38:35 -08:00
Jeffery To
630d6800f2
python-twisted: Update to 22.2.0
Includes fix for CVE-2022-21716 (The Twisted SSH client and server
implementation naively accepted an infinite amount of data for the
peer's SSH version identifier.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-03-07 04:01:16 +08:00
Alexandru Ardelean
33e1e206d3 python-lxml: bump to version 4.8.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-03-05 08:00:52 +02:00
Rosen Penev
59980b6be7 perl: add powerpc64 support
Needed by the QoriQ target.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-03-02 16:30:32 -08:00
Sergey V. Lobanov
45b8ef2822 python-psutil: update to version 5.9.0, fix build on macos
1. updated to 5.9.0

2. psutil can not be built on macos due to build script detects Darwin
using sys.platform and changes build logic to build for Darwin, but
OpenWrt is Linux.
This commit add patch to allow redefining sys.platform and uses
env var TARGET_SYS_PLATFORM to specify linux as sys platfrom.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-24 14:33:56 -08:00
Josef Schlehofer
2d10b0836d
MarkupSafe: update to version 2.1.0
Changelog:
https://markupsafe.palletsprojects.com/en/2.1.x/changes/#version-2-1-0

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-02-24 15:46:36 +01:00
Michael Heimpold
2c19d13be8 php8: update to 8.1.3
This fixes:
    - CVE-2021-21708

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-02-18 22:06:15 +01:00
Jeffery To
9f3816d1c6 python-twisted: Update to 22.1.0, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-02-15 16:42:13 -08:00
Kerma Gérald
846df82a84 lua-cs-bouncer: initial package
Lua Crowdsec Bouncer module
  Lua module to allow ip (or not) from CrowdSec API.
  https://github.com/crowdsecurity/lua-cs-bouncer

  required for crowdsec-nginx-bouncer

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-02-14 17:26:16 -08:00
Siger Yang
4137429a25 cqueues: add cqueues(rel-20200726) to feeds
Signed-off-by: Siger Yang <siger.yang@outlook.com>
2022-02-14 17:25:51 -08:00
Jeffery To
69c53fcb6c golang: Update to 1.17.7, refresh patch
This includes fixes for:

* CVE-2022-23772: math/big: Rat.SetString may consume large amount of
  RAM and crash

* CVE-2022-23806: crypto/elliptic: IsOnCurve returns true for invalid
  field elements

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-02-14 17:17:07 -08:00
Alexandru Ardelean
95f38fead8 python: django: bump to 4.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-02-10 21:09:36 -08:00
Alexandru Ardelean
2c89383068 python: pillow: bump to 9.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-02-10 21:09:36 -08:00
Sergey V. Lobanov
c55092396e ruby: fix build on macos
1. ruby/host build fails on macos due to Apple ld generates warning
if a folder from LDFLAGS is not exist. configure script catches this
warning and fails. This patch disables ld warnings for macos

2. ruby build fails on macos due /bin/true is not exist on macos.
This patch replaces /bin/true with true in OpenWrt Makefile

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-02-06 21:46:17 -03:00
Philip Prindeville
5c311014ca perl-cgi: Update to 4.54
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-02-06 11:08:44 -07:00
Josef Schlehofer
d34e46e535
Merge pull request #17743 from turris-cz/dnspython-bump
python-dns: update to version 2.2.0
2022-02-06 16:11:52 +01:00
Michal Vasilek
75933e73f2 ruby: update to 3.0.3
* fixes CVE-2021-41817, CVE-2021-41816 and CVE-2021-41819

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2022-02-06 08:54:05 -03:00
Šimon Bořek
32e2a2fa2a python-sentry-sdk: update to 1.5.4
changelog: f6d3adcb3d/CHANGELOG.md (154)

Signed-off-by: Šimon Bořek <borek@autobakterie.cz>
2022-02-04 18:45:12 +01:00
Josef Schlehofer
c0198bad43
python-dns: update to version 2.2.0
- Removed PYPI_SOURCE_EXT as this release provides tarball with .tar.gz
extension, which is default.

- Changelog: https://dnspython.readthedocs.io/en/stable/whatsnew.html

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-31 06:37:23 +01:00
Sergey V. Lobanov
e4755df4c8 lyaml: fix build on macos
lyaml build script detects Darwin using `uname -s` and changes
build logic so lyaml package can not be built on macos.

This patch uses fakeuname host tool to redefine `uname -s` output
and fix build on macos.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-29 13:31:55 -08:00
Sergey V. Lobanov
6e9c701050 tcl: fix build on macos
configure script detects Darwin and uses flags incompatible with
Linux target build.

This patch uses fakeuname tool if host OS is MacOS to avoid Darwin
detection on target build.

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-29 08:19:54 -08:00
Michael Heimpold
267753b1d4
Merge pull request #17676 from mhei/php8-update
php8: update to 8.1.2
2022-01-25 21:40:04 +01:00
Hirokazu MORIKAWA
8278998e48 node: January 10th 2022 Security Releases
Update to v14.18.3

January 10th 2022 Security Releases:
Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
Prototype pollution via console.table properties (Low)(CVE-2022-21824)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2022-01-24 15:44:05 -08:00
Jeffery To
af341cd76e micropython: Update to 1.18, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-24 15:43:39 -08:00
Michael Heimpold
ca4e6992fd php8: update to 8.1.2
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2022-01-22 21:48:12 +01:00
Sergey V. Lobanov
30f4e26d16 perl-device-serialport: fix build on macos
./configure script detects macos specific system headers
(IOKit/serial/ioss.h and sys/ttycom.h) that are not available
during compile time. There is no way to pass ac_cv_* vars to
./configure script due to perl wrappers

To fix this issue, fake(empty) headers provided during compile
time if build host is MacOS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:10:18 -08:00
Sergey V. Lobanov
0e6a33a3a4 python-curl: fix build on macos
setup.py detects macos (darwin) and adds -flat_namespace flag. This
flag is not compatible with GCC that is used to compile target.

This patch patch disables darwin detection

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-18 18:09:35 -08:00
Josef Schlehofer
88578e77a0
Merge pull request #17624 from jefferyto/python-3.10.2
python3: Update to 3.10.2, refresh patches
2022-01-18 17:24:26 +01:00
Sergey V. Lobanov
99515bdf96 luaossl: fix build on macos
luaossl detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux so build OS detection is disabled

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-17 21:12:53 -08:00
Jeffery To
5b2c8bccf3
python3: Update to 3.10.2, refresh patches
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-17 04:32:42 +08:00
Sergey V. Lobanov
a00735ec8c luasql: fix build on macos
luasql ./config scripts checks `uname -s` output and changes
LIB_OPTION from '-static' to macos specific if detected OS is
Darwin. These flags are not compatible with GCC

OpenWrt is always Linux, this patch removes Darwin
specific stuff from compilation flags

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-11 16:25:33 -08:00
Jeffery To
6754a2c80a micropython-lib: Update to latest master
The last tagged release (v1.9.3) was in 2017. This updates the package
to the most recent commit of the master branch.

This also sets myself at the maintainer.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:24:13 -08:00
Jeffery To
b9d10fc3e6 micropython: Update to 1.17, reorganize package
Previous versions used a bundled version of the axTLS library. The
MicroPython project maintains their own fork[1], as development of the
library appears to have stopped (the last release was version 2.1.5 in
2019[2]).

This replaces the use of axTLS with two variants, one using mbedTLS and
one with no TLS support (and no upip, as it uses the ussl module). The
external mbedTLS patch (040-extmod-use-external-mbedtls.patch) comes
from Debian[3].

This also sets myself as the maintainer.

[1]: https://github.com/micropython/axtls
[2]: https://sourceforge.net/projects/axtls/files/
[3]: https://salsa.debian.org/yangfl-guest/micropython/-/blob/master/debian/patches/0006-extmod-Use-system-mbedtls.patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:24:13 -08:00
Jeffery To
71d0d9a877 golang: Update to 1.17.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-11 16:21:57 -08:00
Javier Marcet
9121756e92 python3-paramiko: update to version 2.9.2
- [Bug]: Enhanced log output when connecting to servers that do not
 support server-sig-algs extensions, making the new-as-of-2.9
 defaulting to SHA2 pubkey algorithms more obvious when it kicks in.

 - [Bug]: Connecting to servers which support server-sig-algs but
 which have no overlap between that list and what a Paramiko client
 supports, now raise an exception instead of defaulting to
 rsa-sha2-512 (since the use of server-sig-algs allows us to know
 what the server supports).

Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:42 -08:00
Javier Marcet
c579abeb78 python-pynacl: update to v1.5.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2022-01-09 13:47:30 -08:00
Sergey V. Lobanov
cca3001475 erlang: update to version 24.2
1. updated to 24.2  (RN: https://github.com/erlang/otp/releases/tag/OTP-24.2)
2. added libstdcpp dependency
3. erlang-hipe was removed in upstream
 (ref fccb8482ef)
 everything related to erlang-hipe was removed from Makefile
4. updated and refreshed patches
5. host-compile ssl library forced to OpenWrt LibreSSL to avoid using system library

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-09 13:46:17 -08:00
Alexandru Ardelean
1eea3d4b2c django: bump to version 4.0.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2022-01-09 19:13:08 +02:00
Sergey V. Lobanov
dc08def771 lua-curl-v3: fix build on macos
lua-curl-v3 detects OS and changes compilation flags depends on OS.
If Darwin is detected then it adds GCC non-compatible flags.
OpenWrt is always Linux, OS detection is disabled via UNAME=Linux
as a part of MAKE_FLAGS

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:50 +01:00
Sergey V. Lobanov
42c4d25455 luajit: fix build on macos (ldconfig issue)
fix ldconfig build issue. This patch is a backport from upstream:
18c9cf7d37

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
2022-01-08 08:04:03 +01:00
Josef Schlehofer
bcc7f0c55b
Merge pull request #17492 from jefferyto/python-attrs-21.4.0
python-attrs: Update to 21.4.0
2022-01-07 21:40:50 +01:00
Jeffery To
6ab9051695
Merge pull request #17429 from erdoukki/2to3
2to3: add package host tool
2022-01-07 10:42:40 +08:00
Josef Schlehofer
ab7db4491a
Merge pull request #17481 from jefferyto/python-3.10.1
python3: Update to 3.10.1, refresh/remove patches
2022-01-06 23:24:27 +01:00
Kerma Gérald
2f91e1c9c5 2to3: add package host tool
2to3 is a Python program that reads Python 2.x source code and applies a
  series of fixers to transform it into valid Python 3.x code. The standard
  library contains a rich set of fixers that will handle almost all code. 2to3
  supporting library lib2to3 is, however, a flexible and generic library, so it
  is possible to write your own fixers for 2to3. lib2to3 could also be adapted
  to custom applications in which Python code needs to be edited automatically.

This tool is necessary for fail2ban package because of issue
  https://github.com/openwrt/packages/issues/17311
  https://github.com/openwrt/packages/pull/17341

Simple 2to3.py script from Debian, thanks to Matthias Klose <doko@ubuntu.com>
From: https://salsa.debian.org/cpython-team/python3-defaults

Co-authored-by: Jeffery To <jeffery.to@gmail.com>
Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2022-01-05 15:20:13 +01:00
Jeffery To
d63664a5e7
python3: Update to 3.10.1, refresh/remove patches
Removed patches:
* 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
  Already merged.
* 029-disable-deprecation-warning.patch
  Packages should be patched/fixed to remove the use of distutils
  instead of disabling this warning.

Also:
* Updates PKG_LICENSE to use the correct SPDX license identifier
* Fixes build for mipsel_24kc_24kf

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

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-05 16:10:01 +08:00
Jeffery To
8a10f69761
python-attrs: Update to 21.4.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2022-01-04 14:48:29 +08:00
Philip Prindeville
45250d7d8f
Merge pull request #17435 from pprindeville/perl-cgi-update-4.53
perl-cgi: update to 4.53
2022-01-03 15:07:44 -07:00
Philip Prindeville
771e0a0b15
Merge pull request #17434 from pprindeville/perl-text-csv_xs-update-1.47
perl-text-csv_xs: update to 1.47
2022-01-03 15:07:18 -07:00
Jeffery To
3aefcd25c9
Merge pull request #17460 from BKPepe/stem
python-stem: backport patch to fix Python 3.10
2022-01-04 01:56:20 +08:00
Jeffery To
8df2fb4fe5
Merge pull request #17442 from commodo/django-restframework
django-restframework: bump to version 3.13.1
2022-01-04 01:44:14 +08:00
Jeffery To
c40c3edf58
Merge pull request #17466 from BKPepe/markdown
python-markdown: update to version 3.3.6
2022-01-03 22:57:05 +08:00
Jeffery To
490dd780fe
Merge pull request #17463 from BKPepe/voluptuous-serialize
python-voluptuous-serialize: update to version 2.5.0
2022-01-03 22:54:40 +08:00
Josef Schlehofer
47a279128a
python-stem: backport patch to fix Python 3.10
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2022-01-03 15:52:33 +01:00
Jeffery To
9e08a03056
Merge pull request #17462 from BKPepe/zeroconf-update
python-zeroconf: update to version 0.38.1
2022-01-03 22:52:30 +08:00
Jeffery To
bce5ce9299
Merge pull request #17458 from BKPepe/dnspython-2.1.0
python-dns: update to version 2.1.0
2022-01-03 22:42:05 +08:00
Jeffery To
9671185acb
Merge pull request #17440 from commodo/openblas-numpy
openblas,numpy: bump versions
2022-01-03 22:35:16 +08:00
Philip Prindeville
6b83b3204f perl-text-csv_xs: update to 1.47
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-01-02 16:29:33 -07:00
Philip Prindeville
7b35f81a82 perl-cgi: update to 4.53
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2022-01-02 16:26:47 -07:00
Josef Schlehofer
79d3401c6f
python-markdown: update to version 3.3.6
- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 12:38:05 +01:00
Josef Schlehofer
aaa31d30a1
python-voluptuous-serialize: update to version 2.5.0
- Release notes:
https://github.com/home-assistant-libs/voluptuous-serialize/releases/tag/2.5.0

- Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:10:40 +01:00
Josef Schlehofer
f62565423b
python-zeroconf: update to version 0.38.1
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-31 00:06:28 +01:00
Josef Schlehofer
447c6fd57b
python-dns: update to version 2.1.0
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-12-30 20:02:57 +01:00
Jeffery To
eac2e91a28
golang: Update to 1.17.5, add patch
Includes fixes for:
* CVE-2021-44716: unbounded growth of HTTP/2 header canonicalization
  cache
* CVE-2021-44717: syscall.ForkExec error can close file descriptor 0

Added patches:
* 001-cmd-link-use-gold-on-ARM-ARM64-only-if-gold-is-available.patch:
  https://github.com/golang/go/pull/49748 backported for Go 1.17,
  this removes the requirement for the gold linker when building Go
  programs that use Go plugins on arm/arm64

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-12-28 15:15:13 +08:00
Alexandru Ardelean
e8d92cd559 django-restframework: bump to version 3.13.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 16:15:31 +02:00
Alexandru Ardelean
9a231e4301 numpy: bump to version 1.21.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-27 12:17:58 +02:00
Javier Marcet
6bdc4038fa python3-paramiko: update to version 2.9.1
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-12-26 23:15:49 +01:00
Michael Heimpold
a5e4408bd7
Merge pull request #17404 from mhei/php8-update
php8: update to 8.1.1
2021-12-21 10:48:49 +01:00
Alexandru Ardelean
b766794c05 python-lxml: update to version 4.7.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-12-20 20:58:58 +01:00
Michael Heimpold
d4245496a0 php8: update to 8.1.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-20 16:43:13 +01:00
Alexandru Ardelean
9e9b9dc5a1
Merge pull request #17395 from mhei/fix-issue-17332-php8-pecl-http-compile-failure
php8-pecl-http: add compile-time hint about TLS13 ciphers (fixes #17332)
2021-12-20 11:36:18 +02:00
Josef Schlehofer
613ef6a773
Merge pull request #17330 from flyn-org/selinux
Update SElinux utilities
2021-12-19 21:17:55 +01:00
Michael Heimpold
3083278fa9 php8-pecl-http: add compile-time hint about TLS13 ciphers (fixes #17332)
When cURL is built with OpenSSL as backend SSL/TLS library,
pecl_http's configure tries to detect whether TLS 1.3 ciphers
are enabled. This does not work when cross-compiling so let's
pass it based on OpenSSL build configuration.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-19 14:49:32 +01:00
W. Michael Petullo
41f3106144 python3-networkx: update to 2.6.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:51 -06:00
W. Michael Petullo
59ee9a7119 python3-libselinux: update to 3.3
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-14 08:55:27 -06:00
Michael Heimpold
9aa794c852
Merge pull request #17296 from mhei/drop-php7
php7/php7-pecl-*: drop PHP7 packages
2021-12-12 12:35:05 +01:00
Hirokazu MORIKAWA
f9c521251c node: bump to 14.18.2
Update to v14.18.2
Remove unneeded c-ares patches

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-12-10 08:57:11 +09:00
Michael Heimpold
3c4d11ce8f php7: drop package
Active support for PHP 7.4 branch ended a few days ago.

Since we have PHP 8.x in the repository for a while
and we migrated all PECL extension packages already,
let's focus on that newer version and drop support for 7.4.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
c2552ca28f php7-pecl-propro: drop package
The functionality of this package - or at least similar one -
was meanwhile included in PHP8.

This package was mostly included as dependency for HTTP PECL package,
so it is not needed anymore and thus can be dropped.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
a2edc49f4a php7-pecl-libevent: drop package
This package is not compatible with PHP8 and seems to be not maintained
upstream anymore. Let's drop it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
a61e5b83ee php7-pecl-sodium: migrate package to php8-pecl-sodium
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
235a7363a9 php7-pecl-redis: migrate package to php8-pecl-redis
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
e7c5522946 php7-pecl-raphf: migrate package to php8-pecl-raphf
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
d5a5088df9 php7-pecl-mcrypt: migrate package to php8-pecl-mcrypt
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
40cf7112b5 php7-pecl-krb5: migrate package to php8-pecl-krb5
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
31655db711 php7-pecl-imagick: migrate package to php8-pecl-imagick
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
818957f372 php7-pecl-http: migrate package to php8-pecl-http
Only a newer version of upstream includes support for PHP8, so while
migrating we need to update to latest upstream version.

We also need to adjust dependencies since JSON is now always integrated
not longer available as dedicated package.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
4e99a13ac8 php7-pecl-dio: migrate package to php8-pecl-dio
This package is compatible with php8, so let's migrate it.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-09 21:57:44 +01:00
Michael Heimpold
9dd0bbf0a6 php8: update to 8.1.0
Also update patches and remove obsolete ones.
We also need to add one to prevent mod_php to be enabled
by apxs in configuration file.

While at, remove the VARIANT setting for pecl extensions.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-06 19:26:50 +01:00
Michael Heimpold
129b4159a8
Merge pull request #17251 from flyn-org/php7-pecl-sodium
php7-pecl-sodium: add new package
2021-12-04 14:59:51 +01:00
W. Michael Petullo
cbe9f26dc6 php7-pecl-sodium: add new package
Signed-off-by: W. Michael Petullo <mike@flyn.org>
2021-12-02 08:38:15 -06:00
Eneas U de Queiroz
c7766f0b95
python-rcssmin: bump to version 1.1.0
Relevant changes:
 * quoted data urls which are not base64 encoded keep their spaces now
 * accept bytes and text as input. All other types now raise a TypeError
 * update python & gcc support
 * python version will only accept the C implementation if the versions
   match exactly. This should prevent using older installed C versions.

Along with the version bump:
 - update maintainer email address
 - use $(AUTORELEASE)

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-30 17:56:47 -03:00
Alexandru Ardelean
add867a001
Merge pull request #17206 from cotequeiroz/seafile-broken
treewide: mark django1 and dependents BROKEN
2021-11-29 22:02:57 +02:00
Javier Marcet
acb795c626 python-dotenv: update to v0.19.2
What's Changed:

Fixed:

 - Add missing trailing newline before adding new entry with set_key
 by @bbc2 in #361

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-11-29 01:42:56 -08:00
Matt Merhar
49fb58e4bc perl-try-tiny: update to 0.31
Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2021-11-29 01:41:19 -08:00
Eneas U de Queiroz
9d97f4ba14
treewide: mark django1 and dependents BROKEN
Django 1.x is not compatible with python 3.10.
Mark the package as BROKEN.  Since its dependent packages will also
select it, they will need to be marked BROKEN as well to avoid recursive
dependencies--packages not marked as BROKEN will be able to select the
broken package.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-11-27 10:27:16 -03:00
Alexandru Ardelean
122ee76623
Merge pull request #17154 from jefferyto/python-pycparser-2.21
python-pycparser: Update to 2.21, update patch
2021-11-23 13:35:19 +02:00
Alexandru Ardelean
48ce6e48b6 python-packages: remove myself as maintainer
There's been a bit of overlapping opinions on some of these packages.
The best thing to do here is to reduce ownership and relinquish my
control.

This patch does that.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-23 13:14:43 +02:00
Alexandru Ardelean
c8644bd19a
Merge pull request #17142 from commodo/python-yaml
python-yaml: bump to version 6.0
2021-11-22 10:29:24 +02:00
Alexandru Ardelean
40ca2f6dd6
Merge pull request #17121 from commodo/python3-bump
python3: bump to version 3.10.0
2021-11-22 10:28:29 +02:00
Alexandru Ardelean
1024d42ac6 python-yaml: bump to version 6.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-21 10:00:28 +02:00
Michael Heimpold
900dcf36f9
Merge pull request #17167 from mhei/php8-update
php8: update to 8.0.13
2021-11-20 23:27:57 +01:00
Michael Heimpold
2e9c1a00ea php8: update to 8.0.13
This fixes:
    - CVE-2021-21707

Also drop upstream patch which is included in the release now.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-20 13:53:45 +01:00
Michael Heimpold
c6f27671a3 php7: update to 7.4.26
This fixes:
    - CVE-2021-21707

Also drop upstream patch which is included in the release now.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-20 13:52:11 +01:00
Jeffery To
320da906a2
python-pycparser: Update to 2.21, update patch
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-11-19 21:47:38 +08:00
Alexandru Ardelean
4e05541782 python3: bump to version 3.10.0
Manually re-applied:
  008-distutils-use-python-sysroot.patch
  016-adjust-config-paths.patch

Drop patch: 003-do-not-run-distutils-tests.patch
There is now a configure option '--disable-test-modules'
And seems we left the '_ctypes_test' around for quite some time.
Dropped now.
Refs:
  https://bugs.python.org/issue27640
  https://bugs.python.org/issue43282

Drop patch: 013-getbuildinfo-date-time-source-date-epoch.patch
Python build honors SOURCE_DATE_EPOCH pretty well now.

Drop setuptools patches. Setuptools should be reproducible with Python 3.6+
according to a mention here:
  https://github.com/pypa/setuptools/pull/1690#issuecomment-536517456
It's time to let upstream fix Setuptools reproduce-ability.

Drop patch: 010-do-not-add-rt-lib-dirs-when-cross-compiling.patch
I can't seem to fully remember why it's there.
And it seem to build fine without it.

Drop patch: 015-abort-on-failed-modules.patch
Python build supports a similar PYTHONSTRICTEXTENSIONBUILD=1 env-var
option.

Add patch: 026-openssl-feature-flags.patch
We need to keep this in our tree for a while.
See:
  https://bugs.python.org/issue45627

Backport patch: 027-bpo-43158-Use-configure-values-for-building-_uuid-ex.patch
Link: https://github.com/python/cpython/pull/29353
Fixes the build for uuid C module.

Add patch: 028-host-python-support-ssl-with-libressl.patch
We need the _ssl module working on the host-side with LibreSSL for pip to
work to download from https://pypi.org
Refs: https://github.com/openwrt/openwrt/pull/4749

Add patch: 029-disable-deprecation-warning.patch
Fixes apparmor build. The warning causes a configure error.

Refreshed the rest of patches.

Some old build-flags were removed. They don't seem to be necessary anymore.

Split python3-uuid from python3-light. To better manage the libuuid library
(if needed). Also, fixing the uuid C module build. Seems this was failing,
and was falling back to using hashlib.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-19 13:30:14 +02:00
Alexandru Ardelean
b3237baf63
Merge pull request #17151 from jefferyto/golang-1.17.3
golang: Update to 1.17.3
2021-11-19 10:28:28 +02:00
Alexandru Ardelean
7cead5b8e6
Merge pull request #17143 from commodo/py-greenlet
python-greenlet: bump to version 1.1.2
2021-11-19 10:27:14 +02:00
Jeffery To
901f80aae7
golang: Update to 1.17.3
Contains fixes for:

* CVE-2021-41771: ImportedSymbols in debug/macho (for Open or OpenFat)
  accesses a memory location after the end of a buffer

* CVE-2021-41772: archive/zip Reader.Open panic via a crafted ZIP
  archive containing an invalid name or an empty filename field

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-11-19 03:40:17 +08:00
Alexandru Ardelean
35910b2673
Merge pull request #17123 from commodo/python-updates1
python-lxml,django,numpy: bump versions
2021-11-17 15:35:22 +02:00
Alexandru Ardelean
571e6af347 ruamel-yaml: bump to version 0.17.17
The older one won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 14:15:10 +02:00
Alexandru Ardelean
b1009ff543 python-greenlet: bump to version 1.1.2
The older version won't build with Python 3.10.0

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-17 10:55:17 +02:00
Daniel Golle
e020b6347a
Flask: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:20 +00:00
Daniel Golle
e971718892
Werkzeug: update to version 2.0.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:14 +00:00
Daniel Golle
7c3d48497f
Jinja2: update to version 3.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:08 +00:00
Daniel Golle
6ea6c94a48
click: update to version 8.0.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:00 +00:00
Michael Heimpold
89f015ee63
Merge pull request #17119 from thg2k/pr/master_php80_ini_1
php8: Clean up and update distributed php.ini for php 8.0.12
2021-11-14 08:48:19 +01:00
Alexandru Ardelean
5ae76d9d60 django: bump to version 3.2.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:26:33 +02:00
Alexandru Ardelean
d8b38b1102 numpy: bump to version 1.21.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:24:39 +02:00
Alexandru Ardelean
7d1c3560d8 python-lxml: bump to 4.6.4
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-14 09:23:07 +02:00
Alexandru Ardelean
84adeaaed3
Merge pull request #17108 from commodo/ovs-no-python-six
ovs,ovn: remove python-six dep
2021-11-14 05:08:47 +02:00
Giovanni Giacobbi
f54b987c8f
php8: Clean up and update distributed php.ini for php 8.0.12
Details:
- Cleaned up whitespace and removed comments (refer to official PHP documentation for that)
- Removed directives that no longer exist as of PHP 8.0.12
- Added newly existing directives commented out
- Added '~E_DEPRECATED' to 'error_reporting'

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-11-13 21:33:55 +00:00
Giovanni Giacobbi
024ac2b040 php7: Clean up and update distributed php.ini for php 7.4.25
Details:
- Cleaned up whitespace and removed comments (refer to official PHP documentation for that)
- Removed directives that no longer exist as of PHP 7.4.25
- Added '~E_DEPRECATED' to 'error_reporting'

Directives removed that no longer exist as of PHP 7.4.25:
- zend.ze1_compatibility_mode
- y2k_compliance
- register_globals
- register_long_arrays
- magic_quotes_gpc
- magic_quotes_runtime
- magic_quotes_sybase
- always_populate_raw_post_data

Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
(cherry picked from commit 7e45ad87f3)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-12 07:48:43 +01:00
Alexandru Ardelean
b84b71c149 python-six: remove host-build
There are no more users left in this tree.
So, remove it.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-11-10 14:54:44 +02:00
Michael Heimpold
df692d4d07
Merge pull request #17090 from mhei/php7-pecl-redis-update
php7-pecl-redis: update to 5.3.4
2021-11-08 07:44:33 +01:00
Michael Heimpold
465d297906
Merge pull request #17089 from mhei/php7-pecl-http-update
php7-pecl-http: update to version 3.2.4
2021-11-08 07:44:18 +01:00
Michael Heimpold
755e3c2eb6 php7-pecl-imagick: update to 3.5.1
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-07 11:00:05 +01:00
Michael Heimpold
82f115bded php7-pecl-redis: update to 5.3.4
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-07 10:27:16 +01:00
Michael Heimpold
5fe58d0002 php7-pecl-http: update to version 3.2.4
This is the latest version, which still has support for PHP 7.x.

It's an intermediate step in the transition to PHP 8.x.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-11-07 10:21:16 +01:00
Michael Heimpold
614e39e846
Merge pull request #17046 from nxhack/php7_for_ICU-70_1
php7: Support for icu 70.1
2021-11-02 07:32:38 +01:00
Hirokazu MORIKAWA
bc13112a7c php7: Support for icu 70.1
This PR prepares PHP for a few minor changes that cause PHP builds to fail when using --enable-intl with ICU 70.1.

Change UBool to bool for equality operators in ICU >= 70.1

https://github.com/php/php-src/pull/7596

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-11-02 09:36:12 +09:00
Hirokazu MORIKAWA
4da149b68a php8: Support for icu 70.1
This PR prepares PHP for a few minor changes that cause PHP builds to fail when using --enable-intl with ICU 70.1.

Change UBool to bool for equality operators in ICU >= 70.1

https://github.com/php/php-src/pull/7596

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-11-02 09:28:45 +09:00
Sebastian Kemper
c175f8b82c php8: add mod php for apache
The module will be available, once php8 is selected, at the same place
as the other apache modules.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-10-31 22:54:15 +01:00
Peter Stadler
55c3bc14f7 nginx, python3-{asgiref,django-cors-headers,drf-nested-routers,sqlparse}: bump versions
Update to the newest versions and switch to $(AUTORELEASE) for the python3 packages (where I am the maintainer).

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2021-10-30 01:12:02 -07:00
Alexandru Ardelean
784f2a519b python-paho-mqtt: bump to version 1.6.1
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Alexandru Ardelean
52aadf9579 numpy: bump to version 1.21.3
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-27 20:56:05 +03:00
Michael Heimpold
be8539156d
Merge pull request #16958 from mhei/php7-update
php7: update to 7.4.25
2021-10-23 12:54:22 +02:00
Michael Heimpold
1df333bfb0 php7: update to 7.4.25
This fixes:
    - CVE-2021-21703

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-10-22 22:28:27 +02:00
Michael Heimpold
fb7a33a114 php8: update to 8.0.12
This fixes:
    - CVE-2021-21703

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-10-22 21:04:32 +02:00
Alexandru Ardelean
0f84091abe django: bump to version 3.2.8
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
ee2a4278d9 python-cffi: bump to version 1.15.0
And use AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
9fe8937d54 python-idna: bump to version 3.3
And use AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Alexandru Ardelean
6063add545 pillow: bump to version 8.4.0
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-19 13:22:25 -07:00
Rosen Penev
5bf74f2ad4 expat: don't build host libs
tools/expat is actually what's used by the various packages that
supposedly depend on expat/host.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-19 13:16:18 -07:00
Rosen Penev
575776cfa5 vala: update to 0.54.2
Remove shared libraries. Allows removing rpath hacks.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-19 00:32:26 -07:00
Eneas U de Queiroz
d2a4fa61e2 lua-wsapi: build each variant in its own dir
This avoids unnecessary package rebuilds, when running make back to
back.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-15 23:02:07 -07:00
Rosen Penev
369da40c2a lua-openssl: update to 0.8.0-6
Remove upstreamed patches and backport cmake fix.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-10-15 09:13:05 -07:00
Hirokazu MORIKAWA
da967b7536 node: bump to 14.18.1 / October 12th 2021 Security Releases
October 12th 2021 Security Releases:
 HTTP Request Smuggling due to spaced in headers (Medium)(CVE-2021-22959)
 HTTP Request Smuggling when parsing the body (Medium)(CVE-2021-22960)

Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
2021-10-14 16:22:53 -07:00
Eneas U de Queiroz
f263ed4449 python-qrcode: bump to 7.3.1
This is a major update, which drops support for python < 3.6, among
other changes, better seen at:
https://github.com/lincolnloop/python-qrcode/blob/v7.3.1/CHANGES.rst

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
3aa1ac74c7 django-formtools: bump to 2.2.0
This is the highest version supported by seafile-seahub, because of
the django1 requirement.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
8628559c39 django-webpack-loader: bump to 0.7.0
This is the highest version that works with seafile-seahub 7.1.5.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
3b1e48e546 python-oauthlib: bump to 3.1.1
This is a minor update, which officially supports Python 3.8, and
removes Python 2 code, among several bugfixes.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
b97851e76f pyjwt: update to 2.2.0
This is a major update to the latest version.

There are many changes, better seen at
https://github.com/jpadilla/pyjwt/blob/2.2.0/CHANGELOG.rst

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Eneas U de Queiroz
711595a4fe defusedxml: bump to v. 0.7.0
This release adds support for Python 3.9.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 22:21:06 -07:00
Javier Marcet
f424ecff1f python-docker: Update to 5.0.3
Features:
 - Add cap_add and cap_drop parameters to service create and
 ContainerSpec
 - Add templating parameter to config create

Bugfixes:
 - Fix getting a read timeout for logs/attach with a tty and slow
 output

Miscellaneous:
 - Fix documentation examples

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:47 -07:00
Javier Marcet
7be2632755 python-dotenv: update to v0.19.1
What's Changed

 - CHANGELOG.md: Fix typos discovered by codespell by @cclauss in #350
 - Add Python 3.10 support by @theskumar in #359

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:37 -07:00
Javier Marcet
70138a4ff5 python3-paramiko: update to version 2.8.0
Signed-off-by: Javier Marcet <javier@marcet.info>
2021-10-13 17:07:25 -07:00
Eneas U de Queiroz
aeddcb279c python-certifi: bump to 2021.11.8
Latest bundle form mozilla.org.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-10-13 17:07:02 -07:00
Alexandru Ardelean
9730942d83
Merge pull request #16856 from jefferyto/python-pyopenssl-21.0.0
python-pyopenssl: Update to 21.0.0
2021-10-12 10:33:50 +03:00
Jeffery To
7d3f28f970 golang: Update to 1.17.2
Includes fix for CVE-2021-38297 (passing very large arguments to WASM
module functions can cause portions of the module to be overwritten).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-10-10 18:27:37 -07:00
Daniel Golle
ccd3b6c0a5
pynacl: fix build with updated sodium-minimal patch
Commit 3da874371 ("libsodium: include ed25519_core in minimal build")
broke the build of PyNaCl. Add patch to always include all ed25519
functions which are now always covered even if libsodium is built with
the MINIMAL option.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-10 22:51:37 +01:00
Jeffery To
311539cb72
python-pyopenssl: Update to 21.0.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-10-11 05:28:33 +08:00
Daniel Golle
264f7b2f5f
pyodbc: update to version 4.0.32
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:43 +01:00
Alexandru Ardelean
589c6bb2de python-pytz: bump to version 2021.3
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-10-08 09:41:02 -07:00
Daniel Golle
2e17cb9a1b
Mako: add python markup library
Mako is needed for some packages to build.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-07 00:20:37 +01:00
Alexandru Ardelean
66f9fca58f
Merge pull request #16752 from paper42/python-websocket
python-websockets: new package
2021-10-01 13:55:46 +03:00
Alexandru Ardelean
94cdf89269 pillow: add webp support
Requested via: https://github.com/openwrt/packages/pull/16732

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:29:13 -07:00
Alexandru Ardelean
c9c6287c97 openpyxl: bump to version 3.0.9
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-30 14:28:40 -07:00
Michal Vasilek
d5212d38bc
python3-package.mk: fix syntax error in FindStdlibDepends
When running FindStdlib and running DependsCheckHostPipVersionMatch at
the same time, both commands were joined together resulting in a syntax
error.

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:53 +02:00
Michal Vasilek
bc10fbaebf
python-websockets: new package
Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-09-30 21:41:45 +02:00
Michael Heimpold
e24a969571
Merge pull request #16756 from mhei/php7-update
php7: update to 7.4.24
2021-09-28 07:39:12 +02:00
Michael Heimpold
6969fedfd9 php8: update to 8.0.11
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-27 20:46:19 +02:00
Michael Heimpold
96a04adbf3 php7: update to 7.4.24
This fixes:
    - CVE-2021-21706

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-27 20:44:30 +02:00
Alexandru Ardelean
a1d32499ca python3: enable bluetooth support by default
Bluetooth support requires bluez-libs present, but they are only required
for the build, and don't seem to be needed to be present on the target.

There isn't any linking required to libbluetooth. It's only the bluetooth.h
header that is required for building BT support into Python.

For testing, this snippet was used from `Lib/test/test_socket.py` (inside
cpython):
```
def _have_socket_bluetooth():
    """Check whether AF_BLUETOOTH sockets are supported on this host."""
    try:
        # RFCOMM is supported by all platforms with bluetooth support. Windows
        # does not support omitting the protocol.
        s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, socket.BTPROTO_RFCOMM)
    except (AttributeError, OSError):
        return False
    else:
        s.close()
    return True
```

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

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-27 11:01:07 -07:00
Michael Heimpold
a94ef655ff
Merge pull request #16740 from mhei/php8-fix-16642
php8: fix module loading with glibc (refs #16642)
2021-09-27 18:08:20 +02:00
Michael Heimpold
1bff138517 php8: fix module loading with glibc (refs #16642)
Without -ldl linker flag .so extensions are not loaded
when glibc is used. Fix it by providing adjusted LDFLAGS
for this case.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-26 22:05:15 +02:00
Michael Heimpold
d153c61650 php7: fix module loading with glibc (refs #16642)
Without -ldl linker flag .so extensions are not loaded
when glibc is used. Fix it by providing adjusted LDFLAGS
for this case.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-26 21:57:44 +02:00
Zbyněk Kocur
cefb5eba7a javascript-obfuscator: bump to 2.19.0 and switch to autorelease
New version of package node-javascript-obfuscator.

Signed-off-by: Zbyněk Kocur <zbynek.kocur@fel.cvut.cz>
2021-09-25 11:11:43 -07:00
Javier Marcet
8bf9c058ad python3-texttable: update to version 1.6.4
- Fix alignment bug when deco is modified

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:10 -07:00
Javier Marcet
313109e6a6 python-dotenv: update to v0.19.0
Changed:

 - Require Python 3.5 or a later version. Python 2 and 3.4 are no
 longer supported

 - Raise ValueError if quote_mode isn't one of always, auto or never
 in set_key

 - When writing a value to a .env file with set_key or dotenv set
 <key> <value>

Added:

 - The dotenv_path argument of set_key and unset_key now has a type of
 Union[str, os.PathLike] instead of just os.PathLike

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:12:01 -07:00
Javier Marcet
e652a8c958 python-docker: Update to 5.0.2
Bugfixes:

 - Fix disable_buffering regression

 - Bring back support for ssh identity file

 - Cleanup remaining python-2 dependencies

 - Fix image save example in docs

Miscellaneous:

 - Bump urllib3 to 1.26.5

 - Bump requests to 2.26.0

Signed-off-by: Javier Marcet <javier@marcet.info>
2021-09-20 21:11:51 -07:00
Matt Merhar
77ebd65f49 python3-speedtest-cli: update to 2.1.3
This includes a fix for a breaking change in the Speedtest API.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
2021-09-18 20:40:54 -04:00
Maxim Storchak
2af7d0f0aa luaposix: update to 35.1
Signed-off-by: Maxim Storchak <maxim.storchak@hpe.com>
2021-09-18 14:49:15 -07:00
Josef Schlehofer
1deaf6dbbe
python-astral: update to version 2.2
Update copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-17 16:03:47 +02:00
Alexandru Ardelean
c0742dfbe5
Merge pull request #16552 from turris-cz/awesomeversion
python-awesomeversion: add it to the repository
2021-09-16 15:54:58 +03:00
Josef Schlehofer
ef3a04b886
python-awesomeversion: add it to the repository
This package is dependency for Home Assistant

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-15 12:15:52 +02:00
Rosen Penev
7e529b4173
Merge pull request #16620 from jefferyto/golang-1.17.1
golang: Update to 1.17.1, remove deprecated variables from golang-package.mk
2021-09-14 20:17:29 -07:00
Alexandru Ardelean
526f219887 openpyxl: bump to version 3.0.8
And switch to AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-14 20:17:05 -07:00
Michael Heimpold
841b7d15ac
Merge pull request #16587 from mhei/php7-fix-14623
php7: fix config file upgrade issue (fixes #14623)
2021-09-14 21:23:42 +02:00
Jeffery To
9b3b837e20
golang: Remove deprecated variables in golang-package.mk
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-09-13 05:29:47 +08:00
Jeffery To
aa96b8408f
golang: Update to 1.17.1
Includes fix for CVE-2021-39293 (archive/zip: overflow in preallocation
check can cause OOM panic).

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-09-13 05:24:58 +08:00
Alexandru Ardelean
26988f905f python3: bump version to 3.9.7
Refreshed patches.
And apply hack for line-endings in pep517 (from pip).

Hack comment:
  # FIXME: [1] get rid of this asap; 'patch' doesn't like Windows endings, and this file is full of them...
  #        I actually tried this in a number of ways and the only way to fix this is to implement
  #        a poor-man's dos2unix using sed.
  #        The issue is with the pip package; it seems that it throws in some Windows line-endings
  #        and 'patch' won't handle them. So, we do a "dos2unix" and then patch.
  #        We can get rid of this once this is solved upstream and in pip:
  #            https://github.com/pypa/pep517/pull/130

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-09 14:31:46 -07:00
Alexandru Ardelean
7c2b02f682 django: bump to version 3.2.7
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-09 14:30:55 -07:00
Michael Heimpold
e51a049301 php7: fix config file upgrade issue (fixes #14623)
The addressed issue is related to #6893 as its resolution
is actually causing the problem.

When changing the priority of the config file it happens
that after a sysupgrade the previous file is restored
and the new file is added, ending up in a situation
like this:

/etc/php7/15_openssl.ini
/etc/php7/20_openssl.ini

Causing a double extension=openssl.so to be parsed,
which is not appropriate and leads to error message.

The same problem might also occur for mysqli since there
was also a priority change - let's take care about this
at the same time.

The solution is to remove one of the files. Since it is
a configuration file, the user might have adjusted it, so
lets just use the previous version to replace the new
installed version.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-09-09 08:36:49 +02:00
Rosen Penev
75cd1b7f9d
Merge pull request #16542 from turris-cz/aiohttp
python-aiohttp: update to version 3.7.4post0
2021-09-08 07:35:33 -07:00
Rosen Penev
2ea9ca15ce
Merge pull request #16553 from turris-cz/yarl
python-yarl: update to version 1.6.3
2021-09-08 07:34:56 -07:00
Alexandru Ardelean
b966f5161a pillow: bump to 8.3.2
And start using AUTORELEASE for PKG_RELEASE.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-09-08 07:28:26 -07:00
Josef Schlehofer
8ff4a2b087
python-yarl: update to version 1.6.3
Update Makefile copyright

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-07 13:41:44 +02:00
Josef Schlehofer
571326bd48
python-certifi: update to version 2021.5.30
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-06 16:08:43 +02:00
Josef Schlehofer
2c1fd3e5e2
python-aiohttp: update to version 3.7.4post0
Changelog:
- Bumped upper bound of the chardet runtime dependency to allow their v4.0 version stream.

From a1158c5389/CHANGES.rst

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-09-06 16:00:52 +02:00
Rosen Penev
036f9ff78f
Merge pull request #16507 from robho/perl_data_needs_scalar
perlbase-data: Add dependency on perlbase-scalar
2021-09-01 14:10:19 -07:00
Rosen Penev
c71fbb72b1
Merge pull request #16513 from jefferyto/python-cryptography-3.4.8
python-cryptography: Update to 3.4.8
2021-09-01 14:08:38 -07:00
Kerma Gérald
e34396fd0e fail2ban: initial package of fail2ban version 0.11.2
python3-pyinotify: initial package version 0.9.6 of pyinotify for python3

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2021-09-01 14:08:17 -07:00
Jeffery To
69ae9c29a2
python-cryptography: Update to 3.4.8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-09-02 02:30:37 +08:00
Michael Heimpold
fb9e05615b php7: update to 7.4.23
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-08-31 20:31:49 +02:00
Michael Heimpold
7f320e1b18
Merge pull request #16499 from mhei/php8-update
php8: update to 8.0.10
2021-08-31 20:25:21 +02:00
Robert Högberg
7064f30865 perlbase-data: Add dependency on perlbase-scalar
Data::Dumper requires Scalar::Util -> add missing dependency.

Signed-off-by: Robert Högberg <robert.hogberg@gmail.com>
2021-08-31 15:37:32 +02:00
Michael Heimpold
449acc7dac php8: update to 8.0.10
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-08-30 13:34:49 +02:00
Alexandru Ardelean
9725de1de4 python3-package.mk: add check for dependencies in host-pip-requirements
It often happens that we update a package to a new version (e.g. cffi) to a
newer version, but we forget to update the version for cffi in the
`lang/python/host-pip-requirements/cffi.txt` file.

This check adds a minimal check, so that when a build occurs for a Python
package, if there is a mention/listing of this package in
`lang/python/host-pip-requirements/` it will check that the versions match.

This way, when we update a package, we get a build failure and update the
host version as well.

This will omit packages (like Cython) that are not packaged for OpenWrt,
but are host-side dependencies only.
But until we find some mechanism to check for those, we will probably only
notice to update them when another build occurs (at the very least).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-30 10:01:48 +03:00
Alexandru Ardelean
5e00a051d6 seafile-seahub: move Django-1.11.txt in package folder
Django 1.11 (host-build) is only needed for Seahub.
And won't ever be needed for anything else (hopefully).

This change moves it to the Seahub folder.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-30 10:01:48 +03:00
Michal Vasilek
d7163a8607
python-websocket-client: update to 1.2.1
* update license (changed in 1.2.0)
* removed python3-six dependency (removed in 1.0.0)
* do not install tests

Signed-off-by: Michal Vasilek <michal.vasilek@nic.cz>
2021-08-27 13:02:58 +02:00
Rosen Penev
da5fa78549
Merge pull request #16459 from commodo/numpy
numpy: bump to version 1.21.2
2021-08-25 14:09:18 -07:00
Karl Palsson
f51b325b2d lua: penlight: bump to 1.11.0
Feature updates, and some minor bugfixes.

Changelog for 1.11.0: https://github.com/lunarmodules/Penlight/blob/master/CHANGELOG.md#1110-2021-08-18
Changelog for prior releases rolled up here are in the same changelog.

This also moves to the "final" home, under lunarmodules, instead of the
temporary "tieske" maintainer's private github, see https://github.com/lunarmodules/Penlight/issues/339

Signed-off-by: Karl Palsson <karlp@etactica.com>
2021-08-25 10:11:27 +00:00
Alexandru Ardelean
96cac0a7a8 numpy: bump to version 1.21.2
Switch to AUTORELEASE for PKG_RELEASE.
And update Cython as well.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-25 10:06:11 +03:00
Alexandru Ardelean
ff14602679 python-simplejson: bump to version 3.17.5
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2021-08-24 14:24:45 +03:00
Jeffery To
d0aab6b8bc
golang: Update to 1.17
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2021-08-23 00:37:25 +08:00
Josef Schlehofer
feaaacc10f
python3-setuptools: add _distutils_hack
I tried to install matplotlib by using pip and it failed with the following output:

2021-08-18T11:52:26,171 Collecting matplotlib
2021-08-18T11:52:26,173   Created temporary directory: /tmp/pip-unpack-wuth2u0e
2021-08-18T11:52:26,565   Using cached matplotlib-3.4.3.tar.gz (37.9 MB)
2021-08-18T11:52:38,659   Added matplotlib from https://files.pythonhosted.org/packages/21/37/           197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617/matplotlib-3.4.3.tar.                       gz#sha256=fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 to build tracker '/tmp/pip-   req-tracker-u30x8pht'
2021-08-18T11:52:38,660     Running setup.py (path:/tmp/pip-install-afiyiers/                            matplotlib_8e717e38862f4976a3d6cb1832ba3261/setup.py) egg_info for package matplotlib
2021-08-18T11:52:38,661     Created temporary directory: /tmp/pip-pip-egg-info-kbtiezxq
2021-08-18T11:52:38,662     Running command python setup.py egg_info
2021-08-18T11:52:38,831     Traceback (most recent call last):
2021-08-18T11:52:38,832       File "<string>", line 1, in <module>
2021-08-18T11:52:38,832       File "/usr/lib/python3.9/site-packages/setuptools/__init__.py", line 8, in <module>
2021-08-18T11:52:38,833     ModuleNotFoundError: No module named '_distutils_hack'

More details about it:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968410

Once I applied the patch from the bug tracker, I got further to install
it.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-08-18 12:20:07 +02:00
Rosen Penev
1cba8af1b1
Merge pull request #16327 from cotequeiroz/lua-rs232
lua-rs232: don't rely on detected luadir
2021-08-18 02:05:23 -07:00
Rosen Penev
a231c25e8f
Merge pull request #16382 from cotequeiroz/perl_flock
perl: perlmod.mk: wrap hostpkg perl usage around flock
2021-08-17 14:20:25 -07:00
Eneas U de Queiroz
1e18c4324f
perl: perlmod.mk: use flock when hostpkg/perl used
Avoid parallel relinking and usage of the host perl binary by wrapping
its usage around flock calls.

Sometimes, two packages will try to relink the static host perl binary
at the same time.  Neither of them will have the other's module linked
in, and one of them will unavoidably clobber the other one's binary.

This will lead to errors when a package will not be able to find a
module that was supposed to be installed.

To fix that, an exclusive flock is used when relinking, with a 900
seconds timeout to avoid locking up the build process forever.

This is not enough because the binary may be concurrently used to build
another module package; perl is used in Configure, Compile, and Install
procedures.  If timing is right, a package will fail with a "permission
denied" error.

So a shared flock call is added in Configure, Compile, and Install
definitions for host and target, with a shorter, 300 seconds timeout.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-08-17 12:03:34 -03:00
Stepan Henek
4952a624f2
python-cachelib: update to version 0.3.0
Signed-off-by: Stepan Henek <stepan.henek@nic.cz>
2021-08-17 09:59:42 +02:00