Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Sep 2010 20:22:28 GMT
From:      Lissy Alexandre <alexandre.lissy@etu.univ-tours.fr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150305: PHP 5.3 should use included fileinfo extension
Message-ID:  <201009052022.o85KMSZX094925@www.freebsd.org>
Resent-Message-ID: <201009052030.o85KU6IF064341@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009052022.o85KMSZX094925>