feed/packages.git
9 months agop910nd: init: partial fix for openwrt/packages#10496
Paul Donald [Sat, 10 Feb 2024 21:02:58 +0000 (22:02 +0100)]
p910nd: init: partial fix for openwrt/packages#10496

Harmless to carry this fix until procd.sh adds the param

This parameter will mean umdns advertises not just "OpenWrt" but a more
appropriate string:

"Apple LaserWriter Pro 630"

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 60be0017753364069c044dd591b3ef1e0e3f8438)

9 months agop910nd: hotplug+init: include extra ieee1284 properties
Paul Donald [Sun, 11 Feb 2024 03:13:53 +0000 (04:13 +0100)]
p910nd: hotplug+init: include extra ieee1284 properties

Apple and macOS GUI co-opts the mDNS note= param as "Location"

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit c74f82e17b21641667cb768da30244a8cba1d73e)

9 months agop910nd: hotplug: minor bug fixes
Paul Donald [Sun, 11 Feb 2024 18:02:57 +0000 (19:02 +0100)]
p910nd: hotplug: minor bug fixes

Commit driver_home defaults before continuing

Fix missing path for serial number acquisition

Store current device if no previously configured device had one.
Also set CHAR_DEV so the printer can get its driver sent on first run.

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit c54cb399f32abbf76cecbd279c2c55c3e46d5613)

9 months agop910nd: hotplug: small refactor
Paul Donald [Sun, 11 Feb 2024 17:43:43 +0000 (18:43 +0100)]
p910nd: hotplug: small refactor

replace -a with &&

shorten uci commands via variables

add optional ieee1284_id parameters

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit d1b868b407a5ec1e6f109ec603c65423f6b11b87)

9 months agop910nd: init: add txtvers=1 to mDNS properties
Paul Donald [Sun, 11 Feb 2024 17:33:03 +0000 (18:33 +0100)]
p910nd: init: add txtvers=1 to mDNS properties

The spec https://developer.apple.com/bonjour/printing-specification/bonjourprinting-1.2.1.pdf
notes:

... if the meaning of any of the TXT record keys is changed, the txtvers value
will be incremented. The current value of this key is “1”, and if this key does not exist in
the TXT record, the default value of “1” is assumed. The txtvers SHOULD be the first
key/value pair in the TXT record.

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 55d00e3821674789d903ea0dfef000a2b4306f24)

9 months agop910nd: init: line-break and conditionalize mDNS properties
Paul Donald [Sun, 11 Feb 2024 02:30:56 +0000 (03:30 +0100)]
p910nd: init: line-break and conditionalize mDNS properties

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit d939c5c3aafcc10db5273bb242469eff0bea6d14)

9 months agop910nd: init: only run mDNS changes if mdns is set to on
Paul Donald [Sat, 10 Feb 2024 17:37:00 +0000 (18:37 +0100)]
p910nd: init: only run mDNS changes if mdns is set to on

i.e. don't do the extra work unless mdns setting is enabled

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 2c5927cfac6aa867bc892d499170fdf4d7d1f5d8)

9 months agop910nd: init script
Paul Donald [Sat, 10 Feb 2024 17:35:35 +0000 (18:35 +0100)]
p910nd: init script

Don't run procd with a name of p9100d or p9101d etc.
Use the original binary name: p910nd.

This way, all supplied parameters should be visible via e.g.:

ps
xargs -0 < /proc/{procid}/cmdline

Revise all p910nd strings to the variable DAEMON_NAME or CONFIG where
appropriate.

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 3f04d2d791fb18d03e990926955b87198293bb9d)

9 months agop910nd: hotplug script
Paul Donald [Tue, 16 Jan 2024 01:47:32 +0000 (02:47 +0100)]
p910nd: hotplug script

Signed-off-by: Paul Donald <newtwen@gmail.com>
(cherry picked from commit 825b22a4db952c891b07341e0176bc6d64f2d72a)

