From 5f7dbf36e2353cac6b8c05400316cf1bbd42acfd Mon Sep 17 00:00:00 2001 From: Bastian Krause Date: Wed, 29 Oct 2025 18:19:13 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- .../0001-Fix-compilation-with-musl.patch | 31 ------------------- .../chrony/{chrony_4.7.bb => chrony_4.8.bb} | 5 +-- 2 files changed, 1 insertion(+), 35 deletions(-) delete mode 100644 meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch rename meta-networking/recipes-support/chrony/{chrony_4.7.bb => chrony_4.8.bb} (97%) diff --git a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch b/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch deleted file mode 100644 index 5e2bc64af3..0000000000 --- a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 11ec10cdb5ab4b94c5999e018a9c854419997761 Mon Sep 17 00:00:00 2001 -From: Oleksandr Kravchuk -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 ---- -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 -+ - static MD5_CTX ctx; - - int --- -2.17.1 - diff --git a/meta-networking/recipes-support/chrony/chrony_4.7.bb b/meta-networking/recipes-support/chrony/chrony_4.8.bb similarity index 97% rename from meta-networking/recipes-support/chrony/chrony_4.7.bb rename to meta-networking/recipes-support/chrony/chrony_4.8.bb index 0af542869e..826bffc323 100644 --- a/meta-networking/recipes-support/chrony/chrony_4.7.bb +++ b/meta-networking/recipes-support/chrony/chrony_4.8.bb @@ -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"