diff options
author | root <root@rshg047.dnsready.net> | 2011-05-15 22:39:31 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-15 22:39:31 +0000 |
commit | a45aa8f19ea32f45610dafabfc06c8b7d1ed5cfe (patch) | |
tree | 3855efd25da6fab2bbaf889a2090a44a9faab93f /testing/file | |
parent | e69c538fc7af5a9861c7688dd15913082d978180 (diff) |
Sun May 15 22:39:30 UTC 2011
Diffstat (limited to 'testing/file')
-rw-r--r-- | testing/file/PKGBUILD | 12 | ||||
-rw-r--r-- | testing/file/file-5.07-zip-detect.patch | 12 |
2 files changed, 19 insertions, 5 deletions
diff --git a/testing/file/PKGBUILD b/testing/file/PKGBUILD index be9e1c172..609b27e47 100644 --- a/testing/file/PKGBUILD +++ b/testing/file/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 123428 2011-05-11 11:07:46Z allan $ +# $Id: PKGBUILD 123900 2011-05-14 09:18:32Z tpowa $ # Maintainer: Allan McRae <allan@archlinux.org> # Contributor: Andreas Radke <andyrtr@archlinux.org> pkgname=file pkgver=5.07 -pkgrel=1 +pkgrel=2 pkgdesc="File type identification utility" arch=('i686' 'x86_64') license=('custom') @@ -13,9 +13,11 @@ url="http://www.darwinsys.com/file/" depends=('glibc' 'zlib') options=('!libtool') source=(ftp://ftp.astron.com/pub/${pkgname}/${pkgname}-${pkgver}.tar.gz - file-5.05-zip64.patch) + file-5.05-zip64.patch + file-5.07-zip-detect.patch) md5sums=('b8d1f9a8a644067bd0a703cebf3f4858' - '385f020467debd98bd2d8df6143f93d0') + '385f020467debd98bd2d8df6143f93d0' + 'fe52877b2a812b5a1e6276f4c55003cc') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -23,7 +25,7 @@ build() { # identify zip64 files patch -Np1 -i ${srcdir}/file-5.05-zip64.patch - + patch -Np1 -i ${srcdir}/file-5.07-zip-detect.patch ./configure --prefix=/usr --datadir=/usr/share/file make } diff --git a/testing/file/file-5.07-zip-detect.patch b/testing/file/file-5.07-zip-detect.patch new file mode 100644 index 000000000..accaf8385 --- /dev/null +++ b/testing/file/file-5.07-zip-detect.patch @@ -0,0 +1,12 @@ +--- 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 + ++# Zip archiver (Archlinux bugfix: detect generic zip archives) ++0 string PK\003\004 Zip archive data ++ + # Zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu) + 0 string PK\003\004 + |