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