aboutsummaryrefslogtreecommitdiffstats
path: root/main/imagemagick
diff options
context:
space:
mode:
authorScrumpyJack <scrumpyjack@st.ilet.to>2016-06-08 12:28:19 +0000
committerTimo Teräs <timo.teras@iki.fi>2016-07-09 08:19:40 +0000
commitf2333fd696b1778d0ef56323a23a178e49e8eadd (patch)
tree8a0290c97c7d34a32d5a73cacecb1372da78d1ac /main/imagemagick
parent4e12f8931a71fd90d31449c744d1955b0da9e6ae (diff)
downloadaports-f2333fd696b1778d0ef56323a23a178e49e8eadd.tar.bz2
aports-f2333fd696b1778d0ef56323a23a178e49e8eadd.tar.xz
main/imagemagick: version upgrage to 6.9.5-0
-Adds libxml2 as build dep. to fix bug #5445. -Minor clean op of APKBUILD file. -Upgrades from 6.9.4-1 to 6.9.4-8. This version removes the https handler for identify(1) due to CVE-2016-3714 http://tinyurl.com/z57da9v
Diffstat (limited to 'main/imagemagick')
-rw-r--r--main/imagemagick/APKBUILD25
1 files changed, 9 insertions, 16 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 797290909d..1c7baf9bf2 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imagemagick
-pkgver=6.9.4.1
+pkgver=6.9.5.0
_abiver=6
_pkgver=${pkgver%.*}-${pkgver##*.}
pkgrel=0
@@ -13,22 +13,14 @@ license="custom"
depends=""
options="libtool"
makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev fontconfig-dev
- perl-dev ghostscript-dev libwebp-dev libtool tiff-dev lcms2-dev"
+ perl-dev ghostscript-dev libwebp-dev libtool tiff-dev lcms2-dev libxml2-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx"
source="http://www.imagemagick.org/download/releases/ImageMagick-$_pkgver.tar.xz"
-_builddir="$srcdir/ImageMagick-${_pkgver}"
-prepare() {
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir/ImageMagick-${_pkgver}"
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' \
@@ -48,13 +40,14 @@ build() {
--with-gslib \
--with-gs-font-dir=/usr/share/fonts/Type1 \
--with-modules \
+ --with-xml \
$_pic \
|| return 1
make || return 1
}
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)"
@@ -73,6 +66,6 @@ _cxx() {
mv "$pkgdir"/usr/lib/libMagick++*.so.* "$subpkgdir"/usr/lib/
}
-md5sums="430d33915b19f38012b55f98904c4f37 ImageMagick-6.9.4-1.tar.xz"
-sha256sums="2ea0fef839cd5d6f134502b7cf7ee0e57a3f230b19771515d4aa44354f4c6b3b ImageMagick-6.9.4-1.tar.xz"
-sha512sums="0ba9027ffa246627b3af35460e1dfeabc6cdfe867fb21f7d1d8f334fc42dc640383e31a65c4cff19ba496be1d2878924d25b9803d7da62bfeac8c078754bad8c ImageMagick-6.9.4-1.tar.xz"
+md5sums="126737c081e08941c31c4d6c38fb9e60 ImageMagick-6.9.5-0.tar.xz"
+sha256sums="7830ce045bde3283b7479cf6b039a0956253f058e1a47da7fbe1003d6dad30b4 ImageMagick-6.9.5-0.tar.xz"
+sha512sums="edea6d4c6ad3dce8edd6d402083b4e6729b6897b020620538836cda2200616cab5083c2c7e8070db146270657d68b5d1d872565745d037ca0e575e0cc71d937d ImageMagick-6.9.5-0.tar.xz"