Commit Graph

34393 Commits

Author SHA1 Message Date
Ulrich Stark
ac8b481f1d ccrypt: fix compilation with gcc15
gcc15 is using iso9899:2024 by default.
ccrypt fails to compile with it.
--> use previous standard "-std=c17" instead.
Ref.: https://github.com/openwrt/packages/issues/27112

Signed-off-by: Ulrich Stark <pwned-pixel@posteo.de>
2025-08-10 23:21:53 +03:00
Michael Heimpold
331c6bc7ca php8: link PCRE2 JIT usage to actual library configuration
libpcre2's JIT support is controlled with a compile-time flag.
When PHP is compiled against it (external libpcre2 - not PHP's bundled
version) as in our use-case, then it tries to auto-detect whether
JIT support is enalbed or not - but this is done based on a guess
when cross-compiling.

So instead of guessing, we need to tell the actual OpenWrt configuration
of libpcre2 to PHP.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-08-09 22:29:01 +02:00
John Audia
0a0f2e884c gperftools: bump to version 2.17
Changelog: https://github.com/gperftools/gperftools/releases/tag/gperftools-2.17

Add patch to fix build of some ARM toolchains

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-08-09 11:39:49 +02:00
Richard Muzik
a162c5dddc git: update to 2.50.1
- Refresh and rebase patches

Signed-off-by: Richard Muzik <richard.muzik@turris.com>
2025-08-09 15:31:38 +08:00
Richard Muzik
e09ffebce1 python-twisted: Update to 25.5.0
This update fixes CVE-2024-41810 and CVE-2024-41671 [1]. For the full
changelog see NEWS [2].

Additionally changed the way the test files are omitted from patch file
to filespec in the Makefile.

[1] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst#twisted-2470-2024-08-08
[2] https://github.com/twisted/twisted/blob/twisted-25.5.0/NEWS.rst

Signed-off-by: Richard Muzik <richard.muzik@turris.com>
2025-08-08 13:50:28 +02:00
Tianling Shen
1dc51297e5 cloudreve: Update to 4.4.1
Release note: https://github.com/cloudreve/cloudreve/releases/tag/4.4.1

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-07 21:49:35 +02:00
Thibaut VARÈNE
3d76208b4d uspot: update to Git HEAD (2025-08-07)
e2e3c649ab80 README update
18e6bcc14cc2 uspot/portal: urldecode FORM POST data
bf6051dba822 uspot/handler-uam: accept /login endpoint
32273591d8d5 uspotfilter: provide peer_lookup answers only for known clients
b0aeef9973a9 README: clarify uam vs radius mode features
b7b0d0efb0e2 uspot: improve config documentation
bce68a97fad8 captive: rename to 'uspot'
da6ca713e15d uspot: client_remove(): pass device to ratelimit client_delete()
3ebfe262bfb1 uspot: remove unused radius_call() args
691d73aa00dc uspot: let radius_init() set all required payload members
be50a66b777f uspot: allow setting global bandwidth limits
4851ada4b0c0 uspot: send Called-Station-Id in Acct-On/Off requests
0974fc8d47ac Implement uspot-bpf, an eBPF traffic counter
e99809f97e34 introduce uspotbpf.uc
7f6f43883568 uspotbpf: work around ucode-mod-bpf bug
319e0c285afb uspot: hook traffic accounting
ccf3fa9b8e83 uspot: client_interim(): remove dead code
0e92cc9f6e75 uspotbpf: fix priority conflict with ratelimit
55d40a8794b6 uspot: implement traffic limiting
b05257e862cb uspot: implement swapio
e83f95081c21 uspot: radius_acct(): don't needlessly call uspotfilter
442cff773220 uspotfilter: cleanup unused API
7878d512cd21 handler-api: include 'seconds-remaining' only if not captive
cca6d218a6a7 handler-api: implement 'bytes-remaining'
e8cf3d08ac64 uspot: start(): ratelimit clearing is independent from RADIUS accounting
6d12a2da5b20 README update
bf6364cb61ea config: clarify units for acct_interval
8133b8cd215e uspot: implement state_get()/state_set()
094825fdfe68 radius-client: lowercase non-attribute JSON members
de70c588c2e3 radius-client: add error reporting
ebe9eac34f5b radius: add option for udp or tcp connection
d6b338d5d194 uspot: support RadSec with PSK authentication
53de77512159 uspot: validate config
d0578f740111 uspot: don't store debug data through uspotfilter
fe4fa5e8a25f uspot.init: rename DAS instance
bd1fbe481da3 README update
76a03155db44 uspot: add support for secondary RADIUS servers
694ff75f4fcc uspot: remove 'final_redirect_url' config option
a347454db08c handler: redirect UAM connected clients to the 'res=already' UAM url
0ea8f9bec545 handlers: simplify auth check
f69e1df8db0f Improve RADIUS error handling and reporting
34216b56b9ed src/CMakeLists: disable -Werror
8599a968877b Makefile: sync with OpenWrt repo