9 months agonextdns: Update to version 1.42.0
Olivier Poitrey [Sun, 4 Feb 2024 23:50:58 +0000 (23:50 +0000)]
nextdns: Update to version 1.42.0

Signed-off-by: Olivier Poitrey <rs@nextdns.io>
9 months agocloudflared: refine config.yml
Sergey Ponomarev [Sat, 3 Feb 2024 20:13:22 +0000 (22:13 +0200)]
cloudflared: refine config.yml

The config.yml is an example of a tunnel local configuration.
But the cloudlfared treat it as a real config and fails to start.
So to avoid problems let's comment all the statements.

The `url: http://localhost:8000` is not a valid config option.

Additionally add a smale of configuring ingres rules.

The cloudflared.config has missing option token.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
(cherry picked from commit b3580a76d8a4bc0bfa075ba3da945bfe92526871)

9 months agorclone: Update to 1.65.2
Tianling Shen [Tue, 30 Jan 2024 15:41:30 +0000 (23:41 +0800)]
rclone: Update to 1.65.2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 4437234dc43095212299417ee25aa43266374f50)

9 months agoMerge pull request #23254 from stangri/openwrt-22.03-curl
Stan Grishin [Sat, 3 Feb 2024 23:15:40 +0000 (16:15 -0700)]
Merge pull request #23254 from stangri/openwrt-22.03-curl

[22.03] curl: update to 8.6.0

9 months agocurl: update to 8.6.0 23254/head
Konstantin Demin [Thu, 1 Feb 2024 00:28:09 +0000 (03:28 +0300)]
curl: update to 8.6.0

* https://curl.se/changes.html#8_6_0

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
(cherry picked from commit 0f2c98d53f1aec96c21a707fc0e1a01b5a53a840)

9 months agonatmap: update to 20240126
Ray Wang [Fri, 26 Jan 2024 15:04:21 +0000 (23:04 +0800)]
natmap: update to 20240126

Signed-off-by: Ray Wang <r@hev.cc>
(cherry picked from commit 42c6e10ada066e54071026930460e91ba14dfb4b)

9 months agov2raya: do not allow changing config/log directory
Tianling Shen [Wed, 24 Jan 2024 16:38:09 +0000 (00:38 +0800)]
v2raya: do not allow changing config/log directory

We need stable path to persist configurations and read log from LuCI.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 272cff0d1c6265fe374aeed582423858beedf6bc)

9 months agov2ray-geodata: Update to latest version
Tianling Shen [Fri, 26 Jan 2024 04:20:05 +0000 (12:20 +0800)]
v2ray-geodata: Update to latest version

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 1aaa5c045dd835331d6c5bb70636e9d34d6bb530)

9 months agorclone: Update to 1.65.1
Tianling Shen [Sun, 14 Jan 2024 06:07:45 +0000 (14:07 +0800)]
rclone: Update to 1.65.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 05b61b3b6d8c3e2ab8f20e8b08932adfd25fbc3a)

9 months agorclone: Update to 1.65.0
Tianling Shen [Tue, 5 Dec 2023 11:02:27 +0000 (19:02 +0800)]
rclone: Update to 1.65.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit ac17302410dfa0958494b004e07d427cad7dd9cf)

10 months agoMerge pull request #22999 from mhei/22.03-php8-update-to-8.1.27
Michael Heimpold [Fri, 29 Dec 2023 09:04:00 +0000 (10:04 +0100)]
Merge pull request #22999 from mhei/22.03-php8-update-to-8.1.27

[22.03] php8: update to 8.1.27

10 months agomosquitto: update to 2.0.18
Rosen Penev [Fri, 10 Jul 2020 00:45:17 +0000 (17:45 -0700)]
mosquitto: update to 2.0.18

Switch to CMake. Allows faster compilation.

Small Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit aa89f847c673343af0cde4dbd9535a63272f7f14)

