tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is it normal for file from pkgsrc not to recognize MIME for application/x-xz?



"Dr. Thomas Orgis" <thomas.orgis%uni-hamburg.de@localhost> wrote:
>
> I just noticed that file as installed by pkgsrc does not report the
> MIME for XZ files.

Pkgsrc sysutils/file is the same as the version that is in NetBSD.

Not returning the specific MIME type for XZ looks to be a bug in the
original definition to me.

In magic/magdir/compress, there is a blank line between the non-MIME
and the MIME lines for XZ.

Putting a copy of the definition in ~/.magic with the blank line removed
makes it return "application/x-xz; charset=binary" for me.


Home | Main Index | Thread Index | Old Index