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

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