[php-maint] etch->lenny upgrade changes (breaks) php fileinfo behavior

Guillaume Delacour gui at iroqwa.org
Thu Jun 25 23:16:42 UTC 2009


Wed, 24 Jun 2009 09:28:05 +0100
Mike Ashton <mike at moo.com> a écrit:

> On Tue, Jun 23, 2009 at 09:14:20PM +0200, sean finney wrote:
> > hi mike,
> > 
> > On Tue, Jun 23, 2009 at 02:54:14PM +0100, Mike Ashton wrote:
> > > Whilst testing our upgrade path from etch->lenny, we noticed it
> > > broke our file uploader because the types of images changed from
> > > image/jpeg (etc.) to application/octet-stream.  This in turn is
> > > because fileinfo is looking in a different place for its magic
> > > files and useful (rich) magic files don't exist on lenny in any
> > > of the chosen locations.
> > 
> > if you could, please open a bug report on this (preferably after
> > checking for an existing bug) so that we can have this issue
> > recorded. 
> 
> Thanks, Sean,
> 
> In a groan-worthy way, further investigation has shown that there
> isn't a debian module for fileinfo after all, and it's a pecl
> installation, so I can't in all honesty log that as a debian bug.
> 
> That said, as fileinfo is core php functionality in 5.3, it might be a
> good idea if fileinfo _was_ a debian package in lenny in order to
> manage this sort of thing.

For information, fileinfo is unmaintained and not packaged in Debian
because it will be included in php 5.3. You can find some info to
generate Debian package of fileinfo here:

http://bugs.debian.org/492442

> 
> At any rate, thanks for you help.


-- 

Guillaume Delacour
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090626/8113ac77/attachment.pgp>


More information about the pkg-php-maint mailing list