mirror of
https://github.com/openwrt/packages.git
synced 2026-11-28 23:03:27 +04:00
cache-domains: add missing CONFLICTS between variants
cache-domains-openssl, cache-domains-mbedtls and cache-domains-wolfssl all install the same files, for example /usr/bin/cache-domains and /etc/hotplug.d/iface/30-cache-domains. Nothing marks them as conflicting, so they can be selected and installed together. Declare the conflicts so that only one variant can be selected or installed. Checked with defconfig: cache-domains-wolfssl drops to m next to either other variant, and cache-domains-mbedtls drops to m next to cache-domains-openssl. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
1 parent
a91d742a1c
commit
66a981f1bf
1 file changed
+3
-1
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=cache-domains
|
||||
PKG_VERSION:=2.4.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_MAINTAINER:=Gerard Ryan <G.M0N3Y.2503@gmail.com>
|
||||
|
||||
@@ -49,6 +49,7 @@ define Package/cache-domains-mbedtls
|
||||
TITLE += (mbedtls)
|
||||
DEPENDS += +libustream-mbedtls
|
||||
VARIANT:=mbedtls
|
||||
CONFLICTS:=cache-domains-openssl
|
||||
endef
|
||||
Package/cache-domains-mbedtls/description = $(Package/cache-domains/description/default)
|
||||
Package/cache-domains-mbedtls/install = $(Package/cache-domains/install/default)
|
||||
@@ -59,6 +60,7 @@ define Package/cache-domains-wolfssl
|
||||
DEPENDS += +libustream-wolfssl
|
||||
VARIANT:=wolfssl
|
||||
DEFAULT_VARIANT:=1
|
||||
CONFLICTS:=cache-domains-openssl cache-domains-mbedtls
|
||||
endef
|
||||
Package/cache-domains-wolfssl/description = $(Package/cache-domains/description/default)
|
||||
Package/cache-domains-wolfssl/install = $(Package/cache-domains/install/default)
|
||||
|
||||
Reference in new issue
Block a user