aboutsummaryrefslogtreecommitdiffstats
path: root/community/zziplib
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-07-29 18:50:27 +0200
committerShiz <hi@shiz.me>2017-07-31 02:42:14 +0200
commitbbe01d8ee3d8cbbb48f7edf5949e80d99cde1dae (patch)
treedb54bbf9af26f4e0d9a0cf630734f89f1de01bcf /community/zziplib
parent44064a994e32f4ad1639795ab8087f2278017e7f (diff)
downloadaports-bbe01d8ee3d8cbbb48f7edf5949e80d99cde1dae.tar.bz2
aports-bbe01d8ee3d8cbbb48f7edf5949e80d99cde1dae.tar.xz
community/zziplib: upgrade to 0.13.67
Diffstat (limited to 'community/zziplib')
-rw-r--r--community/zziplib/APKBUILD6
-rw-r--r--community/zziplib/CVE-2017-5979.patch13
2 files changed, 3 insertions, 16 deletions
diff --git a/community/zziplib/APKBUILD b/community/zziplib/APKBUILD
index b452e88e20..eff4d6f3b4 100644
--- a/community/zziplib/APKBUILD
+++ b/community/zziplib/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Mika Havela <mika.havela@gmail.com>
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=zziplib
-pkgver=0.13.66
+pkgver=0.13.67
pkgrel=0
pkgdesc="Lightweight library to easily extract data from zip files"
url="http://zziplib.sourceforge.net"
@@ -9,7 +9,7 @@ arch="all"
license="LGPL2+ MPL-1.1"
makedepends="zlib-dev python2 xmlto"
subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
-source="https://sourceforge.net/projects/zziplib/files/zziplib13/$pkgver/$pkgname-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/gdraheim/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
@@ -36,4 +36,4 @@ utils() {
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
-sha512sums="893885d85293269fd8ff14d61eaae5f7d07689a16dd9c07c1ae8d46ea2b2f94a13d6aab19670efa7716cafe5e9f8efb1cbc1254bd9e860c836faa35736bdbe20 zziplib-0.13.66.tar.gz"
+sha512sums="a34b801a18a2051aa3898a572508ffd327521b69878413af679b10f6a68b37e770651884ae611bf9c01ce14013c6a1e06adeadd3ef6219d4b9278f1b9e7a6459 zziplib-0.13.67.tar.gz"
diff --git a/community/zziplib/CVE-2017-5979.patch b/community/zziplib/CVE-2017-5979.patch
deleted file mode 100644
index 6aaf8ed66d..0000000000
--- a/community/zziplib/CVE-2017-5979.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: zziplib-0.13.62/zzip/fseeko.c
-===================================================================
---- zziplib-0.13.62.orig/zzip/fseeko.c
-+++ zziplib-0.13.62/zzip/fseeko.c
-@@ -255,7 +255,7 @@ zzip_entry_findfirst(FILE * disk)
- return 0;
- /* we read out chunks of 8 KiB in the hope to match disk granularity */
- ___ zzip_off_t pagesize = PAGESIZE; /* getpagesize() */
-- ___ ZZIP_ENTRY *entry = malloc(sizeof(*entry));
-+ ___ ZZIP_ENTRY *entry = calloc(1, sizeof(*entry));
- if (! entry)
- return 0;
- ___ unsigned char *buffer = malloc(pagesize);