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