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