summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot/0001-adapt-lua_newstate-to-new-api.patch29
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch26
-rw-r--r--meta-networking/recipes-support/dovecot/dovecot_2.4.3.bb (renamed from meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb)11
3 files changed, 35 insertions, 31 deletions
diff --git a/meta-networking/recipes-support/dovecot/dovecot/0001-adapt-lua_newstate-to-new-api.patch b/meta-networking/recipes-support/dovecot/dovecot/0001-adapt-lua_newstate-to-new-api.patch
new file mode 100644
index 0000000000..363361fcd5
--- /dev/null
+++ b/meta-networking/recipes-support/dovecot/dovecot/0001-adapt-lua_newstate-to-new-api.patch
@@ -0,0 +1,29 @@
1From 5efcbab91b510f5a2495369b729248e8bf8a5d63 Mon Sep 17 00:00:00 2001
2From: Gyorgy Sarvari <skandigraun@gmail.com>
3Date: Tue, 31 Mar 2026 11:05:52 +0000
4Subject: [PATCH] adapt lua_newstate to new api
5
6lua_newstate() in lua 5.5 has gained a new, third argument, which made
7it not backwards compatible. This change adapts this call to the lua version
8used in OE.
9
10Upstream-Status: Pending
11
12Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
13---
14 src/lib-lua/dlua-script.c | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/src/lib-lua/dlua-script.c b/src/lib-lua/dlua-script.c
18index 20f91ad..789d603 100644
19--- a/src/lib-lua/dlua-script.c
20+++ b/src/lib-lua/dlua-script.c
21@@ -253,7 +253,7 @@ static struct dlua_script *dlua_create_script(const char *name,
22 /* lua API says that lua_newstate will return NULL only if it's out of
23 memory. this cannot really happen with our allocator as it will
24 call i_fatal_status anyways if it runs out of memory */
25- script->L = lua_newstate(dlua_alloc, script);
26+ script->L = lua_newstate(dlua_alloc, script, luaL_makeseed(NULL));
27 i_assert(script->L != NULL);
28 script->ref = 1;
29 lua_atpanic(script->L, dlua_atpanic);
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
deleted file mode 100644
index b872587a88..0000000000
--- a/meta-networking/recipes-support/dovecot/dovecot/0001-lib-regex-remove-LIBPCRE_LIBS-from.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1From fd3d65c65c778cf0a2fba6487c8d0eb30b6780b7 Mon Sep 17 00:00:00 2001
2From: Aki Tuomi <aki.tuomi@open-xchange.com>
3Date: Fri, 31 Oct 2025 12:53:33 +0200
4Subject: [PATCH] lib-regex: Remove LIBPCRE_LIBS from test dependencies
5
6Was accidentically added in 49ae6e798310e5c4b96709db435a3714ea6468a8
7
8Upstream-Status: Backport [https://github.com/dovecot/core/commit/fd3d65c65c778cf0a2fba6487c8d0eb30b6780b7]
9Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
10---
11 src/lib-regex/Makefile.am | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/src/lib-regex/Makefile.am b/src/lib-regex/Makefile.am
15index 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_2.4.2.bb b/meta-networking/recipes-support/dovecot/dovecot_2.4.3.bb
index e94306dd32..a8930979ea 100644
--- a/meta-networking/recipes-support/dovecot/dovecot_2.4.2.bb
+++ b/meta-networking/recipes-support/dovecot/dovecot_2.4.3.bb
@@ -6,17 +6,17 @@ in mind. Dovecot is an excellent choice for both small and large \
6installations. It's fast, simple to set up, requires no special \ 6installations. It's fast, simple to set up, requires no special \
7administration and it uses very little memory." 7administration and it uses very little memory."
8SECTION = "mail" 8SECTION = "mail"
9LICENSE = "LGPL-2.1-only & MIT" 9LICENSE = "LGPL-2.1-only & MIT & Unicode-3.0 & BSD-3-Clause & PD"
10LIC_FILES_CHKSUM = "file://COPYING;md5=2956560272e5b31d9d64f03111732048" 10LIC_FILES_CHKSUM = "file://COPYING;md5=cb805cc6bdb95ba8fc2398a55fd50877"
11 11
12SRC_URI = "http://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \ 12SRC_URI = "https://dovecot.org/releases/2.4/dovecot-${PV}.tar.gz \
13 file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \ 13 file://0001-configure.ac-convert-AC_TRY_RUN-to-AC_TRY_LINK-state.patch \
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://0001-lib-regex-remove-LIBPCRE_LIBS-from.patch \ 17 file://0001-adapt-lua_newstate-to-new-api.patch \
18 " 18 "
19SRC_URI[sha256sum] = "2cd62e4d22b9fc1c80bd38649739950f0dbda34fbc3e62624fb6842264e93c6e" 19SRC_URI[sha256sum] = "e0b30330fe51e47ecfcf641bc16041184d91bdd0ac3db789b7cef54e3a75ac9b"
20 20
21DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native" 21DEPENDS = "openssl xz zlib bzip2 libcap icu libtirpc bison-native"
22CFLAGS += "-I${STAGING_INCDIR}/tirpc" 22CFLAGS += "-I${STAGING_INCDIR}/tirpc"
@@ -29,6 +29,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ldap pam systemd', d)}
29PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam," 29PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam,"
30PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd," 30PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd,"
31PACKAGECONFIG[ldap] = "--with-ldap=plugin,--without-ldap,openldap," 31PACKAGECONFIG[ldap] = "--with-ldap=plugin,--without-ldap,openldap,"
32PACKAGECONFIG[lua] = "--with-lua=yes, --without-lua, lua"
32PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4," 33PACKAGECONFIG[lz4] = "--with-lz4,--without-lz4,lz4,"
33 34
34# From native build in armv7a-hf/eglibc 35# From native build in armv7a-hf/eglibc