]>
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} |
2c1f9739 | 8 | ver_maj = 3.6 |
f898c6ba | 9 | ver_min = 7 |
82cadaee | 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 | |
576ea568 | 29 | datefudge |
a86a6632 | 30 | gettext |
a86a6632 | 31 | libgcrypt-devel |
0f632aef | 32 | libidn-devel |
2c1f9739 MT |
33 | libtasn1-devel >= 4.9 |
34 | libunistring-devel | |
a86a6632 | 35 | lzo-devel |
f36a146a | 36 | net-tools |
2c1f9739 | 37 | nettle-devel >= 3.4.1 |
c1114c6b | 38 | perl |
f36a146a | 39 | p11-kit-devel >= 0.23.1 |
a86a6632 | 40 | readline-devel |
7a649dda | 41 | texinfo |
802ea3af MT |
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 \ | |
a86a6632 | 50 | --disable-openssl-compatibility \ |
1a6db496 MT |
51 | --disable-non-suiteb-curves \ |
52 | --disable-guile | |
802ea3af | 53 | |
e183e081 | 54 | # Test suite does not work when srp is disabled. |
5cf285fa MT |
55 | test |
56 | export LD_LIBRARY_PATH=$(pwd)/lib/.libs | |
57 | make check | |
58 | end | |
802ea3af MT |
59 | end |
60 | ||
61 | packages | |
62 | package %{name} | |
7a683470 | 63 | requires |
2c1f9739 | 64 | nettle >= 3.4.1 |
588b9cc2 | 65 | p11-kit >= 0.14 |
7a683470 MT |
66 | end |
67 | end | |
802ea3af MT |
68 | |
69 | package %{name}-devel | |
70 | template DEVEL | |
71 | end | |
1f9bc2f0 MT |
72 | |
73 | package %{name}-debuginfo | |
74 | template DEBUGINFO | |
75 | end | |
802ea3af | 76 | end |