Update Makefile to reflect addition of the eBPF module and other changes
in the package

Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
2025-08-07 22:31:39 +08:00
Ian Ladd
51e254cc29 ulogd: bump to version 2.0.9
Bump ulogd to version 2.0.9

Signed-off-by: Ian Ladd <ianwladd@gmail.com>
2025-08-07 10:07:59 +03:00
Rosen Penev
d791c150fc perl-xml-parser: fix host expat paths
expat is installed in host, not hostpkg.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-08-06 21:58:25 +08:00
George Sapkin
47644ba468 syncthing: fix discovery and relay extra args
Update configuration option examples.

Fixes: #26952
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-06 21:54:28 +08:00
Gregory Gullin
654fa2f5f3 sing-box: update to 1.12.0
changelog: https://github.com/SagerNet/sing-box/releases/tag/v1.12.0

Signed-off-by: Gregory Gullin <garuwex@gmail.com>
2025-08-06 21:53:43 +08:00
Bruce Chen
99f17e3526 aliyun-cli: update to 3.0.294
Changelog:
https://github.com/aliyun/aliyun-cli/releases/tag/v3.0.294

Signed-off-by: Bruce Chen <a805899926@gmail.com>
2025-08-06 21:50:28 +08:00
George Sapkin
754a9908f4 adguardhome: run as an unprivileged user
Run AdGuard Home without superuser privileges, by granting the binary
capabilities through ujail.

AdGuard Home writes new config files, so it must have r/w access to the
directory where these files live. Which means existing configs must be
migrated to a new directory, /etc/adguardhome, by default.

CAP_NET_BIND_SERVICE and CAP_NET_RAW capabilities are based on the
official documentation linked below.

Link: https://github.com/AdguardTeam/AdGuardHome/wiki/Getting-Started#running-without-superuser-linux-only
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-06 21:49:54 +08:00
Petr Štetiar
79f78c0e77 kmod: fix build failure in install step over dirty build dir
When building kmod-32 package for the first time (clean build_dir), it
builds and installs fine. When building for 2nd time, sometimes
(probably some race condition?) it fails to build in install step with
following error:

  for tool in insmod lsmod rmmod depmod modprobe modinfo; do \
  	ln -s kmod /tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/$tool; \
  done
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/insmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/lsmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/rmmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/depmod': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/modprobe': File exists
  ln: failed to create symbolic link '/tmp/build_dir/target-aarch64_cortex-a73+neon-vfpv4_musl/kmod-32/ipkg-install/usr/bin/modinfo': File exists

Lets fix it by backporting upstream fix.

Fixes: #27171
Link: https://lore.kernel.org/r/20240306145804.135709-1-lucas.de.marchi@gmail.com
Upstream-Status: Backport [c5054b2150]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2025-08-06 14:38:38 +02:00
Tianling Shen
77783f9706 cloudreve: Update to 4.4.0
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-06 18:58:36 +08:00
Wesley Gimenes
0934d86240 CONTRIBUTING.md: accept only real names in the SoB
Follow the rule from the Submission Guidelines:
https://openwrt.org/submitting-patches#submission_guidelines

And the shared formal check:
ba03db3b5a/.github/workflows/formal.yml (L37-L43)

And this commit 07c1218009

Signed-off-by: Wesley Gimenes <wehagy@proton.me>
2025-08-05 21:08:01 +02:00
S. Brusch
e9861d554c crowdsec-firewall-bouncer: update to 0.0.34
Description:
updated to new upstream release version 0.0.34

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

