components/samba/samba/samba.p5m
branchs11-update
changeset 3734 24181f5eb463
parent 3238 93d7197a9600
--- a/components/samba/samba/samba.p5m	Tue Feb 03 12:52:16 2015 -0800
+++ b/components/samba/samba/samba.p5m	Tue Feb 03 13:01:27 2015 -0800
@@ -18,149 +18,45 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
 #
 
-set name=pkg.fmri value=pkg:/service/network/samba@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
-set name=pkg.summary value="samba - A Windows SMB/CIFS fileserver for UNIX"
-set name=com.oracle.info.description value="Samba, a SMB/CIFS fileserver"
-set name=com.oracle.info.tpno value=$(TPNO)
-set name=info.classification value="org.opensolaris.category.2008:System/File System"
-set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
-set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
-set name=org.opensolaris.arc-caseid value=PSARC/2009/682
-set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
-
-license samba-license license='GPLv3'
-
-legacy pkg=SUNWsmbar \
- desc="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" \
- name="samba - A Windows SMB/CIFS fileserver for UNIX (Root)"
-legacy pkg=SUNWsmbau \
- desc="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" \
- name="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)"
-
-# Samba can be used in Asian multibyte language envs. so we need this
-depend fmri=pkg:/system/library/iconv/unicode type=require
 
 <transform file path=usr.*/man/.+ -> default mangler.man.stability volatile>
 <transform dir path=usr/share/locale/.* -> default group other>
-
-dir path=etc group=sys
-dir path=etc/samba
-dir path=etc/samba/private mode=500
-dir path=lib
-dir path=lib/svc
-dir path=lib/svc/manifest
-dir path=lib/svc/manifest/method
-dir path=lib/svc/manifest/network
-dir path=usr group=sys
-dir path=usr/bin
-dir path=usr/include
-dir path=usr/include/samba
-dir path=usr/lib
-dir path=usr/lib/$(MACH64)
-dir path=usr/lib/samba
-dir path=usr/lib/samba/$(MACH64)
-dir path=usr/lib/samba/auth
-dir path=usr/lib/samba/gpext
-dir path=usr/lib/samba/charset
-dir path=usr/lib/samba/idmap
-dir path=usr/lib/samba/nss_info
-dir path=usr/lib/samba/pdb
-dir path=usr/lib/samba/perfcount
-dir path=usr/lib/samba/rpc
-dir path=usr/lib/samba/security
-dir path=usr/lib/samba/vfs
-dir path=usr/lib/security
-dir path=usr/lib/security/$(MACH64)
-dir path=usr/sbin
-dir path=usr/share
-dir path=usr/share/locale
-dir path=usr/share/locale/ar
-dir path=usr/share/locale/ar/LC_MESSAGES
-dir path=usr/share/locale/cs
-dir path=usr/share/locale/cs/LC_MESSAGES
-dir path=usr/share/locale/da
-dir path=usr/share/locale/da/LC_MESSAGES
-dir path=usr/share/locale/de
-dir path=usr/share/locale/de/LC_MESSAGES
-dir path=usr/share/locale/es
-dir path=usr/share/locale/es/LC_MESSAGES
-dir path=usr/share/locale/fi
-dir path=usr/share/locale/fi/LC_MESSAGES
-dir path=usr/share/locale/fr
-dir path=usr/share/locale/fr/LC_MESSAGES
-dir path=usr/share/locale/hu
-dir path=usr/share/locale/hu/LC_MESSAGES
-dir path=usr/share/locale/it
-dir path=usr/share/locale/it/LC_MESSAGES
-dir path=usr/share/locale/ja
-dir path=usr/share/locale/ja/LC_MESSAGES
-dir path=usr/share/locale/ko
-dir path=usr/share/locale/ko/LC_MESSAGES
-dir path=usr/share/locale/nb
-dir path=usr/share/locale/nb/LC_MESSAGES
-dir path=usr/share/locale/nl
-dir path=usr/share/locale/nl/LC_MESSAGES
-dir path=usr/share/locale/pl
-dir path=usr/share/locale/pl/LC_MESSAGES
-dir path=usr/share/locale/pt_BR
-dir path=usr/share/locale/pt_BR/LC_MESSAGES
-dir path=usr/share/locale/ru
-dir path=usr/share/locale/ru/LC_MESSAGES
-dir path=usr/share/locale/sv
-dir path=usr/share/locale/sv/LC_MESSAGES
-dir path=usr/share/locale/zh_CN
-dir path=usr/share/locale/zh_CN/LC_MESSAGES
-dir path=usr/share/locale/zh_TW
-dir path=usr/share/locale/zh_TW/LC_MESSAGES
-dir path=usr/share/man
-dir path=usr/share/man/man1
-dir path=usr/share/man/man1m
-dir path=usr/share/man/man4
-dir path=usr/share/man/man5
-dir path=usr/share/samba
-dir path=usr/share/samba/swat
-dir path=usr/share/samba/swat/help
-dir path=usr/share/samba/swat/help/manpages
-dir path=usr/share/samba/swat/help/Samba3-ByExample
-dir path=usr/share/samba/swat/help/Samba3-ByExample/images
-dir path=usr/share/samba/swat/help/Samba3-Developers-Guide
-dir path=usr/share/samba/swat/help/Samba3-HOWTO
-dir path=usr/share/samba/swat/help/Samba3-HOWTO/images
-dir path=usr/share/samba/swat/images
-dir path=usr/share/samba/swat/include
-dir path=usr/share/samba/swat/js
-dir path=usr/share/samba/swat/lang
-dir path=usr/share/samba/swat/lang/ja
-dir path=usr/share/samba/swat/lang/ja/help
-dir path=usr/share/samba/swat/lang/ja/images
-dir path=usr/share/samba/swat/lang/ja/include
-dir path=usr/share/samba/swat/lang/ja/js
-dir path=usr/share/samba/swat/lang/tr
-dir path=usr/share/samba/swat/lang/tr/help
-dir path=usr/share/samba/swat/lang/tr/images
-dir path=usr/share/samba/swat/lang/tr/include
-dir path=usr/share/samba/swat/lang/tr/js
-dir path=var group=sys
-dir path=var/samba
-dir path=var/samba/locks
-dir path=var/samba/log
-dir path=var/spool
-dir path=var/spool/samba mode=1777
+set name=pkg.fmri \
+    value=pkg:/service/network/samba@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="samba - A Windows SMB/CIFS fileserver for UNIX"
+set name=com.oracle.info.description value="Samba, a SMB/CIFS fileserver"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value="org.opensolaris.category.2008:System/File System"
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2009/682
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+dir  path=etc group=sys
 #
 file Solaris/pam.conf-winbind path=etc/pam.conf-winbind
