summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gnutls-1-fixes.patch86
-rw-r--r--src/gnutls.mk6
2 files changed, 81 insertions, 11 deletions
diff --git a/src/gnutls-1-fixes.patch b/src/gnutls-1-fixes.patch
index d23d503..67b6886 100644
--- a/src/gnutls-1-fixes.patch
+++ b/src/gnutls-1-fixes.patch
@@ -1,15 +1,15 @@
This file is part of MXE.
See index.html for further information.
-From 9af5a5cc2769f717f8817fd741fabb7b9b1a7434 Mon Sep 17 00:00:00 2001
+From 768be9f6a6b572b4d2ee62c9de51ff56c2e2777b Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Tue, 3 Apr 2012 13:58:42 +0200
-Subject: [PATCH 1/3] Revert "make dist will also make lzip compressed tarball"
+Subject: [PATCH 1/6] Revert "make dist will also make lzip compressed tarball"
This reverts commit 97ac1bc58274f651338444693bd75441ba12f46f.
diff --git a/configure.ac b/configure.ac
-index bab5c1b..d3305d4 100644
+index c49e4e2..3da1992 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AC_CONFIG_AUX_DIR([build-aux])
@@ -25,10 +25,34 @@ index bab5c1b..d3305d4 100644
1.8.1.4
-From a315adaf266e4392620994f8a39d2b294580314e Mon Sep 17 00:00:00 2001
+From 4b18d822b3177449489f99408e8fb237b7d365e3 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Wed, 6 Jun 2012 09:57:24 +0200
+Subject: [PATCH 2/6] AM_PROG_AR for automake 1.12 compatibility
+
+Taken from
+http://lists.gnu.org/archive/html/automake/2012-05/msg00014.html
+
+diff --git a/configure.ac b/configure.ac
+index 3da1992..ca5537e 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -40,6 +40,7 @@ gl_EARLY
+ AM_PROG_AS
+ dnl AM_PROG_AR
+ AC_PROG_CXX
++m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
+
+ # For includes/gnutls/gnutls.h.in.
+ AC_SUBST(MAJOR_VERSION, `echo $PACKAGE_VERSION | sed 's/\(.*\)\..*\..*/\1/g'`)
+--
+1.8.1.4
+
+
+From 7490c9ab312141fd060564b06fd9d52356c5053e Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Mon, 4 Feb 2013 16:11:12 +0100
-Subject: [PATCH 2/3] add missing private lib to pc file
+Subject: [PATCH 3/6] add missing private lib to pc file
diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
@@ -47,14 +71,14 @@ index 2e610aa..3b68a23 100644
1.8.1.4
-From e347b80ddc5511b7c4d276a092b172a7c052dab4 Mon Sep 17 00:00:00 2001
+From 022bd77a895b700a1313d8be86670b806fcb77a8 Mon Sep 17 00:00:00 2001
From: Tony Theodore <tonyt@logyst.com>
Date: Wed, 6 Feb 2013 08:43:43 +0100
-Subject: [PATCH 3/3] relax automake version check
+Subject: [PATCH 4/6] relax automake version check
diff --git a/configure.ac b/configure.ac
-index d3305d4..8cad8b6 100644
+index ca5537e..3c59f0c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -26,7 +26,7 @@ AC_CONFIG_AUX_DIR([build-aux])
@@ -69,3 +93,49 @@ index d3305d4..8cad8b6 100644
--
1.8.1.4
+
+From 89c3ec63c58cb0f07166ae4e41308a1d21449477 Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Tue, 21 May 2013 13:18:22 +0200
+Subject: [PATCH 5/6] don't require sys/mman.h or sys/wait.h
+
+See https://lists.gnu.org/archive/html/bug-gnulib/2013-04/msg00026.html
+
+diff --git a/src/libopts/m4/libopts.m4 b/src/libopts/m4/libopts.m4
+index 9d0c6de..1c33afa 100644
+--- a/src/libopts/m4/libopts.m4
++++ b/src/libopts/m4/libopts.m4
+@@ -72,7 +72,7 @@ AC_DEFUN([INVOKE_LIBOPTS_MACROS_FIRST],[
+ ${lo_have_typ_hdr} || \
+ ]AC_MSG_ERROR([you must have inttypes.h or stdint.h on your system])[
+
+- for f in sys_types sys_mman sys_param sys_stat sys_wait \
++ for f in sys_types sys_param sys_stat \
+ string errno stdlib memory setjmp
+ do eval as_ac_var=\${ac_cv_header_${f}_h}
+ test "X${as_ac_var}" = Xyes || {
+--
+1.8.1.4
+
+
+From 11b287f81195f3945941aa8bac9ddab5eb31cb7c Mon Sep 17 00:00:00 2001
+From: Mark Brand <mabrand@mabrand.nl>
+Date: Tue, 21 May 2013 13:30:36 +0200
+Subject: [PATCH 6/6] remove uninstantiated var from .pc file
+
+
+diff --git a/lib/gnutls.pc.in b/lib/gnutls.pc.in
+index 3b68a23..e457e3a 100644
+--- a/lib/gnutls.pc.in
++++ b/lib/gnutls.pc.in
+@@ -19,6 +19,6 @@ Description: Transport Security Layer implementation for the GNU system
+ URL: http://www.gnutls.org/
+ Version: @VERSION@
+ Libs: -L${libdir} -lgnutls
+-Libs.private: @LTLIBNETTLE@ @LTLIBZ@ @LTLIBINTL@ @LIBSOCKET@ @LTLIBPTHREAD@ @LTLIBICONV@ @P11_KIT_LIBS@ @LIB_SELECT@ @TSS_LIBS@ @LIB_CLOCK_GETTIME@ -lcrypt32
++Libs.private: @LTLIBNETTLE@ @LTLIBZ@ @LTLIBINTL@ @LIBSOCKET@ @LTLIBPTHREAD@ @LTLIBICONV@ @P11_KIT_LIBS@ @LIB_SELECT@ @TSS_LIBS@ -lcrypt32
+ @GNUTLS_REQUIRES_PRIVATE@
+ Cflags: -I${includedir}
+--
+1.8.1.4
+
diff --git a/src/gnutls.mk b/src/gnutls.mk
index 87b67d4..5ef2748 100644
--- a/src/gnutls.mk
+++ b/src/gnutls.mk
@@ -2,14 +2,14 @@
# See index.html for further information.
PKG := gnutls
-$(PKG)_CHECKSUM := f53e8621a94ce05162f261c2dc3898d9b39587db
+$(PKG)_CHECKSUM := 4ee8e524d8e3faac20c6dee6525a6ec940c3c850
$(PKG)_SUBDIR := gnutls-$($(PKG)_VERSION)
$(PKG)_FILE := gnutls-$($(PKG)_VERSION).tar.xz
-$(PKG)_URL := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1//$($(PKG)_FILE)
+$(PKG)_URL := ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2//$($(PKG)_FILE)
$(PKG)_DEPS := gcc gettext nettle pcre zlib
define $(PKG)_UPDATE
- $(WGET) -q -O- ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/ | \
+ $(WGET) -q -O- ftp://ftp.gnutls.org/gcrypt/gnutls/v3.2/ | \
$(SED) -n 's,.*gnutls-\([1-9]\+\.[0-9]\+.[0-9]\+\)\..*,\1,p' | \
$(SORT) -V | \
tail -1