[csw-devel] SF.net SVN: gar:[20201] csw/mgar/pkg/samba

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Wed Jan 23 08:51:29 CET 2013


Revision: 20201
          http://gar.svn.sourceforge.net/gar/?rev=20201&view=rev
Author:   janholzh
Date:     2013-01-23 07:51:28 +0000 (Wed, 23 Jan 2013)
Log Message:
-----------
update samba3 to 3.6.11 and branch it

Modified Paths:
--------------
    csw/mgar/pkg/samba/trunk/Makefile
    csw/mgar/pkg/samba/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/samba/branches/samba3/
    csw/mgar/pkg/samba/branches/samba3/Makefile
    csw/mgar/pkg/samba/branches/samba3/checksums

Removed Paths:
-------------
    csw/mgar/pkg/samba/branches/samba3/Makefile
    csw/mgar/pkg/samba/branches/samba3/checksums

Deleted: csw/mgar/pkg/samba/branches/samba3/Makefile
===================================================================
--- csw/mgar/pkg/samba/trunk/Makefile	2012-11-29 09:01:15 UTC (rev 19766)
+++ csw/mgar/pkg/samba/branches/samba3/Makefile	2013-01-23 07:51:28 UTC (rev 20201)
@@ -1,366 +0,0 @@
-# TBD:
-# - Check http://src.opensolaris.org/source/xref/userland/src/components/samba/samba/ from time to time
-
-NAME = samba
-VERSION = 3.6.9
-GARTYPE = v2
-
-DESCRIPTION = Tools to access a servers filespace and printers via SMB (server)
-define BLURB
-  Tools to access a servers filespace and printers via SMB (server)
-endef
-
-MASTER_SITES = http://samba.org/samba/ftp/stable/
-DISTFILES  = $(NAME)-$(VERSION).tar.gz
-DISTFILES += cswsamba
-DISTFILES += cswwinbind
-EXPANDVARS += cswsamba
-EXPANDVARS += cswwinbind
-EXPANDVARS += smb.conf
-
-# From http://www.reallylinux.com/docs/smb.conf
-DISTFILES += smb.conf
-
-# This is taken from the old Samba package
-DISTFILES += cswkrb5.conf
-
-#What needs to be fixed:
-# Split libs and packages
-
-BUILD_DEP_PKGS += CSWlibtalloc-dev
-PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
-
-PACKAGES += CSWsamba
-SPKG_DESC_CSWsamba = $(DESCRIPTION)
-# PKGFILES is catchall
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibfam0
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibreadline6
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibcups2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibwbclient0
-
-# Just docs override for now
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/lmhosts.5
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/smb.conf.5
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/nmbd.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smbd.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tdbbackup.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/idmap_tdb2.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/net.8
-CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/swat.8
-
-# Make one unified package for now
-OBSOLETED_BY_CSWsamba += CSWsambacommon
-CATALOGNAME_CSWsambacommon = samba_common_stub
-OBSOLETED_BY_CSWsamba += CSWsambadoc
-CATALOGNAME_CSWsambadoc = samba_doc_stub
-
-PACKAGES += CSWsamba-client
-SPKG_DESC_CSWsamba-client = Client binaries for samba
-SMB_CLIENT_TOOLS = rpcclient smbcacls smbclient smbcquotas smbget smbspool smbtar smbtree
-PKGFILES_CSWsamba-client += $(foreach T,$(SMB_CLIENT_TOOLS),$(call baseisadirs,$(bindir),$T) $(mandir)/man1/$T\.1)
-PKGFILES_CSWsamba-client += $(mandir)/man5/smbgetrc\.5
-PKGFILES_CSWsamba-client += $(mandir)/man8/smbspool\.8
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibreadline6
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtdb1
-OBSOLETED_BY_CSWsamba-client += CSWsambaclient
-CATALOGNAME_CSWsambaclient = samba_client_stub
-
-# Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-client += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smbclient.1
-
-#PACKAGES += CSWsambacommon
-SPKG_DESC_CSWsambacommon = Shared support files for samba
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWsasl
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWreadline
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibpopt
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibnet
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWkrb5lib
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWiconv
-RUNTIME_DEP_PKGS_CSWsambacommon += CSWggettext
-
-#PACKAGES += CSWsambadoc
-SPKG_DESC_CSWsambadoc = Samba documentation
-ARCHALL_CSWsambadoc = 1
-
-PACKAGES += CSWlibsmbclient0
-SPKG_DESC_CSWlibsmbclient0 = Samba client library, libsmbclient.so.0
-PKGFILES_CSWlibsmbclient0 += $(call pkgfiles_lib,libsmbclient.so.0)
-PKGFILES_CSWlibsmbclient0 += $(mandir)/man7/libsmbclient\.7
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtdb1
-OBSOLETED_BY_CSWlibsmbclient0 += CSWsambalib
-CATALOGNAME_CSWsambalib = samba_lib_stub
-
-PACKAGES += CSWlibnetapi0
-PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
-SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
-
-PACKAGES += CSWlibsmbsharemodes0
-PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
-SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
-
-PACKAGES += CSWlibtdb1
-PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
-SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
-RUNTIME_DEP_PKGS_CSWsamba += CSWlibtdb1
-
-PACKAGES += CSWlibwbclient0
-PKGFILES_CSWlibwbclient0 += $(call pkgfiles_lib,libwbclient.so.0)
-SPKG_DESC_CSWlibwbclient0 += Samba client library, libwbclient.so.0
-
-PACKAGES += CSWlibnetapi0
-PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
-SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibz1
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibldap2-4-2
-
-PACKAGES += CSWlibsmbsharemodes0
-PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
-SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
-RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibtdb1
-
-PACKAGES += CSWlibtdb1
-PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
-SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
-
-PACKAGES += CSWlibnss-winbind1
-PKGFILES_CSWlibnss-winbind1 += $(call pkgfiles_lib,libnss_winbind.so.1)
-SPKG_DESC_CSWlibnss-winbind1 += Winbind nss libary,libnss_winbind.so.1
-
-PACKAGES += CSWsamba-dev
-SPKG_DESC_CSWsamba-dev = Development files for Samba, libsmbclient.so.0
-PKGFILES_CSWsamba-dev += $(PKGFILES_DEVEL)
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbclient0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibnetapi0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbsharemodes0
-RUNTIME_DEP_PKGS_CSWsamba-dev += CSWsamba
-OBSOLETED_BY_CSWsamba-dev += CSWsambalibdev
-CATALOGNAME_CSWsambalibdev = samba_libdev_stub
-
-PACKAGES += CSWsamba-swat
-SPKG_DESC_CSWsamba-swat = Web-based samba administration tools
-PKGFILES_CSWsamba-swat += $(call baseisadirs,$(sbindir),swat)
-PKGFILES_CSWsamba-swat += $(mandir)/.*/swat\.*
-#PKGFILES_CSWsamba-swat += $(sharedstatedir)/samba/swat/.*
-PKGFILES_CSWsamba-swat += $(prefix)/swat/.*
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcups2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtdb1
-OBSOLETED_BY_CSWsamba-swat = CSWsambaswat
-CATALOGNAME_CSWsambaswat = samba_swat_stub
-
-# Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/secure.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/nw4migration.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-Developers-Guide/pwencrypt.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/classicalprinting.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/bugreport.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/compiling.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/NetworkBrowsing.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/domain-member.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/locking.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/samba-pdc.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/install.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/diagnosis.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/pam.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/winbind.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/AccessControls.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/swat.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/lmhosts.5.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/nmbd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/idmap_tdb2.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smb.conf.5.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/winbindd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbd.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/net.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/tdbbackup.8.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbclient.1.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/export/home|root/opt/csw/swat/help/Samba3-HOWTO/msdfs.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/happy.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/CUPS-printing.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
-CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ch-ldap-tls.html
-
-PACKAGES += CSWsamba-winbind
-SPKG_DESC_CSWsamba-winbind = Tools to authenticate users from active directory using winbind
-PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(libdir),security/pam_winbind\.so)
-PKGFILES_CSWsamba-winbind += $(sharedstatedir)/locale/.*/pam_winbind\.mo
-PKGFILES_CSWsamba-winbind += $(mandir)/man5/pam_winbind\.conf\.5
-PKGFILES_CSWsamba-winbind += $(mandir)/man7/winbind_krb5_locator\.7
-PKGFILES_CSWsamba-winbind += $(mandir)/man8/pam_winbind\.8
-PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(sbindir),winbindd)
-PKGFILES_CSWsamba-winbind += $(mandir)/man8/winbindd\.8
-PKGFILES_CSWsamba-winbind += /etc/opt/csw/init.d/cswwinbind
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibpopt0
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibiconv2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibz1
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibintl8
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtdb1
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibgssapi-krb5-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibk5crypto3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibwbclient0
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibkrb5-3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibcom-err3
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtalloc2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWliblber2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibldap2-4-2
-RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibnss-winbind1
-OBSOLETED_BY_CSWsamba-winbind += CSWsambawb
-CATALOGNAME_CSWsambawb = samba_wb_stub
-
-# Just docs, override for now
-CHECKPKG_OVERRIDES_CSWsamba-winbind += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/winbindd.8
-CHECKPKG_OVERRIDES_CSWsamba-winbind += surplus-dependency|CSWlibnss-winbind1
-
-EXTRA_CFLAGS = -lintl
-EXTRA_LDFLAGS = -lintl
-
-BUILD64 = 1
-ISAEXEC = 1
-
-SMBLOCKDIR = $(localstatedir)/samba/locks
-SMBLOGDIR = $(localstatedir)/samba/log
-SMBPRIVATEDIR = $(sysconfdir)/samba/private
-SMBCONFIGDIR = $(sysconfdir)/samba
-
-CONFIGURE_SCRIPTS = $(WORKSRC)/source3/configure
-CONFIGURE_ARGS += $(DIRPATHS)
-CONFIGURE_ARGS += --enable-shared=yes
-CONFIGURE_ARGS += --enable-static=no
-#CONFIGURE_ARGS += --enable-socket-wrapper
-#CONFIGURE_ARGS += --enable-nss-wrapper
-CONFIGURE_ARGS += --with-acl-support
-CONFIGURE_ARGS += --with-aio-support
-CONFIGURE_ARGS += --with-pam
-CONFIGURE_ARGS += --with-winbind
-CONFIGURE_ARGS += --with-static-modules=vfs_solarisacl
-CONFIGURE_ARGS += --with-shared-modules=vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
-CONFIGURE_ARGS += --with-readline
-CONFIGURE_ARGS += --with-ads
-CONFIGURE_ARGS += --with-ldap
-CONFIGURE_ARGS += --with-automount
-CONFIGURE_ARGS += --with-dnsupdate=no
-# Do not set krb5 this is handeled in gar. Otherwise 64bit will not build
-#CONFIGURE_ARGS += --with-krb5=$(prefix)
-CONFIGURE_ARGS += --with-privatedir=$(SMBPRIVATEDIR)
-CONFIGURE_ARGS += --with-configdir=$(SMBCONFIGDIR)
-CONFIGURE_ARGS += --with-lockdir=$(SMBLOCKDIR)
-CONFIGURE_ARGS += --with-statedir=$(SMBLOCKDIR)
-CONFIGURE_ARGS += --with-cachedir=$(SMBLOCKDIR)
-CONFIGURE_ARGS += --with-piddir=$(SMBLOCKDIR)
-
-CONFIGURE_ARGS += --with-logfilebase=$(SMBLOGDIR)
-
-CONFIGURE_ARGS-64 +=  --disable-cups
-CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL))
-
-# Can't use fdatasync atm do to linker problems
-CONFIGURE_ARGS += ac_cv_lib_rt_fdatasync=no
-CONFIGURE_ARGS += ac_cv_have_fdatasync_decl=no
-CONFIGURE_ARGS += ac_cv_lib_ext_rt_fdatasync=no
-
-
-
-BUILD_SCRIPTS = $(WORKSRC)/source3/Makefile
-
-TEST_SCRIPTS = $(WORKSRC)/source3/Makefile
-TEST_TARGET = test
-
-# Tests need root
-SKIPTEST ?= 1
-
-
-INSTALL_SCRIPTS = $(WORKSRC)/source3/Makefile
-
-INITSMF += /etc/opt/csw/init.d/cswsamba
-INITSMF += /etc/opt/csw/init.d/cswwinbind
-
-MIGRATE_FILES_CSWsamba += samba
-PRESERVECONF += $(sysconfdir)/samba/smb.conf
-
-include gar/category.mk
-
-# Use this hack until this bug has been fixed:
-#   https://bugzilla.samba.org/show_bug.cgi?id=8571
-post-extract-modulated:
-	# Make sure to EXCLUDE the include path from 'krb5-config --cflags' as it is prepended to CFLAGS
-	# leading to the inclusion of /opt/csw/include header files before the newly build ones.
-	# The line looks like this:
-	#   KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
-	# and after the transformation it looks like this:
-	#   KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s,-I/opt/csw/include,,`"
-	-perl -pi -e 's!/\@INCLUDE_des\@//!,-I$(includedir),,!' \
-		$(WORKSRC)/source3/configure
-
-post-install-modulated:
-	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
-	ginstall $(WORKDIR)/cswsamba $(DESTDIR)/etc/opt/csw/init.d/cswsamba
-	ginstall $(WORKDIR)/cswwinbind $(DESTDIR)/etc/opt/csw/init.d/cswwinbind
-	ginstall -d $(DESTDIR)/etc/opt/csw/samba
-	ginstall $(WORKDIR)/smb.conf $(DESTDIR)/etc/opt/csw/samba/smb.conf
-	ginstall $(WORKSRC)/nsswitch/libnss_winbind.so $(DESTDIR)/$(libdir)/libnss_winbind.so.1

