]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - gnutls/gnutls.nm
Remove miredo
[people/ms/ipfire-3.x.git] / gnutls / gnutls.nm
index 64b8a3f5c0923fef635520de791e5035b24a8364..f3160f61b6db30735e7d5cb1b4c6d5486c47a0f8 100644 (file)
@@ -4,8 +4,10 @@
 ###############################################################################
 
 name       = gnutls
-version    = 3.0.13
-release    = 2
+version    = %{ver_maj}.%{ver_min}
+ver_maj    = 3.3
+ver_min    = 10
+release    = 1
 
 groups     = System/Libraries
 url        = http://www.gnu.org/software/gnutls/
@@ -13,21 +15,28 @@ 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
        requires
-               libtasn1-devel
-               nettle-devel >= 2.4
+               datefudge
+               gettext
+               libgcrypt-devel
+               libidn-devel
+               libtasn1-devel >= 3.2
+               lzo-devel
+               nettle-devel >= 2.7
                perl
-               p11-kit-devel >= 0.4
+               p11-kit-devel >= 0.14
+               readline-devel
+               texinfo
                zlib-devel
        end
 
@@ -36,9 +45,12 @@ build
 
        configure_options += \
                --with-included-libcfg \
+               --disable-openssl-compatibility \
                --disable-srp-authentication \
-               --disable-openssl-compatibility
+               --disable-non-suiteb-curves \
+               --disable-guile
 
+       # Test suite does not work when srp is disabled.
        test
                export LD_LIBRARY_PATH=$(pwd)/lib/.libs
                make check
@@ -48,8 +60,8 @@ end
 packages
        package %{name}
                requires
-                       nettle >= 2.4
-                       p11-kit >= 0.4
+                       nettle >= 2.7
+                       p11-kit >= 0.14
                end
        end