Blame SOURCES/findutils-4.4.0-no-locate.patch

709426
From dc92679e2c363f8c0d659fa428c138684455a6bd Mon Sep 17 00:00:00 2001
709426
From: Kamil Dudka <kdudka@redhat.com>
709426
Date: Wed, 11 May 2011 16:46:13 +0200
709426
Subject: [PATCH 1/4] findutils-4.4.0-no-locate.patch
709426
709426
---
709426
 Makefile.am   |    2 +-
709426
 configure.ac  |    2 --
709426
 doc/find.texi |   24 ++++++++----------------
709426
 3 files changed, 9 insertions(+), 19 deletions(-)
709426
709426
diff --git a/Makefile.am b/Makefile.am
709426
index c7f8f39..0dacb93 100644
709426
--- a/Makefile.am
709426
+++ b/Makefile.am
709426
@@ -9,7 +9,7 @@ DISTCLEANFILES = tool-versions.txt
709426
 
709426
 
709426
 # "tests" is the gnulib unit test dir.
709426
-SUBDIRS = gl tests build-aux lib find xargs locate doc po m4
709426
+SUBDIRS = gl tests build-aux lib find xargs doc po m4
709426
 
709426
 ACLOCAL_AMFLAGS = -I gl/m4 -I m4
709426
 
709426
diff --git a/configure.ac b/configure.ac
709426
index f31dd37..431f0ce 100644
709426
--- a/configure.ac
709426
+++ b/configure.ac
709426
@@ -244,8 +244,6 @@ find/testsuite/Makefile
709426
 gl/Makefile
709426
 gl/lib/Makefile
709426
 lib/Makefile
709426
-locate/Makefile
709426
-locate/testsuite/Makefile
709426
 m4/Makefile
709426
 po/Makefile.in
709426
 po/Makefile
709426
diff --git a/doc/find.texi b/doc/find.texi
709426
index 1f278de..c584298 100644
709426
--- a/doc/find.texi
709426
+++ b/doc/find.texi
709426
@@ -7,7 +7,6 @@
709426
 @c %**end of header
709426
 
709426
 @include version.texi
709426
-@include ../locate/dblocation.texi
709426
 
709426
 @iftex
709426
 @finalout
709426
@@ -571,8 +570,7 @@ the databases are updated, and the directories for which they contain
709426
 entries.
709426
 
709426
 Here is how to select which file name databases @code{locate}
709426
-searches.  The default is system-dependent.  At the time this document
709426
-was generated, the default was @file{@value{LOCATE_DB}}.
709426
+searches.  The default is system-dependent.
709426
 
709426
 @table @code
709426
 @item --database=@var{path}
709426
@@ -2840,13 +2838,9 @@ thrashing the network.
709426
 directories are indexed by each database file.
709426
 
709426
 The default location for the locate database depends on how findutils
709426
-is built, but the findutils installation accompanying this manual uses
709426
-the default location @file{@value{LOCATE_DB}}.
709426
-
709426
-If no database exists at @file{@value{LOCATE_DB}} but the user did not
709426
-specify where to look (by using @samp{-d} or setting
709426
-@code{LOCATE_PATH}), then @code{locate} will also check for a
709426
-``secure'' database in @file{/var/lib/slocate/slocate.db}.
709426
+is built.  If user did not specify where to look (by using @samp{-d}
709426
+or setting @code{LOCATE_PATH}), then @code{locate} will also check for
709426
+a ``secure'' database in @file{/var/lib/slocate/slocate.db}.
709426
 
709426
 @node Database Formats
709426
 @section Database Formats
709426
@@ -3389,8 +3383,7 @@ present.
709426
 
709426
 @item --database=@var{path}
709426
 @itemx -d @var{path}
709426
-Instead of searching the default @code{locate} database
709426
-@file{@value{LOCATE_DB}}, @code{locate} searches the file
709426
+@code{locate} searches the file
709426
 name databases in @var{path}, which is a colon-separated list of
709426
 database file names.  You can also use the environment variable
709426
 @code{LOCATE_PATH} to set the list of database files to search.  The
709426
@@ -3575,8 +3568,7 @@ The environment variable @code{PRUNEFS} also sets this value.  Default
709426
 is @file{nfs NFS proc}.
709426
 
709426
 @item --output=@var{dbfile}
709426
-The database file to build.  The default is system-dependent, but
709426
-when this document was formatted it was @file{@value{LOCATE_DB}}.
709426
+The database file to build.
709426
 
709426
 @item --localuser=@var{user}
709426
 The user to search the non-network directories as, using @code{su}.
709426
@@ -5583,7 +5575,7 @@ why @code{xargs} is confused by your operating system).
709426
 @section Error Messages From @code{locate}
709426
 
709426
 @table @samp
709426
-@item warning: database @file{@value{LOCATE_DB}} is more than 8 days old
709426
+@item warning: database @file{LOCATE_DB} is more than 8 days old
709426
 The @code{locate} program relies on a database which is periodically
709426
 built by the @code{updatedb} program.  That hasn't happened in a long
709426
 time.  To fix this problem, run @code{updatedb} manually.  This can
709426
@@ -5591,7 +5583,7 @@ often happen on systems that are generally not left on, so the
709426
 periodic ``cron'' task which normally does this doesn't get a chance
709426
 to run.
709426
 
709426
-@item locate database @file{@value{LOCATE_DB}} is corrupt or invalid
709426
+@item locate database @file{LOCATE_DB} is corrupt or invalid
709426
 This should not happen.  Re-run @code{updatedb}.  If that works, but
709426
 @code{locate} still produces this error, run @code{locate --version}
709426
 and @code{updatedb --version}.  These should produce the same output.
709426
-- 
709426
1.7.4.4
709426