From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 17 01:00:10 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71418106566B for ; Tue, 17 Mar 2009 01:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 327608FC2A for ; Tue, 17 Mar 2009 01:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H10AV2020640 for ; Tue, 17 Mar 2009 01:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H10A91020639; Tue, 17 Mar 2009 01:00:10 GMT (envelope-from gnats) Resent-Date: Tue, 17 Mar 2009 01:00:10 GMT Resent-Message-Id: <200903170100.n2H10A91020639@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Bryan Marino Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D898106566B for ; Tue, 17 Mar 2009 00:56:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 5A7C98FC16 for ; Tue, 17 Mar 2009 00:56:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H0uatC064894 for ; Tue, 17 Mar 2009 00:56:36 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n2H0ua66064893; Tue, 17 Mar 2009 00:56:36 GMT (envelope-from nobody) Message-Id: <200903170056.n2H0ua66064893@www.freebsd.org> Date: Tue, 17 Mar 2009 00:56:36 GMT From: Bryan Marino To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/132714: phpldapadmin 1.1.0.6 Port is Missing Dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 01:00:10 -0000 >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@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: