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