tech-pkg archive

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

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



Hi all,

I just noticed that file as installed by pkgsrc does not report the
MIME for XZ files.

Linux:

$ /usr/bin/file    adwaita-icon-theme-41.0.tar.xz
adwaita-icon-theme-41.0.tar.xz: XZ compressed data, checksum CRC64
$ /usr/bin/file -i adwaita-icon-theme-41.0.tar.xz
/var/spool/sorcery/adwaita-icon-theme-41.0.tar.xz: application/x-xz; charset=binary

pkgsrc:

$ /stuff/pkg/bin/file    adwaita-icon-theme-41.0.tar.xz
adwaita-icon-theme-41.0.tar.xz: XZ compressed data, checksum CRC64
$ /stuff/pkg/bin/file -i adwaita-icon-theme-41.0.tar.xz
adwaita-icon-theme-41.0.tar.xz: application/octet-stream; charset=binary

I don't see something special in my Linux build about hacking in XZ
MIME … so I wonder if it is consinstent that pkgsrc's file doesn't
return application/x-xz and then, why that — and if we can fix it;-)


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index