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
104#
105# CDDL HEADER START
106#
107# The contents of this file are subject to the terms of the
108# Common Development and Distribution License (the "License").
109# You may not use this file except in compliance with the License.
110#
111# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
112# or http://www.opensolaris.org/os/licensing.
113# See the License for the specific language governing permissions
114# and limitations under the License.
115#
116# When distributing Covered Code, include this CDDL HEADER in each
117# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
118# If applicable, add the following below this CDDL HEADER, with the
119# fields enclosed by brackets "[]" replaced with your own identifying
120# information: Portions Copyright [yyyy] [name of copyright owner]
121#
122# CDDL HEADER END
123#
124
125#
126# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
127#
128
129#
130# These actions represent settings which should appear in every package.
131#
132
133#
134# Name the consolidation this package came from.
135#
136set name=org.opensolaris.consolidation value=osnet
137
138#
139# Indicate that the package was published in a zones aware
140# fashion.
141#
142set name=variant.opensolaris.zone value=global value=nonglobal
143#
144# CDDL HEADER START
145#
146# The contents of this file are subject to the terms of the
147# Common Development and Distribution License (the "License").
148# You may not use this file except in compliance with the License.
149#
150# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
151# or http://www.opensolaris.org/os/licensing.
152# See the License for the specific language governing permissions
153# and limitations under the License.
154#
155# When distributing Covered Code, include this CDDL HEADER in each
156# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157# If applicable, add the following below this CDDL HEADER, with the
158# fields enclosed by brackets "[]" replaced with your own identifying
159# information: Portions Copyright [yyyy] [name of copyright owner]
160#
161# CDDL HEADER END
162#
163
164#
165# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
166# Use is subject to license terms.
167#
168
169#
170# Only publish packages for the currently specified architecture
171#
172# This is somewhat nonintuitive.  In English:
173#
174#	For any action of type "set",
175#	if the "name" property matches the regex "variant.arch",
176#	and *every* occurrence of the "value" property does not match
177#		$ARCH, then don't publish it.
178#
179# ...in other words, if *any* occurrence of "value" matches i386,
180# then the negative lookahead assertion in the regex will fail, and we
181# won't abort based on the action.
182#
183
184#
185# Catch don't-publish settings from manifest-embedded transforms
186#
187#
188# CDDL HEADER START
189#
190# The contents of this file are subject to the terms of the
191# Common Development and Distribution License (the "License").
192# You may not use this file except in compliance with the License.
193#
194# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
195# or http://www.opensolaris.org/os/licensing.
196# See the License for the specific language governing permissions
197# and limitations under the License.
198#
199# When distributing Covered Code, include this CDDL HEADER in each
200# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
201# If applicable, add the following below this CDDL HEADER, with the
202# fields enclosed by brackets "[]" replaced with your own identifying
203# information: Portions Copyright [yyyy] [name of copyright owner]
204#
205# CDDL HEADER END
206#
207
208#
209# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
210#
211
212#
213# This file and its contents are supplied under the terms of the
214# Common Development and Distribution License ("CDDL"), version 1.0.
215# You may only use this file in accordance with the terms of version
216# 1.0 of the CDDL.
217#
218# A full copy of the text of the CDDL should have accompanied this
219# source.  A copy of the CDDL is also available via the Internet
220# at http://www.illumos.org/license/CDDL.
221#
222
223# Copyright 2011, Richard Lowe
224
225# Manual pages are documentation, and more specifically 'man' documentation
226#
227# CDDL HEADER START
228#
229# The contents of this file are subject to the terms of the
230# Common Development and Distribution License (the "License").
231# You may not use this file except in compliance with the License.
232#
233# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234# or http://www.opensolaris.org/os/licensing.
235# See the License for the specific language governing permissions
236# and limitations under the License.
237#
238# When distributing Covered Code, include this CDDL HEADER in each
239# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
240# If applicable, add the following below this CDDL HEADER, with the
241# fields enclosed by brackets "[]" replaced with your own identifying
242# information: Portions Copyright [yyyy] [name of copyright owner]
243#
244# CDDL HEADER END
245#
246
247#
248# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
249# Copyright 2011, Richard Lowe
250#
251
252#
253# For kernel/drv, set .conf files to mode 0644.  Assume all other
254# files there are drivers, and give them mode 0755 and reboot-needed.
255#
256# The (?<!r) construct in the reboot-needed transform is a negative
257# lookbehind assertion: it says "only match this regex if the
258# previously matched text does NOT match regex r."  So it will match
259# all files in the various kernel trees, except for .conf files.
260#
261
262
263#
264# Non-global zones should not have content in kernel, usr/kernel (and
265# other kernel dirs) or in boot/.
266#
267
268
269#
270# shared objects should generally have mode 0755
271#
272
273#
274# Catch some of the collections of largely read-only files
275#
276
277
278#
279# For what's left, go with root:bin 0644, +x for directories
280#
281
282#
283# Default values for legacy actions
284#
285#
286# CDDL HEADER START
287#
288# The contents of this file are subject to the terms of the
289# Common Development and Distribution License (the "License").
290# You may not use this file except in compliance with the License.
291#
292# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
293# or http://www.opensolaris.org/os/licensing.
294# See the License for the specific language governing permissions
295# and limitations under the License.
296#
297# When distributing Covered Code, include this CDDL HEADER in each
298# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
299# If applicable, add the following below this CDDL HEADER, with the
300# fields enclosed by brackets "[]" replaced with your own identifying
301# information: Portions Copyright [yyyy] [name of copyright owner]
302#
303# CDDL HEADER END
304#
305
306#
307# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
308#
309
310#
311# Pull out the license paths for staging in the proto area.  Ignore
312# those with no path separators, as that indicates a file kept in
313# $SRC/pkg/license_files, rather than alongside the associated source.
314#
315
316#
317# Ordering is important here, and the last line wins.
318#
319# The default of "current" is provided by the calling environment,
320# rather than a print operation.
321#
322depend fmri=consolidation/osnet/osnet-incorporation type=require
323depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
324depend fmri=system/library/storage/libmpscsi_vhci type=require
325