ports/92044: net/phpldapadmin doesn't install required php-gettext extension

Riccardo Torrini riccardo at torrini.org
Fri Jan 20 08:40:09 UTC 2006


>Number:         92044
>Category:       ports
>Synopsis:       net/phpldapadmin doesn't install required php-gettext extension
>Confidential:   no
>Severity:       critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 08:40:07 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Riccardo Torrini
>Release:        7.0-CURRENT
>Organization:
>Environment:
FreeBSD trudy.torrini.home 7.0-CURRENT FreeBSD 7.0-CURRENT #111: Wed Dec 14 17:03:49 CET 2005     root at trudy.torrini.home:/usr/obj/usr/src/sys/TRUDY  i386
>Description:
Version 0.9.8 of phpldapadmin use bindtextdomain() function.  The bindtextdomain() function sets the path for a domain. It returns the full pathname for the domain currently being set.  This function requires the gettext extension to be added or compiled into PHP.  See here for more info: http://it.php.net/manual/en/function.bindtextdomain.php
>How-To-Repeat:
With a fresh cvsup install phpldapadmin, configure apache to use it as docroot or alias or whatever you prefer, add at least one ldap server to his config than try to start.
>Fix:
Manually install devel/php4-gettext (php4-gettext-4.4.2) before running phpldapadmin or add it to the port requirements.

This way for example:

# diff -u4 Makefile.orig Makefile
--- Makefile.orig       Thu Jan 19 23:58:27 2006
+++ Makefile    Fri Jan 20 09:31:21 2006
@@ -16,9 +16,9 @@
 MAINTAINER=    m.seaman at infracaninophile.co.uk
 COMMENT=       A set of PHP-scripts to administer LDAP servers over the web
 
 NO_BUILD=      yes
-USE_PHP=       ldap openssl pcre session
+USE_PHP=       ldap openssl pcre session gettext
 
 .if defined(WITH_SUPHP)
 
 PKGNAMESUFFIX= -suphp

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



More information about the freebsd-ports-bugs mailing list