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.

Signed-off-by: Omri Sarig <omri.sarig13@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Omri Sarig 2025-03-19 14:14:07 +01:00 committed by Khem Raj
parent 5bcf2e7277
commit 0347365edc
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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 = ""