]> git.ipfire.org Git - ipfire-3.x.git/blob - compat-gnutls/compat-gnutls.nm
curl: Update to 7.64.1
[ipfire-3.x.git] / compat-gnutls / compat-gnutls.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = compat-gnutls
7 version = %{ver_maj}.%{ver_min}
8 ver_maj = 3.3
9 ver_min = 25
10 release = 2
11 thisapp = gnutls-%{version}
12
13 groups = System/Libraries
14 url = http://www.gnu.org/software/gnutls/
15 license = LGPLv2.1+
16 summary = A general-purpose cryptography library.
17
18 description
19 GnuTLS is a project that aims to develop a library which provides
20 a secure layer, over a reliable transport layer. Currently the
21 GnuTLS library implements the proposed standards by the IETF's
22 TLS working group.
23 end
24
25 source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
26 sources = %{thisapp}.tar.xz
27
28 build
29 requires
30 datefudge
31 gettext
32 libgcrypt-devel
33 libidn-devel
34 libtasn1-devel >= 3.2
35 lzo-devel
36 net-tools
37 nettle-devel >= 3.2
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-srp-authentication \
52 --disable-non-suiteb-curves \
53 --disable-guile
54
55 # Test suite does not work when srp is disabled.
56 test
57 export LD_LIBRARY_PATH=$(pwd)/lib/.libs
58 make check
59 end
60
61 install
62 # Install just the library and no headers.
63 mkdir -pv %{BUILDROOT}%{libdir}
64 cp -avf lib/.libs/libgnutls.so.* %{BUILDROOT}%{libdir}
65 end
66 end
67
68 packages
69 package %{name}
70 provides
71 gnutls = %{thisver}
72 end
73
74 obsoletes
75 gnutls <= %{thisver}
76 end
77 end
78
79 package %{name}-debuginfo
80 template DEBUGINFO
81 end
82 end