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:/system/file-system/smb@$(PKGVERS)
27set name=pkg.description value="SMB/CIFS File System client support"
28set name=pkg.summary value="SMB/CIFS File System client support"
29set name=info.classification \
30    value="org.opensolaris.category.2008:System/File System"
31set name=variant.arch value=$(ARCH)
32dir path=lib
33dir path=lib/svc
34dir path=lib/svc/manifest group=sys
35dir path=lib/svc/manifest/network group=sys
36dir path=lib/svc/manifest/network/smb group=sys
37dir path=lib/svc/method
38dir path=usr group=sys
39dir path=usr/bin
40dir path=usr/kernel group=sys
41dir path=usr/kernel/drv group=sys
42dir path=usr/kernel/drv/$(ARCH64) group=sys
43dir path=usr/kernel/fs group=sys
44dir path=usr/kernel/fs/$(ARCH64) group=sys
45dir path=usr/kernel/kmdb group=sys
46dir path=usr/kernel/kmdb/$(ARCH64) group=sys
47dir path=usr/lib
48dir path=usr/lib/$(ARCH64)
49dir path=usr/lib/fs group=sys
50dir path=usr/lib/fs/smbfs group=sys
51dir path=usr/lib/fs/smbfs/$(ARCH64) group=sys
52dir path=usr/lib/mdb group=sys
53dir path=usr/lib/mdb/kvm group=sys
54dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
55dir path=usr/lib/security
56dir path=usr/lib/security/$(ARCH64)
57dir path=usr/lib/smbfs
58driver name=nsmb devlink=type=ddi_pseudo;name=nsmb\t\D perms="* 0666 root sys"
59file path=lib/svc/manifest/network/smb/client.xml group=sys mode=0444
60file path=lib/svc/method/smb-client mode=0555
61file path=usr/bin/smbutil mode=0555
62file path=usr/kernel/drv/$(ARCH64)/nsmb group=sys
63$(i386_ONLY)file path=usr/kernel/drv/nsmb group=sys
64file path=usr/kernel/drv/nsmb.conf group=sys
65file path=usr/kernel/fs/$(ARCH64)/smbfs group=sys mode=0755
66$(i386_ONLY)file path=usr/kernel/fs/smbfs group=sys mode=0755
67file path=usr/kernel/kmdb/$(ARCH64)/nsmb group=sys mode=0555
68file path=usr/kernel/kmdb/$(ARCH64)/smbfs group=sys mode=0555
69$(i386_ONLY)file path=usr/kernel/kmdb/nsmb group=sys mode=0555
70$(i386_ONLY)file path=usr/kernel/kmdb/smbfs group=sys mode=0555
71file path=usr/lib/$(ARCH64)/libsmbfs.so.1
72file path=usr/lib/fs/smbfs/$(ARCH64)/libshare_smbfs.so.1
73file path=usr/lib/fs/smbfs/libshare_smbfs.so.1
74file path=usr/lib/fs/smbfs/mount mode=4555
75file path=usr/lib/fs/smbfs/umount mode=4555
76file path=usr/lib/libsmbfs.so.1
77file path=usr/lib/mdb/kvm/$(ARCH64)/nsmb.so mode=0555
78file path=usr/lib/mdb/kvm/$(ARCH64)/smbfs.so mode=0555
79$(i386_ONLY)file path=usr/lib/mdb/kvm/nsmb.so mode=0555
80$(i386_ONLY)file path=usr/lib/mdb/kvm/smbfs.so mode=0555
81file path=usr/lib/security/$(ARCH64)/pam_smbfs_login.so.1
82file path=usr/lib/security/pam_smbfs_login.so.1
83file path=usr/lib/smbfs/smbiod mode=0555
84file path=usr/lib/smbfs/smbiod-svc mode=0555
85legacy pkg=SUNWsmbfskr desc="SMB/CIFS File System client support (Kernel)" \
86    name="SMB/CIFS File System client support (Kernel)"
87legacy pkg=SUNWsmbfsr desc="SMB/CIFS File System client support (Root)" \
88    name="SMB/CIFS File System client support (Root)"
89legacy pkg=SUNWsmbfsu desc="SMB/CIFS File System client support (Usr)" \
90    name="SMB/CIFS File System client support (Usr)"
91license cr_Sun license=cr_Sun
92license lic_CDDL license=lic_CDDL
93license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.apple \
94    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.apple
95license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.boris_popov \
96    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.boris_popov
97license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.bsd4 \
98    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.bsd4
99license usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.microsoft \
100    license=usr/src/lib/libsmbfs/smb/THIRDPARTYLICENSE.microsoft
101link path=usr/lib/security/$(ARCH64)/pam_smbfs_login.so \
102    target=pam_smbfs_login.so.1
103link path=usr/lib/security/pam_smbfs_login.so target=pam_smbfs_login.so.1
104# libsmbfs uses iconv_open() which requires this at run-time.
105depend fmri=system/library/iconv/utf-8 type=require
106