2b3154
From 3e5e311d23ac0a5bd5930ddb4094f7555b886329 Mon Sep 17 00:00:00 2001
2b3154
From: Kamil Dudka <kdudka@redhat.com>
2b3154
Date: Sat, 19 Dec 2015 22:56:40 +0100
2b3154
Subject: [PATCH 1/2] Revert "Don't include dblocation.texi from original spot,
2b3154
 symlink it."
2b3154
2b3154
This reverts commit f59d88e456553dfe0b5185caf75e4041285fd595.
2b3154
---
2b3154
 configure.ac    | 2 +-
2b3154
 doc/Makefile.am | 8 +-------
2b3154
 doc/find.texi   | 2 +-
2b3154
 3 files changed, 3 insertions(+), 9 deletions(-)
2b3154
2b3154
diff --git a/configure.ac b/configure.ac
2b3154
index 7962719..ce0e768 100644
2b3154
--- a/configure.ac
2b3154
+++ b/configure.ac
2b3154
@@ -70,7 +70,7 @@ AC_PROG_CPP
2b3154
 
2b3154
 dnl for gnulib
2b3154
 gl_EARLY
2b3154
-AC_PROG_LN_S
2b3154
+
2b3154
 AC_PROG_INSTALL
2b3154
 AC_CHECK_TOOLS([AR], [ar])
2b3154
 AC_CHECK_TOOLS([RANLIB], [ranlib], [:])
2b3154
diff --git a/doc/Makefile.am b/doc/Makefile.am
2b3154
index f6f7443..6fbf57b 100644
2b3154
--- a/doc/Makefile.am
2b3154
+++ b/doc/Makefile.am
2b3154
@@ -16,11 +16,9 @@ AM_CFLAGS = $(WARN_CFLAGS)
2b3154
 
2b3154
 info_TEXINFOS = find.texi find-maint.texi
2b3154
 find_TEXINFOS = perm.texi parse-datetime.texi regexprops.texi fdl.texi
2b3154
-BUILT_SOURCES = dblocation.texi
2b3154
-nodist_find_TEXINFOS = dblocation.texi
2b3154
 find_maint_TEXINFOS = fdl.texi
2b3154
 MOSTLYCLEANFILES = find.cps
2b3154
-CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz dblocation.texi
2b3154
+CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz
2b3154
 
2b3154
 MAKEINFOTXT = $(MAKEINFO) --plaintext
2b3154
 
2b3154
@@ -69,7 +67,3 @@ find_mono.html: find.texi
2b3154
 # for "make all" or "make install" (or even "make check").
2b3154
 findutils.texi_html_node.tar.gz: find.html
2b3154
 	tar zcf $@ $<
2b3154
-
2b3154
-
2b3154
-dblocation.texi: ../locate/dblocation.texi
2b3154
-	$(LN_S) ../locate/dblocation.texi $@
2b3154
diff --git a/doc/find.texi b/doc/find.texi
2b3154
index a83a645..c2714dd 100644
2b3154
--- a/doc/find.texi
2b3154
+++ b/doc/find.texi
2b3154
@@ -7,7 +7,7 @@
2b3154
 @c %**end of header
2b3154
 
2b3154
 @include version.texi
2b3154
-@include dblocation.texi
2b3154
+@include ../locate/dblocation.texi
2b3154
 
2b3154
 @iftex
2b3154
 @finalout
2b3154
-- 
2b3154
2.5.0
2b3154
2b3154
2b3154
From d5473caa86f689ebcadacc593f5a71781c99e829 Mon Sep 17 00:00:00 2001
2b3154
From: Kamil Dudka <kdudka@redhat.com>
2b3154
Date: Wed, 11 May 2011 16:46:13 +0200
2b3154
Subject: [PATCH 2/2] findutils-4.4.0-no-locate.patch
2b3154
2b3154
---
2b3154
 Makefile.am   |  2 +-
2b3154
 configure.ac  |  2 --
2b3154
 doc/find.texi | 24 ++++++++----------------
2b3154
 3 files changed, 9 insertions(+), 19 deletions(-)
2b3154
2b3154
diff --git a/Makefile.am b/Makefile.am
2b3154
index af82d54..6ad453b 100644
2b3154
--- a/Makefile.am
2b3154
+++ b/Makefile.am
2b3154
@@ -9,7 +9,7 @@ DISTCLEANFILES = tool-versions.txt
2b3154
 
2b3154
 
2b3154
 # "tests" is the gnulib unit test dir.
2b3154
-SUBDIRS = gl tests build-aux lib find xargs locate doc po m4
2b3154
+SUBDIRS = gl tests build-aux lib find xargs doc po m4
2b3154
 
2b3154
 ACLOCAL_AMFLAGS = -I gl/m4 -I m4
2b3154
 
