From f553e9bdd652e06eee26c963992dfcc01a3724c7 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 27 May 2026 17:47:29 +0800 Subject: [PATCH] postfix: upgrade 3.11.2 -> 3.11.3 0001-Fix-build-with-musl.patch refreshed for 3.11.3 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../postfix/files/0001-Fix-build-with-musl.patch | 11 +++-------- .../postfix/{postfix_3.11.2.bb => postfix_3.11.3.bb} | 2 +- 2 files changed, 4 insertions(+), 9 deletions(-) rename meta-networking/recipes-daemons/postfix/{postfix_3.11.2.bb => postfix_3.11.3.bb} (99%) diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch b/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch index d09418eaac..6574db9d61 100644 --- a/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch +++ b/meta-networking/recipes-daemons/postfix/files/0001-Fix-build-with-musl.patch @@ -1,4 +1,4 @@ -From cbe5ba0deeba6329eed63eade06bb8c062d0d445 Mon Sep 17 00:00:00 2001 +From c7ea1cce7f4f83e9ff27873a96113bdb382bb296 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Fri, 8 May 2026 22:39:54 +0800 Subject: [PATCH] Fix build with musl @@ -27,10 +27,10 @@ Signed-off-by: Yi Zhao 1 file changed, 2 insertions(+) diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index 74319f2..6d3c7d2 100644 +index 09a05bd..15ea8c6 100644 --- a/src/util/sys_defs.h +++ b/src/util/sys_defs.h -@@ -794,12 +794,14 @@ extern int initgroups(const char *, int); +@@ -794,10 +794,12 @@ extern int initgroups(const char *, int); #define NATIVE_NEWALIAS_PATH "/usr/bin/newaliases" #define NATIVE_COMMAND_DIR "/usr/sbin" #define NATIVE_DAEMON_DIR "/usr/libexec/postfix" @@ -38,13 +38,8 @@ index 74319f2..6d3c7d2 100644 #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 1) #define SOCKADDR_SIZE socklen_t #define SOCKOPT_SIZE socklen_t - #else - #define NO_SNPRINTF #endif +#endif #ifndef NO_IPV6 #define HAS_IPV6 #if HAVE_GLIBC_API_VERSION_SUPPORT(2, 4) --- -2.34.1 - diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.11.2.bb b/meta-networking/recipes-daemons/postfix/postfix_3.11.3.bb similarity index 99% rename from meta-networking/recipes-daemons/postfix/postfix_3.11.2.bb rename to meta-networking/recipes-daemons/postfix/postfix_3.11.3.bb index 894e58261b..0c38c743e7 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.11.2.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.11.3.bb @@ -29,7 +29,7 @@ SRC_URI = "http://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${P file://0001-Fix-build-with-musl.patch \ " -SRC_URI[sha256sum] = "daed65b08c9288cdb386a914f3e52cdddd44935407b5ce5aee8bcc3aa4207778" +SRC_URI[sha256sum] = "bd11dcc463d7045e40f2c11cc00216489c73b58cc40b3d06c54265b088a173e1" UPSTREAM_CHECK_URI = "https://www.postfix.org/announcements.html" UPSTREAM_CHECK_REGEX = "postfix-(?P\d+(\.\d+)+)"