#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.
#
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
set name=pkg.fmri \
value=pkg:/file/mlocate@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.summary value="Merging fast file location utility"
set name=pkg.description \
value="mlocate is a 'merging' implementation of locate(1), the fast file location utility. The 'm' stands for 'merging': updatedb tool reuses the existing database to avoid rereading most of the file system, which makes updatedb faster."
set name=com.oracle.info.description \
value="mlocate, the fast file location utility"
set name=com.oracle.info.tpno value=$(TPNO)
set name=info.classification \
value="org.opensolaris.category.2008:Applications/System Utilities"
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=org.opensolaris.arc-caseid value=PSARC/2012/123
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
file path=etc/updatedb.conf mode=0644 overlay=allow preserve=true
link path=usr/bin/locate target=mlocate
file usr/bin/locate path=usr/bin/mlocate group=mlocate mode=2555
file usr/bin/updatedb path=usr/sbin/updatedb group=mlocate mode=2555
file path=usr/share/man/man1/locate.1
link path=usr/share/man/man1/mlocate.1 target=locate.1
file path=usr/share/man/man5/mlocate.db.5
file path=usr/share/man/man5/updatedb.conf.5
file path=usr/share/man/man8/updatedb.8
dir path=var/cache/mlocate group=mlocate
group groupname=mlocate gid=95
license mlocate.license license=GPLv2