author | Stacy Yeh <stacy.yeh@oracle.com> |
Mon, 31 Aug 2015 13:48:06 -0700 | |
changeset 4831 | 20f6eb6fe1fc |
parent 3732 | 0f62cc221c7e |
child 5671 | bdb5ca05c3ce |
permissions | -rw-r--r-- |
1230
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
1 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
2 |
# CDDL HEADER START |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
3 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
4 |
# The contents of this file are subject to the terms of the |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
5 |
# Common Development and Distribution License (the "License"). |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
6 |
# You may not use this file except in compliance with the License. |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
7 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
9 |
# or http://www.opensolaris.org/os/licensing. |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
10 |
# See the License for the specific language governing permissions |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
11 |
# and limitations under the License. |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
12 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
18 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
19 |
# CDDL HEADER END |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
20 |
# |
3732
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
21 |
# Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
1230
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
22 |
# |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
23 |
|
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
24 |
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
25 |
set name=pkg.fmri \ |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
26 |
value=pkg:/file/mlocate@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
27 |
set name=pkg.summary value="Merging fast file location utility" |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
28 |
set name=pkg.description \ |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
29 |
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." |
3732
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
30 |
set name=com.oracle.info.description \ |
0f62cc221c7e
20440737 pkgfmt all Userland pkg(5) manifests
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
31 |
value="mlocate, the fast file location utility" |
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1668
diff
changeset
|
32 |
set name=com.oracle.info.tpno value=$(TPNO) |
1230
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
33 |
set name=info.classification \ |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
34 |
value="org.opensolaris.category.2008:Applications/System Utilities" |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
35 |
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL) |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
36 |
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL) |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
37 |
set name=org.opensolaris.arc-caseid value=PSARC/2012/123 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
38 |
set name=org.opensolaris.consolidation value=$(CONSOLIDATION) |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
39 |
file path=etc/updatedb.conf mode=0644 overlay=allow preserve=true |
1333
1a86b2bf1802
16914633 mlocate package doesn't deliver quite what it promised to PSARC.
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
1251
diff
changeset
|
40 |
link path=usr/bin/locate target=mlocate |
1a86b2bf1802
16914633 mlocate package doesn't deliver quite what it promised to PSARC.
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
1251
diff
changeset
|
41 |
file usr/bin/$(MACH64)/locate path=usr/bin/mlocate group=mlocate mode=2555 |
1230
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
42 |
file usr/bin/$(MACH64)/updatedb path=usr/sbin/updatedb group=mlocate mode=2555 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
43 |
file path=usr/share/locale/ar/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
44 |
file path=usr/share/locale/as/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
45 |
file path=usr/share/locale/ast/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
46 |
file path=usr/share/locale/bg/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
47 |
file path=usr/share/locale/bs/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
48 |
file path=usr/share/locale/ca/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
49 |
file path=usr/share/locale/cs/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
50 |
file path=usr/share/locale/da/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
51 |
file path=usr/share/locale/de/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
52 |
file path=usr/share/locale/el/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
53 |
file path=usr/share/locale/en_GB/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
54 |
file path=usr/share/locale/es/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
55 |
file path=usr/share/locale/et/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
56 |
file path=usr/share/locale/fa/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
57 |
file path=usr/share/locale/fi/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
58 |
file path=usr/share/locale/fr/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
59 |
file path=usr/share/locale/gu/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
60 |
file path=usr/share/locale/hu/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
61 |
file path=usr/share/locale/it/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
62 |
file path=usr/share/locale/ja/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
63 |
file path=usr/share/locale/ko/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
64 |
file path=usr/share/locale/lv/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
65 |
file path=usr/share/locale/ms/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
66 |
file path=usr/share/locale/nds/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
67 |
file path=usr/share/locale/nl/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
68 |
file path=usr/share/locale/pl/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
69 |
file path=usr/share/locale/pt/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
70 |
file path=usr/share/locale/pt_BR/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
71 |
file path=usr/share/locale/ru/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
72 |
file path=usr/share/locale/sr/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
73 |
file path=usr/share/locale/sr@latin/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
74 |
file path=usr/share/locale/sv/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
75 |
file path=usr/share/locale/ta/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
76 |
file path=usr/share/locale/tr/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
77 |
file path=usr/share/locale/uk/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
78 |
file path=usr/share/locale/zh_CN/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
79 |
file path=usr/share/locale/zh_TW/LC_MESSAGES/mlocate.mo |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
80 |
file path=usr/share/man/man1/locate.1 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
81 |
file path=usr/share/man/man5/mlocate.db.5 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
82 |
file path=usr/share/man/man5/updatedb.conf.5 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
83 |
file path=usr/share/man/man8/updatedb.8 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
84 |
dir path=var/cache/mlocate group=mlocate |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
85 |
group groupname=mlocate gid=95 |
51caab77ce23
PSARC/2012/123 Replace slocate(1) with mlocate(1)
Edwin Beasant <Edwin.Beasant@oracle.com>
parents:
diff
changeset
|
86 |
license mlocate.license license=GPLv2 |