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
26set name=pkg.fmri value=pkg:/network/iscsi/initiator@$(PKGVERS)
27set name=pkg.description value="Sun iSCSI Management Utilities"
28set name=pkg.summary value="Sun iSCSI Management Utilities"
29set name=info.classification \
30    value=org.opensolaris.category.2008:System/Hardware
31set name=variant.arch value=$(ARCH)
32dir path=etc group=sys variant.opensolaris.zone=global
33dir path=etc/iscsi group=sys variant.opensolaris.zone=global
34dir path=etc/security group=sys variant.opensolaris.zone=global
35dir path=kernel group=sys
36dir path=kernel/drv group=sys
37dir path=kernel/drv/$(ARCH64) group=sys
38dir path=lib variant.opensolaris.zone=global
39dir path=lib/svc variant.opensolaris.zone=global
40dir path=lib/svc/manifest group=sys variant.opensolaris.zone=global
41dir path=lib/svc/manifest/network group=sys variant.opensolaris.zone=global
42dir path=lib/svc/manifest/network/iscsi group=sys \
43    variant.opensolaris.zone=global
44dir path=lib/svc/method variant.opensolaris.zone=global
45dir path=usr group=sys
46dir path=usr/sbin
47driver name=iscsi class=scsi-self-identify perms="* 0600 root sys"
48file path=kernel/drv/$(ARCH64)/iscsi group=sys
49$(i386_ONLY)file path=kernel/drv/iscsi group=sys
50file path=kernel/drv/iscsi.conf group=sys \
51    original_name=SUNWiscsi:kernel/drv/iscsi.conf preserve=true
52file path=lib/svc/manifest/network/iscsi/iscsi-initiator.xml group=sys \
53    mode=0444 variant.opensolaris.zone=global
54file path=lib/svc/method/iscsi-initiator mode=0555 \
55    variant.opensolaris.zone=global
56file path=lib/svc/method/iscsid mode=0555 variant.opensolaris.zone=global
57file path=usr/sbin/iscsiadm mode=0555
58legacy pkg=SUNWiscsir desc="Sun iSCSI Device Driver" \
59    name="Sun iSCSI Device Driver (root)"
60legacy pkg=SUNWiscsiu desc="Sun iSCSI Management Utilities" \
61    name="Sun iSCSI Management Utilities (usr)"
62license cr_Sun license=cr_Sun
63license lic_CDDL license=lic_CDDL
64