From efc69b550cafe1de13c6dc92bfbc2f4b59a37949 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Fri, 1 Apr 2022 16:58:07 -0300 Subject: [PATCH] opennds: avoid circular dependency Have the package depend on @IPTABLES_NFTABLES, which is needed to be able to select iptables-nft. What you need to avoid is the selection of iptables-nft when IPTABLES_NFTABLES is not selected, since iptables-nft depends on xtables-nft, which depends on IPTABLES_NFTABLES. If you have this situation, when IPTABLES_INFTABLES is not selected, xtables-nft will not be built, but opennds will. Signed-off-by: Eneas U de Queiroz --- opennds/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opennds/Makefile b/opennds/Makefile index ce801f5..3de8906 100644 --- a/opennds/Makefile +++ b/opennds/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=opennds PKG_VERSION:=9.7.0 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/opennds/opennds/tar.gz/v$(PKG_VERSION)? @@ -27,7 +27,7 @@ define Package/opennds SUBMENU:=Captive Portals SECTION:=net CATEGORY:=Network - DEPENDS:=+iptables-nft +kmod-ipt-conntrack +kmod-ipt-nat +libmicrohttpd-no-ssl + DEPENDS:=@IPTABLES_NFTABLES +iptables-nft +kmod-ipt-conntrack +kmod-ipt-nat +libmicrohttpd-no-ssl TITLE:=Open public network gateway daemon URL:=https://github.com/opennds/opennds CONFLICTS:=nodogsplash nodogsplash2 iptables-legacy