]>
Commit | Line | Data |
---|---|---|
eb73cf79 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
eb73cf79 MT |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = gnutls |
d4f1083d | 7 | version = %{ver_maj}.%{ver_min} |
5cf285fa MT |
8 | ver_maj = 3.2 |
9 | ver_min = 1 | |
a86a6632 | 10 | release = 1 |
eb73cf79 | 11 | |
802ea3af MT |
12 | groups = System/Libraries |
13 | url = http://www.gnu.org/software/gnutls/ | |
14 | license = LGPLv2.1+ | |
15 | summary = A general-purpose cryptography library. | |
eb73cf79 | 16 | |
802ea3af | 17 | description |
eb579f8b EK |
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 | |
eb73cf79 | 21 | TLS working group. |
802ea3af MT |
22 | end |
23 | ||
d4f1083d | 24 | source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/ |
802ea3af MT |
25 | sources = %{thisapp}.tar.xz |
26 | ||
27 | build | |
28 | requires | |
a86a6632 MT |
29 | gettext |
30 | guile-devel | |
31 | libgcrypt-devel | |
0f632aef MT |
32 | libidn-devel |
33 | libtasn1-devel >= 3.2 | |
a86a6632 | 34 | lzo-devel |
5cf285fa | 35 | nettle-devel >= 2.7 |
c1114c6b | 36 | perl |
588b9cc2 | 37 | p11-kit-devel >= 0.14 |
a86a6632 | 38 | readline-devel |
802ea3af MT |
39 | zlib-devel |
40 | end | |
41 | ||
42 | # Build library without an executable stack. | |
43 | CFLAGS += -Wa,--noexecstack | |
44 | ||
45 | configure_options += \ | |
46 | --with-included-libcfg \ | |
a86a6632 MT |
47 | --disable-openssl-compatibility \ |
48 | --with-libgcrypt | |
802ea3af | 49 | |
e183e081 | 50 | # Test suite does not work when srp is disabled. |
5cf285fa MT |
51 | test |
52 | export LD_LIBRARY_PATH=$(pwd)/lib/.libs | |
53 | make check | |
54 | end | |
802ea3af MT |
55 | end |
56 | ||
57 | packages | |
58 | package %{name} | |
7a683470 | 59 | requires |
5cf285fa | 60 | nettle >= 2.7 |
588b9cc2 | 61 | p11-kit >= 0.14 |
7a683470 MT |
62 | end |
63 | end | |
802ea3af MT |
64 | |
65 | package %{name}-devel | |
66 | template DEVEL | |
67 | end | |
1f9bc2f0 MT |
68 | |
69 | package %{name}-debuginfo | |
70 | template DEBUGINFO | |
71 | end | |
802ea3af | 72 | end |