Compare commits

...

4 commits

Author SHA1 Message Date
e6dbb84539 Merge commit '0befad0eae' 2025-10-13 05:05:07 +00:00
0befad0eae Squashed 'luci-app-smartdns/' changes from 26e7e29..d6163f5
d6163f5 chore(i18n): Update PO files
751827d luci: add `-fallback` option to upstream dns server

git-subtree-dir: luci-app-smartdns
git-subtree-split: d6163f5fccb4e72e95632738678e5b9ab1df2454
2025-10-13 05:05:07 +00:00
414da103ec Merge commit '3e338ef4ee' 2025-10-13 05:05:02 +00:00
3e338ef4ee Squashed 'smartdns/' changes from f7ef021..d7fafa4
d7fafa4 Fix build failure issue with latest openwrt.

git-subtree-dir: smartdns
git-subtree-split: d7fafa4112ab0a3b2183ce98c64461f43aee1ad5
2025-10-13 05:05:02 +00:00
4 changed files with 732 additions and 628 deletions

View file

@ -1038,6 +1038,13 @@ return view.extend({
return true;
}
// fallback
o = s.taboption("advanced", form.Flag, "fallback", _("Fallback"),
_("Mark this server as a fallback server, use it only when default servers fail."))
o.default = o.disabled
o.rmempty = true
o.modalonly = true
// other args
o = s.taboption("advanced", form.Value, "addition_arg", _("Additional Server Args"),
_("Additional Args for upstream dns servers"))

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -108,6 +108,7 @@ define Build/Compile/smartdns-ui
CARGO_BUILD_ARGS="$(if $(strip $(RUST_PKG_FEATURES)),--features "$(strip $(RUST_PKG_FEATURES))") --profile $(CARGO_PKG_PROFILE)"
+$(CARGO_PKG_VARS) CARGO_BUILD_ARGS="$(CARGO_BUILD_ARGS)" CC=$(TARGET_CC) \
PATH="$$(PATH):$(CARGO_HOME)/bin" \
AWS_LC_SYS_CFLAGS="-O0" \
make -C $(PKG_BUILD_DIR)/plugin/smartdns-ui
endef