From 08a5f058da2c6bf0221d1ee4bc7783270494b21a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 16 May 2020 09:03:10 -0700 Subject: postfix: Upgrade to 3.4.10 and compile with -fcommon Ensures it can build with gcc10 Signed-off-by: Khem Raj (cherry picked from commit d04f3a1be3a6d7f57b3cc26cb3159b1055a5ee22) Signed-off-by: Armin Kuster --- meta-networking/recipes-daemons/postfix/postfix.inc | 2 +- .../recipes-daemons/postfix/postfix_3.4.10.bb | 19 +++++++++++++++++++ .../recipes-daemons/postfix/postfix_3.4.8.bb | 21 --------------------- 3 files changed, 20 insertions(+), 22 deletions(-) create mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.4.10.bb delete mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.4.8.bb (limited to 'meta-networking') diff --git a/meta-networking/recipes-daemons/postfix/postfix.inc b/meta-networking/recipes-daemons/postfix/postfix.inc index 4b9940cc7a..a8d55a6c93 100644 --- a/meta-networking/recipes-daemons/postfix/postfix.inc +++ b/meta-networking/recipes-daemons/postfix/postfix.inc @@ -61,7 +61,7 @@ export CCARGS-sasl_class-native = "" export AUXLIBS-sasl_class-native = "" # PCRE, TLS support default -export CCARGS = "${CFLAGS} -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" +export CCARGS = "${CFLAGS} -fcommon -DHAS_PCRE -DUSE_TLS -I${STAGING_INCDIR}/openssl ${CCARGS-ldap} ${CCARGS-sasl} ${CCARGS-nonis}" export AUXLIBS = "-lpcre -lssl -lcrypto ${AUXLIBS-sasl} ${AUXLIBS-ldap}" export POSTCONF = "${STAGING_DIR_NATIVE}${sbindir_native}/postconf" diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.4.10.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.10.bb new file mode 100644 index 0000000000..d0ef708c50 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/postfix_3.4.10.bb @@ -0,0 +1,19 @@ +require postfix.inc + +SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ + file://makedefs.patch \ + file://install.patch \ + file://main.cf \ + file://postfix \ + file://internal_recipient \ + file://postfix.service \ + file://aliasesdb \ + file://check_hostname.sh \ + file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://postfix-install.patch \ + file://icu-config.patch \ + file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ + file://0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch \ + " +SRC_URI[sha256sum] = "908a66fc38537a0047e8561e1bc0ef096c53357ffad16d2d728cd4fc8ae56654" +UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.3(\.\d+)+).tar.gz" diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.4.8.bb b/meta-networking/recipes-daemons/postfix/postfix_3.4.8.bb deleted file mode 100644 index 5d7f8bc9f9..0000000000 --- a/meta-networking/recipes-daemons/postfix/postfix_3.4.8.bb +++ /dev/null @@ -1,21 +0,0 @@ -require postfix.inc - -SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ - file://makedefs.patch \ - file://install.patch \ - file://main.cf \ - file://postfix \ - file://internal_recipient \ - file://postfix.service \ - file://aliasesdb \ - file://check_hostname.sh \ - file://0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ - file://postfix-install.patch \ - file://icu-config.patch \ - file://0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ - file://0001-Fixed-build-failure-with-glibc-2.30-due-to-dropped-R.patch \ - " -SRC_URI[md5sum] = "6944b946887077a28e3dcb375ff53701" -SRC_URI[sha256sum] = "8d5d429737e0c64514028a82fc006cbb273d2cb98dc40eb1dbbfe102f29a8943" - -UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.3(\.\d+)+).tar.gz" -- cgit v1.2.3-54-g00ecf