[oe] [meta-networking][PATCH] postfix: update to 3.3.1

Yi Zhao yi.zhao at windriver.com
Wed Oct 10 00:06:00 UTC 2018



在 2018年10月09日 01:50, 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 <Randy.MacLeod at windriver.com>
> ---
>   ...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
>
> diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch b/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
> deleted file mode 100644
> index 6b86e3925..000000000
> --- a/meta-networking/recipes-daemons/postfix/files/0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
> +++ /dev/null
> @@ -1,26 +0,0 @@
> -From 63619acf25151d4dade6d65732722ec4a710a5ac Mon Sep 17 00:00:00 2001
> -From: Khem Raj <raj.khem at gmail.com>
> -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 <raj.khem at gmail.com>
> ----
> - 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
> -
> diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb b/meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb
> deleted file mode 100644
> index 12144671b..000000000
> --- a/meta-networking/recipes-daemons/postfix/postfix_3.2.6.bb
> +++ /dev/null
> @@ -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"
> diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb b/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb
> new file mode 100644
> index 000000000..7f00c3c19
> --- /dev/null
> +++ b/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb
> @@ -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"

Please also update UPSTREAM_CHECK_REGEX from 3\.2 to 3\.3 to check 3.3 
series.

Thanks,
Yi





More information about the Openembedded-devel mailing list