1#
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#
23# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26set name=pkg.fmri value=pkg:/system/zones/brand/s10@0.5.11,5.11-0.155.53
27set name=pkg.description value="Support for the 'Solaris10' Brand"
28set name=pkg.summary value="Solaris 10 Containers: solaris10 brand support"
29set name=info.classification value=org.opensolaris.category.2008:System/Virtualization
30set name=variant.arch value=i386
31dir group=sys mode=0755 owner=root path=etc
32dir group=sys mode=0755 owner=root path=etc/brand
33dir group=sys mode=0755 owner=root path=etc/brand/solaris10
34dir group=sys mode=0755 owner=root path=etc/zones
35#dir path=platform group=sys
36#dir path=platform/sun4u group=sys
37#dir path=platform/sun4u/kernel group=sys
38#dir path=platform/sun4u/kernel/brand group=sys
39#dir path=platform/sun4u/kernel/brand/amd64 group=sys
40#dir path=platform/sun4v group=sys
41#dir path=platform/sun4v/kernel group=sys
42#dir path=platform/sun4v/kernel/brand group=sys
43#dir path=platform/sun4v/kernel/brand/amd64 group=sys
44dir group=sys mode=0755 owner=root path=usr
45dir group=sys mode=0755 owner=root path=usr/kernel variant.opensolaris.zone=global
46dir group=sys mode=0755 owner=root path=usr/kernel/brand variant.opensolaris.zone=global
47dir group=sys mode=0755 owner=root path=usr/kernel/brand/amd64 variant.opensolaris.zone=global
48dir group=bin mode=0755 owner=root path=usr/lib
49dir group=bin mode=0755 owner=root path=usr/lib/amd64
50dir group=bin mode=0755 owner=root path=usr/lib/brand
51dir group=sys mode=0755 owner=root path=usr/lib/brand/solaris10
52dir group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/amd64
53file NOHASH group=sys mode=0644 original_name=SUNWs10brand:etc/brand/solaris10/pkgrm.conf owner=root path=etc/brand/solaris10/pkgrm.conf preserve=true
54file NOHASH group=sys mode=0644 original_name=SUNWs10brand:etc/brand/solaris10/smf_disable.conf owner=root path=etc/brand/solaris10/smf_disable.conf preserve=true
55file NOHASH group=bin mode=0444 owner=root path=etc/zones/SUNWsolaris10.xml
56#file path=platform/sun4u/kernel/brand/amd64/s10_brand group=sys mode=0755
57#file path=platform/sun4v/kernel/brand/amd64/s10_brand group=sys mode=0755
58file NOHASH group=sys mode=0755 owner=root path=usr/kernel/brand/amd64/s10_brand reboot-needed=true variant.opensolaris.zone=global
59file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/s10_brand.so.1
60file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/s10_npreload.so.1
61file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/amd64/solaris10_librtld_db.so.1
62file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/attach
63file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/clone
64file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/common.ksh
65file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/config.xml
66file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/detach
67file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/image_install
68file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/p2v
69file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/pkgrm.lst
70file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/platform.xml
71file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/postattach
72file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/poststate
73file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/prestate
74file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/preuninstall
75file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_boot
76file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_isaexec_wrapper
77file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_native
78file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_net_physical
79file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_python_wrapper
80file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_replacefile
81file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/s10_support
82file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/smf_disable.lst
83file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/solaris10_librtld_db.so.1
84file NOHASH group=bin mode=0755 owner=root path=usr/lib/brand/solaris10/uninstall
85file NOHASH group=bin mode=0444 owner=root path=usr/lib/brand/solaris10/version
86file NOHASH group=bin mode=0755 owner=root path=usr/lib/s10_brand.so.1
87file NOHASH group=bin mode=0755 owner=root path=usr/lib/s10_npreload.so.1
88legacy arch=i386 category=system desc="Support for the 'Solaris10' Brand" hotline="Please contact your local service provider" name="Solaris 10 Containers: solaris10 brand support (Root)" pkg=SUNWs10brandr vendor=Illumos version=11.11,REV=2009.11.11
89legacy arch=i386 category=system desc="Support for the 'solaris10' Brand" hotline="Please contact your local service provider" name="Solaris 10 Containers: solaris10 brand support (Usr)" pkg=SUNWs10brandu vendor=Illumos version=11.11,REV=2009.11.11
90license cr_Sun license=cr_Sun
91license lic_CDDL license=lic_CDDL
92link path=usr/lib/brand/solaris10/64 target=amd64
93#
94# CDDL HEADER START
95#
96# The contents of this file are subject to the terms of the
97# Common Development and Distribution License (the "License").
98# You may not use this file except in compliance with the License.
99#
100# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
101# or http://www.opensolaris.org/os/licensing.
102# See the License for the specific language governing permissions
103# and limitations under the License.
104#
105# When distributing Covered Code, include this CDDL HEADER in each
106# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
107# If applicable, add the following below this CDDL HEADER, with the
108# fields enclosed by brackets "[]" replaced with your own identifying
109# information: Portions Copyright [yyyy] [name of copyright owner]
110#
111# CDDL HEADER END
112#
113
114#
115# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
116#
117
118#
119# These actions represent settings which should appear in every package.
120#
121
122#
123# Name the consolidation this package came from.
124#
125set name=org.opensolaris.consolidation value=osnet
126
127#
128# Indicate that the package was published in a zones aware
129# fashion.
130#
131set name=variant.opensolaris.zone value=global value=nonglobal
132#
133# CDDL HEADER START
134#
135# The contents of this file are subject to the terms of the
136# Common Development and Distribution License (the "License").
137# You may not use this file except in compliance with the License.
138#
139# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
140# or http://www.opensolaris.org/os/licensing.
141# See the License for the specific language governing permissions
142# and limitations under the License.
143#
144# When distributing Covered Code, include this CDDL HEADER in each
145# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
146# If applicable, add the following below this CDDL HEADER, with the
147# fields enclosed by brackets "[]" replaced with your own identifying
148# information: Portions Copyright [yyyy] [name of copyright owner]
149#
150# CDDL HEADER END
151#
152
153#
154# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
155# Use is subject to license terms.
156#
157
158#
159# Only publish packages for the currently specified architecture
160#
161# This is somewhat nonintuitive.  In English:
162#
163#	For any action of type "set",
164#	if the "name" property matches the regex "variant.arch",
165#	and *every* occurrence of the "value" property does not match
166#		$ARCH, then don't publish it.
167#
168# ...in other words, if *any* occurrence of "value" matches i386,
169# then the negative lookahead assertion in the regex will fail, and we
170# won't abort based on the action.
171#
172
173#
174# Catch don't-publish settings from manifest-embedded transforms
175#
176#
177# CDDL HEADER START
178#
179# The contents of this file are subject to the terms of the
180# Common Development and Distribution License (the "License").
181# You may not use this file except in compliance with the License.
182#
183# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
184# or http://www.opensolaris.org/os/licensing.
185# See the License for the specific language governing permissions
186# and limitations under the License.
187#
188# When distributing Covered Code, include this CDDL HEADER in each
189# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
190# If applicable, add the following below this CDDL HEADER, with the
191# fields enclosed by brackets "[]" replaced with your own identifying
192# information: Portions Copyright [yyyy] [name of copyright owner]
193#
194# CDDL HEADER END
195#
196
197#
198# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
199#
200
201#
202# This file and its contents are supplied under the terms of the
203# Common Development and Distribution License ("CDDL"), version 1.0.
204# You may only use this file in accordance with the terms of version
205# 1.0 of the CDDL.
206#
207# A full copy of the text of the CDDL should have accompanied this
208# source.  A copy of the CDDL is also available via the Internet
209# at http://www.illumos.org/license/CDDL.
210#
211
212# Copyright 2011, Richard Lowe
213
214# Manual pages are documentation, and more specifically 'man' documentation
215#
216# CDDL HEADER START
217#
218# The contents of this file are subject to the terms of the
219# Common Development and Distribution License (the "License").
220# You may not use this file except in compliance with the License.
221#
222# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
223# or http://www.opensolaris.org/os/licensing.
224# See the License for the specific language governing permissions
225# and limitations under the License.
226#
227# When distributing Covered Code, include this CDDL HEADER in each
228# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
229# If applicable, add the following below this CDDL HEADER, with the
230# fields enclosed by brackets "[]" replaced with your own identifying
231# information: Portions Copyright [yyyy] [name of copyright owner]
232#
233# CDDL HEADER END
234#
235
236#
237# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
238# Copyright 2011, Richard Lowe
239#
240
241#
242# For kernel/drv, set .conf files to mode 0644.  Assume all other
243# files there are drivers, and give them mode 0755 and reboot-needed.
244#
245# The (?<!r) construct in the reboot-needed transform is a negative
246# lookbehind assertion: it says "only match this regex if the
247# previously matched text does NOT match regex r."  So it will match
248# all files in the various kernel trees, except for .conf files.
249#
250
251
252#
253# Non-global zones should not have content in kernel, usr/kernel (and
254# other kernel dirs) or in boot/.
255#
256
257
258#
259# shared objects should generally have mode 0755
260#
261
262#
263# Catch some of the collections of largely read-only files
264#
265
266
267#
268# For what's left, go with root:bin 0644, +x for directories
269#
270
271#
272# Default values for legacy actions
273#
274#
275# CDDL HEADER START
276#
277# The contents of this file are subject to the terms of the
278# Common Development and Distribution License (the "License").
279# You may not use this file except in compliance with the License.
280#
281# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
282# or http://www.opensolaris.org/os/licensing.
283# See the License for the specific language governing permissions
284# and limitations under the License.
285#
286# When distributing Covered Code, include this CDDL HEADER in each
287# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
288# If applicable, add the following below this CDDL HEADER, with the
289# fields enclosed by brackets "[]" replaced with your own identifying
290# information: Portions Copyright [yyyy] [name of copyright owner]
291#
292# CDDL HEADER END
293#
294
295#
296# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
297#
298
299#
300# Pull out the license paths for staging in the proto area.  Ignore
301# those with no path separators, as that indicates a file kept in
302# $SRC/pkg/license_files, rather than alongside the associated source.
303#
304
305#
306# Ordering is important here, and the last line wins.
307#
308# The default of "current" is provided by the calling environment,
309# rather than a print operation.
310#
311depend fmri=consolidation/osnet/osnet-incorporation type=require
312depend fmri=pkg:/SUNWcs@0.5.11-0.155.53 type=require
313depend fmri=pkg:/system/kernel@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
314depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
315depend fmri=pkg:/system/zones@0.5.11-0.155.53 type=require
316