10 months agophp8: update to 8.1.27 22999/head
Michael Heimpold [Wed, 27 Dec 2023 12:45:01 +0000 (13:45 +0100)]
php8: update to 8.1.27

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
11 months agocurl: update to 8.5.0
Stan Grishin [Sun, 10 Dec 2023 17:38:24 +0000 (17:38 +0000)]
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 6501290c17fb2c65e0fb589da94d121ff89e7d5e)

11 months agoMerge pull request #22904 from mhei/22.03-php8-update-to-8.1.26
Michael Heimpold [Sun, 17 Dec 2023 19:31:17 +0000 (20:31 +0100)]
Merge pull request #22904 from mhei/22.03-php8-update-to-8.1.26

[22.03] php8: update to 8.1.26

11 months agophp8: update to 8.1.26 22904/head
Michael Heimpold [Sat, 16 Dec 2023 15:56:55 +0000 (16:56 +0100)]
php8: update to 8.1.26

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
11 months agoMerge pull request #22874 from stangri/openwrt-22.03-https-dns-proxy
Stan Grishin [Mon, 11 Dec 2023 22:45:59 +0000 (15:45 -0700)]
Merge pull request #22874 from stangri/openwrt-22.03-https-dns-proxy

[22.03] https-dns-proxy: only restart firewall when needed

11 months agohttps-dns-proxy: only restart firewall when needed 22874/head
Stan Grishin [Mon, 11 Dec 2023 13:18:21 +0000 (13:18 +0000)]
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 8b6635bae9717babbc3dcf1347cf4727fc15f9bd)

11 months agoMerge pull request #22747 from stangri/openwrt-22.03-https-dns-proxy
Stan Grishin [Sun, 26 Nov 2023 00:12:39 +0000 (17:12 -0700)]
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()

11 months agohttps-dns-proxy: fix unintentional call of service_stopped in boot() 22747/head
Stan Grishin [Fri, 24 Nov 2023 16:11:57 +0000 (16:11 +0000)]
https-dns-proxy: fix unintentional call of service_stopped in boot()

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 2e9f6c44460a48876cd85cde3557ce373693df6b)

12 months agoMerge pull request #22738 from stangri/openwrt-22.03-https-dns-proxy
Stan Grishin [Fri, 24 Nov 2023 07:13:24 +0000 (00:13 -0700)]
Merge pull request #22738 from stangri/openwrt-22.03-https-dns-proxy

[22.03] https-dns-proxy: bugfix: prevent erros from boot()

12 months agohttps-dns-proxy: bugfix: prevent erros from boot() 22738/head
Stan Grishin [Thu, 23 Nov 2023 22:38:12 +0000 (22:38 +0000)]
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 f519b68401b68f011091e83badadb54a43eae33d)

12 months agonumpy: bump version to 1.24.3
Alexandru Ardelean [Sun, 30 Oct 2022 17:31:26 +0000 (19:31 +0200)]
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 8f176e30f3dae121e374be4ca7f641cc157ea152)
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
12 months agotang: set the right permissions to keys
Nikos Mavrogiannopoulos [Thu, 9 Nov 2023 19:06:34 +0000 (20:06 +0100)]
tang: set the right permissions to keys

Resolves: #22632

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
12 months agocrowdsec-firewall-bouncer: add ujail
S. Brusch [Sat, 21 Oct 2023 17:22:13 +0000 (19:22 +0200)]
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 a8df73ce7277134c5bd318b3e63cc14e2c70e9a7)

12 months agonmap: backport fix to be able to compile it with OpenSSL 1.1
Josef Schlehofer [Sun, 5 Nov 2023 12:58:43 +0000 (13:58 +0100)]
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] https://github.com/nmap/nmap/commit/d6bea8dcdee36a3902cece14097993350306f1b6

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 2c87004346f9456cfd5cc58559ab8ff4e94cd773)

12 months agonetbird: downgrade to version 0.17.0
Josef Schlehofer [Sun, 5 Nov 2023 13:51:31 +0000 (14:51 +0100)]
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>
12 months agoMerge pull request #22598 from muink/dnsproxy-22.03
Tianling Shen [Sun, 5 Nov 2023 08:30:58 +0000 (16:30 +0800)]
Merge pull request #22598 from muink/dnsproxy-22.03

