diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-07 18:18:41 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-07 18:24:39 -0800 |
commit | 33c4e075db8a0159756ecebf533bcde46b3328bd (patch) | |
tree | 62e785fc60905c21eb6a776ad22c03bfc0c1f47e | |
parent | 028043991047b21c68dba666ed7d5f541fa39d91 (diff) | |
download | meta-openembedded-33c4e075db8a0159756ecebf533bcde46b3328bd.tar.gz |
postfix: Upgrade to 3.4.1 release
Fix build with kernel >= 5.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-daemons/postfix/files/linux_5.x.patch | 27 | ||||
-rw-r--r-- | meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb (renamed from meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb) | 6 |
2 files changed, 30 insertions, 3 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch new file mode 100644 index 000000000..fbb811c06 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/linux_5.x.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Recognise kernel 5.x versioning scheme | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | |||
6 | --- a/makedefs | ||
7 | +++ b/makedefs | ||
8 | @@ -543,7 +543,7 @@ EOF | ||
9 | : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} | ||
10 | : ${PLUGIN_LD="${CC-gcc} -shared"} | ||
11 | ;; | ||
12 | - Linux.[34].*) SYSTYPE=LINUX$RELEASE_MAJOR | ||
13 | + Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR | ||
14 | case "$CCARGS" in | ||
15 | *-DNO_DB*) ;; | ||
16 | *-DHAS_DB*) ;; | ||
17 | --- a/src/util/sys_defs.h | ||
18 | +++ b/src/util/sys_defs.h | ||
19 | @@ -749,7 +749,7 @@ extern int initgroups(const char *, int) | ||
20 | /* | ||
21 | * LINUX. | ||
22 | */ | ||
23 | -#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) | ||
24 | +#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) | ||
25 | #define SUPPORTED | ||
26 | #define UINT32_TYPE unsigned int | ||
27 | #define UINT16_TYPE unsigned short | ||
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb index 6718b7ef9..73380d8c6 100644 --- a/meta-networking/recipes-daemons/postfix/postfix_3.3.1.bb +++ b/meta-networking/recipes-daemons/postfix/postfix_3.4.1.bb | |||
@@ -4,9 +4,9 @@ SRC_URI += "file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patc | |||
4 | file://postfix-install.patch \ | 4 | file://postfix-install.patch \ |
5 | file://icu-config.patch \ | 5 | file://icu-config.patch \ |
6 | file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ | 6 | file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ |
7 | file://linux_5.x.patch \ | ||
7 | " | 8 | " |
8 | 9 | SRC_URI[md5sum] = "d292bb49a1c79ff6d2eb9c5e88c51425" | |
9 | SRC_URI[md5sum] = "4381c6492f415e4a69cf5099d4acea76" | 10 | SRC_URI[sha256sum] = "8c9763f7a8ec70d499257b7f25bb50e1f3da8a4c43e59826ba8a26c4a778d0ce" |
10 | SRC_URI[sha256sum] = "54f514dae42b5275cb4bc9c69283f16c06200b71813d0bb696568c4ba7ae7e3b" | ||
11 | 11 | ||
12 | UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.3(\.\d+)+).tar.gz" | 12 | UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.3(\.\d+)+).tar.gz" |