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:/network/iscsi/target@$(PKGVERS)
  29 set name=pkg.description value="Sun iSCSI COMSTAR Port Provider"
  30 set name=pkg.summary value="Sun iSCSI COMSTAR Port Provider"
  31 set name=info.classification \
  32     value=org.opensolaris.category.2008:System/Hardware
  33 set name=variant.arch value=$(ARCH)
  34 dir path=kernel group=sys
  35 dir path=kernel/drv group=sys
  36 dir path=kernel/drv/$(ARCH64) group=sys
  37 dir path=lib variant.opensolaris.zone=global
  38 dir path=lib/svc variant.opensolaris.zone=global
  39 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
  40 dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global
  41 dir path=lib/svc/manifest/network/iscsi group=sys \
  42     variant.opensolaris.zone=global
  43 dir path=lib/svc/method variant.opensolaris.zone=global
  44 dir path=usr group=sys
  45 dir path=usr/include
  46 dir path=usr/include/sys
  47 dir path=usr/include/sys/iscsit
  48 dir path=usr/lib
  49 $(BUILD64)dir path=usr/lib/$(ARCH64)
  50 dir path=usr/sbin
  51 dir path=usr/share/man/man1m
  52 dir path=usr/share/man/man3iscsit
  53 dir path=usr/share/man/man3lib
  54 driver name=iscsit perms="* 0600 root sys"
  55 file path=kernel/drv/$(ARCH64)/iscsit group=sys
  56 $(i386_ONLY)file path=kernel/drv/iscsit group=sys
  57 file path=kernel/drv/iscsit.conf group=sys
  58 file path=lib/svc/manifest/network/iscsi/iscsi-target.xml group=sys mode=0444 \
  59     variant.opensolaris.zone=global
  60 file path=lib/svc/method/iscsi-target mode=0555 \
  61     variant.opensolaris.zone=global
  62 file path=usr/include/libiscsit.h
  63 file path=usr/include/sys/iscsit/iscsit_common.h
  64 $(BUILD64)file path=usr/lib/$(ARCH64)/libiscsit.so.1
  65 $(BUILD64)file path=usr/lib/$(ARCH64)/llib-liscsit.ln
  66 file path=usr/lib/libiscsit.so.1
  67 file path=usr/lib/llib-liscsit
  68 file path=usr/lib/llib-liscsit.ln
  69 file path=usr/sbin/itadm mode=0555
  70 file path=usr/share/man/man1m/itadm.1m
  71 file path=usr/share/man/man3iscsit/it_config_load.3iscsit
  72 file path=usr/share/man/man3iscsit/it_ini_create.3iscsit
  73 file path=usr/share/man/man3iscsit/it_portal_create.3iscsit
  74 file path=usr/share/man/man3iscsit/it_tgt_create.3iscsit
  75 file path=usr/share/man/man3iscsit/it_tpg_create.3iscsit
  76 file path=usr/share/man/man3lib/libiscsit.3lib
  77 legacy pkg=SUNWiscsitr desc="Sun iSCSI COMSTAR Port Provider" \
  78     name="Sun iSCSI COMSTAR Port Provider (root)"
  79 legacy pkg=SUNWiscsitu desc="Sun iSCSI COMSTAR Port Provider" \
  80     name="Sun iSCSI COMSTAR Port Provider"
  81 license cr_Sun license=cr_Sun
  82 license lic_CDDL license=lic_CDDL
  83 $(BUILD64)link path=usr/lib/$(ARCH64)/libiscsit.so target=libiscsit.so.1
  84 link path=usr/lib/libiscsit.so target=libiscsit.so.1
  85 link path=usr/share/man/man3iscsit/it_config_commit.3iscsit \
  86     target=it_config_load.3iscsit
  87 link path=usr/share/man/man3iscsit/it_config_free.3iscsit \
  88     target=it_config_load.3iscsit
  89 link path=usr/share/man/man3iscsit/it_config_setprop.3iscsit \
  90     target=it_config_load.3iscsit
  91 link path=usr/share/man/man3iscsit/it_ini_delete.3iscsit \
  92     target=it_ini_create.3iscsit
  93 link path=usr/share/man/man3iscsit/it_ini_free.3iscsit \
  94     target=it_ini_create.3iscsit
  95 link path=usr/share/man/man3iscsit/it_ini_setprop.3iscsit \
  96     target=it_ini_create.3iscsit
  97 link path=usr/share/man/man3iscsit/it_portal_delete.3iscsit \
  98     target=it_portal_create.3iscsit
  99 link path=usr/share/man/man3iscsit/it_tgt_delete.3iscsit \
 100     target=it_tgt_create.3iscsit
 101 link path=usr/share/man/man3iscsit/it_tgt_free.3iscsit \
 102     target=it_tgt_create.3iscsit
 103 link path=usr/share/man/man3iscsit/it_tgt_setprop.3iscsit \
 104     target=it_tgt_create.3iscsit
 105 link path=usr/share/man/man3iscsit/it_tpg_delete.3iscsit \
 106     target=it_tpg_create.3iscsit
 107 link path=usr/share/man/man3iscsit/it_tpg_free.3iscsit \
 108     target=it_tpg_create.3iscsit
 109 link path=usr/share/man/man3iscsit/it_tpgt_create.3iscsit \
 110     target=it_tgt_create.3iscsit
 111 link path=usr/share/man/man3iscsit/it_tpgt_delete.3iscsit \
 112     target=it_tgt_create.3iscsit
 113 link path=usr/share/man/man3iscsit/it_tpgt_free.3iscsit \
 114     target=it_tgt_create.3iscsit