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@0.5.11,5.11-0.155.53
27set name=pkg.description value="Sun iSCSI Management Utilities"
28set name=pkg.summary value="Sun iSCSI Management Utilities"
29set name=info.classification value=org.opensolaris.category.2008:System/Hardware
30set name=variant.arch value=i386
31dir group=sys mode=0755 owner=root path=etc variant.opensolaris.zone=global
32dir group=sys mode=0755 owner=root path=etc/iscsi variant.opensolaris.zone=global
33dir group=sys mode=0755 owner=root path=etc/security variant.opensolaris.zone=global
34dir group=sys mode=0755 owner=root path=kernel variant.opensolaris.zone=global
35dir group=sys mode=0755 owner=root path=kernel/drv variant.opensolaris.zone=global
36dir group=sys mode=0755 owner=root path=kernel/drv/amd64 variant.opensolaris.zone=global
37dir group=bin mode=0755 owner=root path=lib variant.opensolaris.zone=global
38dir group=bin mode=0755 owner=root path=lib/svc variant.opensolaris.zone=global
39dir group=sys mode=0755 owner=root path=lib/svc/manifest variant.opensolaris.zone=global
40dir group=sys mode=0755 owner=root path=lib/svc/manifest/network variant.opensolaris.zone=global
41dir group=sys mode=0755 owner=root path=lib/svc/manifest/network/iscsi variant.opensolaris.zone=global
42dir group=bin mode=0755 owner=root path=lib/svc/method variant.opensolaris.zone=global
43dir group=sys mode=0755 owner=root path=usr
44dir group=bin mode=0755 owner=root path=usr/sbin
45dir group=bin mode=0755 owner=root path=usr/share/man
46dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m
47dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man7d
48driver class=scsi-self-identify name=iscsi perms="* 0600 root sys"
49file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/iscsi reboot-needed=true variant.opensolaris.zone=global
50file NOHASH group=sys mode=0644 original_name=SUNWiscsi:kernel/drv/iscsi.conf owner=root path=kernel/drv/iscsi.conf preserve=true variant.opensolaris.zone=global
51file NOHASH group=sys mode=0444 owner=root path=lib/svc/manifest/network/iscsi/iscsi-initiator.xml restart_fmri=svc:/system/manifest-import:default variant.opensolaris.zone=global
52file NOHASH group=bin mode=0555 owner=root path=lib/svc/method/iscsi-initiator variant.opensolaris.zone=global
53file NOHASH group=bin mode=0555 owner=root path=lib/svc/method/iscsid variant.opensolaris.zone=global
54file NOHASH group=bin mode=0555 owner=root path=usr/sbin/iscsiadm
55file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/iscsiadm.1m
56file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man7d/iscsi.7d
57legacy arch=i386 category=system desc="Sun iSCSI Device Driver" hotline="Please contact your local service provider" name="Sun iSCSI Device Driver (root)" pkg=SUNWiscsir vendor=Illumos version=11.11,REV=2009.11.11
58legacy arch=i386 category=system desc="Sun iSCSI Management Utilities" hotline="Please contact your local service provider" name="Sun iSCSI Management Utilities (usr)" pkg=SUNWiscsiu vendor=Illumos version=11.11,REV=2009.11.11
59license cr_Sun license=cr_Sun
60license lic_CDDL license=lic_CDDL
61#
62# CDDL HEADER START
63#
64# The contents of this file are subject to the terms of the
65# Common Development and Distribution License (the "License").
66# You may not use this file except in compliance with the License.
67#
68# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
69# or http://www.opensolaris.org/os/licensing.
70# See the License for the specific language governing permissions
71# and limitations under the License.
72#
73# When distributing Covered Code, include this CDDL HEADER in each
74# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
75# If applicable, add the following below this CDDL HEADER, with the
76# fields enclosed by brackets "[]" replaced with your own identifying
77# information: Portions Copyright [yyyy] [name of copyright owner]
78#
79# CDDL HEADER END
80#
81
82#
83# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
84#
85
86#
87# These actions represent settings which should appear in every package.
88#
89
90#
91# Name the consolidation this package came from.
92#
93set name=org.opensolaris.consolidation value=osnet
94
95#
96# Indicate that the package was published in a zones aware
97# fashion.
98#
99set name=variant.opensolaris.zone value=global value=nonglobal
100#
101# CDDL HEADER START
102#
103# The contents of this file are subject to the terms of the
104# Common Development and Distribution License (the "License").
105# You may not use this file except in compliance with the License.
106#
107# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
108# or http://www.opensolaris.org/os/licensing.
109# See the License for the specific language governing permissions
110# and limitations under the License.
111#
112# When distributing Covered Code, include this CDDL HEADER in each
113# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
114# If applicable, add the following below this CDDL HEADER, with the
115# fields enclosed by brackets "[]" replaced with your own identifying
116# information: Portions Copyright [yyyy] [name of copyright owner]
117#
118# CDDL HEADER END
119#
120
121#
122# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
123# Use is subject to license terms.
124#
125
126#
127# Only publish packages for the currently specified architecture
128#
129# This is somewhat nonintuitive.  In English:
130#
131#	For any action of type "set",
132#	if the "name" property matches the regex "variant.arch",
133#	and *every* occurrence of the "value" property does not match
134#		$ARCH, then don't publish it.
135#
136# ...in other words, if *any* occurrence of "value" matches i386,
137# then the negative lookahead assertion in the regex will fail, and we
138# won't abort based on the action.
139#
140
141#
142# Catch don't-publish settings from manifest-embedded transforms
143#
144#
145# CDDL HEADER START
146#
147# The contents of this file are subject to the terms of the
148# Common Development and Distribution License (the "License").
149# You may not use this file except in compliance with the License.
150#
151# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
152# or http://www.opensolaris.org/os/licensing.
153# See the License for the specific language governing permissions
154# and limitations under the License.
155#
156# When distributing Covered Code, include this CDDL HEADER in each
157# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
158# If applicable, add the following below this CDDL HEADER, with the
159# fields enclosed by brackets "[]" replaced with your own identifying
160# information: Portions Copyright [yyyy] [name of copyright owner]
161#
162# CDDL HEADER END
163#
164
165#
166# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
167#
168
169#
170# This file and its contents are supplied under the terms of the
171# Common Development and Distribution License ("CDDL"), version 1.0.
172# You may only use this file in accordance with the terms of version
173# 1.0 of the CDDL.
174#
175# A full copy of the text of the CDDL should have accompanied this
176# source.  A copy of the CDDL is also available via the Internet
177# at http://www.illumos.org/license/CDDL.
178#
179
180# Copyright 2011, Richard Lowe
181
182# Manual pages are documentation, and more specifically 'man' documentation
183#
184# CDDL HEADER START
185#
186# The contents of this file are subject to the terms of the
187# Common Development and Distribution License (the "License").
188# You may not use this file except in compliance with the License.
189#
190# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
191# or http://www.opensolaris.org/os/licensing.
192# See the License for the specific language governing permissions
193# and limitations under the License.
194#
195# When distributing Covered Code, include this CDDL HEADER in each
196# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
197# If applicable, add the following below this CDDL HEADER, with the
198# fields enclosed by brackets "[]" replaced with your own identifying
199# information: Portions Copyright [yyyy] [name of copyright owner]
200#
201# CDDL HEADER END
202#
203
204#
205# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
206# Copyright 2011, Richard Lowe
207#
208
209#
210# For kernel/drv, set .conf files to mode 0644.  Assume all other
211# files there are drivers, and give them mode 0755 and reboot-needed.
212#
213# The (?<!r) construct in the reboot-needed transform is a negative
214# lookbehind assertion: it says "only match this regex if the
215# previously matched text does NOT match regex r."  So it will match
216# all files in the various kernel trees, except for .conf files.
217#
218
219
220#
221# Non-global zones should not have content in kernel, usr/kernel (and
222# other kernel dirs) or in boot/.
223#
224
225
226#
227# shared objects should generally have mode 0755
228#
229
230#
231# Catch some of the collections of largely read-only files
232#
233
234
235#
236# For what's left, go with root:bin 0644, +x for directories
237#
238
239#
240# Default values for legacy actions
241#
242#
243# CDDL HEADER START
244#
245# The contents of this file are subject to the terms of the
246# Common Development and Distribution License (the "License").
247# You may not use this file except in compliance with the License.
248#
249# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
250# or http://www.opensolaris.org/os/licensing.
251# See the License for the specific language governing permissions
252# and limitations under the License.
253#
254# When distributing Covered Code, include this CDDL HEADER in each
255# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
256# If applicable, add the following below this CDDL HEADER, with the
257# fields enclosed by brackets "[]" replaced with your own identifying
258# information: Portions Copyright [yyyy] [name of copyright owner]
259#
260# CDDL HEADER END
261#
262
263#
264# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
265#
266
267#
268# Pull out the license paths for staging in the proto area.  Ignore
269# those with no path separators, as that indicates a file kept in
270# $SRC/pkg/license_files, rather than alongside the associated source.
271#
272
273#
274# Ordering is important here, and the last line wins.
275#
276# The default of "current" is provided by the calling environment,
277# rather than a print operation.
278#
279depend fmri=consolidation/osnet/osnet-incorporation type=require
280depend fmri=__TBD pkg.debug.depend.file=doorfs pkg.debug.depend.path=kernel/sys/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/sys/amd64 pkg.debug.depend.path=platform/i86pc/kernel/sys/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/sys/amd64 pkg.debug.depend.path=usr/kernel/sys/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
281depend fmri=__TBD pkg.debug.depend.file=idm pkg.debug.depend.path=kernel/misc/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/misc/amd64 pkg.debug.depend.path=platform/i86pc/kernel/misc/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/misc/amd64 pkg.debug.depend.path=usr/kernel/misc/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
282depend fmri=__TBD pkg.debug.depend.file=ksocket pkg.debug.depend.path=kernel/misc/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/misc/amd64 pkg.debug.depend.path=platform/i86pc/kernel/misc/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/misc/amd64 pkg.debug.depend.path=usr/kernel/misc/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
283depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=lib/svc/method/iscsid pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
284depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/sbin/iscsiadm pkg.debug.depend.type=elf type=require
285depend fmri=__TBD pkg.debug.depend.file=libdevinfo.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/sbin/iscsiadm pkg.debug.depend.type=elf type=require
286depend fmri=__TBD pkg.debug.depend.file=libima.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/sbin/iscsiadm pkg.debug.depend.type=elf type=require
287depend fmri=__TBD pkg.debug.depend.file=libnsl.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=lib/svc/method/iscsid pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
288depend fmri=__TBD pkg.debug.depend.file=libnsl.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.reason=usr/sbin/iscsiadm pkg.debug.depend.type=elf type=require
289depend fmri=__TBD pkg.debug.depend.file=md5 pkg.debug.depend.path=kernel/misc/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/misc/amd64 pkg.debug.depend.path=platform/i86pc/kernel/misc/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/misc/amd64 pkg.debug.depend.path=usr/kernel/misc/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
290depend fmri=__TBD pkg.debug.depend.file=network-service.xml pkg.debug.depend.path=lib/svc/manifest/network pkg.debug.depend.reason=lib/svc/manifest/network/iscsi/iscsi-initiator.xml pkg.debug.depend.type=smf_manifest type=require variant.opensolaris.zone=global
291depend fmri=__TBD pkg.debug.depend.file=scsi pkg.debug.depend.path=kernel/misc/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/misc/amd64 pkg.debug.depend.path=platform/i86pc/kernel/misc/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/misc/amd64 pkg.debug.depend.path=usr/kernel/misc/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
292depend fmri=__TBD pkg.debug.depend.file=sh pkg.debug.depend.path=sbin pkg.debug.depend.reason=lib/svc/method/iscsi-initiator pkg.debug.depend.type=script type=require variant.opensolaris.zone=global
293depend fmri=__TBD pkg.debug.depend.file=sockfs pkg.debug.depend.path=kernel/fs/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/fs/amd64 pkg.debug.depend.path=platform/i86pc/kernel/fs/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/fs/amd64 pkg.debug.depend.path=usr/kernel/fs/amd64 pkg.debug.depend.reason=kernel/drv/amd64/iscsi pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
294set name=org.opensolaris.smf.fmri value=svc:/network/iscsi/initiator value=svc:/network/iscsi/initiator:default
295