summaryrefslogtreecommitdiff
path: root/extra/libtasn1/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libtasn1/PKGBUILD')
-rw-r--r--extra/libtasn1/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/libtasn1/PKGBUILD b/extra/libtasn1/PKGBUILD
index 699bae051..3b7021f5e 100644
--- a/extra/libtasn1/PKGBUILD
+++ b/extra/libtasn1/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 170031 2012-10-31 05:15:58Z andyrtr $
+# $Id: PKGBUILD 172017 2012-11-26 14:46:50Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=libtasn1
-pkgver=3.0
+pkgver=3.1
pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
arch=('i686' 'x86_64')
@@ -12,12 +12,19 @@ url="http://www.gnu.org/software/libtasn1/"
depends=('glibc' 'texinfo')
options=('!libtool')
install=libtasn1.install
-source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig})
-sha1sums=('0ce12f8b0460ae6eabf2a608506dbd337bf78a71'
- '48abf083dc9d36cc64f0d80cebd3da1dbc47d557')
+source=(http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz{,.sig}
+ buffer_overflow_fix.diff)
+md5sums=('a3c713c41a9a73851235dc37051be46f'
+ '43500f54858ffe021e5fd20896b165ad'
+ '4c9e248a4198d9710bf2f822a7c447a5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # corrected possible buffer overflow in parser errors.
+ # http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commit;h=aa6e97f68d6c8d06f531d9b6bb462dc1c0720f77
+ patch -Np1 -i ${srcdir}/buffer_overflow_fix.diff
+
./configure --prefix=/usr \
--with-packager=Archlinux \
--with-packager-bug-reports="http://bugs.archlinux.org/" \