findutils: add /run to PRUNEPATHS in updatedb.conf.
This commit is contained in:
parent
97ac5aed72
commit
73a7986fe2
2 changed files with 6 additions and 5 deletions
srcpkgs/findutils
|
@ -1,7 +1,7 @@
|
||||||
# Configuration file for updatedb(1) from findutils.
|
# Configuration file for updatedb(1) from findutils.
|
||||||
#
|
#
|
||||||
# Directories to exclude from the database:
|
# Directories to exclude from the database:
|
||||||
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool"
|
PRUNEPATHS="/media /mnt /tmp /var/tmp /var/cache /var/lock /var/run /var/spool /run"
|
||||||
|
|
||||||
# Filesystems to exclude from the database:
|
# Filesystems to exclude from the database:
|
||||||
PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts"
|
PRUNEFS="afs auto autofs binfmt_misc cifs coda configfs cramfs debugfs devpts"
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
# Template file for 'findutils'
|
# Template file for 'findutils'
|
||||||
pkgname=findutils
|
pkgname=findutils
|
||||||
version=4.4.2
|
version=4.4.2
|
||||||
revision=2
|
revision=3
|
||||||
|
homepage="http://www.gnu.org/software/findutils"
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--localstatedir=/var/lib/locate"
|
configure_args="--localstatedir=/var/lib/locate"
|
||||||
short_desc="The GNU Find Utilities"
|
short_desc="The GNU Find Utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
license="GPL-3"
|
||||||
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
checksum=434f32d171cbc0a5e72cfc5372c6fc4cb0e681f8dce566a0de5b6fccd702b62a
|
||||||
long_desc="
|
long_desc="
|
||||||
The GNU Find Utilities are the basic directory searching utilitiesof the
|
The GNU Find Utilities are the basic directory searching utilitiesof the
|
||||||
|
@ -23,8 +25,7 @@ Add_dependency build texinfo
|
||||||
post_install()
|
post_install()
|
||||||
{
|
{
|
||||||
# Install the cron daily job.
|
# Install the cron daily job.
|
||||||
install -D -m744 ${FILESDIR}/updatedb.cron-daily \
|
vinstall ${FILESDIR}/updatedb.cron-daily 744 etc/cron.daily updatedb
|
||||||
${DESTDIR}/etc/cron.daily/updatedb
|
|
||||||
# Install the updatedb conf file.
|
# Install the updatedb conf file.
|
||||||
install -D -m640 ${FILESDIR}/updatedb.conf ${DESTDIR}/etc/updatedb.conf
|
vinstall ${FILESDIR}/updatedb.conf 640 etc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue