uhttpd: add a config option for using ustream-polarssl, and use it by default

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38250 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2013-09-29 11:26:09 +00:00
parent cb55eeaf97
commit b8672f84cb
1 changed files with 8 additions and 2 deletions

View File

@ -51,7 +51,10 @@ endef
define Package/uhttpd-mod-tls
$(Package/uhttpd/default)
TITLE+= (TLS plugin)
DEPENDS:=uhttpd +PACKAGE_uhttpd-mod-tls_cyassl:libustream-cyassl +PACKAGE_uhttpd-mod-tls_openssl:libustream-openssl
DEPENDS:=uhttpd \
+PACKAGE_uhttpd-mod-tls_polarssl:libustream-polarssl \
+PACKAGE_uhttpd-mod-tls_cyassl:libustream-cyassl \
+PACKAGE_uhttpd-mod-tls_openssl:libustream-openssl
endef
define Package/uhttpd-mod-tls/description
@ -62,7 +65,10 @@ define Package/uhttpd-mod-tls/config
choice
depends on PACKAGE_uhttpd-mod-tls
prompt "TLS Provider"
default PACKAGE_uhttpd-mod-tls_cyassl
default PACKAGE_uhttpd-mod-tls_polarssl
config PACKAGE_uhttpd-mod-tls_polarssl
bool "PolarSSL"
config PACKAGE_uhttpd-mod-tls_cyassl
bool "CyaSSL"