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 set name=pkg.fmri value=pkg:/storage/stmf@$(PKGVERS)
  29 set name=pkg.description \
  30     value="Sun Common Multiprotocol SCSI Target device drivers"
  31 set name=pkg.summary value="Sun Common Multiprotocol SCSI Target"
  32 set name=info.classification \
  33     value=org.opensolaris.category.2008:System/Hardware
  34 set name=variant.arch value=$(ARCH)
  35 dir path=kernel group=sys
  36 dir path=kernel/drv group=sys
  37 dir path=kernel/drv/$(ARCH64) group=sys
  38 dir path=kernel/kmdb group=sys
  39 dir path=kernel/kmdb/$(ARCH64) group=sys
  40 dir path=lib variant.opensolaris.zone=global
  41 dir path=lib/svc variant.opensolaris.zone=global
  42 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
  43 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global
  44 dir path=lib/svc/method variant.opensolaris.zone=global
  45 dir path=usr group=sys
  46 dir path=usr/demo
  47 dir path=usr/demo/comstar
  48 dir path=usr/demo/comstar/bin
  49 dir path=usr/include
  50 dir path=usr/include/sys
  51 dir path=usr/lib
  52 $(BUILD64)dir path=usr/lib/$(ARCH64)
  53 dir path=usr/lib/mdb group=sys
  54 dir path=usr/lib/mdb/kvm group=sys
  55 $(BUILD64)dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
  56 dir path=usr/sbin
  57 dir path=usr/share/man
  58 dir path=usr/share/man/man1m
  59 dir path=usr/share/man/man3lib
  60 dir path=usr/share/man/man3stmf
  61 driver name=fct perms="* 0666 root sys"
  62 driver name=pppt perms="* 0666 root sys"
  63 driver name=qlt perms="* 0666 root sys"
  64 driver name=stmf perms="* 0666 root sys"
  65 driver name=stmf_sbd perms="* 0666 root sys"
  66 file path=kernel/drv/$(ARCH64)/fct group=sys
  67 file path=kernel/drv/$(ARCH64)/pppt group=sys
  68 file path=kernel/drv/$(ARCH64)/qlt group=sys
  69 file path=kernel/drv/$(ARCH64)/stmf group=sys
  70 file path=kernel/drv/$(ARCH64)/stmf_sbd group=sys
  71 $(i386_ONLY)file path=kernel/drv/fct group=sys
  72 file path=kernel/drv/fct.conf group=sys
  73 $(i386_ONLY)file path=kernel/drv/pppt group=sys
  74 file path=kernel/drv/pppt.conf group=sys
  75 $(i386_ONLY)file path=kernel/drv/qlt group=sys
  76 file path=kernel/drv/qlt.conf group=sys
  77 $(i386_ONLY)file path=kernel/drv/stmf group=sys
  78 file path=kernel/drv/stmf.conf group=sys
  79 $(i386_ONLY)file path=kernel/drv/stmf_sbd group=sys
  80 file path=kernel/drv/stmf_sbd.conf group=sys
  81 file path=kernel/kmdb/$(ARCH64)/stmf group=sys mode=0555
  82 file path=kernel/kmdb/$(ARCH64)/stmf_sbd group=sys mode=0555
  83 $(i386_ONLY)file path=kernel/kmdb/stmf group=sys mode=0555
  84 $(i386_ONLY)file path=kernel/kmdb/stmf_sbd group=sys mode=0555
  85 file path=lib/svc/manifest/system/stmf.xml group=sys mode=0444 \
  86     variant.opensolaris.zone=global
  87 file path=lib/svc/method/svc-stmf mode=0555 variant.opensolaris.zone=global
  88 file path=usr/demo/comstar/bin/aluaadm mode=0555
  89 file path=usr/demo/comstar/bin/svc-stmfproxy mode=0555
  90 file path=usr/demo/comstar/stmfproxy.xml mode=0444
  91 file path=usr/include/libstmf.h
  92 file path=usr/include/libstmfproxy.h
  93 file path=usr/include/sys/fct.h
  94 file path=usr/include/sys/fct_defines.h
  95 file path=usr/include/sys/fctio.h
  96 file path=usr/include/sys/lpif.h
  97 file path=usr/include/sys/portif.h
  98 file path=usr/include/sys/stmf.h
  99 file path=usr/include/sys/stmf_defines.h
 100 file path=usr/include/sys/stmf_ioctl.h
 101 $(BUILD64)file path=usr/lib/$(ARCH64)/libstmf.so.1
 102 $(BUILD64)file path=usr/lib/$(ARCH64)/libstmfproxy.so.1
 103 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-lstmf.ln
 104 file path=usr/lib/libstmf.so.1
 105 file path=usr/lib/libstmfproxy.so.1
 106 file path=usr/lib/llib-lstmf
 107 file path=usr/lib/llib-lstmf.ln
 108 $(BUILD64)file path=usr/lib/mdb/kvm/$(ARCH64)/stmf.so group=sys mode=0555
 109 $(BUILD64)file path=usr/lib/mdb/kvm/$(ARCH64)/stmf_sbd.so group=sys mode=0555
 110 $(i386_ONLY)file path=usr/lib/mdb/kvm/stmf.so group=sys mode=0555
 111 $(i386_ONLY)file path=usr/lib/mdb/kvm/stmf_sbd.so group=sys mode=0555
 112 file path=usr/sbin/sbdadm mode=0555
 113 file path=usr/sbin/stmfadm mode=0555
 114 file path=usr/share/man/man1m/sbdadm.1m
 115 file path=usr/share/man/man1m/stmfadm.1m
 116 file path=usr/share/man/man3lib/libstmf.3lib
 117 file path=usr/share/man/man3stmf/stmfAddToHostGroup.3stmf
 118 file path=usr/share/man/man3stmf/stmfAddToTargetGroup.3stmf
 119 file path=usr/share/man/man3stmf/stmfAddViewEntry.3stmf
 120 file path=usr/share/man/man3stmf/stmfClearProviderData.3stmf
 121 file path=usr/share/man/man3stmf/stmfCreateHostGroup.3stmf
 122 file path=usr/share/man/man3stmf/stmfCreateLu.3stmf
 123 file path=usr/share/man/man3stmf/stmfCreateLuResource.3stmf
 124 file path=usr/share/man/man3stmf/stmfCreateTargetGroup.3stmf
 125 file path=usr/share/man/man3stmf/stmfDeleteHostGroup.3stmf
 126 file path=usr/share/man/man3stmf/stmfDeleteLu.3stmf
 127 file path=usr/share/man/man3stmf/stmfDeleteTargetGroup.3stmf
 128 file path=usr/share/man/man3stmf/stmfDevidFromIscsiName.3stmf
 129 file path=usr/share/man/man3stmf/stmfDevidFromWwn.3stmf
 130 file path=usr/share/man/man3stmf/stmfFreeLuResource.3stmf
 131 file path=usr/share/man/man3stmf/stmfFreeMemory.3stmf
 132 file path=usr/share/man/man3stmf/stmfGetHostGroupList.3stmf
 133 file path=usr/share/man/man3stmf/stmfGetHostGroupMembers.3stmf
 134 file path=usr/share/man/man3stmf/stmfGetLogicalUnitList.3stmf
 135 file path=usr/share/man/man3stmf/stmfGetLogicalUnitProperties.3stmf
 136 file path=usr/share/man/man3stmf/stmfGetLuResource.3stmf
 137 file path=usr/share/man/man3stmf/stmfGetPersistMethod.3stmf
 138 file path=usr/share/man/man3stmf/stmfGetProviderData.3stmf
 139 file path=usr/share/man/man3stmf/stmfGetProviderDataProt.3stmf
 140 file path=usr/share/man/man3stmf/stmfGetState.3stmf
 141 file path=usr/share/man/man3stmf/stmfGetTargetGroupList.3stmf
 142 file path=usr/share/man/man3stmf/stmfGetTargetGroupMembers.3stmf
 143 file path=usr/share/man/man3stmf/stmfGetTargetList.3stmf
 144 file path=usr/share/man/man3stmf/stmfGetTargetProperties.3stmf
 145 file path=usr/share/man/man3stmf/stmfGetViewEntryList.3stmf
 146 file path=usr/share/man/man3stmf/stmfModifyLu.3stmf
 147 file path=usr/share/man/man3stmf/stmfOfflineLogicalUnit.3stmf
 148 file path=usr/share/man/man3stmf/stmfOfflineTarget.3stmf
 149 file path=usr/share/man/man3stmf/stmfOnlineLogicalUnit.3stmf
 150 file path=usr/share/man/man3stmf/stmfOnlineTarget.3stmf
 151 file path=usr/share/man/man3stmf/stmfRemoveFromHostGroup.3stmf
 152 file path=usr/share/man/man3stmf/stmfRemoveFromTargetGroup.3stmf
 153 file path=usr/share/man/man3stmf/stmfRemoveViewEntry.3stmf
 154 file path=usr/share/man/man3stmf/stmfSetLuProp.3stmf
 155 file path=usr/share/man/man3stmf/stmfSetPersistMethod.3stmf
 156 file path=usr/share/man/man3stmf/stmfSetProviderData.3stmf
 157 file path=usr/share/man/man3stmf/stmfSetProviderDataProt.3stmf
 158 legacy pkg=SUNWstmf desc="Sun Common Multiprotocol SCSI Target device drivers" \
 159     name="Sun Common Multiprotocol SCSI Target"
 160 legacy pkg=SUNWstmfu \
 161     desc="Sun Common Multiprotocol SCSI Target Libraries and Tools" \
 162     name="Sun Common Multiprotocol SCSI Target Libraries and Tools"
 163 license cr_Sun license=cr_Sun
 164 license lic_CDDL license=lic_CDDL
 165 $(BUILD64)link path=usr/lib/$(ARCH64)/libstmf.so target=libstmf.so.1
 166 $(BUILD64)link path=usr/lib/$(ARCH64)/libstmfproxy.so target=libstmfproxy.so.1
 167 link path=usr/lib/libstmf.so target=libstmf.so.1
 168 link path=usr/lib/libstmfproxy.so target=libstmfproxy.so.1
 169 link path=usr/share/man/man3stmf/stmfGetLuProp.3stmf \
 170     target=stmfSetLuProp.3stmf
 171 link path=usr/share/man/man3stmf/stmfModifyLuByFname.3stmf \
 172     target=stmfModifyLu.3stmf