Bug 132714 - net/phpldapadmin Port is Missing Dependencies
net/phpldapadmin Port is Missing Dependencies
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Any Any
: Normal Affects Only Me
Assigned To: Martin Wilke
Depends on:
  Show dependency treegraph
Reported: 2009-03-17 01:00 UTC by bemarino
Modified: 2009-03-18 17:00 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description bemarino 2009-03-17 01:00:09 UTC
phpldapadmin 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 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()


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 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 2009-03-18 16:57:04 UTC
State Changed
From-To: open->closed

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

  FreeBSD ports repository

  Modified files:
    net/phpldapadmin     Makefile 
  - 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
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"