From 2c710b005af209d95d4a3091a556f5660f77aa60 Mon Sep 17 00:00:00 2001 From: Yi Zhao Date: Sun, 16 Jan 2022 15:07:30 +0800 Subject: postfix: upgrade 3.6.3 -> 3.6.4 Refresh patches. Signed-off-by: Yi Zhao Signed-off-by: Khem Raj --- .../postfix/files/0001-Fix-makedefs.patch | 117 +++++++++++++++++++++ ...se-native-compiler-to-build-makedefs.test.patch | 64 ----------- ...dd-lnsl-and-lresolv-to-SYSLIBS-by-default.patch | 58 ---------- ...d-postconf-to-a-variable-for-cross-compil.patch | 107 +++++++++++++++++++ ...se-native-compiler-to-build-makedefs.test.patch | 64 +++++++++++ .../postfix/files/0004-Fix-icu-config.patch | 32 ++++++ ...dd-lnsl-and-lresolv-to-SYSLIBS-by-default.patch | 58 ++++++++++ .../0006-correct-signature-of-closefrom-API.patch | 104 ++++++++++++++++++ .../0007-correct-signature-of-closefrom-API.patch | 101 ------------------ .../recipes-daemons/postfix/files/aliasesdb | 0 .../postfix/files/check_hostname.sh | 0 .../recipes-daemons/postfix/files/icu-config.patch | 21 ---- .../recipes-daemons/postfix/files/install.patch | 93 ---------------- .../recipes-daemons/postfix/files/makedefs.patch | 116 -------------------- .../recipes-daemons/postfix/files/postfix | 0 .../postfix/files/postfix-install.patch | 26 ----- .../recipes-daemons/postfix/postfix_3.6.3.bb | 19 ---- .../recipes-daemons/postfix/postfix_3.6.4.bb | 18 ++++ 18 files changed, 500 insertions(+), 498 deletions(-) create mode 100644 meta-networking/recipes-daemons/postfix/files/0001-Fix-makedefs.patch delete mode 100644 meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch delete mode 100644 meta-networking/recipes-daemons/postfix/files/0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/0004-Fix-icu-config.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch create mode 100644 meta-networking/recipes-daemons/postfix/files/0006-correct-signature-of-closefrom-API.patch delete mode 100644 meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch mode change 100755 => 100644 meta-networking/recipes-daemons/postfix/files/aliasesdb mode change 100755 => 100644 meta-networking/recipes-daemons/postfix/files/check_hostname.sh delete mode 100644 meta-networking/recipes-daemons/postfix/files/icu-config.patch delete mode 100644 meta-networking/recipes-daemons/postfix/files/install.patch delete mode 100644 meta-networking/recipes-daemons/postfix/files/makedefs.patch mode change 100755 => 100644 meta-networking/recipes-daemons/postfix/files/postfix delete mode 100644 meta-networking/recipes-daemons/postfix/files/postfix-install.patch delete mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.6.3.bb create mode 100644 meta-networking/recipes-daemons/postfix/postfix_3.6.4.bb (limited to 'meta-networking/recipes-daemons') diff --git a/meta-networking/recipes-daemons/postfix/files/0001-Fix-makedefs.patch b/meta-networking/recipes-daemons/postfix/files/0001-Fix-makedefs.patch new file mode 100644 index 0000000000..e83085d20d --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0001-Fix-makedefs.patch @@ -0,0 +1,117 @@ +From 9000ee4d8bb5c5e0bcc588e9bec86eb56f4285e1 Mon Sep 17 00:00:00 2001 +From: Li xin +Date: Fri, 19 Jun 2015 16:45:54 +0900 +Subject: [PATCH] Fix makedefs + +1)remove RANLIB, SYSLIBS, AR and get them from env. +2)reference sysroot when searching header files +3)include sysroot path instead of absolute include path +for Linux2 and Linux3 systems. +4)for non-native build, search STAGING_BASELIBDIR/LIBDIR + native build, search host library path for nsl and resolv library + which comes from libc + +Upstreamstatus: Inappropriate [embedded specific] + +Signed-off-by: Yao Zhao +--- + makedefs | 27 +++++++++++---------------- + 1 file changed, 11 insertions(+), 16 deletions(-) + +diff --git a/makedefs b/makedefs +index 3448c1e..78e0717 100644 +--- a/makedefs ++++ b/makedefs +@@ -197,9 +197,6 @@ echo "# pie=$pie" + + # Defaults for most sane systems + +-RANLIB=ranlib +-SYSLIBS= +-AR=ar + ARFL=rv + + # Ugly function to make our error message more visible among the +@@ -492,12 +489,12 @@ case "$SYSTEM.$RELEASE" in + case "$CCARGS" in + *-DNO_DB*) ;; + *-DHAS_DB*) ;; +- *) if [ -f /usr/include/db.h ] ++ *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ] + then + : we are all set +- elif [ -f /usr/include/db/db.h ] ++ elif [ -f "$BUILD_SYSROOT"/usr/include/db/db.h ] + then +- CCARGS="$CCARGS -I/usr/include/db" ++ CCARGS="$CCARGS -I"$BUILD_SYSROOT"/usr/include/db" + else + # No, we're not going to try db1 db2 db3 etc. + # On a properly installed system, Postfix builds +@@ -506,12 +503,12 @@ case "$SYSTEM.$RELEASE" in + echo "Install the appropriate db*-devel package first." 1>&2 + exit 1 + fi +- SYSLIBS="-ldb" ++ SYSLIBS="$SYSLIBS -ldb" + ;; + esac + for name in nsl resolv $GDBM_LIBS + do +- for lib in /usr/lib64 /lib64 /usr/lib /lib ++ for lib in $BUILD_SYSROOT_NSL_PATH + do + test -e $lib/lib$name.a -o -e $lib/lib$name.so && { + SYSLIBS="$SYSLIBS -l$name" +@@ -531,7 +528,7 @@ case "$SYSTEM.$RELEASE" in + if [ `expr "X$CCARGS" : "X.*-DNO_EPOLL"` -gt 0 ] + then + : +- elif [ ! -e /usr/include/sys/epoll.h ] ++ elif [ ! -e "$BUILD_SYSROOT"/usr/include/sys/epoll.h ] + then + echo CCARGS="$CCARGS -DNO_EPOLL" + else +@@ -555,8 +552,6 @@ int main(int argc, char **argv) + } + EOF + ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 +- ./makedefs.test 2>/dev/null || +- CCARGS="$CCARGS -DNO_EPOLL" + rm -f makedefs.test makedefs.test.[co] + fi;; + esac +@@ -572,12 +567,12 @@ EOF + case "$CCARGS" in + *-DNO_DB*) ;; + *-DHAS_DB*) ;; +- *) if [ -f /usr/include/db.h ] ++ *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ] + then + : we are all set +- elif [ -f /usr/include/db/db.h ] ++ elif [ -f "$BUILD_SYSROOT"/usr/include/db/db.h ] + then +- CCARGS="$CCARGS -I/usr/include/db" ++ CCARGS="$CCARGS -I"$BUILD_SYSROOT"/usr/include/db" + else + # On a properly installed system, Postfix builds + # by including and by linking with -ldb +@@ -585,12 +580,12 @@ EOF + echo "Install the appropriate db*-devel package first." 1>&2 + exit 1 + fi +- SYSLIBS="-ldb" ++ SYSLIBS="$SYSLIBS -ldb" + ;; + esac + for name in nsl resolv + do +- for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/* ++ for lib in $BUILD_SYSROOT_NSL_PATH + do + test -e $lib/lib$name.a -o -e $lib/lib$name.so && { + SYSLIBS="$SYSLIBS -l$name" +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch deleted file mode 100644 index 763a4a9b98..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-Use-native-compiler-to-build-makedefs.test.patch +++ /dev/null @@ -1,64 +0,0 @@ -From a0d0de10e4c5ab55bc2fa48798079e2876b1211d Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Sat, 26 Aug 2017 10:29:37 -0700 -Subject: [PATCH] makedefs: Use native compiler to build makedefs.test - -Its a binary used during build - -Signed-off-by: Khem Raj ---- - makedefs | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/makedefs b/makedefs -index 9fd4bc2..5ee7747 100644 ---- a/makedefs -+++ b/makedefs -@@ -526,7 +526,7 @@ int main(int argc, char **argv) - exit(0); - } - EOF -- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 -+ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 - rm -f makedefs.test makedefs.test.[co] - fi;; - esac -@@ -762,7 +762,7 @@ int main(int argc, char **argv) - exit(0); - } - EOF -- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 -+ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 - ./makedefs.test 2>/dev/null || - CCARGS="$CCARGS -DNO_SIGSETJMP" - rm -f makedefs.test makedefs.test.[co] -@@ -796,7 +796,7 @@ int main(int argc, char **argv) - &error) != 14); - } - EOF -- ${CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ -+ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ - $icu_ldflags >/dev/null 2>&1 - if ./makedefs.test 2>/dev/null ; then - CCARGS="$CCARGS $icu_cppflags" -@@ -911,7 +911,7 @@ int main(void) - exit(ferror(stdout) ? 1 : 0); - } - EOF -- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 -+ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 - ./makedefs.test || exit 1 - rm -f makedefs.test makedefs.test.[co] - } -@@ -1067,7 +1067,7 @@ int main(void) - exit(ferror(stdout) ? 1 : 0); - } - EOF -- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 -+ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 - parm_val=`./makedefs.test` || exit 1 - rm -f makedefs.test makedefs.test.[co] - eval ${parm_name}=\""\$parm_val"\" --- -2.14.1 - diff --git a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch b/meta-networking/recipes-daemons/postfix/files/0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch deleted file mode 100644 index 565098400b..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/0001-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch +++ /dev/null @@ -1,58 +0,0 @@ -From 4caa18feb70f8f3d133657c1250a53f4e292bb42 Mon Sep 17 00:00:00 2001 -From: Yi Zhao -Date: Fri, 12 Oct 2018 12:38:02 +0800 -Subject: [PATCH] makedefs: add -lnsl and -lresolv to SYSLIBS by default - -We don't need to check libnsl.so and libresolv.so since the libnsl2 is -specified in DEPENDS and libresolv.so is from c libarary. - -Upstream-Status: Inappropriate [embedded specific] - -Signed-off-by: Yi Zhao ---- - makedefs | 22 ++-------------------- - 1 file changed, 2 insertions(+), 20 deletions(-) - -diff --git a/makedefs b/makedefs -index 2683bce..8f1b3f4 100644 ---- a/makedefs -+++ b/makedefs -@@ -484,16 +484,7 @@ case "$SYSTEM.$RELEASE" in - SYSLIBS="$SYSLIBS -ldb" - ;; - esac -- for name in nsl resolv $GDBM_LIBS -- do -- for lib in $BUILD_SYSROOT_NSL_PATH -- do -- test -e $lib/lib$name.a -o -e $lib/lib$name.so && { -- SYSLIBS="$SYSLIBS -l$name" -- break -- } -- done -- done -+ SYSLIBS="$SYSLIBS -lnsl -lresolv" - # Kernel 2.4 added IPv6 - case "$RELEASE" in - 2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";; -@@ -561,16 +552,7 @@ EOF - SYSLIBS="$SYSLIBS -ldb" - ;; - esac -- for name in nsl resolv -- do -- for lib in $BUILD_SYSROOT_NSL_PATH -- do -- test -e $lib/lib$name.a -o -e $lib/lib$name.so && { -- SYSLIBS="$SYSLIBS -l$name" -- break -- } -- done -- done -+ SYSLIBS="$SYSLIBS -lnsl -lresolv" - SYSLIBS="$SYSLIBS -ldl" - : ${SHLIB_SUFFIX=.so} - : ${SHLIB_CFLAGS=-fPIC} --- -2.7.4 - diff --git a/meta-networking/recipes-daemons/postfix/files/0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch b/meta-networking/recipes-daemons/postfix/files/0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch new file mode 100644 index 0000000000..347b9de0a3 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch @@ -0,0 +1,107 @@ +From cb69ffda0c2cbde6acdc8b01c8d5ff78d81a84fc Mon Sep 17 00:00:00 2001 +From: Li xin +Date: Fri, 19 Jun 2015 17:14:58 +0900 +Subject: [PATCH] Change fixed postconf to a variable for cross-compiling + +Upstreamstatus: Inappropriate [embedded specific] + +Signed-off-by: Yao Zhao +--- + Makefile.in | 2 +- + postfix-install | 18 ++++++++++-------- + 2 files changed, 11 insertions(+), 9 deletions(-) + +diff --git a/Makefile.in b/Makefile.in +index 65e7911..40295be 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -22,7 +22,7 @@ META = meta/main.cf.proto meta/master.cf.proto meta/postfix-files \ + EXPAND = sed -e "s;\$${LIB_PREFIX};$(LIB_PREFIX);" \ + -e "s;\$${LIB_SUFFIX};$(LIB_SUFFIX);" + SHLIB_DIR_OVERRIDE = \ +- $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -dhx shlib_directory`} ++ $${shlib_directory:-`$(SHLIB_ENV) $(POSTCONF) -dhx shlib_directory`} + + default: update + +diff --git a/postfix-install b/postfix-install +index e498cd3..8049f43 100644 +--- a/postfix-install ++++ b/postfix-install +@@ -244,8 +244,8 @@ test -z "$non_interactive" -a ! -t 0 && { + exit 1 + } + +-test -x bin/postconf || { +- echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2 ++test -x "$POSTCONF" || { ++ echo $0: Error: no $POSTCONF file. Did you forget to run \"make\"? 1>&2 + exit 1 + } + +@@ -266,7 +266,7 @@ do + case "$junk" in + *MAIL_VERSION*) + case "$mail_version" in +- "") mail_version="`bin/postconf -dhx mail_version`" || exit 1 ++ "") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 + esac + val=`echo "$junk" | sed 's/MAIL_VERSION$/'"$mail_version/g"` || exit 1 + case "$val" in +@@ -454,7 +454,7 @@ template files main.cf.proto and master.cf.proto." + + : ${install_root=/} + : ${tempdir=`pwd`} +-: ${config_directory=`bin/postconf -c conf -h -d config_directory`} ++: ${config_directory=`$POSTCONF -c conf -h -d config_directory`} + + # Find out the location of installed configuration files. + +@@ -520,7 +520,7 @@ test -f $CONFIG_DIRECTORY/main.cf && { + case "$junk" in + "") eval unset $name;; + esac +- eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -hx $name\`} || ++ eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -hx $name\`} || + exit 1 + done + } +@@ -533,7 +533,7 @@ do + case "$junk" in + "") eval unset $name;; + esac +- eval : \${$name=\`bin/postconf -c conf -d -hx $name\`} || exit 1 ++ eval : \${$name=\`$POSTCONF -c conf -d -hx $name\`} || exit 1 + done + + # Override settings manually. +@@ -670,6 +670,8 @@ README_DIRECTORY=$install_root$readme_directory + SHLIB_DIRECTORY=$install_root$shlib_directory + META_DIRECTORY=$install_root$meta_directory + ++test "x$POSTCONF" != "x" || POSTCONF="bin/postconf" ++ + # Avoid repeated tests for existence of these; default permissions suffice. + + test -d $DAEMON_DIRECTORY || mkdir -p $DAEMON_DIRECTORY || exit 1 +@@ -841,7 +843,7 @@ IFS="$BACKUP_IFS" + # the wrong place when Postfix is being upgraded. + + case "$mail_version" in +-"") mail_version="`bin/postconf -dhx mail_version`" || exit 1 ++"") mail_version="`$POSTCONF -c $CONFIG_DIRECTORY -dhx mail_version`" || exit 1 + esac + + # Undo MAIL_VERSION expansion at the end of a parameter value. If +@@ -861,7 +863,7 @@ do + esac + done + +-bin/postconf -c $CONFIG_DIRECTORY -e \ ++"$POSTCONF" -c $CONFIG_DIRECTORY -e \ + "daemon_directory = $daemon_directory" \ + "data_directory = $data_directory" \ + "command_directory = $command_directory" \ +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch b/meta-networking/recipes-daemons/postfix/files/0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch new file mode 100644 index 0000000000..0fc938e13d --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch @@ -0,0 +1,64 @@ +From 995bddd9563b1aecca2369f2f9c675f88bdc0053 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 26 Aug 2017 10:29:37 -0700 +Subject: [PATCH] makedefs: Use native compiler to build makedefs.test + +Its a binary used during build + +Signed-off-by: Khem Raj +--- + makedefs | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/makedefs b/makedefs +index 78e0717..3299eba 100644 +--- a/makedefs ++++ b/makedefs +@@ -551,7 +551,7 @@ int main(int argc, char **argv) + exit(0); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 + rm -f makedefs.test makedefs.test.[co] + fi;; + esac +@@ -787,7 +787,7 @@ int main(int argc, char **argv) + exit(0); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c || exit 1 + ./makedefs.test 2>/dev/null || + CCARGS="$CCARGS -DNO_SIGSETJMP" + rm -f makedefs.test makedefs.test.[co] +@@ -823,7 +823,7 @@ int main(int argc, char **argv) + &error) != 14); + } + EOF +- ${CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ ++ ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ + $icu_ldflags >/dev/null 2>&1 + if ./makedefs.test 2>/dev/null ; then + CCARGS="$CCARGS $icu_cppflags" +@@ -938,7 +938,7 @@ int main(void) + exit(ferror(stdout) ? 1 : 0); + } + EOF +- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 ++ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 + ./makedefs.test || exit 1 + rm -f makedefs.test makedefs.test.[co] + } +@@ -1094,7 +1094,7 @@ int main(void) + exit(ferror(stdout) ? 1 : 0); + } + EOF +- eval ${CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 ++ eval ${BUILD_CC-gcc} ${CCARGS} -o makedefs.test makedefs.test.c || exit 1 + parm_val=`./makedefs.test` || exit 1 + rm -f makedefs.test makedefs.test.[co] + eval ${parm_name}=\""\$parm_val"\" +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0004-Fix-icu-config.patch b/meta-networking/recipes-daemons/postfix/files/0004-Fix-icu-config.patch new file mode 100644 index 0000000000..6b4a5f7a0c --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0004-Fix-icu-config.patch @@ -0,0 +1,32 @@ +From afef4a9391e6bb1a6c3e73d370f240577ed8b0dd Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sun, 16 Jan 2022 11:21:54 +0800 +Subject: [PATCH] Fix icu config + +do not entertain cppflags from icu, this is because +icu-config feeds the -I path without sysroot which +caused native headers to be included and build is +corrupted in any case its just adding -I/usr/include +to the CCARGS which we loose nothing if its not +entertained. + +Signed-off-by: Khem Raj +--- + makedefs | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/makedefs b/makedefs +index 3299eba..2a76f20 100644 +--- a/makedefs ++++ b/makedefs +@@ -826,7 +826,6 @@ EOF + ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ + $icu_ldflags >/dev/null 2>&1 + if ./makedefs.test 2>/dev/null ; then +- CCARGS="$CCARGS $icu_cppflags" + SYSLIBS="$SYSLIBS $icu_ldflags" + else + CCARGS="$CCARGS -DNO_EAI" +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch b/meta-networking/recipes-daemons/postfix/files/0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch new file mode 100644 index 0000000000..b425cf8432 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch @@ -0,0 +1,58 @@ +From 545d4a79b50caa5698622c0c1905ae154197a16f Mon Sep 17 00:00:00 2001 +From: Yi Zhao +Date: Fri, 12 Oct 2018 12:38:02 +0800 +Subject: [PATCH] makedefs: add -lnsl and -lresolv to SYSLIBS by default + +We don't need to check libnsl.so and libresolv.so since the libnsl2 is +specified in DEPENDS and libresolv.so is from c libarary. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Yi Zhao +--- + makedefs | 22 ++-------------------- + 1 file changed, 2 insertions(+), 20 deletions(-) + +diff --git a/makedefs b/makedefs +index 2a76f20..9d5db9f 100644 +--- a/makedefs ++++ b/makedefs +@@ -506,16 +506,7 @@ case "$SYSTEM.$RELEASE" in + SYSLIBS="$SYSLIBS -ldb" + ;; + esac +- for name in nsl resolv $GDBM_LIBS +- do +- for lib in $BUILD_SYSROOT_NSL_PATH +- do +- test -e $lib/lib$name.a -o -e $lib/lib$name.so && { +- SYSLIBS="$SYSLIBS -l$name" +- break +- } +- done +- done ++ SYSLIBS="$SYSLIBS -lnsl -lresolv" + # Kernel 2.4 added IPv6 + case "$RELEASE" in + 2.[0-3].*) CCARGS="$CCARGS -DNO_IPV6";; +@@ -583,16 +574,7 @@ EOF + SYSLIBS="$SYSLIBS -ldb" + ;; + esac +- for name in nsl resolv +- do +- for lib in $BUILD_SYSROOT_NSL_PATH +- do +- test -e $lib/lib$name.a -o -e $lib/lib$name.so && { +- SYSLIBS="$SYSLIBS -l$name" +- break +- } +- done +- done ++ SYSLIBS="$SYSLIBS -lnsl -lresolv" + SYSLIBS="$SYSLIBS -ldl" + : ${SHLIB_SUFFIX=.so} + : ${SHLIB_CFLAGS=-fPIC} +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0006-correct-signature-of-closefrom-API.patch b/meta-networking/recipes-daemons/postfix/files/0006-correct-signature-of-closefrom-API.patch new file mode 100644 index 0000000000..95ca03b223 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/files/0006-correct-signature-of-closefrom-API.patch @@ -0,0 +1,104 @@ +From 56bec31c4117fddee3a141bcca6c585aa8ddbbe2 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Wed, 14 Jul 2021 18:08:30 -0700 +Subject: [PATCH] correct signature of closefrom() API + +glibc 2.34 introduced this function and finds this error which has been +all along. + +Upstream-Status: Pending + +Signed-off-by: Khem Raj +--- + src/util/sys_compat.c | 6 +++--- + src/util/sys_defs.h | 12 ++++++------ + 2 files changed, 9 insertions(+), 9 deletions(-) + +diff --git a/src/util/sys_compat.c b/src/util/sys_compat.c +index 8bf8e58..c87f043 100644 +--- a/src/util/sys_compat.c ++++ b/src/util/sys_compat.c +@@ -286,7 +286,7 @@ int dup2_pass_on_exec(int oldd, int newd) + + /* closefrom() - closes all file descriptors from the given one up */ + +-int closefrom(int lowfd) ++void closefrom(int lowfd) + { + int fd_limit = open_limit(0); + int fd; +@@ -298,14 +298,14 @@ int closefrom(int lowfd) + */ + if (lowfd < 0) { + errno = EBADF; +- return (-1); ++ return; + } + if (fd_limit > 500) + fd_limit = 500; + for (fd = lowfd; fd < fd_limit; fd++) + (void) close(fd); + +- return (0); ++ return; + } + + #endif +diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h +index 2e1c953..515de6c 100644 +--- a/src/util/sys_defs.h ++++ b/src/util/sys_defs.h +@@ -1509,7 +1509,7 @@ extern int setsid(void); + #endif + + #ifndef HAS_CLOSEFROM +-extern int closefrom(int); ++extern void closefrom(int); + + #endif + +@@ -1563,7 +1563,7 @@ typedef int pid_t; + + /* + * Clang-style attribute tests. +- * ++ * + * XXX Without the unconditional test below, gcc 4.6 will barf on ``elif + * defined(__clang__) && __has_attribute(__whatever__)'' with error message + * ``missing binary operator before token "("''. +@@ -1577,7 +1577,7 @@ typedef int pid_t; + * warn for missing initializations and other trouble. However, OPENSTEP4 + * gcc 2.7.x cannot handle this so we define this only if NORETURN isn't + * already defined above. +- * ++ * + * Data point: gcc 2.7.2 has __attribute__ (Wietse Venema) but gcc 2.6.3 does + * not (Clive Jones). So we'll set the threshold at 2.7. + */ +@@ -1653,12 +1653,12 @@ typedef int pid_t; + * write to output parameters (for example, stat- or scanf-like functions) + * or from functions that have other useful side effects (for example, + * fseek- or rename-like functions). +- * ++ * + * DO NOT use this for functions that write to a stream; it is entirely + * legitimate to detect write errors with fflush() or fclose() only. On the + * other hand most (but not all) functions that read from a stream must + * never ignore result values. +- * ++ * + * XXX Prepending "(void)" won't shut up GCC. Clang behaves as expected. + */ + #if ((__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || __GNUC__ > 3) +@@ -1739,7 +1739,7 @@ typedef const char *CONST_CHAR_STAR; + * Safety. On some systems, ctype.h misbehaves with non-ASCII or negative + * characters. More importantly, Postfix uses the ISXXX() macros to ensure + * protocol compliance, so we have to rule out non-ASCII characters. +- * ++ * + * XXX The (unsigned char) casts in isalnum() etc arguments are unnecessary + * because the ISASCII() guard already ensures that the values are + * non-negative; the casts are done anyway to shut up chatty compilers. +-- +2.17.1 + diff --git a/meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch b/meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch deleted file mode 100644 index e583354ccb..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/0007-correct-signature-of-closefrom-API.patch +++ /dev/null @@ -1,101 +0,0 @@ -From 1e451ddc15af1a4e19318c8b1ced46c5c41610d3 Mon Sep 17 00:00:00 2001 -From: Khem Raj -Date: Wed, 14 Jul 2021 18:08:30 -0700 -Subject: [PATCH] correct signature of closefrom() API - -glibc 2.34 introduced this function and finds this error which has been -all along. - -Upstream-Status: Pending - -Signed-off-by: Khem Raj ---- - src/util/sys_compat.c | 6 +++--- - src/util/sys_defs.h | 12 ++++++------ - 2 files changed, 9 insertions(+), 9 deletions(-) - -diff --git a/src/util/sys_compat.c b/src/util/sys_compat.c -index 8bf8e58..c87f043 100644 ---- a/src/util/sys_compat.c -+++ b/src/util/sys_compat.c -@@ -286,7 +286,7 @@ int dup2_pass_on_exec(int oldd, int newd) - - /* closefrom() - closes all file descriptors from the given one up */ - --int closefrom(int lowfd) -+void closefrom(int lowfd) - { - int fd_limit = open_limit(0); - int fd; -@@ -298,14 +298,14 @@ int closefrom(int lowfd) - */ - if (lowfd < 0) { - errno = EBADF; -- return (-1); -+ return; - } - if (fd_limit > 500) - fd_limit = 500; - for (fd = lowfd; fd < fd_limit; fd++) - (void) close(fd); - -- return (0); -+ return; - } - - #endif -diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h -index 2e1c953..515de6c 100644 ---- a/src/util/sys_defs.h -+++ b/src/util/sys_defs.h -@@ -1509,7 +1509,7 @@ extern int setsid(void); - #endif - - #ifndef HAS_CLOSEFROM --extern int closefrom(int); -+extern void closefrom(int); - - #endif - -@@ -1563,7 +1563,7 @@ typedef int pid_t; - - /* - * Clang-style attribute tests. -- * -+ * - * XXX Without the unconditional test below, gcc 4.6 will barf on ``elif - * defined(__clang__) && __has_attribute(__whatever__)'' with error message - * ``missing binary operator before token "("''. -@@ -1577,7 +1577,7 @@ typedef int pid_t; - * warn for missing initializations and other trouble. However, OPENSTEP4 - * gcc 2.7.x cannot handle this so we define this only if NORETURN isn't - * already defined above. -- * -+ * - * Data point: gcc 2.7.2 has __attribute__ (Wietse Venema) but gcc 2.6.3 does - * not (Clive Jones). So we'll set the threshold at 2.7. - */ -@@ -1653,12 +1653,12 @@ typedef int pid_t; - * write to output parameters (for example, stat- or scanf-like functions) - * or from functions that have other useful side effects (for example, - * fseek- or rename-like functions). -- * -+ * - * DO NOT use this for functions that write to a stream; it is entirely - * legitimate to detect write errors with fflush() or fclose() only. On the - * other hand most (but not all) functions that read from a stream must - * never ignore result values. -- * -+ * - * XXX Prepending "(void)" won't shut up GCC. Clang behaves as expected. - */ - #if ((__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || __GNUC__ > 3) -@@ -1739,7 +1739,7 @@ typedef const char *CONST_CHAR_STAR; - * Safety. On some systems, ctype.h misbehaves with non-ASCII or negative - * characters. More importantly, Postfix uses the ISXXX() macros to ensure - * protocol compliance, so we have to rule out non-ASCII characters. -- * -+ * - * XXX The (unsigned char) casts in isalnum() etc arguments are unnecessary - * because the ISASCII() guard already ensures that the values are - * non-negative; the casts are done anyway to shut up chatty compilers. diff --git a/meta-networking/recipes-daemons/postfix/files/aliasesdb b/meta-networking/recipes-daemons/postfix/files/aliasesdb old mode 100755 new mode 100644 diff --git a/meta-networking/recipes-daemons/postfix/files/check_hostname.sh b/meta-networking/recipes-daemons/postfix/files/check_hostname.sh old mode 100755 new mode 100644 diff --git a/meta-networking/recipes-daemons/postfix/files/icu-config.patch b/meta-networking/recipes-daemons/postfix/files/icu-config.patch deleted file mode 100644 index 9bd9c2f03e..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/icu-config.patch +++ /dev/null @@ -1,21 +0,0 @@ -do not entertain cppflags from icu, this is because -icu-config feeds the -I path without sysroot which -caused native headers to be included and build is -corrupted in any case its just adding -I/usr/include -to the CCARGS which we loose nothing if its not -entertained. - -Signed-off-by: Khem Raj - -Index: postfix-3.2.2/makedefs -=================================================================== ---- postfix-3.2.2.orig/makedefs -+++ postfix-3.2.2/makedefs -@@ -799,7 +799,6 @@ EOF - ${BUILD_CC-gcc} -o makedefs.test makedefs.test.c $icu_cppflags \ - $icu_ldflags >/dev/null 2>&1 - if ./makedefs.test 2>/dev/null ; then -- CCARGS="$CCARGS $icu_cppflags" - SYSLIBS="$SYSLIBS $icu_ldflags" - else - CCARGS="$CCARGS -DNO_EAI" diff --git a/meta-networking/recipes-daemons/postfix/files/install.patch b/meta-networking/recipes-daemons/postfix/files/install.patch deleted file mode 100644 index d023680f3b..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/install.patch +++ /dev/null @@ -1,93 +0,0 @@ -From 190650e1cd5700cd6950ead3fcb17ebcec192a2e Mon Sep 17 00:00:00 2001 -From: Li xin -Date: Fri, 19 Jun 2015 17:14:58 +0900 -Subject: [PATCH] Change fixed postconf to a variable for cross-compiling - -Upstreamstatus: Inappropriate [embedded specific] - -Signed-off-by: Yao Zhao ---- - postfix-install | 18 ++++++++++-------- - 1 file changed, 10 insertions(+), 8 deletions(-) - -diff --git a/postfix-install b/postfix-install -index 1662c3d..d11fa12 100644 ---- a/postfix-install -+++ b/postfix-install -@@ -226,8 +226,8 @@ test -z "$non_interactive" -a ! -t 0 && { - exit 1 - } - --test -x bin/postconf || { -- echo $0: Error: no bin/postconf file. Did you forget to run \"make\"? 1>&2 -+test -x "$POSTCONF" || { -+ echo $0: Error: no $POSTCONF file. Did you forget to run \"make\"? 1>&2 - exit 1 - } - -@@ -248,7 +248,7 @@ do - case "$junk" in - *MAIL_VERSION*) - case "$mail_version" in -- "") mail_version="`bin/postconf -dhx mail_version`" || exit 1 -+ "") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 - esac - val=`echo "$junk" | sed 's/MAIL_VERSION$/'"$mail_version/g"` || exit 1 - case "$val" in -@@ -434,7 +434,7 @@ template files main.cf.proto and master.cf.proto." - - : ${install_root=/} - : ${tempdir=`pwd`} --: ${config_directory=`bin/postconf -c conf -h -d config_directory`} -+: ${config_directory=`$POSTCONF -c conf -h -d config_directory`} - - # Find out the location of installed configuration files. - -@@ -500,7 +500,7 @@ test -f $CONFIG_DIRECTORY/main.cf && { - case "$junk" in - "") eval unset $name;; - esac -- eval : \${$name=\`bin/postconf -c $CONFIG_DIRECTORY -hx $name\`} || -+ eval : \${$name=\`$POSTCONF -c $CONFIG_DIRECTORY -hx $name\`} || - exit 1 - done - } -@@ -513,7 +513,7 @@ do - case "$junk" in - "") eval unset $name;; - esac -- eval : \${$name=\`bin/postconf -c conf -d -hx $name\`} || exit 1 -+ eval : \${$name=\`$POSTCONF -c conf -d -hx $name\`} || exit 1 - done - - # Override settings manually. -@@ -639,6 +639,8 @@ README_DIRECTORY=$install_root$readme_directory - SHLIB_DIRECTORY=$install_root$shlib_directory - META_DIRECTORY=$install_root$meta_directory - -+test "x$POSTCONF" != "x" || POSTCONF="bin/postconf" -+ - # Avoid repeated tests for existence of these; default permissions suffice. - - test -d $DAEMON_DIRECTORY || mkdir -p $DAEMON_DIRECTORY || exit 1 -@@ -810,7 +812,7 @@ IFS="$BACKUP_IFS" - # the wrong place when Postfix is being upgraded. - - case "$mail_version" in --"") mail_version="`bin/postconf -dhx mail_version`" || exit 1 -+"") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 - esac - - # Undo MAIL_VERSION expansion at the end of a parameter value. If -@@ -830,7 +832,7 @@ do - esac - done - --bin/postconf -c $CONFIG_DIRECTORY -e \ -+"$POSTCONF" -c $CONFIG_DIRECTORY -e \ - "daemon_directory = $daemon_directory" \ - "data_directory = $data_directory" \ - "command_directory = $command_directory" \ --- -1.8.4.2 - diff --git a/meta-networking/recipes-daemons/postfix/files/makedefs.patch b/meta-networking/recipes-daemons/postfix/files/makedefs.patch deleted file mode 100644 index 98d5f7ed60..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/makedefs.patch +++ /dev/null @@ -1,116 +0,0 @@ -From 4f49e2ce420fb3c17415937530493158ef312733 Mon Sep 17 00:00:00 2001 -From: Li xin -Date: Fri, 19 Jun 2015 16:45:54 +0900 -Subject: [PATCH] 1)remove RANLIB, SYSLIBS, AR and get them from env. - -2)reference sysroot when searching header files -3)include sysroot path instead of absolute include path -for Linux2 and Linux3 systems. -4)for non-native build, search STAGING_BASELIBDIR/LIBDIR - native build, search host library path for nsl and resolv library - which comes from libc - -Upstreamstatus: Inappropriate [embedded specific] - -Signed-off-by: Yao Zhao ---- - makedefs | 27 +++++++++++---------------- - 1 file changed, 11 insertions(+), 16 deletions(-) - -diff --git a/makedefs b/makedefs -index 8b84e47..893fb0d 100644 ---- a/makedefs -+++ b/makedefs -@@ -170,9 +170,6 @@ echo "# pie=$pie" - - # Defaults for most sane systems - --RANLIB=ranlib --SYSLIBS= --AR=ar - ARFL=rv - - # Ugly function to make our error message more visible among the -@@ -424,12 +421,12 @@ case "$SYSTEM.$RELEASE" in - case "$CCARGS" in - *-DNO_DB*) ;; - *-DHAS_DB*) ;; -- *) if [ -f /usr/include/db.h ] -+ *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ] - then - : we are all set -- elif [ -f /usr/include/db/db.h ] -+ elif [ -f "$BUILD_SYSROOT"/usr/include/db/db.h ] - then -- CCARGS="$CCARGS -I/usr/include/db" -+ CCARGS="$CCARGS -I"$BUILD_SYSROOT"/usr/include/db" - else - # No, we're not going to try db1 db2 db3 etc. - # On a properly installed system, Postfix builds -@@ -438,12 +435,12 @@ case "$SYSTEM.$RELEASE" in - echo "Install the appropriate db*-devel package first." 1>&2 - exit 1 - fi -- SYSLIBS="-ldb" -+ SYSLIBS="$SYSLIBS -ldb" - ;; - esac - for name in nsl resolv $GDBM_LIBS - do -- for lib in /usr/lib64 /lib64 /usr/lib /lib -+ for lib in $BUILD_SYSROOT_NSL_PATH - do - test -e $lib/lib$name.a -o -e $lib/lib$name.so && { - SYSLIBS="$SYSLIBS -l$name" -@@ -463,7 +460,7 @@ case "$SYSTEM.$RELEASE" in - if [ `expr "X$CCARGS" : "X.*-DNO_EPOLL"` -gt 0 ] - then - : -- elif [ ! -e /usr/include/sys/epoll.h ] -+ elif [ ! -e "$BUILD_SYSROOT"/usr/include/sys/epoll.h ] - then - echo CCARGS="$CCARGS -DNO_EPOLL" - else -@@ -487,8 +484,6 @@ int main(int argc, char **argv) - } - EOF - ${CC-gcc} -o makedefs.test makedefs.test.c || exit 1 -- ./makedefs.test 2>/dev/null || -- CCARGS="$CCARGS -DNO_EPOLL" - rm -f makedefs.test makedefs.test.[co] - fi;; - esac -@@ -504,12 +499,12 @@ EOF - case "$CCARGS" in - *-DNO_DB*) ;; - *-DHAS_DB*) ;; -- *) if [ -f /usr/include/db.h ] -+ *) if [ -f "$BUILD_SYSROOT"/usr/include/db.h ] - then - : we are all set -- elif [ -f /usr/include/db/db.h ] -+ elif [ -f "$BUILD_SYSROOT"/usr/include/db/db.h ] - then -- CCARGS="$CCARGS -I/usr/include/db" -+ CCARGS="$CCARGS -I"$BUILD_SYSROOT"/usr/include/db" - else - # On a properly installed system, Postfix builds - # by including and by linking with -ldb -@@ -517,12 +512,12 @@ EOF - echo "Install the appropriate db*-devel package first." 1>&2 - exit 1 - fi -- SYSLIBS="-ldb" -+ SYSLIBS="$SYSLIBS -ldb" - ;; - esac - for name in nsl resolv - do -- for lib in /usr/lib64 /lib64 /usr/lib /usr/lib/* /lib /lib/* -+ for lib in $BUILD_SYSROOT_NSL_PATH - do - test -e $lib/lib$name.a -o -e $lib/lib$name.so && { - SYSLIBS="$SYSLIBS -l$name" --- -1.8.4.2 - diff --git a/meta-networking/recipes-daemons/postfix/files/postfix b/meta-networking/recipes-daemons/postfix/files/postfix old mode 100755 new mode 100644 diff --git a/meta-networking/recipes-daemons/postfix/files/postfix-install.patch b/meta-networking/recipes-daemons/postfix/files/postfix-install.patch deleted file mode 100644 index 45479bd52a..0000000000 --- a/meta-networking/recipes-daemons/postfix/files/postfix-install.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: postfix-3.2.2/postfix-install -=================================================================== ---- postfix-3.2.2.orig/postfix-install -+++ postfix-3.2.2/postfix-install -@@ -843,7 +843,7 @@ IFS="$BACKUP_IFS" - # the wrong place when Postfix is being upgraded. - - case "$mail_version" in --"") mail_version="`$POSTCONF -dhx mail_version`" || exit 1 -+"") mail_version="`$POSTCONF -c $CONFIG_DIRECTORY -dhx mail_version`" || exit 1 - esac - - # Undo MAIL_VERSION expansion at the end of a parameter value. If -Index: postfix-3.2.2/Makefile.in -=================================================================== ---- postfix-3.2.2.orig/Makefile.in -+++ postfix-3.2.2/Makefile.in -@@ -20,7 +20,7 @@ META = meta/main.cf.proto meta/master.cf - EXPAND = sed -e "s;\$${LIB_PREFIX};$(LIB_PREFIX);" \ - -e "s;\$${LIB_SUFFIX};$(LIB_SUFFIX);" - SHLIB_DIR_OVERRIDE = \ -- $${shlib_directory:-`$(SHLIB_ENV) bin/postconf -dhx shlib_directory`} -+ $${shlib_directory:-`$(SHLIB_ENV) $(POSTCONF) -dhx shlib_directory`} - - default: update - diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.6.3.bb b/meta-networking/recipes-daemons/postfix/postfix_3.6.3.bb deleted file mode 100644 index 98005797d9..0000000000 --- a/meta-networking/recipes-daemons/postfix/postfix_3.6.3.bb +++ /dev/null @@ -1,19 +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://0007-correct-signature-of-closefrom-API.patch \ - " -SRC_URI[sha256sum] = "0f1241d456a0158e0c418abf62c52c2ff83f8f1dcf2fbdd4c40765b67789b1bc" -UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.6(\.\d+)+).tar.gz" diff --git a/meta-networking/recipes-daemons/postfix/postfix_3.6.4.bb b/meta-networking/recipes-daemons/postfix/postfix_3.6.4.bb new file mode 100644 index 0000000000..54c8eab5c9 --- /dev/null +++ b/meta-networking/recipes-daemons/postfix/postfix_3.6.4.bb @@ -0,0 +1,18 @@ +require postfix.inc + +SRC_URI += "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ + file://main.cf \ + file://postfix \ + file://internal_recipient \ + file://postfix.service \ + file://aliasesdb \ + file://check_hostname.sh \ + file://0001-Fix-makedefs.patch \ + file://0002-Change-fixed-postconf-to-a-variable-for-cross-compil.patch \ + file://0003-makedefs-Use-native-compiler-to-build-makedefs.test.patch \ + file://0004-Fix-icu-config.patch \ + file://0005-makedefs-add-lnsl-and-lresolv-to-SYSLIBS-by-default.patch \ + file://0006-correct-signature-of-closefrom-API.patch \ + " +SRC_URI[sha256sum] = "8de0619dcf2fa7c215a80cf84b82ab71631d4d4722cba0949725ce3e18031d4e" +UPSTREAM_CHECK_REGEX = "postfix\-(?P3\.6(\.\d+)+).tar.gz" -- cgit v1.2.3-54-g00ecf