Skip to contentSkip to conversation

dovecot: upgrade 2.4.1-4 -> 2.4.2

PATCH Superseded Gyorgy Sarvari 2 participants 2 messages Dec 16, 2025 – Dec 20, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dovecot: upgrade 2.4.1-4 -> 2.4.2

Contains fix for CVE-2025-30189

Changelog: https://github.com/dovecot/core/releases/tag/2.4.2

---
 .../dovecot/fix-musl-compilation.patch        | 28 -------------------
 .../{dovecot_2.4.1-4.bb => dovecot_2.4.2.bb}  |  3 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
 delete mode 100644 meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch
 rename meta-networking/recipes-support/dovecot/{dovecot_2.4.1-4.bb => dovecot_2.4.2.bb} (96%)
meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch deleted +0 -28
deleted file mode 100644
index a09165e588..0000000000
@@ -1,28 +0,0 @@
-From 951e371b6e44e2051de83c9fe73c778858fa73a1 Mon Sep 17 00:00:00 2001
-From: Fabian Groffen <[email protected]>
-Date: Sat, 31 May 2025 10:49:28 +0200
-Subject: [PATCH] lib: cpu-count - fix compilation using musl
-
-The macros, types and symbols CPU_* and cpuset_t are not exposed in
-musl's sched.h unless _GNU_SOURCE is set.
-
-Upstream-Status: Backport [https://github.com/dovecot/core/commit/951e371b6e44e2051de83c9fe73c778858fa73a1]
-
-Signed-off-by: Fabian Groffen <[email protected]>
----
- src/lib/cpu-count.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/lib/cpu-count.c b/src/lib/cpu-count.c
-index 3eb38fa47d8..a3e80e6c157 100644
---- a/src/lib/cpu-count.c
-+++ b/src/lib/cpu-count.c
-@@ -3,6 +3,8 @@
- 
- #ifdef HAVE_SCHED_H
- #  define __USE_GNU
-+/* _GNU_SOURCE: for musl's sched.h to expose cpuset/CPU_* */
-+#  define _GNU_SOURCE
- #  include <sched.h>
- #  ifdef HAVE_SYS_CPUSET_H
- #    include <sys/cpuset.h>
meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb renamed from meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb +1 -2
similarity index 96%
rename from meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb
rename to meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb
index 40cf991ae1..4632d9574f 100644
@@ -14,9 +14,8 @@ SRC_URI = "http://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \
            file://dovecot.service \
            file://dovecot.socket \
            file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \
-           file://fix-musl-compilation.patch \
            "
-SRC_URI[sha256sum] = "fb188603f419ed7aaa07794a8692098c3ec2660bb9c67d0efe24948cbb32ae00"
+SRC_URI[sha256sum] = "2cd62e4d22b9fc1c80bd38649739950f0dbda34fbc3e62624fb6842264e93c6e"
 
 DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native"
 CFLAGS += "-I${STAGING_INCDIR}/tirpc"
#1 lore raw

fails to build with latest master branch of oe-core

https://termbin.com/z4a9

Quoted 88 lines · Gyorgy Sarvari via lists.openembedded.org

Contains fix for CVE-2025-30189

Changelog: https://github.com/dovecot/core/releases/tag/2.4.2

---
 .../dovecot/fix-musl-compilation.patch        | 28 -------------------
 .../{dovecot_2.4.1-4.bb => dovecot_2.4.2.bb}  |  3 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
 delete mode 100644
meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch
 rename meta-networking/recipes-support/dovecot/{dovecot_2.4.1-4.bb =>

dovecot_2.4.2.bb} (96%)

diff --git a/meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch b/meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch deleted file mode 100644
index a09165e588..0000000000
---
a/meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch +++ /dev/null

meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch deleted +0 -9
@@ -1,28 +0,0 @@
-From 951e371b6e44e2051de83c9fe73c778858fa73a1 Mon Sep 17 00:00:00 2001
-From: Fabian Groffen <[email protected]>
-Date: Sat, 31 May 2025 10:49:28 +0200
-Subject: [PATCH] lib: cpu-count - fix compilation using musl
-
-The macros, types and symbols CPU_* and cpuset_t are not exposed in
-musl's sched.h unless _GNU_SOURCE is set.
-
-Upstream-Status: Backport [

https://github.com/dovecot/core/commit/951e371b6e44e2051de83c9fe73c778858fa73a1
]

meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch deleted +0 -19
-
-Signed-off-by: Fabian Groffen <[email protected]>
----
- src/lib/cpu-count.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/src/lib/cpu-count.c b/src/lib/cpu-count.c
-index 3eb38fa47d8..a3e80e6c157 100644
---- a/src/lib/cpu-count.c
-+++ b/src/lib/cpu-count.c
-@@ -3,6 +3,8 @@
-
- #ifdef HAVE_SCHED_H
- #  define __USE_GNU
-+/* _GNU_SOURCE: for musl's sched.h to expose cpuset/CPU_* */
-+#  define _GNU_SOURCE
- #  include <sched.h>
- #  ifdef HAVE_SYS_CPUSET_H
- #    include <sys/cpuset.h>
meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb renamed from meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb +0 -2
similarity index 96%
rename from meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb
rename to meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb
index 40cf991ae1..4632d9574f 100644
@@ -14,9 +14,8 @@ SRC_URI = "
 http://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \
            file://dovecot.service \
            file://dovecot.socket \
 
 file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \
-           file://fix-musl-compilation.patch \
            "
-SRC_URI[sha256sum] =

"fb188603f419ed7aaa07794a8692098c3ec2660bb9c67d0efe24948cbb32ae00" +SRC_URI[sha256sum] = "2cd62e4d22b9fc1c80bd38649739950f0dbda34fbc3e62624fb6842264e93c6e"

DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" CFLAGS += "-I${STAGING_INCDIR}/tirpc"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122696):
https://lists.openembedded.org/g/openembedded-devel/message/122696
Mute This Topic: https://lists.openembedded.org/mt/116809504/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-