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