feed/packages.git
3 months agozabbix: update to 6.2.3
Scott Roberts [Mon, 26 Sep 2022 15:41:21 +0000 (09:41 -0600)]
zabbix: update to 6.2.3

Refreshed patches.

Signed-off-by: Scott Roberts <ttocsr@gmail.com>
(cherry picked from commit 475d1cc0e9e061551b6bc227d32c4da5a66a4a3e)

3 months agozabbix: add fping dependency
Florian Eckert [Wed, 3 Aug 2022 07:36:05 +0000 (09:36 +0200)]
zabbix: add fping dependency

If fping is not installed on the system the following message is show if
hosts should be monitored via icmp.

Log-Message:
"At least one of '/usr/sbin/fping', '/usr/sbin/fping6' must exist. Both
are missing in the system."

To fix this also, add a dependency to 'fping' for 'zabbix-server' and
'zabbix-proxy' for installation to allow icmp hosts monitoring.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(cherry picked from commit 672a655d6bdccee30d5779a1348a42e4f34b850f)

3 months agounbound: fix `create_host_record_from_host` error when `dns` is not set
Julien Cassette [Tue, 21 Nov 2023 08:43:29 +0000 (09:43 +0100)]
unbound: fix `create_host_record_from_host` error when `dns` is not set

The function `create_host_record_from_host` fails if the `dns` option
is not set in the host entry.
This sets a default to the `dns` variable in order to fix this error.

Fixes: #22691
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
(cherry picked from commit 8d60419251b2c94f87425f41ce49214771d2bf6a)

3 months agounbound: create extra host records from DHCP static leases
Julien Cassette [Fri, 3 Nov 2023 17:42:48 +0000 (18:42 +0100)]
unbound: create extra host records from DHCP static leases

The "Extra DNS" option allows to create records from the DHCP
"Hostnames" configuration entries.
This allows to create such records from the DHCP "Static leases"
configuration entries too.

Fixes: #22593
Signed-off-by: Julien Cassette <julien.cassette@gmail.com>
(cherry picked from commit b4a31f92deb8de923d6bc6fb12506e24f4475581)

3 months agounbound: update to 1.19.0
Eric Luehrsen [Fri, 10 Nov 2023 20:58:15 +0000 (15:58 -0500)]
unbound: update to 1.19.0

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
(cherry picked from commit 183f1662795930f846e497be7530e0474c7eff0e)

3 months agounbound: update to 1.18.0
Eric Luehrsen [Wed, 6 Sep 2023 03:49:41 +0000 (23:49 -0400)]
unbound: update to 1.18.0

Signed-off-by: Eric Luehrsen <ericluehrsen@gmail.com>
(cherry picked from commit 03f70dcfd530560c088f05819a11715286ce45d9)

3 months agoUnbound: Silence SSL unexpected eof messages
Ted Hess [Thu, 17 Aug 2023 22:20:54 +0000 (18:20 -0400)]
Unbound: Silence SSL unexpected eof messages

Refs: https://github.com/NLnetLabs/unbound/issues/812
      https://github.com/NLnetLabs/unbound/issues/846

This is a backport of: https://github.com/NLnetLabs/unbound/commit/d7e7761
and can be removed with the next release/update of the Unbound package

Signed-off-by: Ted Hess <thess@kitschensync.net>
(cherry picked from commit 2a71e17ca12341682430e587889d8fb7af58ae30)

3 months agohtop: update to 3.3.0
John Audia [Thu, 11 Jan 2024 20:28:22 +0000 (15:28 -0500)]
htop: update to 3.3.0

Changelog: https://github.com/htop-dev/htop/compare/3.2.2...3.3.0

Build system: x86/64
Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 3ee7b46610e9dbd8fd2bba87bd06024cd0d9c08f)

3 months agoyt-dlp: bump to version 2023.12.30
Alexander Egorenkov [Sun, 31 Dec 2023 10:57:42 +0000 (11:57 +0100)]
yt-dlp: bump to version 2023.12.30

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit 5d3424f992b09602f2abd4e71cb163a3af8f3e7c)

3 months agoyt-dlp: bump to version 2023.11.16
Alexander Egorenkov [Sun, 29 Oct 2023 12:42:34 +0000 (13:42 +0100)]
yt-dlp: bump to version 2023.11.16

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
(cherry picked from commit 707e87884d67650c26fda2c30c790d5832e319d7)

3 months agoyt-dlp: add missing dependencies
Rani Hod [Wed, 19 Jul 2023 15:20:09 +0000 (18:20 +0300)]
yt-dlp: add missing dependencies

Added missing python3-{logging,uuid} dependencies.

