Hello community,

here is the log from the commit of package ncftp for openSUSE:Factory checked 
in at 2018-06-19 12:01:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ncftp (Old)
 and      /work/SRC/openSUSE:Factory/.ncftp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ncftp"

Tue Jun 19 12:01:15 2018 rev:21 rq:616809 version:3.2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/ncftp/ncftp.changes      2017-01-19 
10:37:20.396180105 +0100
+++ /work/SRC/openSUSE:Factory/.ncftp.new/ncftp.changes 2018-06-19 
12:01:17.715307781 +0200
@@ -1,0 +2,5 @@
+Thu Jun 14 08:10:29 UTC 2018 - [email protected]
+
+- Add ncftp-3.2.6-no-uname.patch to make build reproducible (boo#1084909)
+
+-------------------------------------------------------------------

New:
----
  ncftp-3.2.6-no-uname.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ncftp.spec ++++++
--- /var/tmp/diff_new_pack.lGohaj/_old  2018-06-19 12:01:18.439280901 +0200
+++ /var/tmp/diff_new_pack.lGohaj/_new  2018-06-19 12:01:18.443280752 +0200
@@ -27,6 +27,8 @@
 Patch0:         ncftp-3.1.8-locale.diff
 Patch2:         ncftp-3.1.8-implicit_decl.diff
 Patch3:         ncftp-3.2.5-no-date.patch
+# PATCH-FIX-OPENSUSE make build reproducible (boo#1084909)
+Patch4:         ncftp-3.2.6-no-uname.patch
 BuildRequires:  dos2unix
 BuildRequires:  ncurses-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -43,6 +45,7 @@
 %patch0 -p1
 %patch2
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="%{optflags} -D_LARGEFILE64_SOURCE"

++++++ ncftp-3.2.6-no-uname.patch ++++++
Author: Bernhard M. Wiedemann <bwiedemann suse.de>
Date:   Thu Jun 14 06:08:12 2018 +0000

make build reproducible
https://bugzilla.opensuse.org/show_bug.cgi?id=1084909
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=829249

Index: ncftp-3.2.6/configure
===================================================================
--- ncftp-3.2.6.orig/configure
+++ ncftp-3.2.6/configure
@@ -4638,7 +4638,7 @@ ac_exeext=$EXEEXT
 
 # Get first 127 chars of all uname information.  Some folks have
 # way too much stuff there, so grab only the first 127.
-unam=`uname -a 2>/dev/null | cut -c1-127 | sed 's-"-\\"-g'`
+unam=`uname -smp 2>/dev/null | cut -c1-127 | sed 's-"-\\"-g'`
 if test "$unam" != "" ; then
        cat >> confdefs.h <<EOF
 #define UNAME "$unam"

Reply via email to