[22.03] dnsproxy: add more options

12 months agodnsproxy: new features 22598/head
Anya Lin [Sat, 4 Nov 2023 04:19:06 +0000 (12:19 +0800)]
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 47b4ebc5cb5d3bf24c8a15a8f5cb9a99faed5e1a)
Signed-off-by: Anya Lin <hukk1996@gmail.com>
12 months agopython-poetry-core: Update to 1.7.0
Jeffery To [Mon, 21 Aug 2023 04:03:56 +0000 (12:03 +0800)]
python-poetry-core: Update to 1.7.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit bc32e54713361dd6c3c8d676ee7b78c7eecb65eb)

12 months agopython-poetry-core: Update to 1.6.1
Jeffery To [Mon, 5 Jun 2023 07:17:17 +0000 (15:17 +0800)]
python-poetry-core: Update to 1.6.1

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit ac59c69237d8be99c66134f535c96f40c0bee9c9)

12 months agoexpat: update to 2.5.0
Rosen Penev [Sun, 6 Nov 2022 20:32:33 +0000 (12:32 -0800)]
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 409dbb05c9ea0877549e0f2536dd5efce1747048)

12 months agopython-calver: Add new host-only package
Jeffery To [Fri, 14 Apr 2023 07:57:46 +0000 (15:57 +0800)]
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 f4a18fbd3de380b4c8a689dddb4212c572fff259)

12 months agonumpy: Avoid build user config files
Jeffery To [Wed, 10 May 2023 15:49:46 +0000 (23:49 +0800)]
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 3cee44d88837b5679a96f0155205ec15883d5aef)

12 months agonumpy: Fix compilation when OpenBLAS support is not enabled
Jeffery To [Fri, 17 Feb 2023 03:47:15 +0000 (11:47 +0800)]
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 5cafab68ff5bddf5470e7674bb0bf8d0415e8804)

12 months agonumpy: Fix pyproject.toml-based build
Jeffery To [Wed, 10 May 2023 16:26:17 +0000 (00:26 +0800)]
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 8d331953f34a1ed231cb24893c68606813c36824)

12 months agonmap: drop upstream backports
Josef Schlehofer [Thu, 2 Nov 2023 10:17:09 +0000 (11:17 +0100)]
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>
12 months agopython-incremental: Add missing host build dependencies
Jeffery To [Thu, 11 May 2023 07:42:33 +0000 (15:42 +0800)]
python-incremental: Add missing host build dependencies

Fixes: 8d81b6732757 ("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 2c54b7637ea5035995e1e4caabd2105b395492ba)

12 months agopython-ubus: Update to 0.1.2
Jeffery To [Tue, 29 Aug 2023 03:41:21 +0000 (11:41 +0800)]
python-ubus: Update to 0.1.2

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 99d8554bcd1a16e2276ffb706c3f1e823ece65f3)

12 months agopython-ubus: Force old build process
Jeffery To [Mon, 6 Mar 2023 04:04:33 +0000 (12:04 +0800)]
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 4a7173d27d7969b95efac18eb34402c5fa69e3a1)

12 months agopython3-packages: Set PYTHON3_PKG_BUILD:=0
Jeffery To [Wed, 10 May 2023 18:54:08 +0000 (02:54 +0800)]
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 bcba053fb06f4182fca9f36cdf93242cdb3f6762)

12 months agopython-trove-classifiers: Add new host-only package
Jeffery To [Fri, 14 Apr 2023 08:03:02 +0000 (16:03 +0800)]
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 7dc6b103c5e5eb2b1c0ec1c0d9b03b94d244e6c8)

12 months agopython-pathspec: Add new host-only package
Jeffery To [Tue, 28 Feb 2023 17:44:39 +0000 (01:44 +0800)]
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 a1cfdba19cde26fa79c8558f0b4a396d690c6c1a)

