Bug 92044 - net/phpldapadmin doesn't install required php-gettext extension
Summary: net/phpldapadmin doesn't install required php-gettext extension
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-20 08:40 UTC by Riccardo Torrini
Modified: 2006-01-21 17:42 UTC (History)
0 users

See Also:


Attachments
file.diff (398 bytes, patch)
2006-01-20 08:40 UTC, Riccardo Torrini
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Riccardo Torrini 2006-01-20 08:40:07 UTC
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

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
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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-20 08:44:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Matthew Seaman 2006-01-20 09:44:10 UTC
Edwin Groothuis wrote:
> Maintainer of net/phpldapadmin,
> 
> Please note that PR ports/92044 has just been submitted.
> 
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
> 
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/92044
> 


Yes, approved.  Good catch.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       Flat 3
                                                      7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW, UK
Comment 3 Yen-Ming Lee freebsd_committer freebsd_triage 2006-01-21 17:42:14 UTC
State Changed
From-To: feedback->closed

Committed, thanks.