From patchwork Sun Oct 5 10:13:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gyorgy Sarvari X-Patchwork-Id: 71634 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 62EECCAC5BB for ; Sun, 5 Oct 2025 10:13:19 +0000 (UTC) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by mx.groups.io with SMTP id smtpd.web10.7783.1759659195964060975 for ; Sun, 05 Oct 2025 03:13:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JnZfGYWi; spf=pass (domain: gmail.com, ip: 209.85.208.41, mailfrom: skandigraun@gmail.com) Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-6399328ff1fso63742a12.0 for ; Sun, 05 Oct 2025 03:13:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759659194; x=1760263994; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=lUloXKjJhGu6CcEvnQCJDzGATrsmOabbnPR1dfhoQs4=; b=JnZfGYWi8QtzmvSACqGszIEWW04T3Fr6zb0njKiNY2q6gTt3hHdktIeW1u5i0mI3BQ WTOkuXPei9n/dJE71AAtiNWZpunuXVXDW5Hq/3tTeTi6kmEIb5DpqruH80nhvuQl3DHU ejNsqGFyEjy7I+UV5RX7ayqfij/T6OzH0zFgP4aylVY1ztlzQUVQmZrinVcji7uaUkLO D49CFzUQnYeUolsZvFe1MG9gBk6dkGHaLv68sYoVSy+L87/Kcf/V6DB4tkS78QB3CTIT IlirtnmXXkxxdfWZwiOZtP0L7OSKp23W8usiFzK5P0iJJS4GlVwUZxAdUyt/05s+sf1o 7L9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759659194; x=1760263994; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lUloXKjJhGu6CcEvnQCJDzGATrsmOabbnPR1dfhoQs4=; b=OIo5kOmffEBYFhEdA9BYH+LWTAwTEeG9doVvnfFv7svvqPfCjxr18WMcqN3mC5XOvH ZB+CN5Go0oQgVK4dDFBb1pYI4kVnXQw5YAaZ6In5QUop4mMPYXmA21lsT9isWzpLwdLb bltIBHBOpVYdfpyXwFyKinCt73XmdqOaS0jM7i44ivpxBCe4dF7dYNyBS2tB1bhO6Whb vp2XoNqx6buTBmCzujWB9Rr4ZYGsmzvYidojaQmAbLn8/1fQjuOuWWt6pwnoQT5fZauS VVLDubp+lzBjoigM1DBBqVGkLwTa2cY6suYeAmR4E8SyZ1XXFwKRQNhgmjBnlZpvbCCo /WrA== X-Gm-Message-State: AOJu0YzOwRxYevoGvSnWr3iTQhbQRDNrg6uzf4dP3DEMEcG95AbOEFCq dCQAfm/M4eeTDdrm9+72gWR/zZ/yEdvZymjBoKDW6zFkPs5C3QU6S3D2vrbelQ== X-Gm-Gg: ASbGncvjveNe5Rmk9vaPt0QVJuvH4PjneIisXR59S+HnSTSCG5JMU9ou3umDUqauzWg K/HxaUAIevqtVE1ICpcselKJaEKwI04lpngTGaSNhMAWMRaTSq9RV8XO0rqrLJSj1QKwN45H1mf A87FcPkaCXXNvXCaK35lRB2br/rOXm0jir7lNIVGU/wqMs1AF1K2i/0+JgSBXFxCoUZ84OSqkN+ Ihm/QOtA98GQoCChbsNvBNKx7Lca4MJrsl6xk/X1bkH8LFgoTtVv7/aLG8oc2A079G5Mn1v2ZHu DLpBfw/AqrqVTqRCtCMmZ9cwalAs4XSiRyHYjEb/uN4sfSrPChNVMObl7KcllxObCV+F55sQX5M s1wEUzVHOjmv51cZJHPPFD+liCTSbVstnoM1PdmXbY7c7 X-Google-Smtp-Source: AGHT+IEWwFnmEMyYImfC2++arUT8tKXJMKOriPge6jJ3F30d9NskRFabhpinX8jd9eF5SfglisXYvA== X-Received: by 2002:a05:6402:2549:b0:61c:7090:c7de with SMTP id 4fb4d7f45d1cf-6393490177emr10033389a12.13.1759659193967; Sun, 05 Oct 2025 03:13:13 -0700 (PDT) Received: from desktop ([51.154.145.205]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-637881000besm7881929a12.23.2025.10.05.03.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Oct 2025 03:13:13 -0700 (PDT) From: Gyorgy Sarvari To: openembedded-devel@lists.openembedded.org Subject: [meta-networking][PATCH] dovecot: upgrade 2.3.21.1 -> 2.4.1-4 Date: Sun, 5 Oct 2025 12:13:11 +0200 Message-ID: <20251005101311.1483435-1-skandigraun@gmail.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sun, 05 Oct 2025 10:13:19 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/120242 Remove obsolete CVE_STATUS variable: CVE-2016-4983 is marked for v2.3. Drop 0001-not-check-pandoc.patch because it became obsolete, pandoc is not used anymore. Drop 1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch, because it is included in this release. Changelog: 2.4: https://github.com/dovecot/core/releases/tag/2.4.0 2.4.1: https://github.com/dovecot/core/releases/tag/2.4.1 Signed-off-by: Gyorgy Sarvari --- ...vert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch | 59 ++++--------------- ...bunwind-instead-of-libunwind-generic.patch | 21 +++---- .../dovecot/0001-not-check-pandoc.patch | 28 --------- ...5b54a408d12fce0c94ab0bbaedbb5ef69830.patch | 24 -------- ...dovecot_2.3.21.1.bb => dovecot_2.4.1-4.bb} | 14 ++--- 5 files changed, 29 insertions(+), 117 deletions(-) delete mode 100644 meta-networking/recipes-support/dovecot/dovecot/0001-not-check-pandoc.patch delete mode 100644 meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch rename meta-networking/recipes-support/dovecot/{dovecot_2.3.21.1.bb => dovecot_2.4.1-4.bb} (81%) diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch index 4fcfa48b99..abcf727a3b 100644 --- a/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch +++ b/meta-networking/recipes-support/dovecot/dovecot/0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch @@ -16,58 +16,25 @@ Signed-off-by: Wang Mingyu m4/ioloop.m4 | 9 +++------ 2 files changed, 5 insertions(+), 10 deletions(-) -diff --git a/m4/glibc.m4 b/m4/glibc.m4 -index 5d722aa..ce088d3 100644 ---- a/m4/glibc.m4 -+++ b/m4/glibc.m4 -@@ -17,7 +17,7 @@ AC_DEFUN([DOVECOT_GLIBC], [ +--- ./m4/glibc.m4 2025-10-04 22:42:24.336965366 +0200 ++++ ./m4/glibc.m4 2025-10-04 22:47:30.578745494 +0200 +@@ -2,7 +2,7 @@ dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. dnl * It may also be broken in AIX. AC_CACHE_CHECK([whether posix_fallocate() works],i_cv_posix_fallocate_works,[ -- AC_TRY_RUN([ -+ AC_TRY_LINK([ +- AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #define _XOPEN_SOURCE 600 #include #include -@@ -26,7 +26,7 @@ AC_DEFUN([DOVECOT_GLIBC], [ - #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7) - possibly broken posix_fallocate - #endif -- int main() { -+ ], [ - int fd = creat("conftest.temp", 0600); - int ret; - if (fd == -1) { -@@ -35,8 +35,6 @@ AC_DEFUN([DOVECOT_GLIBC], [ - } - ret = posix_fallocate(fd, 1024, 1024) < 0 ? 1 : 0; - unlink("conftest.temp"); -- return ret; -- } - ], [ - i_cv_posix_fallocate_works=yes - ], [ -diff --git a/m4/ioloop.m4 b/m4/ioloop.m4 -index 0f7dde0..f40fd62 100644 ---- a/m4/ioloop.m4 -+++ b/m4/ioloop.m4 -@@ -4,13 +4,10 @@ AC_DEFUN([DOVECOT_IOLOOP], [ +--- ./m4/ioloop.m4.orig 2025-10-04 22:47:44.656705137 +0200 ++++ ./m4/ioloop.m4 2025-10-04 22:48:32.379618966 +0200 +@@ -4,7 +4,7 @@ - if test "$ioloop" = "best" || test "$ioloop" = "epoll"; then + AS_IF([test "$ioloop" = "best" || test "$ioloop" = "epoll"], [ AC_CACHE_CHECK([whether we can use epoll],i_cv_epoll_works,[ -- AC_TRY_RUN([ -+ AC_TRY_LINK([ +- AC_RUN_IFELSE([AC_LANG_PROGRAM([[ ++ AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include -- -- int main() -- { -- return epoll_create(5) < 1; -- } -+ ], [ -+ epoll_create(5) < 1; - ], [ - i_cv_epoll_works=yes - ], [ --- -2.25.1 - + ]], [[ + return epoll_create(5) < 1; diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch index ec7a26a329..697fc02193 100644 --- a/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch +++ b/meta-networking/recipes-support/dovecot/dovecot/0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch @@ -14,17 +14,14 @@ Signed-off-by: Khem Raj diff --git a/m4/want_unwind.m4 b/m4/want_unwind.m4 index cadb62b..5517314 100644 ---- a/m4/want_unwind.m4 -+++ b/m4/want_unwind.m4 -@@ -2,7 +2,7 @@ AC_DEFUN([DOVECOT_WANT_UNWIND], [ +--- ./m4/want_unwind.m4 2025-10-04 22:57:09.371034202 +0200 ++++ ./m4/want_unwind.m4 2025-10-04 22:57:30.954794164 +0200 +@@ -2,7 +2,7 @@ have_libunwind=no + AS_IF([test "$want_libunwind" != "no"], [ - PKG_CHECK_EXISTS([libunwind], [ -- PKG_CHECK_MODULES([LIBUNWIND], [libunwind-generic],[ -+ PKG_CHECK_MODULES([LIBUNWIND], [libunwind],[ - have_libunwind=yes - AC_DEFINE([HAVE_LIBUNWIND],,[Define this if you have libunwind]) - ]) --- -2.31.1 - +- PKG_CHECK_MODULES([LIBUNWIND], [libunwind-generic], [have_libunwind=yes], [ ++ PKG_CHECK_MODULES([LIBUNWIND], [libunwind], [have_libunwind=yes], [ + have_libunwind=no + + AS_IF([test "$want_libunwind" = "yes"], [ diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-not-check-pandoc.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-not-check-pandoc.patch deleted file mode 100644 index af69c82f0f..0000000000 --- a/meta-networking/recipes-support/dovecot/dovecot/0001-not-check-pandoc.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 8c7d143ff28441c8b74b0f518dd2281239aede3d Mon Sep 17 00:00:00 2001 -From: Wang Mingyu -Date: Fri, 15 Jan 2021 11:10:22 +0900 -Subject: [PATCH] not check pandoc - -Signed-off-by: Wang Mingyu ---- -Upstream-Status: Pending - - m4/dovecot.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/m4/dovecot.m4 b/m4/dovecot.m4 -index 2b5d895..ece8489 100644 ---- a/m4/dovecot.m4 -+++ b/m4/dovecot.m4 -@@ -447,7 +447,7 @@ AC_DEFUN([DC_PANDOC], [ - dnl Optional tool for making documentation - AC_CHECK_PROGS(PANDOC, [pandoc], [true]) - -- AS_IF([test "$PANDOC" = "true"], [ -+ AS_IF([test "$PANDOC" = "false"], [ - AS_IF([test ! -e README], [ - AC_MSG_ERROR([Cannot produce documentation without pandoc - disable with PANDOC=false ./configure]) - ]) --- -2.25.1 - diff --git a/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch b/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch deleted file mode 100644 index 0765d963c1..0000000000 --- a/meta-networking/recipes-support/dovecot/dovecot/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830 Mon Sep 17 00:00:00 2001 -From: fundawang -Date: Sun, 27 Oct 2024 22:11:21 +0800 -Subject: [PATCH] configure: Explicitly check for icu-uc - -Ensure we link against libicu-uc when it's split in v76. - -Upstream-Status: Backport [https://github.com/dovecot/core/commit/1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830] -Signed-off-by: Khem Raj ---- - m4/want_icu.m4 | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - ---- a/m4/want_icu.m4 -+++ b/m4/want_icu.m4 -@@ -1,7 +1,7 @@ - AC_DEFUN([DOVECOT_WANT_ICU], [ - if test "$want_icu" != "no"; then - if test "$PKG_CONFIG" != "" && $PKG_CONFIG --exists icu-i18n 2>/dev/null; then -- PKG_CHECK_MODULES(LIBICU, icu-i18n) -+ PKG_CHECK_MODULES(LIBICU, [icu-i18n icu-uc]) - have_icu=yes - AC_DEFINE(HAVE_LIBICU,, [Define if you want ICU normalization support for FTS]) - elif test "$want_icu" = "yes"; then diff --git a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb b/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb similarity index 81% rename from meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb rename to meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb index 3177cdb1d7..aaa2d8a1a1 100644 --- a/meta-networking/recipes-support/dovecot/dovecot_2.3.21.1.bb +++ b/meta-networking/recipes-support/dovecot/dovecot_2.4.1-4.bb @@ -1,19 +1,21 @@ SUMMARY = "Dovecot is an open source IMAP and POP3 email server" HOMEPAGE = "https://www.dovecot.org/" -DESCRIPTION = "Dovecot is an open source IMAP and POP3 email server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excellent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very little memory." +DESCRIPTION = "Dovecot is an open source IMAP and POP3 email \ +server for Linux/UNIX-like systems, written with security primarily \ +in mind. Dovecot is an excellent choice for both small and large \ +installations. It's fast, simple to set up, requires no special \ +administration and it uses very little memory." SECTION = "mail" LICENSE = "LGPL-2.1-only & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2956560272e5b31d9d64f03111732048" -SRC_URI = "http://dovecot.org/releases/2.3/dovecot-${PV}.tar.gz \ +SRC_URI = "http://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \ file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \ file://dovecot.service \ file://dovecot.socket \ - file://0001-not-check-pandoc.patch \ file://0001-m4-Check-for-libunwind-instead-of-libunwind-generic.patch \ - file://1ccd5b54a408d12fce0c94ab0bbaedbb5ef69830.patch \ " -SRC_URI[sha256sum] = "2d90a178c4297611088bf7daae5492a3bc3d5ab6328c3a032eb425d2c249097e" +SRC_URI[sha256sum] = "fb188603f419ed7aaa07794a8692098c3ec2660bb9c67d0efe24948cbb32ae00" DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" CFLAGS += "-I${STAGING_INCDIR}/tirpc" @@ -72,5 +74,3 @@ FILES:${PN} += "${libdir}/dovecot/*plugin.so \ FILES:${PN}-staticdev += "${libdir}/dovecot/*/*.a" FILES:${PN}-dev += "${libdir}/dovecot/libdovecot*.so" FILES:${PN}-dbg += "${libdir}/dovecot/*/.debug" - -CVE_STATUS[CVE-2016-4983] = "not-applicable-platform: Affects only postinstall script on specific distribution."