.
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=26
This commit is contained in:
parent
3747243ebd
commit
7fece2bee2
23
file-5.07-zip.dif
Normal file
23
file-5.07-zip.dif
Normal file
@ -0,0 +1,23 @@
|
||||
--- magic/Magdir/archive
|
||||
+++ magic/Magdir/archive 2011-07-18 09:56:50.651926085 +0000
|
||||
@@ -571,6 +571,20 @@
|
||||
|
||||
# Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
|
||||
0 string PK\003\004
|
||||
+>30 ubelong !0x6d696d65
|
||||
+>>4 byte 0x00 Zip archive data
|
||||
+!:mime application/zip
|
||||
+>>4 byte 0x09 Zip archive data, at least v0.9 to extract
|
||||
+!:mime application/zip
|
||||
+>>4 byte 0x0a Zip archive data, at least v1.0 to extract
|
||||
+!:mime application/zip
|
||||
+>>4 byte 0x0b Zip archive data, at least v1.1 to extract
|
||||
+!:mime application/zip
|
||||
+>>0x161 string WINZIP Zip archive data, WinZIP self-extracting
|
||||
+!:mime application/zip
|
||||
+>>4 byte 0x14 Zip archive data, at least v2.0 to extract
|
||||
+!:mime application/zip
|
||||
+
|
||||
|
||||
# Specialised zip formats which start with a member named 'mimetype'
|
||||
# (stored uncompressed, with no 'extra field') containing the file's MIME type.
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 18 12:00:20 CEST 2011 - werner@suse.de
|
||||
|
||||
- Fixed regression on zip archive detection (bnc#706310)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 14 19:50:04 CEST 2011 - werner@suse.de
|
||||
|
||||
|
@ -44,6 +44,7 @@ Patch7: file-4.20-ssd.dif
|
||||
Patch8: file-4.20-xen.dif
|
||||
Patch9: file-5.07-elf.dif
|
||||
Patch10: file-4.18-printf.dif
|
||||
Patch11: file-5.07-zip.dif
|
||||
Patch12: file-5.07-option.dif
|
||||
Patch13: file-4.21-scribus.dif
|
||||
Patch15: file-4.21-xcursor.dif
|
||||
@ -104,6 +105,7 @@ Authors:
|
||||
%patch8 -p0 -b .xen
|
||||
%patch9 -p0 -b .elf
|
||||
%patch10 -p0 -b .prtf
|
||||
%patch11 -p0 -b .zip
|
||||
%patch12 -p0 -b .opt
|
||||
%patch13 -p0 -b .scri
|
||||
%patch15 -p0 -b .xcur
|
||||
|
Loading…
Reference in New Issue
Block a user