Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2003 14:41:59 +0800 (MYT)
From:      KT Sin <ktsin@acm.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50264: samba-2.2.8: winbind is always selected during build
Message-ID:  <200303250641.h2P6fxn4001453@melati.no-ip.org>

next in thread | raw e-mail | index | archive | help

>Number:         50264
>Category:       ports
>Synopsis:       samba-2.2.8: winbind is always selected during build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 24 22:50:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     KT Sin
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD melati.no-ip.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Mar 24 16:29:19 MYT 2003 ktsin@melati.no-ip.org:/usr/src/sys/i386/compile/MELATI i386


	
>Description:
	
After the last commit, samba 2.2.8 insists on building with winbind enabled regardless of whether WITH_WINBIND is defined or not. See also PR ports/50112.

>How-To-Repeat:
	
>Fix:

Think below is what you want:

--- Makefile.orig	Mon Mar 24 23:55:28 2003
+++ Makefile	Tue Mar 25 10:52:51 2003
@@ -35,8 +35,8 @@
 RECYCLE?=       "@comment "
 LIBSAMBA?=      "@comment "
 BUILD_VFS?=     "@comment "
-WITH_WINBIND?=  "@comment "
-WITH_WINBIND_AUTH_CHALLENGE?= "@comment "
+WINBIND?=       "@comment "
+WINBIND_AUTH_CHALLENGE?= "@comment "
 
 .if defined(WITH_AUDIT)
 AUDIT=		""
@@ -113,12 +113,12 @@
 
 .if defined(WITH_WINBIND)
 CONFIGURE_ARGS+=	--with-winbind
-WITH_WINBIND=	""
+WINBIND=	""
 .endif
 
 .if defined(WITH_WINBIND_AUTH_CHALLENGE)
 CONFIGURE_ARGS+=	--with-winbind-auth-challenge
-WITH_WINBIND_AUTH_CHALLENGE=	""
+WINBIND_AUTH_CHALLENGE=	""
 .endif
 
 pre-fetch:
@@ -171,8 +171,8 @@
 		RECYCLE=${RECYCLE} \
 		LIBSAMBA=${LIBSAMBA} \
 		BUILD_VFS=${BUILD_VFS} \
-		WITH_WINBIND=${WITH_WINBIND} \
-		WITH_WINBIND_AUTH_CHALLENGE=${WITH_WINBIND_AUTH_CHALLENGE}
+		WINBIND=${WINBIND} \
+		WINBIND_AUTH_CHALLENGE=${WINBIND_AUTH_CHALLENGE}
 
 .if defined(WITH_RECYCLE) || defined(WITH_AUDIT)
 post-build:
--- pkg-plist.orig	Mon Mar 24 23:55:28 2003
+++ pkg-plist	Tue Mar 25 11:03:33 2003
@@ -15,8 +15,8 @@
 bin/tdbbackup
 bin/testparm
 bin/testprns
-%%WITH_WINBIND_AUTH_CHALLENGE%%bin/wbinfo
-%%WITH_WINBIND%%sbin/winbindd
+%%WINBIND_AUTH_CHALLENGE%%bin/wbinfo
+%%WINBIND%%sbin/winbindd
 etc/codepages/codepage.1125
 etc/codepages/unicode_map.1125
 etc/codepages/unicode_map.KOI8-U
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303250641.h2P6fxn4001453>