aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtasn1/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-05-25 13:28:56 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-05-25 14:03:12 +0000
commit96deb4b1308544a05fef48ef2b2dcc9f868958b1 (patch)
tree9c3e57d596b6a35422e273eef37879e819da527d /main/libtasn1/APKBUILD
parent05a62bda8ec255d7049a2bd4cf0fdc4b32bdb2cc (diff)
downloadaports-96deb4b1308544a05fef48ef2b2dcc9f868958b1.tar.bz2
aports-96deb4b1308544a05fef48ef2b2dcc9f868958b1.tar.xz
main/libtasn1: security fix for CVE-2017-6891. Fixes #7327
Diffstat (limited to 'main/libtasn1/APKBUILD')
-rw-r--r--main/libtasn1/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index 847342cfc7..a94619b8da 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -2,16 +2,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtasn1
pkgver=4.10
-pkgrel=0
+pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
url="http://www.gnu.org/software/gnutls/"
arch="all"
license="GPL3 LGPL"
makedepends="texinfo"
subpackages="$pkgname-dev $pkgname-doc"
-source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+ CVE-2017-6891.patch"
builddir="$srcdir/$pkgname-$pkgver"
+# secfixes:
+# 4.10-r1:
+# - CVE-2017-6891
+
build() {
cd "$builddir"
CFLAGS="-Wno-error=inline" ./configure \
@@ -30,6 +35,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="f4faffdf63969d0e4e6df43b9679e8e5 libtasn1-4.10.tar.gz"
-sha256sums="681a4d9a0d259f2125713f2e5766c5809f151b3a1392fd91390f780b4b8f5a02 libtasn1-4.10.tar.gz"
-sha512sums="614e93128e6be8f46a2ad46e2a515e2edfb1f5a2e90c9e5da02d3afc0a882dc956632dd2b1eddd6b0e258e7b58a82d5d745d8ccd23120d94bb0af48132ed1a18 libtasn1-4.10.tar.gz"
+sha512sums="614e93128e6be8f46a2ad46e2a515e2edfb1f5a2e90c9e5da02d3afc0a882dc956632dd2b1eddd6b0e258e7b58a82d5d745d8ccd23120d94bb0af48132ed1a18 libtasn1-4.10.tar.gz
+82972045d29afe8b4a4e240ae45e6417de46f1057ba48026ba5ed5679054dbc469194a34ede9007925bf7bfbc91c93f31aafc1dcdac8ffc4d8c0798e08c7f880 CVE-2017-6891.patch"