Commit Graph

28443 Commits

Author SHA1 Message Date
Michael Heimpold 69c7e53ab5 php8: update to 8.1.27
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-12-27 13:45:01 +01:00
Stan Grishin f39d7eab85 curl: update to 8.5.0
* https://curl.se/changes.html#8_5_0

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 6501290c17)
2023-12-24 09:28:06 +01:00
Michael Heimpold ad5a83c4a4
Merge pull request #22904 from mhei/22.03-php8-update-to-8.1.26
[22.03] php8: update to 8.1.26
2023-12-17 20:31:17 +01:00
Michael Heimpold 396aace59f php8: update to 8.1.26
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2023-12-16 16:56:55 +01:00
Stan Grishin 61fdaca672
Merge pull request #22874 from stangri/openwrt-22.03-https-dns-proxy
[22.03] https-dns-proxy: only restart firewall when needed
2023-12-11 15:45:59 -07:00
Stan Grishin 638fb4aab5 https-dns-proxy: only restart firewall when needed
* only restart firewall when needed

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 8b6635bae9)
2023-12-11 13:19:27 +00:00
Stan Grishin e34369a41b
Merge pull request #22747 from stangri/openwrt-22.03-https-dns-proxy
[22.03] https-dns-proxy: fix unintentional call of service_stopped in boot()
2023-11-25 17:12:39 -07:00
Stan Grishin 787079b673 https-dns-proxy: fix unintentional call of service_stopped in boot()
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 2e9f6c4446)
2023-11-24 16:13:46 +00:00
Stan Grishin 6daf8f25ec
Merge pull request #22738 from stangri/openwrt-22.03-https-dns-proxy
[22.03] https-dns-proxy: bugfix: prevent erros from boot()
2023-11-24 00:13:24 -07:00
Stan Grishin 97fd6c23fd https-dns-proxy: bugfix: prevent erros from boot()
* fixes https://github.com/openwrt/packages/issues/22674
* rename resolver_health_check to is_resolver_running for readability
* reorder functions in the init file by name

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit f519b68401)
2023-11-23 22:41:11 +00:00
Alexandru Ardelean 593f5c2afc numpy: bump version to 1.24.3
Need to also fix build for GCC 13 + musl.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
(cherry picked from commit 8f176e30f3)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-23 15:04:05 +01:00
Nikos Mavrogiannopoulos 8282c0f846 tang: set the right permissions to keys
Resolves: #22632

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-11-10 10:40:36 +01:00
S. Brusch 75e72cc7b8 crowdsec-firewall-bouncer: add ujail
* added ujail for crowdsec-firewall-bouncer
* set nice to reduce priority for process

Signed-off-by: S. Brusch <ne20002@gmx.ch>

Maintainer: Kerma Gérald <gandalf@gk2.net>
Run tested: mediatek/filogic, BPI-R3, Openwrt 23.05.0

(cherry picked from commit a8df73ce72)
2023-11-06 09:57:58 +08:00
Josef Schlehofer 1075441a39 nmap: backport fix to be able to compile it with OpenSSL 1.1
The latest nmap version 7.9.3 currently fails to compile with OpenSSL 1.1 [1],
it required to backport upstream patch to fix the compilation. [2]

[1] https://github.com/nmap/nmap/issues/2516
[2] d6bea8dcde

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2c87004346)
2023-11-05 16:40:52 +01:00
Josef Schlehofer 455a336911 netbird: downgrade to version 0.17.0
The version, which is currently in OpenWrt 22.03 requires Go 1.20.

See the output:
../../../../../dl/go-mod-cache/github.com/netbirdio/wireguard-go@v0.0.0-20230524172305-5a498a82b33f/tun/tun_linux.go:362:18: undefined: errors.Join
note: module requires Go 1.20

Having Go 1.20 in OpenWrt 22.03 could be time consuming and as it is the stable branch, it seems like better idea to downgrade netbird to version 0.17.0, which is the latest version, which requires to use Go 1.19.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-05 14:55:00 +01:00
Tianling Shen cf1ca0b01d
Merge pull request #22598 from muink/dnsproxy-22.03
[22.03] dnsproxy: add more options
2023-11-05 16:30:58 +08:00
Anya Lin fe754c6d86
dnsproxy: new features
1. Add new options:
  --http3    Enable HTTP/3 support (H3 first)
  --timeout  Timeout for outbound DNS queries to remote upstream servers in a human-readable form (default: 10s)