Signed-off-by: S. Brusch <ne20002@gmx.ch>
2025-08-05 20:27:18 +03:00
Stan Grishin
b8fa681098 adblock-fast: bugfixes: status & TLD check with unbound
fixes: https://github.com/openwrt/packages/issues/27146
supercedes: https://github.com/openwrt/packages/pull/27159

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-08-05 09:16:33 -07:00
George Sapkin
810341cf33 sqlite3: bump to 3.50.4
Changelog: https://sqlite.org/releaselog/3_49_2.html
Changelog: https://sqlite.org/releaselog/3_50_0.html
Changelog: https://sqlite.org/releaselog/3_50_1.html
Changelog: https://sqlite.org/releaselog/3_50_2.html
Changelog: https://sqlite.org/releaselog/3_50_3.html
Changelog: https://sqlite.org/releaselog/3_50_4.html
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-05 16:24:14 +08:00
George Sapkin
5b8e0fd464 sqlite3: require matching lib version in shell
Shell expects a matching library version to be installed. Specify a
matching version using EXTRA_DEPENDS.

Signed-off-by: George Sapkin <george@sapk.in>
2025-08-05 16:24:14 +08:00
George Sapkin
d066a4d046 sqlite3: fix CI test
Fixes: b2d2ba8ae ("sqlite3: add CI version check")
Signed-off-by: George Sapkin <george@sapk.in>
2025-08-05 16:24:14 +08:00
Bruce Chen
682b773a21 aliyun-cli: update to 3.0.292
Changelog:
https://github.com/aliyun/aliyun-cli/releases/tag/v3.0.292

Signed-off-by: Bruce Chen <a805899926@gmail.com>
2025-08-05 16:23:30 +08:00
Tianling Shen
1f4064269f openlist: Update to 4.1.0
Release note: https://github.com/OpenListTeam/OpenList/releases/tag/v4.1.0

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-05 14:50:04 +08:00
Tianling Shen
aed04bda17 xray-core: Update to 25.8.3
Release note: https://github.com/XTLS/Xray-core/releases/tag/v25.8.3

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-05 14:49:41 +08:00
Qian Suyao
65a9d7d450 ddns-scripts: fix getting IP address via web in get_current_ip()
Add back the regex searching for valid IP address when getting IP
address via web.

Fixes: 9cdd1a1660 ("ddns-scripts: refactor get_current_ip()")
Signed-off-by: Qian Suyao <qiansuyao@gmail.com>
2025-08-05 08:37:41 +02:00
Dirk Brenken
ac1076ef95 banIP: update 1.5.6-7
* skip rdap requests/replies with placeholders for all IPv4/IPv6 addresses
* sanitize possible bogus config values, e.g. '/dev/null' as a directory
* change URL for beycyber feed

Signed-off-by: Dirk Brenken <dev@brenken.org>
2025-08-04 20:53:59 +02:00
Jan Hák
08e4df89b0 knot: update to version 3.4.8
Release notes: https://www.knot-dns.cz/2025-07-29-version-348.html

Signed-off-by: Jan Hák <jan.hak@nic.cz>
2025-08-04 20:41:30 +02:00
Florian Eckert
d4d34ef8fb mwan3: remove Aaron Goodman as PKG_MAINTAINER
I received an email from Aaron Goodman saying that he is no longer working
with mwan3 and asking me to remove him from the PKG_MAINTAINER list.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-08-04 08:54:56 +02:00
Vladimír Čunát
47f8b88f43 knot-resolver: update DNSSEC root trust anchors
This is long overdue.  Honestly I dislike that packaging
is hardcoding it this way.  It's error-prone, as we can see.
Knot Resolver source does contain the up to date anchors,
and it also (optionally) installs them.  Still, I'm not up to
larger changes in OpenWrt packaging right now.

Signed-off-by: Vladimír Čunát <vladimir.cunat@nic.cz>
2025-08-04 08:19:11 +02:00
Vladimír Čunát
4f22b4dceb knot-resolver: update to version 5.7.6
Knot Resolver 5.7.6 (2025-07-17)
================================

