Import mlocate-0.24 as wip/mlocate.

mlocate is a locate/updatedb implementation.  The 'm' stands for "merging":
updatedb reuses the existing database to avoid rereading most of the file
system, which makes updatedb faster and does not trash the system caches as
much.

The locate(1) utility is intended to be completely compatible to slocate.  It
also attempts to be compatible to GNU locate, when it does not conflict with
slocate compatibility.
This commit is contained in:
Emil Sköldberg 2011-06-07 16:37:24 +00:00 committed by Thomas Klausner
parent 0a7ef1d61e
commit 055863a8b6
4 changed files with 85 additions and 0 deletions

8
mlocate/DESCR Normal file
View file

@ -0,0 +1,8 @@
mlocate is a locate/updatedb implementation. The 'm' stands for "merging":
updatedb reuses the existing database to avoid rereading most of the file
system, which makes updatedb faster and does not trash the system caches as
much.
The locate(1) utility is intended to be completely compatible to slocate. It
also attempts to be compatible to GNU locate, when it does not conflict with
slocate compatibility.

31
mlocate/Makefile Normal file
View file

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/06/07 16:37:24 emil_s Exp $
#
DISTNAME= mlocate-0.24
CATEGORIES= sysutils
MASTER_SITES= https://fedorahosted.org/releases/m/l/mlocate/
EXTRACT_SUFX= .tar.xz
MAINTAINER= esg@sdf.lonestar.org
HOMEPAGE= https://fedorahosted.org/releases/m/l/mlocate/
COMMENT= Merging 'locate' implementation
LICENSE= gnu-gpl-v2
# Depends on _PATH_MOUNTED being defined in paths.h
ONLY_FOR_PLATFORM= Linux-*-*
PKG_DESTDIR_SUPPORT= user-destdir
CONFLICTS= slocate-[0-9]*
# Force using "curl" for fetching the distribution file. It is only available
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
FETCH_USING= curl
GNU_CONFIGURE= yes
PKG_GROUPS= mlocate
SPECIAL_PERMS+= bin/locate root mlocate 2755
.include "../../mk/bsd.pkg.mk"

41
mlocate/PLIST Normal file
View file

@ -0,0 +1,41 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/06/07 16:37:24 emil_s Exp $
bin/locate
bin/updatedb
man/man1/locate.1
man/man5/mlocate.db.5
man/man5/updatedb.conf.5
man/man8/updatedb.8
share/locale/ar/LC_MESSAGES/mlocate.mo
share/locale/as/LC_MESSAGES/mlocate.mo
share/locale/ast/LC_MESSAGES/mlocate.mo
share/locale/bg/LC_MESSAGES/mlocate.mo
share/locale/bs/LC_MESSAGES/mlocate.mo
share/locale/ca/LC_MESSAGES/mlocate.mo
share/locale/cs/LC_MESSAGES/mlocate.mo
share/locale/da/LC_MESSAGES/mlocate.mo
share/locale/de/LC_MESSAGES/mlocate.mo
share/locale/el/LC_MESSAGES/mlocate.mo
share/locale/en_GB/LC_MESSAGES/mlocate.mo
share/locale/es/LC_MESSAGES/mlocate.mo
share/locale/fa/LC_MESSAGES/mlocate.mo
share/locale/fr/LC_MESSAGES/mlocate.mo
share/locale/gu/LC_MESSAGES/mlocate.mo
share/locale/hu/LC_MESSAGES/mlocate.mo
share/locale/it/LC_MESSAGES/mlocate.mo
share/locale/ja/LC_MESSAGES/mlocate.mo
share/locale/ko/LC_MESSAGES/mlocate.mo
share/locale/ms/LC_MESSAGES/mlocate.mo
share/locale/nds/LC_MESSAGES/mlocate.mo
share/locale/nl/LC_MESSAGES/mlocate.mo
share/locale/pl/LC_MESSAGES/mlocate.mo
share/locale/pt_BR/LC_MESSAGES/mlocate.mo
share/locale/pt/LC_MESSAGES/mlocate.mo
share/locale/ru/LC_MESSAGES/mlocate.mo
share/locale/sr@latin/LC_MESSAGES/mlocate.mo
share/locale/sr/LC_MESSAGES/mlocate.mo
share/locale/sv/LC_MESSAGES/mlocate.mo
share/locale/ta/LC_MESSAGES/mlocate.mo
share/locale/uk/LC_MESSAGES/mlocate.mo
share/locale/zh_CN/LC_MESSAGES/mlocate.mo
share/locale/zh_TW/LC_MESSAGES/mlocate.mo
@pkgdir var/mlocate

5
mlocate/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2011/06/07 16:37:24 emil_s Exp $
SHA1 (mlocate-0.24.tar.xz) = 7beb0572c9cfdef0db3e2f34cd71c616344e2d53
RMD160 (mlocate-0.24.tar.xz) = 4ddb5e95d9a324fcb5574db9c3836f3f9b30dffa
Size (mlocate-0.24.tar.xz) = 353948 bytes