From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Sat, 12 Jul 2025 17:48:53 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uacT7-00Glmo-0j for lore@lore.pengutronix.de; Sat, 12 Jul 2025 17:48:53 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1uacT6-0002HE-S1; Sat, 12 Jul 2025 17:48:52 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uacSZ-0001HC-RH; Sat, 12 Jul 2025 17:48:19 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uacSZ-0086XT-27; Sat, 12 Jul 2025 17:48:19 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1uacSZ-00FQCX-1y; Sat, 12 Jul 2025 17:48:19 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Sat, 12 Jul 2025 17:48:19 +0200 Message-Id: <20250712154819.3675630-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250709083513.399356-1-lapeddk@gmail.com> References: <20250709083513.399356-1-lapeddk@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] chrony: Add option for NTS support X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Lars Pedersen Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as d2df9f26bef274e24edd9e26a88ce5970c065d75. Michael [sent from post-receive hook] On Sat, 12 Jul 2025 17:48:19 +0200, Lars Pedersen wrote: > chrony was compiled implicitly with NTS support enabled, but it also > required gnutls. This commit makes the option explicit and selects > gnutls and CHRONY_USE_NETTLE > > Signed-off-by: Lars Alex Pedersen > Message-Id: <20250709083513.399356-1-lapeddk@gmail.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/chrony.in b/rules/chrony.in > index 49226f58efba..9805b7a2c746 100644 > --- a/rules/chrony.in > +++ b/rules/chrony.in > @@ -6,6 +6,7 @@ menuconfig CHRONY > prompt "chrony " > select LIBC_M > select LIBCAP > + select GNUTLS if CHRONY_ENABLE_NTS > select LIBSECCOMP if CHRONY_SECCOMP > select NETTLE if CHRONY_USE_NETTLE > select PPS_TOOLS if CHRONY_PPS_REFCLK > @@ -24,6 +25,13 @@ menuconfig CHRONY > > if CHRONY > > +config CHRONY_ENABLE_NTS > + bool > + prompt "Enable NTS support" > + select CHRONY_USE_NETTLE > + help > + Enable NTS support > + > config CHRONY_USE_NETTLE > bool > prompt "Use nettle crypto library" > diff --git a/rules/chrony.make b/rules/chrony.make > index ee58ae1641e9..b0e28c4d2b45 100644 > --- a/rules/chrony.make > +++ b/rules/chrony.make > @@ -44,6 +44,7 @@ CHRONY_CONF_OPT := \ > --sysconfdir=/etc \ > --disable-readline \ > --without-editline \ > + $(call ptx/ifdef, PTXCONF_CHRONY_ENABLE_NTS,,--disable-nts) \ > $(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--disable-sechash) \ > $(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--without-nettle) \ > --without-nss \