rpms/slocate/devel updatedb.conf.5,NONE,1.1 slocate.spec,1.22,1.23

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Mar 29 11:59:34 UTC 2005


Update of /cvs/dist/rpms/slocate/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv888

Modified Files:
	slocate.spec 
Added Files:
	updatedb.conf.5 
Log Message:
* Tue Mar 29 2005 Miloslav Trmac <mitr at redhat.com> - 2.7-19
- Add updatedb.conf(5) (#135952)



--- NEW FILE updatedb.conf.5 ---
.TH updatedb.conf 5 "Mar 29 2005" 

.SH NAME
/etc/updatedb.conf \- configuration file for updatedb

.SH DESCRIPTION
The \fI/etc/updatedb.conf\fR file is read by \fBupdatedb\fR(1).
Blank lines and lines starting with \fB#\fR are ignored.
Other lines contain variables, using the following form:
.RS
\fINAME\fR="\fIVALUE\fR"
.RE
There is no way to split a value across more than one line,
or to escape the \fB"\fR character.

Recognized variable names are:

.TP
\fBPRUNEFS\fB
\fIVALUE\fR is a whitespace-separated list of filesystem types (as entered
in \fI/etc/fstab\fR) that should be skipped by \fBupdatedb\fR(1).

.TP
\fBPRUNEPATHS\fB
\fIVALUE\fR is a whitespace-separated list of path names that should
be skipped by \fBupdatedb\fR(1).
There is no way to represent path names containing whitespace.

.RE
If a variable is specified more than once in the file, the first
value is used.

.SH NOTES
An \fI/etc/updatedb.conf\fR file is also commonly used in packages
of \fIupdatedb\fR shipped with GNU findutils.
In that case \fI/etc/updatedb.conf\fR is a shell script that should set
environment variables.

This manual page documents \fIupdatedb.conf\fR as parsed by \fBslocate\fR(1).
It is \fInot\fR a shell script 
and the file should follow the syntax described above.

.SH SEE ALSO
.BR slocate (1),
.BR updatedb (1)


Index: slocate.spec
===================================================================
RCS file: /cvs/dist/rpms/slocate/devel/slocate.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- slocate.spec	28 Mar 2005 19:18:19 -0000	1.22
+++ slocate.spec	29 Mar 2005 11:59:31 -0000	1.23
@@ -1,12 +1,13 @@
 Summary: Finds files on a system via a central database.
 Name: slocate
 Version: 2.7
-Release: 18
+Release: 19
 License: GPL
 Group: Applications/File
 Source0: http://ftp.debian.org/debian/pool/main/s/slocate/slocate_2.7-4.tar.gz
 Source1: slocate.cron
 Source2: updatedb.conf
+Source3: updatedb.conf.5
 Patch0: slocate-2.5-info.patch
 Patch1: slocate-wht.patch
 Patch2: slocate-2.6-manpage.patch
@@ -45,8 +46,8 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}/cron.daily}
-mkdir -p $RPM_BUILD_ROOT{/etc,/var/lib/slocate}
+mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
+mkdir -p $RPM_BUILD_ROOT{%{_sysconfdir}/cron.daily,/etc,/var/lib/slocate}
 install slocate $RPM_BUILD_ROOT%{_bindir}
 ln -sf slocate $RPM_BUILD_ROOT%{_bindir}/locate
 ln -sf slocate $RPM_BUILD_ROOT%{_bindir}/updatedb
@@ -55,6 +56,7 @@
 ln -sf slocate.1 $RPM_BUILD_ROOT%{_mandir}/man1/locate.1
 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/
+install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/man5
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -75,12 +77,15 @@
 %attr(2755,root,slocate) %{_bindir}/slocate
 %attr(-,root,slocate) %{_bindir}/locate
 %attr(-,root,slocate) %{_bindir}/updatedb
-%attr(644,root,root) %{_mandir}/man1/*
+%attr(644,root,root) %{_mandir}/man[15]/*
 %attr(755,root,root) %{_sysconfdir}/cron.daily/slocate.cron
 %attr(644,root,root) %config /etc/updatedb.conf
 %dir %attr(750,root,slocate) /var/lib/slocate
 
 %changelog
+* Tue Mar 29 2005 Miloslav Trmac <mitr at redhat.com> - 2.7-19
+- Add updatedb.conf(5) (#135952)
+
 * Mon Mar 28 2005 Miloslav Trmac <mitr at redhat.com> - 2.7-18
 - Drop unnecessary BuildRequires: autoconf
 - Remove /mnt/floppy from PRUNEPATHS, it's in /media now




More information about the fedora-cvs-commits mailing list