[arch-commits] Commit in libtasn1/repos (10 files)
andyrtr at archlinux.org
andyrtr at archlinux.org
Mon Nov 26 14:46:50 UTC 2012
Date: Monday, November 26, 2012 @ 09:46:50
Author: andyrtr
Revision: 172017
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
libtasn1/repos/extra-i686/PKGBUILD
(from rev 172016, libtasn1/trunk/PKGBUILD)
libtasn1/repos/extra-i686/buffer_overflow_fix.diff
(from rev 172016, libtasn1/trunk/buffer_overflow_fix.diff)
libtasn1/repos/extra-i686/libtasn1.install
(from rev 172016, libtasn1/trunk/libtasn1.install)
libtasn1/repos/extra-x86_64/PKGBUILD
(from rev 172016, libtasn1/trunk/PKGBUILD)
libtasn1/repos/extra-x86_64/buffer_overflow_fix.diff
(from rev 172016, libtasn1/trunk/buffer_overflow_fix.diff)
libtasn1/repos/extra-x86_64/libtasn1.install
(from rev 172016, libtasn1/trunk/libtasn1.install)
Deleted:
libtasn1/repos/extra-i686/PKGBUILD
libtasn1/repos/extra-i686/libtasn1.install
libtasn1/repos/extra-x86_64/PKGBUILD
libtasn1/repos/extra-x86_64/libtasn1.install
---------------------------------------+
extra-i686/PKGBUILD | 79 +++++++++++++++++---------------
extra-i686/buffer_overflow_fix.diff | 75 ++++++++++++++++++++++++++++++
extra-i686/libtasn1.install | 36 +++++++-------
extra-x86_64/PKGBUILD | 79 +++++++++++++++++---------------
extra-x86_64/buffer_overflow_fix.diff | 75 ++++++++++++++++++++++++++++++
extra-x86_64/libtasn1.install | 36 +++++++-------
6 files changed, 272 insertions(+), 108 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2012-11-26 14:45:28 UTC (rev 172016)
+++ extra-i686/PKGBUILD 2012-11-26 14:46:50 UTC (rev 172017)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=libtasn1
-pkgver=3.0
-pkgrel=1
-pkgdesc="The ASN.1 library used in GNUTLS"
-arch=('i686' 'x86_64')
-license=('GPL3' 'LGPL')
-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')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-packager=Archlinux \
- --with-packager-bug-reports="http://bugs.archlinux.org/" \
- --with-packager-version=${pkgver}-${pkgrel}
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: libtasn1/repos/extra-i686/PKGBUILD (from rev 172016, libtasn1/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=libtasn1
+pkgver=3.1
+pkgrel=1
+pkgdesc="The ASN.1 library used in GNUTLS"
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL')
+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}
+ 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/" \
+ --with-packager-version=${pkgver}-${pkgrel}
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libtasn1/repos/extra-i686/buffer_overflow_fix.diff (from rev 172016, libtasn1/trunk/buffer_overflow_fix.diff)
===================================================================
--- extra-i686/buffer_overflow_fix.diff (rev 0)
+++ extra-i686/buffer_overflow_fix.diff 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,75 @@
+From aa6e97f68d6c8d06f531d9b6bb462dc1c0720f77 Mon Sep 17 00:00:00 2001
+From: Nikos Mavrogiannopoulos <nmav at gnutls.org>
+Date: Sun, 25 Nov 2012 14:16:24 +0100
+Subject: [PATCH] corrected possible buffer overflow in parser errors.
+
+---
+ lib/ASN1.c | 6 +++---
+ lib/ASN1.y | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/lib/ASN1.c b/lib/ASN1.c
+index 2a60527..df6fb64 100644
+--- a/lib/ASN1.c
++++ b/lib/ASN1.c
+@@ -119,7 +119,7 @@ static unsigned int line_number; /* line number describing the
+ parser position inside the
+ file */
+ static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = "";
+-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */
++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */
+ static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file
+ to parse before the 'parse
+ error' */
+@@ -3283,7 +3283,7 @@ _asn1_yyerror (const char *s)
+ strcmp (last_token, "TeletexString") == 0 ||
+ strcmp (last_token, "BMPString") == 0)
+ {
+- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error_token, sizeof(last_error_token),
+ "%s", last_token);
+ fprintf(stderr,
+ "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+@@ -3294,7 +3294,7 @@ _asn1_yyerror (const char *s)
+
+ if (result_parse != ASN1_NAME_TOO_LONG)
+ {
+- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error, sizeof(last_error),
+ "%s:%u: Error: %s near '%s'", file_name,
+ line_number, s, last_token);
+ result_parse = ASN1_SYNTAX_ERROR;
+diff --git a/lib/ASN1.y b/lib/ASN1.y
+index 874eb13..e0add54 100644
+--- a/lib/ASN1.y
++++ b/lib/ASN1.y
+@@ -42,7 +42,7 @@ static unsigned int line_number; /* line number describing the
+ parser position inside the
+ file */
+ static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = "";
+-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */
++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */
+ static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file
+ to parse before the 'parse
+ error' */
+@@ -869,7 +869,7 @@ _asn1_yyerror (const char *s)
+ strcmp (last_token, "TeletexString") == 0 ||
+ strcmp (last_token, "BMPString") == 0)
+ {
+- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error_token, sizeof(last_error_token),
+ "%s", last_token);
+ fprintf(stderr,
+ "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+@@ -880,7 +880,7 @@ _asn1_yyerror (const char *s)
+
+ if (result_parse != ASN1_NAME_TOO_LONG)
+ {
+- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error, sizeof(last_error),
+ "%s:%u: Error: %s near '%s'", file_name,
+ line_number, s, last_token);
+ result_parse = ASN1_SYNTAX_ERROR;
+--
+1.7.2.5
+
Deleted: extra-i686/libtasn1.install
===================================================================
--- extra-i686/libtasn1.install 2012-11-26 14:45:28 UTC (rev 172016)
+++ extra-i686/libtasn1.install 2012-11-26 14:46:50 UTC (rev 172017)
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(libtasn1.info)
-
-post_install() {
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
Copied: libtasn1/repos/extra-i686/libtasn1.install (from rev 172016, libtasn1/trunk/libtasn1.install)
===================================================================
--- extra-i686/libtasn1.install (rev 0)
+++ extra-i686/libtasn1.install 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(libtasn1.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2012-11-26 14:45:28 UTC (rev 172016)
+++ extra-x86_64/PKGBUILD 2012-11-26 14:46:50 UTC (rev 172017)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-# Contributor: judd <jvinet at zeroflux.org>
-
-pkgname=libtasn1
-pkgver=3.0
-pkgrel=1
-pkgdesc="The ASN.1 library used in GNUTLS"
-arch=('i686' 'x86_64')
-license=('GPL3' 'LGPL')
-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')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --with-packager=Archlinux \
- --with-packager-bug-reports="http://bugs.archlinux.org/" \
- --with-packager-version=${pkgver}-${pkgrel}
- make
-}
-
-check() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make check
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
-}
Copied: libtasn1/repos/extra-x86_64/PKGBUILD (from rev 172016, libtasn1/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=libtasn1
+pkgver=3.1
+pkgrel=1
+pkgdesc="The ASN.1 library used in GNUTLS"
+arch=('i686' 'x86_64')
+license=('GPL3' 'LGPL')
+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}
+ 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/" \
+ --with-packager-version=${pkgver}-${pkgrel}
+ make
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make check
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
Copied: libtasn1/repos/extra-x86_64/buffer_overflow_fix.diff (from rev 172016, libtasn1/trunk/buffer_overflow_fix.diff)
===================================================================
--- extra-x86_64/buffer_overflow_fix.diff (rev 0)
+++ extra-x86_64/buffer_overflow_fix.diff 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,75 @@
+From aa6e97f68d6c8d06f531d9b6bb462dc1c0720f77 Mon Sep 17 00:00:00 2001
+From: Nikos Mavrogiannopoulos <nmav at gnutls.org>
+Date: Sun, 25 Nov 2012 14:16:24 +0100
+Subject: [PATCH] corrected possible buffer overflow in parser errors.
+
+---
+ lib/ASN1.c | 6 +++---
+ lib/ASN1.y | 6 +++---
+ 2 files changed, 6 insertions(+), 6 deletions(-)
+
+diff --git a/lib/ASN1.c b/lib/ASN1.c
+index 2a60527..df6fb64 100644
+--- a/lib/ASN1.c
++++ b/lib/ASN1.c
+@@ -119,7 +119,7 @@ static unsigned int line_number; /* line number describing the
+ parser position inside the
+ file */
+ static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = "";
+-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */
++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */
+ static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file
+ to parse before the 'parse
+ error' */
+@@ -3283,7 +3283,7 @@ _asn1_yyerror (const char *s)
+ strcmp (last_token, "TeletexString") == 0 ||
+ strcmp (last_token, "BMPString") == 0)
+ {
+- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error_token, sizeof(last_error_token),
+ "%s", last_token);
+ fprintf(stderr,
+ "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+@@ -3294,7 +3294,7 @@ _asn1_yyerror (const char *s)
+
+ if (result_parse != ASN1_NAME_TOO_LONG)
+ {
+- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error, sizeof(last_error),
+ "%s:%u: Error: %s near '%s'", file_name,
+ line_number, s, last_token);
+ result_parse = ASN1_SYNTAX_ERROR;
+diff --git a/lib/ASN1.y b/lib/ASN1.y
+index 874eb13..e0add54 100644
+--- a/lib/ASN1.y
++++ b/lib/ASN1.y
+@@ -42,7 +42,7 @@ static unsigned int line_number; /* line number describing the
+ parser position inside the
+ file */
+ static char last_error[ASN1_MAX_ERROR_DESCRIPTION_SIZE] = "";
+-static char last_error_token[ASN1_MAX_NAME_SIZE+1] = ""; /* used when expected errors occur */
++static char last_error_token[ASN1_MAX_ERROR_DESCRIPTION_SIZE+1] = ""; /* used when expected errors occur */
+ static char last_token[ASN1_MAX_NAME_SIZE+1] = ""; /* last token find in the file
+ to parse before the 'parse
+ error' */
+@@ -869,7 +869,7 @@ _asn1_yyerror (const char *s)
+ strcmp (last_token, "TeletexString") == 0 ||
+ strcmp (last_token, "BMPString") == 0)
+ {
+- snprintf (last_error_token, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error_token, sizeof(last_error_token),
+ "%s", last_token);
+ fprintf(stderr,
+ "%s:%u: Warning: %s is a built-in ASN.1 type.\n",
+@@ -880,7 +880,7 @@ _asn1_yyerror (const char *s)
+
+ if (result_parse != ASN1_NAME_TOO_LONG)
+ {
+- snprintf (last_error, ASN1_MAX_ERROR_DESCRIPTION_SIZE,
++ snprintf (last_error, sizeof(last_error),
+ "%s:%u: Error: %s near '%s'", file_name,
+ line_number, s, last_token);
+ result_parse = ASN1_SYNTAX_ERROR;
+--
+1.7.2.5
+
Deleted: extra-x86_64/libtasn1.install
===================================================================
--- extra-x86_64/libtasn1.install 2012-11-26 14:45:28 UTC (rev 172016)
+++ extra-x86_64/libtasn1.install 2012-11-26 14:46:50 UTC (rev 172017)
@@ -1,18 +0,0 @@
-info_dir=/usr/share/info
-info_files=(libtasn1.info)
-
-post_install() {
- for f in ${info_files[@]}; do
- install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- for f in ${info_files[@]}; do
- install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
- done
-}
Copied: libtasn1/repos/extra-x86_64/libtasn1.install (from rev 172016, libtasn1/trunk/libtasn1.install)
===================================================================
--- extra-x86_64/libtasn1.install (rev 0)
+++ extra-x86_64/libtasn1.install 2012-11-26 14:46:50 UTC (rev 172017)
@@ -0,0 +1,18 @@
+info_dir=/usr/share/info
+info_files=(libtasn1.info)
+
+post_install() {
+ for f in ${info_files[@]}; do
+ install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ for f in ${info_files[@]}; do
+ install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null
+ done
+}
More information about the arch-commits
mailing list