Declare the nftables variant as the DEFAULT_VARIANT
as nftables firewall4 is the now default in OpenWrt.
Additionally,
* toggle CONFLICTS placement to avoid circular dependency warning
* use AUTORELEASE
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
PKG_NAME:=miniupnpd
PKG_VERSION:=2.2.3
-PKG_RELEASE:=2
+PKG_RELEASE:=$(AUTORELEASE)
PKG_SOURCE_URL:=https://miniupnp.tuxfamily.org/files
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
define Package/miniupnpd-iptables
$(call Package/miniupnpd/Default)
- CONFLICTS:=miniupnpd-nftables
DEPENDS+= \
+IPV6:ip6tables \
+IPV6:libip6tc \
+libnftnl
TITLE+= (nftables)
VARIANT:=nftables
+ DEFAULT_VARIANT:=1
+ CONFLICTS:=miniupnpd-iptables
endef
define Package/miniupnpd/conffiles/Default