Security
--------
- DoS: fix a rare segfault in `resolve` function (!1720)
  Someone controlling the DNS traffic might be able
  to trigger this crash intentionally and too often.
- DoS: drop a wrong assertion/crash (!1721)
  Someone controlling the DNS traffic will most likely be able
  to trigger this crash intentionally and too often.

Knot Resolver 5.7.5 (2025-04-24)
================================

Security
--------
- DoS: fix unconfirmed crashes with the line below (!1683)
  [system] requirement "h && h->end > h->begin" failed in queue_pop_impl

Improvements
------------
- tests: disable problematic config.http test (#925, !1678)
- validator: accept a confusing NODATA proof with insecure delegation (!1678)

Bugfixes
--------
- daemon/http: DoH stream got stuck after returning an error code (!1652)
- stats: request latency was very incorrect in some cases (!1678)

Signed-off-by: Vladimír Čunát <vladimir.cunat@nic.cz>
2025-08-04 08:19:11 +02:00
Tianling Shen
c8ad05854d golang: disable build for powerpc64
e5500 is the only powerpc64 target we have in tree, but it's not
supported by golang[1]. Since it's hard to opt e5500 out from the
supported arch list, simply remove powerpc64 from it for now.

1. https://github.com/golang/go/issues/19074

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-04 12:50:19 +08:00
Philip Prindeville
260f4196d0 clixon: Update to 7.5.0
Several new features including NACM support for mountpoints.  See
CHANGELOG.md

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2025-08-03 14:16:37 -06:00
Philip Prindeville
fce7579775 cligen: Update to 7.5.0
"const" patches still haven't been upstreamed.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
2025-08-03 14:16:37 -06:00
Etienne Champetier
8ae00f92b3 mwan3: handle missing interface gracefully
`ubus.call(sprintf('network.interface.%s', ifname), 'status', {})`
returns null if the interface `ifname` doesn't exists (yet).

For pppoe interfaces using `option ipv6 auto`, a virtual interface suffixed `_6`
is automatically created once the connection is established,
but until then it doesn't exists.

Fixes: 6423781254 ("mwan3: reimplement rpcd plugin using ucode")

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-03 14:24:52 -04:00
Rosen Penev
cf6ef1ac5a mariadb: update to 11.4.7
Use upstream solutions to local patches.

Remove test.sh as it's broken.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-08-03 13:41:51 +08:00
Ray Wang
4c73e7f8bf hev-socks5-tunnel: update to 2.13.0
Upstream changelog:
https://github.com/heiher/hev-socks5-tunnel/releases/tag/2.13.0

Signed-off-by: Ray Wang <git@hev.cc>
2025-08-03 13:35:30 +08:00
Tianling Shen
de90925852 rpcsvc-proto: Update to 1.4.4
Remove unneeded autoreconf.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2025-08-02 23:12:25 +08:00
John Audia
35209ac249 modemmanager: change permissions on dbus file
/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf needs to be 644
so that it can be read to prevent the following since dbus runs as an
unprivileged user:

dbus-daemon[12465]: Encountered error 'Failed to open "/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf": Permission denied' while parsing '/etc/dbus-1/system.d/org.freedesktop.ModemManager1.conf

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-08-02 14:26:21 +02:00
Rosen Penev
125bee220d screen: update to 5.0.1
Fixes compilation with GCC15.

Remove upstreamed patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2025-08-02 16:59:40 +08:00
John Audia
78bdf21e79 dbus: use pid file owned by dbus
Switching to the dbus user in edc5a534 also needed to redefine the
location of dbus.pid into the directory under its ownership. This
commit fixes that omission.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-08-01 23:35:41 +02:00
Stan Grishin
a94c5fac4b adblock-fast: update to 1.1.4-4
Makefile:
  - bugfix: change references to melmac.net to melmac.ca

README:
  - add basic README with the link to full documentation

Config:
  - add heartbeat_domain
  - add heartbeat_sleep_timeout
  - add sanity_check
  - add update_config_sizes

Init Script:
  - a lot of visual output improvements, especially with verbosity=2
  - better output separation for different verbosity levels
  - removed unneeded runningErrorFile
  - bugfix: updated runningConfigFile
  - updated runningStatusFile and added runningStatusFileLock
  - moved append_url() higher up for better visibility
  - refactor force-redownload/restart on some config changes functionality
  - improve count_blocked_domains
  - add internal debug_log() for debugging functions where output is captured
  - unified all json add/get calls in the same formatting
  - major rework on json() to allow storing of error/warning messages as json objects
  - added some error/warning messages
  - renamed `cache()` function to `adb_file()` to better reflect functionality
  - added functionality to test the dnsmasq config before restarting dnsmasq with ad-blocking
  - added functionality to throw warnings if TLDs or leading-dot domains are discovered
    in the final block-list file (can be disabled by `sanity_check` option)
  - added functionality to test DNS resolution after resolver restart with `heartbeat_domain`
    for `heartbeat_sleep_timeout` seconds
  - added functionality to revert the resolver's config/ad-blocking if heartbeat domain cannot
    be resolved after resolver restart
  - added `ALLOWED_TMP` variable/file for better processing of external allow-lists
  - added debug output to log with the elapsed time for each step of processing
  - drastically improved final block-list optimization with the new awk script
  - minor other performance improvements
  - added check_tld/check_leading_dot CLI commands to show domains breaking sanity checks
  - added validate functions to triggers

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-08-01 13:31:40 -05:00
Stan Grishin
f5381d849d pbr: update to 1.1.8-32
Makefile:
  - add SPDX-Identifier-License
  - update Copyright

README:
  - add basic README with the link to full documentation

Config:
  - add debug_dnsmasq
  - add procd_boot_trigger_delay

Init Script:
  - move extra_command calls high up for visibility
  - bump packageCompat to sync with luci app
  - implement support for debug_dnsmasq to dump dnsmasq debug into $packageDebugFile
  - create $runningStatusFile json-file allowing more verbose errors/warnings messages
  - replaced `state add` calls with json add calls to store errors/warnings messages
  - remove no longer needed errorSummary, warningSummary
  - ensure environment is only loaded once per run via $load_environment_flag
  - bugfix: update is_{host,hostname,domain,ipv4,mac_address} functions to properly sort policy entries
  - bugfix: change references to melmac.net to melmac.ca
  - add some new error/warning messages
  - add delay before service is started on boot via procd_boot_trigger_delay
  - bugfix: add logic to identify unknown policy entries instead of silently failing on them
  - store error/warning messages as json objects in ubus data for luci app
  - update load_validate_config with debug_dnsmasq and procd_boot_trigger_delay entries

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2025-08-01 13:31:34 -05:00
Etienne Champetier
6423781254 mwan3: reimplement rpcd plugin using ucode
On my "test" router (5 wans, 2 tracking ips per wan), before any rework,
prometheus-node-exporter-lua mwan3 average scraping time was 1230ms
(scraping only the interfaces), after optimizing the shell version,
average time was down to 485ms, with ucode we are now at 41ms.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
bfdbacca56 mwan3: remove call to network_is_up
It calls jsonfilter but can be avoided as we know
network is up if uptime is present.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
a6a7f0b21b mwan3: return via variable
Using $(...) to call an internal function causes a fork().
Pass the name of the return variable as first parameter,
and write to it using 'export -n'.

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
ecd2470ddb mwan3: replace $(cat ..) with readfile
Remove a fork+exec

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
de98fdebef mwan3: remove pgrep usage
pgrep is pretty slow as it needs to read all /proc/*/cmdline
or /proc/*/status, and it's called twice per wan.
Add STARTED and PID files to speedup mwan3_get_mwan3track_status().

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
f93b00fa68 mwan3: add new readfile function to speedup variable read from file
This is a preparation for adding an utility function readfile() to read
directly to a variable. Using '$(cat ...)' causes a fork/execve which is
extremely slow just to read '~2' chars.

(commit message from Florian Eckert)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Etienne Champetier
50be11c618 mwan3: simplify how we kill subprocs
Just use 'job -p' to list the subprocesses currently running,
so we do not needed the global variables TRACK_PID and SLEEP_PID anymore

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2025-08-01 13:03:01 +02:00
Liangbin Lian
68c60fdc5d openlist: Remove dependency on fuse
Fixes https://github.com/openwrt/packages/issues/27011

Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2025-08-01 13:23:24 +08:00