aboutsummaryrefslogtreecommitdiffstats
path: root/community/evince/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-07-15 12:29:40 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2017-07-15 13:29:39 +0200
commit02e685d0a8e5a8cc3db2ce21ea6b425280b357ac (patch)
tree937c0a785a75b9c793ca534db3544bd398eb8791 /community/evince/APKBUILD
parent69bf70aaa381065ebaf40f9aee175c8a598bce77 (diff)
downloadaports-02e685d0a8e5a8cc3db2ce21ea6b425280b357ac.tar.bz2
aports-02e685d0a8e5a8cc3db2ce21ea6b425280b357ac.tar.xz
community/evince: security fix for CVE-2017-1000083
Diffstat (limited to 'community/evince/APKBUILD')
-rw-r--r--community/evince/APKBUILD24
1 files changed, 18 insertions, 6 deletions
diff --git a/community/evince/APKBUILD b/community/evince/APKBUILD
index 76ab548ba5..664cf8bfe6 100644
--- a/community/evince/APKBUILD
+++ b/community/evince/APKBUILD
@@ -1,8 +1,9 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=evince
pkgver=3.24.0
-pkgrel=1
+pkgrel=2
pkgdesc="simple document viewer for GTK+"
url="http://projects.gnome.org/evince/"
arch="all"
@@ -12,12 +13,23 @@ depends_dev="gtk+3.0-dev poppler-dev libsm-dev libevent-dev libxrandr-dev
libx11-dev libxcursor-dev libxcomposite-dev libxi-dev util-linux-dev
tiff-dev gobject-introspection-dev libxml2-dev"
makedepends="$depends_dev intltool itstool gnome-doc-utils
- adwaita-icon-theme-dev"
+ adwaita-icon-theme-dev gnome-common automake autoconf
+ gtk-doc yelp-tools"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
-source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
-
+source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz
+ 0001-comics-Remove-support-for-tar-and-tar-like-commands.patch"
builddir="${srcdir}/${pkgname}-${pkgver}"
+# secfixes:
+# 3.24.0-r2:
+# - CVE-2017-1000083
+
+prepare() {
+ default_prepare
+ cd "$builddir"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
build() {
cd "$builddir"
./configure \
@@ -50,5 +62,5 @@ doc() {
fi
}
-
-sha512sums="b793c44b2976abe58461adfdb0b1874af8d6bafaf9b80a851d94b776f9d50f6a81774bcb5b35cd59a9ad3afeea9a8b88018aa85d670373c7c2fa9617407a09c4 evince-3.24.0.tar.xz"
+sha512sums="b793c44b2976abe58461adfdb0b1874af8d6bafaf9b80a851d94b776f9d50f6a81774bcb5b35cd59a9ad3afeea9a8b88018aa85d670373c7c2fa9617407a09c4 evince-3.24.0.tar.xz
+26251ad90271612ee3fadf0c7a7719fdca6ed1b74f2600751eaba97916d2b44969955a9ad9994f1c97cb79757d3d4f7f76354ce3b04b1340d91598a773fbb130 0001-comics-Remove-support-for-tar-and-tar-like-commands.patch"