chrony: enable support for non-MD5 keys in nts variant
authorMiroslav Lichvar <redacted>
Sat, 8 Mar 2025 08:29:33 +0000 (09:29 +0100)
committerNikos Mavrogiannopoulos <redacted>
Thu, 1 May 2025 18:12:04 +0000 (20:12 +0200)
gnutls and nettle are already required for NTS. Enable their use for
authentication with non-MD5 symmetric keys as the SECHASH feature
printed by the configure script.

Also drop the --enable,nts (typo) configure option. It's enabled by
default.

Signed-off-by: Miroslav Lichvar <redacted>
net/chrony/Makefile

index b285efe96bb7934e7ad569fef69f305e0550e92b..ab6262e87963580833cc1ab7a848bd512d0a0e5b 100644 (file)
@@ -78,10 +78,10 @@ CONFIGURE_ARGS+= \
        --sysconfdir=/etc/chrony \
        --prefix=/usr \
        --chronyrundir=/var/run/chrony \
-       $(if $(findstring normal,$(BUILD_VARIANT)),--disable-nts,--enable,nts) \
+       $(if $(findstring normal,$(BUILD_VARIANT)),--disable-nts) \
        --disable-readline \
        --disable-rtc \
-       --disable-sechash \
+       $(if $(findstring normal,$(BUILD_VARIANT)),--disable-sechash) \
        --with-user=chrony
 
 CONFIGURE_VARS+=CPPFLAGS=-DNDEBUG
git clone https://git.99rst.org/PROJECT