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 #
  25 
  26 set name=pkg.fmri \
  27     value=pkg:/service/storage/fibre-channel/fc-fabric@$(PKGVERS)
  28 set name=pkg.description value="Provides the fp plug-in library of libcfgadm."
  29 set name=pkg.summary value="fp cfgadm plug-in library"
  30 set name=info.classification \
  31     value=org.opensolaris.category.2008:System/Libraries
  32 set name=variant.arch value=$(ARCH)
  33 dir path=lib variant.opensolaris.zone=global
  34 dir path=lib/svc variant.opensolaris.zone=global
  35 dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
  36 dir path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global
  37 dir path=lib/svc/manifest/system/device group=sys \
  38     variant.opensolaris.zone=global
  39 dir path=lib/svc/method variant.opensolaris.zone=global
  40 dir path=usr group=sys
  41 dir path=usr/lib
  42 dir path=usr/lib/cfgadm
  43 dir path=usr/lib/cfgadm/$(ARCH64)
  44 file path=lib/svc/manifest/system/device/devices-fc-fabric.xml group=sys \
  45     mode=0444 variant.opensolaris.zone=global
  46 file path=lib/svc/method/fc-fabric mode=0555 variant.opensolaris.zone=global
  47 file path=usr/lib/cfgadm/$(ARCH64)/fp.so.1
  48 file path=usr/lib/cfgadm/fp.so.1
  49 legacy pkg=SUNWcfpl desc="Provides the fp plug-in library of libcfgadm." \
  50     name="fp cfgadm plug-in library"
  51 legacy pkg=SUNWcfplr \
  52     desc="Provides support for fp plug-in library of libcfgadm." \
  53     name="fp cfgadm plug-in library (root)"
  54 license cr_Sun license=cr_Sun
  55 license lic_CDDL license=lic_CDDL
  56 link path=usr/lib/cfgadm/$(ARCH64)/fp.so target=fp.so.1
  57 link path=usr/lib/cfgadm/fp.so target=fp.so.1
  58 depend fmri=system/storage/luxadm type=require