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 file path=usr/kernel/drv/smbsrv.conf group=sys
  73 file path=usr/kernel/kmdb/$(ARCH64)/smbsrv group=sys mode=0555
  74 file path=usr/lib/fs/smb/$(ARCH64)/libshare_smb.so.1
  75 file path=usr/lib/fs/smb/libshare_smb.so.1
  76 file path=usr/lib/mdb/kvm/$(ARCH64)/smbsrv.so group=sys mode=0555
  77 file path=usr/lib/reparse/libreparse_smb.so.1
  78 file path=usr/lib/security/pam_smb_passwd.so.1
  79 file path=usr/lib/smbsrv/dtrace/smbd-all.d mode=0555
  80 file path=usr/lib/smbsrv/dtrace/smbd-authsvc.d mode=0555
  81 file path=usr/lib/smbsrv/dtrace/smbd-doorsvc.d mode=0555
  82 file path=usr/lib/smbsrv/dtrace/smbd-pipesvc.d mode=0555
  83 file path=usr/lib/smbsrv/dtrace/smbnode.d mode=0555
  84 file path=usr/lib/smbsrv/dtrace/smbsrv.d mode=0555
  85 file path=usr/lib/smbsrv/dtrace/smbvfs.d mode=0555
  86 file path=usr/lib/smbsrv/libmlrpc.so.1
  87 file path=usr/lib/smbsrv/libmlsvc.so.1
  88 file path=usr/lib/smbsrv/libsmb.so.1
  89 file path=usr/lib/smbsrv/libsmbns.so.1
  90 file path=usr/lib/smbsrv/smbd mode=0555
  91 file path=usr/sbin/smbadm mode=0555
  92 file path=usr/sbin/smbstat mode=0555
  93 file path=usr/share/man/man1m/smbadm.1m
  94 file path=usr/share/man/man1m/smbd.1m
  95 file path=usr/share/man/man1m/smbstat.1m
  96 file path=usr/share/man/man4/smb.4
  97 file path=usr/share/man/man4/smbautohome.4
  98 file path=usr/share/man/man5/pam_smb_passwd.5
  99 file path=var/smb/cvol/windows/system32/eventlog.dll mode=0755
 100 file path=var/smb/smbpasswd group=sys mode=0400 \
 101     original_name=SUNWsmbs:var/smb/smbpasswd preserve=true
 102 legacy pkg=SUNWsmbskr desc="SMB Server kernel root components" \
 103     name="SMB Server (Kernel)"
 104 legacy pkg=SUNWsmbsr desc="SMB Server root components" \
 105     name="SMB Server (Root)"
 106 legacy pkg=SUNWsmbsu desc="SMB Server libraries and commands" \
 107     name="SMB Server (Usr)"
 108 license cr_Sun license=cr_Sun
 109 license lic_CDDL license=lic_CDDL
 110 link path=usr/lib/reparse/libreparse_smb.so target=libreparse_smb.so.1
 111 link path=usr/lib/security/pam_smb_passwd.so target=pam_smb_passwd.so.1
 112 link path=usr/lib/smbsrv/libmlrpc.so target=libmlrpc.so.1
 113 link path=usr/lib/smbsrv/libmlsvc.so target=libmlsvc.so.1
 114 link path=usr/lib/smbsrv/libsmb.so target=libsmb.so.1
 115 link path=usr/lib/smbsrv/libsmbns.so target=libsmbns.so.1