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