Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package postfix for openSUSE:Factory checked in at 2021-08-28 22:28:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/postfix (Old) and /work/SRC/openSUSE:Factory/.postfix.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "postfix" Sat Aug 28 22:28:43 2021 rev:208 rq:914312 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/postfix/postfix-bdb.changes 2021-08-18 08:55:05.859029324 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new.1899/postfix-bdb.changes 2021-08-28 22:28:47.361954254 +0200 @@ -1,0 +2,9 @@ +Tue Aug 24 09:55:02 UTC 2021 - Peter Varkoly <vark...@suse.com> + +- postfix fails with glibc 2.34 + Define HAS_CLOSEFROM + (bsc#1189101) + add patch + - postfix-3.6.2-glibc-234-build-fix.patch + +------------------------------------------------------------------- --- /work/SRC/openSUSE:Factory/postfix/postfix.changes 2021-08-18 08:55:05.899029279 +0200 +++ /work/SRC/openSUSE:Factory/.postfix.new.1899/postfix.changes 2021-08-28 22:28:47.981954897 +0200 @@ -1,0 +2,9 @@ +Tue Aug 24 09:55:42 UTC 2021 - Peter Varkoly <vark...@suse.com> + +- postfix fails with glibc 2.34 + Define HAS_CLOSEFROM + (bsc#1189101) + add patch + - postfix-3.6.2-glibc-234-build-fix.patch + +------------------------------------------------------------------- New: ---- postfix-3.6.2-glibc-234-build-fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ postfix-bdb.spec ++++++ --- /var/tmp/diff_new_pack.Zf1Kwk/_old 2021-08-28 22:28:48.813955760 +0200 +++ /var/tmp/diff_new_pack.Zf1Kwk/_new 2021-08-28 22:28:48.817955764 +0200 @@ -82,6 +82,7 @@ Patch8: postfix-vda-v14-3.0.3.patch Patch9: fix-postfix-script.patch Patch10: postfix-avoid-infinit-loop-if-no-permission.patch +Patch11: postfix-3.6.2-glibc-234-build-fix.patch BuildRequires: ca-certificates BuildRequires: cyrus-sasl-devel BuildRequires: db-devel @@ -155,6 +156,7 @@ %patch8 %patch9 %patch10 +%patch11 -p1 # --------------------------------------------------------------------------- ++++++ postfix.spec ++++++ --- /var/tmp/diff_new_pack.Zf1Kwk/_old 2021-08-28 22:28:48.849955798 +0200 +++ /var/tmp/diff_new_pack.Zf1Kwk/_new 2021-08-28 22:28:48.853955801 +0200 @@ -69,6 +69,7 @@ Patch9: fix-postfix-script.patch Patch10: %{name}-avoid-infinit-loop-if-no-permission.patch Patch11: set-default-db-type.patch +Patch12: postfix-3.6.2-glibc-234-build-fix.patch BuildRequires: ca-certificates BuildRequires: cyrus-sasl-devel #BuildRequires: db-devel @@ -175,6 +176,7 @@ %patch9 %patch10 %patch11 +%patch12 -p1 # --------------------------------------------------------------------------- ++++++ postfix-3.6.2-glibc-234-build-fix.patch ++++++ diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h index 99bec9b..95c78ec 100644 --- a/src/util/sys_defs.h +++ b/src/util/sys_defs.h @@ -802,6 +803,9 @@ extern int initgroups(const char *, int); #define _PATH_PROCNET_IFINET6 "/proc/net/if_inet6" #endif #endif +#if HAVE_GLIBC_API_VERSION_SUPPORT(2, 34) +#define HAS_CLOSEFROM +#endif #include <linux/version.h> #if !defined(KERNEL_VERSION) #define KERNEL_VERSION(a,b,c) (LINUX_VERSION_CODE + 1)