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