diff options
author | Randy MacLeod <randy.macleod@windriver.com> | 2018-10-08 13:50:50 -0400 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-10-09 19:07:58 -0700 |
commit | 8a71561246b12ba9b8d850fbf62b295dcf5b435f (patch) | |
tree | 9bd04308bb0f988d082a8af948d886327f7b3ae5 /meta-networking/recipes-daemons | |
parent | f818700c23eefee21c8d15cc2ee81b35975308ae (diff) | |
download | meta-openembedded-8a71561246b12ba9b8d850fbf62b295dcf5b435f.tar.gz |
postfix: update to 3.3.1
The patch:
0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
has ben integrated upstream.
update the upstream check regex
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-daemons')
3 files changed, 11 insertions, 37 deletions
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 @@ | |||
1 | From 63619acf25151d4dade6d65732722ec4a710a5ac Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 15 Jul 2017 09:54:25 -0700 | ||
4 | Subject: [PATCH] Check for glibc before setting CANT_USE_SEND_RECV_MSG | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | src/util/sys_defs.h | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h | ||
12 | index f720e2a..7314c63 100644 | ||
13 | --- a/src/util/sys_defs.h | ||
14 | +++ b/src/util/sys_defs.h | ||
15 | @@ -813,7 +813,7 @@ extern int initgroups(const char *, int); | ||
16 | #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1) | ||
17 | #endif | ||
18 | #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,2,0)) \ | ||
19 | - || (__GLIBC__ < 2) | ||
20 | + || (defined(__GLIBC__) && (__GLIBC__ < 2)) | ||
21 | #define CANT_USE_SEND_RECV_MSG | ||
22 | #define DEF_SMTP_CACHE_DEMAND 0 | ||
23 | #else | ||
24 | -- | ||
25 | 2.13.3 | ||
26 | |||
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 @@ | |||
1 | require postfix.inc | ||
2 | |||
3 | SRC_URI += "file://0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch \ | ||
4 | file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ | ||
5 | file://postfix-install.patch \ | ||
6 | file://icu-config.patch \ | ||
7 | " | ||
8 | SRC_URI[md5sum] = "d10f1fb551be86f6e48c2908dd8a12ff" | ||
9 | SRC_URI[sha256sum] = "1df036380bae7c356bfa8989a87de58033b6aaa09b3bafcfa36c3694dd449039" | ||
10 | |||
11 | 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..960356999 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | require postfix.inc | ||
2 | |||
3 | SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ | ||
4 | file://postfix-install.patch \ | ||
5 | file://icu-config.patch \ | ||
6 | " | ||
7 | |||
8 | SRC_URI[md5sum] = "4381c6492f415e4a69cf5099d4acea76" | ||
9 | SRC_URI[sha256sum] = "54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b" | ||
10 | |||
11 | UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.3(\.\d+)+).tar.gz" | ||