From: Paul Donald Date: Wed, 29 Oct 2025 14:48:57 +0000 (+0100) Subject: chrony: add provides logic to Makefile X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=505f3a0e175029420e7fdede1a9b47293e430460;p=feed%2Fpackages.git chrony: add provides logic to Makefile This satisfies other packages which might depend on either chrony variant. Should another package dependency request 'chrony', the default will be non-NTS chrony via DEFAULT_VARIANT:=1 (mlichvar comment: to avoid pulling its large dependencies). Signed-off-by: Paul Donald --- diff --git a/net/chrony/Makefile b/net/chrony/Makefile index d491a97283..d7bf9a5330 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -40,6 +40,7 @@ define Package/chrony $(call Package/chrony/Default) TITLE+= (without NTS) VARIANT:=normal + DEFAULT_VARIANT:=1 CONFLICTS:=chrony-nts endef @@ -48,6 +49,7 @@ $(call Package/chrony/Default) TITLE+= (with NTS) DEPENDS+= +PACKAGE_chrony-nts:libgnutls +PACKAGE_chrony-nts:ca-bundle VARIANT:=with-nts + PROVIDES:=chrony endef define Package/chrony/description