Skip to content

[WIP]: smartdns: update to version 48.1#29665

Open
pymumu wants to merge 1 commit into
openwrt:masterfrom
pymumu:master
Open

[WIP]: smartdns: update to version 48.1#29665
pymumu wants to merge 1 commit into
openwrt:masterfrom
pymumu:master

Conversation

@pymumu

@pymumu pymumu commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

📦 Package Details

Maintainer: @pymumu
Description: upgrade smartdns to version 48.1


🧪 Run Testing Details

  • OpenWrt Version: OpenWrt SNAPSHOT (r32225-00c8b5c612)
  • OpenWrt Target/Subtarget: arm64/rk3528
  • OpenWrt Device: E20c

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

Copilot AI review requested due to automatic review settings June 7, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Updates the SmartDNS OpenWrt package to a newer upstream release and introduces an optional smartdns-ui package that builds/installs a Rust-based plugin plus web UI assets.

Changes:

  • Bump smartdns from 46.1 to 48.1 (source URL + hash updated).
  • Add smartdns-ui subpackage with Rust host tooling integration and web UI download/build steps.
  • Adjust packaging metadata by factoring common package fields into Package/smartdns/default and adding libatomic dependency.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread net/smartdns/Makefile Outdated
Comment thread net/smartdns/Makefile
Comment thread net/smartdns/Makefile
Comment thread net/smartdns/Makefile Outdated
Comment thread net/smartdns/Makefile
Comment thread net/smartdns/Makefile
Comment thread net/smartdns/Makefile
@pymumu pymumu force-pushed the master branch 5 times, most recently from a5c53a3 to 1ebea16 Compare June 7, 2026 12:48
@pymumu pymumu requested a review from Copilot June 7, 2026 12:50

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 6 comments.

Comment thread net/smartdns/Makefile Outdated
Comment on lines +12 to +15
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git
PKG_SOURCE_VERSION:=64fc9f20fba0e14cb118fe7f145557971cafd858
PKG_MIRROR_HASH:=skip
Comment thread net/smartdns/Makefile
Comment on lines +100 to +104
define Build/Compile/smartdns-webui
which npm || (echo "npm not found, please install npm first" && exit 1)
npm install --prefix $(PKG_BUILD_DIR)/smartdns-webui/
npm run build --prefix $(PKG_BUILD_DIR)/smartdns-webui/
endef
Comment thread net/smartdns/Makefile
Comment on lines +123 to +126
define Build/Prepare
$(call Build/Prepare/Default)
$(TAR) -C $(PKG_BUILD_DIR)/ -xf $(DL_DIR)/$(SMARTDNS_WEBUI_FILE)
endef
Comment thread net/smartdns/Makefile
Comment on lines +100 to +104
define Build/Compile/smartdns-webui
which npm || (echo "npm not found, please install npm first" && exit 1)
npm install --prefix $(PKG_BUILD_DIR)/smartdns-webui/
npm run build --prefix $(PKG_BUILD_DIR)/smartdns-webui/
endef
Comment thread net/smartdns/Makefile Outdated
Comment on lines +88 to +90
define Package/smartdns-ui/conffiles
/etc/config/smartdns
endef
Comment thread net/smartdns/Makefile
Comment on lines +111 to +121
define Download/smartdns-webui
FILE:=$(SMARTDNS_WEBUI_FILE)
PROTO:=$(SMARTDNS_WEBUI_SOURCE_PROTO)
URL:=$(SMARTDNS_WEBUI_SOURCE_URL)
MIRROR_HASH:=$(SMARTDNS_WEBUI_HASH)
VERSION:=$(SMARTDNS_WEBUI_SOURCE_VERSION)
HASH:=$(SMARTDNS_WEBUI_HASH)
SUBDIR:=smartdns-webui
endef
$(eval $(call Download,smartdns-webui))

Signed-off-by: Nick Peng <pymumu@gmail.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.

Comment thread net/smartdns/Makefile
Comment on lines +96 to +99
define Build/Compile/smartdns-webui
$(STAGING_DIR_HOSTPKG)/bin/npm ci --prefix $(SMARTDNS_WEBUI_BUILD_DIR) --no-audit --no-fund
$(STAGING_DIR_HOSTPKG)/bin/npm run build --prefix $(SMARTDNS_WEBUI_BUILD_DIR)
endef
Comment thread net/smartdns/Makefile
Comment on lines +31 to 34
PKG_BUILD_DEPENDS:=PACKAGE_smartdns-ui:rust/host PACKAGE_smartdns-ui:node/host

include ../../lang/rust/rust-package.mk
include $(INCLUDE_DIR)/package.mk
Comment thread net/smartdns/Makefile
Comment on lines 25 to 27
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>
PKG_LICENSE:=GPL-3.0-or-later
PKG_LICENSE_FILES:=LICENSE
Comment thread net/smartdns/Makefile
Comment on lines +125 to +131
define Build/Compile
$(call Build/Compile/Default,smartdns)
ifdef CONFIG_PACKAGE_smartdns-ui
$(call Build/Compile/smartdns-ui)
$(call Build/Compile/smartdns-webui)
endif
endef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants