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:/system/library/storage/libmpapi@0.5.11,5.11-0.155.53
28set name=pkg.description value="Common Library based on SNIA MP API specification"
29set name=pkg.summary value="SNIA Multipath Management API Common Library"
30set name=info.classification value=org.opensolaris.category.2008:System/Libraries
31set name=variant.arch value=i386
32dir group=sys mode=0755 owner=root path=etc variant.opensolaris.zone=global
33dir group=bin mode=0755 owner=root path=lib variant.opensolaris.zone=global
34dir group=bin mode=0755 owner=root path=lib/amd64 variant.opensolaris.zone=global
35dir group=sys mode=0755 owner=root path=usr
36dir group=bin mode=0755 owner=root path=usr/include
37dir group=bin mode=0755 owner=root path=usr/share/man
38dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3lib
39dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3mpapi
40dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man4
41file NOHASH group=bin mode=0644 original_name=SUNWmpapi:etc/mpapi.conf owner=root path=etc/mpapi.conf preserve=true
42file NOHASH group=bin mode=0755 owner=root path=lib/amd64/libMPAPI.so.1 variant.opensolaris.zone=global
43file NOHASH group=bin mode=0644 owner=root path=lib/amd64/llib-lMPAPI.ln variant.opensolaris.zone=global
44file NOHASH group=bin mode=0755 owner=root path=lib/libMPAPI.so.1 variant.opensolaris.zone=global
45file NOHASH group=bin mode=0644 owner=root path=lib/llib-lMPAPI variant.opensolaris.zone=global
46file NOHASH group=bin mode=0644 owner=root path=lib/llib-lMPAPI.ln variant.opensolaris.zone=global
47file NOHASH group=bin mode=0644 owner=root path=usr/include/mpapi-sun.h
48file NOHASH group=bin mode=0644 owner=root path=usr/include/mpapi.h
49file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3lib/libMPAPI.3lib
50file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_AssignLogicalUnitToTPG.3mpapi
51file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_CancelOverridePath.3mpapi
52file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_CompareOIDs.3mpapi
53file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DeregisterForObjectPropertyChanges.3mpapi
54file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DeregisterForObjectVisibilityChanges.3mpapi
55file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DeregisterPlugin.3mpapi
56file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DisableAutoFailback.3mpapi
57file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DisableAutoProbing.3mpapi
58file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_DisablePath.3mpapi
59file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_EnableAutoFailback.3mpapi
60file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_EnableAutoProbing.3mpapi
61file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_EnablePath.3mpapi
62file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_FreeOidList.3mpapi
63file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetAssociatedPathOidList.3mpapi
64file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetAssociatedPluginOid.3mpapi
65file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetAssociatedTPGOidList.3mpapi
66file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetDeviceProductOidList.3mpapi
67file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetDeviceProductProperties.3mpapi
68file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetInitiatorPortOidList.3mpapi
69file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetInitiatorPortProperties.3mpapi
70file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetLibraryProperties.3mpapi
71file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetMPLogicalUnitProperties.3mpapi
72file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetMPLuOidListFromTPG.3mpapi
73file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetMultipathLus.3mpapi
74file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetObjectType.3mpapi
75file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetPathLogicalUnitProperties.3mpapi
76file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetPluginOidList.3mpapi
77file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetPluginProperties.3mpapi
78file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetProprietaryLoadBalanceOidList.3mpapi
79file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetProprietaryLoadBalanceProperties.3mpapi
80file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetTargetPortGroupProperties.3mpapi
81file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetTargetPortOidList.3mpapi
82file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_GetTargetPortProperties.3mpapi
83file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_RegisterForObjectPropertyChanges.3mpapi
84file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_RegisterForObjectVisibilityChanges.3mpapi
85file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_RegisterPlugin.3mpapi
86file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetFailbackPollingRate.3mpapi
87file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetLogicalUnitLoadBalanceType.3mpapi
88file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetOverridePath.3mpapi
89file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetPathWeight.3mpapi
90file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetPluginLoadBalanceType.3mpapi
91file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetProbingPollingRate.3mpapi
92file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetProprietaryProperties.3mpapi
93file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/MP_SetTPGAccess.3mpapi
94file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3mpapi/Sun_MP_SendScsiCmd.3mpapi
95file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man4/mpapi.conf.4
96legacy arch=i386 category=system desc="Common Library based on SNIA MP API specification" hotline="Please contact your local service provider" name="SNIA Multipath Management API Common Library" pkg=SUNWmpapi vendor=Illumos version=11.11,REV=2009.11.11
97legacy arch=i386 category=system desc="Common Library based on SNIA MP API specification (Root)" hotline="Please contact your local service provider" name="SNIA Multipath Management API Common Library (Root)" pkg=SUNWmpapir vendor=Illumos version=11.11,REV=2009.11.11
98license cr_Sun license=cr_Sun
99license lic_CDDL license=lic_CDDL
100license usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE license=usr/src/lib/mpapi/libmpapi/THIRDPARTYLICENSE
101link path=lib/amd64/libMPAPI.so target=libMPAPI.so.1 variant.opensolaris.zone=global
102link path=lib/libMPAPI.so target=libMPAPI.so.1 variant.opensolaris.zone=global
103link facet.doc.man=true path=usr/share/man/man3lib/libmpapi.3lib target=libMPAPI.3lib
104depend fmri=system/library/storage/libmpscsi_vhci type=require
105#
106# CDDL HEADER START
107#
108# The contents of this file are subject to the terms of the
109# Common Development and Distribution License (the "License").
110# You may not use this file except in compliance with the License.
111#
112# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
113# or http://www.opensolaris.org/os/licensing.
114# See the License for the specific language governing permissions
115# and limitations under the License.
116#
117# When distributing Covered Code, include this CDDL HEADER in each
118# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
119# If applicable, add the following below this CDDL HEADER, with the
120# fields enclosed by brackets "[]" replaced with your own identifying
121# information: Portions Copyright [yyyy] [name of copyright owner]
122#
123# CDDL HEADER END
124#
125
126#
127# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
128#
129
130#
131# These actions represent settings which should appear in every package.
132#
133
134#
135# Name the consolidation this package came from.
136#
137set name=org.opensolaris.consolidation value=osnet
138
139#
140# Indicate that the package was published in a zones aware
141# fashion.
142#
143set name=variant.opensolaris.zone value=global value=nonglobal
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 2010 Sun Microsystems, Inc.  All rights reserved.
167# Use is subject to license terms.
168#
169
170#
171# Only publish packages for the currently specified architecture
172#
173# This is somewhat nonintuitive.  In English:
174#
175#	For any action of type "set",
176#	if the "name" property matches the regex "variant.arch",
177#	and *every* occurrence of the "value" property does not match
178#		$ARCH, then don't publish it.
179#
180# ...in other words, if *any* occurrence of "value" matches i386,
181# then the negative lookahead assertion in the regex will fail, and we
182# won't abort based on the action.
183#
184
185#
186# Catch don't-publish settings from manifest-embedded transforms
187#
188#
189# CDDL HEADER START
190#
191# The contents of this file are subject to the terms of the
192# Common Development and Distribution License (the "License").
193# You may not use this file except in compliance with the License.
194#
195# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
196# or http://www.opensolaris.org/os/licensing.
197# See the License for the specific language governing permissions
198# and limitations under the License.
199#
200# When distributing Covered Code, include this CDDL HEADER in each
201# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
202# If applicable, add the following below this CDDL HEADER, with the
203# fields enclosed by brackets "[]" replaced with your own identifying
204# information: Portions Copyright [yyyy] [name of copyright owner]
205#
206# CDDL HEADER END
207#
208
209#
210# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
211#
212
213#
214# This file and its contents are supplied under the terms of the
215# Common Development and Distribution License ("CDDL"), version 1.0.
216# You may only use this file in accordance with the terms of version
217# 1.0 of the CDDL.
218#
219# A full copy of the text of the CDDL should have accompanied this
220# source.  A copy of the CDDL is also available via the Internet
221# at http://www.illumos.org/license/CDDL.
222#
223
224# Copyright 2011, Richard Lowe
225
226# Manual pages are documentation, and more specifically 'man' documentation
227#
228# CDDL HEADER START
229#
230# The contents of this file are subject to the terms of the
231# Common Development and Distribution License (the "License").
232# You may not use this file except in compliance with the License.
233#
234# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
235# or http://www.opensolaris.org/os/licensing.
236# See the License for the specific language governing permissions
237# and limitations under the License.
238#
239# When distributing Covered Code, include this CDDL HEADER in each
240# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
241# If applicable, add the following below this CDDL HEADER, with the
242# fields enclosed by brackets "[]" replaced with your own identifying
243# information: Portions Copyright [yyyy] [name of copyright owner]
244#
245# CDDL HEADER END
246#
247
248#
249# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
250# Copyright 2011, Richard Lowe
251#
252
253#
254# For kernel/drv, set .conf files to mode 0644.  Assume all other
255# files there are drivers, and give them mode 0755 and reboot-needed.
256#
257# The (?<!r) construct in the reboot-needed transform is a negative
258# lookbehind assertion: it says "only match this regex if the
259# previously matched text does NOT match regex r."  So it will match
260# all files in the various kernel trees, except for .conf files.
261#
262
263
264#
265# Non-global zones should not have content in kernel, usr/kernel (and
266# other kernel dirs) or in boot/.
267#
268
269
270#
271# shared objects should generally have mode 0755
272#
273
274#
275# Catch some of the collections of largely read-only files
276#
277
278
279#
280# For what's left, go with root:bin 0644, +x for directories
281#
282
283#
284# Default values for legacy actions
285#
286#
287# CDDL HEADER START
288#
289# The contents of this file are subject to the terms of the
290# Common Development and Distribution License (the "License").
291# You may not use this file except in compliance with the License.
292#
293# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
294# or http://www.opensolaris.org/os/licensing.
295# See the License for the specific language governing permissions
296# and limitations under the License.
297#
298# When distributing Covered Code, include this CDDL HEADER in each
299# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
300# If applicable, add the following below this CDDL HEADER, with the
301# fields enclosed by brackets "[]" replaced with your own identifying
302# information: Portions Copyright [yyyy] [name of copyright owner]
303#
304# CDDL HEADER END
305#
306
307#
308# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
309#
310
311#
312# Pull out the license paths for staging in the proto area.  Ignore
313# those with no path separators, as that indicates a file kept in
314# $SRC/pkg/license_files, rather than alongside the associated source.
315#
316
317#
318# Ordering is important here, and the last line wins.
319#
320# The default of "current" is provided by the calling environment,
321# rather than a print operation.
322#
323depend fmri=consolidation/osnet/osnet-incorporation type=require
324