ports/160190: New port: net/samba36-devel Test version of Samba 3.6 port

Sergey Zaykov mail_of_sergey at mail.ru
Thu Aug 25 19:20:07 UTC 2011


>Number:         160190
>Category:       ports
>Synopsis:       New port: net/samba36-devel Test version of Samba 3.6 port
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 25 19:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Zaykov
>Release:        FreeBSD 8.2-RELEASE i386
>Organization:
>Environment:
FreeBSD samba.acc.tula.ru 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Tue Aug 23 23:19:19 MSD 2011 root at samba.acc.tula.ru:/usr/obj/usr/src/sys/SAMBA i386
>Description:
Workpiece for Samba 3.
It be compliled and ran with default.
Please test, submit bugreports, patches and successful stories.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	samba36-devel
#	samba36-devel/Makefile
#	samba36-devel/pkg-descr~
#	samba36-devel/pkg-descr
#	samba36-devel/pkg-plist
#	samba36-devel/pkg-plist.swat
#	samba36-devel/distinfo
#	samba36-devel/files
#	samba36-devel/files/pkg-deinstall.in
#	samba36-devel/files/pkg-install.in
#	samba36-devel/files/pkg-message.in
#	samba36-devel/files/smb.conf.sample.in
#	samba36-devel/files/samba.in
#	samba36-devel/files/patch__source3__script__installmodules.sh
#	samba36-devel/todo
#
echo c - samba36-devel
mkdir -p samba36-devel > /dev/null 2>&1
echo x - samba36-devel/Makefile
sed 's/^X//' >samba36-devel/Makefile << '7204aca25ea399d072652a2586f62a06'
X# New ports collection makefile for:	samba36
X# Date created:				1 May 2011
X# Whom:					timur at FreeBSD.org
X#
X# $FreeBSD: ports/net/samba36/Makefile,v 1.5 2010/12/04 07:33:00 ade Exp $
X#
X
XPORTNAME=		${SAMBA_BASENAME}36
XPORTVERSION=		3.6.0
XPORTREVISION?=		0
XCATEGORIES?=		net
XMASTER_SITES=		${MASTER_SITE_SAMBA}
XMASTER_SITE_SUBDIR=	. old-versions rc pre
XDISTNAME=		${SAMBA_BASENAME}-${PORTVERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|}
X
XMAINTAINER=		mail_of_sergey at mail.ru
XCOMMENT=		A free SMB and CIFS client and server for UNIX test version of port
X
XLICENSE=		GPLv3
XLICENSE_FILE=		${WRKDIR}/${DISTNAME}/COPYING
X
XCONFLICTS=		*samba3[0-5]-3.* sharity-light-1.*
X
XSAMBA_BASENAME=		samba
X
XLATEST_LINK=		${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
XEXAMPLESDIR=		${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
XPATCH_WRKSRC=		${WRKDIR}/${DISTNAME}
XWRKSRC=			${WRKDIR}/${DISTNAME}/source3
XIPATHS=			-I${WRKDIR}/${DISTNAME}/source3/m4 -I${WRKDIR}/${DISTNAME}/m4 -I${WRKDIR}/${DISTNAME}/lib/replace -I${WRKDIR}/${DISTNAME}/source4
XAUTOHEADER_ARGS=	${IPATHS}
XAUTOCONF_ARGS=		${IPATHS}
X
XUSE_GMAKE=		yes
XUSE_ICONV=		yes
XGNU_CONFIGURE=		yes
XUSE_AUTOTOOLS=		autoconf autoheader
X# directories
XVARDIR?=		/var
XSAMBA_SPOOL?=		${VARDIR}/spool/${SAMBA_BASENAME}
XSAMBA_LOGDIR=		${VARDIR}/log/${SAMBA_BASENAME}
XSAMBA_RUNDIR=		${VARDIR}/run/${SAMBA_BASENAME}
XSAMBA_LOCKDIR?=		${VARDIR}/db/${SAMBA_BASENAME}
XSAMBA_CONFIG?=		smb.conf
XSAMBA_CONFDIR?=		${PREFIX}/etc
XRC_DIR=			${PREFIX}/etc/rc.d
XSAMBA_SWATDIR=		${PREFIX}/share/swat
XSAMBA_LIBDIR=		${PREFIX}/lib
XSAMBA_MODULEDIR=	${SAMBA_LIBDIR}/${SAMBA_BASENAME}
XSAMBA_INCLUDEDIR=	${PREFIX}/include/${SAMBA_BASENAME}
XSAMBA_PRIVATEDIR?=	${SAMBA_CONFDIR}/${SAMBA_BASENAME}
X
XCONFIGURE_ARGS+=	--exec-prefix="${PREFIX}" \
X			--sysconfdir="${SAMBA_CONFDIR}" \
X			--with-configdir="${SAMBA_CONFDIR}" \
X			--includedir="${SAMBA_INCLUDEDIR}" \
X			--datadir="${DATADIR}" \
X			--with-swatdir="${SAMBA_SWATDIR}" \
X			--libdir="${SAMBA_LIBDIR}" \
X			--with-modulesdir="${SAMBA_MODULEDIR}" \
X			--with-pammodulesdir="${SAMBA_LIBDIR}" \
X			--localstatedir="${VARDIR}" \
X			--with-piddir="${SAMBA_RUNDIR}" \
X			--with-ncalrpcdir="${SAMBA_RUNDIR}/ncalrpc" \
X			--with-lockdir="${SAMBA_LOCKDIR}" \
X			--with-statedir="${SAMBA_LOCKDIR}" \
X			--with-cachedir="${SAMBA_LOCKDIR}" \
X			--with-privatedir="${SAMBA_PRIVATEDIR}" \
X			--with-logfilebase="${SAMBA_LOGDIR}"
X
XCPPFLAGS+=		-I${LOCALBASE}/include
XLDFLAGS+=		-L${LOCALBASE}/lib
X
X#CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
XCONFIGURE_ENV+=		LDFLAGS="${LDFLAGS}" \
X			PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
X			PTHREAD_LDFLAGS="${PTHREAD_LIBS}"
X# pkg-config is used to find talloc
XPKGCONFIGDIR?=		${PREFIX}/libdata/pkgconfig
XPKGCONFIGDIR_REL?=	${PKGCONFIGDIR:S|^${PREFIX}/||}
X
XPKG_CONFIG?=		${LOCALBASE}/bin/pkg-config
XCONFIGURE_ENV+=		PKG_CONFIG="${PKG_CONFIG}"
XBUILD_DEPENDS+=		${PKG_CONFIG}:${PORTSDIR}/devel/pkg-config
X# Let process generate meaningful backtrace on a core dump
XLIB_DEPENDS+=		execinfo.1:${PORTSDIR}/devel/libexecinfo
X# tdb
XBUILD_DEPENDS+=		tdb>=1.2.1:${PORTSDIR}/databases/tdb
XRUN_DEPENDS+=		tdb>=1.2.1:${PORTSDIR}/databases/tdb
XCONFIGURE_ARGS+=	--without-libtdb --enable-external-libtdb
X# talloc
XBUILD_DEPENDS+=		talloc>=2.0.1:${PORTSDIR}/devel/talloc
XRUN_DEPENDS+=		talloc>=2.0.1:${PORTSDIR}/devel/talloc
XCONFIGURE_ARGS+=	--without-libtalloc --enable-external-libtalloc
X# These options are common for all (sub)ports --disable-pie --disable-as-needed
XCONFIGURE_ARGS+=	--with-libiconv="${LOCALBASE}"
X
X.if !defined(SAMBA_SUBPORT)
XOPTIONS=	LDAP		"With LDAP support" on \
X		ADS		"With Active Directory support" off \
X		CUPS		"With CUPS printing support" on \
X		WINBIND		"With WinBIND support" on \
X		SWAT		"With SWAT WebGUI" off \
X		ACL_SUPPORT	"With ACL support" off \
X		AIO_SUPPORT	"With Asyncronous IO support" off \
X		FAM_SUPPORT	"With File Alteration Monitor" off \
X		SYSLOG		"With Syslog support" off \
X		QUOTAS		"With Disk quota support" off \
X		UTMP		"With UTMP accounting support" off \
X		PAM_SMBPASS	"With PAM authentication vs passdb backends" off \
X		DNSUPDATE	"With dynamic DNS update(require ADS)" off \
X		AVAHI		"With Bonjour service discovery support" off \
X		EXP_MODULES	"With experimental modules" off \
X		POPT		"With system-wide POPT library" on \
X		IPV6		"With IPv6 support" on \
X		MAX_DEBUG	"With maximum debugging" off \
X		SMBTORTURE	"With smbtorture" off
X# !SAMBA_SUBPORT
X.endif
X
X.include <bsd.port.options.mk>
X# XXX
X.if ${OSVERSION} >= 701000 && ${OSVERSION} < 702000
XIGNORE=			databases/tdb crashes on FreeBSD 7.1. Please, consider upgrading to 7.2 or higher
X.endif
X
X.if defined(SAMBA_SUBPORT)
X# Switch off all extra functionality
XCONFIGURE_ARGS+=	--disable-cups --disable-fam --without-winbind \
X			--without-syslog --without-quotas --without-utmp \
X			--without-pam --without-pam_smbpass \
X			--without-aio-support
X# Dirty hack to work around usage of OPTIONS in slave ports
X.	if exists(${.CURDIR}/Makefile.inc)
X.		include "${.CURDIR}/Makefile.inc"
X.	endif
X.else
X# Samba server itself
XUSE_RC_SUBR=		${SAMBA_BASENAME}
XSUB_FILES=		pkg-install pkg-message pkg-deinstall smb.conf.sample
X
XPLIST=			${WRKDIR}/.PLIST
X# We don't (yet) have clustered FS for cluster support
XCONFIGURE_ARGS+=	--with-pam --with-readline=/usr \
X			--with-included-iniparser \
X			--with-sendfile-support \
X			--enable-largefile \
X			--without-cluster-support \
X			--without-libsmbclient \
X			--without-libaddns \
X			--without-libnetapi \
X			--without-libsmbsharemodes
X
X# XXX: Temporary hack for RELENG6
XCONFIGURE_ENV+=		ac_cv_header_sys_mount_h=yes
X.if !defined(WITH_IPV6)
XCONFIGURE_ENV+=		libreplace_cv_HAVE_IPV6=no
X.endif
X
X.if !defined(WITHOUT_LDAP)
XSAMBA_WANT_LDAP=	yes
X.endif
X
X.if !defined(WITHOUT_CUPS)
XLIB_DEPENDS+=		cups.2:${PORTSDIR}/print/cups-client
XCONFIGURE_ARGS+=	--enable-cups --enable-iprint
XSUB_LIST+=		CUPS=""
X.else
XCONFIGURE_ARGS+=	--disable-cups --disable-iprint
XSUB_LIST+=		CUPS="@comment "
X.endif
X
X.if defined(WITH_MAX_DEBUG)
XCPPFLAGS+=		-g
XLDFLAGS+=		-g
XLIB_DEPENDS+=		dmalloc.1:${PORTSDIR}/devel/dmalloc
XCONFIGURE_ARGS+=	--enable-debug \
X			--enable-socket-wrapper --enable-nss-wrapper \
X			--enable-developer --enable-krb5developer \
X			--enable-dmalloc --with-profiling-data
X
XCONFIGURE_ARGS+=	--with-smbtorture4-path=${WRKDIR}/${DISTNAME}/source4/torture
X.else
XCONFIGURE_ARGS+=	--disable-debug \
X			--disable-socket-wrapper --disable-nss-wrapper \
X			--disable-developer --disable-krb5developer \
X			--disable-dmalloc --without-profiling-data
X.endif
X
X.if defined(WITH_SYSLOG)
XCONFIGURE_ARGS+=	--with-syslog
X.else
XCONFIGURE_ARGS+=	--without-syslog
X.endif
X
X.if defined(WITH_QUOTAS)
XCONFIGURE_ARGS+=	--with-quotas
X.else
XCONFIGURE_ARGS+=	--without-quotas
X.endif
X
X.if !defined(WITHOUT_UTMP)
XCONFIGURE_ARGS+=	--with-utmp
X.else
XCONFIGURE_ARGS+=	--without-utmp
X.endif
X
X.if !defined(WITHOUT_WINBIND)
XCONFIGURE_ARGS+=	--with-winbind
XPLIST_SUB+=		WINBIND=""
XSUB_LIST+=		WINBIND=""
X.else
XCONFIGURE_ARGS+=	--without-winbind
XPLIST_SUB+=		WINBIND="@comment "
XSUB_LIST+=		WINBIND="@comment "
X.endif
X
X.if !defined(WITHOUT_SWAT)
XCONFIGURE_ARGS+=	--enable-swat
XPLIST_SUB+=		SWAT=""
X.else
XCONFIGURE_ARGS+=	--disable-swat
XPLIST_SUB+=		SWAT="@comment "
X.endif
X# Add some shared modules
X.if defined(WITH_EXP_MODULES)
X.	if !defined(WANT_EXP_MODULES) || empty(WANT_EXP_MODULES)
XWANT_EXP_MODULES=	idmap_tdb2 idmap_ad idmap_adex idmap_hash idmap_rid \
X			charset_weird
X.		if !defined(WITH_MAX_DEBUG)
XWANT_EXP_MODULES+=	rpc_echo
X.		endif
XWANT_EXP_MODULES+=	vfs_cacheprime vfs_catia vfs_commit vfs_dirsort \
X			vfs_readahead vfs_streams_depot vfs_syncops
X.	endif
X.endif
X
X.if defined(WITH_FAM_SUPPORT)
XUSE_FAM=		yes
XWANT_EXP_MODULES+=	vfs_notify_fam
XCONFIGURE_ARGS+=	--enable-fam
X.else
XCONFIGURE_ARGS+=	--disable-fam
X.endif
X
X.if defined(WITH_ACL_SUPPORT)
XCONFIGURE_ARGS+=	--with-acl-support
X.	if ${OSVERSION} > 800000
XWANT_EXP_MODULES+=	vfs_zfsacl
XLIB_DEPENDS+=		sunacl.1:${PORTSDIR}/sysutils/libsunacl
X.	endif
X.else
XCONFIGURE_ARGS+=	--without-acl-support
X.endif
X
X.if defined(WITH_AIO_SUPPORT)
X.if ${OSVERSION} < 700055
XIGNORE=			an AIO support requires 7.0-RELEASE or later. Disable AIO support
X.endif
XCONFIGURE_ARGS+=	--with-aio-support
X.else
XCONFIGURE_ARGS+=	--without-aio-support
X.endif
X
X.if defined(WITH_PAM_SMBPASS)
XCONFIGURE_ARGS+=	--with-pam_smbpass
XPLIST_SUB+=		SMBPASS=""
X.else
XCONFIGURE_ARGS+=	--without-pam_smbpass
XPLIST_SUB+=		SMBPASS="@comment "
X.endif
X
X.if defined(WITH_DNSUPDATE)
X.	if !defined(WITH_ADS)
XIGNORE=			dynamic DNS updates require ADS support. Disable DNSUPDATE support
X.	endif
XLIB_DEPENDS+=		uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
XCONFIGURE_ARGS+=	--with-dnsupdate
X.else
XCONFIGURE_ARGS+=	--without-dnsupdate
X.endif
X
X.if defined(WITH_AVAHI)
XCPPFLAGS+=		`${PKG_CONFIG} --cflags avahi-client`
XDNSSD_LIBS=		`${PKG_CONFIG} --libs avahi-client`
XLIB_DEPENDS+=		avahi-client.3:${PORTSDIR}/net/avahi-app
XCONFIGURE_ARGS+=	--enable-avahi
X.else
XCONFIGURE_ARGS+=	--disable-avahi
X.endif
X
X.if !defined(WITHOUT_POPT)
XLIB_DEPENDS+=		popt.0:${PORTSDIR}/devel/popt
XCONFIGURE_ARGS+=	--without-included-popt
X.else
XCONFIGURE_ARGS+=	--with-included-popt
X.endif
X
X#--enable-pthreadpool
X
X.if defined(WITH_SMBTORTURE)
XPLIST_SUB+=		SMBTORTURE=""
X.else
XPLIST_SUB+=		SMBTORTURE="@comment "
X.endif
X# !SAMBA_SUBPORT
X.endif
X
X###
X### Common part for port and it's subports
X###
X
X.if defined(WITH_ADS)
XSAMBA_WANT_LDAP=	yes
XSAMBA_WANT_KRB5=	yes
XCONFIGURE_ARGS+=	--with-ads
X.else
XCONFIGURE_ARGS+=	--without-ads
X.endif
X# Kerberos5 is necessary for ADS
X.if defined(SAMBA_WANT_KRB5)
X.if defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.so)
XCONFIGURE_ARGS+=	--with-krb5="${KRB5_HOME}"
X.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.so)
XCONFIGURE_ARGS+=	--with-krb5="${HEIMDAL_HOME}"
X.elif exists(/usr/lib/libkrb5.so) && exists(/usr/bin/krb5-config)
XCONFIGURE_ARGS+=	--with-krb5="/usr"
X.else
XLIB_DEPENDS+=		krb5:${PORTSDIR}/security/heimdal
XCONFIGURE_ARGS+=	--with-krb5="${LOCALBASE}"
X.endif
X.else
XCONFIGURE_ARGS+=	--without-krb5
X.endif
X
X.if defined(SAMBA_WANT_LDAP)
XUSE_OPENLDAP=		yes
XCONFIGURE_ARGS+=	--with-ldap
X.else
XCONFIGURE_ARGS+=	--without-ldap
X.endif
X
X.if defined(WANT_EXP_MODULES) && !empty(WANT_EXP_MODULES)
XCONFIGURE_ARGS+=	--with-shared-modules="${WANT_EXP_MODULES:Q:C/(\\\\ )+/,/g}"
X.endif
X
X.include <bsd.port.pre.mk>
X
Xpost-patch:
X		@${REINPLACE_CMD} -e 's|%%SAMBA_CONFIG%%|${SAMBA_CONFIG}|g' \
X		    ${WRKSRC}/Makefile.in
X###
X### end of common part
X###
X
X.if !defined(SAMBA_SUBPORT)
X# Samba server only
XMAN1=		findsmb.1 \
X		ldbadd.1 ldbdel.1 ldbedit.1 ldbmodify.1 ldbrename.1 ldbsearch.1 \
X		log2pcap.1 nmblookup.1 ntlm_auth.1 profiles.1 rpcclient.1 \
X		sharesec.1 smbcacls.1 smbclient.1 smbcontrol.1 smbcquotas.1 \
X		smbget.1 smbstatus.1 smbtar.1 smbtree.1 testparm.1 vfstest.1
XMAN3=		ldb.3
XMAN5=		lmhosts.5 smb.conf.5 smbgetrc.5 smbpasswd.5
XMAN7=		samba.7
XMAN8=		eventlogadm.8 net.8 nmbd.8 pdbedit.8 smbd.8 smbpasswd.8 \
X		smbspool.8 idmap_nss.8 idmap_tdb.8 idmap_tdb2.8 \
X		vfs_acl_tdb.8 vfs_acl_xattr.8 \
X		vfs_audit.8 vfs_cap.8 vfs_default_quota.8 vfs_extd_audit.8 \
X		vfs_fake_perms.8 vfs_full_audit.8 vfs_netatalk.8 \
X		vfs_preopen.8 \
X		vfs_readahead.8 vfs_readonly.8 vfs_recycle.8 vfs_shadow_copy.8 \
X		vfs_shadow_copy2.8 vfs_smb_traffic_analyzer.8 \
X		vfs_streams_xattr.8 vfs_xattr_tdb.8
X
X.if !defined(WITHOUT_WINBIND)
XMAN1+=		wbinfo.1
XMAN5+=		pam_winbind.conf.5
XMAN7+=		winbind_krb5_locator.7
XMAN8+=		pam_winbind.8 winbindd.8
X.endif
X
X.if !defined(WITHOUT_SWAT)
XMAN8+=		swat.8
X.endif
X
X.if defined(WITH_FAM_SUPPORT)
XMAN8+=		vfs_notify_fam.8
X.endif
X
X.if defined(SAMBA_WANT_LDAP)
XMAN8+=		idmap_ldap.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Midmap_ad)
XMAN8+=		idmap_ad.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Midmap_adex)
XMAN8+=		idmap_adex.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Midmap_hash)
XMAN8+=		idmap_hash.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Midmap_rid)
XMAN8+=		idmap_rid.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Mvfs_cacheprime)
XMAN8+=		vfs_cacheprime.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Mvfs_catia)
XMAN8+=		vfs_catia.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Mvfs_commit)
XMAN8+=		vfs_commit.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Mvfs_dirsort)
XMAN8+=		vfs_dirsort.8
X.endif
X
X.if !empty(WANT_EXP_MODULES:Mvfs_streams_depot)
XMAN8+=		vfs_streams_depot.8
X.endif
X
XSAMBA_SUB=	SAMBA_LOGDIR="${SAMBA_LOGDIR}" \
X		SAMBA_LOCKDIR="${SAMBA_LOCKDIR}" \
X		SAMBA_CONFDIR="${SAMBA_CONFDIR}" \
X		SAMBA_CONFIG="${SAMBA_CONFIG}" \
X		SAMBA_RUNDIR="${SAMBA_RUNDIR}" \
X		SAMBA_SWATDIR="${SAMBA_SWATDIR}" \
X		SAMBA_SPOOL="${SAMBA_SPOOL}" \
X		SAMBA_PRIVATEDIR="${SAMBA_PRIVATEDIR}" \
X		PKGCONFIGDIR="${PKGCONFIGDIR_REL}"
X
XPLIST_SUB+=	${SAMBA_SUB}
XSUB_LIST+=	${SAMBA_SUB}
X
XALL_TARGET=	all
X.if defined(WITH_SMBTORTURE)
XALL_TARGET+=	smbtorture
X.endif
X
X# What will be installed
XINSTALL_TARGET=	installservers installbin installscripts installdat \
X		installmodules installlibs
X
X.if !defined(WITHOUT_SWAT)
XINSTALL_TARGET+=installswat
X.endif
X
X.if defined(OPTIONS)
Xpre-fetch:
X	@${ECHO_MSG} "===>  -------------------------------------------"
X	@${ECHO_MSG} "===>  Run 'make config' to (re)configure the port"
X	@${ECHO_MSG} "===>  -------------------------------------------"
X.endif
X
Xpre-configure:
X	@${FIND} ${WRKDIR}/${DISTNAME} -type d | ${XARGS} ${CHMOD} u+w,a+rx
X	@${FIND} ${WRKDIR}/${DISTNAME} -type f | ${XARGS} ${CHMOD} u+w,a+r
X
Xpost-configure:
X# It's in another port
X	@${RM} -f ${WRKDIR}/${DISTNAME}/docs/htmldocs/manpages/libsmbclient.7.html
X	@${RM} -rf ${WRKDIR}/${DISTNAME}/examples/libsmbclient
X
X# This would speedup compilation
X# but broke building srv_pipe.c with 'calling fdopen: bad file descriptor'
X#.if !defined(WITHOUT_PCH)
X#pre-build:
X#	cd ${WRKSRC} && ${GMAKE} pch
X#.endif
X
Xpre-install:
X	-@${FIND} "${SAMBA_MODULEDIR}" -type f -o -type l 2>/dev/null | ${SORT} | ${SED} -E 's|^${PREFIX}/?||;' > ${WRKDIR}/.PLIST.exclude
X	@${CAT} ${PKGDIR}/pkg-plist > ${PLIST}
X.if !defined(WITHOUT_SWAT)
X	@${CAT} ${PKGDIR}/pkg-plist.swat >> ${PLIST}
X.endif
X
Xpost-install:
X.for sect in 1 3 5 7 8
X	@${MKDIR} ${MAN${sect}PREFIX}/man/man${sect}
X.	for man in ${MAN${sect}}
X	    @${INSTALL_MAN} "${WRKDIR}/${DISTNAME}/docs/manpages/${man}" "${MAN${sect}PREFIX}/man/man${sect}"
X.	endfor
X.endfor
X# Put examples in place
X	@${MKDIR} "${EXAMPLESDIR}"
X	@${CP} -Rp ${WRKDIR}/${DISTNAME}/examples/* "${EXAMPLESDIR}"
X.if defined(WITH_PAM_SMBPASS)
X	@${MKDIR} "${EXAMPLESDIR}/pam_smbpass"
X	@${CP} -Rp ${WRKSRC}/pam_smbpass/samples/* "${EXAMPLESDIR}/pam_smbpass"
X.endif
X	${INSTALL_DATA} "${WRKDIR}/smb.conf.sample" "${EXAMPLESDIR}/${SAMBA_CONFIG}.sample"
X	${INSTALL_SCRIPT} "${WRKSRC}/script/mksmbpasswd.sh" "${PREFIX}/bin/make_smbpasswd"
X# Winbind
X.if !defined(WITHOUT_WINBIND)
X	${INSTALL_PROGRAM} "${WRKDIR}/${DISTNAME}/nsswitch/nss_winbind.so" "${SAMBA_LIBDIR}/nss_winbind.so.1"
X	${INSTALL_PROGRAM} "${WRKDIR}/${DISTNAME}/nsswitch/nss_wins.so" "${SAMBA_LIBDIR}/nss_wins.so.1"
X	${INSTALL_PROGRAM} "${WRKSRC}/bin/pam_winbind.so" "${SAMBA_LIBDIR}"
X.endif
X.if defined(WITH_PAM_SMBPASS)
X	${INSTALL_PROGRAM} "${WRKSRC}/bin/pam_smbpass.so" "${SAMBA_LIBDIR}"
X.endif
X# smbtorture
X.if defined(WITH_SMBTORTURE)
X	${INSTALL_PROGRAM} "${WRKSRC}/bin/smbtorture" "${PREFIX}/bin"
X.endif
X# Lib
X	@${FIND} "${SAMBA_MODULEDIR}" -type f -o -type l | ${SED} -E 's|^${PREFIX}/?||;' | ${EGREP} -F -v -f ${WRKDIR}/.PLIST.exclude | ${SORT} >> ${TMPPLIST}
X	@for d in `${FIND} "${SAMBA_MODULEDIR}" -type d | ${SORT} -r`; do \
X	    ${ECHO_CMD} "@unexec ${RMDIR} \"$$d\" 2>/dev/null || true" >> ${TMPPLIST}; \
X	done
X# Documentation
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${CP} -Rp "${WRKDIR}/${DISTNAME}/docs/registry" "${DOCSDIR}"
X.	for f in Samba3-ByExample.pdf Samba3-HOWTO.pdf Samba3-Developers-Guide.pdf
X	    @${INSTALL_DATA} "${WRKDIR}/${DISTNAME}/docs/${f}" "${DOCSDIR}"
X.	endfor
X.	for f in README COPYING  PFIF.txt Manifest Roadmap \
X		WHATSNEW.txt docs/THANKS docs/history
X	    @${INSTALL_DATA} "${WRKDIR}/${DISTNAME}/${f}" "${DOCSDIR}"
X.	endfor
X#	@${INSTALL_DATA} "${FILESDIR}/README.FreeBSD" "${DOCSDIR}"
X# !NOPORTDOCS
X.endif
X# Run post-install script
X	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
X	@${CAT} ${PKGMESSAGE}
X
X.if defined(WITH_MAX_DEBUG)
Xtest:
X	(cd ${WRKSRC} && ${GMAKE} test_nss_modules test_pam_modules && ${GMAKE} test)
X.endif
X# !SAMBA_SUBPORT
X.endif
X
X.include <bsd.port.post.mk>
7204aca25ea399d072652a2586f62a06
echo x - samba36-devel/pkg-descr~
sed 's/^X//' >samba36-devel/pkg-descr~ << 'f7618f9d02ffad317fca77397f889e11'
XThis port create as workpiece for Samba 3.6.0.
XPlease test this port. Send bugreport, patches and successful story.
XAlso, please look pkg-list carefully.
XIf you will see enough good patches for port - feel freely, make net/samba36
Xport.
X
XKnown bugs:  
X/usr/local/lib/libwbclient.so not uninstall. I don't know how to remove
Xsymlink and enumerated shared library.
X
XThe samba35_legacy_files is samba's 3.5 files adopted for samba 3.6. It may be
Xit will be usefull (who knows).
X
X
X
XThe Samba suite is a set of programs which run under the FreeBSD
Xoperating system. These programs deliver most of the important
Xfunctionality of a Microsoft Lan Manager server. That is, they support
Xremote access to FreeBSD filespace and FreeBSD printers from Lan Manager
Xcompatible clients. In practical terms, this means that such clients can
Xconnect to and use FreeBSD filespace as if it was a local disk drive, or
XFreeBSD printers as if they were local printers.
X
XSome of the most popular Lan Manager compatible clients include Lan
XManager itself, Windows for Workgroups, OS/2 and Windows NT.
X
XWWW: http://www.samba.org/
f7618f9d02ffad317fca77397f889e11
echo x - samba36-devel/pkg-descr
sed 's/^X//' >samba36-devel/pkg-descr << 'a4ce42dc69d0c25ffef96aecc59bab7d'
XThis port create as workpiece for Samba 3.6.0.
XPlease test this port. Send bugreport, patches and successful story.
XAlso, please look pkg-list carefully.
XIf you will see enough good patches for port - feel freely, make net/samba36
Xport.
X
XKnown bugs:  
X/usr/local/lib/libwbclient.so not uninstall. I don't know how to remove
Xsymlink and enumerated shared library.
X
X
X
XThe Samba suite is a set of programs which run under the FreeBSD
Xoperating system. These programs deliver most of the important
Xfunctionality of a Microsoft Lan Manager server. That is, they support
Xremote access to FreeBSD filespace and FreeBSD printers from Lan Manager
Xcompatible clients. In practical terms, this means that such clients can
Xconnect to and use FreeBSD filespace as if it was a local disk drive, or
XFreeBSD printers as if they were local printers.
X
XSome of the most popular Lan Manager compatible clients include Lan
XManager itself, Windows for Workgroups, OS/2 and Windows NT.
X
XWWW: http://www.samba.org/
a4ce42dc69d0c25ffef96aecc59bab7d
echo x - samba36-devel/pkg-plist
sed 's/^X//' >samba36-devel/pkg-plist << '99203a7c25032e1e894485af0f47b5a1'
Xbin/eventlogadm
Xbin/findsmb
Xbin/make_smbpasswd
Xbin/net
Xbin/nmblookup
Xbin/ntlm_auth
Xbin/pdbedit
Xbin/profiles
Xbin/rpcclient
Xbin/sharesec
Xbin/smbcacls
Xbin/smbclient
Xbin/smbcontrol
Xbin/smbcquotas
Xbin/smbget
Xbin/smbpasswd
Xbin/smbspool
Xbin/smbstatus
Xbin/smbtar
Xbin/smbtree
Xbin/testparm
X%%SMBTORTURE%%bin/smbtorture
X%%WINBIND%%bin/wbinfo
Xsbin/smbd
Xsbin/nmbd
X%%SWAT%%sbin/swat
X%%WINBIND%%sbin/winbindd
X%%WINBIND%%lib/nss_winbind.so.1
X%%WINBIND%%lib/nss_wins.so.1
X%%WINBIND%%lib/pam_winbind.so
X%%SMBPASS%%lib/pam_smbpass.so
X%%EXAMPLESDIR%%/%%SAMBA_CONFIG%%.sample
X%%EXAMPLESDIR%%/ad-bench/README
X%%EXAMPLESDIR%%/ad-bench/ad-bench.sh
X%%EXAMPLESDIR%%/ad-bench/settings.sh
X%%EXAMPLESDIR%%/ad-bench/test_utils.sh
X%%EXAMPLESDIR%%/ad-bench/time_group.sh
X%%EXAMPLESDIR%%/ad-bench/time_join.sh
X%%EXAMPLESDIR%%/ad-bench/time_kinit.sh
X%%EXAMPLESDIR%%/ad-bench/time_ldap.sh
X%%EXAMPLESDIR%%/ad-bench/time_user.sh
X%%EXAMPLESDIR%%/ad-bench/utils.sh
X%%EXAMPLESDIR%%/bind9-patches/0001-leave-the-question-section-in-update-responses.patch
X%%EXAMPLESDIR%%/bind9-patches/0002-prevent-a-valgrind-uninitialised-memory-warning.patch
X%%EXAMPLESDIR%%/bind9-patches/0003-don-t-compress-TSIG-names.patch
X%%EXAMPLESDIR%%/bind9-patches/0004-If-tkey-gssapi-initialisation-fails-then-heck-for-th.patch
X%%EXAMPLESDIR%%/bind9-patches/0005-windows-doesn-t-return-valid-GSSAPI-sequence-numbers.patch
X%%EXAMPLESDIR%%/bind9-patches/README
X%%EXAMPLESDIR%%/LDAP/README
X%%EXAMPLESDIR%%/LDAP/convertSambaAccount
X%%EXAMPLESDIR%%/LDAP/get_next_oid
X%%EXAMPLESDIR%%/LDAP/ol-schema-migrate.pl
X%%EXAMPLESDIR%%/LDAP/samba-nds.schema
X%%EXAMPLESDIR%%/LDAP/samba-schema-FDS.ldif
X%%EXAMPLESDIR%%/LDAP/samba-schema-netscapeds5.x
X%%EXAMPLESDIR%%/LDAP/samba-schema.IBMSecureWay
X%%EXAMPLESDIR%%/LDAP/samba.schema
X%%EXAMPLESDIR%%/LDAP/samba.schema.at.IBM-DS
X%%EXAMPLESDIR%%/LDAP/samba.schema.oc.IBM-DS
X%%EXAMPLESDIR%%/LDAP/samba.ldif
X%%EXAMPLESDIR%%/README
X%%EXAMPLESDIR%%/VFS/Makefile.in
X%%EXAMPLESDIR%%/VFS/README
X%%EXAMPLESDIR%%/VFS/autogen.sh
X%%EXAMPLESDIR%%/VFS/config.guess
X%%EXAMPLESDIR%%/VFS/config.sub
X%%EXAMPLESDIR%%/VFS/configure.in
X%%EXAMPLESDIR%%/VFS/install-sh
X%%EXAMPLESDIR%%/VFS/shadow_copy_test.c
X%%EXAMPLESDIR%%/VFS/skel_opaque.c
X%%EXAMPLESDIR%%/VFS/skel_transparent.c
X%%EXAMPLESDIR%%/auth/Makefile
X%%EXAMPLESDIR%%/auth/auth_skel.c
X%%EXAMPLESDIR%%/auth/crackcheck/Makefile
X%%EXAMPLESDIR%%/auth/crackcheck/crackcheck.c
X%%EXAMPLESDIR%%/autofs/auto.smb
X%%EXAMPLESDIR%%/dce-dfs/README
X%%EXAMPLESDIR%%/dce-dfs/smb.conf
X%%EXAMPLESDIR%%/logon/genlogon/genlogon.pl
X%%EXAMPLESDIR%%/logon/mklogon/mklogon.conf
X%%EXAMPLESDIR%%/logon/mklogon/mklogon.pl
X%%EXAMPLESDIR%%/logon/ntlogon/README
X%%EXAMPLESDIR%%/logon/ntlogon/ntlogon.conf
X%%EXAMPLESDIR%%/logon/ntlogon/ntlogon.py
X%%EXAMPLESDIR%%/misc/adssearch.pl
X%%EXAMPLESDIR%%/misc/check_multiple_LDAP_entries.pl
X%%EXAMPLESDIR%%/misc/cldap.pl
X%%EXAMPLESDIR%%/misc/extra_smbstatus
X%%EXAMPLESDIR%%/misc/swat.pl
X%%EXAMPLESDIR%%/misc/wall.perl
X%%EXAMPLESDIR%%/nss/nss_winbind.c
X%%EXAMPLESDIR%%/nss/nss_winbind.h
X%%EXAMPLESDIR%%/nss/wbtest.c
X%%EXAMPLESDIR%%/pam_winbind/pam_winbind.conf
X%%SMBPASS%%%%EXAMPLESDIR%%/pam_smbpass/README
X%%SMBPASS%%%%EXAMPLESDIR%%/pam_smbpass/kdc-pdc
X%%SMBPASS%%%%EXAMPLESDIR%%/pam_smbpass/password-mature
X%%SMBPASS%%%%EXAMPLESDIR%%/pam_smbpass/password-migration
X%%SMBPASS%%%%EXAMPLESDIR%%/pam_smbpass/password-sync
X%%EXAMPLESDIR%%/pcap2nbench/COPYING
X%%EXAMPLESDIR%%/pcap2nbench/Makefile
X%%EXAMPLESDIR%%/pcap2nbench/README
X%%EXAMPLESDIR%%/pcap2nbench/closerequest.cpp
X%%EXAMPLESDIR%%/pcap2nbench/closerequest.hpp
X%%EXAMPLESDIR%%/pcap2nbench/ethernet.cpp
X%%EXAMPLESDIR%%/pcap2nbench/ethernet.hpp
X%%EXAMPLESDIR%%/pcap2nbench/ip.cpp
X%%EXAMPLESDIR%%/pcap2nbench/ip.hpp
X%%EXAMPLESDIR%%/pcap2nbench/main.cpp
X%%EXAMPLESDIR%%/pcap2nbench/ntcreateandxrequest.cpp
X%%EXAMPLESDIR%%/pcap2nbench/ntcreateandxrequest.hpp
X%%EXAMPLESDIR%%/pcap2nbench/ntcreateandxresponse.cpp
X%%EXAMPLESDIR%%/pcap2nbench/ntcreateandxresponse.hpp
X%%EXAMPLESDIR%%/pcap2nbench/readandxrequest.cpp
X%%EXAMPLESDIR%%/pcap2nbench/readandxrequest.hpp
X%%EXAMPLESDIR%%/pcap2nbench/readandxresponse.hpp
X%%EXAMPLESDIR%%/pcap2nbench/smb.cpp
X%%EXAMPLESDIR%%/pcap2nbench/smb.hpp
X%%EXAMPLESDIR%%/pcap2nbench/tcp.cpp
X%%EXAMPLESDIR%%/pcap2nbench/tcp.hpp
X%%EXAMPLESDIR%%/pcap2nbench/writeandxrequest.cpp
X%%EXAMPLESDIR%%/pcap2nbench/writeandxrequest.hpp
X%%EXAMPLESDIR%%/pdb/Makefile
X%%EXAMPLESDIR%%/pdb/README
X%%EXAMPLESDIR%%/pdb/test.c
X%%EXAMPLESDIR%%/perfcounter/Makefile
X%%EXAMPLESDIR%%/perfcounter/perf.h
X%%EXAMPLESDIR%%/perfcounter/perf_writer.c
X%%EXAMPLESDIR%%/perfcounter/perf_writer_cpu.c
X%%EXAMPLESDIR%%/perfcounter/perf_writer_disk.c
X%%EXAMPLESDIR%%/perfcounter/perf_writer_mem.c
X%%EXAMPLESDIR%%/perfcounter/perf_writer_process.c
X%%EXAMPLESDIR%%/perfcounter/perf_writer_util.c
X%%EXAMPLESDIR%%/perfcounter/perfcountd.init
X%%EXAMPLESDIR%%/printer-accounting/README
X%%EXAMPLESDIR%%/printer-accounting/acct-all
X%%EXAMPLESDIR%%/printer-accounting/acct-sum
X%%EXAMPLESDIR%%/printer-accounting/hp5-redir
X%%EXAMPLESDIR%%/printer-accounting/lp-acct
X%%EXAMPLESDIR%%/printer-accounting/printcap
X%%EXAMPLESDIR%%/printing/VampireDriversFunctions
X%%EXAMPLESDIR%%/printing/prtpub.c
X%%EXAMPLESDIR%%/printing/readme.prtpub
X%%EXAMPLESDIR%%/printing/smbprint
X%%EXAMPLESDIR%%/printing/smbprint.sysv
X%%EXAMPLESDIR%%/scripts/debugging/linux/backtrace
X%%EXAMPLESDIR%%/scripts/debugging/solaris/README
X%%EXAMPLESDIR%%/scripts/debugging/solaris/solaris-oops.sh
X%%EXAMPLESDIR%%/scripts/eventlog/parselog.pl
X%%EXAMPLESDIR%%/scripts/idmap/README
X%%EXAMPLESDIR%%/scripts/idmap/idmap_nis.sh
X%%EXAMPLESDIR%%/scripts/mount/mount.smbfs
X%%EXAMPLESDIR%%/scripts/printing/cups/smbaddprinter.pl
X%%EXAMPLESDIR%%/scripts/printing/cups/smbdelprinter.pl
X%%EXAMPLESDIR%%/scripts/shares/perl/modify_samba_config.pl
X%%EXAMPLESDIR%%/scripts/shares/python/SambaConfig.py
X%%EXAMPLESDIR%%/scripts/shares/python/SambaParm.py
X%%EXAMPLESDIR%%/scripts/shares/python/generate_parm_table.py
X%%EXAMPLESDIR%%/scripts/shares/python/modify_samba_config.py
X%%EXAMPLESDIR%%/scripts/shares/python/smbparm.py
X%%EXAMPLESDIR%%/scripts/users_and_groups/adduserstogroups.pl
X%%EXAMPLESDIR%%/scripts/users_and_groups/createdomobj.pl
X%%EXAMPLESDIR%%/scripts/wins_hook/README
X%%EXAMPLESDIR%%/scripts/wins_hook/dns_update
X%%EXAMPLESDIR%%/smb.conf.default
X%%EXAMPLESDIR%%/tridge/README
X%%EXAMPLESDIR%%/tridge/smb.conf
X%%EXAMPLESDIR%%/tridge/smb.conf.WinNT
X%%EXAMPLESDIR%%/tridge/smb.conf.fjall
X%%EXAMPLESDIR%%/tridge/smb.conf.lapland
X%%EXAMPLESDIR%%/tridge/smb.conf.vittjokk
X%%EXAMPLESDIR%%/validchars/msdos70.out
X%%EXAMPLESDIR%%/validchars/nwdos70.out
X%%EXAMPLESDIR%%/validchars/readme
X%%EXAMPLESDIR%%/validchars/validchr.c
X%%EXAMPLESDIR%%/validchars/validchr.com
X at dirrm %%EXAMPLESDIR%%/validchars
X at dirrm %%EXAMPLESDIR%%/tridge
X at dirrm %%EXAMPLESDIR%%/scripts/wins_hook
X at dirrm %%EXAMPLESDIR%%/scripts/users_and_groups
X at dirrm %%EXAMPLESDIR%%/scripts/shares/python
X at dirrm %%EXAMPLESDIR%%/scripts/shares/perl
X at dirrm %%EXAMPLESDIR%%/scripts/shares
X at dirrm %%EXAMPLESDIR%%/scripts/printing/cups
X at dirrm %%EXAMPLESDIR%%/scripts/printing
X at dirrm %%EXAMPLESDIR%%/scripts/mount
X at dirrm %%EXAMPLESDIR%%/scripts/idmap
X at dirrm %%EXAMPLESDIR%%/scripts/eventlog
X at dirrm %%EXAMPLESDIR%%/scripts/debugging/solaris
X at dirrm %%EXAMPLESDIR%%/scripts/debugging/linux
X at dirrm %%EXAMPLESDIR%%/scripts/debugging
X at dirrm %%EXAMPLESDIR%%/scripts
X at dirrm %%EXAMPLESDIR%%/printing
X at dirrm %%EXAMPLESDIR%%/printer-accounting
X at dirrm %%EXAMPLESDIR%%/perfcounter
X at dirrm %%EXAMPLESDIR%%/pdb
X at dirrm %%EXAMPLESDIR%%/pcap2nbench
X at dirrm %%EXAMPLESDIR%%/pam_winbind
X%%SMBPASS%%@dirrm %%EXAMPLESDIR%%/pam_smbpass
X at dirrm %%EXAMPLESDIR%%/nss
X at dirrm %%EXAMPLESDIR%%/misc
X at dirrm %%EXAMPLESDIR%%/logon/ntlogon
X at dirrm %%EXAMPLESDIR%%/logon/mklogon
X at dirrm %%EXAMPLESDIR%%/logon/genlogon
X at dirrm %%EXAMPLESDIR%%/logon
X at dirrm %%EXAMPLESDIR%%/dce-dfs
X at dirrm %%EXAMPLESDIR%%/autofs
X at dirrm %%EXAMPLESDIR%%/auth/crackcheck
X at dirrm %%EXAMPLESDIR%%/auth
X at dirrm %%EXAMPLESDIR%%/VFS
X at dirrm %%EXAMPLESDIR%%/ad-bench
X at dirrm %%EXAMPLESDIR%%/LDAP
X at dirrm %%EXAMPLESDIR%%/bind9-patches
X at dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%%%DOCSDIR%%/COPYING
X%%PORTDOCS%%%%DOCSDIR%%/Manifest
X%%PORTDOCS%%%%DOCSDIR%%/PFIF.txt
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/Roadmap
X%%PORTDOCS%%%%DOCSDIR%%/Samba3-ByExample.pdf
X%%PORTDOCS%%%%DOCSDIR%%/Samba3-Developers-Guide.pdf
X%%PORTDOCS%%%%DOCSDIR%%/Samba3-HOWTO.pdf
X%%PORTDOCS%%%%DOCSDIR%%/THANKS
X%%PORTDOCS%%%%DOCSDIR%%/WHATSNEW.txt
X%%PORTDOCS%%%%DOCSDIR%%/history
X%%PORTDOCS%%%%DOCSDIR%%/registry/FolderRedir.adm
X%%PORTDOCS%%%%DOCSDIR%%/registry/NT4-Locking.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/NT4_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win-2Kx-XPP-DeleteCachedProfiles.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win-2Kx-XPP-ForceLocalProfile.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win-NT-DeleteRoamingProfile.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win2000_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win7_Samba3DomainMember.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win95_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win98_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/Win9X-CacheHandling.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/WinME_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/WinXP_PlainPassword.reg
X%%PORTDOCS%%%%DOCSDIR%%/registry/WindowsTerminalServer.reg
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/registry
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
99203a7c25032e1e894485af0f47b5a1
echo x - samba36-devel/pkg-plist.swat
sed 's/^X//' >samba36-devel/pkg-plist.swat << '46172f4cac3d04bd908b41e262175cdd'
Xshare/swat/help/Samba3-ByExample/net2000users.html
Xshare/swat/help/Samba3-ByExample/Big500users.html
Xshare/swat/help/Samba3-ByExample/DMSMig.html
Xshare/swat/help/Samba3-ByExample/DomApps.html
Xshare/swat/help/Samba3-ByExample/ExNetworks.html
Xshare/swat/help/Samba3-ByExample/HA.html
Xshare/swat/help/Samba3-ByExample/RefSection.html
Xshare/swat/help/Samba3-ByExample/apa.html
Xshare/swat/help/Samba3-ByExample/appendix.html
Xshare/swat/help/Samba3-ByExample/ch14.html
Xshare/swat/help/Samba3-ByExample/go01.html
Xshare/swat/help/Samba3-ByExample/happy.html
X at comment share/swat/help/Samba3-ByExample/images/AccountingNetwork.png
X at comment share/swat/help/Samba3-ByExample/images/Charity-Network.png
X at comment share/swat/help/Samba3-ByExample/images/HostAnnouncment.png
X at comment share/swat/help/Samba3-ByExample/images/NullConnect.png
X at comment share/swat/help/Samba3-ByExample/images/UNIX-Samba-and-LDAP.png
X at comment share/swat/help/Samba3-ByExample/images/UserConnect.png
X at comment share/swat/help/Samba3-ByExample/images/UserMgrNT4.png
X at comment share/swat/help/Samba3-ByExample/images/WINREPRESSME-Capture.png
X at comment share/swat/help/Samba3-ByExample/images/WINREPRESSME-Capture2.png
X at comment share/swat/help/Samba3-ByExample/images/WindowsXP-NullConnection.png
X at comment share/swat/help/Samba3-ByExample/images/WindowsXP-UserConnection.png
X at comment share/swat/help/Samba3-ByExample/images/XP-screen001.png
X at comment share/swat/help/Samba3-ByExample/images/acct2net.png
X at comment share/swat/help/Samba3-ByExample/images/ch7-dual-additive-LDAP-Ok.png
X at comment share/swat/help/Samba3-ByExample/images/ch7-dual-additive-LDAP.png
X at comment share/swat/help/Samba3-ByExample/images/ch7-fail-overLDAP.png
X at comment share/swat/help/Samba3-ByExample/images/ch7-singleLDAP.png
X at comment share/swat/help/Samba3-ByExample/images/ch8-migration.png
X at comment share/swat/help/Samba3-ByExample/images/chap4-net.png
X at comment share/swat/help/Samba3-ByExample/images/chap5-net.png
X at comment share/swat/help/Samba3-ByExample/images/chap6-net.png
X at comment share/swat/help/Samba3-ByExample/images/chap7-idresol.png
X at comment share/swat/help/Samba3-ByExample/images/chap7-net-Ar.png
X at comment share/swat/help/Samba3-ByExample/images/chap7-net2-Br.png
X at comment share/swat/help/Samba3-ByExample/images/chap9-ADSDC.png
X at comment share/swat/help/Samba3-ByExample/images/chap9-SambaDC.png
X at comment share/swat/help/Samba3-ByExample/images/imc-usermanager2.png
X at comment share/swat/help/Samba3-ByExample/images/lam-config.png
X at comment share/swat/help/Samba3-ByExample/images/lam-group-members.png
X at comment share/swat/help/Samba3-ByExample/images/lam-groups.png
X at comment share/swat/help/Samba3-ByExample/images/lam-hosts.png
X at comment share/swat/help/Samba3-ByExample/images/lam-login.png
X at comment share/swat/help/Samba3-ByExample/images/lam-users.png
X at comment share/swat/help/Samba3-ByExample/images/openmag.png
X at comment share/swat/help/Samba3-ByExample/images/wxpp001.png
X at comment share/swat/help/Samba3-ByExample/images/wxpp004.png
X at comment share/swat/help/Samba3-ByExample/images/wxpp006.png
X at comment share/swat/help/Samba3-ByExample/images/wxpp007.png
X at comment share/swat/help/Samba3-ByExample/images/wxpp008.png
Xshare/swat/help/Samba3-ByExample/index.html
Xshare/swat/help/Samba3-ByExample/ix01.html
Xshare/swat/help/Samba3-ByExample/kerberos.html
Xshare/swat/help/Samba3-ByExample/ntmigration.html
Xshare/swat/help/Samba3-ByExample/nw4migration.html
Xshare/swat/help/Samba3-ByExample/pr01.html
Xshare/swat/help/Samba3-ByExample/pr02.html
Xshare/swat/help/Samba3-ByExample/pr03.html
Xshare/swat/help/Samba3-ByExample/preface.html
Xshare/swat/help/Samba3-ByExample/primer.html
Xshare/swat/help/Samba3-ByExample/secure.html
Xshare/swat/help/Samba3-ByExample/simple.html
Xshare/swat/help/Samba3-ByExample/small.html
Xshare/swat/help/Samba3-ByExample/unixclients.html
Xshare/swat/help/Samba3-ByExample/upgrades.html
Xshare/swat/help/Samba3-Developers-Guide/CodingSuggestions.html
Xshare/swat/help/Samba3-Developers-Guide/Packaging.html
Xshare/swat/help/Samba3-Developers-Guide/architecture.html
Xshare/swat/help/Samba3-Developers-Guide/contributing.html
Xshare/swat/help/Samba3-Developers-Guide/debug.html
Xshare/swat/help/Samba3-Developers-Guide/devprinting.html
Xshare/swat/help/Samba3-Developers-Guide/index.html
Xshare/swat/help/Samba3-Developers-Guide/internals.html
Xshare/swat/help/Samba3-Developers-Guide/modules.html
Xshare/swat/help/Samba3-Developers-Guide/ntdomain.html
Xshare/swat/help/Samba3-Developers-Guide/parsing.html
Xshare/swat/help/Samba3-Developers-Guide/pr01.html
Xshare/swat/help/Samba3-Developers-Guide/pt01.html
Xshare/swat/help/Samba3-Developers-Guide/pt02.html
Xshare/swat/help/Samba3-Developers-Guide/pt03.html
Xshare/swat/help/Samba3-Developers-Guide/pt04.html
Xshare/swat/help/Samba3-Developers-Guide/pt05.html
Xshare/swat/help/Samba3-Developers-Guide/pwencrypt.html
Xshare/swat/help/Samba3-Developers-Guide/rpc-plugin.html
Xshare/swat/help/Samba3-Developers-Guide/tracing.html
Xshare/swat/help/Samba3-Developers-Guide/unix-smb.html
Xshare/swat/help/Samba3-Developers-Guide/vfs.html
Xshare/swat/help/Samba3-Developers-Guide/wins.html
Xshare/swat/help/Samba3-HOWTO/AccessControls.html
Xshare/swat/help/Samba3-HOWTO/AdvancedNetworkManagement.html
Xshare/swat/help/Samba3-HOWTO/Appendix.html
Xshare/swat/help/Samba3-HOWTO/Backup.html
Xshare/swat/help/Samba3-HOWTO/CUPS-printing.html
Xshare/swat/help/Samba3-HOWTO/ChangeNotes.html
Xshare/swat/help/Samba3-HOWTO/ClientConfig.html
Xshare/swat/help/Samba3-HOWTO/DNSDHCP.html
Xshare/swat/help/Samba3-HOWTO/FastStart.html
Xshare/swat/help/Samba3-HOWTO/InterdomainTrusts.html
Xshare/swat/help/Samba3-HOWTO/IntroSMB.html
Xshare/swat/help/Samba3-HOWTO/NT4Migration.html
Xshare/swat/help/Samba3-HOWTO/NetCommand.html
Xshare/swat/help/Samba3-HOWTO/NetworkBrowsing.html
Xshare/swat/help/Samba3-HOWTO/Other-Clients.html
Xshare/swat/help/Samba3-HOWTO/PolicyMgmt.html
Xshare/swat/help/Samba3-HOWTO/Portability.html
Xshare/swat/help/Samba3-HOWTO/ProfileMgmt.html
Xshare/swat/help/Samba3-HOWTO/SWAT.html
Xshare/swat/help/Samba3-HOWTO/SambaHA.html
Xshare/swat/help/Samba3-HOWTO/ServerType.html
Xshare/swat/help/Samba3-HOWTO/StandAloneServer.html
Xshare/swat/help/Samba3-HOWTO/TOSHpreface.html
Xshare/swat/help/Samba3-HOWTO/VFS.html
Xshare/swat/help/Samba3-HOWTO/apa.html
Xshare/swat/help/Samba3-HOWTO/bugreport.html
Xshare/swat/help/Samba3-HOWTO/cfgsmarts.html
Xshare/swat/help/Samba3-HOWTO/ch-ldap-tls.html
Xshare/swat/help/Samba3-HOWTO/ch47.html
Xshare/swat/help/Samba3-HOWTO/classicalprinting.html
Xshare/swat/help/Samba3-HOWTO/compiling.html
Xshare/swat/help/Samba3-HOWTO/diagnosis.html
Xshare/swat/help/Samba3-HOWTO/domain-member.html
Xshare/swat/help/Samba3-HOWTO/go01.html
Xshare/swat/help/Samba3-HOWTO/groupmapping.html
Xshare/swat/help/Samba3-HOWTO/idmapper.html
X at comment share/swat/help/Samba3-HOWTO/images/10small.png
X at comment share/swat/help/Samba3-HOWTO/images/11small.png
X at comment share/swat/help/Samba3-HOWTO/images/12small.png
X at comment share/swat/help/Samba3-HOWTO/images/13small.png
X at comment share/swat/help/Samba3-HOWTO/images/14small.png
X at comment share/swat/help/Samba3-HOWTO/images/1small.png
X at comment share/swat/help/Samba3-HOWTO/images/2small.png
X at comment share/swat/help/Samba3-HOWTO/images/3small.png
X at comment share/swat/help/Samba3-HOWTO/images/4small.png
X at comment share/swat/help/Samba3-HOWTO/images/5small.png
X at comment share/swat/help/Samba3-HOWTO/images/6small.png
X at comment share/swat/help/Samba3-HOWTO/images/7small.png
X at comment share/swat/help/Samba3-HOWTO/images/8small.png
X at comment share/swat/help/Samba3-HOWTO/images/9small.png
X at comment share/swat/help/Samba3-HOWTO/images/WME001.png
X at comment share/swat/help/Samba3-HOWTO/images/WME002.png
X at comment share/swat/help/Samba3-HOWTO/images/WME003.png
X at comment share/swat/help/Samba3-HOWTO/images/WME005.png
X at comment share/swat/help/Samba3-HOWTO/images/WME009.png
X at comment share/swat/help/Samba3-HOWTO/images/WME010.png
X at comment share/swat/help/Samba3-HOWTO/images/WME013.png
X at comment share/swat/help/Samba3-HOWTO/images/WME014.png
X at comment share/swat/help/Samba3-HOWTO/images/WXPP002.png
X at comment share/swat/help/Samba3-HOWTO/images/WXPP003.png
X at comment share/swat/help/Samba3-HOWTO/images/WXPP005.png
X at comment share/swat/help/Samba3-HOWTO/images/WXPP009.png
X at comment share/swat/help/Samba3-HOWTO/images/WXPP014.png
X at comment share/swat/help/Samba3-HOWTO/images/a_small.png
X at comment share/swat/help/Samba3-HOWTO/images/access1.png
X at comment share/swat/help/Samba3-HOWTO/images/browsing1.png
X at comment share/swat/help/Samba3-HOWTO/images/cups1.png
X at comment share/swat/help/Samba3-HOWTO/images/cups2.png
X at comment share/swat/help/Samba3-HOWTO/images/domain.png
X at comment share/swat/help/Samba3-HOWTO/images/ethereal1.png
X at comment share/swat/help/Samba3-HOWTO/images/ethereal2.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap-gid2sid.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap-sid2gid.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap-sid2uid.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap-store-gid2sid.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap-uid2sid.png
X at comment share/swat/help/Samba3-HOWTO/images/idmap_winbind_no_loop.png
X at comment share/swat/help/Samba3-HOWTO/images/pdftoepsonusb.png
X at comment share/swat/help/Samba3-HOWTO/images/pdftosocket.png
X at comment share/swat/help/Samba3-HOWTO/images/trusts1.png
X at comment share/swat/help/Samba3-HOWTO/images/w2kp001.png
X at comment share/swat/help/Samba3-HOWTO/images/w2kp002.png
X at comment share/swat/help/Samba3-HOWTO/images/w2kp003.png
X at comment share/swat/help/Samba3-HOWTO/images/w2kp004.png
X at comment share/swat/help/Samba3-HOWTO/images/w2kp005.png
X at comment share/swat/help/Samba3-HOWTO/images/wxpp001.png
X at comment share/swat/help/Samba3-HOWTO/images/wxpp004.png
X at comment share/swat/help/Samba3-HOWTO/images/wxpp006.png
X at comment share/swat/help/Samba3-HOWTO/images/wxpp007.png
X at comment share/swat/help/Samba3-HOWTO/images/wxpp008.png
Xshare/swat/help/Samba3-HOWTO/index.html
Xshare/swat/help/Samba3-HOWTO/install.html
Xshare/swat/help/Samba3-HOWTO/integrate-ms-networks.html
Xshare/swat/help/Samba3-HOWTO/introduction.html
Xshare/swat/help/Samba3-HOWTO/ix01.html
Xshare/swat/help/Samba3-HOWTO/largefile.html
Xshare/swat/help/Samba3-HOWTO/locking.html
Xshare/swat/help/Samba3-HOWTO/migration.html
Xshare/swat/help/Samba3-HOWTO/msdfs.html
Xshare/swat/help/Samba3-HOWTO/optional.html
Xshare/swat/help/Samba3-HOWTO/pam.html
Xshare/swat/help/Samba3-HOWTO/passdb.html
Xshare/swat/help/Samba3-HOWTO/pr01.html
Xshare/swat/help/Samba3-HOWTO/pr02.html
Xshare/swat/help/Samba3-HOWTO/pr03.html
Xshare/swat/help/Samba3-HOWTO/problems.html
Xshare/swat/help/Samba3-HOWTO/rights.html
Xshare/swat/help/Samba3-HOWTO/samba-bdc.html
Xshare/swat/help/Samba3-HOWTO/samba-pdc.html
Xshare/swat/help/Samba3-HOWTO/securing-samba.html
Xshare/swat/help/Samba3-HOWTO/speed.html
Xshare/swat/help/Samba3-HOWTO/tdb.html
Xshare/swat/help/Samba3-HOWTO/troubleshooting.html
Xshare/swat/help/Samba3-HOWTO/type.html
Xshare/swat/help/Samba3-HOWTO/unicode.html
Xshare/swat/help/Samba3-HOWTO/upgrading-to-3.0.html
Xshare/swat/help/Samba3-HOWTO/winbind.html
Xshare/swat/help/manpages/cifs.upcall.8.html
Xshare/swat/help/manpages/eventlogadm.8.html
Xshare/swat/help/manpages/findsmb.1.html
Xshare/swat/help/manpages/idmap_ad.8.html
Xshare/swat/help/manpages/idmap_adex.8.html
Xshare/swat/help/manpages/idmap_hash.8.html
Xshare/swat/help/manpages/idmap_ldap.8.html
Xshare/swat/help/manpages/idmap_nss.8.html
Xshare/swat/help/manpages/idmap_rid.8.html
Xshare/swat/help/manpages/idmap_tdb.8.html
Xshare/swat/help/manpages/idmap_tdb2.8.html
Xshare/swat/help/manpages/index.html
Xshare/swat/help/manpages/ldb.3.html
Xshare/swat/help/manpages/ldbadd.1.html
Xshare/swat/help/manpages/ldbdel.1.html
Xshare/swat/help/manpages/ldbedit.1.html
Xshare/swat/help/manpages/ldbmodify.1.html
Xshare/swat/help/manpages/ldbrename.1.html
Xshare/swat/help/manpages/ldbsearch.1.html
Xshare/swat/help/manpages/lmhosts.5.html
Xshare/swat/help/manpages/log2pcap.1.html
Xshare/swat/help/manpages/mount.cifs.8.html
Xshare/swat/help/manpages/net.8.html
Xshare/swat/help/manpages/nmbd.8.html
Xshare/swat/help/manpages/nmblookup.1.html
Xshare/swat/help/manpages/ntlm_auth.1.html
Xshare/swat/help/manpages/pam_winbind.8.html
Xshare/swat/help/manpages/pam_winbind.conf.5.html
Xshare/swat/help/manpages/pdbedit.8.html
Xshare/swat/help/manpages/profiles.1.html
Xshare/swat/help/manpages/rpcclient.1.html
Xshare/swat/help/manpages/samba.7.html
Xshare/swat/help/manpages/sharesec.1.html
Xshare/swat/help/manpages/smb.conf.5.html
Xshare/swat/help/manpages/smbcacls.1.html
Xshare/swat/help/manpages/smbclient.1.html
Xshare/swat/help/manpages/smbcontrol.1.html
Xshare/swat/help/manpages/smbcquotas.1.html
Xshare/swat/help/manpages/smbd.8.html
Xshare/swat/help/manpages/smbget.1.html
Xshare/swat/help/manpages/smbgetrc.5.html
Xshare/swat/help/manpages/smbpasswd.5.html
Xshare/swat/help/manpages/smbpasswd.8.html
Xshare/swat/help/manpages/smbspool.8.html
Xshare/swat/help/manpages/smbstatus.1.html
Xshare/swat/help/manpages/smbtar.1.html
Xshare/swat/help/manpages/smbtree.1.html
Xshare/swat/help/manpages/swat.8.html
Xshare/swat/help/manpages/tdbbackup.8.html
Xshare/swat/help/manpages/tdbdump.8.html
Xshare/swat/help/manpages/tdbtool.8.html
Xshare/swat/help/manpages/testparm.1.html
Xshare/swat/help/manpages/umount.cifs.8.html
Xshare/swat/help/manpages/vfs_acl_tdb.8.html
Xshare/swat/help/manpages/vfs_acl_xattr.8.html
Xshare/swat/help/manpages/vfs_audit.8.html
Xshare/swat/help/manpages/vfs_cacheprime.8.html
Xshare/swat/help/manpages/vfs_cap.8.html
Xshare/swat/help/manpages/vfs_catia.8.html
Xshare/swat/help/manpages/vfs_commit.8.html
Xshare/swat/help/manpages/vfs_default_quota.8.html
Xshare/swat/help/manpages/vfs_dirsort.8.html
Xshare/swat/help/manpages/vfs_extd_audit.8.html
Xshare/swat/help/manpages/vfs_fake_perms.8.html
Xshare/swat/help/manpages/vfs_fileid.8.html
Xshare/swat/help/manpages/vfs_full_audit.8.html
Xshare/swat/help/manpages/vfs_gpfs.8.html
Xshare/swat/help/manpages/vfs_netatalk.8.html
Xshare/swat/help/manpages/vfs_notify_fam.8.html
Xshare/swat/help/manpages/vfs_prealloc.8.html
Xshare/swat/help/manpages/vfs_preopen.8.html
Xshare/swat/help/manpages/vfs_readahead.8.html
Xshare/swat/help/manpages/vfs_readonly.8.html
Xshare/swat/help/manpages/vfs_recycle.8.html
Xshare/swat/help/manpages/vfs_scannedonly.8.html
Xshare/swat/help/manpages/vfs_shadow_copy.8.html
Xshare/swat/help/manpages/vfs_shadow_copy2.8.html
Xshare/swat/help/manpages/vfs_smb_traffic_analyzer.8.html
Xshare/swat/help/manpages/vfs_streams_depot.8.html
Xshare/swat/help/manpages/vfs_streams_xattr.8.html
Xshare/swat/help/manpages/vfs_xattr_tdb.8.html
Xshare/swat/help/manpages/vfstest.1.html
Xshare/swat/help/manpages/wbinfo.1.html
Xshare/swat/help/manpages/winbind_krb5_locator.7.html
Xshare/swat/help/manpages/winbindd.8.html
Xshare/swat/help/welcome-no-samba-doc.html
Xshare/swat/help/welcome.html
Xshare/swat/images/globals.gif
Xshare/swat/images/home.gif
Xshare/swat/images/passwd.gif
Xshare/swat/images/printers.gif
Xshare/swat/images/samba.gif
Xshare/swat/images/shares.gif
Xshare/swat/images/status.gif
Xshare/swat/images/viewconfig.gif
Xshare/swat/images/wizard.gif
Xshare/swat/include/footer.html
Xshare/swat/include/header.html
Xshare/swat/lang/ja/help/welcome.html
Xshare/swat/lang/tr/help/welcome.html
Xshare/swat/lang/tr/images/globals.gif
Xshare/swat/lang/tr/images/home.gif
Xshare/swat/lang/tr/images/passwd.gif
Xshare/swat/lang/tr/images/printers.gif
Xshare/swat/lang/tr/images/samba.gif
Xshare/swat/lang/tr/images/shares.gif
Xshare/swat/lang/tr/images/status.gif
Xshare/swat/lang/tr/images/viewconfig.gif
X at dirrm share/swat/lang/tr/js
X at dirrm share/swat/lang/tr/include
X at dirrm share/swat/lang/tr/images
X at dirrm share/swat/lang/tr/help
X at dirrm share/swat/lang/tr
X at dirrm share/swat/lang/ja/js
X at dirrm share/swat/lang/ja/include
X at dirrm share/swat/lang/ja/images
X at dirrm share/swat/lang/ja/help
X at dirrm share/swat/lang/ja
X at dirrm share/swat/lang
X at dirrm share/swat/js
X at dirrm share/swat/include
X at dirrm share/swat/images
X at dirrm share/swat/help/manpages
X at comment @dirrm share/swat/help/Samba3-HOWTO/images
X at dirrm share/swat/help/Samba3-HOWTO
X at dirrm share/swat/help/Samba3-Developers-Guide
X at comment @dirrm share/swat/help/Samba3-ByExample/images
X at dirrm share/swat/help/Samba3-ByExample
X at dirrm share/swat/help
X at dirrm share/swat
46172f4cac3d04bd908b41e262175cdd
echo x - samba36-devel/distinfo
sed 's/^X//' >samba36-devel/distinfo << '6951ceeb9196335010ceff7a83af09b5'
XSHA256 (samba-3.6.0.tar.gz) = e1c14569e4785758838e77852bc1e958c15405146cface568c25c5726802f53f
XSIZE (samba-3.6.0.tar.gz) = 28990069
6951ceeb9196335010ceff7a83af09b5
echo c - samba36-devel/files
mkdir -p samba36-devel/files > /dev/null 2>&1
echo x - samba36-devel/files/pkg-deinstall.in
sed 's/^X//' >samba36-devel/files/pkg-deinstall.in << 'c99d91d0fb176ec8222c8d61a1230d11'
X#! /bin/sh
X#
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XSAMBA_CONFIG="%%SAMBA_CONFIG%%"
XSAMBA_CONFDIR="%%SAMBA_CONFDIR%%"
XSAMBA_SPOOL="%%SAMBA_SPOOL%%"
XSAMBA_LOGDIR="%%SAMBA_LOGDIR%%"
XSAMBA_RUNDIR="%%SAMBA_RUNDIR%%"
XSAMBA_LOCKDIR="%%SAMBA_LOCKDIR%%"
XSAMBA_PRIVATEDIR="%%SAMBA_PRIVATEDIR%%"
XSAMBA_OWNER=root
XSAMBA_GROUP=wheel
XCMP="cmp"
XRM="rm"
XRMDIR="rmdir"
XECHO_CMD="echo"
X
Xpost-deinstall() {
X	if ${CMP} -s ${SAMBA_CONFDIR}/${SAMBA_CONFIG} ${SAMBA_CONFDIR}/${SAMBA_CONFIG}.sample; then
X		${RM} -f ${SAMBA_CONFDIR}/${SAMBA_CONFIG}
X	fi
X	${RM} -f ${SAMBA_CONFDIR}/${SAMBA_CONFIG}.sample
X	${RM} -rf ${SAMBA_SPOOL}
X	${RMDIR} ${SAMBA_LOGDIR} 2>/dev/null || true
X	for f in connections.tdb locking.tdb messages.tdb sessionid.tdb \
X	    unexpected.tdb brlock.tdb namelist.debug
X	do
X		${RM} -f "${SAMBA_LOCKDIR}/${f}"
X	done
X	${RMDIR} ${SAMBA_RUNDIR} 2>/dev/null || true
X	${RMDIR} ${SAMBA_LOCKDIR} 2>/dev/null || true
X	${RMDIR} ${SAMBA_PRIVATEDIR} 2>/dev/null || true
X	${ECHO_CMD} "WARNING: If you will *NOT* use this package anymore, please remove the"
X	${ECHO_CMD} "  following directories manually:"
X	${ECHO_CMD} "  ${SAMBA_PRIVATEDIR}"
X	${ECHO_CMD} "  ${SAMBA_LOGDIR}"
X	${ECHO_CMD} "  ${SAMBA_LOCKDIR}"
X	${ECHO_CMD}
X}
X
Xcase $2 in
X	POST-DEINSTALL)
X		post-deinstall
X		;;
Xesac
c99d91d0fb176ec8222c8d61a1230d11
echo x - samba36-devel/files/pkg-install.in
sed 's/^X//' >samba36-devel/files/pkg-install.in << 'a14d3b7686c5c1b42f5fc881bda912ab'
X#! /bin/sh
X#
XPATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
X
XEXAMPLESDIR="%%EXAMPLESDIR%%"
XSAMBA_CONFIG="%%SAMBA_CONFIG%%"
XSAMBA_CONFDIR="%%SAMBA_CONFDIR%%"
XSAMBA_SPOOL="%%SAMBA_SPOOL%%"
XSAMBA_LOGDIR="%%SAMBA_LOGDIR%%"
XSAMBA_RUNDIR="%%SAMBA_RUNDIR%%"
XSAMBA_LOCKDIR="%%SAMBA_LOCKDIR%%"
XSAMBA_PRIVATEDIR="%%SAMBA_PRIVATEDIR%%"
XSAMBA_OWNER=root
XSAMBA_GROUP=wheel
XINSTALL_DATA="install -c -m 0444"
XMKDIR="mkdir -p"
XCHMOD="chmod"
XCHOWN="chown"
X
Xpost-install() {
X	${MKDIR} ${SAMBA_SPOOL} && ${CHMOD} 1777 ${SAMBA_SPOOL}
X	${MKDIR} ${SAMBA_LOGDIR} && ${CHMOD} 0755 ${SAMBA_LOGDIR}
X	${MKDIR} ${SAMBA_RUNDIR} && ${CHMOD} 0755 ${SAMBA_RUNDIR}
X	${MKDIR} ${SAMBA_LOCKDIR} && ${CHMOD} 0755 ${SAMBA_LOCKDIR}
X	${MKDIR} ${SAMBA_PRIVATEDIR} && ${CHMOD} 0700 ${SAMBA_PRIVATEDIR}
X	if [ $(id -u) -eq 0 ]; then
X		INSTALL_DATA="${INSTALL_DATA} -o ${SAMBA_OWNER} -g ${SAMBA_GROUP}"
X		${CHOWN} ${SAMBA_OWNER}:${SAMBA_GROUP} ${SAMBA_SPOOL}
X		${CHOWN} ${SAMBA_OWNER}:${SAMBA_GROUP} ${SAMBA_LOGDIR}
X		${CHOWN} ${SAMBA_OWNER}:${SAMBA_GROUP} ${SAMBA_RUNDIR}
X		${CHOWN} ${SAMBA_OWNER}:${SAMBA_GROUP} ${SAMBA_LOCKDIR}
X		${CHOWN} ${SAMBA_OWNER}:${SAMBA_GROUP} ${SAMBA_PRIVATEDIR}
X	fi
X	${INSTALL_DATA} ${EXAMPLESDIR}/${SAMBA_CONFIG}.sample ${SAMBA_CONFDIR}
X	if [ ! -f ${SAMBA_CONFDIR}/${SAMBA_CONFIG} ]; then
X	    ${INSTALL_DATA} ${EXAMPLESDIR}/${SAMBA_CONFIG}.sample ${SAMBA_CONFDIR}/${SAMBA_CONFIG}
X	fi
X}
X
Xcase $2 in
X	POST-INSTALL)
X		post-install
X		;;
Xesac
a14d3b7686c5c1b42f5fc881bda912ab
echo x - samba36-devel/files/pkg-message.in
sed 's/^X//' >samba36-devel/files/pkg-message.in << '753542e1fccbaef36a47c2f873fee4ef'
X===============================================================================
XSamba3 *package* now doesn't include ADS support due the portability problems
Xwith Kerberos5 libraries on different installations. You need to compile the
Xport yourself to get this functionality.
X
XFor additional hints and directions, please, look into the README.FreeBSD file.
X===============================================================================
753542e1fccbaef36a47c2f873fee4ef
echo x - samba36-devel/files/smb.conf.sample.in
sed 's/^X//' >samba36-devel/files/smb.conf.sample.in << '6b7b03167fa579cd0f463dccad46169a'
X# This is the main Samba configuration file. You should read the
X# smb.conf(5) manual page in order to understand the options listed
X# here. Samba has a huge number of configurable options (perhaps too
X# many!) most of which are not shown in this example
X#
X# For a step to step guide on installing, configuring and using samba, 
X# read the Samba-HOWTO-Collection. This may be obtained from:
X#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
X#
X# Many working examples of smb.conf files can be found in the 
X# Samba-Guide which is generated daily and can be downloaded from: 
X#  http://www.samba.org/samba/docs/Samba-Guide.pdf
X#
X# Any line which starts with a ; (semi-colon) or a # (hash) 
X# is a comment and is ignored. In this example we will use a #
X# for commentry and a ; for parts of the config file that you
X# may wish to enable
X#
X# NOTE: Whenever you modify this file you should run the command "testparm"
X# to check that you have not made any basic syntactic errors. 
X#
X#======================= Global Settings =====================================
X[global]
X
X# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
X   workgroup = MYGROUP
X
X# server string is the equivalent of the NT Description field
X   server string = Samba Server
X
X# Security mode. Defines in which mode Samba will operate. Possible 
X# values are share, user, server, domain and ads. Most people will want 
X# user level security. See the Samba-HOWTO-Collection for details.
X   security = user
X
X# This option is important for security. It allows you to restrict
X# connections to machines which are on your local network. The
X# following example restricts access to two C class networks and
X# the "loopback" interface. For more examples of the syntax see
X# the smb.conf man page
X;   hosts allow = 192.168.1. 192.168.2. 127.
X
X# If you want to automatically load your printer list rather
X# than setting them up individually then you'll need this
X   load printers = yes
X
X# you may wish to override the location of the printcap file
X;   printcap name = /etc/printcap
X
X# on SystemV system setting printcap name to lpstat should allow
X# you to automatically obtain a printer list from the SystemV spool
X# system
X;   printcap name = lpstat
X
X# It should not be necessary to specify the print system type unless
X# it is non-standard. Currently supported print systems include:
X# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
X;   printing = cups
X
X# Uncomment this if you want a guest account, you must add this to /etc/passwd
X# otherwise the user "nobody" is used
X;  guest account = pcguest
X
X# this tells Samba to use a separate log file for each machine
X# that connects
X   log file = %%SAMBA_LOGDIR%%/log.%m
X
X# Put a capping on the size of the log files (in Kb).
X   max log size = 50
X
X# Use password server option only with security = server
X# The argument list may include:
X#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
X# or to auto-locate the domain controller/s
X#   password server = *
X;   password server = <NT-Server-Name>
X
X# Use the realm option only with security = ads
X# Specifies the Active Directory realm the host is part of
X;   realm = MY_REALM
X
X# Backend to store user information in. New installations should 
X# use either tdbsam or ldapsam. smbpasswd is available for backwards 
X# compatibility. tdbsam requires no further configuration.
X;   passdb backend = tdbsam
X
X# Using the following line enables you to customise your configuration
X# on a per machine basis. The %m gets replaced with the netbios name
X# of the machine that is connecting.
X# Note: Consider carefully the location in the configuration file of
X#       this line.  The included file is read at that point.
X;   include = %%SAMBA_CONFDIR%%/smb.conf.%m
X
X# Most people will find that this option gives better performance.
X# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
X# and the manual pages for details.
X# You may want to add the following on a Linux system:
X;   socket options = SO_RCVBUF=8192 SO_SNDBUF=8192
X
X# Configure Samba to use multiple interfaces
X# If you have multiple network interfaces then you must list them
X# here. See the man page for details.
X;   interfaces = 192.168.12.2/24 192.168.13.2/24 
X
X# Browser Control Options:
X# set local master to no if you don't want Samba to become a master
X# browser on your network. Otherwise the normal election rules apply
X;   local master = no
X
X# OS Level determines the precedence of this server in master browser
X# elections. The default value should be reasonable
X;   os level = 33
X
X# Domain Master specifies Samba to be the Domain Master Browser. This
X# allows Samba to collate browse lists between subnets. Don't use this
X# if you already have a Windows NT domain controller doing this job
X;   domain master = yes 
X
X# Preferred Master causes Samba to force a local browser election on startup
X# and gives it a slightly higher chance of winning the election
X;   preferred master = yes
X
X# Enable this if you want Samba to be a domain logon server for 
X# Windows95 workstations. 
X;   domain logons = yes
X
X# if you enable domain logons then you may want a per-machine or
X# per user logon script
X# run a specific logon batch file per workstation (machine)
X;   logon script = %m.bat
X# run a specific logon batch file per username
X;   logon script = %U.bat
X
X# Where to store roving profiles (only for Win95 and WinNT)
X#        %L substitutes for this servers netbios name, %U is username
X#        You must uncomment the [Profiles] share below
X;   logon path = \\%L\Profiles\%U
X
X# Windows Internet Name Serving Support Section:
X# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
X;   wins support = yes
X
X# WINS Server - Tells the NMBD components of Samba to be a WINS Client
X#	Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
X;   wins server = w.x.y.z
X
X# WINS Proxy - Tells Samba to answer name resolution queries on
X# behalf of a non WINS capable client, for this to work there must be
X# at least one	WINS Server on the network. The default is NO.
X;   wins proxy = yes
X
X# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
X# via DNS nslookups. The default is NO.
X   dns proxy = no 
X
X# Charset settings
X;   display charset = koi8-r
X;   unix charset = koi8-r
X;   dos charset = cp866
X
X# Use extended attributes to store file modes
X;    store dos attributes = yes
X;    map hidden = no
X;    map system = no
X;    map archive = no
X
X# Use inherited ACLs for directories
X;    nt acl support = yes
X;    inherit acls = yes
X;    map acl inherit = yes 
X
X# These scripts are used on a domain controller or stand-alone 
X# machine to add or delete corresponding unix accounts
X;  add user script = /usr/sbin/useradd %u
X;  add group script = /usr/sbin/groupadd %g
X;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
X;  delete user script = /usr/sbin/userdel %u
X;  delete user from group script = /usr/sbin/deluser %u %g
X;  delete group script = /usr/sbin/groupdel %g
X
X
X#============================ Share Definitions ==============================
X[homes]
X   comment = Home Directories
X   browseable = no
X   writable = yes
X
X# Un-comment the following and create the netlogon directory for Domain Logons
X; [netlogon]
X;   comment = Network Logon Service
X;   path = /usr/local/samba/lib/netlogon
X;   guest ok = yes
X;   writable = no
X;   share modes = no
X
X
X# Un-comment the following to provide a specific roving profile share
X# the default is to use the user's home directory
X;[Profiles]
X;    path = /usr/local/samba/profiles
X;    browseable = no
X;    guest ok = yes
X
X
X# NOTE: If you have a BSD-style print system there is no need to 
X# specifically define each individual printer
X[printers]
X   comment = All Printers
X   path = %%SAMBA_SPOOL%%
X   browseable = no
X# Set public = yes to allow user 'guest account' to print
X   guest ok = no
X   writable = no
X   printable = yes
X
X# This one is useful for people to share files
X;[tmp]
X;   comment = Temporary file space
X;   path = /tmp
X;   read only = no
X;   public = yes
X
X# A publicly accessible directory, but read only, except for people in
X# the "staff" group
X;[public]
X;   comment = Public Stuff
X;   path = /home/samba
X;   public = yes
X;   writable = yes
X;   printable = no
X;   write list = @staff
X
X# Other examples. 
X#
X# A private printer, usable only by fred. Spool data will be placed in fred's
X# home directory. Note that fred must have write access to the spool directory,
X# wherever it is.
X;[fredsprn]
X;   comment = Fred's Printer
X;   valid users = fred
X;   path = /homes/fred
X;   printer = freds_printer
X;   public = no
X;   writable = no
X;   printable = yes
X
X# A private directory, usable only by fred. Note that fred requires write
X# access to the directory.
X;[fredsdir]
X;   comment = Fred's Service
X;   path = /usr/somewhere/private
X;   valid users = fred
X;   public = no
X;   writable = yes
X;   printable = no
X
X# a service which has a different directory for each machine that connects
X# this allows you to tailor configurations to incoming machines. You could
X# also use the %U option to tailor it by user name.
X# The %m gets replaced with the machine name that is connecting.
X;[pchome]
X;  comment = PC Directories
X;  path = /usr/pc/%m
X;  public = no
X;  writable = yes
X
X# A publicly accessible directory, read/write to all users. Note that all files
X# created in the directory by users will be owned by the default user, so
X# any user with access can delete any other user's files. Obviously this
X# directory must be writable by the default user. Another user could of course
X# be specified, in which case all files would be owned by that user instead.
X;[public]
X;   path = /usr/somewhere/else/public
X;   public = yes
X;   only guest = yes
X;   writable = yes
X;   printable = no
X
X# The following two entries demonstrate how to share a directory so that two
X# users can place files there that will be owned by the specific users. In this
X# setup, the directory should be writable by both users and should have the
X# sticky bit set on it to prevent abuse. Obviously this could be extended to
X# as many users as required.
X;[myshare]
X;   comment = Mary's and Fred's stuff
X;   path = /usr/somewhere/shared
X;   valid users = mary fred
X;   public = no
X;   writable = yes
X;   printable = no
X;   create mask = 0765
X;
X
X# This is a DRAFT sample configuration for the ACLs on the ZFS partition.
X#
X;    nt acl support = yes
X;    inherit acls = no
X;    map acl inherit = yes
X;
X;[zpool]
X;    path = /tank/zpool
X;    unix extensions = no
X;    vfs objects = zfsacl
X;    nfs4:mode = special
X;    nfs4:acedup = merge
X;    nfs4:chown = yes
6b7b03167fa579cd0f463dccad46169a
echo x - samba36-devel/files/samba.in
sed 's/^X//' >samba36-devel/files/samba.in << 'd6405c5cdc67e0640a702565a8f48dbc'
X#!/bin/sh
X#
X# $FreeBSD: ports/net/samba35/files/samba.in,v 1.1 2010/10/26 02:41:58 timur Exp $
X#
X
X# PROVIDE: nmbd smbd
X%%WINBIND%%# PROVIDE: winbindd
X# REQUIRE: NETWORKING SERVERS DAEMON ldconfig resolv
X%%CUPS%%# REQUIRE: cupsd
X# BEFORE: LOGIN
X# KEYWORD: shutdown
X#
X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
X# to enable this service:
X#
X#samba_enable="YES"
X# or, for fine grain control:
X#nmbd_enable="YES"
X#smbd_enable="YES"
X%%WINBIND%%# You need to enable winbindd separately, by adding:
X%%WINBIND%%#winbindd_enable="YES"
X#
X# Configuration file can be set with:
X#samba_config="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%"
X#
X
X. /etc/rc.subr
X
Xname="samba"
Xrcvar=$(set_rcvar)
Xset_rcvar ${rcvar} "NO" "Samba service" > /dev/null
X# Defaults
Xeval ${rcvar}=\${${rcvar}:=NO}
Xsamba_config_default="%%SAMBA_CONFDIR%%/%%SAMBA_CONFIG%%"
Xsamba_config=${samba_config="${samba_config_default}"}
Xcommand_args=${samba_config:+-s "${samba_config}"}
X# Fetch parameters from configuration file
Xtestparm_command="%%PREFIX%%/bin/testparm"
Xsmbcontrol_command="%%PREFIX%%/bin/smbcontrol"
Xsamba_parm="${testparm_command} -s -v --parameter-name"
Xsamba_idmap=$(${samba_parm} 'idmap uid' "${samba_config}" 2>/dev/null)
Xsamba_lockdir=$(${samba_parm} 'lock directory' "${samba_config}" 2>/dev/null)
X# Load configuration
Xload_rc_config "${name}"
X# Setup dependent variables
Xif [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
X    nmbd_enable=${nmbd_enable=YES}
X    smbd_enable=${smbd_enable=YES}
X%%WINBIND%%    # Check that winbindd is actually configured
X%%WINBIND%%    if [ -n "${samba_idmap}" ]; then
X%%WINBIND%%	winbindd_enable=${winbindd_enable=YES}
X%%WINBIND%%    fi
Xfi
X# XXX: Hack to enable check of the dependent variables
Xeval real_${rcvar}="\${${rcvar}:=NO}"	${rcvar}=YES
X# nmbd
Xnmbd_enable=${nmbd_enable:=NO}
Xnmbd_flags=${nmbd_flags="-D"}
Xset_rcvar nmbd_enable "NO" "nmb daemon" >/dev/null
X# smbd
Xsmbd_enable=${smbd_enable:=NO}
Xsmbd_flags=${smbd_flags="-D"}
Xset_rcvar smbd_enable "NO" "smb daemon" >/dev/null
X%%WINBIND%%# winbindd
X%%WINBIND%%winbindd_enable=${winbindd_enable:=NO}
X%%WINBIND%%winbindd_flags=${winbindd_flags=''}
X%%WINBIND%%set_rcvar winbindd_enable "NO" "winbind daemon" >/dev/null
X# Custom commands
Xextra_commands="reload status"
Xstart_precmd="samba_start_precmd"
Xstart_cmd="samba_cmd"
Xstop_cmd="samba_cmd"
Xstatus_cmd="samba_cmd"
Xrestart_precmd="samba_checkconfig"
Xreload_precmd="samba_checkconfig"
Xreload_cmd="samba_reload_cmd"
Xrcvar_cmd="samba_rcvar_cmd"
X#
Xsamba_daemons="nmbd smbd"
X%%WINBIND%%samba_daemons="${samba_daemons} winbindd"
X# Requirements
Xrequired_files="${samba_config}"
Xrequired_dirs="${samba_lockdir}"
X
Xsamba_checkconfig() {
X    echo -n "Performing sanity check on Samba configuration: "
X    if ${testparm_command} -s ${samba_config:+"${samba_config}"} >/dev/null 2>&1; then
X	echo "OK"
X    else
X	echo "FAILED"
X	return 1
X    fi
X    return 0
X}
X
Xsamba_start_precmd() {
X    # XXX: Never delete winbindd_idmap, winbindd_cache and group_mapping
X    if [ -n "${samba_lockdir}" -a -d "${samba_lockdir}" ]; then
X	echo -n "Removing stale Samba tdb files: "
X	for file in brlock.tdb browse.dat connections.tdb gencache.tdb \
X		    locking.tdb messages.tdb namelist.debug sessionid.tdb \
X		    unexpected.tdb
X	do
X	    rm "${samba_lockdir}/${file}" </dev/null 2>/dev/null && echo -n '.'
X	done
X	echo " done"
X    fi
X}
X
Xsamba_rcvar_cmd() {
X    local rcvar
X    rcvar=$(set_rcvar ${name})
X    eval ${rcvar}=\${real_${rcvar}}
X    # Prevent recursive calling
X    unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
X    # Check master variable
X    run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args}
X}
X
Xsamba_reload_cmd() {
X    local name rcvar command pidfile
X    # Prevent recursive calling
X    unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
X    # Apply to all daemons
X    for name in ${samba_daemons}; do
X    	rcvar=$(set_rcvar ${name})
X	command="%%PREFIX%%/sbin/${name}"
X	pidfile="%%SAMBA_RUNDIR%%/${name}${pid_extra}.pid"
X	# Daemon should be enabled and running
X	if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
X	    if [ -n "$(check_pidfile "${pidfile}" "${command}")" ]; then
X		debug "reloading ${name} configuration"
X		echo "Reloading ${name}."
X		# XXX: Hack with pid_extra
X		${smbcontrol_command} "${name}${pid_extra}" 'reload-config' ${command_args} >/dev/null 2>&1
X	    fi
X	fi
X    done
X}
X
Xsamba_cmd() {
X    local name rcvar rcvars v command pidfile samba_daemons result
X    # Prevent recursive calling
X    unset "${rc_arg}_cmd" "${rc_arg}_precmd" "${rc_arg}_postcmd"
X    # Stop processes in the reverse order
X    if [ "${rc_arg}" = "stop" ] ; then
X	samba_daemons=$(reverse_list ${samba_daemons})
X    fi
X    # Assume success
X    result=0
X    # Apply to all daemons
X    for name in ${samba_daemons}; do
X	rcvar=$(set_rcvar ${name})
X	# XXX
X	rcvars=''; v=''
X	command="%%PREFIX%%/sbin/${name}"
X	pidfile="%%SAMBA_RUNDIR%%/${name}${pid_extra}.pid"
X	# Daemon should be enabled and running
X	if [ -n "${rcvar}" ] && checkyesno "${rcvar}"; then
X	    run_rc_command "${_rc_prefix}${rc_arg}" ${rc_extra_args}
X	    # If any of the of the commands failed, take it as a total result
X	    result=$((${result} || $?))
X	fi
X    done
X    return ${result}
X}
X
Xrun_rc_command "$1"
d6405c5cdc67e0640a702565a8f48dbc
echo x - samba36-devel/files/patch__source3__script__installmodules.sh
sed 's/^X//' >samba36-devel/files/patch__source3__script__installmodules.sh << 'b1c895c6f82a4154b9c79cba44880a1e'
X--- ./source3/script/installmodules.sh~	2011-08-25 19:14:26.000000000 +0400
X+++ ./source3/script/installmodules.sh	2011-08-25 19:14:26.000000000 +0400
X@@ -29,8 +29,9 @@
X for p in $*; do
X  p2=`basename $p`
X  name=`echo $p2 | sed -es/${mtype}_//`
X- echo Preserving old module as $DESTDIR/$LIBDIR/$name.old
X+
X  if [ -f $DESTDIR/$LIBDIR/$name ]; then
X+   echo Preserving old module as $DESTDIR/$LIBDIR/$name.old
X    rm -f $DESTDIR/$LIBDIR/$name.old
X    mv $DESTDIR/$LIBDIR/$name $DESTDIR/$LIBDIR/$name.old
X  fi
b1c895c6f82a4154b9c79cba44880a1e
echo x - samba36-devel/todo
sed 's/^X//' >samba36-devel/todo << '02d43cbe6328909366726de94722b264'
XUninstall /usr/local/lib/libwbclient.so
02d43cbe6328909366726de94722b264
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list