Copied: csw/mgar/pkg/samba/branches/samba3/Makefile (from rev 19876, csw/mgar/pkg/samba/trunk/Makefile)
===================================================================
--- csw/mgar/pkg/samba/branches/samba3/Makefile	                        (rev 0)
+++ csw/mgar/pkg/samba/branches/samba3/Makefile	2013-01-23 07:51:28 UTC (rev 20201)
@@ -0,0 +1,366 @@
+# TBD:
+# - Check http://src.opensolaris.org/source/xref/userland/src/components/samba/samba/ from time to time
+
+NAME = samba
+VERSION = 3.6.11
+GARTYPE = v2
+
+DESCRIPTION = Tools to access a servers filespace and printers via SMB (server)
+define BLURB
+  Tools to access a servers filespace and printers via SMB (server)
+endef
+
+MASTER_SITES = http://samba.org/samba/ftp/stable/
+DISTFILES  = $(NAME)-$(VERSION).tar.gz
+DISTFILES += cswsamba
+DISTFILES += cswwinbind
+EXPANDVARS += cswsamba
+EXPANDVARS += cswwinbind
+EXPANDVARS += smb.conf
+
+# From http://www.reallylinux.com/docs/smb.conf
+DISTFILES += smb.conf
+
+# This is taken from the old Samba package
+DISTFILES += cswkrb5.conf
+
+#What needs to be fixed:
+# Split libs and packages
+
+BUILD_DEP_PKGS += CSWlibtalloc-dev
+PACKAGING_PLATFORMS = solaris10-sparc solaris10-i386
+
+PACKAGES += CSWsamba
+SPKG_DESC_CSWsamba = $(DESCRIPTION)
+# PKGFILES is catchall
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibfam0
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibcups2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibwbclient0
+
+# Just docs override for now
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/lmhosts.5
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man5/smb.conf.5
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/nmbd.8
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/smbd.8
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/tdbbackup.8
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/idmap_tdb2.8
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/net.8
+CHECKPKG_OVERRIDES_CSWsamba += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/swat.8
+
+# Make one unified package for now
+OBSOLETED_BY_CSWsamba += CSWsambacommon
+CATALOGNAME_CSWsambacommon = samba_common_stub
+OBSOLETED_BY_CSWsamba += CSWsambadoc
+CATALOGNAME_CSWsambadoc = samba_doc_stub
+
+PACKAGES += CSWsamba-client
+SPKG_DESC_CSWsamba-client = Client binaries for samba
+SMB_CLIENT_TOOLS = rpcclient smbcacls smbclient smbcquotas smbget smbspool smbtar smbtree
+PKGFILES_CSWsamba-client += $(foreach T,$(SMB_CLIENT_TOOLS),$(call baseisadirs,$(bindir),$T) $(mandir)/man1/$T\.1)
+PKGFILES_CSWsamba-client += $(mandir)/man5/smbgetrc\.5
+PKGFILES_CSWsamba-client += $(mandir)/man8/smbspool\.8
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibreadline6
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba-client += CSWlibtdb1
+OBSOLETED_BY_CSWsamba-client += CSWsambaclient
+CATALOGNAME_CSWsambaclient = samba_client_stub
+
+# Just docs, override for now
+CHECKPKG_OVERRIDES_CSWsamba-client += file-with-bad-content|/usr/local|root/opt/csw/share/man/man1/smbclient.1
+
+#PACKAGES += CSWsambacommon
+SPKG_DESC_CSWsambacommon = Shared support files for samba
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWsasl
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWreadline
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibpopt
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWlibnet
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWkrb5lib
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWiconv
+RUNTIME_DEP_PKGS_CSWsambacommon += CSWggettext
+
+#PACKAGES += CSWsambadoc
+SPKG_DESC_CSWsambadoc = Samba documentation
+ARCHALL_CSWsambadoc = 1
+
+PACKAGES += CSWlibsmbclient0
+SPKG_DESC_CSWlibsmbclient0 = Samba client library, libsmbclient.so.0
+PKGFILES_CSWlibsmbclient0 += $(call pkgfiles_lib,libsmbclient.so.0)
+PKGFILES_CSWlibsmbclient0 += $(mandir)/man7/libsmbclient\.7
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWlibsmbclient0 += CSWlibtdb1
+OBSOLETED_BY_CSWlibsmbclient0 += CSWsambalib
+CATALOGNAME_CSWsambalib = samba_lib_stub
+
+PACKAGES += CSWlibnetapi0
+PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
+SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
+
+PACKAGES += CSWlibsmbsharemodes0
+PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
+SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
+
+PACKAGES += CSWlibtdb1
+PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
+SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
+RUNTIME_DEP_PKGS_CSWsamba += CSWlibtdb1
+
+PACKAGES += CSWlibwbclient0
+PKGFILES_CSWlibwbclient0 += $(call pkgfiles_lib,libwbclient.so.0)
+SPKG_DESC_CSWlibwbclient0 += Samba client library, libwbclient.so.0
+
+PACKAGES += CSWlibnetapi0
+PKGFILES_CSWlibnetapi0 += $(call pkgfiles_lib,libnetapi.so.0)
+SPKG_DESC_CSWlibnetapi0 += Samba client library, libnetapi.so.0
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibz1
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtdb1
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWlibnetapi0 += CSWlibldap2-4-2
+
+PACKAGES += CSWlibsmbsharemodes0
+PKGFILES_CSWlibsmbsharemodes0 += $(call pkgfiles_lib,libsmbsharemodes.so.0)
+SPKG_DESC_CSWlibsmbsharemodes0 += Samba client library, libsmbsharemodes.so.0
+RUNTIME_DEP_PKGS_CSWlibsmbsharemodes0 += CSWlibtdb1
+
+PACKAGES += CSWlibtdb1
+PKGFILES_CSWlibtdb1 += $(call pkgfiles_lib,libtdb.so.1)
+SPKG_DESC_CSWlibtdb1 += Samba client library, libtdb.so.1
+
+PACKAGES += CSWlibnss-winbind1
+PKGFILES_CSWlibnss-winbind1 += $(call pkgfiles_lib,libnss_winbind.so.1)
+SPKG_DESC_CSWlibnss-winbind1 += Winbind nss libary,libnss_winbind.so.1
+
+PACKAGES += CSWsamba-dev
+SPKG_DESC_CSWsamba-dev = Development files for Samba, libsmbclient.so.0
+PKGFILES_CSWsamba-dev += $(PKGFILES_DEVEL)
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbclient0
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibnetapi0
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibtdb1
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWlibsmbsharemodes0
+RUNTIME_DEP_PKGS_CSWsamba-dev += CSWsamba
+OBSOLETED_BY_CSWsamba-dev += CSWsambalibdev
+CATALOGNAME_CSWsambalibdev = samba_libdev_stub
+
+PACKAGES += CSWsamba-swat
+SPKG_DESC_CSWsamba-swat = Web-based samba administration tools
+PKGFILES_CSWsamba-swat += $(call baseisadirs,$(sbindir),swat)
+PKGFILES_CSWsamba-swat += $(mandir)/.*/swat\.*
+#PKGFILES_CSWsamba-swat += $(sharedstatedir)/samba/swat/.*
+PKGFILES_CSWsamba-swat += $(prefix)/swat/.*
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibcups2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba-swat += CSWlibtdb1
+OBSOLETED_BY_CSWsamba-swat = CSWsambaswat
+CATALOGNAME_CSWsambaswat = samba_swat_stub
+
+# Just docs, override for now
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/secure.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-ByExample/nw4migration.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-Developers-Guide/pwencrypt.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/classicalprinting.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/bugreport.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/compiling.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/NetworkBrowsing.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/domain-member.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/locking.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/samba-pdc.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/install.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/diagnosis.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/pam.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/winbind.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/Samba3-HOWTO/AccessControls.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/swat.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/lmhosts.5.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/nmbd.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/idmap_tdb2.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smb.conf.5.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/winbindd.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbd.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/net.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/tdbbackup.8.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/local|root/opt/csw/swat/help/manpages/smbclient.1.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/export/home|root/opt/csw/swat/help/Samba3-HOWTO/msdfs.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/appendix.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/upgrades.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-ByExample/happy.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/VFS.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/CUPS-printing.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/SWAT.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ix01.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/FastStart.html
+CHECKPKG_OVERRIDES_CSWsamba-swat += file-with-bad-content|/usr/share|root/opt/csw/swat/help/Samba3-HOWTO/ch-ldap-tls.html
+
+PACKAGES += CSWsamba-winbind
+SPKG_DESC_CSWsamba-winbind = Tools to authenticate users from active directory using winbind
+PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(libdir),security/pam_winbind\.so)
+PKGFILES_CSWsamba-winbind += $(sharedstatedir)/locale/.*/pam_winbind\.mo
+PKGFILES_CSWsamba-winbind += $(mandir)/man5/pam_winbind\.conf\.5
+PKGFILES_CSWsamba-winbind += $(mandir)/man7/winbind_krb5_locator\.7
+PKGFILES_CSWsamba-winbind += $(mandir)/man8/pam_winbind\.8
+PKGFILES_CSWsamba-winbind += $(call baseisadirs,$(sbindir),winbindd)
+PKGFILES_CSWsamba-winbind += $(mandir)/man8/winbindd\.8
+PKGFILES_CSWsamba-winbind += /etc/opt/csw/init.d/cswwinbind
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibpopt0
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibiconv2
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibz1
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibintl8
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtdb1
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibgssapi-krb5-2
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibk5crypto3
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibwbclient0
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibkrb5-3
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibcom-err3
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibtalloc2
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWliblber2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibldap2-4-2
+RUNTIME_DEP_PKGS_CSWsamba-winbind += CSWlibnss-winbind1
+OBSOLETED_BY_CSWsamba-winbind += CSWsambawb
+CATALOGNAME_CSWsambawb = samba_wb_stub
+
+# Just docs, override for now
+CHECKPKG_OVERRIDES_CSWsamba-winbind += file-with-bad-content|/usr/local|root/opt/csw/share/man/man8/winbindd.8
+CHECKPKG_OVERRIDES_CSWsamba-winbind += surplus-dependency|CSWlibnss-winbind1
+
+EXTRA_CFLAGS = -lintl
+EXTRA_LDFLAGS = -lintl
+
+BUILD64 = 1
+ISAEXEC = 1
+
+SMBLOCKDIR = $(localstatedir)/samba/locks
+SMBLOGDIR = $(localstatedir)/samba/log
+SMBPRIVATEDIR = $(sysconfdir)/samba/private
+SMBCONFIGDIR = $(sysconfdir)/samba
+
+CONFIGURE_SCRIPTS = $(WORKSRC)/source3/configure
+CONFIGURE_ARGS += $(DIRPATHS)
+CONFIGURE_ARGS += --enable-shared=yes
+CONFIGURE_ARGS += --enable-static=no
+#CONFIGURE_ARGS += --enable-socket-wrapper
+#CONFIGURE_ARGS += --enable-nss-wrapper
+CONFIGURE_ARGS += --with-acl-support
+CONFIGURE_ARGS += --with-aio-support
+CONFIGURE_ARGS += --with-pam
+CONFIGURE_ARGS += --with-winbind
+CONFIGURE_ARGS += --with-static-modules=vfs_solarisacl
+CONFIGURE_ARGS += --with-shared-modules=vfs_zfsacl,vfs_prealloc,vfs_cacheprime,vfs_commit,idmap_ldap,idmap_tdb2,idmap_rid,idmap_ad,idmap_hash,idmap_adex
+CONFIGURE_ARGS += --with-readline
+CONFIGURE_ARGS += --with-ads
+CONFIGURE_ARGS += --with-ldap
+CONFIGURE_ARGS += --with-automount
+CONFIGURE_ARGS += --with-dnsupdate=no
+# Do not set krb5 this is handeled in gar. Otherwise 64bit will not build
+#CONFIGURE_ARGS += --with-krb5=$(prefix)
+CONFIGURE_ARGS += --with-privatedir=$(SMBPRIVATEDIR)
+CONFIGURE_ARGS += --with-configdir=$(SMBCONFIGDIR)
+CONFIGURE_ARGS += --with-lockdir=$(SMBLOCKDIR)
+CONFIGURE_ARGS += --with-statedir=$(SMBLOCKDIR)
+CONFIGURE_ARGS += --with-cachedir=$(SMBLOCKDIR)
+CONFIGURE_ARGS += --with-piddir=$(SMBLOCKDIR)
+
+CONFIGURE_ARGS += --with-logfilebase=$(SMBLOGDIR)
+
+CONFIGURE_ARGS-64 +=  --disable-cups
+CONFIGURE_ARGS += $(CONFIGURE_ARGS-$(MEMORYMODEL))
+
+# Can't use fdatasync atm do to linker problems
+CONFIGURE_ARGS += ac_cv_lib_rt_fdatasync=no
+CONFIGURE_ARGS += ac_cv_have_fdatasync_decl=no
+CONFIGURE_ARGS += ac_cv_lib_ext_rt_fdatasync=no
+
+
+
+BUILD_SCRIPTS = $(WORKSRC)/source3/Makefile
+
+TEST_SCRIPTS = $(WORKSRC)/source3/Makefile
+TEST_TARGET = test
+
+# Tests need root
+SKIPTEST ?= 1
+
+
+INSTALL_SCRIPTS = $(WORKSRC)/source3/Makefile
+
+INITSMF += /etc/opt/csw/init.d/cswsamba
+INITSMF += /etc/opt/csw/init.d/cswwinbind
+
+MIGRATE_FILES_CSWsamba += samba
+PRESERVECONF += $(sysconfdir)/samba/smb.conf
+
+include gar/category.mk
+
+# Use this hack until this bug has been fixed:
+#   https://bugzilla.samba.org/show_bug.cgi?id=8571
+post-extract-modulated:
+	# Make sure to EXCLUDE the include path from 'krb5-config --cflags' as it is prepended to CFLAGS
+	# leading to the inclusion of /opt/csw/include header files before the newly build ones.
+	# The line looks like this:
+	#   KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s/@INCLUDE_des@//`"
+	# and after the transformation it looks like this:
+	#   KRB5_CFLAGS="`$KRB5CONFIG --cflags | sed s,-I/opt/csw/include,,`"
+	-perl -pi -e 's!/\@INCLUDE_des\@//!,-I$(includedir),,!' \
+		$(WORKSRC)/source3/configure
+
+post-install-modulated:
+	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
+	ginstall $(WORKDIR)/cswsamba $(DESTDIR)/etc/opt/csw/init.d/cswsamba
+	ginstall $(WORKDIR)/cswwinbind $(DESTDIR)/etc/opt/csw/init.d/cswwinbind
+	ginstall -d $(DESTDIR)/etc/opt/csw/samba
+	ginstall $(WORKDIR)/smb.conf $(DESTDIR)/etc/opt/csw/samba/smb.conf
+	ginstall $(WORKSRC)/nsswitch/libnss_winbind.so $(DESTDIR)/$(libdir)/libnss_winbind.so.1

Deleted: csw/mgar/pkg/samba/branches/samba3/checksums
===================================================================
--- csw/mgar/pkg/samba/trunk/checksums	2012-11-29 09:01:15 UTC (rev 19766)
+++ csw/mgar/pkg/samba/branches/samba3/checksums	2013-01-23 07:51:28 UTC (rev 20201)
@@ -1 +0,0 @@
-0c48bbeb9549fcda37f108aa3c2a817f  samba-3.6.9.tar.gz

Copied: csw/mgar/pkg/samba/branches/samba3/checksums (from rev 19876, csw/mgar/pkg/samba/trunk/checksums)
===================================================================
--- csw/mgar/pkg/samba/branches/samba3/checksums	                        (rev 0)
+++ csw/mgar/pkg/samba/branches/samba3/checksums	2013-01-23 07:51:28 UTC (rev 20201)
@@ -0,0 +1 @@
+9039e0ab3e4fc632ff0a1a8f2433edb4  samba-3.6.11.tar.gz

Modified: csw/mgar/pkg/samba/trunk/Makefile
===================================================================
--- csw/mgar/pkg/samba/trunk/Makefile	2013-01-23 07:40:43 UTC (rev 20200)
+++ csw/mgar/pkg/samba/trunk/Makefile	2013-01-23 07:51:28 UTC (rev 20201)
@@ -2,7 +2,7 @@
 # - Check http://src.opensolaris.org/source/xref/userland/src/components/samba/samba/ from time to time
 
 NAME = samba
-VERSION = 3.6.10
+VERSION = 4.0.0
 GARTYPE = v2
 
 DESCRIPTION = Tools to access a servers filespace and printers via SMB (server)
@@ -288,7 +288,7 @@
 SMBPRIVATEDIR = $(sysconfdir)/samba/private
 SMBCONFIGDIR = $(sysconfdir)/samba
 
-CONFIGURE_SCRIPTS = $(WORKSRC)/source3/configure
+#CONFIGURE_SCRIPTS = $(WORKSRC)/source4/configure
 CONFIGURE_ARGS += $(DIRPATHS)
 CONFIGURE_ARGS += --enable-shared=yes
 CONFIGURE_ARGS += --enable-static=no
@@ -326,16 +326,16 @@
 
 
 
-BUILD_SCRIPTS = $(WORKSRC)/source3/Makefile
+#BUILD_SCRIPTS = $(WORKSRC)/source4/Makefile
 
-TEST_SCRIPTS = $(WORKSRC)/source3/Makefile
+#TEST_SCRIPTS = $(WORKSRC)/source4/Makefile
 TEST_TARGET = test
 
 # Tests need root
 SKIPTEST ?= 1
 
 
-INSTALL_SCRIPTS = $(WORKSRC)/source3/Makefile
+#INSTALL_SCRIPTS = $(WORKSRC)/source4/Makefile
 
 INITSMF += /etc/opt/csw/init.d/cswsamba
 INITSMF += /etc/opt/csw/init.d/cswwinbind

Modified: csw/mgar/pkg/samba/trunk/checksums
===================================================================
--- csw/mgar/pkg/samba/trunk/checksums	2013-01-23 07:40:43 UTC (rev 20200)
+++ csw/mgar/pkg/samba/trunk/checksums	2013-01-23 07:51:28 UTC (rev 20201)
@@ -1 +1 @@
-b5f0560c216122529b1c3b7f41c62567  samba-3.6.10.tar.gz
+93e9aad40893ba48d08e1b28e7efff72  samba-4.0.0.tar.gz

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list