Bug 150305

Summary: lang/php5 should use included fileinfo extension
Product: Ports & Packages Reporter: Lissy Alexandre <alexandre.lissy>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Lissy Alexandre 2010-09-05 21:30:05 UTC
Since a couple of time now, the PECL Fileinfo package is only updated for bugfix and security, as stated on its webpage, [http://pecl.php.net/package/Fileinfo]. Moreover, on this page we can read « Note: As of PHP 5.3.0 this extension is enabled by default and this PECL extension is no longer maintained and will contain no more releases. »

However, it seems that the php5-extensions port still refers to the pecl-fileinfo extension.

Fix: 

Keep a way to have pecl-fileinfo installed for those who need it, and provide the new php 5.3 fileinfo that is included by default.
How-To-Repeat: # cd /usr/ports/lang/php5-extensions
# make config

Check the FILEINFO option

# make install

then we see :
[root@php /usr/ports/lang/php5-extensions]# pkg_info |grep -i fileinfo
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-09-05 21:46:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2010-09-07 15:31:19 UTC
State Changed
From-To: open->closed

php5-fileinfo has been added.