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