12 months agopython-editables: Add new host-only package
Jeffery To [Tue, 28 Feb 2023 17:29:40 +0000 (01:29 +0800)]
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 4465e57e5d8ce0cc9a153a0666c5a38d00fa2e8a)

12 months agoRevert "python-libraries: Force old build process"
Josef Schlehofer [Thu, 2 Nov 2023 00:19:51 +0000 (01:19 +0100)]
Revert "python-libraries: Force old build process"

This commit was already applied 3 weeks ago in d640b11160aaa59eeeb6b900f1b81914d548d04d, thus I bring it once again back, which was mistake as it was redone in 903003695ae5c5f21c1aae8565ec1bfbe995ba85.

This reverts commit 60f0e661c50178f9a1c993b0f397bd04053ccffe.

12 months agofail2ban: Override Build/Compile instead of Py3Build/Compile
Jeffery To [Mon, 6 Mar 2023 14:07:06 +0000 (22:07 +0800)]
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 4195e5c4a8dcb0dfce8049e3e61844a3c1a90d67)

12 months agonmap: Force old Python build process
Jeffery To [Mon, 6 Mar 2023 14:09:53 +0000 (22:09 +0800)]
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 da55275f3bbf3987771b97f7722d3023a0a8d7c4)

12 months agonmap: update license
Nuno Gonçalves [Sat, 15 Apr 2023 22:54:20 +0000 (23:54 +0100)]
nmap: update license

Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 0563e5092c82d03a5861cb7dc17c55d6cf0d0498)

12 months agonmap: bump to 7.93
Nuno Gonçalves [Sat, 15 Apr 2023 22:30:30 +0000 (23:30 +0100)]
nmap: bump to 7.93

Signed-off-by: Nuno Gonçalves <nunojpg@gmail.com>
(cherry picked from commit 43c990c43fb145c6b24ac1adbf2a5647dc1aa69e)

12 months agopython-jsonschema: Remove previous build workaround
Jeffery To [Fri, 17 Feb 2023 18:48:03 +0000 (02:48 +0800)]
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 107e0377637ba8ef6e46c0368b0df8f7c96a5a70)

12 months agopython-exceptiongroup: Remove previous build workaround
Jeffery To [Thu, 13 Apr 2023 17:36:12 +0000 (01:36 +0800)]
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 773450269365bc1710c8c85b52566d0db0bb0b27)

12 months agopython-astral: Remove BROKEN
Jeffery To [Wed, 1 Mar 2023 08:48:10 +0000 (16:48 +0800)]
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 628202d269f9cef99084380418c77972510a753a)

12 months agoonionshare-cli: Force old Python build process
Jeffery To [Tue, 7 Mar 2023 05:51:26 +0000 (13:51 +0800)]
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 705176cd6ab47ff51ca75a9f05e97c2e4804f6cc)

12 months agopython-libraries: Force old build process
Jeffery To [Mon, 6 Mar 2023 03:46:09 +0000 (11:46 +0800)]
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 e6ae9e29d59001a8c31781c1e2c32261f34c05be)

12 months agopython-twisted: Update to 22.10.0
Jeffery To [Mon, 20 Feb 2023 02:51:57 +0000 (10:51 +0800)]
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 56b10770fc0741c79b697e9954b27090a4560a9a)

12 months agopython-pytest-forked: Update to 1.6.0
Jeffery To [Sun, 19 Feb 2023 18:41:22 +0000 (02:41 +0800)]
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 17d5bf224cd432bf0cb9c683f17fc9fb5415a6e4)

12 months agopython-jsonschema: Add build dependencies
Jeffery To [Mon, 6 Mar 2023 03:29:02 +0000 (11:29 +0800)]
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 b1a8e4769f333120b7e925f4782593f04e7c68fd)

12 months agopython-exceptiongroup: Update to 1.1.1
Jeffery To [Fri, 17 Feb 2023 17:05:56 +0000 (01:05 +0800)]
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 59b7a81964c879e9a92af3122916f8d33ac2ee0a)