+dir  path=etc/samba
+dir  path=etc/samba/private mode=500
 file path=etc/samba/smb.conf-example
-file Solaris/samba.sh path=lib/svc/method/samba
+dir  path=lib
+dir  path=lib/svc
+dir  path=lib/svc/manifest
+dir  path=lib/svc/manifest/method
+dir  path=lib/svc/manifest/network
 file Solaris/samba.xml path=lib/svc/manifest/network/samba.xml \
-     restart_fmri=svc:/system/manifest-import:default
+    restart_fmri=svc:/system/manifest-import:default
 file Solaris/swat.xml path=lib/svc/manifest/network/swat.xml \
-     restart_fmri=svc:/system/manifest-import:default
+    restart_fmri=svc:/system/manifest-import:default
 file Solaris/winbind.xml path=lib/svc/manifest/network/winbind.xml \
-     restart_fmri=svc:/system/manifest-import:default
+    restart_fmri=svc:/system/manifest-import:default
 file Solaris/wins.xml path=lib/svc/manifest/network/wins.xml \
-     restart_fmri=svc:/system/manifest-import:default
+    restart_fmri=svc:/system/manifest-import:default
+file Solaris/samba.sh path=lib/svc/method/samba
+dir  path=usr group=sys
+dir  path=usr/bin
 file path=usr/bin/eventlogadm
 file path=usr/bin/findsmb
 file path=usr/bin/net
@@ -187,6 +83,8 @@
 file path=usr/bin/tdbtool
 file path=usr/bin/testparm
 file path=usr/bin/wbinfo
