Skip to contentSkip to conversation

postfix: update to 3.3.1

PATCH In review Randy MacLeod 2 participants 2 messages Oct 8, 2018 – Oct 10, 2018

lore
Share & tools
lore
#0 lore raw

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.

---
 ...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
deleted file mode 100644
index 6b86e3925..000000000
@@ -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
deleted file mode 100644
index 12144671b..000000000
@@ -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
new file mode 100644
index 000000000..7f00c3c19
@@ -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
#1 lore raw
Quoted 70 lines · Randy MacLeod

The patch:
0001-Check-for-glibc-before-setting-CANT_USE_SEND_RECV_MS.patch
has ben integrated upstream.

---
  ...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
deleted file mode 100644
index 6b86e3925..000000000
@@ -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
deleted file mode 100644
index 12144671b..000000000
@@ -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
new file mode 100644
index 000000000..7f00c3c19
@@ -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