Subject: [alpine-aports] [PATCH v3.1] main/imagemagick: security upgrade to 6.9.6.8 - fixes #6328, #6105, #5752

From: Sergey Lukin <[email-masked]>
Date: Mon, 12 Dec 2016 09:19:38 +0000

CVE-2016-5118
CVE-2016-7799, CVE-2016-7906
CVE-2016-4562, CVE-2016-4563, CVE-2016-4564, CVE-2016-5010, CVE-2016-5687,
CVE-2016-5688, CVE-2016-5689, CVE-2016-5690, CVE-2016-5691, CVE-2016-5841,
CVE-2016-5842, CVE-2016-6491
---
 main/imagemagick/APKBUILD | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 88c5606..71d7d15 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: Carlo Landmeter <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=imagemagick
-pkgver=6.9.0.0
+pkgver=6.9.6.8
 _abiver=6
 _pkgver=${pkgver%.*}-${pkgver##*.}
 pkgrel=0
@@ -16,9 +16,9 @@ makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev perl-dev
 subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx"
 source="ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-$_pkgver.tar.xz"
 
-_builddir="$srcdir/ImageMagick-${_pkgver}"
+builddir="$srcdir/ImageMagick-${_pkgver}"
 prepare() {
-	cd "$_builddir"
+	cd "$builddir"
 	for i in $source; do
 		case $i in
 		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
@@ -27,7 +27,7 @@ prepare() {
 }
 
 build() {
-	cd "$_builddir"
+	cd "$builddir"
 	# fix doc dir, Gentoo bug 91911
 	sed -i -e \
 		's:DOCUMENTATION_PATH="${DATA_DIR}/doc/${DOCUMENTATION_RELATIVE_PATH}":DOCUMENTATION_PATH="/usr/share/doc/imagemagick":g' \
@@ -51,7 +51,7 @@ build() {
 }
 
 package() {
-	cd "$_builddir"
+	cd "$builddir"
 	make -j1 DESTDIR="$pkgdir" install || return 1
 	if ! [ -e "$pkgdir"/usr/lib/libMagickCore-$_abiver.Q16.so ]; then
 		error "Has ABI verision changed? (current is $_abiver)"
@@ -70,6 +70,6 @@ _cxx() {
 	mv "$pkgdir"/usr/lib/libMagick++*.so.* "$subpkgdir"/usr/lib/
 }
 
-md5sums="3714e7d5d248c13aee95a7f54970349f  ImageMagick-6.9.0-0.tar.xz"
-sha256sums="12331c904c691cb128865fdc97e5f8a2654576f9b032e274b74dd7617aa1b9b6  ImageMagick-6.9.0-0.tar.xz"
-sha512sums="37f9d604d8998b780309a9083d4ee4a5bea4b6353ee3434717e52b1aeb95603ce0affecdd21292c62995cdcc048e62f1e20b422df35047ad549829fac4ef548b  ImageMagick-6.9.0-0.tar.xz"
+md5sums="c3691635779f9658506d5e8da0f6b5c5  ImageMagick-6.9.6-8.tar.xz"
+sha256sums="39bb2b18183454bd5e0ec6b975e648d08064e44f3ac1b945c9005706e9af3f5d  ImageMagick-6.9.6-8.tar.xz"
+sha512sums="d3307b0a167f33538b202aec24122a550be18ac7423352088005695cb43661c04fd76d0e4c1fb101a77f552f852ece5b898daf12df27d43a387da1c73cbdc342  ImageMagick-6.9.6-8.tar.xz"
-- 
2.2.1

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---