Hello community,
here is the log from the commit of package procmail for openSUSE:Factory checked in at 2020-11-30 09:53:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/procmail (Old)
and /work/SRC/openSUSE:Factory/.procmail.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "procmail"
Mon Nov 30 09:53:09 2020 rev:34 rq:850903 version:3.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/procmail/procmail.changes 2020-11-02 14:04:08.800670202 +0100
+++ /work/SRC/openSUSE:Factory/.procmail.new.5913/procmail.changes 2020-11-30 09:53:20.849749688 +0100
@@ -1,0 +2,6 @@
+Thu Nov 26 03:15:35 UTC 2020 - Bernhard Wiedemann
+
+- Add reproducible2.patch to negate influences from preinstallimage
+ to make package build reproducible
+
+-------------------------------------------------------------------
New:
----
reproducible2.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ procmail.spec ++++++
--- /var/tmp/diff_new_pack.PExqY4/_old 2020-11-30 09:53:21.817750610 +0100
+++ /var/tmp/diff_new_pack.PExqY4/_new 2020-11-30 09:53:21.821750614 +0100
@@ -35,6 +35,7 @@
# PATCH-FIX-SUSE bmwiedemann -- make build reproducible
Patch8: reproducible.patch
Patch10: procmail-fix-Werror=return-type.patch
+Patch11: reproducible2.patch
BuildRequires: pcre-devel
BuildRequires: postfix
Requires: /bin/sed
@@ -61,6 +62,7 @@
%patch6 -p1
%patch8 -p1
%patch10 -p1
+%patch11 -p1
sed -ri '\@^/\*@,\@\*/@{ s@^(/\*[^*]*)(/\*)@\1\*/ \2@; }' config.h
sed -ri '\@^/\*@,\@\*/@{ s@^(/\*[^*]*)(/\*)@\1\*/ \2@; }' src/includes.h
sed -ri '\@^#.*[[:blank:]]+/\*[^/]*$@M,\@\*/$@{ s@(^[[:blank:]]+)/\*@\1 @;}' src/includes.h
++++++ reproducible2.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2020-11-26
always set setrgid_RUNTIME_CHECK
without this patch, builds with preinstallimage did not have this flag
but builds without preinstallimage did have setrgid_RUNTIME_CHECK defined
causing problems for verification of binaries
diff --git a/src/autoconf b/src/autoconf
index b0fef8a..f2f8351 100755
--- a/src/autoconf
+++ b/src/autoconf
@@ -1302,8 +1302,7 @@ int main(argc,argv)int argc;const char*argv[];
if(!setrgid(groups[i])&&getgid()!=groups[i])
puts("#define setrgid_BRAIN_DAMAGE");
}
- else
- puts("#define setrgid_RUNTIME_CHECK");
+ puts("#define setrgid_RUNTIME_CHECK");
}
#endif
skipsetrgid:;