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