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:/storage/stmf@0.5.11,5.11-0.155.53
28set name=pkg.description value="Sun Common Multiprotocol SCSI Target device drivers"
29set name=pkg.summary value="Sun Common Multiprotocol SCSI Target"
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=sys mode=0755 owner=root path=kernel/kmdb variant.opensolaris.zone=global
36dir group=sys mode=0755 owner=root path=kernel/kmdb/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/system variant.opensolaris.zone=global
41dir group=bin mode=0755 owner=root path=lib/svc/method variant.opensolaris.zone=global
42dir group=sys mode=0755 owner=root path=usr
43dir group=bin mode=0755 owner=root path=usr/demo
44dir group=bin mode=0755 owner=root path=usr/demo/comstar
45dir group=bin mode=0755 owner=root path=usr/demo/comstar/bin
46dir group=bin mode=0755 owner=root path=usr/include
47dir group=bin mode=0755 owner=root path=usr/include/sys
48dir group=bin mode=0755 owner=root path=usr/lib
49dir group=bin mode=0755 owner=root path=usr/lib/amd64
50dir group=sys mode=0755 owner=root path=usr/lib/mdb
51dir group=sys mode=0755 owner=root path=usr/lib/mdb/kvm
52dir group=sys mode=0755 owner=root path=usr/lib/mdb/kvm/amd64
53dir group=bin mode=0755 owner=root path=usr/sbin
54dir group=bin mode=0755 owner=root path=usr/share/man
55dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m
56dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3lib
57dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3stmf
58driver name=fct perms="* 0666 root sys"
59driver name=pppt perms="* 0666 root sys"
60driver name=qlt perms="* 0666 root sys"
61driver name=stmf perms="* 0666 root sys"
62driver name=stmf_sbd perms="* 0666 root sys"
63file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/fct reboot-needed=true variant.opensolaris.zone=global
64file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/pppt reboot-needed=true variant.opensolaris.zone=global
65file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/qlt reboot-needed=true variant.opensolaris.zone=global
66file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/stmf reboot-needed=true variant.opensolaris.zone=global
67file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/stmf_sbd reboot-needed=true variant.opensolaris.zone=global
68file NOHASH group=sys mode=0644 owner=root path=kernel/drv/fct.conf variant.opensolaris.zone=global
69file NOHASH group=sys mode=0644 owner=root path=kernel/drv/pppt.conf variant.opensolaris.zone=global
70file NOHASH group=sys mode=0644 owner=root path=kernel/drv/qlt.conf variant.opensolaris.zone=global
71file NOHASH group=sys mode=0644 owner=root path=kernel/drv/stmf.conf variant.opensolaris.zone=global
72file NOHASH group=sys mode=0644 owner=root path=kernel/drv/stmf_sbd.conf variant.opensolaris.zone=global
73file NOHASH group=sys mode=0555 owner=root path=kernel/kmdb/amd64/stmf reboot-needed=true variant.opensolaris.zone=global
74file NOHASH group=sys mode=0555 owner=root path=kernel/kmdb/amd64/stmf_sbd reboot-needed=true variant.opensolaris.zone=global
75file NOHASH group=sys mode=0444 owner=root path=lib/svc/manifest/system/stmf.xml restart_fmri=svc:/system/manifest-import:default variant.opensolaris.zone=global
76file NOHASH group=bin mode=0555 owner=root path=lib/svc/method/svc-stmf variant.opensolaris.zone=global
77file NOHASH group=bin mode=0555 owner=root path=usr/demo/comstar/bin/aluaadm
78file NOHASH group=bin mode=0555 owner=root path=usr/demo/comstar/bin/svc-stmfproxy
79file NOHASH group=bin mode=0444 owner=root path=usr/demo/comstar/stmfproxy.xml
80file NOHASH group=bin mode=0644 owner=root path=usr/include/libstmf.h
81file NOHASH group=bin mode=0644 owner=root path=usr/include/libstmfproxy.h
82file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/fct.h
83file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/fct_defines.h
84file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/fctio.h
85file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/lpif.h
86file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/portif.h
87file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/stmf.h
88file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/stmf_defines.h
89file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/stmf_ioctl.h
90file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/libstmf.so.1
91file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/libstmfproxy.so.1
92file NOHASH group=bin mode=0644 owner=root path=usr/lib/amd64/llib-lstmf.ln
93file NOHASH group=bin mode=0755 owner=root path=usr/lib/libstmf.so.1
94file NOHASH group=bin mode=0755 owner=root path=usr/lib/libstmfproxy.so.1
95file NOHASH group=bin mode=0644 owner=root path=usr/lib/llib-lstmf
96file NOHASH group=bin mode=0644 owner=root path=usr/lib/llib-lstmf.ln
97file NOHASH group=sys mode=0555 owner=root path=usr/lib/mdb/kvm/amd64/stmf.so
98file NOHASH group=sys mode=0555 owner=root path=usr/lib/mdb/kvm/amd64/stmf_sbd.so
99file NOHASH group=bin mode=0555 owner=root path=usr/sbin/sbdadm
100file NOHASH group=bin mode=0555 owner=root path=usr/sbin/stmfadm
101file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/sbdadm.1m
102file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/stmfadm.1m
103file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3lib/libstmf.3lib
104file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfAddToHostGroup.3stmf
105file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfAddToTargetGroup.3stmf
106file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfAddViewEntry.3stmf
107file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfClearProviderData.3stmf
108file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfCreateHostGroup.3stmf
109file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfCreateLu.3stmf
110file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfCreateLuResource.3stmf
111file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfCreateTargetGroup.3stmf
112file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfDeleteHostGroup.3stmf
113file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfDeleteLu.3stmf
114file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfDeleteTargetGroup.3stmf
115file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfDevidFromIscsiName.3stmf
116file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfDevidFromWwn.3stmf
117file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfFreeLuResource.3stmf
118file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfFreeMemory.3stmf
119file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetHostGroupList.3stmf
120file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetHostGroupMembers.3stmf
121file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetLogicalUnitList.3stmf
122file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetLogicalUnitProperties.3stmf
123file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetLuResource.3stmf
124file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetPersistMethod.3stmf
125file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetProviderData.3stmf
126file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetProviderDataProt.3stmf
127file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetState.3stmf
128file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetTargetGroupList.3stmf
129file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetTargetGroupMembers.3stmf
130file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetTargetList.3stmf
131file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetTargetProperties.3stmf
132file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfGetViewEntryList.3stmf
133file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfModifyLu.3stmf
134file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfOfflineLogicalUnit.3stmf
135file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfOfflineTarget.3stmf
136file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfOnlineLogicalUnit.3stmf
137file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfOnlineTarget.3stmf
138file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfRemoveFromHostGroup.3stmf
139file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfRemoveFromTargetGroup.3stmf
140file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfRemoveViewEntry.3stmf
141file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfSetLuProp.3stmf
142file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfSetPersistMethod.3stmf
143file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfSetProviderData.3stmf
144file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3stmf/stmfSetProviderDataProt.3stmf
145legacy arch=i386 category=system desc="Sun Common Multiprotocol SCSI Target device drivers" hotline="Please contact your local service provider" name="Sun Common Multiprotocol SCSI Target" pkg=SUNWstmf vendor=Illumos version=11.11,REV=2009.11.11
146legacy arch=i386 category=system desc="Sun Common Multiprotocol SCSI Target Libraries and Tools" hotline="Please contact your local service provider" name="Sun Common Multiprotocol SCSI Target Libraries and Tools" pkg=SUNWstmfu vendor=Illumos version=11.11,REV=2009.11.11
147license cr_Sun license=cr_Sun
148license lic_CDDL license=lic_CDDL
149link path=usr/lib/amd64/libstmf.so target=libstmf.so.1
150link path=usr/lib/amd64/libstmfproxy.so target=libstmfproxy.so.1
151link path=usr/lib/libstmf.so target=libstmf.so.1
152link path=usr/lib/libstmfproxy.so target=libstmfproxy.so.1
153link facet.doc.man=true path=usr/share/man/man3stmf/stmfGetLuProp.3stmf target=stmfSetLuProp.3stmf
154link facet.doc.man=true path=usr/share/man/man3stmf/stmfModifyLuByFname.3stmf target=stmfModifyLu.3stmf
155#
156# CDDL HEADER START
157#
158# The contents of this file are subject to the terms of the
159# Common Development and Distribution License (the "License").
160# You may not use this file except in compliance with the License.
161#
162# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
163# or http://www.opensolaris.org/os/licensing.
164# See the License for the specific language governing permissions
165# and limitations under the License.
166#
167# When distributing Covered Code, include this CDDL HEADER in each
168# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
169# If applicable, add the following below this CDDL HEADER, with the
170# fields enclosed by brackets "[]" replaced with your own identifying
171# information: Portions Copyright [yyyy] [name of copyright owner]
172#
173# CDDL HEADER END
174#
175
176#
177# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
178#
179
180#
181# These actions represent settings which should appear in every package.
182#
183
184#
185# Name the consolidation this package came from.
186#
187set name=org.opensolaris.consolidation value=osnet
188
189#
190# Indicate that the package was published in a zones aware
191# fashion.
192#
193set name=variant.opensolaris.zone value=global value=nonglobal
194#
195# CDDL HEADER START
196#
197# The contents of this file are subject to the terms of the
198# Common Development and Distribution License (the "License").
199# You may not use this file except in compliance with the License.
200#
201# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
202# or http://www.opensolaris.org/os/licensing.
203# See the License for the specific language governing permissions
204# and limitations under the License.
205#
206# When distributing Covered Code, include this CDDL HEADER in each
207# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
208# If applicable, add the following below this CDDL HEADER, with the
209# fields enclosed by brackets "[]" replaced with your own identifying
210# information: Portions Copyright [yyyy] [name of copyright owner]
211#
212# CDDL HEADER END
213#
214
215#
216# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
217# Use is subject to license terms.
218#
219
220#
221# Only publish packages for the currently specified architecture
222#
223# This is somewhat nonintuitive.  In English:
224#
225#	For any action of type "set",
226#	if the "name" property matches the regex "variant.arch",
227#	and *every* occurrence of the "value" property does not match
228#		$ARCH, then don't publish it.
229#
230# ...in other words, if *any* occurrence of "value" matches i386,
231# then the negative lookahead assertion in the regex will fail, and we
232# won't abort based on the action.
233#
234
235#
236# Catch don't-publish settings from manifest-embedded transforms
237#
238#
239# CDDL HEADER START
240#
241# The contents of this file are subject to the terms of the
242# Common Development and Distribution License (the "License").
243# You may not use this file except in compliance with the License.
244#
245# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246# or http://www.opensolaris.org/os/licensing.
247# See the License for the specific language governing permissions
248# and limitations under the License.
249#
250# When distributing Covered Code, include this CDDL HEADER in each
251# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
252# If applicable, add the following below this CDDL HEADER, with the
253# fields enclosed by brackets "[]" replaced with your own identifying
254# information: Portions Copyright [yyyy] [name of copyright owner]
255#
256# CDDL HEADER END
257#
258
259#
260# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
261#
262
263#
264# This file and its contents are supplied under the terms of the
265# Common Development and Distribution License ("CDDL"), version 1.0.
266# You may only use this file in accordance with the terms of version
267# 1.0 of the CDDL.
268#
269# A full copy of the text of the CDDL should have accompanied this
270# source.  A copy of the CDDL is also available via the Internet
271# at http://www.illumos.org/license/CDDL.
272#
273
274# Copyright 2011, Richard Lowe
275
276# Manual pages are documentation, and more specifically 'man' documentation
277#
278# CDDL HEADER START
279#
280# The contents of this file are subject to the terms of the
281# Common Development and Distribution License (the "License").
282# You may not use this file except in compliance with the License.
283#
284# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
285# or http://www.opensolaris.org/os/licensing.
286# See the License for the specific language governing permissions
287# and limitations under the License.
288#
289# When distributing Covered Code, include this CDDL HEADER in each
290# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
291# If applicable, add the following below this CDDL HEADER, with the
292# fields enclosed by brackets "[]" replaced with your own identifying
293# information: Portions Copyright [yyyy] [name of copyright owner]
294#
295# CDDL HEADER END
296#
297
298#
299# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
300# Copyright 2011, Richard Lowe
301#
302
303#
304# For kernel/drv, set .conf files to mode 0644.  Assume all other
305# files there are drivers, and give them mode 0755 and reboot-needed.
306#
307# The (?<!r) construct in the reboot-needed transform is a negative
308# lookbehind assertion: it says "only match this regex if the
309# previously matched text does NOT match regex r."  So it will match
310# all files in the various kernel trees, except for .conf files.
311#
312
313
314#
315# Non-global zones should not have content in kernel, usr/kernel (and
316# other kernel dirs) or in boot/.
317#
318
319
320#
321# shared objects should generally have mode 0755
322#
323
324#
325# Catch some of the collections of largely read-only files
326#
327
328
329#
330# For what's left, go with root:bin 0644, +x for directories
331#
332
333#
334# Default values for legacy actions
335#
336#
337# CDDL HEADER START
338#
339# The contents of this file are subject to the terms of the
340# Common Development and Distribution License (the "License").
341# You may not use this file except in compliance with the License.
342#
343# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
344# or http://www.opensolaris.org/os/licensing.
345# See the License for the specific language governing permissions
346# and limitations under the License.
347#
348# When distributing Covered Code, include this CDDL HEADER in each
349# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
350# If applicable, add the following below this CDDL HEADER, with the
351# fields enclosed by brackets "[]" replaced with your own identifying
352# information: Portions Copyright [yyyy] [name of copyright owner]
353#
354# CDDL HEADER END
355#
356
357#
358# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
359#
360
361#
362# Pull out the license paths for staging in the proto area.  Ignore
363# those with no path separators, as that indicates a file kept in
364# $SRC/pkg/license_files, rather than alongside the associated source.
365#
366
367#
368# Ordering is important here, and the last line wins.
369#
370# The default of "current" is provided by the calling environment,
371# rather than a print operation.
372#
373set name=org.opensolaris.smf.fmri value=svc:/system/stmf value=svc:/system/stmf:default
374depend fmri=consolidation/osnet/osnet-incorporation type=require
375depend fmri=pkg:/SUNWcs@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
376depend fmri=pkg:/system/file-system/zfs@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
377depend fmri=pkg:/system/kernel@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
378depend fmri=pkg:/system/library/math@0.5.11-0.155.53 type=require
379depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
380#
381# This file and its contents are supplied under the terms of the
382# Common Development and Distribution License ("CDDL"). You may
383# only use this file in accordance with the terms of the CDDL.
384#
385# A full copy of the text of the CDDL should have accompanied this
386# source. A copy of the CDDL is also available via the Internet at
387# http://www.illumos.org/license/CDDL.
388#
389
390#
391# Copyright 2019 Alexander Pyhalov
392# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
393#
394
395#
396# These transforms drop the information that we don't want to appear
397# in final package versions.
398#
399
400# Drop pkg.depend.bypass-generate attributes
401
402# Drop pkg.depend.runpath attributes
403
404# Remove pkg debug information
405
406