Bug 132714

Summary: net/phpldapadmin 1.1.0.6 Port is Missing Dependencies
Product: Ports & Packages Reporter: Bryan Marino <bemarino>
Component: Individual Port(s)Assignee: Martin Wilke <miwi>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Bryan Marino 2009-03-17 01:00:09 UTC
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()

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.
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.
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2009-03-17 06:04:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2009-03-18 16:57:04 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-03-18 16:57:15 UTC
miwi        2009-03-18 16:56:55 UTC

  FreeBSD ports repository

  Modified files:
    net/phpldapadmin     Makefile 
  Log:
  - Add php5-iconv and php5-hash
  
  PR:             132714
  Submitted by:   Bryan Marino <bemarino@hotmail.com>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.29      +3 -4      ports/net/phpldapadmin/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"