12 months agopython-dns: Update to 2.3.0
Jeffery To [Mon, 20 Feb 2023 05:08:55 +0000 (13:08 +0800)]
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 68c0c77df6b8f4509859a93344715a7fb21f864e)

12 months agopython-cryptography: Update patch to disable Rust
Jeffery To [Sat, 18 Feb 2023 10:24:43 +0000 (18:24 +0800)]
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 0b5091bbff52ef8e2e8b6b1f173928088ebe5cc6)

12 months agopython-astral: Update to 3.2
Jeffery To [Fri, 17 Feb 2023 13:19:17 +0000 (21:19 +0800)]
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 1a1b4445715a9970f1d9d3964e06e965c8693531)

12 months agoborgbackup: Add missing build dependencies
Jeffery To [Wed, 1 Mar 2023 06:09:43 +0000 (14:09 +0800)]
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 6649314a0326477877e2691b181b192e19cee959)

12 months agoxxhash: Fix pkg-config metadata file
Jeffery To [Fri, 17 Feb 2023 04:02:58 +0000 (12:02 +0800)]
xxhash: Fix pkg-config metadata file

Currently, Build/InstallDev installs libxxhash.pc.in, which is the
template for libxxhash.pc and does not contain the correct information.
(pkg-config also does not recognize this file name.)

This uses PKG_INSTALL:=1 so that libxxhash.pc is generated (by 'make
install').

This also removes the need to override Build/Prepare by setting the
correct command in PKG_UNPACK.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 2f4b161e2828a645ac1bfc2a77e9506fe3c8772d)

12 months agodnsdist: bump to force rebuild against new h2o
Peter van Dijk [Tue, 17 Oct 2023 14:40:26 +0000 (16:40 +0200)]
dnsdist: bump to force rebuild against new h2o

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
12 months agoh2o: ABI-breaking patch for CVE-2023-44487
Peter van Dijk [Wed, 11 Oct 2023 09:09:16 +0000 (11:09 +0200)]
h2o: ABI-breaking patch for CVE-2023-44487

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
(cherry picked from commit 5b9239a95b8cbbeec61e8508538d4aa0da5f469f)

12 months agolighttpd: update to lighttpd 1.4.73 release hash
Glenn Strauss [Tue, 31 Oct 2023 05:09:38 +0000 (01:09 -0400)]
lighttpd: update to lighttpd 1.4.73 release hash

* update to lighttpd 1.4.73 release hash
* update maintainer

Signed-off-by: Glenn Strauss <gstrauss@gluelogic.com>
(cherry picked from commit f3e26bef52ef4c401a3a582b839bc632376d4de7)

12 months agopython-incremental: Update to 22.10.0, redo patch, add host build
Jeffery To [Mon, 20 Feb 2023 01:22:31 +0000 (09:22 +0800)]
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 8d81b6732757abca7e58c13508689954ea915209)

12 months agopython-pytest: Update to 7.3.0
Jeffery To [Sun, 19 Feb 2023 16:52:53 +0000 (00:52 +0800)]
python-pytest: Update to 7.3.0

This also removes BROKEN from the package.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit c7820e4fb134a11f91307e8a0645df6a2d986af9)

12 months agopython-pluggy: Update to 1.0.0, add host build, add myself as maintainer
Jeffery To [Sun, 19 Feb 2023 09:19:44 +0000 (17:19 +0800)]
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>
(cherry picked from commit b453daa336edba33d6f8a4faaf1f1bdb6856c539)

12 months agopython-flit-scm: Add new host-only package
Jeffery To [Tue, 28 Feb 2023 11:39:38 +0000 (19:39 +0800)]
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>
(cherry picked from commit bbc9b144700accb5041e34c27ab53265c1290495)

12 months agopython-pycrate: Update to 0.6.0
Jeffery To [Mon, 6 Mar 2023 03:32:54 +0000 (11:32 +0800)]
python-pycrate: Update to 0.6.0

