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