diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-22 20:18:04 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-12-22 18:20:58 -0800 |
| commit | d02f259dd40350a0d10e6390fd60fe944ee34677 (patch) | |
| tree | 48cbbdd2ce153c62f1b5a51f5fe16f0699c0b350 | |
| parent | c0fb020740903f8ef2635fc9fac5839327c578ca (diff) | |
| download | meta-openembedded-d02f259dd40350a0d10e6390fd60fe944ee34677.tar.gz | |
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
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch | 26 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot/fix-musl-compilation.patch | 28 | ||||
| -rw-r--r-- | meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb (renamed from meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb) | 4 |
3 files changed, 28 insertions, 30 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch new file mode 100644 index 0000000000..b872587a88 --- /dev/null +++ b/meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | From fd3d65c65c778cf0a2fba6487c8d0eb30b6780b7 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Aki Tuomi <aki.tuomi@open-xchange.com> | ||
| 3 | Date: Fri, 31 Oct 2025 12:53:33 +0200 | ||
| 4 | Subject: [PATCH] lib-regex: Remove LIBPCRE_LIBS from test dependencies | ||
| 5 | |||
| 6 | Was accidentically added in 49ae6e798310e5c4b96709db435a3714ea6468a8 | ||
| 7 | |||
| 8 | Upstream-Status: Backport [https://github.com/dovecot/core/commit/fd3d65c65c778cf0a2fba6487c8d0eb30b6780b7] | ||
| 9 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 10 | --- | ||
| 11 | src/lib-regex/Makefile.am | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/src/lib-regex/Makefile.am b/src/lib-regex/Makefile.am | ||
| 15 | index 60f43d9779..9d26d27fa1 100644 | ||
| 16 | --- a/src/lib-regex/Makefile.am | ||
| 17 | +++ b/src/lib-regex/Makefile.am | ||
| 18 | @@ -34,7 +34,7 @@ test_regex_LDADD = libdregex.la \ | ||
| 19 | ../lib-test/libtest.la \ | ||
| 20 | ../lib/liblib.la \ | ||
| 21 | $(LIBPCRE_LIBS) | ||
| 22 | -test_regex_DEPENDENCIES = libdregex.la $(LIBPCRE_LIBS) | ||
| 23 | +test_regex_DEPENDENCIES = libdregex.la | ||
| 24 | |||
| 25 | check-local: | ||
| 26 | for bin in $(test_programs); do \ | ||
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 | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 951e371b6e44e2051de83c9fe73c778858fa73a1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Fabian Groffen <grobian@gentoo.org> | ||
| 3 | Date: Sat, 31 May 2025 10:49:28 +0200 | ||
| 4 | Subject: [PATCH] lib: cpu-count - fix compilation using musl | ||
| 5 | |||
| 6 | The macros, types and symbols CPU_* and cpuset_t are not exposed in | ||
| 7 | musl's sched.h unless _GNU_SOURCE is set. | ||
| 8 | |||
| 9 | Upstream-Status: Backport [https://github.com/dovecot/core/commit/951e371b6e44e2051de83c9fe73c778858fa73a1] | ||
| 10 | |||
| 11 | Signed-off-by: Fabian Groffen <grobian@gentoo.org> | ||
| 12 | --- | ||
| 13 | src/lib/cpu-count.c | 2 ++ | ||
| 14 | 1 file changed, 2 insertions(+) | ||
| 15 | |||
| 16 | diff --git a/src/lib/cpu-count.c b/src/lib/cpu-count.c | ||
| 17 | index 3eb38fa47d8..a3e80e6c157 100644 | ||
| 18 | --- a/src/lib/cpu-count.c | ||
| 19 | +++ b/src/lib/cpu-count.c | ||
| 20 | @@ -3,6 +3,8 @@ | ||
| 21 | |||
| 22 | #ifdef HAVE_SCHED_H | ||
| 23 | # define __USE_GNU | ||
| 24 | +/* _GNU_SOURCE: for musl's sched.h to expose cpuset/CPU_* */ | ||
| 25 | +# define _GNU_SOURCE | ||
| 26 | # include <sched.h> | ||
| 27 | # ifdef HAVE_SYS_CPUSET_H | ||
| 28 | # include <sys/cpuset.h> | ||
diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb b/meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb index 40cf991ae1..e94306dd32 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb | |||
| @@ -14,9 +14,9 @@ SRC_URI = "http://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \ | |||
| 14 | file://dovecot.service \ | 14 | file://dovecot.service \ |
| 15 | file://dovecot.socket \ | 15 | file://dovecot.socket \ |
| 16 | file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ | 16 | file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ |
| 17 | file://fix-musl-compilation.patch \ | 17 | file://0001-lib-regex-remove-LIBPCRE_LIBS-from.patch \ |
| 18 | " | 18 | " |
| 19 | SRC_URI[sha256sum] = "fb188603f419ed7aaa07794a8692098c3ec2660bb9c67d0efe24948cbb32ae00" | 19 | SRC_URI[sha256sum] = "2cd62e4d22b9fc1c80bd38649739950f0dbda34fbc3e62624fb6842264e93c6e" |
| 20 | 20 | ||
| 21 | DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" | 21 | DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" |
| 22 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" | 22 | CFLAGS += "-I${STAGING_INCDIR}/tirpc" |
