Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946957 - sys-apps/file-5.46: detects zip files as data
Summary: sys-apps/file-5.46: detects zip files as data
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-12-26 21:49 UTC by NHO
Modified: 2024-12-27 08:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2024-12-26 21:49:17 UTC
This is highly annoying. And possibly dangerous.
Revert to 5.45-r4 fixes it.

Upstream bug: https://bugs.astron.com/view.php?id=571
Upstream patch: https://github.com/file/file/commit/60b2032b96fc185b37fb0f2152e834efb2edad6e

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-12-27 08:23:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399931f2b988d2c997b5ee974c0a649e53597aa8

commit 399931f2b988d2c997b5ee974c0a649e53597aa8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-27 08:23:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-27 08:23:18 +0000

    sys-apps/file: fix detecting zip files
    
    Also, clean up eautoreconf use as a comment asked us to do with 5.46.
    
    Closes: https://bugs.gentoo.org/946957
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/file/file-5.46-r1.ebuild       | 188 ++++++++++++++++++++++++++++++++
 sys-apps/file/file-9999.ebuild          |  19 ++--
 sys-apps/file/files/file-5.46-zip.patch |  57 ++++++++++
 3 files changed, 252 insertions(+), 12 deletions(-)