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