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