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