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 2014 Andrew Stormont.
  25 #
  26 
  27 #
  28 # The default for payload-bearing actions in this package is to appear in the
  29 # global zone only.  See the include file for greater detail, as well as
  30 # information about overriding the defaults.
  31 #
  32 <include global_zone_only_component>
  33 set name=pkg.fmri value=pkg:/network/iscsi/iser@$(PKGVERS)
  34 set name=pkg.description value="Sun iSCSI Data Mover"
  35 set name=pkg.summary value="Sun iSCSI Data Mover"
  36 set name=info.classification \
  37     value=org.opensolaris.category.2008:System/Hardware
  38 set name=variant.arch value=$(ARCH)
  39 dir path=kernel group=sys
  40 dir path=kernel/drv group=sys
  41 dir path=kernel/drv/$(ARCH64) group=sys
  42 dir path=kernel/kmdb group=sys
  43 dir path=kernel/kmdb/$(ARCH64) group=sys
  44 dir path=kernel/misc group=sys
  45 dir path=kernel/misc/$(ARCH64) group=sys
  46 dir path=usr group=sys
  47 dir path=usr/lib
  48 dir path=usr/lib/mdb group=sys
  49 dir path=usr/lib/mdb/kvm group=sys
  50 $(BUILD64)dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
  51 dir path=usr/share/man
  52 dir path=usr/share/man/man7d
  53 driver name=iser perms="* 0600 root sys"
  54 file path=kernel/drv/$(ARCH64)/iser group=sys
  55 $(i386_ONLY)file path=kernel/drv/iser group=sys
  56 file path=kernel/drv/iser.conf group=sys
  57 file path=kernel/kmdb/$(ARCH64)/idm group=sys mode=0555
  58 $(i386_ONLY)file path=kernel/kmdb/idm group=sys mode=0555
  59 file path=kernel/misc/$(ARCH64)/idm group=sys mode=0755
  60 $(i386_ONLY)file path=kernel/misc/idm group=sys mode=0755
  61 $(BUILD64)file path=usr/lib/mdb/kvm/$(ARCH64)/idm.so group=sys mode=0555
  62 $(i386_ONLY)file path=usr/lib/mdb/kvm/idm.so group=sys mode=0555
  63 file path=usr/share/man/man7d/iser.7d
  64 legacy pkg=SUNWiscsidmr desc="Sun iSCSI Data Mover (Root)" \
  65     name="Sun iSCSI Data Mover (Root)"
  66 legacy pkg=SUNWiscsidmu desc="Sun iSCSI Data Mover (Usr)" \
  67     name="Sun iSCSI Data Mover (Usr)"
  68 license cr_Sun license=cr_Sun
  69 license lic_CDDL license=lic_CDDL