Signed-off-by: Rani Hod <rani.hod@gmail.com>
(cherry picked from commit 40a680ffd7d155798123a9eadcc3411f7a201259)

3 months agoiperf3: update to 3.16
Jonas Jelonek [Fri, 1 Dec 2023 21:37:39 +0000 (22:37 +0100)]
iperf3: update to 3.16

notable changes:
- multithreading support

changelog: https://github.com/esnet/iperf/releases/tag/3.16

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
(cherry picked from commit bdb6d2a37fda8daa3a2e02af20f0f582dc6e5d7b)

3 months agoiperf3: Fix dependecy conflict with iperf3-ssl
Jakub Raczynski [Wed, 18 Oct 2023 10:03:39 +0000 (10:03 +0000)]
iperf3: Fix dependecy conflict with iperf3-ssl

When selecting both iperf3 and iperf3 ssl, there is a problem that
both packages install same binary file.
This patch fixes this issue by adding conflict between those packages.

Signed-off-by: Jakub Raczynski <myszsoda@gmail.com>
(cherry picked from commit cea45c75c0153a190ee41dedaf6526ae08e33928)

3 months agonet/iperf3: assign PKG_CPE_ID
Alexander Couzens [Mon, 18 Sep 2023 22:54:52 +0000 (00:54 +0200)]
net/iperf3: assign PKG_CPE_ID

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
(cherry picked from commit e97f763a7281b543dfb9709cf84da97f28bbf0db)

3 months agoiperf3: update to 3.15
Leo Douglas [Fri, 15 Sep 2023 02:32:57 +0000 (10:32 +0800)]
iperf3: update to 3.15

see changelog: https://github.com/esnet/iperf/releases/tag/3.15.

Signed-off-by: Leo Douglas <douglarek@gmail.com>
(cherry picked from commit 8a223d4724d996db13bc8077035b27562b5e8fbd)

3 months agoiperf3: update to 3.14
John Audia [Mon, 10 Jul 2023 10:17:44 +0000 (06:17 -0400)]
iperf3: update to 3.14

Release Notes:
https://github.com/esnet/iperf/blob/master/RELNOTES.md

Signed-off-by: John Audia <therealgraysky@proton.me>
(cherry picked from commit 8c0afc4cabdba316835706e06919271bd7f13a62)

3 months agoiperf3: update to 3.13
Nick Hainke [Wed, 26 Apr 2023 06:21:25 +0000 (08:21 +0200)]
iperf3: update to 3.13

Release Notes:
https://software.es.net/iperf/news.html#iperf-3-13-released

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 1bfd2f7adeaafb317345af41f472564d9ae28a79)

3 months agoiperf3: update to 3.12
Nick Hainke [Fri, 7 Oct 2022 08:25:06 +0000 (10:25 +0200)]
iperf3: update to 3.12

Release Notes:
https://groups.google.com/g/iperf-dev/c/_DgSWrpl9Gk?pli=1

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit 431016a23d55469c2028ca74d6c44f0026abcdfc)

3 months agoiperf3: fix install section of Makefile and dependencies
Nick Hainke [Wed, 14 Sep 2022 20:46:09 +0000 (22:46 +0200)]
iperf3: fix install section of Makefile and dependencies

In the Makefile the library installation was accidentally called
"Package/iperf3/install" and not "Package/libiperf3/install". Fix this
typo. Thanks to Hartmut spotting this.

Also the iperf3-ssl does not need to depend on libiperf3.

Fixes ae48be8e2157 ("iperf3: add shared libiperf library and link iperf3 dynamically")

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit dc59d98c2ca24a077a9f5f135b86e9737fa6780e)

3 months agoiperf3: add shared libiperf library and link iperf3 dynamically
Nick Hainke [Sun, 11 Sep 2022 12:31:33 +0000 (14:31 +0200)]
iperf3: add shared libiperf library and link iperf3 dynamically

Add library for creating own functions with iperf3 functionality.
Example: https://github.com/esnet/iperf/blob/master/examples/mis.c
This library is needed by python3-iperf3.

Build iperf3 binary with dynamically linked libiperf3. However, still
build iperf3-ssl as static binary due to a lack of shipping two libiperf
versions.

Signed-off-by: Nick Hainke <vincent@systemli.org>
(cherry picked from commit ae48be8e2157bc7c352b3b6d30c026fafdae4867)

3 months agoknot: update to version 3.3.4
Jan Hák [Mon, 29 Jan 2024 10:00:48 +0000 (11:00 +0100)]
knot: update to version 3.3.4

Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit 66c1065b453b46a709f5143459d8a4cee777f9a0)

