nftables: add CONFLICT between versions

Have nftables-json conflict with nftables-nojson.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
This commit is contained in:
Eneas U de Queiroz 2022-04-07 17:47:38 -03:00 committed by Hauke Mehrtens
parent e89f3e85eb
commit 1135b75d1f

View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nftables PKG_NAME:=nftables
PKG_VERSION:=1.0.2 PKG_VERSION:=1.0.2
PKG_RELEASE:=1 PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files
@ -45,6 +45,7 @@ define Package/nftables-nojson
TITLE+= no JSON support TITLE+= no JSON support
VARIANT:=nojson VARIANT:=nojson
DEFAULT_VARIANT:=1 DEFAULT_VARIANT:=1
CONFLICTS:=nftables-json
endef endef
define Package/nftables-json define Package/nftables-json