Skip to content

Commit

Permalink
chore: ipset depend only fw3 and default y for dnsmasq sets support #…
Browse files Browse the repository at this point in the history
  • Loading branch information
vernesong committed Oct 17, 2024
1 parent 0aa1c59 commit 54a9d87
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions luci-app-openclash/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,22 @@ define Package/$(PKG_NAME)/config

config PACKAGE_iptables-mod-extra
default y if ! PACKAGE_firewall4

config PACKAGE_dnsmasq_full_ipset
default y if ! PACKAGE_firewall4

config PACKAGE_dnsmasq_full_nftset
default y if PACKAGE_firewall4
endef

define Package/$(PKG_NAME)
CATEGORY:=LuCI
SUBMENU:=3. Applications
TITLE:=LuCI support for clash
PKGARCH:=all
DEPENDS:=+dnsmasq-full +coreutils +coreutils-nohup +bash +curl +ca-certificates +ipset +ip-full \
+libcap +libcap-bin +ruby +ruby-yaml +kmod-tun +unzip
DEPENDS:=+dnsmasq-full +coreutils +coreutils-nohup +bash +curl +ca-certificates +ip-full \
+libcap +libcap-bin +ruby +ruby-yaml +kmod-tun +unzip \
+!PACKAGE_firewall4:ipset
MAINTAINER:=vernesong
endef

Expand Down

0 comments on commit 54a9d87

Please sign in to comment.