This also changes the download to PyPI and updates several package
makefile fields.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 550c29368e2c7c14d26a6dc214c167e3d70a3b2b)

12 months agopython-poetry-core: Update to 1.6.0
Jeffery To [Thu, 25 May 2023 07:30:08 +0000 (15:30 +0800)]
python-poetry-core: Update to 1.6.0

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 626c7efda92b9fc386d3e408d72f18bcd9e9d2c7)

12 months agopython-poetry-core: Add new host-only package
Jeffery To [Tue, 28 Feb 2023 11:31:50 +0000 (19:31 +0800)]
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>
(cherry picked from commit 82766de815963cf8fec3e6b3e0d6f97435aef755)

12 months agopython-pkgconfig: Add new host-only package
Jeffery To [Wed, 1 Mar 2023 06:16:40 +0000 (14:16 +0800)]
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>
(cherry picked from commit d7bc1deb0ef272fea2aa347f831e706d63c1b2eb)

12 months agolrzsz: update to v0.12.21rc and fix a CVE
Andre Heider [Sat, 14 Jan 2023 10:40:39 +0000 (11:40 +0100)]
lrzsz: update to v0.12.21rc and fix a CVE

This updates to v0.12.21rc from 1999 (sic), which was never officially
released. There're fixes in there, and it's what debian ships, so let's
use that too. While at it, use debian's autohell hack and package
description too.

Patch 1 fixes a hang with musl.
Patch 2 fixes CVE-2018-10195, add PKG_CPE_ID while at it.

Refesh the rest.

Fixes: CVE-2018-10195
Signed-off-by: Andre Heider <a.heider@gmail.com>
(cherry picked from commit 6d6c4b21b5e22a9f1058db5b61521a298e00a5f0)

12 months agopython: Add proper support for pyproject.toml-based builds
Jeffery To [Fri, 17 Feb 2023 17:13:22 +0000 (01:13 +0800)]
python: Add proper support for pyproject.toml-based builds

This removes the changes made in
61f202c0170785addbbc449e4de61cc5886f0833 and adds actual support for
pyproject.toml-based (PEP 517) builds of Python packages.

Packages can force the use of the old build process by setting
PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1; this should only be a temporary
workaround until the package can be updated/fixed to use the new build
process.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit 5156c0c82bcb18481bf588ba4b1ff67c12422a80)

12 months agopostgresql: update to version 14.9
Daniel Golle [Fri, 27 Oct 2023 21:54:05 +0000 (22:54 +0100)]
postgresql: update to version 14.9

Update to latest PostgreSQL version 14 for OpenWrt 22.03.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
12 months agoMerge pull request #22521 from mhei/22.03-php8-update-to-8.1.25
Michael Heimpold [Sat, 28 Oct 2023 07:55:58 +0000 (09:55 +0200)]
Merge pull request #22521 from mhei/22.03-php8-update-to-8.1.25

[22.03] php8: update to 8.1.25

12 months agorclone: Update to 1.64.2
Tianling Shen [Wed, 25 Oct 2023 11:40:11 +0000 (19:40 +0800)]
rclone: Update to 1.64.2

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0d6bbc3bddeb0a0c2b9daaff9d40e3e0361ee763)

12 months agorclone: Update to 1.64.1
Tianling Shen [Fri, 20 Oct 2023 08:28:20 +0000 (16:28 +0800)]
rclone: Update to 1.64.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit 0449b530ba1d75911abf52c30d3cbee056b8f7b4)

12 months agoexim: update to version 4.96.2
Daniel Golle [Mon, 23 Oct 2023 10:20:20 +0000 (11:20 +0100)]
exim: update to version 4.96.2

Fixes vulnerabilities:
 - Improper Neutralization of Special Elements (CVE-2023-42117)
 - dnsdb Out-Of-Bounds Read (CVE-2023-42119)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 86ec7b19bc5f5935152b1423bb4f450ccefaabae)

