summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorlilac2018-10-23 01:55:06 +0800
committerlilac2018-10-23 01:55:06 +0800
commit955f662006270c9677e6c61034d4e168f7d6038a (patch)
treeb136988c7d5c8e943d872842850e5813ec10fc20
parent076190c810697ca5877d747d5c7ec5b48f350928 (diff)
downloadaur-955f662006270c9677e6c61034d4e168f7d6038a.tar.gz
update by lilac
-rw-r--r--.SRCINFO16
-rw-r--r--IM7-GS-policy.patch11
-rw-r--r--PKGBUILD14
3 files changed, 28 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98df4145e973..1f229c782727 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = imagemagick-fftw
pkgdesc = An image viewing/manipulation program
- pkgver = 7.0.8.12
+ pkgver = 7.0.8.13
pkgrel = 1
url = https://www.imagemagick.org/
arch = x86_64
@@ -32,13 +32,15 @@ pkgbase = imagemagick-fftw
depends = libraqm
depends = libpng
depends = libxml2
- source = https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-12.tar.xz
- source = https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-12.tar.xz.asc
+ source = https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-13.tar.xz
+ source = https://www.imagemagick.org/download/releases/ImageMagick-7.0.8-13.tar.xz.asc
source = arch-fonts.diff
+ source = IM7-GS-policy.patch
validpgpkeys = D8272EF51DA223E4D05B466989AB63D48277377A
- sha256sums = 48df5877fe85603940310fe5c811a89af416882b60379918a95dcd4de6582b55
+ sha256sums = 1543ad705ef45cf490de8e8db913e13b1e7baea057036db69feb475467d66873
sha256sums = SKIP
sha256sums = a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73
+ sha256sums = 70a5358fe0e33a4aed34a32cd32be6c9f38277de3560605d8e93f5d486d1e112
pkgname = libmagick-fftw
pkgdesc = An image viewing/manipulation program (library)
@@ -53,7 +55,7 @@ pkgname = libmagick-fftw
optdepends = openexr: OpenEXR support
optdepends = openjpeg2: JPEG2000 support
optdepends = pango: Text rendering
- provides = libmagick=7.0.8.12
+ provides = libmagick=7.0.8.13
conflicts = libmagick
options = !emptydirs
options = libtool
@@ -71,9 +73,9 @@ pkgname = libmagick-fftw
backup = etc/ImageMagick-7/type-ghostscript.xml
pkgname = imagemagick-fftw
- depends = libmagick-fftw=7.0.8.12-1
+ depends = libmagick-fftw=7.0.8.13-1
optdepends = imagemagick-doc: manual and API docs
- provides = imagemagick=7.0.8.12
+ provides = imagemagick=7.0.8.13
conflicts = imagemagick
options = !emptydirs
diff --git a/IM7-GS-policy.patch b/IM7-GS-policy.patch
new file mode 100644
index 000000000000..2f79603cc082
--- /dev/null
+++ b/IM7-GS-policy.patch
@@ -0,0 +1,11 @@
+--- ImageMagick-7.0.8-13/config/policy.xml.orig 2018-10-22 15:13:51.713995553 +0000
++++ ImageMagick-7.0.8-13/config/policy.xml 2018-10-22 15:14:22.650737457 +0000
+@@ -68,7 +68,7 @@
+ <!-- <policy domain="resource" name="thread" value="4"/> -->
+ <!-- <policy domain="resource" name="throttle" value="0"/> -->
+ <!-- <policy domain="resource" name="time" value="3600"/> -->
+- <!-- <policy domain="coder" rights="none" pattern="MVG" /> -->
++ <!-- <policy domain="coder" rights="none" pattern="{MVG,PS,PS2,PS3,EPS,PDF,XPS}" /> -->
+ <!-- <policy domain="module" rights="none" pattern="{PS,PDF,XPS}" /> -->
+ <!-- <policy domain="delegate" rights="none" pattern="HTTPS" /> -->
+ <!-- <policy domain="path" rights="none" pattern="@*" /> -->
diff --git a/PKGBUILD b/PKGBUILD
index e35253acedc6..d662ee107714 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgbase=imagemagick-fftw
pkgname=(libmagick-fftw imagemagick-fftw)
-pkgver=7.0.8.12
+pkgver=7.0.8.13
pkgrel=1
pkgdesc="An image viewing/manipulation program"
url="https://www.imagemagick.org/"
@@ -15,10 +15,11 @@ checkdepends=(gsfonts ttf-dejavu)
_relname=ImageMagick-${pkgver%%.*}
_tarname=ImageMagick-${pkgver%.*}-${pkgver##*.}
source=(https://www.imagemagick.org/download/releases/$_tarname.tar.xz{,.asc}
- arch-fonts.diff)
-sha256sums=('48df5877fe85603940310fe5c811a89af416882b60379918a95dcd4de6582b55'
+ arch-fonts.diff IM7-GS-policy.patch)
+sha256sums=('1543ad705ef45cf490de8e8db913e13b1e7baea057036db69feb475467d66873'
'SKIP'
- 'a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73')
+ 'a85b744c61b1b563743ecb7c7adad999d7ed9a8af816650e3ab9321b2b102e73'
+ '70a5358fe0e33a4aed34a32cd32be6c9f38277de3560605d8e93f5d486d1e112')
validpgpkeys=(D8272EF51DA223E4D05B466989AB63D48277377A) # Lexie Parsimoniae
shopt -s extglob
@@ -29,9 +30,10 @@ prepare() {
cd $_tarname
# Fix up typemaps to match our packages, where possible
- patch -Np1 -i ../arch-fonts.diff
+ patch -p1 -i ../arch-fonts.diff
- # Don't run auto(re)conf; assumes use of git
+ # Work around ghostscript security issues https://bugs.archlinux.org/task/59778
+ patch -p1 -i ../IM7-GS-policy.patch
}
build() {