Print this page
    
pkg: Add parent dependencies to (some) packages which need them
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/pkg/manifests/diagnostic-cpu-counters.mf
          +++ new/usr/src/pkg/manifests/diagnostic-cpu-counters.mf
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  
  22   22  #
  23   23  # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  24   24  # Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  25   25  #
  26   26  
  27   27  set name=pkg.fmri value=pkg:/diagnostic/cpu-counters@$(PKGVERS)
  28   28  set name=pkg.description \
  29   29      value="CPU Performance Counter libraries and utilities"
  30   30  set name=pkg.summary value="CPU Performance Counter libraries and utilities"
  31   31  set name=info.classification value=org.opensolaris.category.2008:System/Core
  32   32  set name=variant.arch value=$(ARCH)
  33   33  dir path=usr group=sys
  34   34  dir path=usr/bin
  35   35  $(i386_ONLY)dir path=usr/bin/$(ARCH32)
  36   36  dir path=usr/bin/$(ARCH64)
  37   37  dir path=usr/include
  38   38  dir path=usr/include/sys
  39   39  dir path=usr/kernel group=sys
  40   40  dir path=usr/kernel/pcbe group=sys
  41   41  dir path=usr/kernel/pcbe/$(ARCH64) group=sys
  42   42  dir path=usr/lib
  43   43  dir path=usr/lib/$(ARCH64)
  44   44  dir path=usr/sbin
  45   45  dir path=usr/share/man/man1
  46   46  dir path=usr/share/man/man1m
  47   47  dir path=usr/share/man/man3cpc
  48   48  dir path=usr/share/man/man3lib
  49   49  $(i386_ONLY)file path=usr/bin/$(ARCH32)/cputrack mode=0555
  50   50  file path=usr/bin/$(ARCH64)/cputrack mode=0555
  51   51  file path=usr/include/libcpc.h
  52   52  file path=usr/include/libpctx.h
  53   53  $(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.6 group=sys mode=0755
  54   54  $(sparc_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.62 group=sys mode=0755
  55   55  $(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.AuthenticAMD group=sys \
  56   56      mode=0755
  57   57  $(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.15 group=sys \
  58   58      mode=0755
  59   59  $(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6 group=sys \
  60   60      mode=0755
  61   61  $(i386_ONLY)file path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.15 \
  62   62      group=sys mode=0755
  63   63  $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.AuthenticAMD group=sys mode=0755
  64   64  $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.15 group=sys mode=0755
  65   65  $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6 group=sys mode=0755
  66   66  $(i386_ONLY)file path=usr/kernel/pcbe/pcbe.GenuineIntel.6.15 group=sys \
  67   67      mode=0755
  68   68  file path=usr/lib/$(ARCH64)/libcpc.so.1
  69   69  file path=usr/lib/$(ARCH64)/libpctx.so.1
  70   70  file path=usr/lib/$(ARCH64)/llib-lcpc.ln
  71   71  file path=usr/lib/$(ARCH64)/llib-lpctx.ln
  72   72  file path=usr/lib/libcpc.so.1
  73   73  file path=usr/lib/libpctx.so.1
  74   74  file path=usr/lib/llib-lcpc
  75   75  file path=usr/lib/llib-lcpc.ln
  76   76  file path=usr/lib/llib-lpctx
  77   77  file path=usr/lib/llib-lpctx.ln
  78   78  file path=usr/sbin/cpustat mode=0555
  79   79  file path=usr/share/man/man1/cputrack.1
  80   80  file path=usr/share/man/man1m/cpustat.1m
  81   81  file path=usr/share/man/man3cpc/cpc.3cpc
  82   82  file path=usr/share/man/man3cpc/cpc_access.3cpc
  83   83  file path=usr/share/man/man3cpc/cpc_bind_curlwp.3cpc
  84   84  file path=usr/share/man/man3cpc/cpc_bind_event.3cpc
  85   85  file path=usr/share/man/man3cpc/cpc_buf_create.3cpc
  86   86  file path=usr/share/man/man3cpc/cpc_count_usr_events.3cpc
  87   87  file path=usr/share/man/man3cpc/cpc_enable.3cpc
  88   88  file path=usr/share/man/man3cpc/cpc_event.3cpc
  89   89  file path=usr/share/man/man3cpc/cpc_event_diff.3cpc
  90   90  file path=usr/share/man/man3cpc/cpc_getcpuver.3cpc
  91   91  file path=usr/share/man/man3cpc/cpc_npic.3cpc
  92   92  file path=usr/share/man/man3cpc/cpc_open.3cpc
  93   93  file path=usr/share/man/man3cpc/cpc_pctx_bind_event.3cpc
  94   94  file path=usr/share/man/man3cpc/cpc_set_create.3cpc
  95   95  file path=usr/share/man/man3cpc/cpc_seterrfn.3cpc
  96   96  file path=usr/share/man/man3cpc/cpc_seterrhndlr.3cpc
  97   97  file path=usr/share/man/man3cpc/cpc_shared_open.3cpc
  98   98  file path=usr/share/man/man3cpc/cpc_strtoevent.3cpc
  99   99  file path=usr/share/man/man3cpc/cpc_version.3cpc
 100  100  file path=usr/share/man/man3cpc/generic_events.3cpc
 101  101  file path=usr/share/man/man3cpc/pctx_capture.3cpc
 102  102  file path=usr/share/man/man3cpc/pctx_set_events.3cpc
 103  103  file path=usr/share/man/man3lib/libcpc.3lib
 104  104  file path=usr/share/man/man3lib/libpctx.3lib
 105  105  hardlink path=usr/bin/cputrack target=../lib/isaexec
 106  106  $(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.23 target=pcbe.62
 107  107  $(sparc_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.4.7 target=pcbe.4.6
 108  108  $(i386_ONLY)hardlink path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.5 \
 109  109      target=pcbe.GenuineIntel.6
 110  110  $(i386_ONLY)hardlink path=usr/kernel/pcbe/pcbe.GenuineIntel.5 \
 111  111      target=pcbe.GenuineIntel.6
 112  112  legacy pkg=SUNWcpcu desc="CPU Performance Counter libraries and utilities" \
 113  113      name="CPU Performance Counter libraries and utilities"
 114  114  license cr_Sun license=cr_Sun
 115  115  license lic_CDDL license=lic_CDDL
 116  116  $(i386_ONLY)license usr/src/uts/intel/pcbe/THIRDPARTYLICENSE \
 117  117      license=usr/src/uts/intel/pcbe/THIRDPARTYLICENSE
 118  118  $(sparc_ONLY)license usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE \
 119  119      license=usr/src/uts/sun4u/pcbe/THIRDPARTYLICENSE
 120  120  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.23 \
 121  121      target=pcbe.GenuineIntel.6.15
 122  122  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.26 \
 123  123      target=pcbe.GenuineIntel.6.15
 124  124  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.28 \
 125  125      target=pcbe.GenuineIntel.6.15
 126  126  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.29 \
 127  127      target=pcbe.GenuineIntel.6.15
 128  128  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.30 \
 129  129      target=pcbe.GenuineIntel.6.15
 130  130  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.31 \
 131  131      target=pcbe.GenuineIntel.6.15
 132  132  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.37 \
 133  133      target=pcbe.GenuineIntel.6.15
 134  134  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.44 \
 135  135      target=pcbe.GenuineIntel.6.15
 136  136  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.46 \
 137  137      target=pcbe.GenuineIntel.6.15
 138  138  $(i386_ONLY)link path=usr/kernel/pcbe/$(ARCH64)/pcbe.GenuineIntel.6.47 \
 139  139      target=pcbe.GenuineIntel.6.15
 140  140  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.23 \
 141  141      target=pcbe.GenuineIntel.6.15
 142  142  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.26 \
 143  143      target=pcbe.GenuineIntel.6.15
 144  144  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.28 \
 145  145      target=pcbe.GenuineIntel.6.15
 146  146  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.29 \
 147  147      target=pcbe.GenuineIntel.6.15
 148  148  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.30 \
 149  149      target=pcbe.GenuineIntel.6.15
 150  150  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.31 \
 151  151      target=pcbe.GenuineIntel.6.15
 152  152  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.37 \
 153  153      target=pcbe.GenuineIntel.6.15
 154  154  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.44 \
 155  155      target=pcbe.GenuineIntel.6.15
 156  156  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.46 \
 157  157      target=pcbe.GenuineIntel.6.15
 158  158  $(i386_ONLY)link path=usr/kernel/pcbe/pcbe.GenuineIntel.6.47 \
 159  159      target=pcbe.GenuineIntel.6.15
 160  160  link path=usr/lib/$(ARCH64)/libcpc.so target=./libcpc.so.1
 161  161  link path=usr/lib/$(ARCH64)/libpctx.so target=./libpctx.so.1
 162  162  link path=usr/lib/libcpc.so target=./libcpc.so.1
 163  163  link path=usr/lib/libpctx.so target=./libpctx.so.1
 164  164  link path=usr/share/man/man3cpc/cpc_bind_cpu.3cpc target=cpc_bind_curlwp.3cpc
 165  165  link path=usr/share/man/man3cpc/cpc_bind_pctx.3cpc target=cpc_bind_curlwp.3cpc
 166  166  link path=usr/share/man/man3cpc/cpc_buf_add.3cpc target=cpc_buf_create.3cpc
 167  167  link path=usr/share/man/man3cpc/cpc_buf_copy.3cpc target=cpc_buf_create.3cpc
 168  168  link path=usr/share/man/man3cpc/cpc_buf_destroy.3cpc \
 169  169      target=cpc_buf_create.3cpc
 170  170  link path=usr/share/man/man3cpc/cpc_buf_get.3cpc target=cpc_buf_create.3cpc
 171  171  link path=usr/share/man/man3cpc/cpc_buf_hrtime.3cpc target=cpc_buf_create.3cpc
 172  172  link path=usr/share/man/man3cpc/cpc_buf_set.3cpc target=cpc_buf_create.3cpc
 173  173  link path=usr/share/man/man3cpc/cpc_buf_sub.3cpc target=cpc_buf_create.3cpc
 174  174  link path=usr/share/man/man3cpc/cpc_buf_tick.3cpc target=cpc_buf_create.3cpc
 175  175  link path=usr/share/man/man3cpc/cpc_buf_zero.3cpc target=cpc_buf_create.3cpc
 176  176  link path=usr/share/man/man3cpc/cpc_caps.3cpc target=cpc_npic.3cpc
 177  177  link path=usr/share/man/man3cpc/cpc_cciname.3cpc target=cpc_npic.3cpc
 178  178  link path=usr/share/man/man3cpc/cpc_close.3cpc target=cpc_open.3cpc
 179  179  link path=usr/share/man/man3cpc/cpc_count_sys_events.3cpc \
 180  180      target=cpc_count_usr_events.3cpc
 181  181  link path=usr/share/man/man3cpc/cpc_cpuref.3cpc target=cpc_npic.3cpc
 182  182  link path=usr/share/man/man3cpc/cpc_disable.3cpc target=cpc_enable.3cpc
 183  183  link path=usr/share/man/man3cpc/cpc_event_accum.3cpc \
 184  184      target=cpc_event_diff.3cpc
 185  185  link path=usr/share/man/man3cpc/cpc_eventtostr.3cpc target=cpc_strtoevent.3cpc
 186  186  link path=usr/share/man/man3cpc/cpc_getcciname.3cpc target=cpc_getcpuver.3cpc
 187  187  link path=usr/share/man/man3cpc/cpc_getcpuref.3cpc target=cpc_getcpuver.3cpc
 188  188  link path=usr/share/man/man3cpc/cpc_getnpic.3cpc target=cpc_getcpuver.3cpc
 189  189  link path=usr/share/man/man3cpc/cpc_getusage.3cpc target=cpc_getcpuver.3cpc
 190  190  link path=usr/share/man/man3cpc/cpc_pctx_invalidate.3cpc \
 191  191      target=cpc_pctx_bind_event.3cpc
 192  192  link path=usr/share/man/man3cpc/cpc_pctx_rele.3cpc \
 193  193      target=cpc_pctx_bind_event.3cpc
 194  194  link path=usr/share/man/man3cpc/cpc_pctx_take_sample.3cpc \
 195  195      target=cpc_pctx_bind_event.3cpc
 196  196  link path=usr/share/man/man3cpc/cpc_rele.3cpc target=cpc_bind_event.3cpc
 197  197  link path=usr/share/man/man3cpc/cpc_request_preset.3cpc \
 198  198      target=cpc_bind_curlwp.3cpc
 199  199  link path=usr/share/man/man3cpc/cpc_set_add_request.3cpc \
 200  200      target=cpc_set_create.3cpc
 201  201  link path=usr/share/man/man3cpc/cpc_set_destroy.3cpc \
 202  202      target=cpc_set_create.3cpc
 203  203  link path=usr/share/man/man3cpc/cpc_set_restart.3cpc \
 204  204      target=cpc_bind_curlwp.3cpc
 205  205  link path=usr/share/man/man3cpc/cpc_set_sample.3cpc target=cpc_buf_create.3cpc
 206  206  link path=usr/share/man/man3cpc/cpc_shared_bind_event.3cpc \
 207  207      target=cpc_shared_open.3cpc
 208  208  link path=usr/share/man/man3cpc/cpc_shared_close.3cpc \
 209  209      target=cpc_shared_open.3cpc
 210  210  link path=usr/share/man/man3cpc/cpc_shared_rele.3cpc \
 211  211      target=cpc_shared_open.3cpc
 212  212  link path=usr/share/man/man3cpc/cpc_shared_take_sample.3cpc \
 213  213      target=cpc_shared_open.3cpc
 214  214  link path=usr/share/man/man3cpc/cpc_take_sample.3cpc \
 215  215      target=cpc_bind_event.3cpc
 216  216  link path=usr/share/man/man3cpc/cpc_unbind.3cpc target=cpc_bind_curlwp.3cpc
 217  217  link path=usr/share/man/man3cpc/cpc_walk_attrs.3cpc target=cpc_npic.3cpc
 218  218  link path=usr/share/man/man3cpc/cpc_walk_events_all.3cpc target=cpc_npic.3cpc
 219  219  link path=usr/share/man/man3cpc/cpc_walk_events_pic.3cpc target=cpc_npic.3cpc
  
    | 
      ↓ open down ↓ | 
    219 lines elided | 
    
      ↑ open up ↑ | 
  
 220  220  link path=usr/share/man/man3cpc/cpc_walk_generic_events_all.3cpc \
 221  221      target=cpc_npic.3cpc
 222  222  link path=usr/share/man/man3cpc/cpc_walk_generic_events_pic.3cpc \
 223  223      target=cpc_npic.3cpc
 224  224  link path=usr/share/man/man3cpc/cpc_walk_names.3cpc target=cpc_getcpuver.3cpc
 225  225  link path=usr/share/man/man3cpc/cpc_walk_requests.3cpc \
 226  226      target=cpc_set_create.3cpc
 227  227  link path=usr/share/man/man3cpc/pctx_create.3cpc target=pctx_capture.3cpc
 228  228  link path=usr/share/man/man3cpc/pctx_release.3cpc target=pctx_capture.3cpc
 229  229  link path=usr/share/man/man3cpc/pctx_run.3cpc target=pctx_capture.3cpc
      230 +# cross zone dependency on linked image metadata
      231 +# libcpc dependency on running kernel version
      232 +depend fmri=feature/package/dependency/self type=parent \
      233 +    variant.opensolaris.zone=nonglobal
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX