aboutsummaryrefslogtreecommitdiffstats
path: root/main/libexif/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libexif/APKBUILD')
-rw-r--r--main/libexif/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/libexif/APKBUILD b/main/libexif/APKBUILD
index 78f1d1f98a..296f7d68ea 100644
--- a/main/libexif/APKBUILD
+++ b/main/libexif/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libexif
pkgver=0.6.21
-pkgrel=1
+pkgrel=2
pkgdesc="A library to parse an EXIF file and read the data from those tags"
url="http://sourceforge.net/projects/libexif"
arch="all"
@@ -9,12 +9,19 @@ license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends=
-source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2"
+source="http://downloads.sf.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
+ CVE-2017-7544.patch
+ "
+
+# secfixes
+# 0.6.21-r2:
+# - CVE-2017-7544
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
+ default_prepare
update_config_sub || return 1
}
@@ -32,4 +39,5 @@ package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="27339b89850f28c8f1c237f233e05b27 libexif-0.6.21.tar.bz2"
+sha512sums="4e0fe2abe85d1c95b41cb3abe1f6333dc3a9eb69dba106a674a78d74a4d5b9c5a19647118fa1cc2d72b98a29853394f1519eda9e2889eb28d3be26b21c7cfc35 libexif-0.6.21.tar.bz2
+5475c9e0f4a05448a571077d24d545cfaa0a7b15978345e92440107770077158b994fc0c785a81bb95ad6b409929c4c516c6e002cd65c9d35eb0e91161750e48 CVE-2017-7544.patch"