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
27set name=pkg.fmri \
28    value=pkg:/system/storage/fibre-channel/port-utility@$(PKGVERS)
29set name=pkg.summary value="Fibre Channel HBA Port utility"
30set name=pkg.description value="Utility for Fibre Channel Host Bus Adapters"
31set name=info.classification value=org.opensolaris.category.2008:System/Hardware
32set name=variant.arch value=$(ARCH)
33dir  path=lib variant.opensolaris.zone=global
34dir  path=lib/svc variant.opensolaris.zone=global
35dir  path=lib/svc/manifest group=sys variant.opensolaris.zone=global
36dir  path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global
37file path=lib/svc/manifest/network/npiv_config.xml group=sys mode=0444 \
38    variant.opensolaris.zone=global
39dir  path=lib/svc/manifest/system group=sys variant.opensolaris.zone=global
40file path=lib/svc/manifest/system/fcoe_initiator.xml group=sys mode=0444 \
41    variant.opensolaris.zone=global
42file path=lib/svc/manifest/system/fcoe_target.xml group=sys mode=0444 \
43    variant.opensolaris.zone=global
44dir  path=lib/svc/method variant.opensolaris.zone=global
45file path=lib/svc/method/npivconfig mode=0555 variant.opensolaris.zone=global
46file path=lib/svc/method/svc-fcoei mode=0555 variant.opensolaris.zone=global
47file path=lib/svc/method/svc-fcoet mode=0555 variant.opensolaris.zone=global
48dir  path=usr group=sys
49dir  path=usr/sbin
50hardlink path=usr/sbin/fcadm target=../../usr/sbin/fcinfo
51file path=usr/sbin/fcinfo mode=0555
52dir  path=usr/share/man/man8
53link path=usr/share/man/man8/fcadm.8 target=fcinfo.8
54file path=usr/share/man/man8/fcinfo.8
55legacy pkg=SUNWfcprt desc="Utility for Fibre Channel Host Bus Adapters" \
56    name="Fibre Channel HBA Port utility"
57legacy pkg=SUNWfcprtr \
58    desc="NPIV Utility for Fibre Channel Host Bus Adapters (root)" \
59    name="Fibre Channel HBA Port NPIV utility (root)"
60license cr_Sun license=cr_Sun
61license lic_CDDL license=lic_CDDL
62depend type=require fmri=service/storage/fibre-channel/fc-fabric
63