mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
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:
parent
e89f3e85eb
commit
1135b75d1f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user