Commit f684a98a authored by Leo's avatar Leo Committed by Kevin Daudt

main/libgcrypt: fix CVE-2019-12904

ref #10692

Closes GH-9729
parent 99f38a9a
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libgcrypt
pkgver=1.8.3
pkgrel=0
pkgrel=1
pkgdesc="general purpose crypto library based on the code used in GnuPG"
url="http://www.gnupg.org"
arch="all"
......@@ -11,15 +11,19 @@ depends_dev="libgpg-error-dev"
makedepends="$depends_dev texinfo"
subpackages="$pkgname-dev $pkgname-doc"
source="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$pkgname-$pkgver.tar.bz2
random-Fix-hang-of-_gcry_rndjent_get_version.patch"
random-Fix-hang-of-_gcry_rndjent_get_version.patch
CVE-2019-12904.patch
"
builddir="$srcdir"/$pkgname-$pkgver
options="!checkroot"
# secfixes:
# 1.8.3-r1:
# - CVE-2019-12904
# 1.8.3-r0:
# - CVE-2018-0495
# - CVE-2018-0495
build () {
build() {
cd "$builddir"
local _arch_configure=
......@@ -60,4 +64,5 @@ package() {
}
sha512sums="8c873204303f173dd3f49817a81035c1d504b2fc885965c9bc074a6e3fb108ceb6dca366d85e840a40712a6890fc325018ea9b8c1b7b8804c51c44b296cb96a0 libgcrypt-1.8.3.tar.bz2
a717d40702c8ffdd40a7bffc563bf7aecf01640514a2d07c7eb5e40d742473ba297779fc0fea64576b254214011711a010de0cf306f88c5617fd06214a9fd30e random-Fix-hang-of-_gcry_rndjent_get_version.patch"
a717d40702c8ffdd40a7bffc563bf7aecf01640514a2d07c7eb5e40d742473ba297779fc0fea64576b254214011711a010de0cf306f88c5617fd06214a9fd30e random-Fix-hang-of-_gcry_rndjent_get_version.patch
36f5f7f99e2c4f28207f91a7a500c3bca81044027b6d37ed0399e395a36638b37c0dff3145854a6caa2e9383722862b37a82bde1af520f06a9f4b327df1ec0af CVE-2019-12904.patch"
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment