[php-maint] fileinfo extension embeds libmagic

Raphael Geissert geissert at debian.org
Mon Mar 21 18:05:09 UTC 2011

On Monday 21 March 2011 10:42:33 Ondřej Surý wrote:
> Hi,
> the PHP extension fileinfo embeds it's own modified copy of libmagic1
> (from src:file) and it looks like it's not that easy to use system
> provided libmagic library. I'll ask on php internals why they have a
> local copy because it's not obvious from the patch.

There are some bug fixes and they add support for php streams. Shouldn't be 
impossible to implement it in another way, I think, but somebody needs to do 

(last year I started to separate some of the fixes to forward them to file 
upstream, but never actually sent them :-/ will try to find where I left them)

Raphael Geissert - Debian Developer
www.debian.org - get.debian.net

More information about the pkg-php-maint mailing list