]> git.ipfire.org Git - ipfire-3.x.git/blobdiff - gnutls/gnutls.nm
iperf3: update to 3.7
[ipfire-3.x.git] / gnutls / gnutls.nm
index fcd21a01be45668cc7cca7ff931f15a5a8047e31..ebc8b6d90add605597d1f52f1038ca068cc46176 100644 (file)
@@ -4,7 +4,9 @@
 ###############################################################################
 
 name       = gnutls
-version    = 3.0.15
+version    = %{ver_maj}.%{ver_min}
+ver_maj    = 3.6
+ver_min    = 7
 release    = 1
 
 groups     = System/Libraries
@@ -13,26 +15,30 @@ 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
+               datefudge
                gettext
-               guile-devel
                libgcrypt-devel
-               libtasn1-devel
+               libidn-devel
+               libtasn1-devel >= 4.9
+               libunistring-devel
                lzo-devel
-               nettle-devel >= 2.4
+               net-tools
+               nettle-devel >= 3.4.1
                perl
-               p11-kit-devel >= 0.4
+               p11-kit-devel >= 0.23.1
                readline-devel
+               texinfo
                zlib-devel
        end
 
@@ -41,21 +47,22 @@ build
 
        configure_options += \
                --with-included-libcfg \
-               --disable-srp-authentication \
                --disable-openssl-compatibility \
-               --with-libgcrypt
+               --disable-non-suiteb-curves \
+               --disable-guile
 
-       #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.4
-                       p11-kit >= 0.4
+                       nettle >= 3.4.1
+                       p11-kit >= 0.14
                end
        end