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 2019 Nexenta by DDN, Inc. All rights reserved.
25#
26
27set name=pkg.fmri value=pkg:/system/file-system/smb@$(PKGVERS)
28set name=pkg.summary value="SMB/CIFS File System client support"
29set name=pkg.description value="SMB/CIFS File System client support"
30set name=info.classification \
31    value="org.opensolaris.category.2008:System/File System"
32set name=variant.arch value=$(ARCH)
33file path=etc/security/exec_attr.d/SUNWsmbfs mode=0644 \
34    restart_fmri=svc:/system/rbac:default
35dir  path=lib
36dir  path=lib/svc
37dir  path=lib/svc/manifest group=sys
38dir  path=lib/svc/manifest/network group=sys
39dir  path=lib/svc/manifest/network/smb group=sys
40file path=lib/svc/manifest/network/smb/client.xml group=sys mode=0444
41dir  path=lib/svc/method
42file path=lib/svc/method/smb-client mode=0555
43dir  path=usr group=sys
44dir  path=usr/bin
45file path=usr/bin/smbutil mode=0555
46dir  path=usr/kernel group=sys
47dir  path=usr/kernel/drv group=sys
48dir  path=usr/kernel/drv/$(ARCH64) group=sys
49file path=usr/kernel/drv/$(ARCH64)/nsmb group=sys
50file path=usr/kernel/drv/nsmb.conf group=sys
51dir  path=usr/kernel/fs group=sys
52dir  path=usr/kernel/fs/$(ARCH64) group=sys
53file path=usr/kernel/fs/$(ARCH64)/smbfs group=sys mode=0755
54dir  path=usr/kernel/kmdb group=sys
55dir  path=usr/kernel/kmdb/$(ARCH64) group=sys
56file path=usr/kernel/kmdb/$(ARCH64)/nsmb group=sys mode=0555
57file path=usr/kernel/kmdb/$(ARCH64)/smbfs group=sys mode=0555
58dir  path=usr/lib
59dir  path=usr/lib/$(ARCH64)
60file path=usr/lib/$(ARCH64)/libsmbfs.so.1
61dir  path=usr/lib/fs group=sys
62dir  path=usr/lib/fs/smbfs group=sys
63dir  path=usr/lib/fs/smbfs/$(ARCH64) group=sys
64file path=usr/lib/fs/smbfs/$(ARCH64)/libshare_smbfs.so.1
65file path=usr/lib/fs/smbfs/dfshares mode=0555
66file path=usr/lib/fs/smbfs/libshare_smbfs.so.1
67file path=usr/lib/fs/smbfs/mount mode=0555
68file path=usr/lib/fs/smbfs/share mode=0555
69file path=usr/lib/fs/smbfs/umount mode=0555
70file path=usr/lib/fs/smbfs/unshare mode=0555
71file path=usr/lib/libmlrpc.so.2
72file path=usr/lib/libsmbfs.so.1
73dir  path=usr/lib/mdb group=sys
74dir  path=usr/lib/mdb/kvm group=sys
75dir  path=usr/lib/mdb/kvm/$(ARCH64) group=sys
76file path=usr/lib/mdb/kvm/$(ARCH64)/nsmb.so mode=0555
77file path=usr/lib/mdb/kvm/$(ARCH64)/smbfs.so mode=0555
78dir  path=usr/lib/security
79dir  path=usr/lib/security/$(ARCH64)
80link path=usr/lib/security/$(ARCH64)/pam_smbfs_login.so \
81    target=pam_smbfs_login.so.1
82file path=usr/lib/security/$(ARCH64)/pam_smbfs_login.so.1
83link path=usr/lib/security/pam_smbfs_login.so target=pam_smbfs_login.so.1
84file path=usr/lib/security/pam_smbfs_login.so.1
85dir  path=usr/lib/smbfs
86file path=usr/lib/smbfs/smbiod mode=0555
87file path=usr/lib/smbfs/smbiod-svc mode=0555
88dir  path=usr/share/man
89dir  path=usr/share/man/man1
90file path=usr/share/man/man1/smbutil.1
91dir  path=usr/share/man/man4fs
92file path=usr/share/man/man4fs/smbfs.4fs
93dir  path=usr/share/man/man5
94file path=usr/share/man/man5/nsmbrc.5
95dir  path=usr/share/man/man7
96file path=usr/share/man/man7/pam_smbfs_login.7
97dir  path=usr/share/man/man8
98file path=usr/share/man/man8/mount_smbfs.8
99file path=usr/share/man/man8/smbiod.8
100link path=usr/share/man/man8/umount_smbfs.8 target=mount_smbfs.8
101driver name=nsmb perms="* 0666 root sys"
102legacy pkg=SUNWsmbfskr desc="SMB/CIFS File System client support (Kernel)" \
103    name="SMB/CIFS File System client support (Kernel)"
104legacy pkg=SUNWsmbfsr desc="SMB/CIFS File System client support (Root)" \
105    name="SMB/CIFS File System client support (Root)"
106legacy pkg=SUNWsmbfsu desc="SMB/CIFS File System client support (Usr)" \
107    name="SMB/CIFS File System client support (Usr)"
108license cr_Sun license=cr_Sun
109license lic_CDDL license=lic_CDDL
110license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.apple \
111    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.apple
112license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.boris_popov \
113    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.boris_popov
114license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.bsd4 \
115    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.bsd4
116license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.microsoft \
117    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.microsoft
118# libsmbfs uses iconv_open() which requires this at run-time.
119depend type=require fmri=system/library/iconv/utf-8
120