Skip to contentSkip to conversation

chrony: Add nts support through PACKAGECONFIG

PATCH New Omri Sarig 1 participant 1 message Mar 19, 2025

lore
Share & tools
lore

Omri Sarig

author
#0 lore raw

PATCH 1/1 chrony: Add nts support through PACKAGECONFIG

Chronyd is supporting NTS (network time security) protocol, however, to build the application with this support, it require having gnutls at build time.
This commit adds a PACKAGECONFIG line, allowing users to control whether the supporting application will have nts or not.

---
 meta-networking/recipes-support/chrony/chrony_4.6.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/chrony/chrony_4.6.1.bb +1 -0
index e45d5c6ba0..83dee9143b 100644
@@ -67,6 +67,7 @@ PACKAGECONFIG[sechash] = "--without-tomcrypt,--disable-sechash,nss"
 PACKAGECONFIG[privdrop] = ",--disable-privdrop,libcap"
 PACKAGECONFIG[scfilter] = "--enable-scfilter,--without-seccomp,libseccomp"
 PACKAGECONFIG[ipv6] = ",--disable-ipv6,"
+PACKAGECONFIG[nts] = ",--disable-nts,gnutls"
 
 # --disable-static isn't supported by chrony's configure script.
 DISABLE_STATIC = ""