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 2014 Nexenta Systems, Inc.  All rights reserved.
  25 #
  26 
  27 set name=pkg.fmri value=pkg:/service/file-system/smb@$(PKGVERS)
  28 set name=pkg.description value="SMB Server libraries and commands"
  29 set name=pkg.summary value="SMB Server"
  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/kernel group=sys
  41 dir path=usr/kernel/drv group=sys
  42 dir path=usr/kernel/drv/$(ARCH64) group=sys
  43 dir path=usr/kernel/kmdb group=sys
  44 dir path=usr/kernel/kmdb/$(ARCH64) group=sys
  45 dir path=usr/lib
  46 dir path=usr/lib/fs group=sys
  47 dir path=usr/lib/fs/smb group=sys
  48 dir path=usr/lib/fs/smb/$(ARCH64) group=sys
  49 dir path=usr/lib/mdb group=sys
  50 dir path=usr/lib/mdb/kvm group=sys
  51 dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
  52 dir path=usr/lib/reparse
  53 dir path=usr/lib/security
  54 dir path=usr/lib/smbsrv
  55 dir path=usr/lib/smbsrv/dtrace
  56 dir path=usr/sbin
  57 dir path=usr/share/man
  58 dir path=usr/share/man/man1m
  59 dir path=usr/share/man/man4
  60 dir path=usr/share/man/man5
  61 dir path=var group=sys
  62 dir path=var/smb group=sys
  63 dir path=var/smb/cvol group=sys
  64 dir path=var/smb/cvol/windows group=sys
  65 dir path=var/smb/cvol/windows/system32 group=sys
  66 dir path=var/smb/cvol/windows/system32/vss group=sys
  67 dir path=var/svc group=sys
  68 driver name=smbsrv perms="* 0640 root sys"
  69 file path=lib/svc/manifest/network/smb/server.xml group=sys mode=0444
  70 file path=lib/svc/method/svc-smbd mode=0555
  71 file path=usr/kernel/drv/$(ARCH64)/smbsrv group=sys
  72 $(i386_ONLY)file path=usr/kernel/drv/smbsrv group=sys
  73 file path=usr/kernel/drv/smbsrv.conf group=sys
  74 file path=usr/kernel/kmdb/$(ARCH64)/smbsrv group=sys mode=0555
  75 $(i386_ONLY)file path=usr/kernel/kmdb/smbsrv group=sys mode=0555
  76 file path=usr/lib/fs/smb/$(ARCH64)/libshare_smb.so.1
  77 file path=usr/lib/fs/smb/libshare_smb.so.1
  78 file path=usr/lib/mdb/kvm/$(ARCH64)/smbsrv.so group=sys mode=0555
  79 $(i386_ONLY)file path=usr/lib/mdb/kvm/smbsrv.so group=sys mode=0555
  80 file path=usr/lib/reparse/libreparse_smb.so.1
  81 file path=usr/lib/security/pam_smb_passwd.so.1
  82 file path=usr/lib/smbsrv/dtrace/smbd-all.d mode=0555
  83 file path=usr/lib/smbsrv/dtrace/smbd-authsvc.d mode=0555
  84 file path=usr/lib/smbsrv/dtrace/smbd-doorsvc.d mode=0555
  85 file path=usr/lib/smbsrv/dtrace/smbd-pipesvc.d mode=0555
  86 file path=usr/lib/smbsrv/dtrace/smbnode.d mode=0555
  87 file path=usr/lib/smbsrv/dtrace/smbsrv.d mode=0555
  88 file path=usr/lib/smbsrv/dtrace/smbvfs.d mode=0555
  89 file path=usr/lib/smbsrv/libmlrpc.so.1
  90 file path=usr/lib/smbsrv/libmlsvc.so.1
  91 file path=usr/lib/smbsrv/libsmb.so.1
  92 file path=usr/lib/smbsrv/libsmbns.so.1
  93 file path=usr/lib/smbsrv/smbd mode=0555
  94 file path=usr/sbin/smbadm mode=0555
  95 file path=usr/sbin/smbstat mode=0555
  96 file path=usr/share/man/man1m/smbadm.1m
  97 file path=usr/share/man/man1m/smbd.1m
  98 file path=usr/share/man/man1m/smbstat.1m
  99 file path=usr/share/man/man4/smb.4
 100 file path=usr/share/man/man4/smbautohome.4
 101 file path=usr/share/man/man5/pam_smb_passwd.5
 102 file path=var/smb/cvol/windows/system32/eventlog.dll mode=0755
 103 file path=var/smb/smbpasswd group=sys mode=0400 \
 104     original_name=SUNWsmbs:var/smb/smbpasswd preserve=true
 105 legacy pkg=SUNWsmbskr desc="SMB Server kernel root components" \
 106     name="SMB Server (Kernel)"
 107 legacy pkg=SUNWsmbsr desc="SMB Server root components" \
 108     name="SMB Server (Root)"
 109 legacy pkg=SUNWsmbsu desc="SMB Server libraries and commands" \
 110     name="SMB Server (Usr)"
 111 license cr_Sun license=cr_Sun
 112 license lic_CDDL license=lic_CDDL
 113 license usr/src/uts/common/fs/smbsrv/THIRDPARTYLICENSE.apple \
 114     license=usr/src/uts/common/fs/smbsrv/THIRDPARTYLICENSE.apple
 115 link path=usr/lib/reparse/libreparse_smb.so target=libreparse_smb.so.1
 116 link path=usr/lib/security/pam_smb_passwd.so target=pam_smb_passwd.so.1
 117 link path=usr/lib/smbsrv/libmlrpc.so target=libmlrpc.so.1
 118 link path=usr/lib/smbsrv/libmlsvc.so target=libmlsvc.so.1
 119 link path=usr/lib/smbsrv/libsmb.so target=libsmb.so.1
 120 link path=usr/lib/smbsrv/libsmbns.so target=libsmbns.so.1