Skip to content

Commit

Permalink
nftables: add CONFLICT between versions
Browse files Browse the repository at this point in the history
Have nftables-json conflict with nftables-nojson.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
  • Loading branch information
cotequeiroz authored and hauke committed Apr 11, 2022
1 parent e89f3e8 commit 1135b75
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package/network/utils/nftables/Makefile
Expand Up @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=nftables
PKG_VERSION:=1.0.2
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=https://netfilter.org/projects/$(PKG_NAME)/files
Expand Down Expand Up @@ -45,6 +45,7 @@ define Package/nftables-nojson
TITLE+= no JSON support
VARIANT:=nojson
DEFAULT_VARIANT:=1
CONFLICTS:=nftables-json
endef

define Package/nftables-json
Expand Down

0 comments on commit 1135b75

Please sign in to comment.