chrony: upgrade 4.6.1 -> 4.7

Changelog:
==========
- Add opencommands directive to select remote monitoring commands
- Add interval option to driftfile directive
- Add waitsynced and waitunsynced options to local directive
- Add sanity checks for integer values in configuration
- Add support for systemd Type=notify service
- Add RTC refclock driver
- Allow PHC refclock to be specified with network interface name
- Don’t require multiple refclock samples per poll to simplify filter configuration
- Keep refclock reachable when dropping samples with large delay
- Improve quantile-based filtering to adapt faster to larger delay
- Improve logging of selection failures
- Detect clock interference from other processes
- Try to reopen message log (-l option) on cyclelogs command
- Fix sourcedir reloading to not multiply sources
- Fix tracking offset after failed clock step
- Drop support for NTS with Nettle < 3.6 and GnuTLS < 3.6.14
- Drop support for building without POSIX threads

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Liu Yiding
2025-07-22 11:12:27 +08:00
committed by Khem Raj
parent 19b7c0fca4
commit 9547f35175
2 changed files with 9 additions and 10 deletions
@@ -1,4 +1,4 @@
From 71c44c214c0ab8dc8e9675e5e862f2e342fcb271 Mon Sep 17 00:00:00 2001 From 7df907871b87772072abc94aeff2b7ba770e8f44 Mon Sep 17 00:00:00 2001
From: Joe Slater <jslater@windriver.com> From: Joe Slater <jslater@windriver.com>
Date: Thu, 9 Mar 2017 10:58:06 -0800 Date: Thu, 9 Mar 2017 10:58:06 -0800
Subject: [PATCH] chrony: fix build failure for arma9 Subject: [PATCH] chrony: fix build failure for arma9
@@ -22,16 +22,15 @@ Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Refreshed for 4.0 Refreshed for 4.0
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- ---
sys_linux.c | 15 +++++++++------ sys_linux.c | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-) 1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/sys_linux.c b/sys_linux.c diff --git a/sys_linux.c b/sys_linux.c
index 6849637..10f9a57 100644 index 8373e25..47b4459 100644
--- a/sys_linux.c --- a/sys_linux.c
+++ b/sys_linux.c +++ b/sys_linux.c
@@ -485,7 +485,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -490,7 +490,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
#endif #endif
SCMP_SYS(gettimeofday), SCMP_SYS(gettimeofday),
SCMP_SYS(settimeofday), SCMP_SYS(settimeofday),
@@ -39,7 +38,7 @@ index 6849637..10f9a57 100644
/* Process */ /* Process */
SCMP_SYS(clone), SCMP_SYS(clone),
@@ -495,7 +494,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -500,7 +499,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
SCMP_SYS(exit), SCMP_SYS(exit),
SCMP_SYS(exit_group), SCMP_SYS(exit_group),
SCMP_SYS(getpid), SCMP_SYS(getpid),
@@ -47,7 +46,7 @@ index 6849637..10f9a57 100644
SCMP_SYS(getuid), SCMP_SYS(getuid),
SCMP_SYS(getuid32), SCMP_SYS(getuid32),
#ifdef __NR_membarrier #ifdef __NR_membarrier
@@ -515,7 +513,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -520,7 +518,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
/* Memory */ /* Memory */
SCMP_SYS(brk), SCMP_SYS(brk),
SCMP_SYS(madvise), SCMP_SYS(madvise),
@@ -55,7 +54,7 @@ index 6849637..10f9a57 100644
SCMP_SYS(mmap2), SCMP_SYS(mmap2),
SCMP_SYS(mprotect), SCMP_SYS(mprotect),
SCMP_SYS(mremap), SCMP_SYS(mremap),
@@ -575,8 +572,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -580,8 +577,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
SCMP_SYS(sendmsg), SCMP_SYS(sendmsg),
SCMP_SYS(sendto), SCMP_SYS(sendto),
SCMP_SYS(shutdown), SCMP_SYS(shutdown),
@@ -64,7 +63,7 @@ index 6849637..10f9a57 100644
/* General I/O */ /* General I/O */
SCMP_SYS(_newselect), SCMP_SYS(_newselect),
@@ -600,7 +595,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -605,7 +600,6 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
#ifdef __NR_futex_time64 #ifdef __NR_futex_time64
SCMP_SYS(futex_time64), SCMP_SYS(futex_time64),
#endif #endif
@@ -72,7 +71,7 @@ index 6849637..10f9a57 100644
SCMP_SYS(set_robust_list), SCMP_SYS(set_robust_list),
SCMP_SYS(write), SCMP_SYS(write),
SCMP_SYS(writev), SCMP_SYS(writev),
@@ -609,6 +603,15 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context) @@ -614,6 +608,15 @@ SYS_Linux_EnableSystemCallFilter(int level, SYS_ProcessContext context)
SCMP_SYS(getrandom), SCMP_SYS(getrandom),
SCMP_SYS(sysinfo), SCMP_SYS(sysinfo),
SCMP_SYS(uname), SCMP_SYS(uname),
@@ -39,7 +39,7 @@ SRC_URI = "https://chrony-project.org/releases/chrony-${PV}.tar.gz \
SRC_URI:append:libc-musl = " \ SRC_URI:append:libc-musl = " \
file://0001-Fix-compilation-with-musl.patch \ file://0001-Fix-compilation-with-musl.patch \
" "
SRC_URI[sha256sum] = "571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c" SRC_URI[sha256sum] = "c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b"
DEPENDS = "pps-tools" DEPENDS = "pps-tools"