changeset 2641:832d15e602a6

package gnutls: revert to ver 3.0.19 3.0.20 uses CertEnumCRLsInStore which is missing from our winapi
author Mark Brand <mabrand@mabrand.nl>
date Thu, 21 Jun 2012 22:47:10 +0200
parents ce13ae8c8142
children 9956b52eea59
files index.html src/gnutls-1-fixes.patch src/gnutls.mk
diffstat 3 files changed, 18 insertions(+), 47 deletions(-) [+]
line wrap: on
line diff
--- a/index.html	Thu Jun 21 21:22:33 2012 +0200
+++ b/index.html	Thu Jun 21 22:47:10 2012 +0200
@@ -1180,7 +1180,7 @@
     </tr>
     <tr>
         <td id="gnutls-package">gnutls</td>
-        <td id="gnutls-version">3.0.20</td>
+        <td id="gnutls-version">3.0.19</td>
         <td id="gnutls-website"><a href="http://www.gnu.org/software/gnutls/">GnuTLS</a></td>
     </tr>
     <tr>
--- a/src/gnutls-1-fixes.patch	Thu Jun 21 21:22:33 2012 +0200
+++ b/src/gnutls-1-fixes.patch	Thu Jun 21 22:47:10 2012 +0200
@@ -3,10 +3,10 @@
 
 Contains ad hoc patches for cross building.
 
-From 1f08b1e9d6f6a03e0fe5e62aef85aa1021014953 Mon Sep 17 00:00:00 2001
+From 18aa82eb060ca9ded9720091300a6c31af8382a9 Mon Sep 17 00:00:00 2001
 From: Mark Brand <mabrand@mabrand.nl>
 Date: Fri, 28 Oct 2011 09:23:41 +0200
-Subject: [PATCH 1/5] add missing static library linking
+Subject: [PATCH 1/4] add missing static library linking
 
 ---
  lib/gnutls.pc.in |    2 +-
@@ -25,13 +25,13 @@
  @GNUTLS_REQUIRES_PRIVATE@
  Cflags: -I${includedir}
 -- 
-1.7.9.2
+1.7.10.4
 
 
-From bbf2330693746cc45a3df65cba253ce44a353ac3 Mon Sep 17 00:00:00 2001
+From bd254ee873a2f7d6027661beae5d88372f10aa93 Mon Sep 17 00:00:00 2001
 From: Mark Brand <mabrand@mabrand.nl>
 Date: Thu, 24 Nov 2011 15:06:06 +0100
-Subject: [PATCH 2/5] disable doc and test (mingw-cross-env specific)
+Subject: [PATCH 2/4] disable doc and test (mingw-cross-env specific)
 
 ---
  Makefile.am |    2 +-
@@ -51,13 +51,13 @@
  if HAVE_GUILE
  SUBDIRS += guile
 -- 
-1.7.9.2
+1.7.10.4
 
 
-From 5ee5355a9b34821b99f3f2fa83eb8435ccb45702 Mon Sep 17 00:00:00 2001
+From dce8795ce40246c87fc83d1879f02c9923dba2ed Mon Sep 17 00:00:00 2001
 From: Mark Brand <mabrand@mabrand.nl>
 Date: Tue, 3 Apr 2012 13:58:42 +0200
-Subject: [PATCH 3/5] Revert "make dist will also make lzip compressed
+Subject: [PATCH 3/4] Revert "make dist will also make lzip compressed
  tarball"
 
 This reverts commit 97ac1bc58274f651338444693bd75441ba12f46f.
@@ -66,10 +66,10 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/configure.ac b/configure.ac
-index f826704..bb4d044 100644
+index 0ad765c..74b778e 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -25,7 +25,7 @@ AC_INIT([GnuTLS], [3.0.20], [bug-gnutls@gnu.org])
+@@ -25,7 +25,7 @@ AC_INIT([GnuTLS], [3.0.19], [bug-gnutls@gnu.org])
  AC_CONFIG_AUX_DIR([build-aux])
  AC_CONFIG_MACRO_DIR([m4])
  