+dir  path=usr/include
+dir  path=usr/include/samba
 # Align Samba includes to usr/include/samba/
 file usr/include/libsmbclient.h path=usr/include/samba/libsmbclient.h
 file usr/include/netapi.h path=usr/include/samba/netapi.h
@@ -196,19 +94,49 @@
 file usr/include/tevent.h path=usr/include/samba/tevent.h
 file usr/include/tevent_internal.h path=usr/include/samba/tevent_internal.h
 file usr/include/wbclient.h path=usr/include/samba/wbclient.h
+dir  path=usr/lib
+dir  path=usr/lib/$(MACH64)
+link path=usr/lib/$(MACH64)/nss_winbind.so target=nss_winbind.so.1
+file build/$(MACH64)/nsswitch/libnss_winbind.so \
+    path=usr/lib/$(MACH64)/nss_winbind.so.1
+link path=usr/lib/$(MACH64)/nss_wins.so target=nss_wins.so.1
+file build/$(MACH64)/nsswitch/libnss_wins.so \
+    path=usr/lib/$(MACH64)/nss_wins.so.1
+#
+# NSS - modules
+link path=usr/lib/nss_winbind.so target=nss_winbind.so.1
 # nsswitch modules
 file build/$(MACH32)/nsswitch/libnss_winbind.so path=usr/lib/nss_winbind.so.1
-file build/$(MACH32)/nsswitch/libnss_wins.so    path=usr/lib/nss_wins.so.1
-file build/$(MACH64)/nsswitch/libnss_winbind.so path=usr/lib/$(MACH64)/nss_winbind.so.1
-file build/$(MACH64)/nsswitch/libnss_wins.so    path=usr/lib/$(MACH64)/nss_wins.so.1
+link path=usr/lib/nss_wins.so target=nss_wins.so.1
+file build/$(MACH32)/nsswitch/libnss_wins.so path=usr/lib/nss_wins.so.1
+dir  path=usr/lib/samba
+dir  path=usr/lib/samba/$(MACH64)
+link path=usr/lib/samba/$(MACH64)/libtalloc.so target=libtalloc.so.2
+link path=usr/lib/samba/$(MACH64)/libtalloc.so.1 target=libtalloc.so.2
+file build/$(MACH64)/source3/bin/libtalloc.so.2 \
+    path=usr/lib/samba/$(MACH64)/libtalloc.so.2
+link path=usr/lib/samba/$(MACH64)/libtdb.so target=libtdb.so.1
+file build/$(MACH64)/source3/bin/libtdb.so.1 \
+    path=usr/lib/samba/$(MACH64)/libtdb.so.1
+link path=usr/lib/samba/$(MACH64)/libtevent.so target=libtevent.so.0
+link path=usr/lib/samba/$(MACH64)/libtevent.so.0 target=libtevent.so.0.9.11
+file build/$(MACH64)/source3/bin/libtevent.so.0.9.11 \
+    path=usr/lib/samba/$(MACH64)/libtevent.so.0.9.11
+link path=usr/lib/samba/$(MACH64)/libwbclient.so target=libwbclient.so.0
+file build/$(MACH64)/source3/bin/libwbclient.so.0 \
+    path=usr/lib/samba/$(MACH64)/libwbclient.so.0
+dir  path=usr/lib/samba/auth
 # Samba internal modules and libs
 file path=usr/lib/samba/auth/script.so
+dir  path=usr/lib/samba/charset
+file path=usr/lib/samba/charset/CP437.so
+file path=usr/lib/samba/charset/CP850.so
 file path=usr/lib/samba/de.msg
 file path=usr/lib/samba/en.msg
 file path=usr/lib/samba/fi.msg
 file path=usr/lib/samba/fr.msg
-file path=usr/lib/samba/charset/CP437.so
-file path=usr/lib/samba/charset/CP850.so
+dir  path=usr/lib/samba/gpext
+dir  path=usr/lib/samba/idmap
 file path=usr/lib/samba/idmap/ad.so
 file path=usr/lib/samba/idmap/adex.so
 file path=usr/lib/samba/idmap/autorid.so
