ports/56122: japanese/samba is updated to samba-2.2.8a-ja-1.1

NAKAJI Hiroyuki nakaji at jp.freebsd.org
Fri Aug 29 07:50:19 UTC 2003


>Number:         56122
>Category:       ports
>Synopsis:       japanese/samba is updated to samba-2.2.8a-ja-1.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 29 00:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     NAKAJI Hiroyuki
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD boggy.acest.tutrp.tut.ac.jp 5.1-CURRENT FreeBSD 5.1-CURRENT #9: Tue Jul 15 16:31:29 JST 2003 root at boggy.acest.tutrp.tut.ac.jp:/usr/obj/usr/src/sys/NAKAJI i386


>Description:
	Samba-2.2.8a-ja-1.1 has been released on Aug/28/2003. From this
update of japanese/samba port, CUPS is not used in default. And some
FreeBSD specific patches are included samba-ja itself.

>How-To-Repeat:

>Fix:

diff -urN -x CVS /usr/ports/japanese/samba/Makefile ./Makefile
--- /usr/ports/japanese/samba/Makefile	Wed Aug 27 22:00:47 2003
+++ ./Makefile	Wed Aug 27 21:58:35 2003
@@ -7,7 +7,6 @@
 
 PORTNAME=	samba
 PORTVERSION=	${SAMBA_VERSION}.j${SAMBA_JA_VERSION}
-PORTREVISION=	1
 CATEGORIES=	japanese net
 MASTER_SITES=	ftp://ftp.samba.gr.jp/pub/samba-jp/%SUBDIR%/ \
 		ftp://ftp.iij.ad.jp/pub/SAMBA/samba-jp/%SUBDIR%/ \
@@ -21,15 +20,12 @@
 COMMENT=	A free SMB and CIFS client and server for UNIX
 
 BUILD_DEPENDS=	msgfmt:${PORTSDIR}/devel/gettext
-LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
 
 SAMBA_VERSION=		2.2.8a
-SAMBA_JA_VERSION=	1.0
+SAMBA_JA_VERSION=	1.1
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-USE_AUTOCONF=	yes
 USE_GMAKE=	yes
 USE_SUBMAKE=	yes
 
@@ -42,17 +38,23 @@
 .include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
 .endif
 
+.if defined(WITH_GNU_GETTEXT)
+LIB_DEPENDS=	intl.5:${PORTSDIR}/devel/gettext
+.endif
+
 AUDIT?=		"@comment "
 RECYCLE?=	"@comment "
 LIBSAMBA?=	"@comment "
 BUILD_VFS?=	"@comment "
 LDAPSAM?=	"@comment "
 WINBIND?=	"@comment "
+SMBSH?=		"@comment "
 
 .if defined(WITH_AUDIT)
 AUDIT=		""
 LIBSAMBA=	""
 BUILD_VFS=	""
+USE_LIBTOOL=	yes
 .endif
 
 .if defined(WITH_RECYCLE)
@@ -84,9 +86,15 @@
 		--with-logfilebase=${SAMBA_LOGDIR} \
 		--with-privatedir=${SAMBA_PRIVATE} \
 		--with-piddir=${VARDIR}/run \
-		--with-pam \
+		--with-pam --with-pam_smbpass \
 		--prefix=${PREFIX}
 
+.if defined(WITH_GNU_GETTEXT)
+CONFIGURE_ARGS+=	--with-included-gettext=no
+.else
+CONFIGURE_ARGS+=	--with-included-gettext
+.endif
+
 .include <bsd.port.pre.mk>
 
 CONFIGURE_ENV+=	TESTDIR=/tmp \
@@ -121,7 +129,7 @@
 LDAPSAM=	""
 .endif
 
-.if !defined(WITHOUT_CUPS)
+.if defined(WITH_CUPS)
 WITH_CUPS=	yes
 .endif
 
@@ -134,6 +142,11 @@
 CONFIGURE_ARGS+=	--with-winbind-auth-challenge
 .endif
 
+.if defined(WITH_SMBSH)
+CONFIGURE_ARGS+=	--with-smbwrapper --with-libsmbclient
+SMBSH=		""
+.endif
+
 # malloc.h check is not needed.
 CONFIGURE_ENV+=	ac_cv_header_malloc_h=no
 
