![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package findutils for openSUSE:Factory checked in at Thu Apr 1 17:18:32 CEST 2010. -------- --- findutils/findutils.changes 2010-03-08 19:04:20.000000000 +0100 +++ /mounts/work_src_done/STABLE/findutils/findutils.changes 2010-04-01 17:05:11.000000000 +0200 @@ -1,0 +2,8 @@ +Thu Apr 1 12:22:10 CEST 2010 - pth@suse.de + +- Use /proc/mounts instead of /etc/mtab as in newer kernels autofs + entries appear only in the former (bnc#591460) +- updatedb will by default ignore filesystems where it can't determine the + type. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- findutils-4.4.2-autofs.patch New: ---- findutils-prune_unknown.patch findutils-use_proc_mounts.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ findutils.spec ++++++ --- /var/tmp/diff_new_pack.Y6hDNI/_old 2010-04-01 17:17:44.000000000 +0200 +++ /var/tmp/diff_new_pack.Y6hDNI/_new 2010-04-01 17:17:44.000000000 +0200 @@ -22,15 +22,15 @@ License: GPLv3+ Group: Productivity/File utilities Version: 4.4.2 -Release: 1 +Release: 2 Summary: The GNU versions of find utilities (find and xargs) # retreived from http://ftp.gnu.org/pub/gnu/findutils/findutils-4.4.2.tar.gz Source: findutils-%{version}.tar.bz2 Source1: sysconfig.locate Source2: cron.daily.updatedb -# learn find to recognize autofs file system by reading /proc/mounts -# as autofs mount points are not listed in /etc/mtab -Patch0: findutils-4.4.2-autofs.patch +# Use /proc/mounts instead of /etc/mtab as autofs entries are only +# listed in the kernels >= 2.6.32 +Patch0: findutils-use_proc_mounts.patch # adds a new option -xautofs to find to not descend into directories on autofs file systems Patch1: findutils-4.4.2-xautofs.patch # patch accepted by gnulib upstream - rhbz#538536 @@ -42,6 +42,7 @@ # the following patch will be no longer needed Patch4: findutils-4.4.2-selinux-gnulib.patch Patch5: findutils-4.4.2-updatedb.patch +Patch6: findutils-prune_unknown.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} > 1100 BuildRequires: libselinux-devel @@ -83,12 +84,13 @@ %prep %setup -q -%patch0 -p1 +%patch0 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 +%patch6 %build autoreconf ++++++ findutils-prune_unknown.patch ++++++ Index: locate/updatedb.sh =================================================================== --- locate/updatedb.sh.orig 2010-04-01 12:46:24.000000000 +0200 +++ locate/updatedb.sh 2010-04-01 12:47:09.919511262 +0200 @@ -228,7 +228,7 @@ done PATH=/bin:/usr/bin:${BINDIR}; export PATH -: ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P"} +: ${PRUNEFS="nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs cifs 9P unknown"} if test -n "$PRUNEFS"; then prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-fstype \1 -o/g'` ++++++ findutils-use_proc_mounts.patch ++++++ Index: gnulib/lib/mountlist.c =================================================================== --- gnulib/lib/mountlist.c.orig 2007-12-02 12:57:51.000000000 +0100 +++ gnulib/lib/mountlist.c 2010-04-01 12:20:56.784502964 +0200 @@ -60,7 +60,11 @@ # include <mntent.h> # if !defined MOUNTED # if defined _PATH_MOUNTED /* GNU libc */ -# define MOUNTED _PATH_MOUNTED +# if defined __linux__ +# define MOUNTED "/proc/mounts" +# else +# define MOUNTED _PATH_MOUNTED +# endif # endif # if defined MNT_MNTTAB /* HP-UX. */ # define MOUNTED MNT_MNTTAB ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org