]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - gnutls/gnutls.nm
0c5d68a4c1bc90fec201b7ab15b82fe3cc04af11
[people/pmueller/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.6
9 ver_min = 6
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 >= 4.9
34 libunistring-devel
35 lzo-devel
36 net-tools
37 nettle-devel >= 3.4.1
38 perl
39 p11-kit-devel >= 0.23.1
40 readline-devel
41 texinfo
42 zlib-devel
43 end
44
45 # Build library without an executable stack.
46 CFLAGS += -Wa,--noexecstack
47
48 configure_options += \
49 --with-included-libcfg \
50 --disable-openssl-compatibility \
51 --disable-non-suiteb-curves \
52 --disable-guile
53
54 # Test suite does not work when srp is disabled.
55 test
56 export LD_LIBRARY_PATH=$(pwd)/lib/.libs
57 make check
58 end
59 end
60
61 packages
62 package %{name}
63 requires
64 nettle >= 3.4.1
65 p11-kit >= 0.14
66 end
67 end
68
69 package %{name}-devel
70 template DEVEL
71 end
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
76 end