@@ -218,25 +146,44 @@
 file path=usr/lib/samba/idmap/tdb2.so
 file path=usr/lib/samba/it.msg
 file path=usr/lib/samba/ja.msg
+#
+link path=usr/lib/samba/libnetapi.so target=libnetapi.so.0
 file path=usr/lib/samba/libnetapi.so.0
+link path=usr/lib/samba/libsmbclient.so target=libsmbclient.so.0
 file path=usr/lib/samba/libsmbclient.so.0
+link path=usr/lib/samba/libsmbsharemodes.so target=libsmbsharemodes.so.0
 file path=usr/lib/samba/libsmbsharemodes.so.0
+link path=usr/lib/samba/libtalloc.so target=libtalloc.so.2
+link path=usr/lib/samba/libtalloc.so.2 target=libtalloc.so.2.0.5
 file path=usr/lib/samba/libtalloc.so.2.0.5
-file build/$(MACH64)/source3/bin/libtalloc.so.2 path=usr/lib/samba/$(MACH64)/libtalloc.so.2
+link path=usr/lib/samba/libtdb.so target=libtdb.so.1
+link path=usr/lib/samba/libtdb.so.1 target=libtdb.so.1.2.9
 file path=usr/lib/samba/libtdb.so.1.2.9
-file build/$(MACH64)/source3/bin/libtdb.so.1 path=usr/lib/samba/$(MACH64)/libtdb.so.1
+link path=usr/lib/samba/libtevent.so target=libtevent.so.0
+link path=usr/lib/samba/libtevent.so.0 target=libtevent.so.0.9.11
 file path=usr/lib/samba/libtevent.so.0.9.11
-file build/$(MACH64)/source3/bin/libtevent.so.0.9.11 path=usr/lib/samba/$(MACH64)/libtevent.so.0.9.11
+link path=usr/lib/samba/libwbclient.so target=libwbclient.so.0
 file path=usr/lib/samba/libwbclient.so.0
-file build/$(MACH64)/source3/bin/libwbclient.so.0 path=usr/lib/samba/$(MACH64)/libwbclient.so.0
 file path=usr/lib/samba/lowcase.dat
 file path=usr/lib/samba/nl.msg
+dir  path=usr/lib/samba/nss_info
+link path=usr/lib/samba/nss_info/adex.so target=../idmap/adex.so
+link path=usr/lib/samba/nss_info/hash.so target=../idmap/hash.so
+link path=usr/lib/samba/nss_info/rfc2307.so target=../idmap/ad.so
+link path=usr/lib/samba/nss_info/sfu.so target=../idmap/ad.so
+link path=usr/lib/samba/nss_info/sfu20.so target=../idmap/ad.so
+dir  path=usr/lib/samba/pdb
+dir  path=usr/lib/samba/perfcount
 file path=usr/lib/samba/pl.msg
+dir  path=usr/lib/samba/rpc
 file path=usr/lib/samba/ru.msg
-file build/$(MACH32)/source3/bin/smbtorture path=usr/lib/samba/smbtorture mode=0555
+dir  path=usr/lib/samba/security
+file build/$(MACH32)/source3/bin/smbtorture path=usr/lib/samba/smbtorture \
+    mode=0555
 file path=usr/lib/samba/tr.msg
 file path=usr/lib/samba/upcase.dat
 file path=usr/lib/samba/valid.dat
+dir  path=usr/lib/samba/vfs
 file path=usr/lib/samba/vfs/acl_tdb.so
 file path=usr/lib/samba/vfs/acl_xattr.so
 file path=usr/lib/samba/vfs/aio_pthread.so
@@ -259,7 +206,8 @@
 file path=usr/lib/samba/vfs/readahead.so
 file path=usr/lib/samba/vfs/readonly.so
 file path=usr/lib/samba/vfs/recycle.so
-file path=usr/lib/samba/vfs/samfs.so pkg.depend.bypass-generate=.* pkg.linted=true
+file path=usr/lib/samba/vfs/samfs.so pkg.depend.bypass-generate=.* \
+    pkg.linted=true
 file path=usr/lib/samba/vfs/scannedonly.so
 file path=usr/lib/samba/vfs/shadow_copy.so
 file path=usr/lib/samba/vfs/shadow_copy2.so
@@ -271,43 +219,96 @@
 file path=usr/lib/samba/vfs/worm.so
 file path=usr/lib/samba/vfs/xattr_tdb.so
 file path=usr/lib/samba/vfs/zfsacl.so
+dir  path=usr/lib/security
+dir  path=usr/lib/security/$(MACH64)
+link path=usr/lib/security/$(MACH64)/pam_smbpass.so target=pam_smbpass.so.1
+file usr/lib/samba/$(MACH64)/security/pam_smbpass.so \
+    path=usr/lib/security/$(MACH64)/pam_smbpass.so.1
+link path=usr/lib/security/$(MACH64)/pam_winbind.so target=pam_winbind.so.1
+file usr/lib/samba/$(MACH64)/security/pam_winbind.so \
+    path=usr/lib/security/$(MACH64)/pam_winbind.so.1
+# PAM
+link path=usr/lib/security/pam_smbpass.so target=pam_smbpass.so.1
 # PAM modules
-file usr/lib/samba/security/pam_smbpass.so path=usr/lib/security/pam_smbpass.so.1
-file usr/lib/samba/security/pam_winbind.so path=usr/lib/security/pam_winbind.so.1
-file usr/lib/samba/$(MACH64)/security/pam_smbpass.so path=usr/lib/security/$(MACH64)/pam_smbpass.so.1
-file usr/lib/samba/$(MACH64)/security/pam_winbind.so path=usr/lib/security/$(MACH64)/pam_winbind.so.1
+file usr/lib/samba/security/pam_smbpass.so \
+    path=usr/lib/security/pam_smbpass.so.1
+link path=usr/lib/security/pam_winbind.so target=pam_winbind.so.1
+file usr/lib/samba/security/pam_winbind.so \
+    path=usr/lib/security/pam_winbind.so.1
+dir  path=usr/sbin
 #
 file path=usr/sbin/nmbd
 file path=usr/sbin/smbd
 file path=usr/sbin/swat
 file path=usr/sbin/winbindd
+dir  path=usr/share
+dir  path=usr/share/locale
+dir  path=usr/share/locale/ar
+dir  path=usr/share/locale/ar/LC_MESSAGES
 #
 # usr/share - is takem from Sample manifest
 file path=usr/share/locale/ar/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/cs
+dir  path=usr/share/locale/cs/LC_MESSAGES
 file path=usr/share/locale/cs/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/da
+dir  path=usr/share/locale/da/LC_MESSAGES
 file path=usr/share/locale/da/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/de
+dir  path=usr/share/locale/de/LC_MESSAGES
 file path=usr/share/locale/de/LC_MESSAGES/net.mo
 file path=usr/share/locale/de/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/es
+dir  path=usr/share/locale/es/LC_MESSAGES
 file path=usr/share/locale/es/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/fi
+dir  path=usr/share/locale/fi/LC_MESSAGES
 file path=usr/share/locale/fi/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/fr
+dir  path=usr/share/locale/fr/LC_MESSAGES
 file path=usr/share/locale/fr/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/hu
+dir  path=usr/share/locale/hu/LC_MESSAGES
 file path=usr/share/locale/hu/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/it
+dir  path=usr/share/locale/it/LC_MESSAGES
 file path=usr/share/locale/it/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/ja
+dir  path=usr/share/locale/ja/LC_MESSAGES
 file path=usr/share/locale/ja/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/ko
+dir  path=usr/share/locale/ko/LC_MESSAGES
 file path=usr/share/locale/ko/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/nb
+dir  path=usr/share/locale/nb/LC_MESSAGES
 file path=usr/share/locale/nb/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/nl
+dir  path=usr/share/locale/nl/LC_MESSAGES
 file path=usr/share/locale/nl/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/pl
+dir  path=usr/share/locale/pl/LC_MESSAGES
 file path=usr/share/locale/pl/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/pt_BR
+dir  path=usr/share/locale/pt_BR/LC_MESSAGES
 file path=usr/share/locale/pt_BR/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/ru
