ports/132714: phpldapadmin 1.1.0.6 Port is Missing Dependencies

Bryan Marino bemarino at hotmail.com
Tue Mar 17 01:00:10 UTC 2009


>Number:         132714
>Category:       ports
>Synopsis:       phpldapadmin 1.1.0.6 Port is Missing Dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 17 01:00:09 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Marino
>Release:        7.1
>Organization:
N/A
>Environment:
FreeBSD colossus.bruhaharealm.local 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 2009     root at driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
phpldapadmin 1.1.0.6 contains an NT hashing function for the sambaNTPassword attribute. This function cannot execute unless the PHP5-iconv and PHP5-hash ports are installed, yet they are neither listed as dependencies nor installed with the phpldapadmin 1.1.0.6 port. As a result, when the user attempts to add this attribute, the application crashes with the following error:

PHP Fatal error:  Call to undefined function hash()

>How-To-Repeat:
On a system that does not have the PHP5-iconv or PHP5-hash ports installed, attempt to add the sambaNTPassword attribute to an object. The web app prompts for the password, which you can enter. However, when you submit the form, the application crashes with the above error. The attribute is not written.
>Fix:
Once I installed the PHP5-iconv and PHP5-hash ports myself, the sambaNTPassword attribute can be added without problems. However, as one of the purposes of ports is to find and install all dependencies for a given application, these should be added as dependencies for the port.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list