postfix: update to 3.3.1
PATCH 1/1 postfix: update to 3.3.1
The patch:
0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
has ben integrated upstream.
Signed-off-by Randy MacLeod <[email protected]>
--- ...before-setting-CANT_USE_SEND_RECV_MS.patch | 26 ------------------- .../recipes-daemons/postfix/postfix_3.2.6.bb | 11 -------- .../recipes-daemons/postfix/postfix_3.3.1.bb | 11 ++++++++ 3 files changed, 11 insertions(+), 37 deletions(-) delete mode 100644 meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch delete mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb create mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb
meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch deleted +0 -26
@@ -1,26 +0,0 @@ -From 63619acf25151d4dade6d65732722ec4a710a5ac Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 15 Jul 2017 09:54:25 -0700 -Subject: [PATCH] Check for glibc before setting CANT_USE_SEND_RECV_MSG - -Signed-off-by: Khem Raj <[email protected]> ---- - src/util/sys_defs.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index f720e2a..7314c63 100644 ---- a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -813,7 +813,7 @@ extern int initgroups(const char *, int); - #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) - #endif - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \ -- || (__GLIBC__ < 2) -+ || (defined(__GLIBC__) && (__GLIBC__ < 2)) - #define CANT_USE_SEND_RECV_MSG - #define DEF_SMTP_CACHE_DEMAND 0 - #else --- -2.13.3 -
meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb deleted +0 -11
@@ -1,11 +0,0 @@ -require postfix.inc - -SRC_URI += "file://0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch \ - file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ - file://postfix-install.patch \ - file://icu-config.patch \ - " -SRC_URI[md5sum] = "d10f1fb551be86f6e48c2908dd8a12ff" -SRC_URI[sha256sum] = "1df036380bae7c356bfa8989a87de58033b6aaa09b3bafcfa36c3694dd449039" - -UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.2(\.\d+)+).tar.gz"
meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb new file +11 -0
@@ -0,0 +1,11 @@ +require postfix.inc + +SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://postfix-install.patch \ + file://icu-config.patch \ + " + +SRC_URI[md5sum] = "4381c6492f415e4a69cf5099d4acea76" +SRC_URI[sha256sum] = "54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b" + +UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.2(\.\d+)+).tar.gz"
Signature · 1 line
2.17.0
Quoted 70 lines · Randy MacLeod
The patch:
0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
has ben integrated upstream.Signed-off-by Randy MacLeod <[email protected]>--- ...before-setting-CANT_USE_SEND_RECV_MS.patch | 26 ------------------- .../recipes-daemons/postfix/postfix_3.2.6.bb | 11 -------- .../recipes-daemons/postfix/postfix_3.3.1.bb | 11 ++++++++ 3 files changed, 11 insertions(+), 37 deletions(-)delete mode 100644
meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patchdelete mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb
create mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.3.1.bbmeta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch deleted +0
-26@@ -1,26 +0,0 @@ -From 63619acf25151d4dade6d65732722ec4a710a5ac Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Sat, 15 Jul 2017 09:54:25 -0700 -Subject: [PATCH] Check for glibc before setting CANT_USE_SEND_RECV_MSG - -Signed-off-by: Khem Raj <[email protected]> ---- - src/util/sys_defs.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index f720e2a..7314c63 100644 ---- a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -813,7 +813,7 @@ extern int initgroups(const char *, int); - #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) - #endif - #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \ -- || (__GLIBC__ < 2) -+ || (defined(__GLIBC__) && (__GLIBC__ < 2)) - #define CANT_USE_SEND_RECV_MSG - #define DEF_SMTP_CACHE_DEMAND 0 - #else --- -2.13.3 -meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb deleted +0
-11@@ -1,11 +0,0 @@ -require postfix.inc - -SRC_URI += "file://0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch \ - file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ - file://postfix-install.patch \ - file://icu-config.patch \ - " -SRC_URI[md5sum] = "d10f1fb551be86f6e48c2908dd8a12ff" -SRC_URI[sha256sum] = "1df036380bae7c356bfa8989a87de58033b6aaa09b3bafcfa36c3694dd449039" - -UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.2(\.\d+)+).tar.gz"meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb new file +1
-0@@ -0,0 +1,11 @@ +require postfix.inc
meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb line 11
Quoted 10 lines
meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb new file +10
-0+ +SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://postfix-install.patch \ + file://icu-config.patch \ + " + +SRC_URI[md5sum] = "4381c6492f415e4a69cf5099d4acea76" +SRC_URI[sha256sum] = "54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b" + +UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.2(\.\d+)+).tar.gz"
Please also update UPSTREAM_CHECK_REGEX from 3\.2 to 3\.3 to check 3.3 series.
Thanks,
Yi