[file] - fix #637785 - support for zip64 format
Jan Kaluža
jkaluza at fedoraproject.org
Wed Sep 29 07:20:49 UTC 2010
commit c332c3295533ddbaeb30b4271ffa92a62d9dc761
Author: Jan Kaluza <hanzz.k at gmail.com>
Date: Wed Sep 29 09:20:13 2010 +0200
- fix #637785 - support for zip64 format
file-5.04-zip64.patch | 11 +++++++++++
file.spec | 10 ++++++++--
2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/file-5.04-zip64.patch b/file-5.04-zip64.patch
new file mode 100644
index 0000000..89b5a18
--- /dev/null
+++ b/file-5.04-zip64.patch
@@ -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
diff --git a/file.spec b/file.spec
index 6874a24..1908822 100644
--- a/file.spec
+++ b/file.spec
@@ -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 at redhat.com> - 5.04-15
+* Wed Aug 29 2010 Jan Kaluza <jkaluza at redhat.com> - 5.04-16
+- fix #637785 - support for zip64 format
+
+* Tue Aug 24 2010 Jan Kaluza <jkaluza at redhat.com> - 5.04-15
- fix #626591 - support for WebM format
* Thu Aug 12 2010 Jan Kaluza <jkaluza at redhat.com> - 5.04-14
More information about the scm-commits
mailing list