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