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#
13# Copyright (c) 2013  by Delphix. All rights reserved.
14#
15
16set name=pkg.fmri value=pkg:/network/ipd@0.5.11,5.11-0.155.53
17set name=pkg.description value="Internet Packet Disturber"
18set name=pkg.summary value="Internet Packet Disturber"
19set name=info.classification value=org.opensolaris.category.2008:System/Hardware
20set name=variant.arch value=i386
21dir group=sys mode=0755 owner=root path=kernel variant.opensolaris.zone=global
22dir group=sys mode=0755 owner=root path=kernel/drv variant.opensolaris.zone=global
23dir group=sys mode=0755 owner=root path=kernel/drv/amd64 variant.opensolaris.zone=global
24dir group=sys mode=0755 owner=root path=usr
25dir group=bin mode=0755 owner=root path=usr/lib
26dir group=bin mode=0755 owner=root path=usr/lib/amd64
27dir group=bin mode=0755 owner=root path=usr/sbin
28dir facet.doc.man=true group=bin mode=0755 owner=root path=usr/share/man/man1m
29driver name=ipd perms="* 0600 root sys"
30file NOHASH group=sys mode=0755 owner=root path=kernel/drv/amd64/ipd reboot-needed=true variant.opensolaris.zone=global
31file NOHASH group=sys mode=0644 owner=root path=kernel/drv/ipd.conf variant.opensolaris.zone=global
32file NOHASH group=bin mode=0644 owner=root path=usr/include/libipd.h
33file NOHASH group=bin mode=0644 owner=root path=usr/include/sys/ipd.h
34file NOHASH group=bin mode=0755 owner=root path=usr/lib/amd64/libipd.so.1
35file NOHASH group=bin mode=0644 owner=root path=usr/lib/amd64/llib-lipd.ln
36file NOHASH group=bin mode=0755 owner=root path=usr/lib/libipd.so.1
37file NOHASH group=bin mode=0644 owner=root path=usr/lib/llib-lipd
38file NOHASH group=bin mode=0644 owner=root path=usr/lib/llib-lipd.ln
39file NOHASH group=bin mode=0555 owner=root path=usr/sbin/ipdadm
40file NOHASH facet.doc.man=true group=bin mode=0444 owner=root path=usr/share/man/man1m/ipdadm.1m
41license cr_Sun license=cr_Sun
42license lic_CDDL license=lic_CDDL
43link path=usr/lib/amd64/libipd.so target=libipd.so.1
44link path=usr/lib/libipd.so target=libipd.so.1
45#
46# CDDL HEADER START
47#
48# The contents of this file are subject to the terms of the
49# Common Development and Distribution License (the "License").
50# You may not use this file except in compliance with the License.
51#
52# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
53# or http://www.opensolaris.org/os/licensing.
54# See the License for the specific language governing permissions
55# and limitations under the License.
56#
57# When distributing Covered Code, include this CDDL HEADER in each
58# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
59# If applicable, add the following below this CDDL HEADER, with the
60# fields enclosed by brackets "[]" replaced with your own identifying
61# information: Portions Copyright [yyyy] [name of copyright owner]
62#
63# CDDL HEADER END
64#
65
66#
67# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
68#
69
70#
71# These actions represent settings which should appear in every package.
72#
73
74#
75# Name the consolidation this package came from.
76#
77set name=org.opensolaris.consolidation value=osnet
78
79#
80# Indicate that the package was published in a zones aware
81# fashion.
82#
83set name=variant.opensolaris.zone value=global value=nonglobal
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 2010 Sun Microsystems, Inc.  All rights reserved.
107# Use is subject to license terms.
108#
109
110#
111# Only publish packages for the currently specified architecture
112#
113# This is somewhat nonintuitive.  In English:
114#
115#	For any action of type "set",
116#	if the "name" property matches the regex "variant.arch",
117#	and *every* occurrence of the "value" property does not match
118#		$ARCH, then don't publish it.
119#
120# ...in other words, if *any* occurrence of "value" matches i386,
121# then the negative lookahead assertion in the regex will fail, and we
122# won't abort based on the action.
123#
124
125#
126# Catch don't-publish settings from manifest-embedded transforms
127#
128#
129# CDDL HEADER START
130#
131# The contents of this file are subject to the terms of the
132# Common Development and Distribution License (the "License").
133# You may not use this file except in compliance with the License.
134#
135# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
136# or http://www.opensolaris.org/os/licensing.
137# See the License for the specific language governing permissions
138# and limitations under the License.
139#
140# When distributing Covered Code, include this CDDL HEADER in each
141# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
142# If applicable, add the following below this CDDL HEADER, with the
143# fields enclosed by brackets "[]" replaced with your own identifying
144# information: Portions Copyright [yyyy] [name of copyright owner]
145#
146# CDDL HEADER END
147#
148
149#
150# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
151#
152
153#
154# This file and its contents are supplied under the terms of the
155# Common Development and Distribution License ("CDDL"), version 1.0.
156# You may only use this file in accordance with the terms of version
157# 1.0 of the CDDL.
158#
159# A full copy of the text of the CDDL should have accompanied this
160# source.  A copy of the CDDL is also available via the Internet
161# at http://www.illumos.org/license/CDDL.
162#
163
164# Copyright 2011, Richard Lowe
165
166# Manual pages are documentation, and more specifically 'man' documentation
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# Copyright 2011, Richard Lowe
191#
192
193#
194# For kernel/drv, set .conf files to mode 0644.  Assume all other
195# files there are drivers, and give them mode 0755 and reboot-needed.
196#
197# The (?<!r) construct in the reboot-needed transform is a negative
198# lookbehind assertion: it says "only match this regex if the
199# previously matched text does NOT match regex r."  So it will match
200# all files in the various kernel trees, except for .conf files.
201#
202
203
204#
205# Non-global zones should not have content in kernel, usr/kernel (and
206# other kernel dirs) or in boot/.
207#
208
209
210#
211# shared objects should generally have mode 0755
212#
213
214#
215# Catch some of the collections of largely read-only files
216#
217
218
219#
220# For what's left, go with root:bin 0644, +x for directories
221#
222
223#
224# Default values for legacy actions
225#
226#
227# CDDL HEADER START
228#
229# The contents of this file are subject to the terms of the
230# Common Development and Distribution License (the "License").
231# You may not use this file except in compliance with the License.
232#
233# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
234# or http://www.opensolaris.org/os/licensing.
235# See the License for the specific language governing permissions
236# and limitations under the License.
237#
238# When distributing Covered Code, include this CDDL HEADER in each
239# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
240# If applicable, add the following below this CDDL HEADER, with the
241# fields enclosed by brackets "[]" replaced with your own identifying
242# information: Portions Copyright [yyyy] [name of copyright owner]
243#
244# CDDL HEADER END
245#
246
247#
248# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
249#
250
251#
252# Pull out the license paths for staging in the proto area.  Ignore
253# those with no path separators, as that indicates a file kept in
254# $SRC/pkg/license_files, rather than alongside the associated source.
255#
256
257#
258# Ordering is important here, and the last line wins.
259#
260# The default of "current" is provided by the calling environment,
261# rather than a print operation.
262#
263depend fmri=consolidation/osnet/osnet-incorporation type=require
264