Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 May 2006 18:02:50 -0400
From:      "Tom McLaughlin" <tmclaugh@FreeBSD.org>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        ale@FreeBSD.org
Subject:   ports/97581: net/php5-ldap and lang/php5: add WITH_SASL to enable sasl support.
Message-ID:  <1148248970.73001@bofh.straycat.dhs.org>
Resent-Message-ID: <200605212210.k4LMAFiU079385@freefall.freebsd.org>

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

>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@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@.  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:



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