Patchwork gnutls: security bump to version 2.12.18

login
register
mail settings
Submitter Gustavo Zacarias
Date March 28, 2012, 8:34 p.m.
Message ID <1332966893-28651-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/149305/
State Not Applicable
Headers show

Comments

Gustavo Zacarias - March 28, 2012, 8:34 p.m.
Fixes CVE-2012-1573

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gnutls/gnutls.mk |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
Arnout Vandecappelle - March 28, 2012, 9:04 p.m.
On Wednesday 28 March 2012 22:34:53 Gustavo Zacarias wrote:
> +GNUTLS_SITE = http://ftp.gnu.org/gnu/gnutls

 While you're updating this, you could switch to BR2_GNU_MIRROR.

 Regards,
 Arnout

Patch

diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 4cda997..c3b8095 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -4,11 +4,12 @@ 
 #
 #############################################################
 
-GNUTLS_VERSION = 2.10.5
+GNUTLS_VERSION = 2.12.18
 GNUTLS_SOURCE = gnutls-$(GNUTLS_VERSION).tar.bz2
-GNUTLS_SITE = http://ftp.gnu.org/gnu/gnutls/
-GNUTLS_DEPENDENCIES = libgcrypt
-GNUTLS_CONF_OPT += --without-libgcrypt-prefix
+GNUTLS_SITE = http://ftp.gnu.org/gnu/gnutls
+GNUTLS_DEPENDENCIES = host-pkg-config libgcrypt
+GNUTLS_CONF_OPT = --with-libgcrypt --with-libgcrypt-prefix=$(STAGING_DIR)/usr \
+		--without-p11-kit
 GNUTLS_INSTALL_STAGING = YES
 
 $(eval $(call AUTOTARGETS))