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