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 <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2022-04-01 16:58:07 -03:00
parent 65f747a8bc
commit efc69b550c
No known key found for this signature in database
GPG key ID: 5FB9FAF260B80AEA

View file

@ -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