1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
7 version = %{ver_maj}.%{ver_min}
11 thisapp = gnutls-%{version}
13 groups = System/Libraries
14 url = http://www.gnu.org/software/gnutls/
16 summary = A general-purpose cryptography library.
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
25 source_dl = ftp://ftp.gnutls.org/gcrypt/gnutls/v%{ver_maj}/
26 sources = %{thisapp}.tar.xz
39 p11-kit-devel >= 0.23.1
45 # Build library without an executable stack.
46 CFLAGS += -Wa,--noexecstack
48 configure_options += \
49 --with-included-libcfg \
50 --disable-openssl-compatibility \
51 --disable-srp-authentication \
52 --disable-non-suiteb-curves \
55 # Test suite does not work when srp is disabled.
57 export LD_LIBRARY_PATH=$(pwd)/lib/.libs
62 # Install just the library and no headers.
63 mkdir -pv %{BUILDROOT}%{libdir}
64 cp -avf lib/.libs/libgnutls.so.* %{BUILDROOT}%{libdir}
79 package %{name}-debuginfo