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 
  27 #
  28 # The default for payload-bearing actions in this package is to appear in the
  29 # global zone only.  See the include file for greater detail, as well as
  30 # information about overriding the defaults.
  31 #
  32 <include global_zone_only_component>
  33 set name=pkg.fmri value=pkg:/system/storage/sasinfo@$(PKGVERS)
  34 set name=pkg.description \
  35     value="T11 Storage Management HBA API Libraries and CLI"
  36 set name=pkg.summary value="SM-HBA Libraries and CLI"
  37 set name=info.classification \
  38     value=org.opensolaris.category.2008:System/Libraries
  39 set name=variant.arch value=$(ARCH)
  40 dir path=etc group=sys
  41 dir path=usr group=sys
  42 dir path=usr/include
  43 dir path=usr/lib
  44 dir path=usr/lib/$(ARCH64)
  45 dir path=usr/sbin
  46 dir path=usr/share/man
  47 dir path=usr/share/man/man1m
  48 dir path=usr/share/man/man3lib
  49 dir path=usr/share/man/man4
  50 file path=etc/smhba.conf group=sys original_name=SUNWsmhba:etc/smhba.conf \
  51     preserve=true
  52 file path=usr/include/smhbaapi.h
  53 file path=usr/lib/$(ARCH64)/libSMHBAAPI.so.1
  54 file path=usr/lib/$(ARCH64)/libsun_sas.so.1
  55 file path=usr/lib/$(ARCH64)/llib-lSMHBAAPI.ln
  56 file path=usr/lib/libSMHBAAPI.so.1
  57 file path=usr/lib/libsun_sas.so.1
  58 file path=usr/lib/llib-lSMHBAAPI
  59 file path=usr/lib/llib-lSMHBAAPI.ln
  60 file path=usr/sbin/sasinfo mode=0555
  61 file path=usr/share/man/man1m/sasinfo.1m
  62 file path=usr/share/man/man3lib/libSMHBAAPI.3lib
  63 file path=usr/share/man/man4/smhba.conf.4
  64 legacy pkg=SUNWsmhba desc="T11 Storage Management HBA API Libraries and CLI" \
  65     name="SM-HBA Libraries and CLI"
  66 legacy pkg=SUNWsmhbar \
  67     desc="T11 Storage Management HBA API Libraries and CLI (root)" \
  68     name="SM-HBA Libraries and CLI (root)"
  69 license cr_Sun license=cr_Sun
  70 license lic_CDDL license=lic_CDDL
  71 license usr/src/lib/smhba/THIRDPARTYLICENSE \
  72     license=usr/src/lib/smhba/THIRDPARTYLICENSE
  73 link path=usr/lib/$(ARCH64)/libSMHBAAPI.so target=libSMHBAAPI.so.1
  74 link path=usr/lib/$(ARCH64)/libsun_sas.so target=libsun_sas.so.1
  75 link path=usr/lib/libSMHBAAPI.so target=libSMHBAAPI.so.1
  76 link path=usr/lib/libsun_sas.so target=libsun_sas.so.1
  77 link path=usr/share/man/man3lib/SMHBA_GetAdapterAttributes.3lib \
  78     target=libSMHBAAPI.3lib
  79 link path=usr/share/man/man3lib/SMHBA_GetAdapterPortAttributes.3lib \
  80     target=libSMHBAAPI.3lib
  81 link path=usr/share/man/man3lib/SMHBA_GetBindingCapability.3lib \
  82     target=libSMHBAAPI.3lib
  83 link path=usr/share/man/man3lib/SMHBA_GetBindingSupport.3lib \
  84     target=libSMHBAAPI.3lib
  85 link path=usr/share/man/man3lib/SMHBA_GetDiscoveredPortAttributes.3lib \
  86     target=libSMHBAAPI.3lib
  87 link path=usr/share/man/man3lib/SMHBA_GetFCPhyAttributes.3lib \
  88     target=libSMHBAAPI.3lib
  89 link path=usr/share/man/man3lib/SMHBA_GetLUNStatistics.3lib \
  90     target=libSMHBAAPI.3lib
  91 link path=usr/share/man/man3lib/SMHBA_GetNumberofPorts.3lib \
  92     target=libSMHBAAPI.3lib
  93 link path=usr/share/man/man3lib/SMHBA_GetPersistentBinding.3lib \
  94     target=libSMHBAAPI.3lib
  95 link path=usr/share/man/man3lib/SMHBA_GetPhyStatistics.3lib \
  96     target=libSMHBAAPI.3lib
  97 link path=usr/share/man/man3lib/SMHBA_GetPortAttributesByWWN.3lib \
  98     target=libSMHBAAPI.3lib
  99 link path=usr/share/man/man3lib/SMHBA_GetPortType.3lib target=libSMHBAAPI.3lib
 100 link path=usr/share/man/man3lib/SMHBA_GetProtocolStatistics.3lib \
 101     target=libSMHBAAPI.3lib
 102 link path=usr/share/man/man3lib/SMHBA_GetSASPhyAttributes.3lib \
 103     target=libSMHBAAPI.3lib
 104 link path=usr/share/man/man3lib/SMHBA_GetTargetMapping.3lib \
 105     target=libSMHBAAPI.3lib
 106 link path=usr/share/man/man3lib/SMHBA_GetVendorLibraryAttributes.3lib \
 107     target=libSMHBAAPI.3lib
 108 link path=usr/share/man/man3lib/SMHBA_GetVersion.3lib target=libSMHBAAPI.3lib
 109 link path=usr/share/man/man3lib/SMHBA_GetWrapperLibraryAttributes.3lib \
 110     target=libSMHBAAPI.3lib
 111 link path=usr/share/man/man3lib/SMHBA_RegisterForAdapterAddEvents.3lib \
 112     target=libSMHBAAPI.3lib
 113 link path=usr/share/man/man3lib/SMHBA_RegisterForAdapterEvents.3lib \
 114     target=libSMHBAAPI.3lib
 115 link path=usr/share/man/man3lib/SMHBA_RegisterForAdapterPhyStatEvents.3lib \
 116     target=libSMHBAAPI.3lib
 117 link path=usr/share/man/man3lib/SMHBA_RegisterForAdapterPortEvents.3lib \
 118     target=libSMHBAAPI.3lib
 119 link path=usr/share/man/man3lib/SMHBA_RegisterForAdapterPortStatEvents.3lib \
 120     target=libSMHBAAPI.3lib
 121 link path=usr/share/man/man3lib/SMHBA_RegisterForTargetEvents.3lib \
 122     target=libSMHBAAPI.3lib
 123 link path=usr/share/man/man3lib/SMHBA_RegisterLibrary.3lib \
 124     target=libSMHBAAPI.3lib
 125 link path=usr/share/man/man3lib/SMHBA_RemoveAllPersistentBindings.3lib \
 126     target=libSMHBAAPI.3lib
 127 link path=usr/share/man/man3lib/SMHBA_RemovePersistentBinding.3lib \
 128     target=libSMHBAAPI.3lib
 129 link path=usr/share/man/man3lib/SMHBA_ScsiInquiry.3lib target=libSMHBAAPI.3lib
 130 link path=usr/share/man/man3lib/SMHBA_ScsiReadCapacity.3lib \
 131     target=libSMHBAAPI.3lib
 132 link path=usr/share/man/man3lib/SMHBA_ScsiReportLuns.3lib \
 133     target=libSMHBAAPI.3lib
 134 link path=usr/share/man/man3lib/SMHBA_SendECHO.3lib target=libSMHBAAPI.3lib
 135 link path=usr/share/man/man3lib/SMHBA_SendSMPPassThru.3lib \
 136     target=libSMHBAAPI.3lib
 137 link path=usr/share/man/man3lib/SMHBA_SendTEST.3lib target=libSMHBAAPI.3lib
 138 link path=usr/share/man/man3lib/SMHBA_SetBindingSupport.3lib \
 139     target=libSMHBAAPI.3lib
 140 link path=usr/share/man/man3lib/SMHBA_SetPersistentBinding.3lib \
 141     target=libSMHBAAPI.3lib
 142 link path=usr/share/man/man3lib/libsmhbaapi.3lib target=libSMHBAAPI.3lib