Hello community,

here is the log from the commit of package findutils for openSUSE:Factory 
checked in at 2012-11-26 18:54:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/findutils (Old)
 and      /work/SRC/openSUSE:Factory/.findutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "findutils", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/findutils/findutils.changes      2012-07-30 
20:16:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.findutils.new/findutils.changes 2012-11-26 
18:56:21.000000000 +0100
@@ -1,0 +2,10 @@
+Thu Nov 15 13:32:47 CET 2012 - [email protected]
+
+- Initialize stat_buf in find.c(process_path) so that find by inum
+  works (bnc#780928 http://savannah.gnu.org/bugs/?37683)
+  findutils-init_stat_buf.patch.
+- Exclude /.snapshot from updatedb's indexing (bnc#780918)
+  No patch, change was done in the sysconfig file of this package.
+- Rename automake-1.12.patch to findutils-automake-1.12.patch
+
+-------------------------------------------------------------------

New:
----
  findutils-automake-1.12.patch
  findutils-init_stat_buf.patch

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

Other differences:
------------------
++++++ findutils.spec ++++++
--- /var/tmp/diff_new_pack.lnhnvb/_old  2012-11-26 18:56:30.000000000 +0100
+++ /var/tmp/diff_new_pack.lnhnvb/_new  2012-11-26 18:56:30.000000000 +0100
@@ -35,7 +35,9 @@
 Patch2:         findutils-4.4.2-updatedb.patch
 Patch3:         findutils-4.5.10-prune_unknown.patch
 Patch4:         findutils-4.5.10-updatedb_ignore_nfsv4.patch
-Patch5:         findutils-stdio.in.patch
+Patch5:         findutils-automake-1.12.patch
+Patch6:         findutils-stdio.in.patch
+Patch7:         findutils-init_stat_buf.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} > 1100
 BuildRequires:  libselinux-devel
@@ -83,6 +85,8 @@
 %patch3
 %patch4
 %patch5 -p1
+%patch6 -p1
+%patch7
 
 %build
 %ifarch %arm armv5tel armv7l armv7el armv5el

++++++ findutils-automake-1.12.patch ++++++
Index: findutils-4.5.10/configure.ac
===================================================================
--- findutils-4.5.10.orig/configure.ac
+++ findutils-4.5.10/configure.ac
@@ -77,8 +77,6 @@ AC_PROG_CPP
 dnl for gnulib
 gl_EARLY
 
-AM_C_PROTOTYPES
-
 AC_PROG_INSTALL
 AC_PROG_RANLIB
 dnl AC_PROG_LIBTOOL
++++++ findutils-init_stat_buf.patch ++++++
From: Philipp Thomas <[email protected]>
Date: 2012-11-13 11:58:38+01:00
Subject: Find by inode fails because of uninitialized structure
References: bnc#780928
Upstream: http://savannah.gnu.org/bugs/?37683

stat_buf in find.c(process_path) wasn't initialized and always contained the
inode no.  of the first file.  util.c(get_info) then thought it already
had the inode information and the following comparison in pred.c(pred_inum) in
fails of cause.


---
 find/find.c |    1 +
 1 file changed, 1 insertion(+)

Index: find/find.c
===================================================================
--- find/find.c.orig    2011-04-04 00:53:11.000000000 +0200
+++ find/find.c 2012-11-13 11:57:46.161844128 +0100
@@ -1131,6 +1131,7 @@ process_path (char *pathname, char *name
 
   eval_tree = get_eval_tree ();
   /* Assume it is a non-directory initially. */
+  memset(&stat_buf,'\0',sizeof(stat_buf));
   stat_buf.st_mode = 0;
   state.rel_pathname = name;
   state.type = 0;
++++++ sysconfig.locate ++++++
--- /var/tmp/diff_new_pack.lnhnvb/_old  2012-11-26 18:56:30.000000000 +0100
+++ /var/tmp/diff_new_pack.lnhnvb/_new  2012-11-26 18:56:30.000000000 +0100
@@ -30,12 +30,12 @@
 UPDATEDB_NETPATHS=""
 
 ## Type:       string
-## Default:    "/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media 
/sys"
+## Default:    "/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc /media 
/sys /.snapshot"
 #
 # uptdatedb can skip directories for its database. The following parameter
 # says which ones.
 #
-UPDATEDB_PRUNEPATHS="/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc 
/media /sys"
+UPDATEDB_PRUNEPATHS="/mnt /cdrom /tmp /usr/tmp /var/tmp /var/spool /proc 
/media /sys /.snapshot"
 
 ## Type:       string("",nobody)
 ## Default:    ""

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to