]> git.ipfire.org Git - ipfire-3.x.git/blame - compat-gnutls/compat-gnutls.nm
kernel: Disable support for 6RD
[ipfire-3.x.git] / compat-gnutls / compat-gnutls.nm
CommitLineData
31a112dc
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = compat-gnutls
7version = %{ver_maj}.%{ver_min}
8ver_maj = 3.3
9ver_min = 25
06e0bdd3 10release = 2
31a112dc
SS
11thisapp = gnutls-%{version}
12
13groups = System/Libraries
14url = http://www.gnu.org/software/gnutls/
15license = LGPLv2.1+
16summary = A general-purpose cryptography library.
17
18description
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.
23end
24
25source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
26sources = %{thisapp}.tar.xz
27
28build
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}
31a112dc
SS
65 end
66end
67
68packages
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
82end