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 2011 Nexenta Systems, Inc.  All rights reserved.
  24 # Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
  25 # Copyright 2014 Andrew Stormont.
  26 #
  27 
  28 set name=pkg.fmri value=pkg:/service/file-system/smb@$(PKGVERS)
  29 set name=pkg.description value="SMB Server libraries and commands"
  30 set name=pkg.summary value="SMB Server"
  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/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/kmdb group=sys
  45 dir path=usr/kernel/kmdb/$(ARCH64) group=sys
  46 dir path=usr/lib
  47 dir path=usr/lib/fs group=sys
  48 dir path=usr/lib/fs/smb group=sys
  49 $(BUILD64)dir path=usr/lib/fs/smb/$(ARCH64) group=sys
  50 dir path=usr/lib/mdb group=sys
  51 dir path=usr/lib/mdb/kvm group=sys
  52 $(BUILD64)dir path=usr/lib/mdb/kvm/$(ARCH64) group=sys
  53 dir path=usr/lib/reparse
  54 dir path=usr/lib/security
  55 dir path=usr/lib/smbsrv
  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 $(BUILD64)file path=usr/lib/fs/smb/$(ARCH64)/libshare_smb.so.1
  77 file path=usr/lib/fs/smb/libshare_smb.so.1
  78 $(BUILD64)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/libmlrpc.so.1
  83 file path=usr/lib/smbsrv/libmlsvc.so.1
  84 file path=usr/lib/smbsrv/libsmb.so.1
  85 file path=usr/lib/smbsrv/libsmbns.so.1
  86 file path=usr/lib/smbsrv/libsqlite.so.1
  87 file path=usr/lib/smbsrv/smbd mode=0555
  88 file path=usr/sbin/smbadm mode=0555
  89 file path=usr/sbin/smbstat mode=0555
  90 file path=usr/share/man/man1m/smbadm.1m
  91 file path=usr/share/man/man1m/smbd.1m
  92 file path=usr/share/man/man1m/smbstat.1m
  93 file path=usr/share/man/man4/smb.4
  94 file path=usr/share/man/man4/smbautohome.4
  95 file path=usr/share/man/man5/pam_smb_passwd.5
  96 file path=var/smb/cvol/windows/system32/eventlog.dll mode=0755
  97 file path=var/smb/smbpasswd group=sys mode=0400 \
  98     original_name=SUNWsmbs:var/smb/smbpasswd preserve=true
  99 legacy pkg=SUNWsmbskr desc="SMB Server kernel root components" \
 100     name="SMB Server (Kernel)"
 101 legacy pkg=SUNWsmbsr desc="SMB Server root components" \
 102     name="SMB Server (Root)"
 103 legacy pkg=SUNWsmbsu desc="SMB Server libraries and commands" \
 104     name="SMB Server (Usr)"
 105 license cr_Sun license=cr_Sun
 106 license lic_CDDL license=lic_CDDL
 107 link path=usr/lib/reparse/libreparse_smb.so target=libreparse_smb.so.1
 108 link path=usr/lib/security/pam_smb_passwd.so target=pam_smb_passwd.so.1
 109 link path=usr/lib/smbsrv/libmlrpc.so target=libmlrpc.so.1
 110 link path=usr/lib/smbsrv/libmlsvc.so target=libmlsvc.so.1
 111 link path=usr/lib/smbsrv/libsmb.so target=libsmb.so.1
 112 link path=usr/lib/smbsrv/libsmbns.so target=libsmbns.so.1