commit | author | age
|
9c75c0
|
1 |
# |
NJ |
2 |
# CDDL HEADER START |
|
3 |
# |
|
4 |
# The contents of this file are subject to the terms of the |
|
5 |
# Common Development and Distribution License (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
|
|
22 |
# |
caf62e
|
23 |
# Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved. |
9c75c0
|
24 |
# |
NJ |
25 |
|
7e1c85
|
26 |
<transform dir path=etc$ -> default group sys> |
AS |
27 |
<transform dir path=etc/inet$ -> default group sys> |
|
28 |
<transform dir path=var$ -> default group sys> |
70eebe
|
29 |
|
3a9f77
|
30 |
<transform dir path=etc/profile.d$ -> default group sys> |
AL |
31 |
<transform dir path=etc/profile.d/.* -> default group sys> |
7e1c85
|
32 |
<transform dir path=etc/skel$ -> default group sys> |
AS |
33 |
<transform dir path=usr$ -> default group sys> |
|
34 |
<transform dir path=usr/lib/pkgconfig$ -> default group other> |
|
35 |
<transform dir path=usr/lib/.*/pkgconfig$ -> default group other> |
|
36 |
<transform dir path=usr/share$ -> default group sys> |
|
37 |
<transform dir path=usr/share/aclocal$ -> default group other> |
|
38 |
<transform dir path=usr/share/doc$ -> default group other> |
|
39 |
<transform dir path=usr/share/lib$ -> default group sys> |
|
40 |
<transform dir path=usr/share/lib/java$ -> default group sys> |
|
41 |
<transform dir path=usr/share/lib/java/javadoc$ -> default group other> |
e4bbaf
|
42 |
|
dfbec5
|
43 |
# |
AP |
44 |
# C++ libraries compiled with GCC have incompatible ABI with Studio-compiled, |
|
45 |
# so they go to separate directory if we need several library versions. |
|
46 |
# Here we set default directories permissions which should be compatible |
|
47 |
# with SFE directory permissions. |
|
48 |
# |
f40516
|
49 |
<transform dir path=usr/g\+\+/lib/pkgconfig$ -> default group other> |
AP |
50 |
<transform dir path=usr/g\+\+/lib/.*/pkgconfig$ -> default group other> |
|
51 |
<transform dir path=usr/g\+\+/share$ -> default group sys> |
|
52 |
<transform dir path=usr/g\+\+/share/aclocal$ -> default group other> |
|
53 |
<transform dir path=usr/g\+\+/share/doc$ -> default group other> |
|
54 |
<transform dir path=usr/g\+\+/share/lib$ -> default group sys> |
|
55 |
<transform dir path=usr/g\+\+/share/lib/java$ -> default group sys> |
|
56 |
<transform dir path=usr/g\+\+/lib/java/javadoc$ -> default group other> |
dfbec5
|
57 |
|
e4bbaf
|
58 |
# |
93837d
|
59 |
# Changes to zoneinfo files on live systems need to trigger a refresh of |
SG-SM-BI |
60 |
# the timezone reloader. See tzreload(1m). |
|
61 |
# |
|
62 |
<transform file link hardlink path=usr/share/lib/zoneinfo/.+ -> add refresh_fmri "svc:/system/timezone:default"> |
|
63 |
|
|
64 |
# |
7e1c85
|
65 |
# Most directories and files under /etc/security are group sys |
497648
|
66 |
# |
7e1c85
|
67 |
<transform dir path=etc/security$ -> default group sys> |
AS |
68 |
<transform dir path=etc/security/exec_attr.d$ -> default group sys> |
|
69 |
<transform file path=etc/security/exec_attr.d/.* -> default group sys> |
|
70 |
<transform dir path=etc/security/prof_attr.d$ -> default group sys> |
|
71 |
<transform file path=etc/security/prof_attr.d/.* -> default group sys> |
|
72 |
<transform dir path=etc/security/auth_attr.d$ -> default group sys> |
|
73 |
<transform file path=etc/security/auth_attr.d/.* -> default group sys> |
|
74 |
|
|
75 |
# |
|
76 |
# SMF directories and files |
|
77 |
# |
|
78 |
<transform dir path=lib/svc/manifest -> default group sys> |
|
79 |
<transform file path=lib/svc/manifest -> default group sys> |
2515dc
|
80 |
<transform file path=lib/svc/method/.* -> default mode 0555> |
PS |
81 |
|
|
82 |
# |
4e1ae0
|
83 |
# Many files under /usr/share are group other |
e4bbaf
|
84 |
# |
7e1c85
|
85 |
<transform dir path=usr/share/locale(/.+){0,2}$ -> default group other> |
e4bbaf
|
86 |
<transform file path=usr/share/locale(/.+){3}$ -> default group other> |
7e1c85
|
87 |
<transform dir path=usr/share/applications$ -> default group other> |
497648
|
88 |
<transform file path=usr/share/applications/.* -> default group other> |
7e1c85
|
89 |
<transform dir path=usr/share/pixmaps$ -> default group other> |
497648
|
90 |
<transform file path=usr/share/pixmaps/.* -> default group other> |
ad8773
|
91 |
|
7e1c85
|
92 |
<transform dir path=usr/gnu/share$ -> default group sys> |
AS |
93 |
|
|
94 |
<transform dir path=var/db$ -> default group sys> |
|
95 |
<transform dir path=var/lib$ -> default group other> |
|
96 |
<transform dir path=var/log$ -> default group sys> |
|
97 |
|
|
98 |
# usr/share/icons, and all its subdirectories at any level are group other |
|
99 |
<transform dir path=usr/share/icons(/.*){0,1}$ -> default group other> |
|
100 |
|
9c75c0
|
101 |
# |
6514ee
|
102 |
# programs & shared objects should generally have mode 0555 |
9c75c0
|
103 |
# |
6514ee
|
104 |
<transform file path=.*lib/.*\.so.* -> default mode 0555> |
NJ |
105 |
<transform file path=.*bin/.* -> default mode 0555> |
8a614a
|
106 |
<transform file path=.*lib/inet/.* -> default mode 0555> |
9c75c0
|
107 |
|
NJ |
108 |
# |
c7f04c
|
109 |
# For what's left, go with root:bin 0444 for files, 0755 for directories |
9c75c0
|
110 |
# |
c7f04c
|
111 |
<transform dir file -> default owner root> |
NJ |
112 |
<transform dir file -> default group bin> |
|
113 |
<transform file -> default mode 0444> |
9c75c0
|
114 |
<transform dir -> default mode 0755> |
c7f04c
|
115 |
|
312a77
|
116 |
set name=variant.arch value=$(MACH) |
MS |
117 |
|
0b8475
|
118 |
# |
NJ |
119 |
# Defaults for legacy metadata for SVR4 package information |
|
120 |
# |
4c9b5f
|
121 |
<transform legacy -> default vendor "Project OpenIndiana"> |
0b8475
|
122 |
<transform legacy -> default hotline \ |
NJ |
123 |
"Please contact your local service provider"> |
9dfd18
|
124 |
<transform legacy -> default arch $(MACH)> |
0b8475
|
125 |
<transform legacy -> default category "system"> |
NJ |
126 |
# This is set to the final version number delivered as SVR4 format |
|
127 |
<transform legacy -> default version "11.11.0,REV=2010.05.25.01.00"> |
|
128 |
|
7d22b7
|
129 |
# |
NJ |
130 |
# Set the default Python for mediated links |
|
131 |
# |
|
132 |
<transform link mediator=python mediator-version=2.6 -> default mediator-priority vendor> |
|
133 |
|
caf62e
|
134 |
# |
NJ |
135 |
# Add a facet.version-lock.{package} to each 'optional' consolidation |
|
136 |
# incorporation dependency so that we can install without having to |
|
137 |
# mangle the system in some way. |
|
138 |
# |
|
139 |
<transform depend type=optional fmri=(pkg:/)?consolidation/.+-incorporation@ -> \ |
|
140 |
default tmp.fmri %{pkg.fmri} > |
|
141 |
<transform depend tmp.fmri=pkg:/(.+)@.*$ -> \ |
|
142 |
default facet.version-lock.%<1> true > |
|
143 |
<transform depend tmp.fmri=.*-> delete tmp.fmri .* > |
|
144 |
|
280925
|
145 |
<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted> |