@@ -183,17 +196,21 @@
 		LIBSAMBA=${LIBSAMBA} \
 		BUILD_VFS=${BUILD_VFS} \
 		LDAPSAM=${LDAPSAM} \
-		WINBIND=${WINBIND}
+		WINBIND=${WINBIND} \
+		SMBSH=${SMBSH}
 
-pre-build:
-	${RM} -fr ${WRKSRC}/include/proto.h
-	(cd ${WRKSRC} && make proto)
+post-patch:
+	${FIND} ${WRKSRC}/.. -name '*.orig' -delete
+
+#pre-build:
+#	${RM} -fr ${WRKSRC}/include/proto.h
+#	(cd ${WRKSRC} && make proto)
 
 post-build:
 	${SED} 's:/usr/local:${PREFIX}:g' ${FILESDIR}/samba.sh.sample \
 		> ${WRKDIR}/samba.sh.sample
 .if defined(WITH_RECYCLE) || defined(WITH_AUDIT)
-	cd ${WRKDIR}/${DISTNAME}/examples/VFS; \
+	cd ${WRKSRC}/../examples/VFS; \
 		${SETENV} LIBTOOL=${LIBTOOL} ./configure;${GMAKE}; \
 		${RM} -f config.cache config.log config.status
 .endif
@@ -202,29 +219,20 @@
 .if defined(WITH_AUDIT) || defined(WITH_RECYCLE)
 	@test -d ${SAMBA_VFSDIR} || ${MKDIR} ${SAMBA_VFSDIR}
 .if defined(WITH_AUDIT)
