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.
107#
108# CDDL HEADER START
109#
110# The contents of this file are subject to the terms of the
111# Common Development and Distribution License (the "License").
112# You may not use this file except in compliance with the License.
113#
114# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
115# or http://www.opensolaris.org/os/licensing.
116# See the License for the specific language governing permissions
117# and limitations under the License.
118#
119# When distributing Covered Code, include this CDDL HEADER in each
120# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
121# If applicable, add the following below this CDDL HEADER, with the
122# fields enclosed by brackets "[]" replaced with your own identifying
123# information: Portions Copyright [yyyy] [name of copyright owner]
124#
125# CDDL HEADER END
126#
127
128#
129# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
130#
131
132#
133# These actions represent settings which should appear in every package.
134#
135
136#
137# Name the consolidation this package came from.
138#
139set name=org.opensolaris.consolidation value=osnet
140
141#
142# Indicate that the package was published in a zones aware
143# fashion.
144#
145set name=variant.opensolaris.zone value=global value=nonglobal
146#
147# CDDL HEADER START
148#
149# The contents of this file are subject to the terms of the
150# Common Development and Distribution License (the "License").
151# You may not use this file except in compliance with the License.
152#
153# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
154# or http://www.opensolaris.org/os/licensing.
155# See the License for the specific language governing permissions
156# and limitations under the License.
157#
158# When distributing Covered Code, include this CDDL HEADER in each
159# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
160# If applicable, add the following below this CDDL HEADER, with the
161# fields enclosed by brackets "[]" replaced with your own identifying
162# information: Portions Copyright [yyyy] [name of copyright owner]
163#
164# CDDL HEADER END
165#
166
167#
168# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
169# Use is subject to license terms.
170#
171
172#
173# Only publish packages for the currently specified architecture
174#
175# This is somewhat nonintuitive.  In English:
176#
177#	For any action of type "set",
178#	if the "name" property matches the regex "variant.arch",
179#	and *every* occurrence of the "value" property does not match
180#		$ARCH, then don't publish it.
181#
182# ...in other words, if *any* occurrence of "value" matches i386,
183# then the negative lookahead assertion in the regex will fail, and we
184# won't abort based on the action.
185#
186
187#
188# Catch don't-publish settings from manifest-embedded transforms
189#
190#
191# CDDL HEADER START
192#
193# The contents of this file are subject to the terms of the
194# Common Development and Distribution License (the "License").
195# You may not use this file except in compliance with the License.
196#
197# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
198# or http://www.opensolaris.org/os/licensing.
199# See the License for the specific language governing permissions
200# and limitations under the License.
201#
202# When distributing Covered Code, include this CDDL HEADER in each
203# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
204# If applicable, add the following below this CDDL HEADER, with the
205# fields enclosed by brackets "[]" replaced with your own identifying
206# information: Portions Copyright [yyyy] [name of copyright owner]
207#
208# CDDL HEADER END
209#
210
211#
212# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
213#
214
215#
216# This file and its contents are supplied under the terms of the
217# Common Development and Distribution License ("CDDL"), version 1.0.
218# You may only use this file in accordance with the terms of version
219# 1.0 of the CDDL.
220#
221# A full copy of the text of the CDDL should have accompanied this
222# source.  A copy of the CDDL is also available via the Internet
223# at http://www.illumos.org/license/CDDL.
224#
225
226# Copyright 2011, Richard Lowe
227
228# Manual pages are documentation, and more specifically 'man' documentation
229#
230# CDDL HEADER START
231#
232# The contents of this file are subject to the terms of the
233# Common Development and Distribution License (the "License").
234# You may not use this file except in compliance with the License.
235#
236# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
237# or http://www.opensolaris.org/os/licensing.
238# See the License for the specific language governing permissions
239# and limitations under the License.
240#
241# When distributing Covered Code, include this CDDL HEADER in each
242# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
243# If applicable, add the following below this CDDL HEADER, with the
244# fields enclosed by brackets "[]" replaced with your own identifying
245# information: Portions Copyright [yyyy] [name of copyright owner]
246#
247# CDDL HEADER END
248#
249
250#
251# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
252# Copyright 2011, Richard Lowe
253#
254
255#
256# For kernel/drv, set .conf files to mode 0644.  Assume all other
257# files there are drivers, and give them mode 0755 and reboot-needed.
258#
259# The (?<!r) construct in the reboot-needed transform is a negative
260# lookbehind assertion: it says "only match this regex if the
261# previously matched text does NOT match regex r."  So it will match
262# all files in the various kernel trees, except for .conf files.
263#
264
265
266#
267# Non-global zones should not have content in kernel, usr/kernel (and
268# other kernel dirs) or in boot/.
269#
270
271
272#
273# shared objects should generally have mode 0755
274#
275
276#
277# Catch some of the collections of largely read-only files
278#
279
280
281#
282# For what's left, go with root:bin 0644, +x for directories
283#
284
285#
286# Default values for legacy actions
287#
288#
289# CDDL HEADER START
290#
291# The contents of this file are subject to the terms of the
292# Common Development and Distribution License (the "License").
293# You may not use this file except in compliance with the License.
294#
295# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
296# or http://www.opensolaris.org/os/licensing.
297# See the License for the specific language governing permissions
298# and limitations under the License.
299#
300# When distributing Covered Code, include this CDDL HEADER in each
301# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
302# If applicable, add the following below this CDDL HEADER, with the
303# fields enclosed by brackets "[]" replaced with your own identifying
304# information: Portions Copyright [yyyy] [name of copyright owner]
305#
306# CDDL HEADER END
307#
308
309#
310# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
311#
312
313#
314# Pull out the license paths for staging in the proto area.  Ignore
315# those with no path separators, as that indicates a file kept in
316# $SRC/pkg/license_files, rather than alongside the associated source.
317#
318
319#
320# Ordering is important here, and the last line wins.
321#
322# The default of "current" is provided by the calling environment,
323# rather than a print operation.
324#
325set name=org.opensolaris.smf.fmri value=svc:/network/smb/client value=svc:/network/smb/client:default
326depend fmri=consolidation/osnet/osnet-incorporation type=require
327depend fmri=pkg:/SUNWcs@0.5.11-0.155.53 type=require
328depend fmri=pkg:/library/libxml2@2.10.3-2022.0.0.1.17623.173 type=require
329depend fmri=pkg:/service/security/kerberos-5@0.5.11-0.155.53 type=require
330depend fmri=pkg:/system/kernel@0.5.11-0.155.53 type=require variant.opensolaris.zone=global
331depend fmri=pkg:/system/library@0.5.11-0.155.53 type=require
332depend fmri=system/library/iconv/utf-8 type=require
333#
334# This file and its contents are supplied under the terms of the
335# Common Development and Distribution License ("CDDL"). You may
336# only use this file in accordance with the terms of the CDDL.
337#
338# A full copy of the text of the CDDL should have accompanied this
339# source. A copy of the CDDL is also available via the Internet at
340# http://www.illumos.org/license/CDDL.
341#
342
343#
344# Copyright 2019 Alexander Pyhalov
345# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
346#
347
348#
349# These transforms drop the information that we don't want to appear
350# in final package versions.
351#
352
353# Drop pkg.depend.bypass-generate attributes
354
355# Drop pkg.depend.runpath attributes
356
357# Remove pkg debug information
358
359