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