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#
25
26set name=pkg.fmri value=pkg:/service/file-system/smb@$(PKGVERS)
27set name=pkg.description value="SMB Server libraries and commands"
28set name=pkg.summary value="SMB Server"
29set name=info.classification \
30    value="org.opensolaris.category.2008:System/File System"
31set name=variant.arch value=$(ARCH)
32dir path=kernel group=sys
33dir path=kernel/drv group=sys
34dir path=kernel/drv/$(ARCH64) group=sys
35dir path=kernel/kmdb group=sys
36dir path=kernel/kmdb/$(ARCH64) group=sys
37dir path=lib
38dir path=lib/svc
39dir path=lib/svc/manifest group=sys
40dir path=lib/svc/manifest/network group=sys
41dir path=lib/svc/manifest/network/smb group=sys
42dir path=lib/svc/method
43dir path=usr group=sys
44dir path=usr/lib
45dir path=usr/lib/fs group=sys
46dir path=usr/lib/fs/smb group=sys
47dir path=usr/lib/fs/smb/$(ARCH64) group=sys
48dir path=usr/lib/mdb group=sys
49dir path=usr/lib/mdb/kvm group=sys
50dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
51dir path=usr/lib/reparse
52dir path=usr/lib/security
53dir path=usr/lib/smbsrv
54dir path=usr/sbin
55dir path=var group=sys
56dir path=var/smb group=sys
57dir path=var/smb/cvol group=sys
58dir path=var/smb/cvol/windows group=sys
59dir path=var/smb/cvol/windows/system32 group=sys
60dir path=var/smb/cvol/windows/system32/vss group=sys
61dir path=var/svc group=sys
62driver name=smbsrv perms="* 0640 root sys"
63file path=kernel/drv/$(ARCH64)/smbsrv group=sys
64$(i386_ONLY)file path=kernel/drv/smbsrv group=sys
65file path=kernel/drv/smbsrv.conf group=sys
66file path=kernel/kmdb/$(ARCH64)/smbsrv group=sys mode=0555
67$(i386_ONLY)file path=kernel/kmdb/smbsrv group=sys mode=0555
68file path=lib/svc/manifest/network/smb/server.xml group=sys mode=0444
69file path=lib/svc/method/svc-smbd mode=0555
70file path=usr/lib/fs/smb/$(ARCH64)/libshare_smb.so.1
71file path=usr/lib/fs/smb/libshare_smb.so.1
72file path=usr/lib/mdb/kvm/$(ARCH64)/smbsrv.so group=sys mode=0555
73$(i386_ONLY)file path=usr/lib/mdb/kvm/smbsrv.so group=sys mode=0555
74file path=usr/lib/reparse/libreparse_smb.so.1
75file path=usr/lib/reparse/llib-lreparse_smb
76file path=usr/lib/reparse/llib-lreparse_smb.ln
77file path=usr/lib/security/pam_smb_passwd.so.1
78file path=usr/lib/smbsrv/libmlrpc.so.1
79file path=usr/lib/smbsrv/libmlsvc.so.1
80file path=usr/lib/smbsrv/libsmb.so.1
81file path=usr/lib/smbsrv/libsmbns.so.1
82file path=usr/lib/smbsrv/libsmbrdr.so.1
83file path=usr/lib/smbsrv/libsqlite.so.1
84file path=usr/lib/smbsrv/llib-lmlrpc
85file path=usr/lib/smbsrv/llib-lmlrpc.ln
86file path=usr/lib/smbsrv/llib-lmlsvc
87file path=usr/lib/smbsrv/llib-lmlsvc.ln
88file path=usr/lib/smbsrv/llib-lsmb
89file path=usr/lib/smbsrv/llib-lsmb.ln
90file path=usr/lib/smbsrv/llib-lsmbns
91file path=usr/lib/smbsrv/llib-lsmbns.ln
92file path=usr/lib/smbsrv/llib-lsmbrdr
93file path=usr/lib/smbsrv/llib-lsmbrdr.ln
94file path=usr/lib/smbsrv/smbd mode=0555
95file path=usr/sbin/smbadm mode=0555
96file path=usr/sbin/smbstat mode=0555
97file path=var/smb/cvol/windows/system32/eventlog.dll mode=0755
98file path=var/smb/smbpasswd group=sys mode=0400 \
99    original_name=SUNWsmbs:var/smb/smbpasswd preserve=true
100legacy pkg=SUNWsmbskr desc="SMB Server kernel root components" \
101    name="SMB Server (Kernel)"
102legacy pkg=SUNWsmbsr desc="SMB Server root components" \
103    name="SMB Server (Root)"
104legacy pkg=SUNWsmbsu desc="SMB Server libraries and commands" \
105    name="SMB Server (Usr)"
106license cr_Sun license=cr_Sun
107license lic_CDDL license=lic_CDDL
108link path=usr/lib/reparse/libreparse_smb.so target=libreparse_smb.so.1
109link path=usr/lib/security/pam_smb_passwd.so target=pam_smb_passwd.so.1
110link path=usr/lib/smbsrv/libmlrpc.so target=libmlrpc.so.1
111link path=usr/lib/smbsrv/libmlsvc.so target=libmlsvc.so.1
112link path=usr/lib/smbsrv/libsmb.so target=libsmb.so.1
113link path=usr/lib/smbsrv/libsmbns.so target=libsmbns.so.1
114link path=usr/lib/smbsrv/libsmbrdr.so target=libsmbrdr.so.1
115