diff options
3 files changed, 53 insertions, 17 deletions
diff --git a/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch b/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch new file mode 100644 index 0000000000..ad1704520c --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0006-makedefs-Account-for-linux-6.x-version.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From e5ddcf9575437bacd64c2b68501b413014186a6a Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Wed, 19 Oct 2022 10:15:01 -0700 | ||
| 4 | Subject: [PATCH] makedefs: Account for linux 6.x version | ||
| 5 | |||
| 6 | Major version has bumped to 6 and script needs to know that | ||
| 7 | |||
| 8 | Upstream-Status: Pending | ||
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 10 | --- | ||
| 11 | makedefs | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | --- a/makedefs | ||
| 15 | +++ b/makedefs | ||
| 16 | @@ -613,7 +613,7 @@ EOF | ||
| 17 | : ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"} | ||
| 18 | : ${PLUGIN_LD="${CC-gcc} -shared"} | ||
| 19 | ;; | ||
| 20 | - Linux.[345].*) SYSTYPE=LINUX$RELEASE_MAJOR | ||
| 21 | + Linux.[3-6]*) SYSTYPE=LINUX$RELEASE_MAJOR | ||
| 22 | case "$CCARGS" in | ||
| 23 | *-DNO_DB*) ;; | ||
| 24 | *-DHAS_DB*) ;; | ||
| 25 | --- a/src/util/sys_defs.h | ||
| 26 | +++ b/src/util/sys_defs.h | ||
| 27 | @@ -751,7 +751,7 @@ extern int initgroups(const char *, int) | ||
| 28 | /* | ||
| 29 | * LINUX. | ||
| 30 | */ | ||
| 31 | -#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) | ||
| 32 | +#if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) || defined(LINUX6) | ||
| 33 | #define SUPPORTED | ||
| 34 | #define UINT32_TYPE unsigned int | ||
| 35 | #define UINT16_TYPE unsigned short | ||
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.6.5.bb b/meta-networking/recipes-daemons/postfix/postfix_3.6.5.bb deleted file mode 100644 index 343a8b2df0..0000000000 --- a/meta-networking/recipes-daemons/postfix/postfix_3.6.5.bb +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | require postfix.inc | ||
| 2 | |||
| 3 | SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ | ||
| 4 | file://main.cf \ | ||
| 5 | file://postfix \ | ||
| 6 | file://internal_recipient \ | ||
| 7 | file://postfix.service \ | ||
| 8 | file://aliasesdb \ | ||
| 9 | file://check_hostname.sh \ | ||
| 10 | file://0001-Fix-makedefs.patch \ | ||
| 11 | file://0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch \ | ||
| 12 | file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ | ||
| 13 | file://0004-Fix-icu-config.patch \ | ||
| 14 | file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ | ||
| 15 | " | ||
| 16 | SRC_URI[sha256sum] = "300fa8811cea20d01d25c619d359bffab82656e704daa719e0c9afc4ecff4808" | ||
| 17 | UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.6(\.\d+)+).tar.gz" | ||
diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb b/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb new file mode 100644 index 0000000000..b54a97aeaf --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/postfix_3.7.3.bb | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | require postfix.inc | ||
| 2 | |||
| 3 | SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ | ||
| 4 | file://main.cf \ | ||
| 5 | file://postfix \ | ||
| 6 | file://internal_recipient \ | ||
| 7 | file://postfix.service \ | ||
| 8 | file://aliasesdb \ | ||
| 9 | file://check_hostname.sh \ | ||
| 10 | file://0001-Fix-makedefs.patch \ | ||
| 11 | file://0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch \ | ||
| 12 | file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ | ||
| 13 | file://0004-Fix-icu-config.patch \ | ||
| 14 | file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ | ||
| 15 | file://0006-makedefs-Account-for-linux-6.x-version.patch \ | ||
| 16 | " | ||
| 17 | SRC_URI[sha256sum] = "d22f3d37ef75613d5d573b56fc51ef097f2c0d0b0e407923711f71c1fb72911b" | ||
| 18 | UPSTREAM_CHECK_REGEX = "postfix\-(?P<pver>3\.6(\.\d+)+).tar.gz" | ||
