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