]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - gnutls/gnutls.nm
gnutls: Update to 3.2.1.
[people/ms/ipfire-3.x.git] / gnutls / gnutls.nm
index 44d64d6f0591333b5e64b6696d03aa9a767f65f6..70158c79bac3c175dabd99136b48042590c37b49 100644 (file)
@@ -4,7 +4,9 @@
 ###############################################################################
 
 name       = gnutls
-version    = 3.1.2
+version    = %{ver_maj}.%{ver_min}
+ver_maj    = 3.2
+ver_min    = 1
 release    = 1
 
 groups     = System/Libraries
@@ -13,13 +15,13 @@ license    = LGPLv2.1+
 summary    = A general-purpose cryptography library.
 
 description
-       GnuTLS is a project that aims to develop a library which provides \
-       a secure layer, over a reliable transport layer. Currently the \
-       GnuTLS library implements the proposed standards by the IETF's \
+       GnuTLS is a project that aims to develop a library which provides
+       a secure layer, over a reliable transport layer. Currently the
+       GnuTLS library implements the proposed standards by the IETF's
        TLS working group.
 end
 
-source_dl  = ftp://ftp.gnu.org/gnu/gnutls/
+source_dl  = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
 sources    = %{thisapp}.tar.xz
 
 build
@@ -27,11 +29,12 @@ build
                gettext
                guile-devel
                libgcrypt-devel
-               libtasn1-devel
+               libidn-devel
+               libtasn1-devel >= 3.2
                lzo-devel
-               nettle-devel >= 2.5
+               nettle-devel >= 2.7
                perl
-               p11-kit-devel >= 0.4
+               p11-kit-devel >= 0.14
                readline-devel
                zlib-devel
        end
@@ -41,21 +44,21 @@ build
 
        configure_options += \
                --with-included-libcfg \
-               --disable-srp-authentication \
                --disable-openssl-compatibility \
                --with-libgcrypt
 
-       #test
-       #       export LD_LIBRARY_PATH=$(pwd)/lib/.libs
-       #       make check
-       #end
+       # Test suite does not work when srp is disabled.
+       test
+               export LD_LIBRARY_PATH=$(pwd)/lib/.libs
+               make check
+       end
 end
 
 packages
        package %{name}
                requires
-                       nettle >= 2.5
-                       p11-kit >= 0.4
+                       nettle >= 2.7
+                       p11-kit >= 0.14
                end
        end