aboutsummaryrefslogtreecommitdiffstats
path: root/main/imagemagick
diff options
context:
space:
mode:
authorTimothy Legge <timlegge@gmail.com>2019-07-17 21:42:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-07-22 09:27:14 +0000
commit2c53a569e708af924a9d9e1145ff876b8d929dfc (patch)
tree048d2e07e20e2513a8bc8d79d81670b76c588495 /main/imagemagick
parent0915e13fb2e6eafd9594d525ee579c3bbfd0d096 (diff)
downloadaports-2c53a569e708af924a9d9e1145ff876b8d929dfc.tar.bz2
aports-2c53a569e708af924a9d9e1145ff876b8d929dfc.tar.xz
main/imagemagick: security upgrade to 7.0.8-53
Diffstat (limited to 'main/imagemagick')
-rw-r--r--main/imagemagick/APKBUILD16
1 files changed, 10 insertions, 6 deletions
diff --git a/main/imagemagick/APKBUILD b/main/imagemagick/APKBUILD
index 4fa72c8e6a..4a54db90fc 100644
--- a/main/imagemagick/APKBUILD
+++ b/main/imagemagick/APKBUILD
@@ -2,8 +2,9 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=imagemagick
-pkgver=7.0.8.49
-pkgrel=2
+_pkgname=ImageMagick
+pkgver=7.0.8.53
+pkgrel=0
_pkgver=${pkgver%.*}-${pkgver##*.}
_abiver=7
pkgdesc="Collection of tools and libraries for many image formats"
@@ -17,9 +18,9 @@ makedepends="zlib-dev libpng-dev libjpeg-turbo-dev freetype-dev fontconfig-dev
libheif-dev"
checkdepends="freetype fontconfig ghostscript ghostscript-fonts lcms2 graphviz"
subpackages="$pkgname-doc $pkgname-dev $pkgname-c++:_cxx $pkgname-libs $pkgname-perlmagick:_perlmagick $pkgname-perlmagick-doc:_perlmagick_doc"
-source="https://www.imagemagick.org/download/releases/ImageMagick-$_pkgver.tar.xz
+source="$_pkgname-$_pkgver.tar.gz::https://github.com/ImageMagick/ImageMagick/archive/$_pkgver.tar.gz
disable-avaraging-tests.patch"
-builddir="$srcdir/ImageMagick-${_pkgver}"
+builddir="$srcdir/$_pkgname-$_pkgver"
# secfixes:
# 7.0.8.44-r0:
@@ -94,7 +95,10 @@ _perlmagick() {
pkgdesc="PerlMagick Perl Modules for ImageMagick"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/perl5 "$subpkgdir"/usr/lib/
- chrpath -d "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Image/Magick/Q16HDRI/Q16HDRI.so
+ # Strip all the rpath that include /home
+ scanelf --recursive --rpath "$subpkgdir" | awk '/home/{print $3;}' | xargs chrpath -d
+# chrpath -d "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Image/Magick/Q16HDRI/Q16HDRI.so
+# chrpath -d "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Image/Magick/Magick.so
}
_perlmagick_doc() {
@@ -104,5 +108,5 @@ _perlmagick_doc() {
make -j1 DESTDIR="$subpkgdir" doc_vendor_install
}
-sha512sums="8dd4a45f4d95d949bcd797f44d1602a3767386ee7d73888fb8a1ee6d4d8be7c4881a88262e7261a253da6f4b3c8ac9442d5eacb44e267e2d25e11bda10b12526 ImageMagick-7.0.8-49.tar.xz
+sha512sums="f96de743266cefdb48e14e8c18cd36d629641894b056637e2d17bbf8cd0626c81b3c762db0893c919a3caaa60c6b34ab777f40d19c8f75b7604eb2975fdd56be ImageMagick-7.0.8-53.tar.gz
58afb2da075a6208b6a990ff297b3a827d260687c3355198a8b4d987e1596c0b0cd78aff6f0be0e1896e537fbe44a3d467473183f5f149664ea6e6fb3d3291a9 disable-avaraging-tests.patch"