+dir  path=usr/share/locale/ru/LC_MESSAGES
 file path=usr/share/locale/ru/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/sv
+dir  path=usr/share/locale/sv/LC_MESSAGES
 file path=usr/share/locale/sv/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/zh_CN
+dir  path=usr/share/locale/zh_CN/LC_MESSAGES
 file path=usr/share/locale/zh_CN/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/locale/zh_TW
+dir  path=usr/share/locale/zh_TW/LC_MESSAGES
 file path=usr/share/locale/zh_TW/LC_MESSAGES/pam_winbind.mo
+dir  path=usr/share/man
+dir  path=usr/share/man/man1
 file path=usr/share/man/man1/findsmb.1
 file path=usr/share/man/man1/log2pcap.1
 file path=usr/share/man/man1/nmblookup.1
 file path=usr/share/man/man1/ntlm_auth.1
-file usr/share/man/man1/profiles.1 path=usr/share/man/man1/smbprofiles.1
 file path=usr/share/man/man1/rpcclient.1
 file path=usr/share/man/man1/sharesec.1
 file path=usr/share/man/man1/smbcacls.1
@@ -315,12 +316,16 @@
 file path=usr/share/man/man1/smbcontrol.1
 file path=usr/share/man/man1/smbcquotas.1
 file path=usr/share/man/man1/smbget.1
+file usr/share/man/man1/profiles.1 path=usr/share/man/man1/smbprofiles.1
 file path=usr/share/man/man1/smbstatus.1
 file path=usr/share/man/man1/smbtar.1
 file path=usr/share/man/man1/smbtree.1
 file path=usr/share/man/man1/testparm.1
 file path=usr/share/man/man1/vfstest.1
 file path=usr/share/man/man1/wbinfo.1
+dir  path=usr/share/man/man1m
+dir  path=usr/share/man/man4
+dir  path=usr/share/man/man5
 file path=usr/share/man/man5/lmhosts.5
 file path=usr/share/man/man5/pam_winbind.conf.5
 file path=usr/share/man/man5/smb.conf.5
@@ -382,6 +387,10 @@
 file path=usr/share/man/man8/vfs_time_audit.8
 file path=usr/share/man/man8/vfs_xattr_tdb.8
 file path=usr/share/man/man8/winbindd.8
+dir  path=usr/share/samba
+dir  path=usr/share/samba/swat
+dir  path=usr/share/samba/swat/help
+dir  path=usr/share/samba/swat/help/Samba3-ByExample
 file path=usr/share/samba/swat/help/Samba3-ByExample/Big500users.html
 file path=usr/share/samba/swat/help/Samba3-ByExample/DMSMig.html
 file path=usr/share/samba/swat/help/Samba3-ByExample/DomApps.html
@@ -393,22 +402,7 @@
 file path=usr/share/samba/swat/help/Samba3-ByExample/ch14.html
 file path=usr/share/samba/swat/help/Samba3-ByExample/go01.html
 file path=usr/share/samba/swat/help/Samba3-ByExample/happy.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/index.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/ix01.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/kerberos.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/net2000users.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/ntmigration.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/nw4migration.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/pr01.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/pr02.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/pr03.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/preface.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/primer.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/secure.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/simple.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/small.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/unixclients.html
-file path=usr/share/samba/swat/help/Samba3-ByExample/upgrades.html
+dir  path=usr/share/samba/swat/help/Samba3-ByExample/images
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/AccountingNetwork.png
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/Charity-Network.png
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/Domain-WorkgroupAnnouncement.png
@@ -463,6 +457,23 @@
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/wxpp012.png
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/wxpp013.png
 file path=usr/share/samba/swat/help/Samba3-ByExample/images/wxpp015.png
+file path=usr/share/samba/swat/help/Samba3-ByExample/index.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/ix01.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/kerberos.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/net2000users.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/ntmigration.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/nw4migration.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/pr01.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/pr02.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/pr03.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/preface.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/primer.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/secure.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/simple.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/small.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/unixclients.html
+file path=usr/share/samba/swat/help/Samba3-ByExample/upgrades.html
+dir  path=usr/share/samba/swat/help/Samba3-Developers-Guide
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/CodingSuggestions.html
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/Packaging.html
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/architecture.html
@@ -486,6 +497,7 @@
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/unix-smb.html
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/vfs.html
 file path=usr/share/samba/swat/help/Samba3-Developers-Guide/wins.html
