freebsd-src/etc
Matthew Seaman a30b941ea7 Don't package /var/db/locate.database
... or install an empty file.

The locate database is a mutable working file, and unsuitable to be
managed by pkg(8).  locate(1) copes gracefully with the absence of
this file.  Running /etc/periodic/weekly/310.locate will create the
locate database with the correct ownership and permissions.

Having the locate.database file as part of the FreeBSD-runtime package
means it gets zeroed if ever that package gets updated, which is
excessive, given that updating packages will typically only change a
relatively small number of the _filenames_ on the system -- unlike the
file contents.  Plus it always causes it to flag as modified when
verifying checksums, but /var/db/locate.database is expected to be
modified by the user.

MFC after:	1 week
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D45384

(cherry picked from commit 4354163e5f)
2024-06-04 06:11:10 +01:00
..
gss
mail etc: remove leftover leading empty comments, blank lines 2023-08-26 13:20:25 -05:00
mtree calendar: cleanup obsolete directories 2024-05-10 08:55:46 +00:00
root etc: remove leftover leading empty comments, blank lines 2023-08-26 13:20:25 -05:00
sendmail Merge commit '850ef5ae11d69ea3381bd310f564f025fc8caea3' 2024-02-07 02:47:40 +00:00
group etc: remove leftover leading empty comments, blank lines 2023-08-26 13:20:25 -05:00
Makefile Don't package /var/db/locate.database 2024-06-04 06:11:10 +01:00
Makefile.depend
master.passwd etc: remove leftover leading empty comments, blank lines 2023-08-26 13:20:25 -05:00
shells etc: remove leftover leading empty comments, blank lines 2023-08-26 13:20:25 -05:00