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