ports/96428: lang/php5: add SASL support to php5-ldap

Joerg Pulz Joerg.Pulz at frm2.tum.de
Thu Apr 27 19:20:32 UTC 2006


>Number:         96428
>Category:       ports
>Synopsis:       lang/php5: add SASL support to php5-ldap
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 19:20:23 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list