2. Allows listen on multiple interfaces and ports

Signed-off-by: Anya Lin <hukk1996@gmail.com>
(cherry picked from commit 47b4ebc5cb)
Signed-off-by: Anya Lin <hukk1996@gmail.com>
2023-11-05 15:00:22 +08:00
Jeffery To 6543a67e59 python-poetry-core: Update to 1.7.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bc32e54713)
2023-11-04 22:34:04 +01:00
Jeffery To e354dbfd51 python-poetry-core: Update to 1.6.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ac59c69237)
2023-11-04 22:33:59 +01:00
Rosen Penev c0a189955b expat: update to 2.5.0
Fixes: CVE-2022-43680

Added GitHub mirror.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 409dbb05c9)
2023-11-02 23:37:26 +01:00
Jeffery To d43972744d python-calver: Add new host-only package
From the README:

The calver package is a setuptools extension for automatically defining
your Python package version as a calendar version.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit f4a18fbd3d)
2023-11-02 22:45:34 +01:00
Jeffery To 9c4447a227 numpy: Avoid build user config files
This stops numpy from reading .numpy-site.cfg in the build user's home
directory. The code actually tries to find both .numpy-site.cfg and
site.cfg in the user's home directory; this patch prevents both.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 3cee44d888)
2023-11-02 11:20:41 +01:00
Jeffery To 400936a98c numpy: Fix compilation when OpenBLAS support is not enabled
Currently, if OpenBLAS support is not enabled, a site.cfg file is not
written and numpy will use build host paths for libraries. If the build
host has any conflicting libraries, specifically libpython3.10.a, then
compilation will fail.

This ensures site.cfg is always written with buildroot paths.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5cafab68ff)
2023-11-02 11:20:32 +01:00
Jeffery To ca0cbe1e97 numpy: Fix pyproject.toml-based build
The versions of setuptools and wheel pinned in pyproject.toml are older
than the versions available in the packages repo. This unpins the
versions so that the build can proceed.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 8d331953f3)
2023-11-02 11:20:25 +01:00
Josef Schlehofer 82cbf130ed nmap: drop upstream backports
These patches were introduced for old version, which we had in this repository from upstream in commit 129b7c3 ("nmap: fix ncat proxy mode with upstream patches"), but because nmap was recently updated in commit c12313f ("nmap: bump to 7.93
"), they are not required anymore.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2023-11-02 11:17:19 +01:00
Jeffery To 18ce57bb6d python-incremental: Add missing host build dependencies
Fixes: 8d81b67327 ("python-incremental: Update to 22.10.0, redo patch, add host build")
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2c54b7637e)
2023-11-02 11:10:37 +01:00
Jeffery To dd019cb9bd python-ubus: Update to 0.1.2
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 99d8554bcd)
2023-11-02 01:48:13 +01:00
Jeffery To 436bca63d7 python-ubus: Force old build process
This package will not build with the pyproject.toml-based build process
because it has a build dependency on pytest-runner[1].

pytest-runner has been deprecated[2], so instead of adding a package for
pytest-runner to fulfill the build dependency, force this package to use
the old build process.

[1]: https://gitlab.nic.cz/turris/python-ubus/-/blob/v0.1.1/setup.py#L35
[2]: https://github.com/pytest-dev/pytest-runner#deprecation-notice

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4a7173d27d)
2023-11-02 01:47:32 +01:00
Jeffery To 12028f6043 python3-packages: Set PYTHON3_PKG_BUILD:=0
This sets PYTHON3_PKG_BUILD:=0 so that python3-package.mk does not set
any default build recipes.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bcba053fb0)
2023-11-02 01:43:27 +01:00
Jeffery To 5171a8341a python-trove-classifiers: Add new host-only package
From the README:

Canonical source for classifiers on PyPI.