@@ -79,13 +79,13 @@
  AM_CONFIG_HEADER(config.h)
  
 -- 
-1.7.9.2
+1.7.10.4
 
 
-From 7f22baaa57d160a22b49d25b8fa4024b754aedcd Mon Sep 17 00:00:00 2001
+From ae55a00b99a60b65e459ebe7ada215ace70b56db Mon Sep 17 00:00:00 2001
 From: Mark Brand <mabrand@mabrand.nl>
 Date: Wed, 6 Jun 2012 09:57:24 +0200
-Subject: [PATCH 4/5] AM_PROG_AR for automake 1.12 compatibility
+Subject: [PATCH 4/4] AM_PROG_AR for automake 1.12 compatibility
 
 Taken from
 http://lists.gnu.org/archive/html/automake/2012-05/msg00014.html
@@ -94,7 +94,7 @@
  1 file changed, 1 insertion(+)
 
 diff --git a/configure.ac b/configure.ac
-index bb4d044..4c9c13a 100644
+index 74b778e..d045aaf 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -37,6 +37,7 @@ dnl Checks for programs.
@@ -106,34 +106,5 @@
  
  # For includes/gnutls/gnutls.h.in.
 -- 
-1.7.9.2
-
-
-From da583995c66f2df7cac31435d1609754a6853d07 Mon Sep 17 00:00:00 2001
-From: Mark Brand <mabrand@mabrand.nl>
-Date: Wed, 6 Jun 2012 10:09:48 +0200
-Subject: [PATCH 5/5] add missing include wincrypt.h
-
-taken from
-http://lists.gnu.org/archive/html/gnutls-devel/2012-06/msg00001.html
----
- lib/gnutls_x509.c |    3 +++
- 1 file changed, 3 insertions(+)
+1.7.10.4
 
-diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c
-index 71e0d69..130d75c 100644
---- a/lib/gnutls_x509.c
-+++ b/lib/gnutls_x509.c
-@@ -42,6 +42,9 @@
- #include "x509/x509_int.h"
- #include <gnutls_str_array.h>
- #include "read-file.h"
-+#if defined _WIN32 || defined __WIN32__
-+#include <wincrypt.h>
-+#endif
- 
- /*
-  * some x509 certificate parsing functions.
--- 
-1.7.9.2
-
--- a/src/gnutls.mk	Thu Jun 21 21:22:33 2012 +0200
+++ b/src/gnutls.mk	Thu Jun 21 22:47:10 2012 +0200
@@ -2,7 +2,7 @@
 # See index.html for further information.
 
 PKG             := gnutls
-$(PKG)_CHECKSUM := 0c65f6a1e669c0fe85ddb2d645078b3bce9d1518
+$(PKG)_CHECKSUM := df55f60a0426de1f0efb5c1a902e209b069b3d51
 $(PKG)_SUBDIR   := gnutls-$($(PKG)_VERSION)
 $(PKG)_FILE     := gnutls-$($(PKG)_VERSION).tar.xz
 $(PKG)_URL      := ftp://ftp.gnutls.org/pub/gnutls/$($(PKG)_FILE)
@@ -22,7 +22,7 @@
     $(SED) -i 's, sed , $(SED) ,g' '$(1)/gl/tests/Makefile.am'
     cd '$(1)' && aclocal -I m4 -I gl/m4 -I src/libopts/m4 --install
     cd '$(1)' && autoconf
-    cd '$(1)' && automake
+    cd '$(1)' && automake --add-missing
     # AI_ADDRCONFIG referenced by src/serv.c but not provided by mingw.
     # Value taken from http://msdn.microsoft.com/en-us/library/windows/desktop/ms737530%28v=vs.85%29.aspx
     cd '$(1)' && ./configure \