summaryrefslogtreecommitdiff
path: root/testing/file
diff options
context:
space:
mode:
Diffstat (limited to 'testing/file')
-rw-r--r--testing/file/PKGBUILD6
-rw-r--r--testing/file/file-5.07-zip-detect.patch21
2 files changed, 14 insertions, 13 deletions
diff --git a/testing/file/PKGBUILD b/testing/file/PKGBUILD
index 609b27e47..9869a976c 100644
--- a/testing/file/PKGBUILD
+++ b/testing/file/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 123900 2011-05-14 09:18:32Z tpowa $
+# $Id: PKGBUILD 123963 2011-05-15 08:19:29Z tpowa $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
pkgname=file
pkgver=5.07
-pkgrel=2
+pkgrel=3
pkgdesc="File type identification utility"
arch=('i686' 'x86_64')
license=('custom')
@@ -17,7 +17,7 @@ source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz
file-5.07-zip-detect.patch)
md5sums=('b8d1f9a8a644067bd0a703cebf3f4858'
'385f020467debd98bd2d8df6143f93d0'
- 'fe52877b2a812b5a1e6276f4c55003cc')
+ 'bcbf2e152f38003a2736298bbd0f37f8')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/testing/file/file-5.07-zip-detect.patch b/testing/file/file-5.07-zip-detect.patch
index accaf8385..3e8f128d8 100644
--- a/testing/file/file-5.07-zip-detect.patch
+++ b/testing/file/file-5.07-zip-detect.patch
@@ -1,12 +1,13 @@
---- file-5.07-orig/magic/Magdir/archive 2011-05-14 04:28:25.918516697 +0300
-+++ file-5.07/magic/Magdir/archive 2011-05-14 04:29:14.351587647 +0300
-@@ -565,6 +565,9 @@
- 0 string PK\x07\x08PK\x03\x04 Zip multi-volume archive data, at least PKZIP v2.50 to extract
- !:mime application/zip
+--- file-5.07/magic/Magdir/archive.old 2011-04-23 17:02:48.000000000 +0200
++++ file-5.07/magic/Magdir/archive 2011-05-15 10:14:44.509271579 +0200
+@@ -654,6 +654,10 @@
+ >>>>78 string -template Template
+ !:mime application/vnd.oasis.opendocument.image-template
-+# Zip archiver (Archlinux bugfix: detect generic zip archives)
-+0 string PK\003\004 Zip archive data
++>26 byte x Zip archive data
+
- # Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
- 0 string PK\003\004
-
++
++
+ # StarView Metafile
+ # From Pierre Ducroquet <pinaraf@pinaraf.info>
+ 0 string VCLMTF StarView MetaFile