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 2012 Nexenta Systems, Inc. All rights reserved.
25#
26
27set name=pkg.fmri value=pkg:/developer/tnf@0.5.11,5.11-0.155.53
28set name=pkg.description value="utilities needed by developers using Trace Normal Format (TNF) facilities"
29set name=pkg.summary value="TNF Developer Components"
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=usr
33dir group=bin mode=0755 owner=root path=usr/bin
34dir group=bin mode=0755 owner=root path=usr/include
35dir group=bin mode=0755 owner=root path=usr/include/tnf
36dir group=bin mode=0755 owner=root path=usr/lib
37dir group=bin mode=0755 owner=root path=usr/share/man
38dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1
39dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3tnf
40file NOHASH group=bin mode=0555 owner=root path=usr/bin/tnfdump
41file NOHASH group=bin mode=0644 owner=root path=usr/include/tnf/com.h
42file NOHASH group=bin mode=0644 owner=root path=usr/include/tnf/probe.h
43file NOHASH group=bin mode=0644 owner=root path=usr/include/tnf/tnf.h
44file NOHASH group=bin mode=0644 owner=root path=usr/include/tnf/writer.h
45file NOHASH group=bin mode=0755 owner=root path=usr/lib/libtnf.so.1
46file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1/tnfdump.1
47file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/TNF_DECLARE_RECORD.3tnf
48file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/TNF_PROBE.3tnf
49file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/libtnfctl.3tnf
50file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnf_process_disable.3tnf
51file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_buffer_alloc.3tnf
52file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_close.3tnf
53file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_indirect_open.3tnf
54file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_internal_open.3tnf
55file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_kernel_open.3tnf
56file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_pid_open.3tnf
57file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_probe_apply.3tnf
58file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_probe_state_get.3tnf
59file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_register_funcs.3tnf
60file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_strerror.3tnf
61file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_trace_attrs_get.3tnf
62file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tnfctl_trace_state_set.3tnf
63file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3tnf/tracing.3tnf
64legacy arch=i386 category=system desc="utilities needed by developers using Trace Normal Format (TNF) facilities" hotline="Please contact your local service provider" name="TNF Developer Components" pkg=SUNWtnfd vendor=Illumos version=11.11,REV=2009.11.11
65license cr_Sun license=cr_Sun
66license lic_CDDL license=lic_CDDL
67link path=usr/lib/libtnf.so target=./libtnf.so.1
68link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEBUG.3tnf target=TNF_PROBE.3tnf
69link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEFINE_RECORD_1.3tnf target=TNF_DECLARE_RECORD.3tnf
70link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEFINE_RECORD_2.3tnf target=TNF_DECLARE_RECORD.3tnf
71link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEFINE_RECORD_3.3tnf target=TNF_DECLARE_RECORD.3tnf
72link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEFINE_RECORD_4.3tnf target=TNF_DECLARE_RECORD.3tnf
73link facet.doc.man=true path=usr/share/man/man3tnf/TNF_DEFINE_RECORD_5.3tnf target=TNF_DECLARE_RECORD.3tnf
74link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_0.3tnf target=TNF_PROBE.3tnf
75link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_0_DEBUG.3tnf target=TNF_PROBE.3tnf
76link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_1.3tnf target=TNF_PROBE.3tnf
77link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_1_DEBUG.3tnf target=TNF_PROBE.3tnf
78link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_2.3tnf target=TNF_PROBE.3tnf
79link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_2_DEBUG.3tnf target=TNF_PROBE.3tnf
80link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_3.3tnf target=TNF_PROBE.3tnf
81link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_3_DEBUG.3tnf target=TNF_PROBE.3tnf
82link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_4.3tnf target=TNF_PROBE.3tnf
83link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_4_DEBUG.3tnf target=TNF_PROBE.3tnf
84link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_5.3tnf target=TNF_PROBE.3tnf
85link facet.doc.man=true path=usr/share/man/man3tnf/TNF_PROBE_5_DEBUG.3tnf target=TNF_PROBE.3tnf
86link facet.doc.man=true path=usr/share/man/man3tnf/tnf_process_enable.3tnf target=tnf_process_disable.3tnf
87link facet.doc.man=true path=usr/share/man/man3tnf/tnf_thread_disable.3tnf target=tnf_process_disable.3tnf
88link facet.doc.man=true path=usr/share/man/man3tnf/tnf_thread_enable.3tnf target=tnf_process_disable.3tnf
89link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_buffer_dealloc.3tnf target=tnfctl_buffer_alloc.3tnf
90link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_check_libs.3tnf target=tnfctl_indirect_open.3tnf
91link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_continue.3tnf target=tnfctl_pid_open.3tnf
92link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_exec_open.3tnf target=tnfctl_pid_open.3tnf
93link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_filter_list_add.3tnf target=tnfctl_trace_state_set.3tnf
94link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_filter_list_delete.3tnf target=tnfctl_trace_state_set.3tnf
95link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_filter_list_get.3tnf target=tnfctl_trace_state_set.3tnf
96link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_filter_state_set.3tnf target=tnfctl_trace_state_set.3tnf
97link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_apply_ids.3tnf target=tnfctl_probe_apply.3tnf
98link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_connect.3tnf target=tnfctl_probe_state_get.3tnf
99link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_disable.3tnf target=tnfctl_probe_state_get.3tnf
100link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_disconnect_all.3tnf target=tnfctl_probe_state_get.3tnf
101link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_enable.3tnf target=tnfctl_probe_state_get.3tnf
102link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_trace.3tnf target=tnfctl_probe_state_get.3tnf
103link facet.doc.man=true path=usr/share/man/man3tnf/tnfctl_probe_untrace.3tnf target=tnfctl_probe_state_get.3tnf
104#
105# CDDL HEADER START
106#
107# The contents of this file are subject to the terms of the
108# Common Development and Distribution License (the "License").
109# You may not use this file except in compliance with the License.
110#
111# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
112# or http://www.opensolaris.org/os/licensing.
113# See the License for the specific language governing permissions
114# and limitations under the License.
115#
116# When distributing Covered Code, include this CDDL HEADER in each
117# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
118# If applicable, add the following below this CDDL HEADER, with the
119# fields enclosed by brackets "[]" replaced with your own identifying
120# information: Portions Copyright [yyyy] [name of copyright owner]
121#
122# CDDL HEADER END
123#
124
125#
126# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
127#
128
129#
130# These actions represent settings which should appear in every package.
131#
132
133#
134# Name the consolidation this package came from.
135#
136set name=org.opensolaris.consolidation value=osnet
137
138#
139# Indicate that the package was published in a zones aware
140# fashion.
141#
142set name=variant.opensolaris.zone value=global value=nonglobal
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 2010 Sun Microsystems, Inc.  All rights reserved.
166# Use is subject to license terms.
167#
168
169#
170# Only publish packages for the currently specified architecture
171#
172# This is somewhat nonintuitive.  In English:
173#
174#	For any action of type "set",
175#	if the "name" property matches the regex "variant.arch",
176#	and *every* occurrence of the "value" property does not match
177#		$ARCH, then don't publish it.
178#
179# ...in other words, if *any* occurrence of "value" matches i386,
180# then the negative lookahead assertion in the regex will fail, and we
181# won't abort based on the action.
182#
183
184#
185# Catch don't-publish settings from manifest-embedded transforms
186#
187#
188# CDDL HEADER START
189#
190# The contents of this file are subject to the terms of the
191# Common Development and Distribution License (the "License").
192# You may not use this file except in compliance with the License.
193#
194# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
195# or http://www.opensolaris.org/os/licensing.
196# See the License for the specific language governing permissions
197# and limitations under the License.
198#
199# When distributing Covered Code, include this CDDL HEADER in each
200# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
201# If applicable, add the following below this CDDL HEADER, with the
202# fields enclosed by brackets "[]" replaced with your own identifying
203# information: Portions Copyright [yyyy] [name of copyright owner]
204#
205# CDDL HEADER END
206#
207
208#
209# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
210#
211
212#
213# This file and its contents are supplied under the terms of the
214# Common Development and Distribution License ("CDDL"), version 1.0.
215# You may only use this file in accordance with the terms of version
216# 1.0 of the CDDL.
217#
218# A full copy of the text of the CDDL should have accompanied this
219# source.  A copy of the CDDL is also available via the Internet
220# at http://www.illumos.org/license/CDDL.
221#
222
223# Copyright 2011, Richard Lowe
224
225# Manual pages are documentation, and more specifically 'man' documentation
226#
227# CDDL HEADER START
228#
229# The contents of this file are subject to the terms of the
230# Common Development and Distribution License (the "License").
231# You may not use this file except in compliance with the License.
232#
233# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234# or http://www.opensolaris.org/os/licensing.
235# See the License for the specific language governing permissions
236# and limitations under the License.
237#
238# When distributing Covered Code, include this CDDL HEADER in each
239# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
240# If applicable, add the following below this CDDL HEADER, with the
241# fields enclosed by brackets "[]" replaced with your own identifying
242# information: Portions Copyright [yyyy] [name of copyright owner]
243#
244# CDDL HEADER END
245#
246
247#
248# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
249# Copyright 2011, Richard Lowe
250#
251
252#
253# For kernel/drv, set .conf files to mode 0644.  Assume all other
254# files there are drivers, and give them mode 0755 and reboot-needed.
255#
256# The (?<!r) construct in the reboot-needed transform is a negative
257# lookbehind assertion: it says "only match this regex if the
258# previously matched text does NOT match regex r."  So it will match
259# all files in the various kernel trees, except for .conf files.
260#
261
262
263#
264# Non-global zones should not have content in kernel, usr/kernel (and
265# other kernel dirs) or in boot/.
266#
267
268
269#
270# shared objects should generally have mode 0755
271#
272
273#
274# Catch some of the collections of largely read-only files
275#
276
277
278#
279# For what's left, go with root:bin 0644, +x for directories
280#
281
282#
283# Default values for legacy actions
284#
285#
286# CDDL HEADER START
287#
288# The contents of this file are subject to the terms of the
289# Common Development and Distribution License (the "License").
290# You may not use this file except in compliance with the License.
291#
292# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
293# or http://www.opensolaris.org/os/licensing.
294# See the License for the specific language governing permissions
295# and limitations under the License.
296#
297# When distributing Covered Code, include this CDDL HEADER in each
298# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
299# If applicable, add the following below this CDDL HEADER, with the
300# fields enclosed by brackets "[]" replaced with your own identifying
301# information: Portions Copyright [yyyy] [name of copyright owner]
302#
303# CDDL HEADER END
304#
305
306#
307# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
308#
309
310#
311# Pull out the license paths for staging in the proto area.  Ignore
312# those with no path separators, as that indicates a file kept in
313# $SRC/pkg/license_files, rather than alongside the associated source.
314#
315
316#
317# Ordering is important here, and the last line wins.
318#
319# The default of "current" is provided by the calling environment,
320# rather than a print operation.
321#
322depend fmri=consolidation/osnet/osnet-incorporation type=require
323depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/bin/tnfdump pkg.debug.depend.type=elf type=require
324depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/lib/libtnf.so.1 pkg.debug.depend.type=elf type=require
325