From 6d908a38e05b9d4135c65d23114a5874215b5bb8 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sat, 11 Dec 2010 19:15:23 +0100 Subject: Engagement initial. --- mlocate/.footprint | 20 ++++++++++++++++++++ mlocate/.md5sum | 3 +++ mlocate/Pkgfile | 19 +++++++++++++++++++ mlocate/Pkgfile.old | 24 ++++++++++++++++++++++++ mlocate/mlocate | 8 ++++++++ mlocate/updatedb.conf | 10 ++++++++++ 6 files changed, 84 insertions(+) create mode 100644 mlocate/.footprint create mode 100644 mlocate/.md5sum create mode 100644 mlocate/Pkgfile create mode 100644 mlocate/Pkgfile.old create mode 100644 mlocate/mlocate create mode 100644 mlocate/updatedb.conf (limited to 'mlocate') diff --git a/mlocate/.footprint b/mlocate/.footprint new file mode 100644 index 0000000..5ffc811 --- /dev/null +++ b/mlocate/.footprint @@ -0,0 +1,20 @@ +drwxr-xr-x root/root etc/ +drwxr-xr-x root/root etc/cron/ +drwxr-xr-x root/root etc/cron/daily/ +-rwxr-xr-x root/root etc/cron/daily/mlocate +-rw-r--r-- root/root etc/updatedb.conf +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-sr-x root/mlocate usr/bin/locate +-rwxr-xr-x root/root usr/bin/updatedb +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/locate.1.gz +drwxr-xr-x root/root usr/man/man5/ +-rw-r--r-- root/root usr/man/man5/mlocate.db.5.gz +-rw-r--r-- root/root usr/man/man5/updatedb.conf.5.gz +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/updatedb.8.gz +drwxr-xr-x root/root var/ +drwxr-xr-x root/root var/lib/ +drwxr-x--- root/mlocate var/lib/mlocate/ diff --git a/mlocate/.md5sum b/mlocate/.md5sum new file mode 100644 index 0000000..decfb45 --- /dev/null +++ b/mlocate/.md5sum @@ -0,0 +1,3 @@ +7d67badc004a8ade29648c8449b479e4 mlocate +db48f27fae91c754c46d8046919803c5 mlocate-0.23.1.tar.xz +ba81e63d0d15d630e5feaecb066b202c updatedb.conf diff --git a/mlocate/Pkgfile b/mlocate/Pkgfile new file mode 100644 index 0000000..56f7f20 --- /dev/null +++ b/mlocate/Pkgfile @@ -0,0 +1,19 @@ +description="Fast merging drop-in replacement for slocate" +packager="" +maintainer="CRUX System Team, core-ports at crux dot nu" +url="http://carolina.mff.cuni.cz/~trmac/blog/mlocate/" +depends=() + +name=mlocate +version=0.23.1 +release=1 +source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-0.23.1.tar.xz mlocate updatedb.conf) +build () +{ + cd $name-$version; + ./configure --prefix=/usr --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var/lib --disable-nls; + make; + make DESTDIR=$PKG install; + install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate; + install -m 0644 $SRC/updatedb.conf $PKG/etc +} diff --git a/mlocate/Pkgfile.old b/mlocate/Pkgfile.old new file mode 100644 index 0000000..2e00076 --- /dev/null +++ b/mlocate/Pkgfile.old @@ -0,0 +1,24 @@ +# Description: Fast merging drop-in replacement for slocate +# URL: http://carolina.mff.cuni.cz/~trmac/blog/mlocate/ +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=mlocate +version=0.23.1 +release=1 +source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.xz \ + mlocate updatedb.conf) + +build() { + cd $name-$version + + ./configure --prefix=/usr \ + --mandir=/usr/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --disable-nls + make + make DESTDIR=$PKG install + + install -D -m 0755 $SRC/mlocate $PKG/etc/cron/daily/mlocate + install -m 0644 $SRC/updatedb.conf $PKG/etc +} diff --git a/mlocate/mlocate b/mlocate/mlocate new file mode 100644 index 0000000..8988e89 --- /dev/null +++ b/mlocate/mlocate @@ -0,0 +1,8 @@ +#!/bin/sh +# +# /etc/cron/daily/mlocate: update the mlocate database +# + +/usr/bin/updatedb + +# End of file diff --git a/mlocate/updatedb.conf b/mlocate/updatedb.conf new file mode 100644 index 0000000..0b2ab92 --- /dev/null +++ b/mlocate/updatedb.conf @@ -0,0 +1,10 @@ +# +# /etc/updatedb.conf +# +# configuration file for updatedb(8), see updatedb.conf(5) + +PRUNEFS="nfs nfs4 afs proc smbfs cifs autofs auto iso9660 sshfs sysfs usbfs tmpfs" +PRUNENAMES=".git .svn .hg .bzr _darcs CVS RCS" +PRUNEPATHS="/tmp /mnt /var/cache /var/lock /var/run /var/spool /var/tmp" + +# End of file -- cgit v1.2.3-54-g00ecf