Bug#335674: [php-maint] Bug#335674: php5: mime_magic support => invalid magic file, disabled

Adam Conrad adconrad at 0c3.net
Tue Oct 25 16:09:18 UTC 2005

Piotr Roszatycki wrote:
> In fact, the mime.magic file for PHP have to be different than the Debian
> /usr/share/file/magic.mime file. I suggest to put the modified php5 version
> of magic.mime to the /usr/share/php5 directory.

I'd prefer not to do this.  Most of your changes to the magic.mime file
seem to be a matter of preference (changing mime-types, (un)commenting
entries), and would be better discussed with the file maintainer to make
sure mime-types are consistent all over.

The other change appears to be the removal of "string/c" and "string/B"
type entries.  Would it not be better for us to just patch PHP to learn
how to deal with these, rather than fork magic.mime?

... Adam

More information about the pkg-php-maint mailing list