Norm Jacobs
2013-02-23 caf62e911baf57c9643c0ed1de3cea59e04846a3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#
# 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
# or http://www.opensolaris.org/os/licensing.
# 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) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
#
 
<transform dir path=etc$ -> default group sys>
<transform dir path=etc/inet$ -> default group sys>
<transform dir path=var$ -> default group sys>
 
#
# LP print service
#
<transform dir path=etc/lp/fd$ -> default owner root>
<transform dir path=etc/lp/fd$ -> default mode 0755>
<transform dir path=etc/lp(/.+){0,1}$ -> default owner lp>
<transform dir path=etc/lp(/.+){0,1}$ -> default group lp>
<transform dir path=etc/lp(/.+){0,1}$ -> default mode 0775>
 
<transform dir path=etc/skel$ -> default group sys>
<transform dir path=usr$ -> default group sys>
<transform dir path=usr/lib/pkgconfig$ -> default group other>
<transform dir path=usr/lib/.*/pkgconfig$ -> default group other>
<transform dir path=usr/share$ -> default group sys>
<transform dir path=usr/share/aclocal$ -> default group other>
<transform dir path=usr/share/doc$ -> default group other>
<transform dir path=usr/share/lib$ -> default group sys>
<transform dir path=usr/share/lib/java$ -> default group sys>
<transform dir path=usr/share/lib/java/javadoc$ -> default group other>
 
#
# Changes to zoneinfo files on live systems need to trigger a refresh of
# the timezone reloader.  See tzreload(1m).
#
<transform file link hardlink path=usr/share/lib/zoneinfo/.+ -> add refresh_fmri "svc:/system/timezone:default">
 
#
# Most directories and files under /etc/security are group sys
#
<transform dir path=etc/security$ -> default group sys>
<transform dir path=etc/security/exec_attr.d$ -> default group sys>
<transform file path=etc/security/exec_attr.d/.* -> default group sys>
<transform dir path=etc/security/prof_attr.d$ -> default group sys>
<transform file path=etc/security/prof_attr.d/.* -> default group sys>
<transform dir path=etc/security/auth_attr.d$ -> default group sys>
<transform file path=etc/security/auth_attr.d/.* -> default group sys>
 
#
# SMF directories and files
#
<transform dir path=lib/svc/manifest -> default group sys>
<transform file path=lib/svc/manifest -> default group sys>
<transform file path=lib/svc/method/.* -> default mode 0555>
 
#
# Many directories and files under /usr/share are group other
#
<transform dir path=usr/share/locale(/.+){0,2}$ -> default group other>
<transform file path=usr/share/locale(/.+){3}$ -> default group other>
<transform dir path=usr/share/applications$ -> default group other>
<transform file path=usr/share/applications/.* -> default group other>
<transform dir path=usr/share/pixmaps$ -> default group other>
<transform file path=usr/share/pixmaps/.* -> default group other>
 
<transform dir path=usr/gnu/share$ -> default group sys>
 
<transform dir path=var/db$ -> default group sys>
<transform dir path=var/lib$ -> default group other>
<transform dir path=var/log$ -> default group sys>
 
# usr/share/icons, and all its subdirectories at any level are group other
<transform dir path=usr/share/icons(/.*){0,1}$ -> default group other>
 
#
# programs & shared objects should generally have mode 0555
#
<transform file path=.*lib/.*\.so.* -> default mode 0555>
<transform file path=.*bin/.* -> default mode 0555>
<transform file path=.*lib/inet/.* -> default mode 0555>
 
#
# For what's left, go with root:bin 0444 for files, 0755 for directories
#
<transform dir file -> default owner root>
<transform dir file -> default group bin>
<transform file -> default mode 0444>
<transform dir -> default mode 0755>
 
set name=variant.arch value=$(MACH)
 
#
# Defaults for legacy metadata for SVR4 package information
#
<transform legacy -> default vendor "Oracle Corporation">
<transform legacy -> default hotline \
    "Please contact your local service provider">
<transform legacy -> default arch $(MACH)>
<transform legacy -> default category "system">
# This is set to the final version number delivered as SVR4 format
<transform legacy -> default version "11.11.0,REV=2010.05.25.01.00">
 
#
# Set the default Python for mediated links
#
<transform link mediator=python mediator-version=2.6 -> default mediator-priority vendor>
 
#
# Add a facet.version-lock.{package} to each 'optional' consolidation
# incorporation dependency so that we can install without having to
# mangle the system in some way.
#
<transform depend type=optional fmri=(pkg:/)?consolidation/.+-incorporation@ -> \
    default tmp.fmri %{pkg.fmri} >
<transform depend tmp.fmri=pkg:/(.+)@.*$ -> \
    default facet.version-lock.%<1> true >
<transform depend tmp.fmri=.*-> delete tmp.fmri .* >