chrony: upgrade 4.7 -> 4.8

0001-Fix-compilation-with-musl.patch is obsolete due to
948ecf8 ("hash: include util.h for MIN macro") included in chrony since
version 3.5.

From chrony's NEWS [1] for the 4.8 release:

Enhancements
------------
* Add maxunreach option to limit selection of unreachable sources
* Add -u option to chronyc to drop root privileges (default chronyc user
  is set by configure script)

Bug fixes
---------
* Hide chronyc socket to mitigate unsafe permissions change
* Fix refclock extpps option to work on Linux >= 6.15
* Validate refclock samples for reachability updates

[1] https://chrony-project.org/news.html

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Bastian Krause 2025-10-29 18:19:13 +01:00 committed by Khem Raj
parent d9ca35948c
commit 5f7dbf36e2
2 changed files with 1 additions and 35 deletions

View File

@ -1,31 +0,0 @@
From 11ec10cdb5ab4b94c5999e018a9c854419997761 Mon Sep 17 00:00:00 2001
From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Date: Wed, 10 Apr 2019 03:18:17 +0200
Subject: [PATCH] Fix compilation with musl
Fixes:
../hash_intmd5.c:58: undefined reference to `MIN'
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
---
Upstream-Status: Pending
hash_intmd5.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/hash_intmd5.c b/hash_intmd5.c
index 49da1cf..47efe4c 100644
--- a/hash_intmd5.c
+++ b/hash_intmd5.c
@@ -33,6 +33,8 @@
#include "md5.c"
+#include <sys/param.h>
+
static MD5_CTX ctx;
int
--
2.17.1

View File

@ -36,10 +36,7 @@ SRC_URI = "https://chrony-project.org/releases/chrony-${PV}.tar.gz \
file://arm_eabi.patch \
"
SRC_URI:append:libc-musl = " \
file://0001-Fix-compilation-with-musl.patch \
"
SRC_URI[sha256sum] = "c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b"
SRC_URI[sha256sum] = "33ea8eb2a4daeaa506e8fcafd5d6d89027ed6f2f0609645c6f149b560d301706"
DEPENDS = "pps-tools"