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/remote-shared-memory@0.5.11,5.11-0.155.53
28set name=pkg.description value="Remote Shared Memory API Library, Driver"
29set name=pkg.summary value="Remote Shared Memory"
30set name=info.classification value=org.opensolaris.category.2008:System/Core
31set name=variant.arch value=i386
32dir group=sys mode=0755 owner=root path=usr
33dir group=sys mode=0755 owner=root path=usr/kernel variant.opensolaris.zone=global
34dir group=sys mode=0755 owner=root path=usr/kernel/drv variant.opensolaris.zone=global
35dir group=sys mode=0755 owner=root path=usr/kernel/drv/amd64 variant.opensolaris.zone=global
36dir group=bin mode=0755 owner=root path=usr/lib
37dir group=bin mode=0755 owner=root path=usr/lib/amd64
38dir group=bin mode=0755 owner=root path=usr/share/man
39dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3lib
40dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man3rsm
41driver name=rsm perms="* 0666 root sys"
42file NOHASH group=sys mode=0755 owner=root path=usr/kernel/drv/amd64/rsm reboot-needed=true variant.opensolaris.zone=global
43file NOHASH group=sys mode=0644 owner=root path=usr/kernel/drv/rsm.conf variant.opensolaris.zone=global
44file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/librsm.so.2
45file NOHASH group=bin mode=0755 owner=root path=usr/lib/librsm.so.2
46file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3lib/librsm.3lib
47file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_create_localmemory_handle.3rsm
48file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_get_controller.3rsm
49file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_get_interconnect_topology.3rsm
50file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_get_segmentid_range.3rsm
51file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_intr_signal_post.3rsm
52file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_intr_signal_wait_pollfd.3rsm
53file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_export_create.3rsm
54file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_export_publish.3rsm
55file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_get_pollfd.3rsm
56file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_connect.3rsm
57file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_get.3rsm
58file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_init_barrier.3rsm
59file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_map.3rsm
60file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_open_barrier.3rsm
61file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_put.3rsm
62file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_putv.3rsm
63file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man3rsm/rsm_memseg_import_set_mode.3rsm
64legacy arch=i386 category=system desc="Remote Shared Memory API Library, Driver" hotline="Please contact your local service provider" name="Remote Shared Memory" pkg=SUNWrsm vendor=Illumos version=11.11,REV=2009.11.11
65license cr_Sun license=cr_Sun
66license lic_CDDL license=lic_CDDL
67link path=usr/lib/amd64/librsm.so target=librsm.so.2
68link path=usr/lib/librsm.so target=librsm.so.2
69link facet.doc.man=true path=usr/share/man/man3rsm/rsm_free_interconnect_topology.3rsm target=rsm_get_interconnect_topology.3rsm
70link facet.doc.man=true path=usr/share/man/man3rsm/rsm_free_localmemory_handle.3rsm target=rsm_create_localmemory_handle.3rsm
71link facet.doc.man=true path=usr/share/man/man3rsm/rsm_get_controller_attr.3rsm target=rsm_get_controller.3rsm
72link facet.doc.man=true path=usr/share/man/man3rsm/rsm_intr_signal_wait.3rsm target=rsm_intr_signal_post.3rsm
73link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_export_destroy.3rsm target=rsm_memseg_export_create.3rsm
74link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_export_rebind.3rsm target=rsm_memseg_export_create.3rsm
75link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_export_republish.3rsm target=rsm_memseg_export_publish.3rsm
76link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_export_unpublish.3rsm target=rsm_memseg_export_publish.3rsm
77link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_close_barrier.3rsm target=rsm_memseg_import_open_barrier.3rsm
78link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_destroy_barrier.3rsm target=rsm_memseg_import_init_barrier.3rsm
79link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_disconnect.3rsm target=rsm_memseg_import_connect.3rsm
80link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_get16.3rsm target=rsm_memseg_import_get.3rsm
81link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_get32.3rsm target=rsm_memseg_import_get.3rsm
82link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_get64.3rsm target=rsm_memseg_import_get.3rsm
83link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_get8.3rsm target=rsm_memseg_import_get.3rsm
84link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_get_mode.3rsm target=rsm_memseg_import_set_mode.3rsm
85link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_getv.3rsm target=rsm_memseg_import_putv.3rsm
86link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_order_barrier.3rsm target=rsm_memseg_import_open_barrier.3rsm
87link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_put16.3rsm target=rsm_memseg_import_put.3rsm
88link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_put32.3rsm target=rsm_memseg_import_put.3rsm
89link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_put64.3rsm target=rsm_memseg_import_put.3rsm
90link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_put8.3rsm target=rsm_memseg_import_put.3rsm
91link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_import_unmap.3rsm target=rsm_memseg_import_map.3rsm
92link facet.doc.man=true path=usr/share/man/man3rsm/rsm_memseg_release_pollfd.3rsm target=rsm_memseg_get_pollfd.3rsm
93link facet.doc.man=true path=usr/share/man/man3rsm/rsm_release_controller.3rsm target=rsm_get_controller.3rsm
94#
95# CDDL HEADER START
96#
97# The contents of this file are subject to the terms of the
98# Common Development and Distribution License (the "License").
99# You may not use this file except in compliance with the License.
100#
101# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
102# or http://www.opensolaris.org/os/licensing.
103# See the License for the specific language governing permissions
104# and limitations under the License.
105#
106# When distributing Covered Code, include this CDDL HEADER in each
107# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
108# If applicable, add the following below this CDDL HEADER, with the
109# fields enclosed by brackets "[]" replaced with your own identifying
110# information: Portions Copyright [yyyy] [name of copyright owner]
111#
112# CDDL HEADER END
113#
114
115#
116# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
117#
118
119#
120# These actions represent settings which should appear in every package.
121#
122
123#
124# Name the consolidation this package came from.
125#
126set name=org.opensolaris.consolidation value=osnet
127
128#
129# Indicate that the package was published in a zones aware
130# fashion.
131#
132set name=variant.opensolaris.zone value=global value=nonglobal
133#
134# CDDL HEADER START
135#
136# The contents of this file are subject to the terms of the
137# Common Development and Distribution License (the "License").
138# You may not use this file except in compliance with the License.
139#
140# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
141# or http://www.opensolaris.org/os/licensing.
142# See the License for the specific language governing permissions
143# and limitations under the License.
144#
145# When distributing Covered Code, include this CDDL HEADER in each
146# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
147# If applicable, add the following below this CDDL HEADER, with the
148# fields enclosed by brackets "[]" replaced with your own identifying
149# information: Portions Copyright [yyyy] [name of copyright owner]
150#
151# CDDL HEADER END
152#
153
154#
155# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
156# Use is subject to license terms.
157#
158
159#
160# Only publish packages for the currently specified architecture
161#
162# This is somewhat nonintuitive.  In English:
163#
164#	For any action of type "set",
165#	if the "name" property matches the regex "variant.arch",
166#	and *every* occurrence of the "value" property does not match
167#		$ARCH, then don't publish it.
168#
169# ...in other words, if *any* occurrence of "value" matches i386,
170# then the negative lookahead assertion in the regex will fail, and we
171# won't abort based on the action.
172#
173
174#
175# Catch don't-publish settings from manifest-embedded transforms
176#
177#
178# CDDL HEADER START
179#
180# The contents of this file are subject to the terms of the
181# Common Development and Distribution License (the "License").
182# You may not use this file except in compliance with the License.
183#
184# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
185# or http://www.opensolaris.org/os/licensing.
186# See the License for the specific language governing permissions
187# and limitations under the License.
188#
189# When distributing Covered Code, include this CDDL HEADER in each
190# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
191# If applicable, add the following below this CDDL HEADER, with the
192# fields enclosed by brackets "[]" replaced with your own identifying
193# information: Portions Copyright [yyyy] [name of copyright owner]
194#
195# CDDL HEADER END
196#
197
198#
199# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
200#
201
202#
203# This file and its contents are supplied under the terms of the
204# Common Development and Distribution License ("CDDL"), version 1.0.
205# You may only use this file in accordance with the terms of version
206# 1.0 of the CDDL.
207#
208# A full copy of the text of the CDDL should have accompanied this
209# source.  A copy of the CDDL is also available via the Internet
210# at http://www.illumos.org/license/CDDL.
211#
212
213# Copyright 2011, Richard Lowe
214
215# Manual pages are documentation, and more specifically 'man' documentation
216#
217# CDDL HEADER START
218#
219# The contents of this file are subject to the terms of the
220# Common Development and Distribution License (the "License").
221# You may not use this file except in compliance with the License.
222#
223# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
224# or http://www.opensolaris.org/os/licensing.
225# See the License for the specific language governing permissions
226# and limitations under the License.
227#
228# When distributing Covered Code, include this CDDL HEADER in each
229# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
230# If applicable, add the following below this CDDL HEADER, with the
231# fields enclosed by brackets "[]" replaced with your own identifying
232# information: Portions Copyright [yyyy] [name of copyright owner]
233#
234# CDDL HEADER END
235#
236
237#
238# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
239# Copyright 2011, Richard Lowe
240#
241
242#
243# For kernel/drv, set .conf files to mode 0644.  Assume all other
244# files there are drivers, and give them mode 0755 and reboot-needed.
245#
246# The (?<!r) construct in the reboot-needed transform is a negative
247# lookbehind assertion: it says "only match this regex if the
248# previously matched text does NOT match regex r."  So it will match
249# all files in the various kernel trees, except for .conf files.
250#
251
252
253#
254# Non-global zones should not have content in kernel, usr/kernel (and
255# other kernel dirs) or in boot/.
256#
257
258
259#
260# shared objects should generally have mode 0755
261#
262
263#
264# Catch some of the collections of largely read-only files
265#
266
267
268#
269# For what's left, go with root:bin 0644, +x for directories
270#
271
272#
273# Default values for legacy actions
274#
275#
276# CDDL HEADER START
277#
278# The contents of this file are subject to the terms of the
279# Common Development and Distribution License (the "License").
280# You may not use this file except in compliance with the License.
281#
282# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
283# or http://www.opensolaris.org/os/licensing.
284# See the License for the specific language governing permissions
285# and limitations under the License.
286#
287# When distributing Covered Code, include this CDDL HEADER in each
288# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
289# If applicable, add the following below this CDDL HEADER, with the
290# fields enclosed by brackets "[]" replaced with your own identifying
291# information: Portions Copyright [yyyy] [name of copyright owner]
292#
293# CDDL HEADER END
294#
295
296#
297# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
298#
299
300#
301# Pull out the license paths for staging in the proto area.  Ignore
302# those with no path separators, as that indicates a file kept in
303# $SRC/pkg/license_files, rather than alongside the associated source.
304#
305
306#
307# Ordering is important here, and the last line wins.
308#
309# The default of "current" is provided by the calling environment,
310# rather than a print operation.
311#
312depend fmri=consolidation/osnet/osnet-incorporation type=require
313depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib pkg.debug.depend.path=usr/lib pkg.debug.depend.path=usr/platform/i86hvm/lib/rsmlib pkg.debug.depend.path=usr/platform/i86pc/lib/rsmlib pkg.debug.depend.path=usr/platform/i86xpv/lib/rsmlib pkg.debug.depend.reason=usr/lib/librsm.so.2 pkg.debug.depend.type=elf type=require
314depend fmri=__TBD pkg.debug.depend.file=libc.so.1 pkg.debug.depend.path=lib/64 pkg.debug.depend.path=usr/lib/64 pkg.debug.depend.path=usr/platform/i86hvm/lib/rsmlib/amd64 pkg.debug.depend.path=usr/platform/i86pc/lib/rsmlib/amd64 pkg.debug.depend.path=usr/platform/i86xpv/lib/rsmlib/amd64 pkg.debug.depend.reason=usr/lib/amd64/librsm.so.2 pkg.debug.depend.type=elf type=require
315depend fmri=__TBD pkg.debug.depend.file=rsmops pkg.debug.depend.path=kernel/misc/amd64 pkg.debug.depend.path=platform/i86hvm/kernel/misc/amd64 pkg.debug.depend.path=platform/i86pc/kernel/misc/amd64 pkg.debug.depend.path=platform/i86xpv/kernel/misc/amd64 pkg.debug.depend.path=usr/kernel/misc/amd64 pkg.debug.depend.reason=usr/kernel/drv/amd64/rsm pkg.debug.depend.type=elf type=require variant.opensolaris.zone=global
316