From 5841d1a7f9f3abf399d4d7b4d8edcfa4b34af08c Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 22 Mar 2022 10:57:32 +0100 Subject: [PATCH] fully switch from nettle to gnutls (#1953463 #1954483) Resolves: #1953463 #1954483 --- chrony.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/chrony.spec b/chrony.spec index dbb5710..129f878 100644 --- a/chrony.spec +++ b/chrony.spec @@ -29,9 +29,9 @@ Patch2: chrony-seccomp.patch # revert some hardening options in service files Patch3: chrony-services.patch -BuildRequires: libcap-devel libedit-devel nettle-devel pps-tools-devel +BuildRequires: gnutls-devel libcap-devel libedit-devel pps-tools-devel BuildRequires: gcc gcc-c++ make bison systemd gnupg2 -%{?with_nts:BuildRequires: gnutls-devel gnutls-utils} +%{?with_nts:BuildRequires: gnutls-utils} %{?with_seccomp:BuildRequires: libseccomp-devel} Requires(pre): shadow-utils @@ -108,7 +108,10 @@ mv clknetsim-%{clknetsim_ver}* test/simulation/clknetsim --with-user=chrony \ --with-hwclockfile=%{_sysconfdir}/adjtime \ --with-pidfile=/run/chrony/chronyd.pid \ - --with-sendmail=%{_sbindir}/sendmail + --with-sendmail=%{_sbindir}/sendmail \ + --without-nettle \ + --without-nss \ + --without-tomcrypt %make_build %install