]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - gnutls/gnutls.nm
Remove miredo
[people/ms/ipfire-3.x.git] / gnutls / gnutls.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = gnutls
7 version = %{ver_maj}.%{ver_min}
8 ver_maj = 3.3
9 ver_min = 10
10 release = 1
11
12 groups = System/Libraries
13 url = http://www.gnu.org/software/gnutls/
14 license = LGPLv2.1+
15 summary = A general-purpose cryptography library.
16
17 description
18 GnuTLS is a project that aims to develop a library which provides
19 a secure layer, over a reliable transport layer. Currently the
20 GnuTLS library implements the proposed standards by the IETF's
21 TLS working group.
22 end
23
24 source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
25 sources = %{thisapp}.tar.xz
26
27 build
28 requires
29 datefudge
30 gettext
31 libgcrypt-devel
32 libidn-devel
33 libtasn1-devel >= 3.2
34 lzo-devel
35 nettle-devel >= 2.7
36 perl
37 p11-kit-devel >= 0.14
38 readline-devel
39 texinfo
40 zlib-devel
41 end
42
43 # Build library without an executable stack.
44 CFLAGS += -Wa,--noexecstack
45
46 configure_options += \
47 --with-included-libcfg \
48 --disable-openssl-compatibility \
49 --disable-srp-authentication \
50 --disable-non-suiteb-curves \
51 --disable-guile
52
53 # Test suite does not work when srp is disabled.
54 test
55 export LD_LIBRARY_PATH=$(pwd)/lib/.libs
56 make check
57 end
58 end
59
60 packages
61 package %{name}
62 requires
63 nettle >= 2.7
64 p11-kit >= 0.14
65 end
66 end
67
68 package %{name}-devel
69 template DEVEL
70 end
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
75 end