2b3154
diff --git a/configure.ac b/configure.ac
2b3154
index ce0e768..521e665 100644
2b3154
--- a/configure.ac
2b3154
+++ b/configure.ac
2b3154
@@ -248,8 +248,6 @@ find/testsuite/Makefile
2b3154
 gl/Makefile
2b3154
 gl/lib/Makefile
2b3154
 lib/Makefile
2b3154
-locate/Makefile
2b3154
-locate/testsuite/Makefile
2b3154
 m4/Makefile
2b3154
 po/Makefile.in
2b3154
 po/Makefile
2b3154
diff --git a/doc/find.texi b/doc/find.texi
2b3154
index c2714dd..01367a4 100644
2b3154
--- a/doc/find.texi
2b3154
+++ b/doc/find.texi
2b3154
@@ -7,7 +7,6 @@
2b3154
 @c %**end of header
2b3154
 
2b3154
 @include version.texi
2b3154
-@include ../locate/dblocation.texi
2b3154
 
2b3154
 @iftex
2b3154
 @finalout
2b3154
@@ -571,8 +570,7 @@ the databases are updated, and the directories for which they contain
2b3154
 entries.
2b3154
 
2b3154
 Here is how to select which file name databases @code{locate}
2b3154
-searches.  The default is system-dependent.  At the time this document
2b3154
-was generated, the default was @file{@value{LOCATE_DB}}.
2b3154
+searches.  The default is system-dependent.
2b3154
 
2b3154
 @table @code
2b3154
 @item --database=@var{path}
2b3154
@@ -2892,13 +2890,9 @@ thrashing the network.
2b3154
 directories are indexed by each database file.
2b3154
 
2b3154
 The default location for the locate database depends on how findutils
2b3154
-is built, but the findutils installation accompanying this manual uses
2b3154
-the default location @file{@value{LOCATE_DB}}.
2b3154
-
2b3154
-If no database exists at @file{@value{LOCATE_DB}} but the user did not
2b3154
-specify where to look (by using @samp{-d} or setting
2b3154
-@code{LOCATE_PATH}), then @code{locate} will also check for a
2b3154
-``secure'' database in @file{/var/lib/slocate/slocate.db}.
2b3154
+is built.  If user did not specify where to look (by using @samp{-d}
2b3154
+or setting @code{LOCATE_PATH}), then @code{locate} will also check for
2b3154
+a ``secure'' database in @file{/var/lib/slocate/slocate.db}.
2b3154
 
2b3154
 @node Database Formats
2b3154
 @section Database Formats
2b3154
@@ -3438,8 +3432,7 @@ present.
2b3154
 
2b3154
 @item --database=@var{path}
2b3154
 @itemx -d @var{path}
2b3154
-Instead of searching the default @code{locate} database
2b3154
-@file{@value{LOCATE_DB}}, @code{locate} searches the file
2b3154
+@code{locate} searches the file
2b3154
 name databases in @var{path}, which is a colon-separated list of
2b3154
 database file names.  You can also use the environment variable
2b3154
 @code{LOCATE_PATH} to set the list of database files to search.  The
2b3154
@@ -3614,8 +3607,7 @@ The environment variable @code{PRUNEFS} also sets this value.  Default
2b3154
 is @file{nfs NFS proc}.
2b3154
 
2b3154
 @item --output=@var{dbfile}
2b3154
-The database file to build.  The default is system-dependent, but
2b3154
-when this document was formatted it was @file{@value{LOCATE_DB}}.
2b3154
+The database file to build.
2b3154
 
2b3154
 @item --localuser=@var{user}
2b3154
 The user to search the non-network directories as, using @code{su}.
2b3154
@@ -5635,7 +5627,7 @@ why @code{xargs} is confused by your operating system).
2b3154
 @section Error Messages From @code{locate}
2b3154
 
2b3154
 @table @samp
2b3154
-@item warning: database @file{@value{LOCATE_DB}} is more than 8 days old
2b3154
+@item warning: database @file{LOCATE_DB} is more than 8 days old
2b3154
 The @code{locate} program relies on a database which is periodically
2b3154
 built by the @code{updatedb} program.  That hasn't happened in a long
2b3154
 time.  To fix this problem, run @code{updatedb} manually.  This can
2b3154
@@ -5643,7 +5635,7 @@ often happen on systems that are generally not left on, so the
2b3154
 periodic ``cron'' task which normally does this doesn't get a chance
2b3154
 to run.
2b3154
 
2b3154
-@item locate database @file{@value{LOCATE_DB}} is corrupt or invalid
2b3154
+@item locate database @file{LOCATE_DB} is corrupt or invalid
2b3154
 This should not happen.  Re-run @code{updatedb}.  If that works, but
2b3154
 @code{locate} still produces this error, run @code{locate --version}
2b3154
 and @code{updatedb --version}.  These should produce the same output.
2b3154
-- 
2b3154
2.5.0
2b3154