file -i *.lzma returns application/octet-stream which is a useless mime type for lzma archives Reproducible: Always Steps to Reproduce: run 'lzma -i' on a lzma archive
Created attachment 176304 [details, diff] Patch to add lzma magic file to sys-apps/file Here is a patch which changes the mime type of lzma archives to application/x-lzma
Created attachment 176305 [details] Updated ebuild which applies the lzm magic file patch
Ryan, did you send this patch to upstream as well? If not, please do so. While you're at it, please attach a diff showing the changes you did to the ebuild as well. That would be quite handy. Reassigning to base-system herd.
Created attachment 176318 [details, diff] Diff against file-4.26 which adds epatch "${FILESDIR}"/${PN}-4.26-lzma-magic.patch
(In reply to comment #3) > Ryan, did you send this patch to upstream as well? If not, please do so. > While you're at it, please attach a diff showing the changes you did to the > ebuild as well. That would be quite handy. > > Reassigning to base-system herd. > No I have not sent this upstream yet. I think I should make an equivalent patch for libMagic too...
the lzma file format is being killed and one of the points of the xz format is that it has a real file signature ...
(In reply to comment #6) > the lzma file format is being killed and one of the points of the xz format is > that it has a real file signature ... > do you have a link to more info about this?
http://www.mail-archive.com/automake@gnu.org/msg14399.html also, just go to the lzma/xz home page and you'll get the same info