+dir  path=usr/share/samba/swat/help/Samba3-HOWTO
 file path=usr/share/samba/swat/help/Samba3-HOWTO/AccessControls.html
 file path=usr/share/samba/swat/help/Samba3-HOWTO/AdvancedNetworkManagement.html
 file path=usr/share/samba/swat/help/Samba3-HOWTO/Appendix.html
@@ -522,33 +534,7 @@
 file path=usr/share/samba/swat/help/Samba3-HOWTO/go01.html
 file path=usr/share/samba/swat/help/Samba3-HOWTO/groupmapping.html
 file path=usr/share/samba/swat/help/Samba3-HOWTO/idmapper.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/index.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/install.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/integrate-ms-networks.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/introduction.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/ix01.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/largefile.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/locking.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/migration.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/msdfs.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/optional.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/pam.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/passdb.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/pr01.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/pr02.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/pr03.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/problems.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/rights.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/samba-bdc.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/samba-pdc.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/securing-samba.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/speed.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/tdb.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/troubleshooting.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/type.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/unicode.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/upgrading-to-3.0.html
-file path=usr/share/samba/swat/help/Samba3-HOWTO/winbind.html
+dir  path=usr/share/samba/swat/help/Samba3-HOWTO/images
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/10small.png
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/11small.png
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/12small.png
@@ -617,6 +603,34 @@
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/wxpp012.png
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/wxpp013.png
 file path=usr/share/samba/swat/help/Samba3-HOWTO/images/wxpp015.png
+file path=usr/share/samba/swat/help/Samba3-HOWTO/index.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/install.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/integrate-ms-networks.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/introduction.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/ix01.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/largefile.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/locking.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/migration.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/msdfs.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/optional.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/pam.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/passdb.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/pr01.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/pr02.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/pr03.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/problems.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/rights.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/samba-bdc.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/samba-pdc.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/securing-samba.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/speed.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/tdb.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/troubleshooting.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/type.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/unicode.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/upgrading-to-3.0.html
+file path=usr/share/samba/swat/help/Samba3-HOWTO/winbind.html
+dir  path=usr/share/samba/swat/help/manpages
 file path=usr/share/samba/swat/help/manpages/eventlogadm.8.html
 file path=usr/share/samba/swat/help/manpages/findsmb.1.html
 file path=usr/share/samba/swat/help/manpages/idmap_ad.8.html
@@ -700,6 +714,7 @@
 file path=usr/share/samba/swat/help/manpages/winbindd.8.html
 file path=usr/share/samba/swat/help/welcome-no-samba-doc.html
 file path=usr/share/samba/swat/help/welcome.html
+dir  path=usr/share/samba/swat/images
 file path=usr/share/samba/swat/images/globals.gif
 file path=usr/share/samba/swat/images/home.gif
 file path=usr/share/samba/swat/images/passwd.gif
@@ -709,10 +724,21 @@
 file path=usr/share/samba/swat/images/status.gif
 file path=usr/share/samba/swat/images/viewconfig.gif
 file path=usr/share/samba/swat/images/wizard.gif
+dir  path=usr/share/samba/swat/include
 file path=usr/share/samba/swat/include/footer.html
 file path=usr/share/samba/swat/include/header.html
+dir  path=usr/share/samba/swat/js
+dir  path=usr/share/samba/swat/lang
+dir  path=usr/share/samba/swat/lang/ja
+dir  path=usr/share/samba/swat/lang/ja/help
 file path=usr/share/samba/swat/lang/ja/help/welcome.html
+dir  path=usr/share/samba/swat/lang/ja/images
+dir  path=usr/share/samba/swat/lang/ja/include
+dir  path=usr/share/samba/swat/lang/ja/js
+dir  path=usr/share/samba/swat/lang/tr
+dir  path=usr/share/samba/swat/lang/tr/help
 file path=usr/share/samba/swat/lang/tr/help/welcome.html
