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