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
82#
83# CDDL HEADER START
84#
85# The contents of this file are subject to the terms of the
86# Common Development and Distribution License (the "License").
87# You may not use this file except in compliance with the License.
88#
89# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90# or http://www.opensolaris.org/os/licensing.
91# See the License for the specific language governing permissions
92# and limitations under the License.
93#
94# When distributing Covered Code, include this CDDL HEADER in each
95# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
96# If applicable, add the following below this CDDL HEADER, with the
97# fields enclosed by brackets "[]" replaced with your own identifying
98# information: Portions Copyright [yyyy] [name of copyright owner]
99#
100# CDDL HEADER END
101#
102
103#
104# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
105#
106
107#
108# These actions represent settings which should appear in every package.
109#
110
111#
112# Name the consolidation this package came from.
113#
114set name=org.opensolaris.consolidation value=osnet
115
116#
117# Indicate that the package was published in a zones aware
118# fashion.
119#
120set name=variant.opensolaris.zone value=global value=nonglobal
121#
122# CDDL HEADER START
123#
124# The contents of this file are subject to the terms of the
125# Common Development and Distribution License (the "License").
126# You may not use this file except in compliance with the License.
127#
128# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
129# or http://www.opensolaris.org/os/licensing.
130# See the License for the specific language governing permissions
131# and limitations under the License.
132#
133# When distributing Covered Code, include this CDDL HEADER in each
134# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
135# If applicable, add the following below this CDDL HEADER, with the
136# fields enclosed by brackets "[]" replaced with your own identifying
137# information: Portions Copyright [yyyy] [name of copyright owner]
138#
139# CDDL HEADER END
140#
141
142#
143# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
144# Use is subject to license terms.
145#
146
147#
148# Only publish packages for the currently specified architecture
149#
150# This is somewhat nonintuitive.  In English:
151#
152#	For any action of type "set",
153#	if the "name" property matches the regex "variant.arch",
154#	and *every* occurrence of the "value" property does not match
155#		$ARCH, then don't publish it.
156#
157# ...in other words, if *any* occurrence of "value" matches i386,
158# then the negative lookahead assertion in the regex will fail, and we
159# won't abort based on the action.
160#
161
162#
163# Catch don't-publish settings from manifest-embedded transforms
164#
165#
166# CDDL HEADER START
167#
168# The contents of this file are subject to the terms of the
169# Common Development and Distribution License (the "License").
170# You may not use this file except in compliance with the License.
171#
172# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
173# or http://www.opensolaris.org/os/licensing.
174# See the License for the specific language governing permissions
175# and limitations under the License.
176#
177# When distributing Covered Code, include this CDDL HEADER in each
178# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
179# If applicable, add the following below this CDDL HEADER, with the
180# fields enclosed by brackets "[]" replaced with your own identifying
181# information: Portions Copyright [yyyy] [name of copyright owner]
182#
183# CDDL HEADER END
184#
185
186#
187# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
188#
189
190#
191# This file and its contents are supplied under the terms of the
192# Common Development and Distribution License ("CDDL"), version 1.0.
193# You may only use this file in accordance with the terms of version
194# 1.0 of the CDDL.
195#
196# A full copy of the text of the CDDL should have accompanied this
197# source.  A copy of the CDDL is also available via the Internet
198# at http://www.illumos.org/license/CDDL.
199#
200
201# Copyright 2011, Richard Lowe
202
203# Manual pages are documentation, and more specifically 'man' documentation
204#
205# CDDL HEADER START
206#
207# The contents of this file are subject to the terms of the
208# Common Development and Distribution License (the "License").
209# You may not use this file except in compliance with the License.
210#
211# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
212# or http://www.opensolaris.org/os/licensing.
213# See the License for the specific language governing permissions
214# and limitations under the License.
215#
216# When distributing Covered Code, include this CDDL HEADER in each
217# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
218# If applicable, add the following below this CDDL HEADER, with the
219# fields enclosed by brackets "[]" replaced with your own identifying
220# information: Portions Copyright [yyyy] [name of copyright owner]
221#
222# CDDL HEADER END
223#
224
225#
226# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
227# Copyright 2011, Richard Lowe
228#
229
230#
231# For kernel/drv, set .conf files to mode 0644.  Assume all other
232# files there are drivers, and give them mode 0755 and reboot-needed.
233#
234# The (?<!r) construct in the reboot-needed transform is a negative
235# lookbehind assertion: it says "only match this regex if the
236# previously matched text does NOT match regex r."  So it will match
237# all files in the various kernel trees, except for .conf files.
238#
239
240
241#
242# Non-global zones should not have content in kernel, usr/kernel (and
243# other kernel dirs) or in boot/.
244#
245
246
247#
248# shared objects should generally have mode 0755
249#
250
251#
252# Catch some of the collections of largely read-only files
253#
254
255
256#
257# For what's left, go with root:bin 0644, +x for directories
258#
259
260#
261# Default values for legacy actions
262#
263#
264# CDDL HEADER START
265#
266# The contents of this file are subject to the terms of the
267# Common Development and Distribution License (the "License").
268# You may not use this file except in compliance with the License.
269#
270# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
271# or http://www.opensolaris.org/os/licensing.
272# See the License for the specific language governing permissions
273# and limitations under the License.
274#
275# When distributing Covered Code, include this CDDL HEADER in each
276# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
277# If applicable, add the following below this CDDL HEADER, with the
278# fields enclosed by brackets "[]" replaced with your own identifying
279# information: Portions Copyright [yyyy] [name of copyright owner]
280#
281# CDDL HEADER END
282#
283
284#
285# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
286#
287
288#
289# Pull out the license paths for staging in the proto area.  Ignore
290# those with no path separators, as that indicates a file kept in
291# $SRC/pkg/license_files, rather than alongside the associated source.
292#
293
294#
295# Ordering is important here, and the last line wins.
296#
297# The default of "current" is provided by the calling environment,
298# rather than a print operation.
299#
300depend fmri=consolidation/osnet/osnet-incorporation type=require
301depend fmri=pkg:/SUNWcs@0.5.11-0.155.53 type=require
302depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
303depend fmri=system/test/testrunner type=require
304#
305# This file and its contents are supplied under the terms of the
306# Common Development and Distribution License ("CDDL"). You may
307# only use this file in accordance with the terms of the CDDL.
308#
309# A full copy of the text of the CDDL should have accompanied this
310# source. A copy of the CDDL is also available via the Internet at
311# http://www.illumos.org/license/CDDL.
312#
313
314#
315# Copyright 2019 Alexander Pyhalov
316# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
317#
318
319#
320# These transforms drop the information that we don't want to appear
321# in final package versions.
322#
323
324# Drop pkg.depend.bypass-generate attributes
325
326# Drop pkg.depend.runpath attributes
327
328# Remove pkg debug information
329
330