summaryrefslogtreecommitdiff
path: root/user/libraw/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-23 04:11:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-09-23 04:11:02 +0000
commit203d76622b113543ee679925cb99d7e3f2ccbe05 (patch)
tree07b1e10d10234607bd0ac16e041bb6253bf893cd /user/libraw/APKBUILD
parent85258b9619881ee4ab8d52737f3a6ec4f61d983b (diff)
downloadpackages-203d76622b113543ee679925cb99d7e3f2ccbe05.tar.gz
packages-203d76622b113543ee679925cb99d7e3f2ccbe05.tar.bz2
packages-203d76622b113543ee679925cb99d7e3f2ccbe05.tar.xz
packages-203d76622b113543ee679925cb99d7e3f2ccbe05.zip
user/libraw: Questionably patch CVE-2020-15503
Diffstat (limited to 'user/libraw/APKBUILD')
-rw-r--r--user/libraw/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/user/libraw/APKBUILD b/user/libraw/APKBUILD
index d280c6402..881e60074 100644
--- a/user/libraw/APKBUILD
+++ b/user/libraw/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libraw
pkgver=0.19.5
-pkgrel=0
+pkgrel=1
pkgdesc="Read RAW image files from digital cameras"
url="https://www.libraw.org/"
arch="all"
@@ -10,9 +10,15 @@ license="LGPL-2.1-only OR CDDL-1.0"
depends=""
makedepends="jasper-dev lcms2-dev libjpeg-turbo-dev"
subpackages="$pkgname-dev $pkgname-doc"
-source="https://www.libraw.org/data/LibRaw-$pkgver.tar.gz"
+source="https://www.libraw.org/data/LibRaw-$pkgver.tar.gz
+ CVE-2020-15503.patch
+ "
builddir="$srcdir/LibRaw-$pkgver"
+# secfixes:
+# 0.19.5-r1:
+# - CVE-2020-15503
+
build() {
./configure \
--build=$CBUILD \
@@ -32,4 +38,5 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="4560045f75e6d2ab0d1d8686075f3a0e26a5d7ce693b48508110a2c31d19055d58983c24852da0abb64fa90db5e20f24b87aa7537ed04d958c38c8b265a7e826 LibRaw-0.19.5.tar.gz"
+sha512sums="4560045f75e6d2ab0d1d8686075f3a0e26a5d7ce693b48508110a2c31d19055d58983c24852da0abb64fa90db5e20f24b87aa7537ed04d958c38c8b265a7e826 LibRaw-0.19.5.tar.gz
+49feadef114b219222c0ca143f45aaa1595b7c7a4a8f8472cd6f18449082d75b3fb4314e4beba549f8f69bc49d7790777129ff1f12ee8a110988fdf12f20caae CVE-2020-15503.patch"