3 months agoknot: update to version 3.3.3
Jan Hák [Wed, 13 Dec 2023 10:01:41 +0000 (11:01 +0100)]
knot: update to version 3.3.3

Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit a693dd5821b11c442bff817cbc4a8193d0367839)

3 months agoknot: update to version 3.3.2
Jan Hák [Wed, 25 Oct 2023 13:20:12 +0000 (15:20 +0200)]
knot: update to version 3.3.2

Signed-off-by: Jan Hák <jan.hak@nic.cz>
(cherry picked from commit fbfa63a03be5916873e3b2d1d17d21d1742de7de)

3 months agobind: bump to 9.18.24
Noah Meyerhans [Thu, 15 Feb 2024 17:36:41 +0000 (09:36 -0800)]
bind: bump to 9.18.24

Fixes CVEs:

- CVE-2023-50387: Validating DNS messages containing a lot of DNSSEC signatures
  could cause excessive CPU load, leading to a denial-of-service condition.
- CVE-2023-50868: Preparing an NSEC3 closest encloser proof could cause
  excessive CPU load, leading to a denial-of-service condition.
- CVE-2023-4408: Parsing DNS messages with many different names could cause
  excessive CPU load.
- CVE-2023-5517: Specific queries could cause named to crash with an assertion
  failure when nxdomain-redirect was enabled.
- CVE-2023-5679: A bad interaction between DNS64 and serve-stale could cause
  named to crash with an assertion failure, when both of these features were
  enabled.

Signed-off-by: Noah Meyerhans <frodo@morgul.net>
(cherry picked from commit d277e41e78972130f75dc816ebcbd7931f582519)

3 months agotransmission: add copy_file_range syscall to seccomp
Marius Dinu [Sun, 23 Jul 2023 17:36:02 +0000 (20:36 +0300)]
transmission: add copy_file_range syscall to seccomp

Fixes this crash:

root@RPi3OpenWrt:/# grep -i seccomp /var/log/audit/audit.log
type=SECCOMP msg=audit(1689503903.597:16): auid=4294967295 uid=224 gid=1012 ses=4294967295 pid=1752 comm="transmission-da" exe="/usr/bin/transmission-daemon" sig=31 arch=c00000b7 syscall=285 compat=0 ip=0x7fa3b0eefc code=0x80000000
root@RPi3OpenWrt:/# ausyscall 285
copy_file_range
root@RPi3OpenWrt:/#

Signed-off-by: Marius Dinu <m95d+git@psihoexpert.ro>
(cherry picked from commit f0926b44f48fa04401c660b0818e74f6b654e5bc)

3 months agopdns-recursor: update to 4.8.6 (fixes CVE-2023-50387, CVE-2023-50868)
Peter van Dijk [Tue, 13 Feb 2024 14:28:01 +0000 (15:28 +0100)]
pdns-recursor: update to 4.8.6 (fixes CVE-2023-50387, CVE-2023-50868)

Signed-off-by: Peter van Dijk <peter.van.dijk@powerdns.com>
3 months agosquid: bump to release 5.7
Eneas U de Queiroz [Thu, 9 Feb 2023 18:05:30 +0000 (15:05 -0300)]
squid: bump to release 5.7

This is the latest version and brings compatibility with OpenSSL 3.0.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
(cherry picked from commit 78dcc29e47079b6f5aad917dcdf935325b5e4fdf)

3 months agop910nd: bump release 23416/head
Paul Donald [Wed, 14 Feb 2024 22:58:07 +0000 (23:58 +0100)]
p910nd: bump release

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

3 months agop910nd: hotplug shellcheck fixes
Paul Donald [Sun, 11 Feb 2024 17:41:23 +0000 (18:41 +0100)]
p910nd: hotplug shellcheck fixes

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

3 months agop910nd: init: check device (/dev/usb/lpX) existence
Paul Donald [Sun, 11 Feb 2024 18:28:38 +0000 (19:28 +0100)]
p910nd: init: check device (/dev/usb/lpX) existence

this prevents the daemon exiting when a configured device
is not plugged in.

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

3 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)

3 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)

3 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)

3 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)

3 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)

3 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)

3 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)

3 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)

3 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)

3 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>
3 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)

3 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)

3 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

3 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)

3 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)

3 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)

3 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)

3 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)

3 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)

4 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

4 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)

4 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>
4 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)

5 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

5 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>
5 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

5 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)

5 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()

5 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)

5 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()

5 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)

5 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>
6 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>
6 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)

6 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)

6 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>
6 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

6 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>
6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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>
6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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.

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)

6 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)