|
|
b0d392 |
From 3e5e311d23ac0a5bd5930ddb4094f7555b886329 Mon Sep 17 00:00:00 2001
|
|
|
b0d392 |
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
b0d392 |
Date: Sat, 19 Dec 2015 22:56:40 +0100
|
|
|
b0d392 |
Subject: [PATCH 1/2] Revert "Don't include dblocation.texi from original spot,
|
|
|
b0d392 |
symlink it."
|
|
|
b0d392 |
|
|
|
b0d392 |
This reverts commit f59d88e456553dfe0b5185caf75e4041285fd595.
|
|
|
b0d392 |
---
|
|
|
b0d392 |
doc/Makefile.am | 7 +------
|
|
|
b0d392 |
1 file changed, 1 insertion(+), 6 deletions(-)
|
|
|
b0d392 |
|
|
|
b0d392 |
diff --git a/doc/Makefile.am b/doc/Makefile.am
|
|
|
b0d392 |
index f6f7443..6fbf57b 100644
|
|
|
b0d392 |
--- a/doc/Makefile.am
|
|
|
b0d392 |
+++ b/doc/Makefile.am
|
|
|
b0d392 |
@@ -16,11 +16,9 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
|
|
b0d392 |
|
|
|
b0d392 |
info_TEXINFOS = find.texi find-maint.texi
|
|
|
b0d392 |
find_TEXINFOS = perm.texi parse-datetime.texi regexprops.texi fdl.texi
|
|
|
b0d392 |
-BUILT_SOURCES = dblocation.texi
|
|
|
b0d392 |
-nodist_find_TEXINFOS = dblocation.texi
|
|
|
b0d392 |
find_maint_TEXINFOS = fdl.texi
|
|
|
b0d392 |
MOSTLYCLEANFILES = find.cps
|
|
|
b0d392 |
-CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz dblocation.texi \
|
|
|
b0d392 |
+CLEANFILES = find.txt find_mono.html findutils.texi_html_node.tar.gz \
|
|
|
b0d392 |
find_mono.html findutils.texi_html_node.tar.gz \
|
|
|
b0d392 |
find-info.tar.gz find.texi.tar.gz \
|
|
|
b0d392 |
find.txt tmp-doc-install find_mono.html.gz
|
|
|
b0d392 |
@@ -73,9 +71,6 @@ findutils.texi_html_node.tar.gz: find.html
|
|
|
b0d392 |
tar zcf $@ find.html
|
|
|
b0d392 |
|
|
|
b0d392 |
|
|
|
b0d392 |
-dblocation.texi: ../locate/dblocation.texi
|
|
|
b0d392 |
- $(LN_S) ../locate/dblocation.texi $@
|
|
|
b0d392 |
-
|
|
|
b0d392 |
find-info.tar.gz:
|
|
|
b0d392 |
$(MKDIR_P) tmp-doc-install/info
|
|
|
b0d392 |
$(MAKE) $(AM_MAKEFLAGS) \
|
|
|
b0d392 |
--
|
|
|
b0d392 |
2.5.0
|
|
|
b0d392 |
|
|
|
b0d392 |
|
|
|
b0d392 |
From d5473caa86f689ebcadacc593f5a71781c99e829 Mon Sep 17 00:00:00 2001
|
|
|
b0d392 |
From: Kamil Dudka <kdudka@redhat.com>
|
|
|
b0d392 |
Date: Wed, 11 May 2011 16:46:13 +0200
|
|
|
b0d392 |
Subject: [PATCH 2/2] findutils-4.4.0-no-locate.patch
|
|
|
b0d392 |
|
|
|
b0d392 |
---
|
|
|
b0d392 |
Makefile.am | 2 +-
|
|
|
b0d392 |
configure.ac | 2 --
|
|
|
b0d392 |
doc/find.texi | 24 ++++++++----------------
|
|
|
b0d392 |
tests/local.mk | 2 +-
|
|
|
b0d392 |
4 files changed, 10 insertions(+), 20 deletions(-)
|
|
|
b0d392 |
|
|
|
b0d392 |
diff --git a/Makefile.am b/Makefile.am
|
|
|
b0d392 |
index af82d54..6ad453b 100644
|
|
|
b0d392 |
--- a/Makefile.am
|
|
|
b0d392 |
+++ b/Makefile.am
|
|
|
b0d392 |
@@ -35,7 +35,7 @@ DISTCLEANFILES = tool-versions.txt
|
|
|
b0d392 |
|
|
|
b0d392 |
|
|
|
b0d392 |
# "gnulib-tests" is the gnulib unit test dir.
|
|
|
b0d392 |
-SUBDIRS = gl build-aux lib find xargs locate doc po m4 gnulib-tests
|
|
|
b0d392 |
+SUBDIRS = gl build-aux lib find xargs doc po m4 gnulib-tests
|
|
|
b0d392 |
|
|
|
b0d392 |
ALL_RECURSIVE_TARGETS =
|
|
|
b0d392 |
|
|
|
b0d392 |
diff --git a/configure.ac b/configure.ac
|
|
|
b0d392 |
index ce0e768..521e665 100644
|
|
|
b0d392 |
--- a/configure.ac
|
|
|
b0d392 |
+++ b/configure.ac
|
|
|
b0d392 |
@@ -309,8 +309,6 @@ find/testsuite/Makefile
|
|
|
b0d392 |
gl/Makefile
|
|
|
b0d392 |
gl/lib/Makefile
|
|
|
b0d392 |
lib/Makefile
|
|
|
b0d392 |
-locate/Makefile
|
|
|
b0d392 |
-locate/testsuite/Makefile
|
|
|
b0d392 |
m4/Makefile
|
|
|
b0d392 |
po/Makefile.in
|
|
|
b0d392 |
po/Makefile
|
|
|
b0d392 |
diff --git a/doc/find.texi b/doc/find.texi
|
|
|
b0d392 |
index c2714dd..01367a4 100644
|
|
|
b0d392 |
--- a/doc/find.texi
|
|
|
b0d392 |
+++ b/doc/find.texi
|
|
|
b0d392 |
@@ -7,7 +7,6 @@
|
|
|
b0d392 |
@c @setchapternewpage odd
|
|
|
b0d392 |
@c %**end of header
|
|
|
b0d392 |
|
|
|
b0d392 |
-@include dblocation.texi
|
|
|
b0d392 |
|
|
|
b0d392 |
@iftex
|
|
|
b0d392 |
@finalout
|
|
|
b0d392 |
@@ -572,8 +571,7 @@ the databases are updated, and the directories for which they contain
|
|
|
b0d392 |
entries.
|
|
|
b0d392 |
|
|
|
b0d392 |
Here is how to select which file name databases @code{locate}
|
|
|
b0d392 |
-searches. The default is system-dependent. At the time this document
|
|
|
b0d392 |
-was generated, the default was @file{@value{LOCATE_DB}}.
|
|
|
b0d392 |
+searches. The default is system-dependent.
|
|
|
b0d392 |
|
|
|
b0d392 |
@table @code
|
|
|
b0d392 |
@item --database=@var{path}
|
|
|
b0d392 |
@@ -2993,13 +2991,9 @@ thrashing the network.
|
|
|
b0d392 |
directories are indexed by each database file.
|
|
|
b0d392 |
|
|
|
b0d392 |
The default location for the locate database depends on how findutils
|
|
|
b0d392 |
-is built, but the findutils installation accompanying this manual uses
|
|
|
b0d392 |
-the default location @file{@value{LOCATE_DB}}.
|
|
|
b0d392 |
-
|
|
|
b0d392 |
-If no database exists at @file{@value{LOCATE_DB}} but the user did not
|
|
|
b0d392 |
-specify where to look (by using @samp{-d} or setting
|
|
|
b0d392 |
-@code{LOCATE_PATH}), then @code{locate} will also check for a
|
|
|
b0d392 |
-``secure'' database in @file{/var/lib/slocate/slocate.db}.
|
|
|
b0d392 |
+is built. If user did not specify where to look (by using @samp{-d}
|
|
|
b0d392 |
+or setting @code{LOCATE_PATH}), then @code{locate} will also check for
|
|
|
b0d392 |
+a ``secure'' database in @file{/var/lib/slocate/slocate.db}.
|
|
|
b0d392 |
|
|
|
b0d392 |
@node Database Formats
|
|
|
b0d392 |
@section Database Formats
|
|
|
b0d392 |
@@ -3508,8 +3502,7 @@ present.
|
|
|
b0d392 |
|
|
|
b0d392 |
@item --database=@var{path}
|
|
|
b0d392 |
@itemx -d @var{path}
|
|
|
b0d392 |
-Instead of searching the default @code{locate} database
|
|
|
b0d392 |
-@file{@value{LOCATE_DB}}, @code{locate} searches the file
|
|
|
b0d392 |
+@code{locate} searches the file
|
|
|
b0d392 |
name databases in @var{path}, which is a colon-separated list of
|
|
|
b0d392 |
database file names. You can also use the environment variable
|
|
|
b0d392 |
@code{LOCATE_PATH} to set the list of database files to search. The
|
|
|
b0d392 |
@@ -3684,8 +3677,7 @@ The environment variable @code{PRUNEFS} also sets this value. Default
|
|
|
b0d392 |
is @file{nfs NFS proc}.
|
|
|
b0d392 |
|
|
|
b0d392 |
@item --output=@var{dbfile}
|
|
|
b0d392 |
-The database file to build. The default is system-dependent, but
|
|
|
b0d392 |
-when this document was formatted it was @file{@value{LOCATE_DB}}.
|
|
|
b0d392 |
+The database file to build.
|
|
|
b0d392 |
|
|
|
b0d392 |
@item --localuser=@var{user}
|
|
|
b0d392 |
The user to search the non-network directories as, using @code{su}.
|
|
|
b0d392 |
@@ -5709,7 +5701,7 @@ See the manual of the system call @code{dup2(2)}.
|
|
|
b0d392 |
@section Error Messages From @code{locate}
|
|
|
b0d392 |
|
|
|
b0d392 |
@table @samp
|
|
|
b0d392 |
-@item warning: database @file{@value{LOCATE_DB}} is more than 8 days old
|
|
|
b0d392 |
+@item warning: database @file{LOCATE_DB} is more than 8 days old
|
|
|
b0d392 |
The @code{locate} program relies on a database which is periodically
|
|
|
b0d392 |
built by the @code{updatedb} program. That hasn't happened in a long
|
|
|
b0d392 |
time. To fix this problem, run @code{updatedb} manually. This can
|
|
|
b0d392 |
@@ -5717,7 +5709,7 @@ often happen on systems that are generally not left on, so the
|
|
|
b0d392 |
periodic ``cron'' task which normally does this doesn't get a chance
|
|
|
b0d392 |
to run.
|
|
|
b0d392 |
|
|
|
b0d392 |
-@item locate database @file{@value{LOCATE_DB}} is corrupt or invalid
|
|
|
b0d392 |
+@item locate database @file{LOCATE_DB} is corrupt or invalid
|
|
|
b0d392 |
This should not happen. Re-run @code{updatedb}. If that works, but
|
|
|
b0d392 |
@code{locate} still produces this error, run @code{locate --version}
|
|
|
b0d392 |
and @code{updatedb --version}. These should produce the same output.
|
|
|
b0d392 |
diff --git a/tests/local.mk b/tests/local.mk
|
|
|
b0d392 |
index 7e52a04..ae08a56 100644
|
|
|
b0d392 |
--- a/tests/local.mk
|
|
|
b0d392 |
+++ b/tests/local.mk
|
|
|
b0d392 |
@@ -15,7 +15,7 @@
|
|
|
b0d392 |
## You should have received a copy of the GNU General Public License
|
|
|
b0d392 |
## along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
b0d392 |
|
|
|
b0d392 |
-built_programs = find oldfind xargs frcode locate updatedb
|
|
|
b0d392 |
+built_programs = find oldfind xargs
|
|
|
b0d392 |
|
|
|
b0d392 |
# Indirections required so that we'll still be able to know the
|
|
|
b0d392 |
# complete list of our tests even if the user overrides TESTS
|
|
|
b0d392 |
--
|
|
|
b0d392 |
2.5.0
|
|
|
b0d392 |
|