X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=libs%2Fgnutls%2FMakefile;h=69cac8de7b8bffa0379d47779e13ec8443ac8676;hb=889ef7e32df463936e2b32e1348489f3ba39a67e;hp=ee7cf6d34e8da5d0bf626145da075ea44d8ace02;hpb=b5a33121001420ccc7ec63273539e6b5dc684ad6;p=feed%2Fpackages.git diff --git a/libs/gnutls/Makefile b/libs/gnutls/Makefile index ee7cf6d34e..e060e33fac 100644 --- a/libs/gnutls/Makefile +++ b/libs/gnutls/Makefile @@ -8,13 +8,13 @@ include $(TOPDIR)/rules.mk PKG_NAME:=gnutls -PKG_VERSION:=3.4.14 +PKG_VERSION:=3.5.16 PKG_RELEASE:=1 PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz -PKG_SOURCE_URL:=ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4 -PKG_MD5SUM:=ad3e269a6793424d5d21c9626e1c9ef1 +PKG_SOURCE_URL:=ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5 +PKG_HASH:=0924dec90c37c05f49fec966eba3672dab4d336d879e5c06e06e13325cbfec25 #PKG_FIXUP:=autoreconf gettext-version PKG_MAINTAINER:=Nikos Mavrogiannopoulos PKG_LICENSE:=LGPLv2.1+ @@ -35,6 +35,7 @@ PKG_CONFIG_DEPENDS:= \ CONFIG_GNUTLS_PKCS11 \ CONFIG_GNUTLS_PSK \ CONFIG_GNUTLS_SRP \ + CONFIG_GNUTLS_TPM \ CONFIG_LIBNETTLE_MINI \ include $(INCLUDE_DIR)/package.mk @@ -62,6 +63,7 @@ define Package/certtool $(call Package/gnutls/Default) SECTION:=utils CATEGORY:=Utilities + SUBMENU:=Encryption TITLE+= (certool utility) DEPENDS+= +libgnutls endef @@ -76,6 +78,7 @@ define Package/gnutls-utils $(call Package/gnutls/Default) SECTION:=utils CATEGORY:=Utilities + SUBMENU:=Encryption TITLE+= (utilities) DEPENDS+= +libgnutls endef @@ -107,8 +110,10 @@ CONFIGURE_ARGS+= \ --enable-static \ --disable-rpath \ --disable-libdane \ + --with-included-unistring \ --disable-guile \ --disable-nls \ + --without-idn \ --without-zlib \ --enable-local-libopts \ --disable-doc \ @@ -161,6 +166,10 @@ ifneq ($(CONFIG_GNUTLS_OCSP),y) CONFIGURE_ARGS += --disable-ocsp endif +ifneq ($(CONFIG_GNUTLS_TPM),y) +CONFIGURE_ARGS += --without-tpm +endif + ifeq ($(CONFIG_GNUTLS_CRYPTODEV),y) CONFIGURE_ARGS += --enable-cryptodev endif @@ -220,6 +229,11 @@ ifeq ($(CONFIG_GNUTLS_PKCS11),y) $(PKG_INSTALL_DIR)/usr/bin/p11tool \ $(1)/usr/bin/ endif +ifeq ($(CONFIG_GNUTLS_TPM),y) + $(CP) \ + $(PKG_INSTALL_DIR)/usr/bin/tpmtool \ + $(1)/usr/bin/ +endif endef