+dir  path=usr/share/samba/swat/lang/tr/images
 file path=usr/share/samba/swat/lang/tr/images/globals.gif
 file path=usr/share/samba/swat/lang/tr/images/home.gif
 file path=usr/share/samba/swat/lang/tr/images/passwd.gif
@@ -721,36 +747,21 @@
 file path=usr/share/samba/swat/lang/tr/images/shares.gif
 file path=usr/share/samba/swat/lang/tr/images/status.gif
 file path=usr/share/samba/swat/lang/tr/images/viewconfig.gif
-#
-# NSS - modules
-link path=usr/lib/nss_winbind.so target=nss_winbind.so.1
-link path=usr/lib/nss_wins.so target=nss_wins.so.1
-link path=usr/lib/$(MACH64)/nss_winbind.so target=nss_winbind.so.1
-link path=usr/lib/$(MACH64)/nss_wins.so target=nss_wins.so.1
-#
-link path=usr/lib/samba/libnetapi.so target=libnetapi.so.0
-link path=usr/lib/samba/libsmbclient.so target=libsmbclient.so.0
-link path=usr/lib/samba/libsmbsharemodes.so target=libsmbsharemodes.so.0
-link path=usr/lib/samba/libtalloc.so.2 target=libtalloc.so.2.0.5
-link path=usr/lib/samba/libtalloc.so target=libtalloc.so.2
-link path=usr/lib/samba/libtdb.so.1 target=libtdb.so.1.2.9
-link path=usr/lib/samba/libtdb.so target=libtdb.so.1
-link path=usr/lib/samba/libtevent.so target=libtevent.so.0
-link path=usr/lib/samba/libtevent.so.0 target=libtevent.so.0.9.11
-link path=usr/lib/samba/libwbclient.so target=libwbclient.so.0
-link path=usr/lib/samba/$(MACH64)/libtalloc.so.1 target=libtalloc.so.2
-link path=usr/lib/samba/$(MACH64)/libtalloc.so target=libtalloc.so.2
-link path=usr/lib/samba/$(MACH64)/libtdb.so target=libtdb.so.1
-link path=usr/lib/samba/$(MACH64)/libwbclient.so target=libwbclient.so.0
-link path=usr/lib/samba/$(MACH64)/libtevent.so target=libtevent.so.0
-link path=usr/lib/samba/$(MACH64)/libtevent.so.0 target=libtevent.so.0.9.11
-link path=usr/lib/samba/nss_info/adex.so target=../idmap/adex.so
-link path=usr/lib/samba/nss_info/hash.so target=../idmap/hash.so
-link path=usr/lib/samba/nss_info/rfc2307.so target=../idmap/ad.so
-link path=usr/lib/samba/nss_info/sfu.so target=../idmap/ad.so
-link path=usr/lib/samba/nss_info/sfu20.so target=../idmap/ad.so
-# PAM
-link path=usr/lib/security/pam_smbpass.so target=pam_smbpass.so.1
-link path=usr/lib/security/pam_winbind.so target=pam_winbind.so.1
-link path=usr/lib/security/$(MACH64)/pam_smbpass.so target=pam_smbpass.so.1
-link path=usr/lib/security/$(MACH64)/pam_winbind.so target=pam_winbind.so.1
+dir  path=usr/share/samba/swat/lang/tr/include
+dir  path=usr/share/samba/swat/lang/tr/js
+dir  path=var group=sys
+dir  path=var/samba
+dir  path=var/samba/locks
+dir  path=var/samba/log
+dir  path=var/spool
+dir  path=var/spool/samba mode=1777
+legacy pkg=SUNWsmbar \
+    desc="samba - A Windows SMB/CIFS fileserver for UNIX (Root)" \
+    name="samba - A Windows SMB/CIFS fileserver for UNIX (Root)"
+legacy pkg=SUNWsmbau \
+    desc="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)" \
+    name="samba - A Windows SMB/CIFS fileserver for UNIX (Usr)"
+license samba-license license=GPLv3
+
+# Samba can be used in Asian multibyte language envs. so we need this
+depend type=require fmri=pkg:/system/library/iconv/unicode