@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := gnutls
PKG_NAME := gnutls
PKG_VERSION := 3.5.4
PKG_VERSION := 3.5.4
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_USE_MIPS16 := 0
PKG_USE_MIPS16 := 0
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.xz
@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \
CONFIG_GNUTLS_PKCS11 \
CONFIG_GNUTLS_PKCS11 \
CONFIG_GNUTLS_PSK \
CONFIG_GNUTLS_PSK \
CONFIG_GNUTLS_SRP \
CONFIG_GNUTLS_SRP \
CONFIG_GNUTLS_TPM \
CONFIG_LIBNETTLE_MINI \
CONFIG_LIBNETTLE_MINI \
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -161,6 +162,10 @@ ifneq ($(CONFIG_GNUTLS_OCSP),y)
CONFIGURE_ARGS += --disable-ocsp
CONFIGURE_ARGS += --disable-ocsp
e n d i f
e n d i f
i f n e q ( $( CONFIG_GNUTLS_TPM ) , y )
CONFIGURE_ARGS += --without-tpm
e n d i f
i f e q ( $( CONFIG_GNUTLS_CRYPTODEV ) , y )
i f e q ( $( CONFIG_GNUTLS_CRYPTODEV ) , y )
CONFIGURE_ARGS += --enable-cryptodev
CONFIGURE_ARGS += --enable-cryptodev
e n d i f
e n d i f
@ -220,6 +225,11 @@ ifeq ($(CONFIG_GNUTLS_PKCS11),y)
$( PKG_INSTALL_DIR) /usr/bin/p11tool \
$( PKG_INSTALL_DIR) /usr/bin/p11tool \
$( 1) /usr/bin/
$( 1) /usr/bin/
e n d i f
e n d i f
i f e q ( $( CONFIG_GNUTLS_TPM ) , y )
$( CP) \
$( PKG_INSTALL_DIR) /usr/bin/tpmtool \
$( 1) /usr/bin/
e n d i f
e n d e f
e n d e f