12 months agophp8: update to 8.1.25 22521/head
Michael Heimpold [Fri, 27 Oct 2023 16:33:01 +0000 (18:33 +0200)]
php8: update to 8.1.25

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
12 months agoMerge pull request #22512 from stangri/openwrt-22.03-https-dns-proxy
Stan Grishin [Thu, 26 Oct 2023 22:09:31 +0000 (16:09 -0600)]
Merge pull request #22512 from stangri/openwrt-22.03-https-dns-proxy

[22.03] https-dns-proxy: bugfix: crashes on logging from upstream

12 months agohttps-dns-proxy: bugfix: crashes on logging from upstream 22512/head
Stan Grishin [Thu, 26 Oct 2023 14:39:06 +0000 (14:39 +0000)]
https-dns-proxy: bugfix: crashes on logging from upstream

* update to 2023-10-25 upstream version which fixes the crashes on logging on ath79
* remove no longer needed 030-src-logging.c-fix-crash.patch
* update 010-cmakelists-remove-cflags.patch to work with a new version
* update 020-src-options.c-add-version.patch to work with a new version

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 6b92b6c6d27a8ec67e63a5726dee0c9e8cc2b7ec)

13 months agoMerge pull request #22490 from stangri/openwrt-22.03-https-dns-proxy
Stan Grishin [Tue, 24 Oct 2023 04:56:11 +0000 (22:56 -0600)]
Merge pull request #22490 from stangri/openwrt-22.03-https-dns-proxy

[22.03] https-dns-proxy: bugfix: prevent crashes on IPv6 systems

13 months agohttps-dns-proxy: bugfix: prevent crashes on IPv6 systems 22490/head
Stan Grishin [Tue, 24 Oct 2023 02:14:08 +0000 (02:14 +0000)]
https-dns-proxy: bugfix: prevent crashes on IPv6 systems

* update service triggers so that procd_add_raw_trigger is only
  executed on boot and not on other service actions
* remove outdated iface hotplug script

Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit 5dd08fe23f0ad376bcc3f12c7a50d7ac8c73e2bb)

13 months agopython-typing-extensions: Add host build
Jeffery To [Tue, 28 Feb 2023 08:54:39 +0000 (16:54 +0800)]
python-typing-extensions: Add host build

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit abf3f3d77c53f3c8fb564b38120366f286d5a5ed)

13 months agopython-tomli: Add new host-only package
Jeffery To [Sun, 19 Feb 2023 16:45:10 +0000 (00:45 +0800)]
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>
(cherry picked from commit 7d171049fde47161c67b2c2e905b833bc66613f0)

13 months agoshadowsocks-libev: convert to PCRE2
Christian Marangi [Mon, 9 Oct 2023 16:30:58 +0000 (18:30 +0200)]
shadowsocks-libev: convert to PCRE2

Convert package to PCRE2 by porting a pending patch from a closed PR.

The PR is old but the code never changed and is simple enough to check
the changes. The patch apply directly with no changes (aside from
commenting out the travis CI file)

The PR was never merged as PCRE2 at times was too new and they were
trying to find a better regex lib.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit db305165c9a0b9b69a83f6379d0994c3708d58e8)

13 months agoshadowsocks-libev: ACL support
Kirill Fertikov [Fri, 21 Apr 2023 19:48:21 +0000 (00:48 +0500)]
shadowsocks-libev: ACL support

Link: https://github.com/openwrt/packages/pull/20647
Signed-off-by: Kirill Fertikov <kirill.fertikov@gmail.com>
[indentation fix]
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
(cherry picked from commit d1ad585ca9aa322ac98eb664488750a50a571e97)

13 months agonet-snmp: backport patch fixing memory leak for PCRE2
Christian Marangi [Wed, 18 Oct 2023 11:25:49 +0000 (13:25 +0200)]
net-snmp: backport patch fixing memory leak for PCRE2

Backport patch fixing memory leak for PCRE2 present upstream.

Fixes: #22428
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 9f5036169175d853e2e0c76663f0bc98a8645f85)