Hello community, here is the log from the commit of package procmail for openSUSE:Factory checked in at 2017-06-17 10:19:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/procmail (Old) and /work/SRC/openSUSE:Factory/.procmail.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "procmail" Sat Jun 17 10:19:11 2017 rev:29 rq:501320 version:3.22 Changes: -------- --- /work/SRC/openSUSE:Factory/procmail/procmail.changes 2015-01-06 09:06:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.procmail.new/procmail.changes 2017-06-17 10:19:15.711299839 +0200 @@ -1,0 +2,6 @@ +Mon May 29 18:59:25 UTC 2017 - [email protected] + +- Add reproducible.patch to have binaries independent of speed + of compile system (boo#1041534) + +------------------------------------------------------------------- New: ---- reproducible.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ procmail.spec ++++++ --- /var/tmp/diff_new_pack.3iA2iO/_old 2017-06-17 10:19:17.511045962 +0200 +++ /var/tmp/diff_new_pack.3iA2iO/_new 2017-06-17 10:19:17.511045962 +0200 @@ -34,6 +34,8 @@ Patch6: procmail-%{version}-ipv6.patch # PATCH-FIX-SUSE Heap-overflow in procmail's formail utility when processing specially-crafted email headers (bnc#894999) Patch7: procmail-%{version}-CVE-2014-3618.patch +# PATCH-FIX-SUSE bmwiedemann -- make build reproducible +Patch8: reproducible.patch BuildRequires: pcre-devel BuildRequires: postfix Requires: /bin/sed @@ -59,6 +61,7 @@ %patch5 -p0 %patch6 -p1 %patch7 -p0 +%patch8 -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 ++++++ reproducible.patch ++++++ Index: procmail-3.22/src/autoconf =================================================================== --- procmail-3.22.orig/src/autoconf +++ procmail-3.22/src/autoconf @@ -1251,7 +1251,7 @@ int main(argc,argv)int argc;const char*a /* Your system's strstr() is %.2f times %sER than my C-routine */\n", syscnt>=iter?(double)syscnt/iter:(double)iter/syscnt, syscnt>=iter?"SLOW":"FAST"); - if(syscnt>iter+iter/16) /* if at least 1.0625 times slower */ + if(0) /* always use system strstr to have reproducible binaries */ printf("\ #define SLOWstrstr\t\t\t /* using my substitute instead */\n"); }
