- fix #637785 - support for zip64 format

This commit is contained in:
Jan Kaluza 2010-09-29 09:20:13 +02:00
parent 1ed8db4407
commit c332c32955
2 changed files with 19 additions and 2 deletions

11
file-5.04-zip64.patch Normal file
View File

@ -0,0 +1,11 @@
--- file-5.04/magic/Magdir/archive 2010-09-27 17:52:19.242245630 +0530
+++ file-5.04/magic/Magdir/archive 2010-09-27 17:52:12.015252938 +0530
@@ -581,6 +581,8 @@
!:mime application/zip
>>4 byte 0x14 Zip archive data, at least v2.0 to extract
!:mime application/zip
+>>4 byte 0x2d Zip64 archive data, at least v3.0 to extract
+!:mime application/zip
# OpenOffice.org / KOffice / StarOffice documents
# Listed here because they ARE zip files

View File

@ -5,7 +5,7 @@
Summary: A utility for determining file types
Name: file
Version: 5.04
Release: 15%{?dist}
Release: 16%{?dist}
License: BSD
Group: Applications/File
Source0: ftp://ftp.astron.com/pub/file/file-%{version}.tar.gz
@ -25,6 +25,7 @@ Patch11: file-5.04-zmachine-magic-update.patch
Patch12: file-5.04-core-prpsinfo.patch
Patch13: file-5.04-python-2.7.patch
Patch14: file-5.04-webm.patch
Patch15: file-5.04-zip64.patch
Requires: file-libs = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -105,6 +106,8 @@ file(1) command.
%patch13 -p1
#fixes #626591
%patch14 -p1
#fixes #637785
%patch15 -p1
iconv -f iso-8859-1 -t utf-8 < doc/libmagic.man > doc/libmagic.man_
touch -r doc/libmagic.man doc/libmagic.man_
@ -182,7 +185,10 @@ rm -rf $RPM_BUILD_ROOT
%endif
%changelog
* Tue Aug 24 2010 Jan Kaluza <jkaulza@redhat.com> - 5.04-15
* Wed Aug 29 2010 Jan Kaluza <jkaluza@redhat.com> - 5.04-16
- fix #637785 - support for zip64 format
* Tue Aug 24 2010 Jan Kaluza <jkaluza@redhat.com> - 5.04-15
- fix #626591 - support for WebM format
* Thu Aug 12 2010 Jan Kaluza <jkaluza@redhat.com> - 5.04-14