aboutsummaryrefslogtreecommitdiffstats
path: root/main/file/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/file/APKBUILD')
-rw-r--r--main/file/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/file/APKBUILD b/main/file/APKBUILD
index 433245e420..d1b7fbbcca 100644
--- a/main/file/APKBUILD
+++ b/main/file/APKBUILD
@@ -2,17 +2,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=file
pkgver=5.37
-pkgrel=0
+pkgrel=1
pkgdesc="File type identification utility"
url="https://www.darwinsys.com/file"
arch="all"
license="BSD-2-Clause"
makedepends="autoconf libtool automake"
subpackages="$pkgname-dev $pkgname-doc libmagic"
-source=$pkgname-$pkgver.tar.gz::https://github.com/file/file/archive/FILE${pkgver/./_}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/file/file/archive/FILE${pkgver/./_}.tar.gz
+ CVE-2019-18218.patch
+ "
builddir="$srcdir/$pkgname-FILE${pkgver/./_}"
# secfixes:
+# 5.37-r1:
+# - CVE-2019-19218
# 5.36-r0:
# - CVE-2019-1543
# - CVE-2019-8904
@@ -44,4 +48,5 @@ libmagic() {
mv "$pkgdir"/usr/lib "$pkgdir"/usr/share "$subpkgdir"/usr
}
-sha512sums="9b6ae3dd910a03d2161c91ebc75ac91eb7dbd279563462b77daf902d9ae9f0a70de12c37a498b20c6357d6594059d01841bfd104592107b65c08d8343fca19d2 file-5.37.tar.gz"
+sha512sums="9b6ae3dd910a03d2161c91ebc75ac91eb7dbd279563462b77daf902d9ae9f0a70de12c37a498b20c6357d6594059d01841bfd104592107b65c08d8343fca19d2 file-5.37.tar.gz
+d70c5d298db7f70c45feaeebb077f076e6f1b5bcccb85926afeead64838436fd42681541d56f4fbe35b97dd76bfdbf3abf2665894c18999b37d2ca3fe2f2cf17 CVE-2019-18218.patch"