From nobody@FreeBSD.org  Sun Sep  5 20:22:29 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3820B1065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Sep 2010 20:22:29 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 26D608FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  5 Sep 2010 20:22:29 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o85KMSiw094926
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 5 Sep 2010 20:22:28 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o85KMSZX094925;
	Sun, 5 Sep 2010 20:22:28 GMT
	(envelope-from nobody)
Message-Id: <201009052022.o85KMSZX094925@www.freebsd.org>
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: PHP 5.3 should use included fileinfo extension
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150305
>Category:       ports
>Synopsis:       lang/php5 should use included fileinfo extension
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 05 20:30:05 UTC 2010
>Closed-Date:    Tue Sep 07 14:31:45 UTC 2010
>Last-Modified:  Tue Sep 07 14:31:45 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->ale 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Sep 5 20:46:38 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150305 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Tue Sep 7 14:31:19 UTC 2010 
State-Changed-Why:  
php5-fileinfo has been added. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150305 
>Unformatted:
