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