Classifiers categorize projects per PEP 301. Use this package to
validate classifiers in packages for PyPI upload or download.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 7dc6b103c5)
2023-11-02 01:37:57 +01:00
Jeffery To 897e1e12d1 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>
(cherry picked from commit a1cfdba19c)
2023-11-02 01:36:49 +01:00
Jeffery To f42d8f7e19 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>
(cherry picked from commit 4465e57e5d)
2023-11-02 01:36:27 +01:00
Josef Schlehofer 13529ea17f Revert "python-libraries: Force old build process"
This commit was already applied 3 weeks ago in d640b11160, thus I bring it once again back, which was mistake as it was redone in 903003695a.

This reverts commit 60f0e661c5.
2023-11-02 01:19:51 +01:00
Jeffery To cc09ec6597 fail2ban: Override Build/Compile instead of Py3Build/Compile
This allows changes to the Python build system apply more easily to the
package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 4195e5c4a8)
2023-11-02 01:16:36 +01:00
Jeffery To 49880edcb3 nmap: Force old Python build process
This package isn't compatible with the new Python build process yet, so
force the old build process for now.

This also adds a call to Py3Build/Install, for when the new build
process can be used.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit da55275f3b)
2023-11-02 01:15:50 +01:00
Nuno Gonçalves d66edd21e7 nmap: update license
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 0563e5092c)
2023-11-02 01:15:44 +01:00
Nuno Gonçalves c12313f7c1 nmap: bump to 7.93
Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 43c990c43f)
2023-11-02 01:15:38 +01:00
Jeffery To a61e86e982 python-jsonschema: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 107e037763)
2023-11-02 01:14:01 +01:00
Jeffery To 1b3fa88251 python-exceptiongroup: Remove previous build workaround
With proper support for pyproject.toml-based builds in place, this is no
longer necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 7734502693)
2023-11-02 01:14:01 +01:00
Jeffery To c5224c74d1 python-astral: Remove BROKEN
With proper support for pyproject.toml-based builds in place, this
package will now build.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 628202d269)
2023-11-02 01:14:01 +01:00
Jeffery To 42d4e2c1cd onionshare-cli: Force old Python build process
This package requires poetry to build using the new Python build process
but poetry is not available, so force the old build process for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 705176cd6a)
2023-11-02 01:14:01 +01:00
Jeffery To 60f0e661c5 python-libraries: Force old build process
These packages will need adjustments to work with pyproject.toml-based
builds, so set PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 to force the old
build process (when pyproject.toml-based builds are in place) for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit e6ae9e29d5)
2023-11-02 01:14:01 +01:00
Jeffery To 36b997a113 python-twisted: Update to 22.10.0
Includes fix for CVE-2022-39348 (NameVirtualHost Host header injection).

This adds a build dependency that will be required for
pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 56b10770fc)
2023-11-02 01:14:01 +01:00
Jeffery To faaf36ed35 python-pytest-forked: Update to 1.6.0
The overly-strict build requirements in 1.3.0[1] would cause a build
failure with pyproject.toml-based builds.

[1]: https://github.com/pytest-dev/pytest-forked/blob/v1.3.0/pyproject.toml#L2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 17d5bf224c)
2023-11-02 01:14:01 +01:00
Jeffery To ee6708a027 python-jsonschema: Add build dependencies
These will be required for pyproject.toml-based builds.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit b1a8e4769f)
2023-11-02 01:14:01 +01:00
Jeffery To 43e34d9b7d 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>
(cherry picked from commit 59b7a81964)
2023-11-02 01:14:01 +01:00
Jeffery To d8b19b3df4 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>
(cherry picked from commit 68c0c77df6)
2023-11-02 01:14:01 +01:00
Jeffery To c97f1fe239 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>
(cherry picked from commit 0b5091bbff)
2023-11-02 01:14:01 +01:00
Jeffery To ad0abb4159 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>
(cherry picked from commit 1a1b444571)
2023-11-02 01:14:01 +01:00
Jeffery To 7442839f3a 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>
(cherry picked from commit 6649314a03)
2023-11-02 01:14:01 +01:00