Validate UCI config for syncthing service.
Switch instance name to syncthing.
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit af5999ce2a)
Validate UCI config for strelaysrv service.
Switch instance name to strelaysrv.
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit 30199decfd)
Validate UCI config for stdiscosrv service.
Change default DB directory to /etc/stdiscosrv/db.
Switch instance name to stdiscosrv.
Signed-off-by: George Sapkin <george@sapk.in>
(cherry picked from commit d26083edf8)
Watchcat was failing to restart layer-3 interfaces when in mode
'restart_iface'. The previously attempted fix made the situation
worse in that it resulted in layer 2 interfaces also failing to
start.
This was because we are passed the interface name (e.g. eth0,
l2p0, or br-lan), but ifup needs the logical network (e.g. 'lan'
which corresponds to the network device).
Update to use find_config from /lib/network/config.sh to find the
logical network from the interface name, and use ifup on the
logical network to restart the underlying interface(s) associated
with the logical network.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit c3a85b96de)
As reported in #23410 Network interface reset doesn't work as expected
on a Wireguard VPN interface and in #27927 lt2p interface won't reboot,
and mentioned in #27248, the current implementation of the option to
restart an interface when connectivity check fails for some period does
not result in an interface restart for all interface.
Notably 'virtual' interfaces such as Wireguard and L2TP do not restart.
The solution that works is to use `ifup <interface>` instead of only
changing the link status.
This commit is based on the one in #27248 by @rondoval, who unfortunately
has not updated the commit message as requested for half a year.
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 14e0e9e737)
LDLAGS -> LDFLAGS, fixes linker flags not being passed correctly.
Fixes: 94e7fbdda ("tar: import from oldpackages and upgrade to 1.28")
Signed-off-by: Qin Guang <topeqin@gmail.com>
(cherry picked from commit 11412702c9)
Current description is getting
cut off and is formatted incorrectly
in LuCI when viewing packages.
Rewrote description to shorten,
correct and provide a more
concise description that will
work in LuCI.
Signed-off-by: Joshua Criss <owlsy@outlook.com.au>
(cherry picked from commit 2b817a493a)
2026-01-30: Version 7.5.4
* Don't return an error code if a binary file is skipped.
Reverting change in 7.5.3.
* Refactored code.
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
(cherry picked from commit e0efa48e6e)
Improve the uci file coloring with nano-full.
Show unterminated strings more clearly (lightmagenta vs. white)
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit a268b500d9)
This update fixces incompatibility with python-msgpack 1.1.2.
Add missing dependency on python3-openssl and drop the optional
dependency on python-pyfuse3, which doesn't work with the current
version.
Signed-off-by: Miroslav Lichvar <mlichvar0@gmail.com>
This will activate owut in buildbot builds for targets with large flash
by default. This will integrate it into most images by default.
The buildbots already build LuCI with luci-app-attendedsysupgrade. This
adds ucode-mod-uclient and owut to the image.
These are the package sizes for mips_24kc:
29270 bin/packages/mips_24kc/packages/owut-2026.01.13~2526d84b-r1.apk
5449 bin/packages/mips_24kc/base/ucode-mod-uclient-2026.01.31~931bbfeb-r1.apk
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit 79d6046668)
* luci-app-advanced-reboot requires jq on host, this adds host build of jq
* remove maintainer
Signed-off-by: Stan Grishin <stangri@melmac.ca>
(cherry picked from commit b6c16750e5)
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Update to version 1.9.5
* Use upstream meson.build file, as they now support meson
* patch it locally to continue using static glib linking
* Disable numa, systemd and thermal functions via meson options
* Resurrect the patch to silence repetitive EINVAL warnings.
(patch was used with 1.9.3, but was not needed with 1.9.4)
Related discussion in upstream issue 336 and 349
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 99076937b1)
The domains list which this script uses isn't
updated for 5 years. We can use adblock related
packages instead of this script, so let's drop this.
Signed-off-by: Yanase Yuki <dev@zpc.st>
(cherry picked from commit 88a5c2cc28)
It seems this software is no longer maintained.
The last upstream commit is 8 years ago.
Signed-off-by: Yanase Yuki <dev@zpc.st>
(cherry picked from commit b0b7e0bc32)
Release notes:
https://lists.gnu.org/archive/html/coreutils-announce/2025-09/msg00000.htmlhttps://lists.gnu.org/archive/html/coreutils-announce/2025-11/msg00000.html
- Drop chcon and runcon as they require SELinux support and cannot be built from
coreutils 9.9 when configured with --without-selinux.
- Add libgmp dependency for coreutils-basenc to fix missing libgmp.so.10.
- Switch to -std=gnu17 to avoid build failure.
```
lib/openat-die.c: In function 'openat_save_fail':
lib/openat-die.c:37:3: error: format not a string literal and no format arguments [-Werror=format-security]
37 | error (exit_failure, errnum,
| ^~~~~
lib/openat-die.c: In function 'openat_restore_fail':
lib/openat-die.c:56:3: error: format not a string literal and no format arguments [-Werror=format-security]
56 | error (exit_failure, errnum,
| ^~~~~
```
- Refresh patch.
Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 3f2fbc888e)
- Fix posix-mode issue with "wait -n", where it can return process IDs
outside the requested set
- Do not try to use shm_open, there is too much variance in behavior
across systems
- Remove internal quoting that causes failures when expanding nested
array subscripts in an arithmetic context
- Fix issue with source when read(2) returns fewer characters than
fstat(2) says are available
- Fix crash when restoring default disposition for SIGINT in
asynchronous subshell
- Fix issues with range expressions and non-ascii characters in glob
patterns when globasciiranges is enabled
- Fix issue where nofork command substitutions can affect
redirections in the calling shell
- Fix issue with calling mbrtowc too much when translating
ansic-single-quoted strings
- Fix crash when interrupting reverse i-search with ^C
Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 4a02dcb1c3)
Refactor package variants definition to be cleaner and more robust.
E.g.:
- Remove redundant PROVIDES:=jq from the main 'jq' package (it provides
itself automatically).
- Keep PROVIDES:=jq only on the 'jq-full' variant so it can serve as a
drop-in replacement.
- Use $(CP) macro rather than $(INSTALL_BIN) to preserve symlinks on shared objects
INSTALL_BIN turns all of the symlinks to files, increasing size.
Fixes: 711a19c4b2 ("jq: provide regex support in additional package jq-full")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
(cherry picked from commit 142331bdb8)
Obsolete use of $(SDK) in configure conditionals can result in
dependency errors when building a subset of packages for packages which
have multiple sub-packages.
The reason it causes dependency issues is that (using libdbi-drivers as
an example) lines like:
ifneq ($(SDK)$(CONFIG_PACKAGE_libdbd-sqlite3),)
always evaluate to true if you are compiling in the SDK. So for a user
compiling from the SDK, the configure arguments are always added to the package build.
In the case of libdbi-drivers:
CONFIGURE_ARGS += \
--with-sqlite3 \
--with-sqlite3-incdir=$(STAGING_DIR)/usr/include \
-with-sqlite3-libdir=$(STAGING_DIR)/usr/lib
is always added even if PACKAGE_libdbd-sqlite3 is deselected. When
libdbd-sqlite3 is deselected, this dependency:
DEPENDS:=libdbi +libsqlite3
is not present, so when configure tries to find sqlite3 it fails.
Closes#28173 "tree-wide: obsolete $(SDK) in conditionals"
See also:
* "include: remove SDK exception from package install targets"
openwrt/openwrt@28f44a4
Performed tree-wide to ease revert if necessary, per:
https://github.com/openwrt/packages/issues/28173#issuecomment-3694615980
Signed-off-by: Daniel F. Dickinson <dfdpublic@wildtechgarden.ca>
(cherry picked from commit 73d8b6c6f3)