-	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/examples/VFS/audit.so ${SAMBA_VFSDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/../examples/VFS/audit.so ${SAMBA_VFSDIR}
 .endif
 .if defined(WITH_RECYCLE)
-	${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/examples/VFS/recycle/recycle.so ${SAMBA_VFSDIR}
+	@${INSTALL_PROGRAM} ${WRKSRC}/../examples/VFS/recycle/recycle.so ${SAMBA_VFSDIR}
 .endif
 .endif
-	${MKDIR} ${PREFIX}/share/examples/samba
-	-${RM} -f ${WRKDIR}/${DISTNAME}/examples/libsmbclient/*.o
-	${CP} -rp ${WRKDIR}/${DISTNAME}/examples/* ${PREFIX}/share/examples/samba
-.if defined(WITH_AUDIT) || defined(WITH_RECYCLE)
-#	@${RM} -rf ${PREFIX}/share/examples/samba/VFS/.libs
-	${FIND} ${PREFIX}/share/examples/samba/VFS -type d -name ".libs" | ${XARGS} ${RM} -r
-	@for file in audit.o audit.so recycle/recycle.o recycle/recycle.so skel.o skel.so ; do \
-		${RM} ${PREFIX}/share/examples/samba/VFS/$${file} ; \
-	done
-.endif
+	@${MKDIR} ${PREFIX}/share/examples/samba
+	@-${RM} -f ${WRKSRC}/../examples/libsmbclient/*.o
+	@cd ${WRKSRC}/../examples; \
+		${TAR}  --exclude .cvsignore --exclude .libs --exclude '*.o' --exclude '*.lo' -cf - . | ${TAR} -xf - -C ${PREFIX}/share/examples/samba
 	@${STRIP_CMD} ${PREFIX}/sbin/smbd ${PREFIX}/sbin/nmbd ${PREFIX}/sbin/swat
 	@${STRIP_CMD} ${PREFIX}/bin/smbclient ${PREFIX}/bin/smbspool
 	@${STRIP_CMD} ${PREFIX}/bin/testparm ${PREFIX}/bin/testprns ${PREFIX}/bin/testprns ${PREFIX}/bin/smbstatus ${PREFIX}/bin/smbcontrol ${PREFIX}/bin/make_printerdef
-	@${STRIP_CMD} ${PREFIX}/bin/smbpasswd ${PREFIX}/bin/make_smbcodepage ${PREFIX}/bin/rpcclient ${PREFIX}/bin/make_unicodemap ${PREFIX}/bin/make_nftable ${PREFIX}/bin/smbcacls ${PREFIX}/bin/nmblookup
-	@${MKDIR} ${PREFIX}/share/examples/samba
-	@cd ${WRKDIR}/${DISTNAME}/examples; \
-		${TAR}  --exclude .cvsignore --exclude .libs -cf - . | ${TAR} -xf - -C ${PREFIX}/share/examples/samba
+	@${STRIP_CMD} ${PREFIX}/bin/smbpasswd ${PREFIX}/bin/make_smbcodepage ${PREFIX}/bin/rpcclient ${PREFIX}/bin/make_unicodemap ${PREFIX}/bin/smbcacls ${PREFIX}/bin/nmblookup
 	@if [ ! -f ${STARTUP_SCRIPT} ]; then				\
 		${ECHO} "Installing ${STARTUP_SCRIPT} startup file." ;	\
 		${INSTALL_SCRIPT} ${WRKDIR}/samba.sh.sample 		\
@@ -239,7 +247,7 @@
 			${FILESDIR}/smb.conf.default			\
 			> ${SAMPLE_CONFIG} ;				\
 	fi
-	@${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/source/script/mksmbpasswd.sh ${PREFIX}/bin/make_smbpasswd
+	@${INSTALL_SCRIPT} ${WRKSRC}/../source/script/mksmbpasswd.sh ${PREFIX}/bin/make_smbpasswd
 
 	@${MKDIR} -m 500 ${SAMBA_PRIVATE}
 	@${CHOWN} root:wheel ${SAMBA_PRIVATE}
@@ -249,31 +257,31 @@
 
 	@${CHOWN} root:wheel ${PREFIX}/bin/smbpasswd
 	@${CHMOD} 111 ${PREFIX}/bin/smbpasswd
-	${ECHO_CMD} "@exec ${TEST} -d ${SAMBA_SPOOL} || ${MKDIR} ${SAMBA_SPOOL} && ${CHMOD} 1777 ${SAMBA_SPOOL}" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@unexec ${RM} -rf ${SAMBA_SPOOL}" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@exec ${MKDIR} -m 500 ${SAMBA_PRIVATE}" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@exec ${CHOWN} root:wheel ${SAMBA_PRIVATE}" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@exec ${CAT} /etc/passwd | ${GREP} -v "^#" | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@exec ${TEST} -e ${SAMBA_PRIVATE}/smbpasswd || ${CP} -p ${SAMBA_PRIVATE}/smbpasswd.default ${SAMBA_PRIVATE}/smbpasswd" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@exec ${CHMOD} 600 ${SAMBA_PRIVATE}/smbpasswd*" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@unexec /usr/bin/cmp -s ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/smbpasswd.default && ${RM} -f ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/secrets.tdb || ${TRUE}" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@unexec ${RM} -f ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
-	${ECHO_CMD} "@unexec ${RMDIR} ${SAMBA_PRIVATE} || (${ECHO_CMD} \"Warning: If you will *NOT* use this package anymore,\" && ${ECHO_CMD} \"         please remove ${SAMBA_PRIVATE} and its contents manually.\")" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${TEST} -d ${SAMBA_SPOOL} || ${MKDIR} ${SAMBA_SPOOL} && ${CHMOD} 1777 ${SAMBA_SPOOL}" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ${RM} -rf ${SAMBA_SPOOL}" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${MKDIR} -m 500 ${SAMBA_PRIVATE}" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${CHOWN} root:wheel ${SAMBA_PRIVATE}" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${CAT} /etc/passwd | ${GREP} -v "^#" | ${PREFIX}/bin/make_smbpasswd > ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${TEST} -e ${SAMBA_PRIVATE}/smbpasswd || ${CP} -p ${SAMBA_PRIVATE}/smbpasswd.default ${SAMBA_PRIVATE}/smbpasswd" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@exec ${CHMOD} 600 ${SAMBA_PRIVATE}/smbpasswd*" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec /usr/bin/cmp -s ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/smbpasswd.default && ${RM} -f ${SAMBA_PRIVATE}/smbpasswd ${SAMBA_PRIVATE}/secrets.tdb || ${TRUE}" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ${RM} -f ${SAMBA_PRIVATE}/smbpasswd.default" | ${SED_PLIST} >> ${TMPPLIST}
+	@${ECHO_CMD} "@unexec ${RMDIR} ${SAMBA_PRIVATE} || (${ECHO_CMD} \"Warning: If you will *NOT* use this package anymore,\" && ${ECHO_CMD} \"         please remove ${SAMBA_PRIVATE} and its contents manually.\")" | ${SED_PLIST} >> ${TMPPLIST}
 
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${PREFIX}/share/doc/samba
 	@${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${PREFIX}/share/doc/samba
-	@for i in ${WRKDIR}/${DISTNAME}/README				\
-			${WRKDIR}/${DISTNAME}/COPYING			\
-			${WRKDIR}/${DISTNAME}/Manifest			\
-			${WRKDIR}/${DISTNAME}/Read-Manifest-Now		\
-			${WRKDIR}/${DISTNAME}/Roadmap			\
-			${WRKDIR}/${DISTNAME}/WHATSNEW.txt; do		\
+	@for i in ${WRKSRC}/../README				\
+			${WRKSRC}/../COPYING			\
+			${WRKSRC}/../Manifest			\
+			${WRKSRC}/../Read-Manifest-Now		\
+			${WRKSRC}/../Roadmap			\
+			${WRKSRC}/../WHATSNEW.txt; do		\
 		${INSTALL_DATA} $$i ${PREFIX}/share/doc/samba ;		\
 	done
-	@cd ${WRKDIR}/${DISTNAME}/docs; \
+	@cd ${WRKSRC}/../docs; \
 		${TAR}  --exclude .cvsignore -cf - . | ${TAR} -xf - -C ${PREFIX}/share/doc/samba
-	@${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/swat/README ${PREFIX}/share/doc/samba/README.swat
+	@${INSTALL_DATA} ${WRKSRC}/../swat/README ${PREFIX}/share/doc/samba/README.swat
 .endif
 
 	@if [ -f ${VARDIR}/spool/lock/browse.dat ]; then \
diff -urN -x CVS /usr/ports/japanese/samba/distinfo ./distinfo
--- /usr/ports/japanese/samba/distinfo	Mon Jun  9 10:42:04 2003
+++ ./distinfo	Fri Aug 29 16:40:26 2003
@@ -1 +1 @@
-MD5 (samba-2.2.8a-ja-1.0.tar.bz2) = 4c1af06f1570449584c92033c4901e0b
+MD5 (samba-2.2.8a-ja-1.1.tar.bz2) = 5fd05df0691fa40352f696a1a61976e6
diff -urN -x CVS /usr/ports/japanese/samba/files/patch-ba ./files/patch-ba
--- /usr/ports/japanese/samba/files/patch-ba	Mon Mar  3 21:26:26 2003
+++ ./files/patch-ba	Thu Jan  1 09:00:00 1970
@@ -1,20 +0,0 @@
---- configure.in.orig	Wed Feb 26 17:32:32 2003
-+++ configure.in	Wed Feb 26 17:33:13 2003
-@@ -170,7 +170,7 @@
- AC_SUBST(INSTALLCLIENTLIB)
- 
- # compile with optimization and without debugging by default
--CFLAGS="-O ${CFLAGS}"
-+CFLAGS="${CFLAGS}"
- 
- AC_ARG_ENABLE(debug, 
- [  --enable-debug          Turn on compiler debugging information (default=no)],
-@@ -1981,7 +1981,7 @@
-   yes)
-     AC_MSG_RESULT(yes)
-     AC_DEFINE(KRB5_AUTH)
--    LIBS="$LIBS -ldes425 -lkrb5 -lcrypto -lcom_err"
-+    LIBS="$LIBS -ldes425 -lkrb5 -lk5crypto -lcom_err"
-     CFLAGS="$CFLAGS -I$withval/include"
-     LDFLAGS="$LDFLAGS -L$withval/lib"
-     ;;
diff -urN -x CVS /usr/ports/japanese/samba/files/patch-forXP ./files/patch-forXP
--- /usr/ports/japanese/samba/files/patch-forXP	Sat Jun  7 10:35:33 2003
+++ ./files/patch-forXP	Thu Jan  1 09:00:00 1970
@@ -1,62 +0,0 @@
---- param/loadparm.c.orig	Tue May 20 11:28:38 2003
-+++ param/loadparm.c	Wed Jun  4 23:31:55 2003
-@@ -3857,8 +3857,10 @@
- 	int iService;
- 	fstring serviceName;
- 	int len;
-+	enum remote_arch_types ra_type = get_remote_arch();
- 	
--	len = (get_remote_arch() == RA_WIN2K) ? 127 : 12;
-+	len = ( (ra_type == RA_WIN2K) || (ra_type == RA_WINXP) ||
-+	        (ra_type == RA_WIN2K3) ) ? 127 : 12;
- 
- 	for (iService = iNumServices - 1; iService >= 0; iService--)
- 	{
---- rpc_server/srv_srvsvc_nt.c.orig	Tue May 20 11:22:11 2003
-+++ rpc_server/srv_srvsvc_nt.c	Wed Jun  4 23:31:55 2003
-@@ -38,9 +38,11 @@
- 	pstring net_name;
- 	pstring remark;
- 	uint32 type;
-+	enum remote_arch_types ra_type = get_remote_arch();
- 
- 	StrnCpy(net_name, lp_servicename(snum),
--		(get_remote_arch() == RA_WIN2K) ? 127 : 12);
-+		(((ra_type == RA_WIN2K) || (ra_type == RA_WINXP) ||
-+		  (ra_type == RA_WIN2K3) ) ? 127 : 12 ) );
- 	pstrcpy(remark, lp_comment(snum));
- 	standard_sub_conn(p->conn, remark, sizeof(remark));
- 	len_net_name = strlen(net_name);
---- smbd/trans2.c.orig	Tue May 20 11:17:19 2003
-+++ smbd/trans2.c	Wed Jun  4 23:34:21 2003
-@@ -921,7 +921,8 @@
- 	SMB_STRUCT_STAT sbuf;
- 
- 	ra_type = get_remote_arch();
--	NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K));
-+	NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K) ||
-+	           (ra_type == RA_WINXP) || (ra_type == RA_WIN2K3) );
- 
- 	if (total_params < 12)
- 		return(ERROR_DOS(ERRDOS,ERRinvalidparam));
-@@ -1488,7 +1489,9 @@
- 			/* NT4 always serves this up as unicode but expects it to be
- 			 * delivered as ascii! (tridge && JRA)
- 			 */
--			if ((get_remote_arch() != RA_WIN2K) && (global_client_caps & CAP_NT_SMBS)) {
-+			if (((get_remote_arch() != RA_WIN2K) ||
-+			     (get_remote_arch() != RA_WINXP) ||
-+			     (get_remote_arch() != RA_WIN2K3)) && (global_client_caps & CAP_NT_SMBS)) {
- 				data_len = 18 + strlen(vname);
- 				SIVAL(pdata,12,strlen(vname));
- 				pstrcpy(pdata+18,vname);      
-@@ -3100,7 +3103,8 @@
- 	int max_referral_level;
- 
- 	ra_type = get_remote_arch();
--	NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K));
-+	NT_arch = ((ra_type == RA_WINNT) || (ra_type == RA_WIN2K) ||
-+	           (ra_type == RA_WINXP) || (ra_type == RA_WIN2K3) );
- 
- 	DEBUG(10,("call_trans2getdfsreferral\n"));
- 
diff -urN -x CVS /usr/ports/japanese/samba/files/patch-nsswitch:pam_winbind.h ./files/patch-nsswitch:pam_winbind.h
--- /usr/ports/japanese/samba/files/patch-nsswitch:pam_winbind.h	Sat Mar  1 09:49:45 2003
+++ ./files/patch-nsswitch:pam_winbind.h	Thu Jan  1 09:00:00 1970
@@ -1,12 +0,0 @@
---- nsswitch/pam_winbind.h.orig	Mon Feb 10 17:21:48 2003
-+++ nsswitch/pam_winbind.h	Wed Feb 26 14:28:24 2003
-@@ -31,7 +31,9 @@
- #define PAM_EXTERN extern
- #include <security/pam_appl.h> 
- 
-+#ifndef PAM_AUTHTOK_RECOVER_ERR
- #define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
-+#endif
- #endif
- 
- #ifdef HAVE_SECURITY_PAM_MODULES_H
diff -urN -x CVS /usr/ports/japanese/samba/pkg-message ./pkg-message
--- /usr/ports/japanese/samba/pkg-message	Wed Apr  9 21:03:44 2003
+++ ./pkg-message	Thu Jul 24 13:17:36 2003
@@ -4,5 +4,5 @@
 are created by smbd and nmbd is changed from /var/spool/lock to
 /var/db/samba.
 
-If you are about to update your japanese/samba from 2.0.10j1.2 to 2.2.7bj1.0,
+If you are about to update your japanese/samba from 2.0.10j1.2 to 2.2.8aj1.1,
 you need to remove old these files in /var/spool/lock.
diff -urN -x CVS /usr/ports/japanese/samba/pkg-plist ./pkg-plist
--- /usr/ports/japanese/samba/pkg-plist	Tue Feb 25 00:15:06 2003
+++ ./pkg-plist	Thu Jul 24 17:45:13 2003
@@ -1,5 +1,4 @@
 bin/findsmb
-bin/make_nftable
 bin/make_printerdef
 bin/make_smbcodepage
 bin/make_smbpasswd
@@ -19,6 +18,9 @@
 %%LDAPSAM%%bin/pdbedit
 %%WINBIND%%bin/wbinfo
 %%WINBIND%%sbin/winbindd
+%%SMBSH%%bin/smbsh
+%%SMBSH%%bin/smbwrapper.so
+bin/pam_smbpass.so
 etc/codepages/codepage.1125
 etc/codepages/codepage.1251
 etc/codepages/codepage.437
@@ -823,17 +825,12 @@
 share/examples/samba/LDAP/smbldap-tools/smbldap_tools.pm
 share/examples/samba/README
 %%BUILD_VFS%%share/examples/samba/VFS/Makefile
-share/examples/samba/VFS/.cvsignore
 share/examples/samba/VFS/README
 share/examples/samba/VFS/audit.c
-%%BUILD_VFS%%share/examples/samba/VFS/audit.o
 %%BUILD_VFS%%share/examples/samba/VFS/audit.so
 share/examples/samba/VFS/block/block.c
-%%BUILD_VFS%%share/examples/samba/VFS/block/block.o
 %%BUILD_VFS%%share/examples/samba/VFS/block/block.so
-%%BUILD_VFS%%share/examples/samba/VFS/recycle/recycle.o
 %%BUILD_VFS%%share/examples/samba/VFS/recycle/recycle.so
-%%BUILD_VFS%%share/examples/samba/VFS/skel.o
 %%BUILD_VFS%%share/examples/samba/VFS/skel.so
 share/examples/samba/VFS/block/samba-block.conf
 share/examples/samba/VFS/block/smb.conf
diff -urN -x CVS /usr/ports/japanese/samba/scripts/configure.samba ./scripts/configure.samba
--- /usr/ports/japanese/samba/scripts/configure.samba	Tue Feb 25 00:15:06 2003
+++ ./scripts/configure.samba	Wed Aug 27 20:39:13 2003
@@ -17,7 +17,8 @@
 syslog		"With syslog support" OFF \
 ssl		"With ssl support" OFF \
 ldap		"With LDAP2 support" OFF \
-nocups		"Without CUPS" OFF \
+cups		"With CUPS" OFF \
+gettext		"With GNU gettext" OFF \
 acl		"With ACL support" OFF \
 utmp		"With UTMP support" OFF \
 msdfs		"With MSDFS support" OFF \
@@ -26,6 +27,7 @@
 audit		"With Audit" OFF \
 winbind		"With Winbind" OFF \
 wbauth		"With Winbind Auth Challenge" OFF \
+smbsh		"With Smbsh and smbwrapper" OFF \
 2> $tempfile
 
 	retval=$?
@@ -60,8 +62,11 @@
 		\"ldap\")
 			echo "WITH_LDAP=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
 			;;
-		\"nocups\")
-			echo "WITHOUT_CUPS=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
+		\"cups\")
+			echo "WITH_CUPS=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
+			;;
+		\"gettext\")
+			echo "WITH_GNU_GETTEXT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
 			;;
 		\"acl\")
 			echo "WITH_ACL_SUPPORT=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
@@ -86,6 +91,9 @@
 			;;
 		\"wbauth\")
 			echo "WITH_WINBIND_AUTH_CHALLENGE=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
+			;;
+		\"smbsh\")
+			echo "WITH_SMBSH=YES" >>${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc
 			;;
 		*)
 			echo "Invalid option: $1"
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list