Subject: [alpine-aports] [PATCH v3.2] main/imagemagick: security upgrade to 6.9.6.7 - fixes #5751, #6327, #6104

From: Sergey Lukin <[email-masked]>
Date: Fri, 9 Dec 2016 11:24:51 +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 | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 41f689f..b98e937 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -1,10 +1,10 @@
 # Contributor: Carlo Landmeter <[email-masked]>
 # Maintainer: Natanael Copa <[email-masked]>
 pkgname=imagemagick
-pkgver=6.9.1.2
+pkgver=6.9.6.7
 _abiver=6
 _pkgver=${pkgver%.*}-${pkgver##*.}
-pkgrel=2
+pkgrel=0
 pkgdesc="A collection of tools and libraries for many image formats"
 url="http://www.imagemagick.org/"
 arch="all"
@@ -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' \
@@ -53,7 +53,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)"
@@ -72,6 +72,6 @@ _cxx() {
 	mv "$pkgdir"/usr/lib/libMagick++*.so.* "$subpkgdir"/usr/lib/
 }
 
-md5sums="57e8e138b05d8115c1ab7d9f151645bd  ImageMagick-6.9.1-2.tar.xz"
-sha256sums="5391aac3fedb7d627a89f06d195a1c3b422d2235aa6e0d0d26886b2e0a10a294  ImageMagick-6.9.1-2.tar.xz"
-sha512sums="894f49db4b5ec5d9a5e8d171439ff4ef94e4eda39d055978970c34b8e1daef2284b4c20ae85ab829422f2b403d8e697d0126076516a897acf47332a07c8b260b  ImageMagick-6.9.1-2.tar.xz"
+md5sums="4700167709ef0ec177fc540398cf9198  ImageMagick-6.9.6-7.tar.xz"
+sha256sums="453fc640580a4834997d498b9d6768dc65906f56297f3d802509c0761f7943d3  ImageMagick-6.9.6-7.tar.xz"
+sha512sums="a45a077d2bb82b2bc34c09914aa0f79e725f4a93ea0991fc16e64cbc07948eb91f9119ee90dd43742073317074802979568c6af36118793751c614f002849fb4  ImageMagick-6.9.6-7.tar.xz"
-- 
2.4.11

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