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 
  26 set name=pkg.fmri value=pkg:/system/tnf@$(PKGVERS)
  27 set name=pkg.description \
  28     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"
  29 set name=pkg.summary value="TNF Core Components"
  30 set name=info.classification \
  31     value=org.opensolaris.category.2008:Development/System
  32 set name=variant.arch value=$(ARCH)
  33 dir path=usr group=sys
  34 dir path=usr/bin
  35 dir path=usr/bin/$(ARCH32)
  36 dir path=usr/bin/$(ARCH64)
  37 dir path=usr/include
  38 dir path=usr/include/tnf
  39 dir path=usr/kernel group=sys
  40 dir path=usr/kernel/drv group=sys
  41 dir path=usr/kernel/drv/$(ARCH64) group=sys
  42 dir path=usr/lib
  43 dir path=usr/lib/$(ARCH64)
  44 dir path=usr/share/man/man1
  45 dir path=usr/share/man/man3lib
  46 driver name=tnf perms="tnfctl 0600 root sys" perms="tnfmap 0600 root sys"
  47 file path=usr/bin/$(ARCH32)/prex mode=0555
  48 $(i386_ONLY)file path=usr/bin/$(ARCH32)/tnfxtract mode=0555
  49 file path=usr/bin/$(ARCH64)/prex mode=0555
  50 file path=usr/bin/$(ARCH64)/tnfxtract mode=0555
  51 file path=usr/include/tnf/tnfctl.h
  52 file path=usr/kernel/drv/$(ARCH64)/tnf group=sys
  53 $(i386_ONLY)file path=usr/kernel/drv/tnf group=sys
  54 file path=usr/kernel/drv/tnf.conf group=sys
  55 file path=usr/lib/$(ARCH64)/libtnfctl.so.1
  56 file path=usr/lib/$(ARCH64)/libtnfprobe.so.1
  57 file path=usr/lib/libtnfctl.so.1
  58 file path=usr/lib/libtnfprobe.so.1
  59 file path=usr/share/man/man1/prex.1
  60 file path=usr/share/man/man1/tnfxtract.1
  61 file path=usr/share/man/man3lib/libtnfctl.3lib
  62 hardlink path=usr/bin/prex target=../lib/isaexec
  63 hardlink path=usr/bin/tnfxtract target=../lib/isaexec
  64 legacy pkg=SUNWtnfc \
  65     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" \
  66     name="TNF Core Components"
  67 license cr_Sun license=cr_Sun
  68 license lic_CDDL license=lic_CDDL
  69 link path=usr/lib/$(ARCH64)/libtnfctl.so target=libtnfctl.so.1
  70 link path=usr/lib/$(ARCH64)/libtnfprobe.so target=libtnfprobe.so.1
  71 link path=usr/lib/libtnfctl.so target=./libtnfctl.so.1
  72 link path=usr/lib/libtnfprobe.so target=./libtnfprobe.so.1