ports/150305: PHP 5.3 should use included fileinfo extension

Lissy Alexandre alexandre.lissy at etu.univ-tours.fr
Sun Sep 5 20:30:06 UTC 2010


>Number:         150305
>Category:       ports
>Synopsis:       PHP 5.3 should use included fileinfo extension
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 05 20:30:05 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Lissy Alexandre
>Release:        8.0-RELEASE-p4
>Organization:
Polytech'Tours
>Environment:
FreeBSD php 8.0-RELEASE-p4 FreeBSD 8.0-RELEASE-p4 #0: Mon Jul 12 20:55:11 UTC 2010     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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.
>How-To-Repeat:
# cd /usr/ports/lang/php5-extensions
# make config

Check the FILEINFO option

# make install

then we see :
[root at php /usr/ports/lang/php5-extensions]# pkg_info |grep -i fileinfo
pecl-fileinfo-1.0.4 A PECL extension to retrieve info about files

>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.

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



More information about the freebsd-ports-bugs mailing list