From Joerg.Pulz@frm2.tum.de  Thu Apr 27 19:19:10 2006
Return-Path: <Joerg.Pulz@frm2.tum.de>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AFC5D16A40E;
	Thu, 27 Apr 2006 19:19:10 +0000 (UTC)
	(envelope-from Joerg.Pulz@frm2.tum.de)
Received: from mailhost.frm2.tum.de (mailhost.frm2.tum.de [129.187.179.12])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B32A943D60;
	Thu, 27 Apr 2006 19:19:04 +0000 (GMT)
	(envelope-from Joerg.Pulz@frm2.tum.de)
Received: from localhost (mailhost.frm2.tum.de [129.187.179.12])
	by mailhost.frm2.tum.de (8.13.4/8.13.4) with ESMTP id k3RJJ3dl057125;
	Thu, 27 Apr 2006 21:19:03 +0200 (CEST)
	(envelope-from jpulz@frm2.tum.de)
Received: from hades.admin.frm2 (hades.admin.frm2 [172.25.1.10])
	by mailhost.frm2.tum.de (8.13.4/8.13.4) with ESMTP id k3RJIw9B057121
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Thu, 27 Apr 2006 21:18:58 +0200 (CEST)
	(envelope-from jpulz@frm2.tum.de)
Received: from hades.admin.frm2 (localhost [127.0.0.1])
	by hades.admin.frm2 (8.13.4/8.13.4) with ESMTP id k3RJIweI036688;
	Thu, 27 Apr 2006 21:18:58 +0200 (CEST)
	(envelope-from jpulz@frm2.tum.de)
Received: (from jpulz@localhost)
	by hades.admin.frm2 (8.13.4/8.13.4/Submit) id k3RJIwZl036687;
	Thu, 27 Apr 2006 21:18:58 +0200 (CEST)
	(envelope-from jpulz)
Message-Id: <200604271918.k3RJIwZl036687@hades.admin.frm2>
Date: Thu, 27 Apr 2006 21:18:58 +0200 (CEST)
From: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
Reply-To: Joerg Pulz <Joerg.Pulz@frm2.tum.de>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Maintainer <ale@freebsd.org>
Subject: lang/php5: add SASL support to php5-ldap
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         96428
>Category:       ports
>Synopsis:       lang/php5: add SASL support to php5-ldap
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 19:20:23 GMT 2006
>Closed-Date:    Fri Aug 18 16:43:02 GMT 2006
>Last-Modified:  Fri Aug 18 16:43:02 GMT 2006
>Originator:     Joerg Pulz
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
TU-Munich / ZWE FRM-II
>Environment:
System: FreeBSD hades.admin.frm2 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #11: Wed Feb 22 19:01:44 CET 2006 root@hades.admin.frm2:/usr/obj/usr/src/sys/HADES i386


	
>Description:
	Currently the php5-ldap port can not be build with support for SASL
	authentication mechanisms (ldap_sasl_bind function).
	Adding "--with-ldap-sasl" to CONFIGURE_ARGS when WANT_OPENLDAP_SASL is
	defined solves this.

	I'm a bit unsure about PORTREVISION bump. It would only make sense to
	add a PORTREVISION=2 line to net/php5-ldap, as a bump in lang/php5
	would end in a bump for all php5-* ports, which is far to much overhead.
	Anyway, i will leave this decision for the Maintainer.

>How-To-Repeat:
	
>Fix:

	- apply the patch

--- lang_php5.diff begins here ---
Index: Makefile.ext
===================================================================
RCS file: /home/ncvs/ports/lang/php5/Makefile.ext,v
retrieving revision 1.27
diff -u -r1.27 Makefile.ext
--- Makefile.ext	12 Apr 2006 15:24:13 -0000	1.27
+++ Makefile.ext	27 Apr 2006 19:02:42 -0000
@@ -147,6 +147,10 @@
 CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
 
 USE_OPENLDAP=	yes
+
+. ifdef(WANT_OPENLDAP_SASL)
+CONFIGURE_ARGS+=--with-ldap-sasl
+. endif
 .endif
 
 .if ${PHP_MODNAME} == "mbstring"
--- lang_php5.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Apr 27 19:24:11 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96428 
State-Changed-From-To: open->closed 
State-Changed-By: delphij 
State-Changed-When: Fri Aug 18 16:41:44 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96428 
>Unformatted:
