summaryrefslogtreecommitdiffstats
path: root/abs/core/unzip/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2010-09-05 06:13:57 (GMT)
commitb172f79fadb565ecfbcec9508f9377d8618a4f4c (patch)
treebf8823b07e3313c3afa000a9b31e4f9a735cb818 /abs/core/unzip/PKGBUILD
parentf9d54ab7c3853208484e304bc6cf40ab0f79d400 (diff)
parent5e7027c6194237ca1dc5fcbb3648483a970fb500 (diff)
downloadlinhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.zip
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.gz
linhes_pkgbuild-b172f79fadb565ecfbcec9508f9377d8618a4f4c.tar.bz2
Merge branch 'HEAD' of ssh://cesman@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core/unzip/PKGBUILD')
-rw-r--r--abs/core/unzip/PKGBUILD29
1 files changed, 10 insertions, 19 deletions
diff --git a/abs/core/unzip/PKGBUILD b/abs/core/unzip/PKGBUILD
index 4bcecf5..730beb9 100644
--- a/abs/core/unzip/PKGBUILD
+++ b/abs/core/unzip/PKGBUILD
@@ -2,33 +2,19 @@
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=unzip
-pkgver=5.52
-pkgrel=4
+pkgver=6.00
+_pkgver=60
+pkgrel=1
pkgdesc="Unpacks .zip archives such as those made by PKZIP"
arch=('i686' 'x86_64')
url="http://www.info-zip.org/"
license=('custom')
depends=('glibc')
-source=(http://downloads.sourceforge.net/infozip/unzip552.tar.gz
- unzip-5.5.2-CVE-2008-0888.patch
- unzip-5.50-alt-iconv-v1.2-utf8.patch
- unzip542-size-64bit.patch)
-md5sums=('9d23919999d6eac9217d1f41472034a9'
- '2de357c2ba84576f38b17aed87915c87'
- 'a4797a1f6e45385f5e021f9f6f2ec0fa'
- '83c7e79de9618bf7d081dd639dd3dde1')
+source=(http://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz)
build() {
- cd $startdir/src/$pkgname-$pkgver
-
- # http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-0888
- patch -Np0 -i ../unzip-5.5.2-CVE-2008-0888.patch || return 1
+ cd $startdir/src/${pkgname}${_pkgver}
- # FS#8383
- patch -Np1 -i ../unzip-5.50-alt-iconv-v1.2-utf8.patch || return 1
-
- [ "$CARCH" == "x86_64" ] && (patch -Np0 -i ../unzip542-size-64bit.patch || return 1)
-
export CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64"
if [ "${CARCH}" = "i686" ]; then
make -f unix/Makefile LOCAL_UNZIP="$CFLAGS" prefix=/usr linux || return 1
@@ -39,3 +25,8 @@ build() {
install -Dm644 LICENSE $startdir/pkg/usr/share/licenses/unzip/LICENSE
}
+md5sums=('62b490407489521db863b523a7f86375'
+ '2de357c2ba84576f38b17aed87915c87'
+ 'a4797a1f6e45385f5e021f9f6f2ec0fa'
+ '83c7e79de9618bf7d081dd639dd3dde1')
+md5sums=('62b490407489521db863b523a7f86375')