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 set name=pkg.fmri value=pkg:/system/library/storage/libmpapi@$(PKGVERS)
  28 set name=pkg.description \
  29     value="Common Library based on SNIA MP API specification"
  30 set name=pkg.summary value="SNIA Multipath Management API Common Library"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:System/Libraries
  33 set name=variant.arch value=$(ARCH)
  34 dir path=etc group=sys variant.opensolaris.zone=global
  35 dir path=lib variant.opensolaris.zone=global
  36 dir path=lib/$(ARCH64) variant.opensolaris.zone=global
  37 dir path=usr group=sys
  38 dir path=usr/include
  39 dir path=usr/share/man
  40 dir path=usr/share/man/man3lib
  41 dir path=usr/share/man/man3mpapi
  42 dir path=usr/share/man/man4
  43 file path=etc/mpapi.conf original_name=SUNWmpapi:etc/mpapi.conf preserve=true
  44 file path=lib/$(ARCH64)/libMPAPI.so.1 variant.opensolaris.zone=global
  45 file path=lib/$(ARCH64)/llib-lMPAPI.ln variant.opensolaris.zone=global
  46 file path=lib/libMPAPI.so.1 variant.opensolaris.zone=global
  47 file path=lib/llib-lMPAPI variant.opensolaris.zone=global
  48 file path=lib/llib-lMPAPI.ln variant.opensolaris.zone=global
  49 file path=usr/include/mpapi-sun.h
  50 file path=usr/include/mpapi.h
  51 file path=usr/share/man/man3lib/libMPAPI.3lib
  52 file path=usr/share/man/man3mpapi/MP_AssignLogicalUnitToTPG.3mpapi
  53 file path=usr/share/man/man3mpapi/MP_CancelOverridePath.3mpapi
  54 file path=usr/share/man/man3mpapi/MP_CompareOIDs.3mpapi
  55 file path=usr/share/man/man3mpapi/MP_DeregisterForObjectPropertyChanges.3mpapi
  56 file \
  57     path=usr/share/man/man3mpapi/MP_DeregisterForObjectVisibilityChanges.3mpapi
  58 file path=usr/share/man/man3mpapi/MP_DeregisterPlugin.3mpapi
  59 file path=usr/share/man/man3mpapi/MP_DisableAutoFailback.3mpapi
  60 file path=usr/share/man/man3mpapi/MP_DisableAutoProbing.3mpapi
  61 file path=usr/share/man/man3mpapi/MP_DisablePath.3mpapi
  62 file path=usr/share/man/man3mpapi/MP_EnableAutoFailback.3mpapi
  63 file path=usr/share/man/man3mpapi/MP_EnableAutoProbing.3mpapi
  64 file path=usr/share/man/man3mpapi/MP_EnablePath.3mpapi
  65 file path=usr/share/man/man3mpapi/MP_FreeOidList.3mpapi
  66 file path=usr/share/man/man3mpapi/MP_GetAssociatedPathOidList.3mpapi
  67 file path=usr/share/man/man3mpapi/MP_GetAssociatedPluginOid.3mpapi
  68 file path=usr/share/man/man3mpapi/MP_GetAssociatedTPGOidList.3mpapi
  69 file path=usr/share/man/man3mpapi/MP_GetDeviceProductOidList.3mpapi
  70 file path=usr/share/man/man3mpapi/MP_GetDeviceProductProperties.3mpapi
  71 file path=usr/share/man/man3mpapi/MP_GetInitiatorPortOidList.3mpapi
  72 file path=usr/share/man/man3mpapi/MP_GetInitiatorPortProperties.3mpapi
  73 file path=usr/share/man/man3mpapi/MP_GetLibraryProperties.3mpapi
  74 file path=usr/share/man/man3mpapi/MP_GetMPLogicalUnitProperties.3mpapi
  75 file path=usr/share/man/man3mpapi/MP_GetMPLuOidListFromTPG.3mpapi
  76 file path=usr/share/man/man3mpapi/MP_GetMultipathLus.3mpapi
  77 file path=usr/share/man/man3mpapi/MP_GetObjectType.3mpapi
  78 file path=usr/share/man/man3mpapi/MP_GetPathLogicalUnitProperties.3mpapi
  79 file path=usr/share/man/man3mpapi/MP_GetPluginOidList.3mpapi
  80 file path=usr/share/man/man3mpapi/MP_GetPluginProperties.3mpapi
  81 file path=usr/share/man/man3mpapi/MP_GetProprietaryLoadBalanceOidList.3mpapi
  82 file \
  83     path=usr/share/man/man3mpapi/MP_GetProprietaryLoadBalanceProperties.3mpapi
  84 file path=usr/share/man/man3mpapi/MP_GetTargetPortGroupProperties.3mpapi
  85 file path=usr/share/man/man3mpapi/MP_GetTargetPortOidList.3mpapi
  86 file path=usr/share/man/man3mpapi/MP_GetTargetPortProperties.3mpapi
  87 file path=usr/share/man/man3mpapi/MP_RegisterForObjectPropertyChanges.3mpapi
  88 file path=usr/share/man/man3mpapi/MP_RegisterForObjectVisibilityChanges.3mpapi
  89 file path=usr/share/man/man3mpapi/MP_RegisterPlugin.3mpapi
  90 file path=usr/share/man/man3mpapi/MP_SetFailbackPollingRate.3mpapi
  91 file path=usr/share/man/man3mpapi/MP_SetLogicalUnitLoadBalanceType.3mpapi
  92 file path=usr/share/man/man3mpapi/MP_SetOverridePath.3mpapi
  93 file path=usr/share/man/man3mpapi/MP_SetPathWeight.3mpapi
  94 file path=usr/share/man/man3mpapi/MP_SetPluginLoadBalanceType.3mpapi
  95 file path=usr/share/man/man3mpapi/MP_SetProbingPollingRate.3mpapi
  96 file path=usr/share/man/man3mpapi/MP_SetProprietaryProperties.3mpapi
  97 file path=usr/share/man/man3mpapi/MP_SetTPGAccess.3mpapi
  98 file path=usr/share/man/man3mpapi/Sun_MP_SendScsiCmd.3mpapi
  99 file path=usr/share/man/man4/mpapi.conf.4
 100 legacy pkg=SUNWmpapi desc="Common Library based on SNIA MP API specification" \
 101     name="SNIA Multipath Management API Common Library"
 102 legacy pkg=SUNWmpapir \
 103     desc="Common Library based on SNIA MP API specification (Root)" \
 104     name="SNIA Multipath Management API Common Library (Root)"
 105 license cr_Sun license=cr_Sun
 106 license lic_CDDL license=lic_CDDL
 107 license usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE \
 108     license=usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE
 109 link path=lib/$(ARCH64)/libMPAPI.so target=libMPAPI.so.1 \
 110     variant.opensolaris.zone=global
 111 link path=lib/libMPAPI.so target=libMPAPI.so.1 variant.opensolaris.zone=global
 112 link path=usr/share/man/man3lib/libmpapi.3lib target=libMPAPI.3lib
 113 depend fmri=system/library/storage/libmpscsi_vhci type=require