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