ports/97581: net/php5-ldap and lang/php5: add WITH_SASL to enable sasl support.
Tom McLaughlin
tmclaugh at FreeBSD.org
Sun May 21 22:10:31 UTC 2006
>Number: 97581
>Category: ports
>Synopsis: net/php5-ldap and lang/php5: add WITH_SASL to enable sasl support.
>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: Sun May 21 22:10:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tom McLaughlin
>Release: FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD 6.1-RELEASE #0: Tue May 9 23:24:43 EDT 2006
root at bofh:/usr/obj/usr/src/sys/GENERIC_ULE
>Description:
Attached patch adds a WITH_SASL knob for php5-ldap to lang/php5/Makefile.ext.
Not sure if the knob should be in php5-ldap's Makefile or not so I'll leave that up
to ale at . So far I have been successfully been using this patch with
net/phpldapadmin.
Maintainer CC'ed
>How-To-Repeat:
>Fix:
--- php5-ldap_sasl_support.diff begins here ---
Index: Makefile.ext
===================================================================
RCS file: /ncvs/ports/lang/php5/Makefile.ext,v
retrieving revision 1.28
diff -u -r1.28 Makefile.ext
--- Makefile.ext 10 May 2006 14:46:43 -0000 1.28
+++ Makefile.ext 21 May 2006 21:55:16 -0000
@@ -146,6 +146,11 @@
.if ${PHP_MODNAME} == "ldap"
CONFIGURE_ARGS+=--with-ldap=${LOCALBASE}
+.if defined(WITH_SASL)
+CONFIGURE_ARGS+=--with-ldap-sasl
+WANT_OPENLDAP_SASL= yes
+.endif
+
USE_OPENLDAP= yes
.endif
--- php5-ldap_sasl_support.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list